.lh-shell { position: relative; isolation: isolate; min-height: calc(100vh - 220px); padding: 0 0 64px; overflow: hidden; }
  .lh-hero { position: absolute; inset-inline: 0; top: 0; height: 360px;
    background: linear-gradient(135deg, var(--accent) 0%, #b71c1c 45%, #7f1010 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 0 100%); z-index: -2; transform-origin: top;
    animation: lhHeroDrop .8s cubic-bezier(.22,1,.36,1) both; }
  .lh-hero::before { content: ""; position: absolute; inset: 0;
    background-image:
      linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.06) 75%),
      linear-gradient(45deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.06) 75%),
      radial-gradient(circle at center, rgba(255,255,255,.12) 1.5px, transparent 1.5px);
    background-size: 32px 32px, 32px 32px, 22px 22px; background-position: 0 0, 16px 16px, 11px 11px; opacity: .6; }
  .lh-hero::after { content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(0,0,0,.18), transparent 60%); }
  @keyframes lhHeroDrop { from { transform: scaleY(0); opacity: .4; } to { transform: scaleY(1); opacity: 1; } }

  .lh-body-pattern { position: absolute; inset: 360px 0 0 0; z-index: -3;
    background-color: var(--bg-primary);
    background-image: linear-gradient(45deg, rgba(211,47,47,.045) 1px, transparent 1px),
      linear-gradient(-45deg, rgba(211,47,47,.045) 1px, transparent 1px);
    background-size: 28px 28px; }
  body.theme-dark .lh-body-pattern { background-image:
    linear-gradient(45deg, rgba(211,47,47,.08) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(211,47,47,.08) 1px, transparent 1px); }

  .lh-container { position: relative; width: 100%; max-width: 680px; margin: 0 auto; padding: 96px 18px 0; }
  .lh-profile { position: relative; text-align: center; margin-bottom: 32px; }
  .lh-avatar-wrap { position: relative; width: 132px; height: 132px; margin: 0 auto 18px;
    animation: lhAvatarIn .9s cubic-bezier(.34,1.56,.64,1) both; }
  .lh-avatar-ring { position: absolute; inset: -8px; border-radius: 30px;
    background: conic-gradient(from 140deg, #fff 0%, rgba(255,255,255,.4) 30%, #fff 50%, rgba(255,255,255,.4) 75%, #fff 100%);
    padding: 4px; box-shadow: 0 28px 56px rgba(0,0,0,.32); }
  .lh-avatar-inner { position: absolute; inset: 4px; border-radius: 26px;
    background: linear-gradient(135deg, #1c2638 0%, #0b1018 100%); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px; font-weight: 900; letter-spacing: -.04em; overflow: hidden;
    animation: lhBreath 4.5s ease-in-out infinite; }
  @keyframes lhAvatarIn { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.06); } 100% { transform: scale(1); } }
  @keyframes lhBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.018); } }
  .lh-verified { position: absolute; bottom: -2px; inset-inline-end: -4px; width: 36px; height: 36px;
    border-radius: 50%; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid var(--bg-primary); font-size: 16px; font-weight: 900;
    box-shadow: 0 6px 16px rgba(211,47,47,.45);
    animation: lhBadgePop .55s .65s cubic-bezier(.34,1.56,.64,1) both; }
  @keyframes lhBadgePop { 0% { transform: scale(0) rotate(-90deg); opacity: 0; } 70% { transform: scale(1.25) rotate(0); opacity: 1; } 100% { transform: scale(1) rotate(0); } }

  .lh-handle { display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.92); color: #b71c1c;
    font-weight: 900; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12); animation: lhRise .55s .35s ease-out both; }
  body.theme-dark .lh-handle { background: rgba(22,31,45,.95); color: #ff8a80; }

  .lh-title { margin: 0; font-size: clamp(36px, 6vw, 64px); font-weight: 900;
    letter-spacing: -.045em; line-height: .98; color: var(--text-primary); }
  .lh-title .lh-word { display: inline-block; opacity: 0; transform: translateY(.6em);
    animation: lhWordIn .55s cubic-bezier(.22,1,.36,1) both; }
  @keyframes lhWordIn { from { opacity: 0; transform: translateY(.6em); } to { opacity: 1; transform: translateY(0); } }

  .lh-stamp { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
    background: var(--bg-card); color: var(--text-secondary); border: 1px solid var(--border);
    border-radius: 999px; padding: 5px 12px;
    font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    animation: lhRise .55s .9s ease-out both; }
  .lh-stamp-dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
  .lh-sub { margin: 18px auto 0; max-width: 520px; color: var(--text-muted);
    font-size: 15px; line-height: 1.7; animation: lhRise .55s 1.0s ease-out both; }

  .lh-featured { width: 100%; border: none;
    background: linear-gradient(135deg, var(--accent), #b71c1c); color: #fff; border-radius: 14px;
    padding: 18px 22px; cursor: pointer; font-family: inherit;
    font-weight: 900; font-size: 16px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    box-shadow: 0 18px 36px rgba(211,47,47,.32);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative; overflow: hidden; animation: lhRise .55s 1.1s ease-out both; }
  .lh-featured::before { content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.08) 75%);
    background-size: 22px 22px; opacity: .35; pointer-events: none; }
  .lh-featured > * { position: relative; }
  .lh-featured:hover { transform: translateY(-4px); box-shadow: 0 26px 48px rgba(211,47,47,.4); }

  .lh-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
  .lh-card { position: relative; overflow: hidden; isolation: isolate;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    padding: 14px 16px; cursor: pointer; font-family: inherit; text-align: inherit;
    color: var(--text-primary); display: flex; align-items: center; gap: 12px;
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .25s;
    animation: lhCardIn .55s cubic-bezier(.22,1,.36,1) both;
    text-decoration: none; will-change: transform; }
  .lh-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
    background: linear-gradient(135deg, rgba(211,47,47,.08), transparent 60%);
    transition: opacity .35s ease; }
  .lh-card:hover { transform: translateY(-5px) rotate(-.4deg); border-color: rgba(211,47,47,.45);
    box-shadow: 0 26px 48px rgba(211,47,47,.18); }
  .lh-card:hover::before { opacity: 1; }
  body.theme-dark .lh-card:hover { box-shadow: 0 26px 48px rgba(0,0,0,.5); }
  .lh-card:hover .lh-icon { transform: scale(1.12) rotate(-8deg); }
  .lh-card:hover .lh-arrow { transform: translateX(6px); }
  body.rtl .lh-card:hover .lh-arrow { transform: translateX(-6px); }
  @keyframes lhCardIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
  .lh-card.w-full { grid-column: span 12; }
  .lh-card.w-half { grid-column: span 6; }
  .lh-card.w-third { grid-column: span 4; }
  @media (max-width: 640px) { .lh-card.w-full, .lh-card.w-half, .lh-card.w-third { grid-column: span 12; } }
  .lh-card.s-compact { padding: 10px 14px; }
  .lh-card.s-normal { padding: 14px 16px; }
  .lh-card.s-featured { padding: 22px 22px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .lh-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
    background: var(--accent-subtle); color: var(--accent);
    transition: transform .25s ease; background-size: cover; background-position: center; }
  .lh-card.s-compact .lh-icon { width: 36px; height: 36px; font-size: 17px; border-radius: 9px; }
  .lh-card.s-featured .lh-icon { width: 60px; height: 60px; font-size: 28px; border-radius: 16px; }
  .lh-body { min-width: 0; flex: 1; }
  .lh-label { display: block; font-size: 15px; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; }
  .lh-card.s-compact .lh-label { font-size: 13px; }
  .lh-card.s-featured .lh-label { font-size: 19px; }
  .lh-desc { display: block; color: var(--text-muted); font-size: 12px; margin-top: 4px; line-height: 1.45; }
  .lh-card.s-compact .lh-desc { display: none; }
  .lh-card.s-featured .lh-desc { font-size: 13px; margin-top: 6px; }
  .lh-arrow { color: var(--accent); font-weight: 900; font-size: 16px; transition: transform .25s ease; flex-shrink: 0; }
  .lh-card.s-featured .lh-arrow { align-self: flex-end; }
  @keyframes lhRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) {
    .lh-hero, .lh-avatar-wrap, .lh-verified, .lh-title .lh-word,
    .lh-card, .lh-featured, .lh-profile, .lh-handle, .lh-stamp, .lh-sub { animation: none !important; }
  }
