/* =============================================================================
   Linkset UI — shared tokens, typography, and form controls (production polish)
   ============================================================================= */

:root {
  /* Type system — Syne (brand/display) + Manrope (UI). Avoid Inter/system defaults. */
  --ls-font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --ls-font-display: "Syne", ui-sans-serif, system-ui, sans-serif;

  /* Modular type scale (~1.2 ratio): UI density + readable marketing */
  --ls-text-2xs: 0.6875rem;
  /* 11px — eyebrow, micro */
  --ls-text-xs: 0.75rem;
  /* 12px */
  --ls-text-sm: 0.8125rem;
  /* 13px — captions, labels */
  --ls-text-md: 0.875rem;
  /* 14px — nav, compact UI */
  --ls-text-base: 0.9375rem;
  /* 15px — primary app body */
  --ls-text-lg: 1rem;
  /* 16px */
  --ls-text-xl: 1.0625rem;
  /* 17px */
  --ls-text-2xl: 1.25rem;
  /* 20px */
  --ls-text-3xl: 1.5rem;
  /* 24px */
  --ls-text-4xl: 1.875rem;
  /* 30px */
  --ls-text-5xl: 2.25rem;
  /* 36px — KPI, price emphasis */

  /* Line-height: UI vs reading */
  --ls-leading-none: 1;
  --ls-leading-tight: 1.12;
  --ls-leading-snug: 1.28;
  --ls-leading-ui: 1.45;
  --ls-leading-body: 1.55;
  --ls-leading-relaxed: 1.65;
  --ls-leading-loose: 1.75;

  --ls-tracking-tighter: -0.04em;
  --ls-tracking-tight: -0.025em;
  --ls-tracking-snug: -0.015em;
  --ls-tracking-normal: 0;
  --ls-tracking-ui: 0.01em;
  --ls-tracking-wide: 0.02em;
  --ls-tracking-label: 0.08em;
  --ls-tracking-caps: 0.12em;

  --ls-ink: #fafafa;
  --ls-ink-muted: #a1a1aa;
  --ls-ink-faint: #71717a;
  --ls-surface: rgba(9, 9, 11, 0.94);
  --ls-surface-raised: rgba(24, 24, 27, 0.9);
  --ls-border: rgba(63, 63, 70, 0.75);
  --ls-border-hover: rgba(113, 113, 122, 0.85);
  --ls-focus-ring: rgba(190, 242, 100, 0.45);
  --ls-focus-glow: rgba(190, 242, 100, 0.14);
  --ls-accent: #bef264;
  --ls-accent-strong: #a3e635;
  --ls-success: #34d399;
  --ls-danger: #f87171;
  --ls-radius: 1rem;
  --ls-radius-sm: 0.75rem;
  --ls-transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    transform 0.15s ease;
}

/* Base app shell */
html.linkset-root {
  font-size: 100%;
}

body.linkset-root {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-body);
  letter-spacing: var(--ls-tracking-ui);
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "ss01" 0;
  font-variant-numeric: proportional-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.font-display {
  font-family: var(--ls-font-display);
  font-weight: 700;
  font-feature-settings: "kern" 1, "ss01" 1;
}

/* -----------------------------------------------------------------------------
   Semantic type — Syne display + Manrope UI (production hierarchy)
   -------------------------------------------------------------------------- */

.linkset-root .ls-brand {
  font-family: var(--ls-font-display);
  font-size: var(--ls-text-4xl);
  font-weight: 700;
  line-height: var(--ls-leading-none);
  letter-spacing: -0.045em;
}

.linkset-root .ls-heading-hero {
  font-family: var(--ls-font-display);
  font-size: clamp(2.65rem, 6.5vw + 1rem, 4.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--ls-ink);
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 24px 80px rgba(15, 155, 142, 0.12);
}

.linkset-root .ls-heading-page {
  font-family: var(--ls-font-display);
  font-size: clamp(1.85rem, 2.1vw + 1.2rem, 2.65rem);
  font-weight: 700;
  line-height: var(--ls-leading-tight);
  letter-spacing: -0.035em;
  color: var(--ls-ink);
  text-wrap: balance;
}

.linkset-root .ls-heading-section {
  font-family: var(--ls-font-display);
  font-size: clamp(1.25rem, 0.85vw + 1rem, 1.75rem);
  font-weight: 600;
  line-height: var(--ls-leading-snug);
  letter-spacing: -0.025em;
  color: var(--ls-ink);
}

.linkset-root .ls-heading-card {
  font-family: var(--ls-font-display);
  font-size: var(--ls-text-2xl);
  font-weight: 600;
  line-height: var(--ls-leading-snug);
  letter-spacing: -0.02em;
  color: var(--ls-ink);
}

.linkset-root .ls-lead {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-lg);
  line-height: var(--ls-leading-loose);
  letter-spacing: var(--ls-tracking-wide);
  font-weight: 400;
  color: var(--ls-ink-muted);
  max-width: 42rem;
}

@media (min-width: 640px) {
  .linkset-root .ls-lead {
    font-size: var(--ls-text-xl);
  }
}

.linkset-root .ls-body {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-relaxed);
  letter-spacing: var(--ls-tracking-ui);
  font-weight: 400;
  color: #d6d3d1;
}

.linkset-root .ls-body-muted {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-relaxed);
  letter-spacing: var(--ls-tracking-ui);
  font-weight: 400;
  color: var(--ls-ink-muted);
}

.linkset-root .ls-caption {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-wide);
  font-weight: 500;
}

.linkset-root .ls-micro {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-2xs);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-label);
  font-weight: 500;
}

.linkset-root .ls-eyebrow {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-caps);
  text-transform: uppercase;
}

.linkset-root .ls-overline {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-caps);
  text-transform: uppercase;
}

.linkset-root .ls-eyebrow-muted {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-caps);
  text-transform: uppercase;
}

.linkset-root .ls-section-label {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-2xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ls-ink-faint);
}

.linkset-root .ls-kpi-label {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-tracking-label);
  text-transform: uppercase;
  color: var(--ls-ink-faint);
}

.linkset-root .ls-kpi-value {
  font-family: var(--ls-font-display);
  font-size: var(--ls-text-4xl);
  font-weight: 700;
  line-height: var(--ls-leading-tight);
  letter-spacing: -0.035em;
  color: var(--ls-ink);
  font-variant-numeric: tabular-nums lining-nums;
}

@media (min-width: 640px) {
  .linkset-root .ls-kpi-value {
    font-size: var(--ls-text-5xl);
  }
}

.linkset-root .ls-price {
  font-family: var(--ls-font-display);
  font-size: var(--ls-text-5xl);
  font-weight: 700;
  line-height: var(--ls-leading-tight);
  letter-spacing: -0.04em;
  color: var(--ls-ink);
  font-variant-numeric: tabular-nums lining-nums;
}

.linkset-root .ls-nav-link {
  font-size: var(--ls-text-md);
  font-weight: 500;
  letter-spacing: var(--ls-tracking-wide);
}

.linkset-root .ls-sidebar-link {
  font-size: var(--ls-text-md);
  font-weight: 500;
  letter-spacing: var(--ls-tracking-ui);
}

.linkset-root .ls-sidebar-tagline {
  font-size: var(--ls-text-2xs);
  font-weight: 500;
  letter-spacing: var(--ls-tracking-label);
  text-transform: uppercase;
  color: var(--ls-ink-faint);
}

/* Dashboard shell — elevated panels and active nav */
.linkset-root .ls-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  padding: 0.625rem 0.75rem;
  color: #a8a29e;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.linkset-root .ls-sidebar-link:hover {
  background: rgba(28, 25, 23, 0.85);
  color: #fafaf9;
  transform: translateX(2px);
}

.linkset-root .ls-sidebar-link-active {
  background: rgba(163, 230, 53, 0.12);
  color: #fafafa;
  box-shadow: inset 0 0 0 1px rgba(190, 242, 100, 0.28);
}

/* -----------------------------------------------------------------------------
   Studio shell — production app chrome
   -------------------------------------------------------------------------- */

.linkset-root .ls-studio {
  display: flex;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 100% 0%, rgba(163, 230, 53, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(39, 39, 42, 0.5), transparent 50%),
    #09090b;
}

.linkset-root .ls-studio-rail {
  display: none;
  width: 16.25rem;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid rgba(41, 37, 36, 0.95);
  background: rgba(12, 10, 9, 0.92);
  padding: 1.35rem 1rem 1rem;
}

@media (min-width: 1024px) {
  .linkset-root .ls-studio-rail {
    display: flex;
    position: sticky;
    top: 0;
    height: 100vh;
  }
}

.linkset-root .ls-studio-rail__top {
  padding: 0 0.5rem 0.25rem;
}

.linkset-root .ls-studio-brand {
  font-family: var(--ls-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #fafaf9;
  transition: color 0.15s ease;
}

.linkset-root .ls-studio-brand:hover {
  color: #bef264;
}

.linkset-root .ls-studio-brand--mobile {
  font-size: 1.5rem;
}

.linkset-root .ls-studio-rail__eyebrow {
  margin-top: 0.55rem;
  font-size: var(--ls-text-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-caps);
  text-transform: uppercase;
  color: #71717a;
}

.linkset-root .ls-studio-nav {
  margin-top: 1.75rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
}

.linkset-root .ls-studio-nav__label {
  margin: 0 0.5rem 0.4rem;
  font-size: var(--ls-text-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-caps);
  text-transform: uppercase;
  color: #57534e;
}

.linkset-root .ls-studio-nav__label--spaced {
  margin-top: 1.35rem;
}

.linkset-root .ls-studio-rail__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(41, 37, 36, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.linkset-root .ls-studio-identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 0.875rem;
  padding: 0.55rem 0.5rem;
  text-decoration: none;
  transition: background 0.15s ease;
}

.linkset-root .ls-studio-identity:hover {
  background: rgba(28, 25, 23, 0.75);
}

.linkset-root .ls-studio-identity__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(120, 113, 108, 0.45);
}

.linkset-root .ls-studio-identity__avatar--fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #292524, #1c1917);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
}

.linkset-root .ls-studio-identity__meta {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.linkset-root .ls-studio-identity__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f5f5f4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.linkset-root .ls-studio-identity__handle {
  font-size: 0.6875rem;
  color: #78716c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.linkset-root .ls-studio-signout {
  font-size: 0.8125rem;
  color: #78716c;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s ease;
}

.linkset-root .ls-studio-signout:hover {
  color: #d6d3d1;
}

.linkset-root .ls-studio-main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.linkset-root .ls-studio-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(41, 37, 36, 0.95);
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(14px);
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
}

@media (min-width: 1024px) {
  .linkset-root .ls-studio-topbar {
    display: none;
  }
}

.linkset-root .ls-studio-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.linkset-root .ls-studio-topbar__preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(87, 83, 78, 0.85);
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e7e5e4;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-studio-topbar__preview:hover {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.linkset-root .ls-studio-menu-btn {
  min-height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(87, 83, 78, 0.9);
  background: transparent;
  padding: 0.4rem 0.95rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #d6d3d1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-studio-menu-btn:hover,
.linkset-root .ls-studio-menu-btn[aria-expanded="true"] {
  border-color: rgba(251, 191, 36, 0.5);
  color: #fafaf9;
}

.linkset-root .ls-studio-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
}

@media (min-width: 1024px) {

  .linkset-root .ls-studio-drawer-backdrop,
  .linkset-root .ls-studio-drawer {
    display: none !important;
  }
}

.linkset-root .ls-studio-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(3.35rem + env(safe-area-inset-top, 0px));
  z-index: 40;
  max-height: min(78vh, calc(100dvh - 3.35rem - env(safe-area-inset-top, 0px)));
  overflow-y: auto;
  border-bottom: 1px solid rgba(41, 37, 36, 0.95);
  background: rgba(12, 10, 9, 0.98);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: ls-drawer-in 0.22s ease both;
}

.linkset-root .ls-studio-drawer[hidden],
.linkset-root .ls-studio-drawer-backdrop[hidden] {
  display: none !important;
}

.linkset-root .ls-studio-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.85rem 1.1rem;
}

@keyframes ls-drawer-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.linkset-root .ls-studio-content {
  flex: 1;
  padding: 1.5rem 1rem 2.5rem;
  padding-bottom: max(2.5rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
}

@media (min-width: 640px) {
  .linkset-root .ls-studio-content {
    padding: 1.75rem 1.75rem 3rem;
  }
}

@media (min-width: 1024px) {
  .linkset-root .ls-studio-content {
    padding: 2rem 2.5rem 3.5rem;
  }
}

.linkset-root .ls-enter {
  animation: ls-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.linkset-root .ls-enter-delay-1 {
  animation-delay: 0.06s;
}

.linkset-root .ls-enter-delay-2 {
  animation-delay: 0.12s;
}

.linkset-root .ls-enter-delay-3 {
  animation-delay: 0.18s;
}

@keyframes ls-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.linkset-root .ls-progress-ring {
  --ls-progress: 0;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 9999px;
  background:
    radial-gradient(closest-side, rgb(12 10 9) 78%, transparent 80% 100%),
    conic-gradient(#a3e635 calc(var(--ls-progress) * 1%), rgba(63, 63, 70, 0.85) 0);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(190, 242, 100, 0.12);
}

.linkset-root .ls-progress-ring__value {
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fafaf9;
}

.linkset-root .ls-check-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.35rem;
  border-bottom: 1px solid rgba(41, 37, 36, 0.9);
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
  border-radius: 0.5rem;
}

.linkset-root .ls-check-row:last-child {
  border-bottom: none;
}

.linkset-root .ls-check-row:hover {
  color: #d9f99d;
  background: rgba(24, 24, 27, 0.45);
  padding-left: 0.5rem;
}

.linkset-root .ls-check-row.is-done .ls-check-row__label {
  color: #78716c;
  text-decoration: line-through;
}

.linkset-root .ls-check-row__label {
  flex: 1;
  font-size: 0.875rem;
  color: #e7e5e4;
}

.linkset-root .ls-check-row__go {
  font-size: 0.875rem;
  color: #57534e;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.linkset-root .ls-check-row:hover .ls-check-row__go {
  opacity: 1;
  transform: translateX(2px);
  color: #bef264;
}

.linkset-root .ls-check-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(120, 113, 108, 0.8);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  color: transparent;
}

.linkset-root .ls-check-dot.is-done {
  border-color: #a3e635;
  background: rgba(163, 230, 53, 0.18);
  color: #bef264;
}

/* -----------------------------------------------------------------------------
   Overview page
   -------------------------------------------------------------------------- */

.linkset-root .ls-overview {
  margin-inline: auto;
  width: 100%;
  max-width: 68rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.linkset-root .ls-overview-hero {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .linkset-root .ls-overview-hero {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.linkset-root .ls-overview-hero__sub {
  margin-top: 0.35rem;
  max-width: 28rem;
}

.linkset-root .ls-overview-hero__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.linkset-root .ls-overview-hero__cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
}

.linkset-root .ls-overview-live {
  display: grid;
  gap: 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(63, 63, 70, 0.85);
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(163, 230, 53, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(163, 230, 53, 0.08), transparent 42%),
    linear-gradient(165deg, rgba(39, 39, 42, 0.5) 0%, rgba(9, 9, 11, 0.72) 100%);
  padding: 1.35rem 1.25rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 20px 50px -24px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
}

@media (min-width: 900px) {
  .linkset-root .ls-overview-live {
    grid-template-columns: 1fr auto;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem;
  }
}

.linkset-root .ls-overview-live__url {
  margin-top: 0.75rem;
  font-family: var(--ls-font-display);
  font-size: clamp(1.15rem, 2vw + 0.6rem, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  word-break: break-all;
}

.linkset-root .ls-overview-live__url a {
  color: #bef264;
  transition: color 0.15s ease;
}

.linkset-root .ls-overview-live__url a:hover {
  color: #d9f99d;
}

.linkset-root .ls-overview-live__actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.linkset-root .ls-overview-action {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.linkset-root .ls-overview-action--secondary {
  opacity: 0.85;
}

@media (max-width: 639px) {
  .linkset-root .ls-overview-live__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .linkset-root .ls-overview-live__actions .ls-overview-action:first-child {
    grid-column: 1 / -1;
  }
}

.linkset-root .ls-overview-action.is-copied {
  border-color: rgba(163, 230, 53, 0.45);
  color: #bef264;
}

.linkset-root .ls-overview-live__qr {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 10.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(63, 63, 70, 0.7);
}

@media (min-width: 900px) {
  .linkset-root .ls-overview-live__qr {
    border-top: none;
    border-left: 1px solid rgba(63, 63, 70, 0.7);
    padding-top: 0;
    padding-left: 1.35rem;
  }
}

.linkset-root .ls-overview-qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.linkset-root .ls-overview-qr canvas,
.linkset-root .ls-overview-qr__img {
  border-radius: 0.75rem;
  background: #fafaf9;
  padding: 0.4rem;
  width: 7.5rem;
  height: 7.5rem;
  display: block;
  object-fit: contain;
  box-sizing: content-box;
}

@media (min-width: 640px) {

  .linkset-root .ls-overview-qr canvas,
  .linkset-root .ls-overview-qr__img {
    width: 148px;
    height: 148px;
  }
}

.linkset-root .ls-overview-qr--locked {
  min-height: 7.5rem;
  width: 7.5rem;
  border-radius: 0.875rem;
  border: 1px dashed rgba(87, 83, 78, 0.9);
  background: rgba(28, 25, 23, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0.75rem;
}

.linkset-root .ls-overview-qr__lock {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #78716c;
}

.linkset-root .ls-overview-qr__dl {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #bef264;
  transition: color 0.15s ease;
}

.linkset-root .ls-overview-qr__dl:hover {
  color: #d9f99d;
}

.linkset-root .ls-overview-kpis__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.linkset-root .ls-overview-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #bef264;
  transition: color 0.15s ease;
}

.linkset-root .ls-overview-link:hover {
  color: #d9f99d;
}

.linkset-root .ls-overview-kpi-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .linkset-root .ls-overview-kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.linkset-root .ls-kpi-tile {
  padding: 1.25rem 1.35rem;
}

.linkset-root .ls-kpi-tile .ls-kpi-label {
  color: #71717a;
}

.linkset-root .ls-kpi-tile .ls-kpi-value {
  margin-top: 0.65rem;
}

.linkset-root .ls-overview-power__card {
  padding: 1.35rem 1.25rem 0.85rem;
}

@media (min-width: 640px) {
  .linkset-root .ls-overview-power__card {
    padding: 1.5rem 1.5rem 1rem;
  }
}

.linkset-root .ls-overview-power__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.linkset-root .ls-overview-power__level {
  margin-top: 0.45rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fafaf9;
}

.linkset-root .ls-overview-power__hint {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  color: #71717a;
}

.linkset-root .ls-overview-checks {
  margin-top: 1rem;
}

.linkset-root .ls-overview-upgrade {
  border-radius: 1.25rem;
  border: 1px solid rgba(163, 230, 53, 0.22);
  background:
    linear-gradient(120deg, rgba(163, 230, 53, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(39, 39, 42, 0.55), rgba(9, 9, 11, 0.8));
  padding: 1.35rem 1.25rem;
  overflow: hidden;
  position: relative;
}

.linkset-root .ls-overview-upgrade__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .linkset-root .ls-overview-upgrade__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.linkset-root .ls-overview-upgrade__title {
  margin-top: 0.35rem;
  font-family: var(--ls-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafaf9;
}

.linkset-root .ls-overview-upgrade__copy {
  margin-top: 0.45rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.linkset-root .ls-overview-upgrade__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9999px;
  background: #bef264;
  color: #0a0a0b;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.7rem 1.35rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.linkset-root .ls-overview-upgrade__cta:hover {
  background: #d9f99d;
  transform: translateY(-1px);
}

.linkset-root .ls-dash-card {
  border-radius: 1.125rem;
  border: 1px solid rgba(39, 39, 42, 0.95);
  background: linear-gradient(165deg, rgba(39, 39, 42, 0.5) 0%, rgba(9, 9, 11, 0.72) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 16px 48px -16px rgba(0, 0, 0, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.linkset-root .ls-dash-card:hover {
  border-color: rgba(63, 63, 70, 0.95);
}

.linkset-root .ls-dash-chart-panel {
  border-radius: 1rem;
  border: 1px solid rgba(41, 37, 36, 0.85);
  background: rgba(28, 25, 23, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.linkset-root .ls-dash-plan-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(87, 83, 78, 0.85);
  background: rgba(28, 25, 23, 0.55);
  padding: 0.375rem 1rem;
  font-size: var(--ls-text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d6d3d1;
}

.linkset-root .ls-dash-plan-badge.is-pro {
  border-color: rgba(190, 242, 100, 0.4);
  background: rgba(163, 230, 53, 0.14);
  color: #d9f99d;
}

.linkset-root .ls-dash-plan-badge--compact {
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* Flash / inline notices (dashboard + marketing shell) */
.linkset-root .ls-dash-flash {
  border-radius: 0.75rem;
  border: 1px solid rgba(41, 37, 36, 0.9);
  background: rgba(28, 25, 23, 0.72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.linkset-root .ls-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 9999px;
  background: rgba(24, 24, 27, 0.85);
  border: 1px solid rgba(39, 39, 42, 0.95);
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.linkset-root .ls-editor-tab {
  border: none;
  cursor: pointer;
  border-radius: 9999px;
  min-height: 2.5rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #a1a1aa;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-editor-tab[aria-selected="true"] {
  background: rgba(163, 230, 53, 0.14);
  color: #fafafa;
  box-shadow: inset 0 0 0 1px rgba(190, 242, 100, 0.25);
}

.linkset-root .ls-editor-panel[hidden] {
  display: none;
}

.linkset-root .ls-page {
  margin-inline: auto;
  width: 100%;
  max-width: 68rem;
  padding-bottom: 2.5rem;
}

.linkset-root .ls-page--wide {
  max-width: 80rem;
}

.linkset-root .ls-page--narrow {
  max-width: 36rem;
}

.linkset-root .ls-page--studio {
  max-width: 92rem;
}

/* ── Editor studio layout ───────────────────────────────────────── */
.linkset-root .ls-studio-header {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 900px) {
  .linkset-root .ls-studio-header {
    grid-template-columns: 1.4fr auto;
    grid-template-areas:
      "copy actions"
      "meta actions";
    align-items: start;
  }

  .linkset-root .ls-studio-header__copy {
    grid-area: copy;
  }

  .linkset-root .ls-studio-header__meta {
    grid-area: meta;
  }

  .linkset-root .ls-studio-header__actions {
    grid-area: actions;
    justify-self: end;
    align-self: start;
  }
}

.linkset-root .ls-studio-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.linkset-root .ls-studio-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

.linkset-root .ls-studio-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a3e635;
}

.linkset-root .ls-studio-status__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #a3e635;
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.2);
  animation: bio-spot-pulse 2.8s ease-in-out infinite;
}

.linkset-root .ls-studio-strength {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #a1a1aa;
}

.linkset-root .ls-studio-strength__bar {
  display: inline-block;
  width: 4.5rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: rgba(63, 63, 70, 0.85);
  overflow: hidden;
}

.linkset-root .ls-studio-strength__bar>span {
  display: block;
  height: 100%;
  width: calc(var(--ls-strength, 0) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, #84cc16, #bef264);
}

.linkset-root .ls-studio-strength__val {
  color: #e4e4e7;
  font-weight: 600;
}

.linkset-root .ls-studio-nudge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #bef264;
}

.linkset-root .ls-studio-nudge:hover {
  color: #d9f99d;
}

.linkset-root .ls-studio-layout {
  display: grid;
  gap: 1.25rem;
}

/* Mobile-first: preview above controls so edits are visible while scrolling forms */
.linkset-root .ls-studio-preview {
  order: -1;
  min-width: 0;
}

.linkset-root .ls-studio-controls {
  min-width: 0;
}

@media (min-width: 1100px) {
  .linkset-root .ls-studio-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 22rem);
    align-items: start;
    gap: 1.5rem;
  }

  .linkset-root .ls-studio-preview {
    order: 0;
  }

  .linkset-root .ls-studio-preview__sticky {
    position: sticky;
    top: 1.25rem;
  }
}

@media (max-width: 1099px) {
  .linkset-root .ls-studio-preview__sticky {
    position: sticky;
    top: calc(3.35rem + env(safe-area-inset-top, 0px));
    z-index: 25;
    padding-bottom: 0.65rem;
    background: linear-gradient(180deg, #09090b 70%, rgba(9, 9, 11, 0));
  }

  .linkset-root .ls-studio-preview__hint {
    display: none;
  }

  .linkset-root .ls-phone {
    width: min(100%, 16.5rem);
  }

  .linkset-root .ls-phone-screen {
    min-height: 16rem;
    max-height: min(38vh, 20rem);
  }
}

.linkset-root .ls-studio-preview__head {
  margin-bottom: 0.85rem;
}

.linkset-root .ls-studio-preview__hint {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #71717a;
  line-height: 1.45;
}

.linkset-root .ls-studio-preview__foot {
  margin-top: 0.85rem;
  text-align: center;
}

.linkset-root .ls-phone {
  position: relative;
  margin-inline: auto;
  width: min(100%, 20.5rem);
  border-radius: 1.85rem;
  border: 1px solid rgba(63, 63, 70, 0.95);
  background: #09090b;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 28px 60px -24px rgba(0, 0, 0, 0.85);
  padding: 0.55rem;
}

.linkset-root .ls-phone__notch {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.5rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: rgba(39, 39, 42, 0.95);
  z-index: 5;
}

.linkset-root .ls-phone-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1.4rem;
  min-height: 32rem;
  max-height: min(70vh, 38rem);
  overflow-y: auto;
  background: var(--bio-bg);
  color: var(--bio-text);
  font-family: var(--bio-font, var(--ls-font-sans));
  scrollbar-width: thin;
}

.linkset-root .ls-phone-screen .bio-atmosphere-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.linkset-root .ls-phone-screen__inner {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0.95rem 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.linkset-root .ls-phone-identity {
  width: 100%;
}

.linkset-root .ls-phone-screen .bio-avatar {
  width: 4.5rem;
  height: 4.5rem;
}

.linkset-root .ls-phone-screen .bio-cover-img {
  height: 6.5rem;
}

.linkset-root .ls-phone-screen .bio-cover-avatar-img,
.linkset-root .ls-phone-screen .bio-cover-avatar-fallback {
  width: 4.25rem;
  height: 4.25rem;
}

.linkset-root .ls-phone-name {
  margin-top: 0.85rem;
  font-family: var(--bio-font, var(--ls-font-display));
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--bio-text);
}

.linkset-root .ls-phone-name--cover,
.linkset-root .ls-phone-identity:has(.bio-cover-stack) .ls-phone-name {
  margin-top: 2.65rem;
}

.linkset-root .ls-phone-bio {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
  color: var(--bio-muted);
  max-width: 16rem;
}

.linkset-root .ls-phone-socials {
  margin-top: 0.75rem;
  transform: scale(0.92);
  transform-origin: top center;
}

.linkset-root .ls-phone-socials .bio-social {
  pointer-events: none;
  min-height: 1.85rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.65rem;
}

.linkset-root .ls-phone-socials-empty {
  font-size: 0.7rem;
  color: var(--bio-muted);
  opacity: 0.75;
}

.linkset-root .ls-phone-links {
  width: 100%;
  margin-top: 1rem;
}

.linkset-root .ls-phone-links .bio-btn {
  pointer-events: none;
  font-size: 0.8125rem;
  padding: 0.7rem 0.85rem;
}

.linkset-root .ls-phone-links .bio-btn--draft {
  outline: 1px dashed color-mix(in srgb, var(--bio-accent) 55%, transparent);
  opacity: 0.85;
}

.linkset-root .ls-phone-brand {
  margin-top: 1.5rem;
  font-family: var(--ls-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--bio-text) 45%, transparent);
}

.linkset-root .ls-link-quota {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.linkset-root .ls-link-quota__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a1a1aa;
}

.linkset-root .ls-link-quota__track {
  width: 3.5rem;
  height: 0.3rem;
  border-radius: 9999px;
  background: rgba(63, 63, 70, 0.85);
  overflow: hidden;
}

.linkset-root .ls-link-quota__fill {
  display: block;
  height: 100%;
  width: var(--ls-quota, 0%);
  background: linear-gradient(90deg, #84cc16, #bef264);
}

.linkset-root .ls-theme-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.5rem;
}

.linkset-root .ls-theme-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.3rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(63, 63, 70, 0.9);
  background: rgba(24, 24, 27, 0.55);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.linkset-root .ls-theme-swatch:hover {
  border-color: rgba(113, 113, 122, 0.95);
}

.linkset-root .ls-theme-swatch.is-selected,
.linkset-root .ls-theme-swatch:has(input:checked) {
  border-color: rgba(163, 230, 53, 0.5);
  background: rgba(163, 230, 53, 0.1);
}

.linkset-root .ls-theme-swatch__chip {
  width: 100%;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.25rem;
  overflow: hidden;
}

.linkset-root .ls-theme-swatch__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.linkset-root .ls-theme-swatch__name {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #d4d4d8;
  text-align: center;
  line-height: 1.2;
}

@media (min-width: 1280px) {
  .linkset-root .ls-editor-grid {
    grid-template-columns: 1fr;
  }

  .linkset-root .ls-editor-panel--main,
  .linkset-root .ls-editor-panel--side {
    grid-column: auto;
    grid-row: auto;
  }
}

.linkset-root .ls-page-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .linkset-root .ls-page-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.linkset-root .ls-page-header__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.linkset-root .ls-panel {
  border-radius: 1.125rem;
  border: 1px solid rgba(39, 39, 42, 0.95);
  background: linear-gradient(165deg, rgba(39, 39, 42, 0.4) 0%, rgba(9, 9, 11, 0.7) 100%);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

@media (min-width: 640px) {
  .linkset-root .ls-panel {
    padding: 1.5rem;
  }
}

.linkset-root .ls-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.linkset-root .ls-panel__summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fafafa;
}

.linkset-root .ls-panel__summary::-webkit-details-marker {
  display: none;
}

.linkset-root .ls-panel--add {
  margin-top: 1rem;
}

.linkset-root .ls-editor-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 1280px) {
  .linkset-root .ls-editor-grid {
    grid-template-columns: 1.55fr 0.95fr;
    align-items: start;
  }

  .linkset-root .ls-editor-panel--main {
    grid-column: 1;
  }

  .linkset-root .ls-editor-panel--side {
    grid-column: 2;
    grid-row: 1 / span 4;
  }
}

.linkset-root .ls-link-list {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
}

.linkset-root .ls-link-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 1rem;
  border: 1px solid rgba(39, 39, 42, 0.95);
  background: rgba(24, 24, 27, 0.65);
  padding: 0.8rem 0.95rem;
  cursor: grab;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.linkset-root .ls-link-row:hover {
  border-color: rgba(63, 63, 70, 0.95);
  background: rgba(24, 24, 27, 0.9);
}

.linkset-root .ls-link-row:active {
  cursor: grabbing;
}

.linkset-root .ls-link-row__grip {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: -0.35rem 0 -0.35rem -0.45rem;
  color: #71717a;
  font-size: 1.1rem;
  touch-action: none;
  user-select: none;
}

.linkset-root .ls-link-row:hover .ls-link-row__grip {
  color: #a1a1aa;
}

.linkset-root .ls-link-row__body {
  min-width: 0;
  flex: 1;
}

.linkset-root .ls-link-row__title {
  font-weight: 600;
  color: #fafafa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.linkset-root .ls-link-row__url {
  font-size: 0.75rem;
  color: #71717a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.linkset-root .ls-link-row__actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.linkset-root .ls-link-row__edit,
.linkset-root .ls-link-row__delete {
  border: none;
  background: transparent;
  border-radius: 0.65rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-link-row__edit {
  color: #bef264;
}

.linkset-root .ls-link-row__edit:hover {
  background: rgba(163, 230, 53, 0.1);
}

.linkset-root .ls-link-row__delete {
  color: rgba(248, 113, 113, 0.9);
}

.linkset-root .ls-link-row__delete:hover {
  background: rgba(248, 113, 113, 0.1);
}

.linkset-root .ls-chip {
  display: inline-flex;
  margin-left: 0.35rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(163, 230, 53, 0.35);
  background: rgba(163, 230, 53, 0.14);
  padding: 0.1rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9f99d;
  vertical-align: middle;
}

.linkset-root .ls-empty {
  border-radius: 1rem;
  border: 1px dashed rgba(63, 63, 70, 0.9);
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: #71717a;
  list-style: none;
}

.linkset-root .ls-check {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #d4d4d8;
}

.linkset-root .ls-dialog {
  width: calc(100% - 2rem);
  max-width: 28rem;
  max-height: min(90dvh, 40rem);
  overflow-y: auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(63, 63, 70, 0.9);
  background: #09090b;
  padding: 1.5rem;
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  color: #fff;
  overscroll-behavior: contain;
}

.linkset-root .ls-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.linkset-root .ls-dialog--crop {
  max-width: 36rem;
  max-height: min(92dvh, 44rem);
  padding: 1.25rem 1.25rem 1.35rem;
}

.linkset-root .ls-crop-title {
  margin: 0;
  font-family: Syne, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.linkset-root .ls-crop-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #a1a1aa;
}

.linkset-root .ls-crop-stage {
  margin-top: 1rem;
  max-height: min(58dvh, 28rem);
  overflow: hidden;
  border-radius: 0.875rem;
  background: #18181b;
}

.linkset-root .ls-crop-stage img {
  display: block;
  max-width: 100%;
}

.linkset-root .ls-crop-error {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #f87171;
}

.linkset-root .ls-crop-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.linkset-root .ls-crop-preview {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.linkset-root .ls-crop-preview img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid rgba(63, 63, 70, 0.9);
}

.linkset-root .ls-crop-preview--cover img {
  width: 100%;
  max-width: 20rem;
  height: auto;
  aspect-ratio: 2.5 / 1;
  border-radius: 0.75rem;
}

.linkset-root .ls-upsell {
  border-radius: 0.875rem;
  border: 1px solid rgba(63, 63, 70, 0.85);
  background: rgba(9, 9, 11, 0.55);
  padding: 1rem;
}

.linkset-root .ls-upsell--pro {
  border-color: rgba(163, 230, 53, 0.22);
  background:
    linear-gradient(120deg, rgba(163, 230, 53, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(39, 39, 42, 0.55), rgba(9, 9, 11, 0.85));
  padding: 1.5rem;
}

.linkset-root .ls-nav-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.125rem;
  border: 1px solid rgba(39, 39, 42, 0.95);
  background: linear-gradient(165deg, rgba(39, 39, 42, 0.4), rgba(9, 9, 11, 0.7));
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.linkset-root .ls-nav-card:hover {
  border-color: rgba(163, 230, 53, 0.35);
  box-shadow: 0 0 0 1px rgba(163, 230, 53, 0.15);
}

.linkset-root .ls-nav-card__go {
  color: #bef264;
  font-size: 1.125rem;
  transition: transform 0.15s ease;
}

.linkset-root .ls-nav-card:hover .ls-nav-card__go {
  transform: translateX(3px);
}

.linkset-root .ls-align-btn {
  border-radius: 0.5rem;
  border: 1px solid rgba(63, 63, 70, 0.9);
  background: rgba(9, 9, 11, 0.8);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #e4e4e7;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-align-btn:hover {
  border-color: rgba(113, 113, 122, 0.9);
  color: #fff;
}

.linkset-root .ls-align-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(163, 230, 53, 0.45);
}

.linkset-root .ls-onboard {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background:
    radial-gradient(ellipse 70% 45% at 80% 0%, rgba(163, 230, 53, 0.08), transparent 55%),
    #09090b;
}

.linkset-root .ls-onboard__shell {
  width: 100%;
  max-width: 32rem;
}

.linkset-root .ls-onboard__steps {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.linkset-root .ls-onboard__bar {
  height: 0.25rem;
  flex: 1;
  border-radius: 9999px;
  background: #27272a;
  transition: background 0.2s ease;
}

.linkset-root .ls-onboard__bar.is-on {
  background: var(--ls-persona-accent, #a3e635);
}

.linkset-root .ls-onboard__hero {
  margin-bottom: 1.75rem;
}

.linkset-root .ls-onboard {
  background:
    radial-gradient(ellipse 70% 45% at 10% -10%, var(--ls-persona-wash, transparent), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(163, 230, 53, 0.06), transparent 50%);
}

.linkset-root .ls-onboard-act {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.linkset-root .ls-onboard-act__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ls-persona-accent, #a3e635) 22%, transparent);
}

.linkset-root .ls-onboard-act__name {
  font-family: var(--ls-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.linkset-root .ls-onboard-act__tag {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--ls-persona-accent, #a3e635) 80%, #fff);
}

.linkset-root .ls-onboard-act__promise {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #a1a1aa;
}

.linkset-root .ls-persona-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.linkset-root .ls-persona-card {
  display: flex;
  cursor: pointer;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(63, 63, 70, 0.9);
  background:
    linear-gradient(135deg, var(--ls-persona-wash, transparent), transparent 55%),
    rgba(9, 9, 11, 0.65);
  padding: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.linkset-root .ls-persona-card:has(:checked) {
  border-color: color-mix(in srgb, var(--ls-persona-accent, #a3e635) 65%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ls-persona-accent, #a3e635) 28%, transparent);
}

.linkset-root .ls-persona-card__body {
  min-width: 0;
  flex: 1;
}

.linkset-root .ls-persona-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.linkset-root .ls-persona-card__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
}

.linkset-root .ls-persona-card__tag {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--ls-persona-accent, #a3e635) 70%, #e4e4e7);
}

.linkset-root .ls-persona-card__promise {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #71717a;
}

.linkset-root .ls-persona-card--musician {
  border-radius: 1.35rem;
}

.linkset-root .ls-persona-card--gamer {
  border-radius: 0.65rem;
}

.linkset-root .ls-persona-card--photographer {
  border-radius: 0.4rem;
}

.linkset-root .ls-persona-card--artist .ls-persona-card__tag {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {

  .linkset-root .ls-enter,
  .linkset-root .ls-sidebar-link,
  .linkset-root .ls-studio-drawer,
  .linkset-root .ls-overview-upgrade__cta,
  .bio-page .bio-btn--featured,
  .bio-layout--pulse .bio-avatar,
  .bio-branding::before,
  .bio-atmosphere-stage__orb,
  .bio-avatar-wrap::before,
  .bio-atmosphere .bio-fx,
  .bio-atmosphere-stage__wash,
  .mkt-rise,
  .mkt-rise-2,
  .mkt-rise-3,
  .mkt-float {
    animation: none !important;
    transition: none !important;
  }

  .bio-atmosphere .bio-atmosphere-fx {
    display: none;
  }
}

/* Audience studio — scroll lists */
.linkset-root .ls-audience-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 113, 108, 0.42) transparent;
}

.linkset-root .ls-audience-scroll::-webkit-scrollbar {
  width: 6px;
}

.linkset-root .ls-audience-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(120, 113, 108, 0.4);
  border-radius: 9999px;
}

.linkset-root .ls-audience-scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(168, 162, 158, 0.45);
}

.linkset-root .ls-chart-title {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-label);
  text-transform: uppercase;
  color: var(--ls-ink-muted);
}

.linkset-root .ls-panel-title {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-xl);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-snug);
  color: var(--ls-ink);
}

.linkset-root .ls-promo-title {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-lg);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-snug);
  color: var(--ls-ink);
}

.linkset-root .ls-promo-copy {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  line-height: var(--ls-leading-body);
  letter-spacing: var(--ls-tracking-wide);
  color: rgba(221, 214, 254, 0.88);
}

.linkset-root .ls-error-code {
  font-family: var(--ls-font-display);
  font-size: clamp(4.5rem, 14vw, 8rem);
  font-weight: 400;
  line-height: var(--ls-leading-none);
  letter-spacing: var(--ls-tracking-tighter);
  color: rgba(250, 250, 249, 0.92);
  text-shadow: 0 0 80px rgba(139, 92, 246, 0.35);
}

/* Optional: long-form blocks inside marketing/settings */
.linkset-root .ls-prose {
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-relaxed);
  letter-spacing: var(--ls-tracking-ui);
  color: var(--ls-ink-muted);
}

.linkset-root .ls-prose p+p {
  margin-top: 1em;
}

/* -----------------------------------------------------------------------------
   Native HTML — clear hierarchy for <h1>–<h6>, <p>, and inline text
   Low specificity (:where) so .ls-* and utilities override. UX: scan pattern is
   display serif (h1–h2) → sans subheads (h3–h6) → relaxed body (p) → muted small
   -------------------------------------------------------------------------- */

.linkset-root :where(h1, h2, h3, h4, h5, h6) {
  font-style: normal;
  text-wrap: balance;
}

.linkset-root :where(h1) {
  font-family: var(--ls-font-display);
  font-size: clamp(2rem, 2.25vw + 1.35rem, 2.875rem);
  font-weight: 400;
  line-height: var(--ls-leading-tight);
  letter-spacing: -0.028em;
  color: var(--ls-ink);
  margin: 0 0 0.875rem;
}

.linkset-root :where(h2) {
  font-family: var(--ls-font-display);
  font-size: clamp(1.3125rem, 0.85vw + 1rem, 1.875rem);
  font-weight: 400;
  line-height: var(--ls-leading-snug);
  letter-spacing: var(--ls-tracking-snug);
  color: var(--ls-ink);
  margin: 2rem 0 0.625rem;
}

.linkset-root :where(h3) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-xl);
  font-weight: 600;
  line-height: var(--ls-leading-snug);
  letter-spacing: var(--ls-tracking-snug);
  color: var(--ls-ink);
  margin: 1.75rem 0 0.5rem;
}

.linkset-root :where(h4) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-lg);
  font-weight: 600;
  line-height: var(--ls-leading-snug);
  letter-spacing: var(--ls-tracking-snug);
  color: var(--ls-ink);
  margin: 1.5rem 0 0.5rem;
}

.linkset-root :where(h5) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  font-weight: 600;
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-wide);
  text-transform: uppercase;
  color: var(--ls-ink-muted);
  margin: 1.25rem 0 0.375rem;
}

.linkset-root :where(h6) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 600;
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-label);
  text-transform: uppercase;
  color: var(--ls-ink-faint);
  margin: 1.25rem 0 0.375rem;
}

.linkset-root :where(h1:first-child, h2:first-child, h3:first-child) {
  margin-top: 0;
}

.linkset-root :where(p) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  font-weight: 400;
  line-height: var(--ls-leading-relaxed);
  letter-spacing: var(--ls-tracking-ui);
  color: #d6d3d1;
  margin: 0 0 1rem;
  max-width: 65ch;
}

.linkset-root :where(p:last-child) {
  margin-bottom: 0;
}

.linkset-root :where(small) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 500;
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-ui);
  color: var(--ls-ink-muted);
}

.linkset-root :where(strong, b) {
  font-weight: 600;
  color: var(--ls-ink);
}

.linkset-root :where(em, i:not([class])) {
  font-style: italic;
}

.linkset-root :where(sub, sup) {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

.linkset-root :where(sup) {
  top: -0.35em;
}

.linkset-root :where(sub) {
  bottom: -0.2em;
}

.linkset-root :where(blockquote) {
  margin: 1.25rem 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid rgba(167, 139, 250, 0.45);
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  line-height: var(--ls-leading-relaxed);
  font-style: italic;
  color: var(--ls-ink-muted);
}

.linkset-root :where(blockquote) :where(p) {
  margin-bottom: 0.75rem;
  max-width: none;
}

.linkset-root :where(blockquote) :where(p:last-child) {
  margin-bottom: 0;
}

.linkset-root :where(code) {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", menlo, monospace;
  font-size: 0.88em;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.15em 0.4em;
  border-radius: var(--ls-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e7e5e4;
}

.linkset-root :where(pre) {
  margin: 1rem 0;
  padding: 1rem 1.125rem;
  overflow-x: auto;
  font-family: ui-monospace, menlo, monospace;
  font-size: var(--ls-text-sm);
  line-height: var(--ls-leading-ui);
  letter-spacing: 0;
  border-radius: var(--ls-radius);
  border: 1px solid var(--ls-border);
  background: rgb(12 10 9);
  color: var(--ls-ink-muted);
}

.linkset-root :where(pre code) {
  padding: 0;
  border: none;
  background: transparent;
  font-size: inherit;
  color: inherit;
}

.linkset-root :where(ul, ol) {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-relaxed);
  color: #d6d3d1;
}

.linkset-root :where(ul) {
  list-style-type: disc;
}

.linkset-root :where(ol) {
  list-style-type: decimal;
}

.linkset-root :where(li) {
  margin: 0.375rem 0;
  padding-left: 0.25rem;
}

.linkset-root :where(li)::marker {
  color: var(--ls-ink-faint);
}

.linkset-root :where(dl) {
  margin: 0 0 1rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
}

.linkset-root :where(dt) {
  font-weight: 600;
  color: var(--ls-ink);
  margin-top: 0.75rem;
}

.linkset-root :where(dt:first-child) {
  margin-top: 0;
}

.linkset-root :where(dd) {
  margin: 0.25rem 0 0 0;
  padding-left: 0;
  color: var(--ls-ink-muted);
  line-height: var(--ls-leading-relaxed);
}

.linkset-root :where(figcaption) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-ui);
  color: var(--ls-ink-muted);
  margin-top: 0.5rem;
}

.linkset-root :where(hr) {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid var(--ls-border);
}

.linkset-root :where(address) {
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-style: normal;
  line-height: var(--ls-leading-relaxed);
  color: var(--ls-ink-muted);
}

.linkset-root :where(mark) {
  padding: 0.1em 0.25em;
  border-radius: 0.25rem;
  background: rgba(167, 139, 250, 0.25);
  color: var(--ls-ink);
}

.linkset-root :where(kbd) {
  font-family: ui-monospace, monospace;
  font-size: var(--ls-text-xs);
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid var(--ls-border-hover);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ls-ink-muted);
}

/* Paragraphs inside cards/panels often need full width — opt out of 65ch */
.linkset-root :where(.rounded-2xl, .rounded-3xl, [class*="border-stone"]) :where(p),
.linkset-root .linkset-form :where(p),
.linkset-root table :where(p) {
  max-width: none;
}

.linkset-root .auth-page a {
  color: #d9f99d;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 600;
}

.linkset-root .auth-page a:hover {
  color: #ecfccb;
}

/* Creator-facing public bio — theme vars */
.bio-page .ls-bio-name {
  font-family: var(--bio-font, var(--ls-font-display));
  font-size: clamp(1.6875rem, 3.6vw + 1rem, 2.375rem);
  font-weight: 700;
  line-height: var(--ls-leading-tight);
  letter-spacing: -0.03em;
  color: var(--bio-text);
  text-wrap: balance;
}

.bio-page .ls-bio-about {
  font-family: var(--bio-font, var(--ls-font-sans));
  font-size: var(--ls-text-xl);
  line-height: var(--ls-leading-loose);
  letter-spacing: var(--ls-tracking-wide);
  font-weight: 400;
  color: var(--bio-muted);
  white-space: pre-line;
}

.bio-page .ls-bio-about--md {
  white-space: normal;
  text-align: left;
}

.bio-page .ls-bio-about--md> :first-child {
  margin-top: 0;
}

.bio-page .ls-bio-about--md> :last-child {
  margin-bottom: 0;
}

.bio-page .ls-bio-about--md p {
  margin: 0.65em 0;
}

.bio-page .ls-bio-about--md a {
  color: var(--bio-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bio-page .ls-bio-about--md a:hover {
  filter: brightness(1.08);
}

.bio-page .ls-bio-about--md strong,
.bio-page .ls-bio-about--md b {
  color: color-mix(in srgb, var(--bio-text) 88%, var(--bio-muted));
  font-weight: 600;
}

.bio-page .ls-bio-about--md ul,
.bio-page .ls-bio-about--md ol {
  margin: 0.5em 0;
  padding-left: 1.35em;
}

.bio-page .ls-bio-about--md li {
  margin: 0.25em 0;
}

.bio-page .ls-bio-about--md h2,
.bio-page .ls-bio-about--md h3,
.bio-page .ls-bio-about--md h4,
.bio-page .ls-bio-about--md h5,
.bio-page .ls-bio-about--md h6 {
  margin: 0.85em 0 0.4em;
  font-family: var(--bio-font, var(--ls-font-sans));
  font-weight: 600;
  line-height: var(--ls-leading-snug);
  color: color-mix(in srgb, var(--bio-text) 82%, var(--bio-muted));
}

.bio-page .ls-bio-about--md h2 {
  font-size: var(--ls-text-2xl);
}

.bio-page .ls-bio-about--md h3 {
  font-size: var(--ls-text-xl);
}

.bio-page .ls-bio-about--md h4,
.bio-page .ls-bio-about--md h5,
.bio-page .ls-bio-about--md h6 {
  font-size: var(--ls-text-lg);
}

.bio-page .ls-bio-about--md blockquote {
  margin: 0.65em 0;
  padding-left: 0.9em;
  border-left: 3px solid color-mix(in srgb, var(--bio-accent) 55%, transparent);
  color: color-mix(in srgb, var(--bio-muted) 92%, var(--bio-text));
}

.bio-page .ls-bio-about--md hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid color-mix(in srgb, var(--bio-muted) 35%, transparent);
}

.bio-page .ls-bio-about--md pre {
  margin: 0.65em 0;
  padding: 0.75rem 0.85rem;
  overflow-x: auto;
  border-radius: calc(var(--bio-radius, 0.75rem) * 0.65);
  border: 1px solid color-mix(in srgb, var(--bio-card-border, rgba(255, 255, 255, 0.12)) 70%, transparent);
  background: color-mix(in srgb, var(--bio-card, rgba(0, 0, 0, 0.35)) 80%, transparent);
  font-family: ui-monospace, "Cascadia Code", consolas, monospace;
  font-size: var(--ls-text-sm);
  line-height: var(--ls-leading-ui);
}

.bio-page .ls-bio-about--md code {
  font-family: ui-monospace, "Cascadia Code", consolas, monospace;
  font-size: 0.92em;
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
  background: color-mix(in srgb, var(--bio-card, rgba(0, 0, 0, 0.35)) 75%, transparent);
}

.bio-page .ls-bio-about--md pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.bio-page .ls-bio-about--md .bio-md-align-left,
.bio-page .ls-bio-about--md .bio-md-align-center,
.bio-page .ls-bio-about--md .bio-md-align-right {
  margin: 0.65em 0;
}

.bio-page .ls-bio-about--md .bio-md-align-left {
  text-align: left;
}

.bio-page .ls-bio-about--md .bio-md-align-center {
  text-align: center;
}

.bio-page .ls-bio-about--md .bio-md-align-right {
  text-align: right;
}

.bio-page .ls-bio-stats {
  font-family: var(--bio-font, var(--ls-font-sans));
  font-size: var(--ls-text-sm);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-wide);
  font-weight: 500;
  color: color-mix(in srgb, var(--bio-muted) 95%, transparent);
}

/* Public profile — who liked (avatar strip) */
.bio-page .bio-liked-by {
  text-align: center;
}

.bio-page .bio-liked-by-heading {
  margin: 0 0 0.75rem;
  font-family: var(--bio-font, var(--ls-font-sans));
  font-size: var(--ls-text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: color-mix(in srgb, var(--bio-muted) 92%, transparent);
}

.bio-page .bio-liked-by-count {
  font-weight: 500;
  color: color-mix(in srgb, var(--bio-muted) 75%, transparent);
}

.bio-page .bio-liked-by-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bio-page .bio-liked-by-item {
  margin: 0;
}

.bio-page .bio-liked-by-link,
.bio-page .bio-liked-by-face {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--bio-card-border, rgba(255, 255, 255, 0.12)) 80%, transparent);
  background: color-mix(in srgb, var(--bio-card, rgba(255, 255, 255, 0.06)) 55%, transparent);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bio-page .bio-liked-by-link:hover {
  transform: scale(1.06);
  border-color: color-mix(in srgb, var(--bio-accent) 45%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bio-accent) 25%, transparent);
}

.bio-page .bio-liked-by-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bio-accent) 55%, transparent);
}

.bio-page .bio-liked-by-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-page .bio-liked-by-initial {
  font-family: var(--bio-font, var(--ls-font-display));
  font-size: var(--ls-text-lg);
  font-weight: 500;
  line-height: 1;
  color: var(--bio-text);
}

.bio-page .ls-bio-caption {
  font-family: var(--bio-font, var(--ls-font-sans));
  font-size: var(--ls-text-sm);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-ui);
  font-weight: 500;
  color: var(--bio-muted);
}

/* --- Inputs (text-like) --------------------------------------------------- */
.ls-input,
.ls-textarea,
select.ls-select,
textarea.ls-textarea {
  display: block;
  width: 100%;
  border-radius: var(--ls-radius);
  border: 1px solid var(--ls-border);
  background-color: rgb(12 10 9);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent 40%);
  color: var(--ls-ink);
  padding: 0.8rem 1rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-ui);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: var(--ls-transition);
}

.ls-input::placeholder,
.ls-textarea::placeholder {
  color: rgb(87 83 78);
}

.ls-input:hover,
.ls-textarea:hover,
select.ls-select:hover {
  border-color: var(--ls-border-hover);
}

.ls-input:focus,
.ls-textarea:focus,
select.ls-select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 3px var(--ls-focus-glow),
    0 0 0 1px rgba(167, 139, 250, 0.35);
}

.ls-input:focus-visible,
.ls-textarea:focus-visible,
select.ls-select:focus-visible {
  outline: none;
}

.ls-input:disabled,
.ls-textarea:disabled,
select.ls-select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

textarea.ls-textarea {
  min-height: 6rem;
  resize: vertical;
}

/* Select — custom chevron */
select.ls-select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a8a29e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
}

select.ls-select option {
  background-color: rgb(28 25 23);
  color: var(--ls-ink);
}

/* Color wells (theme pickers) */
input[type="color"].ls-color {
  height: 2.75rem;
  padding: 0.2rem;
  border-radius: var(--ls-radius-sm);
  border: 1px solid var(--ls-border);
  background: rgb(12 10 9);
  cursor: pointer;
  transition: var(--ls-transition);
}

input[type="color"].ls-color:hover {
  border-color: var(--ls-border-hover);
}

input[type="color"].ls-color:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--ls-focus-glow);
}

/* Checkboxes — custom (no clip-path; works everywhere) */
input[type="checkbox"].ls-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 0.375rem;
  border: 1.5px solid var(--ls-border-hover);
  background: rgb(12 10 9);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: var(--ls-transition);
  vertical-align: middle;
}

input[type="checkbox"].ls-checkbox:hover {
  border-color: rgba(167, 139, 250, 0.55);
}

input[type="checkbox"].ls-checkbox:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ls-focus-glow);
}

input[type="checkbox"].ls-checkbox:checked {
  background-color: var(--ls-accent-strong);
  border-color: rgba(167, 139, 250, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0a09' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-position: center;
  background-repeat: no-repeat;
}

input[type="checkbox"].ls-checkbox:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Radios */
input[type="radio"].ls-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1.5px solid var(--ls-border-hover);
  background: rgb(12 10 9);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: var(--ls-transition);
}

input[type="radio"].ls-radio:hover {
  border-color: rgba(167, 139, 250, 0.55);
}

input[type="radio"].ls-radio:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ls-focus-glow);
}

input[type="radio"].ls-radio:checked {
  border-color: var(--ls-accent-strong);
  background: radial-gradient(circle, var(--ls-accent-strong) 38%, transparent 40%);
  box-shadow: inset 0 0 0 3px rgb(12 10 9), 0 0 0 1px rgba(167, 139, 250, 0.5);
}

/* File inputs */
input[type="file"].ls-file,
input[type="file"].ls-file-sm {
  width: 100%;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  letter-spacing: var(--ls-tracking-ui);
  color: var(--ls-ink-muted);
}

input[type="file"].ls-file::file-selector-button {
  margin-right: 1rem;
  border-radius: var(--ls-radius-sm);
  border: 1px solid rgba(109 40 217, 0.45);
  background: linear-gradient(to bottom, rgba(139, 92, 246, 0.35), rgba(109, 40, 217, 0.25));
  color: var(--ls-ink);
  padding: 0.5rem 1rem;
  font-family: var(--ls-font-sans);
  font-weight: 600;
  font-size: var(--ls-text-sm);
  letter-spacing: var(--ls-tracking-ui);
  cursor: pointer;
  transition: var(--ls-transition);
}

input[type="file"].ls-file::file-selector-button:hover {
  border-color: rgba(167, 139, 250, 0.75);
  background: linear-gradient(to bottom, rgba(167, 139, 250, 0.4), rgba(139, 92, 246, 0.3));
}

/* Labels */
.ls-label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 500;
  letter-spacing: var(--ls-tracking-wide);
  line-height: var(--ls-leading-ui);
  color: var(--ls-ink-muted);
}

/* Scoped fallbacks: Django-rendered fields inside .linkset-form (no widget attrs) */
.linkset-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="image"]):not([type="range"]):not([type="color"]),
.linkset-form textarea:not(.bio-page textarea),
.linkset-form select {
  display: block;
  width: 100%;
  border-radius: var(--ls-radius);
  border: 1px solid var(--ls-border);
  background-color: rgb(12 10 9);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent 40%);
  color: var(--ls-ink);
  padding: 0.8rem 1rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-base);
  line-height: var(--ls-leading-ui);
  letter-spacing: var(--ls-tracking-ui);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: var(--ls-transition);
}

.linkset-form select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a8a29e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.1rem;
}

.linkset-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="hidden"]):not([type="image"]):not([type="range"]):not([type="color"]):focus,
.linkset-form textarea:focus,
.linkset-form select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), 0 0 0 3px var(--ls-focus-glow),
    0 0 0 1px rgba(167, 139, 250, 0.35);
}

.linkset-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 0.375rem;
  border: 1.5px solid var(--ls-border-hover);
  background: rgb(12 10 9);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  vertical-align: middle;
  transition: var(--ls-transition);
}

.linkset-form input[type="checkbox"]:hover {
  border-color: rgba(167, 139, 250, 0.55);
}

.linkset-form input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--ls-focus-glow);
}

.linkset-form input[type="checkbox"]:checked {
  background-color: var(--ls-accent-strong);
  border-color: rgba(167, 139, 250, 0.95);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0a09' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-position: center;
  background-repeat: no-repeat;
}

/* Bio app blocks (unchanged semantics) */
.bio-glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bio-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--bio-font, var(--ls-font-sans));
  background: var(--bio-bg);
  color: var(--bio-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.75rem 1.1rem 3.75rem;
  padding-top: max(2.75rem, calc(1.5rem + env(safe-area-inset-top, 0px)));
  padding-bottom: max(3.75rem, calc(2rem + env(safe-area-inset-bottom, 0px)));
  padding-left: max(1.1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.1rem, env(safe-area-inset-right, 0px));
  overflow-x: clip;
}

.bio-atmosphere-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bio-atmosphere-stage__wash {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, color-mix(in srgb, var(--bio-glow, var(--bio-accent)) 28%, transparent), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 80%, color-mix(in srgb, var(--bio-accent-2) 18%, transparent), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 70%, color-mix(in srgb, var(--bio-accent) 12%, transparent), transparent 45%);
  opacity: 0.95;
}

.bio-atmosphere-stage__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  will-change: transform;
}

.bio-atmosphere-stage__orb--a {
  width: min(22rem, 70vw);
  height: min(22rem, 70vw);
  left: -8%;
  top: 12%;
  background: color-mix(in srgb, var(--bio-accent) 55%, transparent);
  animation: bio-orb-drift 18s ease-in-out infinite;
}

.bio-atmosphere-stage__orb--b {
  width: min(18rem, 60vw);
  height: min(18rem, 60vw);
  right: -10%;
  bottom: 8%;
  background: color-mix(in srgb, var(--bio-accent-2) 50%, transparent);
  animation: bio-orb-drift 22s ease-in-out infinite reverse;
}

.bio-atmosphere-stage__grain {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bio-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.bio-avatar-wrap {
  position: relative;
  margin-bottom: 0.15rem;
}

.bio-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -0.45rem;
  border-radius: 9999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--bio-glow, var(--bio-accent)) 45%, transparent), transparent 70%);
  opacity: 0.85;
  z-index: -1;
  animation: bio-spot-pulse 6s ease-in-out infinite;
}

.bio-preview-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.72);
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #fff;
  backdrop-filter: blur(10px);
}

.bio-preview-bar a {
  margin-left: 0.75rem;
  color: #bef264;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bio-identity {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: bio-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bio-avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid color-mix(in srgb, var(--bio-text) 16%, transparent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.bio-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--bio-text) 10%, transparent);
  font-family: var(--ls-font-display);
  font-size: 2rem;
  font-weight: 700;
}

.bio-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.bio-featured {
  margin-top: 1.6rem;
}

.bio-empty {
  text-align: center;
  color: var(--bio-muted);
  font-size: 0.9rem;
}

.bio-engage {
  width: 100%;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bio-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--bio-text) 18%, transparent);
  background: color-mix(in srgb, var(--bio-text) 8%, transparent);
  padding: 0.45rem 0.95rem;
  color: var(--bio-text);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.bio-like-btn:hover {
  background: color-mix(in srgb, var(--bio-text) 14%, transparent);
  transform: translateY(-1px);
}

.bio-like-btn.is-liked {
  border-color: color-mix(in srgb, var(--bio-accent) 45%, transparent);
  background: color-mix(in srgb, var(--bio-accent) 16%, transparent);
}

.bio-like-btn__count {
  color: var(--bio-muted);
  font-variant-numeric: tabular-nums;
}

.bio-like-hint {
  font-size: 0.8125rem;
  color: var(--bio-muted);
}

.bio-like-hint a {
  color: var(--bio-accent);
  text-underline-offset: 3px;
}

.bio-like-hint a:hover {
  text-decoration: underline;
}

.bio-branding {
  margin-top: auto;
  padding-top: 2.75rem;
  text-align: center;
  position: relative;
}

.bio-branding::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.25rem;
  transform: translateX(-50%);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--bio-accent) 28%, transparent), transparent 70%);
  pointer-events: none;
  animation: bio-spot-pulse 5.5s ease-in-out infinite;
}

.bio-branding a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  color: var(--bio-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
  position: relative;
  z-index: 1;
}

.bio-branding a:hover {
  color: var(--bio-accent);
}

.bio-branding__mark {
  font-family: var(--ls-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--bio-text) 62%, transparent);
  transition: color 0.15s ease, text-shadow 0.2s ease;
}

.bio-branding a:hover .bio-branding__mark {
  color: var(--bio-accent);
  text-shadow: 0 0 24px color-mix(in srgb, var(--bio-accent) 45%, transparent);
}

.bio-branding__cta {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.95;
  color: var(--bio-accent);
}
}

@keyframes bio-spot-pulse {

  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.15);
  }
}

@keyframes bio-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bio-cover-stack {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-bottom: 0.25rem;
}

.bio-cover-frame {
  overflow: hidden;
  border-radius: var(--bio-radius, 1.25rem);
  box-shadow: var(--bio-shadow);
}

.bio-cover-img {
  display: block;
  width: 100%;
  height: clamp(10rem, 34vw, 14rem);
  object-fit: cover;
}

.bio-cover-avatar {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 46%);
}

.bio-cover-avatar-img {
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  border: 4px solid color-mix(in srgb, var(--bio-text) 18%, transparent);
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.bio-cover-avatar-fallback {
  display: flex;
  width: 7rem;
  height: 7rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid color-mix(in srgb, var(--bio-text) 16%, transparent);
  background: color-mix(in srgb, var(--bio-text) 10%, transparent);
  font-family: var(--bio-font, var(--ls-font-display));
  font-size: 2.25rem;
  line-height: 1;
  color: var(--bio-text);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.bio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: var(--bio-radius, 1rem);
  background: linear-gradient(165deg,
      color-mix(in srgb, var(--bio-card) 100%, transparent) 0%,
      color-mix(in srgb, var(--bio-card) 85%, #000 15%) 100%);
  border: 1px solid var(--bio-card-border);
  color: var(--bio-text);
  font-family: var(--bio-font, var(--ls-font-sans));
  font-size: var(--ls-text-base);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  text-decoration: none;
  box-shadow:
    var(--bio-shadow),
    inset 0 1px 0 color-mix(in srgb, var(--bio-text) 8%, transparent);
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.18s ease,
    box-shadow 0.2s ease;
}

.bio-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--bio-accent) 55%, var(--bio-card-border));
  box-shadow:
    var(--bio-shadow),
    0 0 0 1px color-mix(in srgb, var(--bio-accent) 25%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--bio-text) 10%, transparent);
}

.bio-btn:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 2px var(--bio-bg, #0f172a),
    0 0 0 4px color-mix(in srgb, var(--bio-accent) 55%, transparent);
}

.bio-btn:active {
  transform: translateY(0);
}

.bio-page .bio-btn--solid {
  background: linear-gradient(168deg,
      color-mix(in srgb, var(--bio-accent) 92%, #000) 0%,
      color-mix(in srgb, var(--bio-accent) 76%, #000 24%) 100%);
  border-color: color-mix(in srgb, var(--bio-accent) 58%, var(--bio-card-border));
  box-shadow:
    var(--bio-shadow),
    inset 0 1px 0 color-mix(in srgb, var(--bio-text) 14%, transparent);
}

.bio-page .bio-btn--solid:hover {
  border-color: color-mix(in srgb, var(--bio-accent) 78%, var(--bio-text));
  box-shadow:
    var(--bio-shadow),
    0 0 0 1px color-mix(in srgb, var(--bio-accent) 35%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--bio-text) 16%, transparent);
}

.bio-page .bio-btn--solid:focus-visible {
  box-shadow:
    0 0 0 2px var(--bio-bg, #0f172a),
    0 0 0 4px color-mix(in srgb, var(--bio-accent) 55%, transparent);
}

.bio-page .bio-btn--outline {
  background: transparent;
  border: 2px solid color-mix(in srgb, var(--bio-accent) 70%, var(--bio-card-border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bio-text) 5%, transparent);
}

.bio-page .bio-btn--outline:hover {
  background: color-mix(in srgb, var(--bio-accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--bio-accent) 88%, var(--bio-card-border));
}

.bio-page .bio-btn--outline:focus-visible {
  box-shadow:
    0 0 0 2px var(--bio-bg, #0f172a),
    0 0 0 4px color-mix(in srgb, var(--bio-accent) 45%, transparent);
}

.bio-page .bio-btn--ghost {
  background: color-mix(in srgb, var(--bio-text) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--bio-text) 14%, transparent);
  box-shadow: none;
}

.bio-page .bio-btn--ghost:hover {
  background: color-mix(in srgb, var(--bio-text) 12%, transparent);
  border-color: color-mix(in srgb, var(--bio-accent) 35%, var(--bio-text));
}

.bio-page .bio-btn--ghost:focus-visible {
  box-shadow:
    0 0 0 2px var(--bio-bg, #0f172a),
    0 0 0 4px color-mix(in srgb, var(--bio-accent) 45%, transparent);
}

.bio-btn-label {
  flex: 1 1 auto;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 639px) {
  .bio-btn-label {
    white-space: normal;
    text-wrap: balance;
    line-height: 1.25;
  }
}

.sortable-ghost {
  opacity: 0.45;
}

/* Primary actions — ink + lime */
.ls-btn-primary,
.ls-btn-violet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(to bottom, #bef264, #a3e635);
  padding: 0.75rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: #0a0a0b;
  box-shadow: 0 4px 24px -4px rgba(163, 230, 53, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.15s ease;
}

.ls-btn-primary:hover,
.ls-btn-violet:hover {
  filter: brightness(1.08);
}

.ls-btn-primary:active,
.ls-btn-violet:active {
  transform: translateY(1px);
}

.ls-btn-light {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(to bottom, #fafaf9, #e7e5e4);
  padding: 0.75rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: rgb(12 10 9);
  box-shadow: 0 4px 24px -4px rgba(255, 255, 255, 0.12), inset 0 1px 0 white;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.ls-btn-light:hover {
  filter: brightness(1.03);
}

.ls-btn-light:active {
  transform: translateY(1px);
}

.ls-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--ls-border);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1.25rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-ui);
  color: var(--ls-ink-muted);
  transition: var(--ls-transition);
}

.ls-btn-ghost:hover {
  border-color: var(--ls-border-hover);
  color: var(--ls-ink);
  background: rgba(255, 255, 255, 0.07);
}

/* Dashboard — outline pill (secondary actions, matches studio Chrome) */
.linkset-root .ls-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgb(87 83 78);
  padding: 0.625rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: #e7e5e4;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.linkset-root .ls-btn-outline:hover {
  border-color: rgb(168 162 158);
  color: #fafaf9;
}

.linkset-root .ls-btn-outline:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.35);
}

/* Slightly compact variant for dense toolbars (editor header) */
.linkset-root .ls-btn-outline-compact {
  min-height: 2.25rem;
  padding: 0.5rem 1.25rem;
  font-size: var(--ls-text-md);
}

/* Accent CTA for studio entry points */
.linkset-root .ls-btn-studio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(163, 230, 53, 0.42);
  padding: 0.625rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: #bef264;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.linkset-root .ls-btn-studio:hover {
  border-color: rgba(190, 242, 100, 0.65);
  background: rgba(163, 230, 53, 0.08);
  color: #ecfccb;
}

.linkset-root .ls-btn-studio:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.35);
}

/* Account / auth — destructive & caution (Allauth element buttons) */
.linkset-root .ls-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  padding: 0.625rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-btn-danger:hover {
  border-color: rgba(248, 113, 113, 0.65);
  background: rgba(153, 27, 27, 0.45);
  color: #fef2f2;
}

.linkset-root .ls-btn-danger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35);
}

.linkset-root .ls-btn-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  padding: 0.625rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-sm);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: #fde68a;
  background: rgba(120, 53, 15, 0.35);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.linkset-root .ls-btn-warning:hover {
  border-color: rgba(251, 191, 36, 0.55);
  background: rgba(146, 64, 14, 0.45);
  color: #fffbeb;
}

.linkset-root .ls-btn-warning:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}

/* Raw Django submits inside account shells (no Allauth button element) */
.linkset-root .linkset-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgb(167 139 250), rgb(139 92 246));
  padding: 0.75rem 1.5rem;
  font-family: var(--ls-font-sans);
  font-size: var(--ls-text-md);
  font-weight: 600;
  letter-spacing: var(--ls-tracking-wide);
  color: white;
  box-shadow: 0 4px 24px -4px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.15s ease;
}

.linkset-root .linkset-form input[type="submit"]:hover {
  filter: brightness(1.08);
}

.linkset-root .linkset-form input[type="submit"]:active {
  transform: translateY(1px);
}

.linkset-root .linkset-form input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 4px 24px -4px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 3px rgba(167, 139, 250, 0.35);
}

/* =============================================================================
   Persona layouts, socials, featured CTAs
   ============================================================================= */

.bio-page .ls-bio-name {
  margin-top: 1.15rem;
  font-family: var(--bio-font, var(--ls-font-display));
  font-size: clamp(1.65rem, 4vw + 0.6rem, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.bio-page .ls-bio-name--cover {
  margin-top: 3.75rem;
}

.bio-page .ls-bio-about {
  margin-top: 0.65rem;
  max-width: 24rem;
}

.bio-page .bio-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  max-width: 22rem;
}

.bio-page .bio-reach {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bio-muted);
  opacity: 0.9;
}

.bio-page .bio-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  min-width: 2.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--bio-card-border);
  background: var(--bio-card);
  color: var(--bio-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.bio-page .bio-social__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.bio-page .bio-social__icon {
  display: block;
  flex-shrink: 0;
}

.bio-page .bio-social--from-you {
  border-color: color-mix(in srgb, var(--bio-accent) 55%, var(--bio-card-border));
  background: color-mix(in srgb, var(--bio-accent) 16%, var(--bio-card));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--bio-accent) 35%, transparent);
}

.bio-page .bio-social:hover {
  transform: translateY(-2px);
  border-color: var(--bio-accent);
  background: color-mix(in srgb, var(--bio-accent) 18%, transparent);
}

.bio-page .bio-btn--featured {
  padding: 1.05rem 1.25rem;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  border-color: color-mix(in srgb, var(--bio-accent) 55%, var(--bio-card-border));
  background: color-mix(in srgb, var(--bio-accent) 20%, transparent);
  animation: bio-featured-in 0.55s ease both;
}

.bio-btn {
  min-height: 3.15rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.95rem;
}

.bio-links .bio-btn {
  animation: bio-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bio-links .bio-btn:nth-child(1) {
  animation-delay: 0.04s;
}

.bio-links .bio-btn:nth-child(2) {
  animation-delay: 0.08s;
}

.bio-links .bio-btn:nth-child(3) {
  animation-delay: 0.12s;
}

.bio-links .bio-btn:nth-child(4) {
  animation-delay: 0.16s;
}

.bio-links .bio-btn:nth-child(5) {
  animation-delay: 0.2s;
}

@keyframes bio-featured-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Legacy featured/socials block kept for specificity — identity above wins */

.bio-page .bio-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--bio-accent-2) 45%, transparent);
  background: color-mix(in srgb, var(--bio-accent-2) 16%, transparent);
  color: var(--bio-text);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bio-page .bio-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--bio-accent-2);
  animation: bio-pulse 1.6s ease-out infinite;
}

@keyframes bio-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--bio-accent-2) 55%, transparent);
  }

  70% {
    box-shadow: 0 0 0 10px transparent;
  }

  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.bio-layout--stage .ls-bio-name {
  font-size: clamp(2.1rem, 5vw + 1rem, 3rem);
  letter-spacing: -0.045em;
}

.bio-layout--stage .bio-socials {
  max-width: 26rem;
  gap: 0.65rem;
}

.bio-layout--stage .bio-featured .bio-btn {
  border-radius: 9999px;
}

.bio-layout--arcade .ls-bio-name {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(1.35rem, 2.5vw + 0.9rem, 1.85rem);
}

.bio-layout--arcade .bio-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.bio-layout--arcade .bio-links .bio-btn {
  border-radius: 10px;
  min-height: 3.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bio-layout--arcade .bio-featured .bio-btn {
  border-radius: 10px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.bio-layout--atelier .ls-bio-name {
  font-family: var(--bio-font, var(--ls-font-display));
  font-weight: 600;
  font-size: clamp(2rem, 4vw + 1rem, 2.75rem);
  letter-spacing: -0.03em;
}

.bio-layout--atelier .ls-bio-about {
  font-size: 1.05rem;
  max-width: 26rem;
}

.bio-layout--atelier .bio-links .bio-btn {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bio-card-border);
  border-radius: 0;
  box-shadow: none;
  justify-content: flex-start;
  padding-inline: 0.15rem;
}

.bio-layout--atelier .bio-links .bio-btn:hover {
  border-bottom-color: var(--bio-accent);
  background: transparent;
  transform: translateX(4px);
}

.bio-layout--atelier .bio-featured .bio-btn {
  border: 1px solid var(--bio-card-border);
  border-radius: var(--bio-radius);
  justify-content: center;
  padding-inline: 1.25rem;
}

.bio-layout--pulse .bio-avatar {
  animation: bio-float 5s ease-in-out infinite;
}

@keyframes bio-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.bio-layout--pulse .bio-links .bio-btn {
  border-radius: 18px;
}

.bio-layout--pulse .bio-featured .bio-btn {
  background: linear-gradient(120deg,
      color-mix(in srgb, var(--bio-accent) 35%, transparent),
      color-mix(in srgb, var(--bio-accent-2) 28%, transparent));
}

@media (max-width: 639px) {
  .bio-layout--arcade .bio-links {
    grid-template-columns: 1fr;
  }

  .bio-layout--arcade .bio-links .bio-btn {
    min-height: 3.15rem;
    font-size: 0.875rem;
  }
}

/* ── Traffic & insights ─────────────────────────────────────────── */
.linkset-root .ls-insights-banner {
  margin-top: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(163, 230, 53, 0.18);
  background:
    linear-gradient(125deg, rgba(163, 230, 53, 0.1), transparent 52%),
    linear-gradient(165deg, rgba(39, 39, 42, 0.55), rgba(9, 9, 11, 0.85));
  padding: 1.35rem 1.35rem 1.45rem;
}

.linkset-root .ls-insights-banner__kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3e635;
}

.linkset-root .ls-insights-banner__title {
  margin-top: 0.4rem;
  font-family: var(--ls-font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafaf9;
  line-height: 1.2;
}

.linkset-root .ls-insights-banner__body {
  margin-top: 0.55rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #a1a1aa;
}

.linkset-root .ls-insights-banner__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.linkset-root .ls-insights-kpi {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 900px) {
  .linkset-root .ls-insights-kpi {
    grid-template-columns: repeat(4, 1fr);
  }
}

.linkset-root .ls-insights-kpi__hint {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: #71717a;
}

.linkset-root .ls-insights-kpi__hint.is-up {
  color: #a3e635;
}

.linkset-root .ls-insights-kpi__hint.is-down {
  color: #fb7185;
}

.linkset-root .ls-insights-kpi__hint span {
  color: #71717a;
  margin-left: 0.2rem;
}

.linkset-root .ls-kpi-value--sm {
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  letter-spacing: -0.01em;
}

.linkset-root .ls-insights-section-head {
  max-width: 36rem;
}

.linkset-root .ls-insights-section-copy {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #71717a;
}

.linkset-root .ls-insights-chart {
  position: relative;
  height: 20rem;
  padding: 1rem 1rem 0.75rem;
}

@media (min-width: 640px) {
  .linkset-root .ls-insights-chart {
    height: 18.5rem;
    padding: 1.15rem 1.25rem 0.85rem;
  }
}

.linkset-root .ls-insights-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .linkset-root .ls-insights-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}

.linkset-root .ls-insights-rank {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 1.125rem;
  border: 1px solid rgba(39, 39, 42, 0.95);
  background: linear-gradient(165deg, rgba(39, 39, 42, 0.45) 0%, rgba(9, 9, 11, 0.72) 100%);
  overflow: hidden;
}

.linkset-root .ls-insights-rank__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(39, 39, 42, 0.9);
}

.linkset-root .ls-insights-rank__row:last-child {
  border-bottom: 0;
}

.linkset-root .ls-insights-rank__n {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.4rem;
  background: rgba(163, 230, 53, 0.12);
  color: #bef264;
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.linkset-root .ls-insights-rank__n--soft {
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.55rem;
  border-radius: 9999px;
  background: #3f3f46;
  padding: 0;
}

.linkset-root .ls-insights-rank__main {
  flex: 1;
  min-width: 0;
}

.linkset-root .ls-insights-rank__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.linkset-root .ls-insights-rank__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e4e4e7;
}

.linkset-root .ls-insights-rank__code {
  margin-left: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #71717a;
  letter-spacing: 0.04em;
}

.linkset-root .ls-insights-rank__stat {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: #a1a1aa;
}

.linkset-root .ls-insights-rank__track {
  margin-top: 0.5rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: rgba(63, 63, 70, 0.55);
  overflow: hidden;
}

.linkset-root .ls-insights-rank__fill {
  display: block;
  height: 100%;
  width: var(--ls-rank, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #84cc16, #bef264);
  transition: width 0.35s ease;
}

.linkset-root .ls-insights-rank__fill--cyan {
  background: linear-gradient(90deg, #0891b2, #22d3ee);
}

.linkset-root .ls-insights-rank__fill--amber {
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.linkset-root .ls-insights-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 12rem;
  padding: 1.75rem 1.25rem;
}

.linkset-root .ls-insights-empty--inset {
  min-height: 0;
  padding: 1.75rem 1.25rem;
  align-items: flex-start;
  text-align: left;
}

.linkset-root .ls-insights-empty__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #d4d4d8;
}

.linkset-root .ls-insights-empty__body {
  margin-top: 0.4rem;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #71717a;
}

.linkset-root .ls-insights-upsell {
  border-radius: 1.125rem;
  border: 1px solid rgba(163, 230, 53, 0.2);
  background:
    linear-gradient(135deg, rgba(163, 230, 53, 0.08), transparent 60%),
    rgba(24, 24, 27, 0.65);
  padding: 1.35rem 1.25rem;
}

.linkset-root .ls-insights-upsell__title {
  font-family: var(--ls-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fafaf9;
}

.linkset-root .ls-insights-upsell__body {
  margin-top: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a1a1aa;
}

.linkset-root .ls-insights-upsell__cta {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #bef264;
  transition: color 0.15s ease;
}

.linkset-root .ls-insights-upsell__cta:hover {
  color: #d9f99d;
}

/* ── Audience pulse + share captions (overview) ─────────────────── */
.linkset-root .ls-audience-pulse {
  margin-top: 1.25rem;
}

.linkset-root .ls-audience-pulse__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  border-radius: 1.125rem;
  border: 1px solid rgba(163, 230, 53, 0.16);
  background:
    linear-gradient(120deg, rgba(163, 230, 53, 0.07), transparent 55%),
    linear-gradient(165deg, rgba(39, 39, 42, 0.45), rgba(9, 9, 11, 0.75));
  padding: 1.15rem 1.25rem;
}

.linkset-root .ls-audience-pulse__summary {
  margin-top: 0.35rem;
  font-family: var(--ls-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafaf9;
}

.linkset-root .ls-audience-pulse__tip {
  margin-top: 0.4rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #a1a1aa;
}

.linkset-root .ls-audience-pulse__tease {
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  color: #71717a;
}

.linkset-root .ls-audience-pulse__tease a {
  color: #bef264;
  font-weight: 600;
  margin-left: 0.25rem;
}

.linkset-root .ls-audience-pulse__link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #bef264;
  align-self: center;
}

.linkset-root .ls-audience-pulse__link:hover {
  color: #d9f99d;
}

.linkset-root .ls-share-captions {
  margin-top: 0.85rem;
  max-width: none;
  width: 100%;
}

.linkset-root .ls-share-captions__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.linkset-root .ls-share-captions__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.linkset-root .ls-share-captions__btn {
  appearance: none;
  border: 1px solid rgba(63, 63, 70, 0.95);
  background: rgba(24, 24, 27, 0.65);
  color: #d4d4d8;
  font-size: 0.8125rem;
  font-weight: 600;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.linkset-root .ls-share-captions__btn:hover,
.linkset-root .ls-share-captions__btn.is-copied {
  border-color: rgba(163, 230, 53, 0.45);
  color: #bef264;
  background: rgba(163, 230, 53, 0.1);
}

/* ── Atmosphere picker (editor) ─────────────────────────────────── */
.linkset-root .ls-atmosphere-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (max-width: 420px) {
  .linkset-root .ls-atmosphere-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.linkset-root .ls-atmosphere-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.35rem 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(63, 63, 70, 0.95);
  background: rgba(24, 24, 27, 0.65);
  cursor: pointer;
  text-decoration: none;
  color: #d4d4d8;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.linkset-root .ls-atmosphere-card:hover {
  border-color: rgba(113, 113, 122, 0.95);
  transform: translateY(-1px);
}

.linkset-root .ls-atmosphere-card.is-selected,
.linkset-root .ls-atmosphere-card:has(input:checked) {
  border-color: rgba(163, 230, 53, 0.55);
  background: rgba(163, 230, 53, 0.1);
  color: #ecfccb;
}

.linkset-root .ls-atmosphere-card.is-locked {
  opacity: 0.72;
}

.linkset-root .ls-atmosphere-card__swatch {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.linkset-root .ls-atmosphere-card--none .ls-atmosphere-card__swatch {
  background: linear-gradient(145deg, #3f3f46, #18181b);
}

.linkset-root .ls-atmosphere-card--air .ls-atmosphere-card__swatch {
  background: linear-gradient(145deg, #e0f2fe, #7dd3fc 45%, #38bdf8);
}

.linkset-root .ls-atmosphere-card--fire .ls-atmosphere-card__swatch {
  background: linear-gradient(145deg, #fef08a, #f97316 50%, #dc2626);
}

.linkset-root .ls-atmosphere-card--water .ls-atmosphere-card__swatch {
  background: linear-gradient(145deg, #a5f3fc, #38bdf8 45%, #0369a1);
}

.linkset-root .ls-atmosphere-card--earth .ls-atmosphere-card__swatch {
  background: linear-gradient(145deg, #d6d3d1, #a8a29e 40%, #78716c);
}

.linkset-root .ls-atmosphere-card__name {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.linkset-root .ls-atmosphere-card__lock {
  position: absolute;
  top: 0.25rem;
  right: 0.3rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bef264;
}

.linkset-root .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Elemental atmospheres (public) ─────────────────────────────── */
@keyframes bio-orb-drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(8%, 6%) scale(1.08);
  }
}

.bio-atmosphere-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bio-fx {
  position: absolute;
  display: block;
  pointer-events: none;
  will-change: transform, opacity;
}

.bio-atmosphere--fire .bio-atmosphere-stage__wash {
  background:
    radial-gradient(ellipse 80% 55% at 50% 110%, rgba(249, 115, 22, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(251, 191, 36, 0.2), transparent 50%),
    radial-gradient(ellipse 45% 35% at 85% 20%, rgba(220, 38, 38, 0.18), transparent 45%);
}

.bio-atmosphere--fire .bio-fx {
  bottom: -5%;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: #fbbf24;
  box-shadow: 0 0 10px #f97316, 0 0 18px #dc2626;
  animation: bio-fire-rise 4.5s ease-in infinite;
}

.bio-atmosphere--fire .bio-fx--1 {
  left: 12%;
  animation-delay: 0s;
  animation-duration: 4.2s;
}

.bio-atmosphere--fire .bio-fx--2 {
  left: 28%;
  width: 0.28rem;
  height: 0.28rem;
  animation-delay: 0.7s;
  animation-duration: 5.1s;
}

.bio-atmosphere--fire .bio-fx--3 {
  left: 44%;
  animation-delay: 1.4s;
  animation-duration: 3.8s;
}

.bio-atmosphere--fire .bio-fx--4 {
  left: 58%;
  width: 0.45rem;
  height: 0.45rem;
  animation-delay: 0.3s;
  animation-duration: 4.8s;
  background: #fb923c;
}

.bio-atmosphere--fire .bio-fx--5 {
  left: 72%;
  animation-delay: 1.9s;
  animation-duration: 5.4s;
}

.bio-atmosphere--fire .bio-fx--6 {
  left: 84%;
  width: 0.25rem;
  height: 0.25rem;
  animation-delay: 1.1s;
  animation-duration: 4s;
}

.bio-atmosphere--fire .bio-fx--7 {
  left: 36%;
  animation-delay: 2.4s;
  animation-duration: 5.6s;
  background: #fef08a;
}

.bio-atmosphere--fire .bio-fx--8 {
  left: 66%;
  animation-delay: 0.9s;
  animation-duration: 3.6s;
}

@keyframes bio-fire-rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    transform: translateY(-105vh) translateX(18px) scale(0.35);
    opacity: 0;
  }
}

.bio-atmosphere--water .bio-atmosphere-stage__wash {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 10% 80%, rgba(14, 165, 233, 0.25), transparent 50%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(165, 243, 252, 0.15), transparent 45%);
  animation: bio-water-sway 14s ease-in-out infinite;
}

.bio-atmosphere--water .bio-fx {
  border-radius: 9999px;
  border: 1px solid rgba(165, 243, 252, 0.55);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), rgba(56, 189, 248, 0.15));
  animation: bio-water-bubble 7s ease-in-out infinite;
}

.bio-atmosphere--water .bio-fx--1 {
  left: 15%;
  bottom: 8%;
  width: 0.7rem;
  height: 0.7rem;
  animation-delay: 0s;
}

.bio-atmosphere--water .bio-fx--2 {
  left: 32%;
  bottom: 18%;
  width: 0.45rem;
  height: 0.45rem;
  animation-delay: 1.2s;
}

.bio-atmosphere--water .bio-fx--3 {
  left: 50%;
  bottom: 6%;
  width: 0.9rem;
  height: 0.9rem;
  animation-delay: 0.5s;
}

.bio-atmosphere--water .bio-fx--4 {
  left: 68%;
  bottom: 22%;
  width: 0.35rem;
  height: 0.35rem;
  animation-delay: 2s;
}

.bio-atmosphere--water .bio-fx--5 {
  left: 82%;
  bottom: 12%;
  width: 0.55rem;
  height: 0.55rem;
  animation-delay: 1.5s;
}

.bio-atmosphere--water .bio-fx--6 {
  left: 22%;
  bottom: 30%;
  width: 0.3rem;
  height: 0.3rem;
  animation-delay: 2.8s;
}

.bio-atmosphere--water .bio-fx--7 {
  left: 58%;
  bottom: 35%;
  width: 0.5rem;
  height: 0.5rem;
  animation-delay: 0.9s;
}

.bio-atmosphere--water .bio-fx--8 {
  left: 40%;
  bottom: 14%;
  width: 0.65rem;
  height: 0.65rem;
  animation-delay: 3.2s;
}

@keyframes bio-water-bubble {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.35;
  }

  50% {
    transform: translateY(-2.5rem) scale(1.08);
    opacity: 0.85;
  }
}

@keyframes bio-water-sway {

  0%,
  100% {
    transform: translateX(0) scale(1);
  }

  50% {
    transform: translateX(2%) scale(1.03);
  }
}

.bio-atmosphere--air .bio-atmosphere-stage__wash {
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(224, 242, 254, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 35% at 80% 50%, rgba(186, 230, 253, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(125, 211, 252, 0.12), transparent 45%);
}

.bio-atmosphere--air .bio-fx {
  height: 1px;
  width: 18%;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.4;
  animation: bio-air-drift 9s linear infinite;
}

.bio-atmosphere--air .bio-fx--1 {
  top: 18%;
  left: -20%;
  animation-duration: 11s;
}

.bio-atmosphere--air .bio-fx--2 {
  top: 32%;
  left: -25%;
  width: 28%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.bio-atmosphere--air .bio-fx--3 {
  top: 48%;
  left: -15%;
  width: 22%;
  animation-duration: 10s;
  animation-delay: 2.5s;
}

.bio-atmosphere--air .bio-fx--4 {
  top: 62%;
  left: -30%;
  width: 30%;
  animation-duration: 13s;
  animation-delay: 0.5s;
}

.bio-atmosphere--air .bio-fx--5 {
  top: 74%;
  left: -18%;
  width: 16%;
  animation-duration: 9s;
  animation-delay: 3s;
}

.bio-atmosphere--air .bio-fx--6 {
  top: 26%;
  left: -22%;
  width: 24%;
  animation-duration: 12s;
  animation-delay: 4s;
}

.bio-atmosphere--air .bio-fx--7 {
  top: 55%;
  left: -28%;
  width: 20%;
  animation-duration: 15s;
  animation-delay: 1.8s;
}

.bio-atmosphere--air .bio-fx--8 {
  top: 40%;
  left: -16%;
  width: 14%;
  animation-duration: 8s;
  animation-delay: 2.2s;
}

@keyframes bio-air-drift {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  15% {
    opacity: 0.55;
  }

  85% {
    opacity: 0.35;
  }

  100% {
    transform: translateX(140vw);
    opacity: 0;
  }
}

.bio-atmosphere--earth .bio-atmosphere-stage__wash {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(120, 113, 108, 0.35), transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 25%, rgba(168, 162, 158, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 30% at 85% 35%, rgba(214, 211, 209, 0.12), transparent 45%);
}

.bio-atmosphere--earth .bio-fx {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 1px;
  background: #a8a29e;
  opacity: 0.55;
  animation: bio-earth-mote 12s linear infinite;
}

.bio-atmosphere--earth .bio-fx--1 {
  left: 10%;
  top: 70%;
  animation-delay: 0s;
}

.bio-atmosphere--earth .bio-fx--2 {
  left: 25%;
  top: 60%;
  width: 0.15rem;
  height: 0.15rem;
  animation-delay: 1.5s;
  animation-duration: 14s;
}

.bio-atmosphere--earth .bio-fx--3 {
  left: 40%;
  top: 78%;
  animation-delay: 3s;
  animation-duration: 11s;
}

.bio-atmosphere--earth .bio-fx--4 {
  left: 55%;
  top: 55%;
  width: 0.28rem;
  height: 0.28rem;
  animation-delay: 0.8s;
  animation-duration: 15s;
}

.bio-atmosphere--earth .bio-fx--5 {
  left: 70%;
  top: 68%;
  animation-delay: 2.2s;
}

.bio-atmosphere--earth .bio-fx--6 {
  left: 82%;
  top: 48%;
  width: 0.12rem;
  height: 0.12rem;
  animation-delay: 4s;
  animation-duration: 13s;
}

.bio-atmosphere--earth .bio-fx--7 {
  left: 18%;
  top: 42%;
  animation-delay: 2.8s;
  animation-duration: 16s;
}

.bio-atmosphere--earth .bio-fx--8 {
  left: 62%;
  top: 82%;
  animation-delay: 1.1s;
  animation-duration: 10s;
}

@keyframes bio-earth-mote {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0;
  }

  20% {
    opacity: 0.7;
  }

  100% {
    transform: translate(2.5rem, -18rem) rotate(40deg);
    opacity: 0;
  }
}

.bio-theme--vinyl .bio-atmosphere-stage__orb--a {
  background: color-mix(in srgb, #f472b6 60%, transparent);
}

.bio-theme--neon .bio-atmosphere-stage__orb--b {
  background: color-mix(in srgb, #22d3ee 55%, transparent);
}

/* ── Discover directory ─────────────────────────────────────────── */
.linkset-root.ls-discover {
  min-height: 100vh;
  padding: 1.25rem 1.25rem 3rem;
  max-width: 72rem;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(163, 230, 53, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(250, 250, 250, 0.06), transparent 45%),
    #09090b;
}

.ls-discover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ls-discover-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.ls-discover-nav a {
  color: #a1a1aa;
  text-decoration: none;
}

.ls-discover-nav a:hover,
.ls-discover-nav a.is-active {
  color: #fafafa;
}

.ls-discover-hero {
  margin-bottom: 1.75rem;
}

.ls-discover-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.ls-discover-chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(39, 39, 42, 0.55);
  color: #a1a1aa;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  scroll-snap-align: start;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.ls-discover-chip:hover,
.ls-discover-chip.is-active {
  color: #09090b;
  border-color: #a3e635;
  background: #a3e635;
}

.ls-discover-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .ls-discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ls-discover-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ls-discover-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(39, 39, 42, 0.65), rgba(9, 9, 11, 0.85));
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ls-discover-card:hover {
  border-color: rgba(163, 230, 53, 0.35);
  transform: translateY(-1px);
}

.ls-discover-card__avatar,
.ls-discover-card__fallback {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.ls-discover-card__fallback {
  display: grid;
  place-items: center;
  background: rgba(163, 230, 53, 0.18);
  color: #bef264;
  font-family: var(--ls-font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.ls-discover-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.ls-discover-card__name {
  font-family: var(--ls-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fafafa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-discover-card__meta {
  font-size: 0.75rem;
  color: #71717a;
}

.ls-discover-card__go {
  color: #a3e635;
  font-weight: 700;
  flex-shrink: 0;
}

.ls-discover-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #a1a1aa;
}

.ls-discover-foot {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #71717a;
  font-size: 0.875rem;
}

.ls-discover-foot a {
  color: #bef264;
  font-weight: 700;
  text-decoration: none;
}

.ls-discover-foot a:hover {
  color: #d9f99d;
}

/* ── Public discover rail ───────────────────────────────────────── */
.bio-page .bio-discover-rail {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--bio-muted) 28%, transparent);
}

.bio-page .bio-discover-rail__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.bio-page .bio-discover-rail__title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bio-muted);
}

.bio-page .bio-discover-rail__more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bio-accent);
  text-decoration: none;
}

.bio-page .bio-discover-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.bio-page .bio-discover-rail__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 4.75rem;
  padding: 0.35rem 0.25rem;
  text-decoration: none;
  color: var(--bio-fg, var(--bio-text));
  font-size: 0.75rem;
  text-align: center;
}

.bio-page .bio-discover-rail__avatar,
.bio-page .bio-discover-rail__fallback {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
}

.bio-page .bio-discover-rail__fallback {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--bio-accent) 22%, transparent);
  color: var(--bio-accent);
  font-weight: 700;
}

.bio-page .bio-discover-rail__name {
  max-width: 4.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.85;
}

/* ── Growth kit (studio overview) ───────────────────────────────── */
.linkset-root .ls-growth-kit {
  margin-top: 1.25rem;
}

.linkset-root .ls-growth-kit__inner {
  display: grid;
  gap: 1.25rem;
  border-radius: 1.125rem;
  border: 1px solid rgba(163, 230, 53, 0.18);
  background:
    linear-gradient(135deg, rgba(163, 230, 53, 0.08), transparent 50%),
    linear-gradient(165deg, rgba(39, 39, 42, 0.5), rgba(9, 9, 11, 0.8));
  padding: 1.25rem 1.35rem;
}

@media (min-width: 768px) {
  .linkset-root .ls-growth-kit__inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.linkset-root .ls-growth-kit__title {
  margin: 0.35rem 0 0;
  font-family: var(--ls-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fafafa;
}

.linkset-root .ls-growth-kit__lead {
  margin-top: 0.45rem;
  max-width: 36rem;
  font-size: 0.875rem;
}

.linkset-root .ls-growth-kit__invite {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

@media (min-width: 640px) {
  .linkset-root .ls-growth-kit__invite {
    flex-direction: row;
    align-items: center;
  }
}

.linkset-root .ls-growth-kit__url {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: #d4d4d8;
  font-size: 0.8125rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.linkset-root .ls-growth-kit__copy-btn {
  min-height: 2.75rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .linkset-root .ls-growth-kit__copy-btn {
    width: auto;
    flex-shrink: 0;
  }
}

.linkset-root .ls-growth-kit__stat {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #a1a1aa;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.linkset-root .ls-growth-kit__stat a {
  color: #bef264;
  font-weight: 600;
  text-decoration: none;
}

.linkset-root .ls-growth-kit__peers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.linkset-root .ls-growth-kit__peer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #e4e4e7;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.linkset-root .ls-growth-kit__peer:hover {
  border-color: rgba(163, 230, 53, 0.3);
}

.linkset-root .ls-growth-kit__peer img,
.linkset-root .ls-growth-kit__peer>span:first-child {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.linkset-root .ls-growth-kit__peer>span:first-child:not(img) {
  display: grid;
  place-items: center;
  background: rgba(163, 230, 53, 0.16);
  color: #bef264;
}
