

.lt-body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.lt-shell {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 84px) clamp(20px, 5vw, 28px) 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lt-profile {
  text-align: center;
  margin-bottom: 28px;
}

.lt-avatar-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
}
.lt-avatar {
  width: 112px; height: 112px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--cream);
  display: block;
  position: relative;
  z-index: 2;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 16px 36px -18px rgba(31, 27, 22, .55);
}
.lt-avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 140deg,
    var(--terracotta) 0%,
    var(--amber) 30%,
    var(--sage) 60%,
    var(--plum) 80%,
    var(--terracotta) 100%);
  filter: blur(0.5px);
  opacity: .85;
  z-index: 1;
  animation: ring-spin 18s linear infinite;
  will-change: transform;
}
@keyframes ring-spin {
  to { transform: rotate(1turn); }
}
[data-theme="dark"] .lt-avatar-ring { opacity: .65; }

.lt-avatar {
  animation: lt-avatar-in .65s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes lt-avatar-in {
  from { opacity: 0; transform: scale(.86); }
  to   { opacity: 1; transform: scale(1); }
}

.lt-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 34px);
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 60;
}
.lt-tagline {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.lt-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.lt-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition:
    transform .25s cubic-bezier(.2,.7,.2,1),
    box-shadow .25s ease,
    border-color .2s ease,
    background .25s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  animation: lt-pop .55s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes lt-pop { to { opacity: 1; transform: translateY(0); } }

.lt-link:nth-child(1) { animation-delay: .05s; }
.lt-link:nth-child(2) { animation-delay: .12s; }
.lt-link:nth-child(3) { animation-delay: .19s; }
.lt-link:nth-child(4) { animation-delay: .26s; }
.lt-link:nth-child(5) { animation-delay: .33s; }
.lt-link:nth-child(6) { animation-delay: .40s; }
.lt-link:nth-child(7) { animation-delay: .47s; }
.lt-link:nth-child(8) { animation-delay: .54s; }
.lt-link:nth-child(n+9) { animation-delay: .60s; }

.lt-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 38%, rgba(232,174,84,.22) 50%, transparent 62%);
  transform: translateX(-110%);
  transition: transform .8s ease;
  pointer-events: none;
}
.lt-link:hover {
  transform: translateY(-2px);
  border-color: var(--terracotta);
  box-shadow: 0 18px 36px -18px rgba(200, 85, 61, .35);
}
.lt-link:hover::before { transform: translateX(110%); }
.lt-link:active { transform: translateY(0); }

.lt-link-thumb {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--ivory);
  border: 1px solid var(--line);
}
.lt-link-thumb.is-placeholder {
  display: grid;
  place-items: center;
  color: var(--terracotta);
  background:
    radial-gradient(circle at 30% 30%, rgba(232,174,84,.30), transparent 60%),
    var(--ivory);
}

.lt-link-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lt-link-title {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lt-link-sub {
  font-size: 12.5px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lt-link-arrow {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--ivory);
  border: 1px solid var(--line);
  transition: transform .25s ease, background .2s, color .2s, border-color .2s;
}
.lt-link:hover .lt-link-arrow {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
  transform: translateX(2px);
}

.lt-skeleton {
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.04) 0%,
    rgba(0,0,0,.07) 50%,
    rgba(0,0,0,.04) 100%
  );
  background-size: 200% 100%;
  animation: lt-shimmer 1.4s ease-in-out infinite;
  border: 1px solid var(--line);
}
[data-theme="dark"] .lt-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.04) 0%,
    rgba(255,255,255,.08) 50%,
    rgba(255,255,255,.04) 100%
  );
  background-size: 200% 100%;
}
@keyframes lt-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.lt-empty {
  text-align: center;
  padding: 36px 16px;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: 18px;
}

.lt-foot {
  margin-top: auto;
  padding-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  color: var(--muted);
}
.lt-foot-meta { opacity: .75; }

.theme-toggle {
  position: fixed;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 100;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}
.theme-toggle:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: rotate(-15deg) scale(1.05);
}
.theme-toggle .i-sun  { display: none; }
.theme-toggle .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.lt-links.is-swapping > * { opacity: 0; transition: opacity .25s ease; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .lt-avatar-ring { animation: none !important; }
  .lt-link        { opacity: 1 !important; transform: none !important; }
}
