* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #111; background: #d0d2d5; font-synthesis: none; -webkit-font-smoothing: antialiased; }
body { margin: 0; min-height: 100svh; padding: 40px 24px; }
.profile { width: 100%; max-width: 580px; min-height: 720px; margin: 0 auto; padding: 32px 28px 56px; border-radius: 24px; background: #eceef1; box-shadow: 0 16px 48px #24262b14; }
.location { display: flex; align-items: center; justify-content: center; gap: 7px; width: fit-content; max-width: 100%; margin: 0 auto 12px; padding: 9px 14px; border: 1px solid #dadddf; border-radius: 999px; background: #ffffff80; color: #4b5056; font-size: 13px; font-weight: 500; line-height: 1.4; text-align: center; }
.location svg { flex-shrink: 0; width: 15px; height: 15px; }
.location span { overflow-wrap: anywhere; }
.profile-header { text-align: center; padding-top: 36px; }
.avatar { display: block; width: 96px; height: 96px; margin: 0 auto; object-fit: cover; border-radius: 50%; background: #d8d4ce; }
h1 { margin: 17px 0 7px; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.65px; overflow-wrap: anywhere; }
.bio { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; text-wrap: pretty; }
.socials { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 16px; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: transform 160ms ease, background 160ms ease; }
.social svg { width: 27px; height: 27px; }
.links { display: grid; gap: 14px; margin-top: 32px; }
.link-card { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 10px; min-height: 64px; padding: 8px; border-radius: 8px; background: #fff; transition: transform 160ms ease, box-shadow 160ms ease; }
.link-image { display: block; width: 48px; height: 48px; border-radius: 4px; object-fit: cover; background: #eceef1; }
.link-label { padding: 8px 0; text-align: center; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.link-arrow { width: 17px; height: 17px; justify-self: center; color: #7f858c; }
a:focus-visible { outline: 3px solid #346c9e; outline-offset: 5px; }
.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; }
@media (hover: hover) { .link-card:hover { transform: translateY(-2px); box-shadow: 0 5px 16px #23262a10; } .social:hover { transform: scale(1.08); background: #fff9; } }
@media (max-width: 620px) { :root { background: #eceef1; } body { padding: 0; } .profile { max-width: none; min-height: 100svh; padding: max(26px, env(safe-area-inset-top)) 24px max(48px, env(safe-area-inset-bottom)); border-radius: 0; box-shadow: none; } .profile-header { padding-top: 30px; } .bio { max-width: 420px; margin-inline: auto; } }
@media (max-width: 360px) { .profile { padding-inline: 16px; } .link-card { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
