*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lp-body { isolation: isolate; margin: 0; min-height: 100vh; background: #222; color: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
.lp-backdrop { position: fixed; z-index: -1; inset: -45px; width: calc(100% + 90px); height: calc(100% + 90px); object-fit: cover; filter: blur(38px) brightness(1.2); pointer-events: none; }
.lp-page { position: relative; display: flex; flex-direction: column; width: min(100%, 568px); min-height: min(100vh, 1360px); margin: 34px auto; overflow: hidden; border-radius: 30px; background: #050505; box-shadow: 0 3px 14px #0007; }
.lp-header { position: relative; height: 475px; flex: 0 0 auto; background: linear-gradient(135deg, #3a404e, #111); }
.lp-header--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, #0000 35%, #0004 56%, #000 99%); pointer-events: none; }
.lp-cover { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.lp-header-content { position: absolute; z-index: 1; right: 16px; bottom: 12px; left: 16px; text-align: center; }
.lp-name { margin: 0; color: #fff; font-size: clamp(1.65rem, 5vw, 2rem); line-height: 1.16; font-weight: 750; overflow-wrap: anywhere; }
.lp-handle { margin: 3px 0 0; color: #c9c9c9; font-size: .9rem; }
.lp-content { padding: 0 14px 28px; text-align: center; }
.lp-socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin: 0 0 16px; }
.lp-social { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid #ddd; border-radius: 50%; background: #fff; color: #191919; font-size: 1.1rem; font-weight: 700; text-decoration: none; transition: transform .18s ease; }
.lp-social:hover, .lp-social:focus-visible { transform: translateY(-3px); }
.lp-social img { width: 26px; height: 26px; object-fit: contain; }
.lp-followers { margin: 0 0 18px; font-size: 1rem; font-weight: 600; }
.lp-bio { margin: 0 0 18px; color: #f3f3f3; font-size: .94rem; line-height: 1.5; }
.lp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.lp-card { position: relative; display: block; aspect-ratio: 1.72; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, #3b3b3b, #171717); color: #fff; text-decoration: none; isolation: isolate; }
.lp-card::after { content: ""; position: absolute; z-index: -1; inset: 35% 0 0; background: linear-gradient(transparent, #0009); }
.lp-card-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lp-card:hover .lp-card-image, .lp-card:focus-visible .lp-card-image { transform: scale(1.055); }
.lp-card-icon { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: #fff; }
.lp-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.lp-card-title { position: absolute; right: 8px; bottom: 10px; left: 8px; font-size: 1rem; font-weight: 700; text-shadow: 0 1px 5px #000b; overflow-wrap: anywhere; }
.lp-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; margin-top: auto; padding: 55px 14px 28px; font-size: .75rem; }
.lp-footer a { color: #a2a2a2; text-decoration: underline; text-underline-offset: 2px; }
.lp-footer a + a::before { content: "|"; padding: 0 4px; color: #777; text-decoration: none; }
.lp-page a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
  .lp-page { min-height: 100vh; margin: 0 auto; border-radius: 0; box-shadow: none; }
  .lp-header { height: min(120vw, 475px); min-height: 370px; }
  .lp-grid { gap: 8px; }
  .lp-content { padding-right: 12px; padding-left: 12px; }
  .lp-card-title { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .lp-social, .lp-card-image { transition: none; } }
