/* Tably: /links */
body { min-height: 100vh; min-height: 100dvh; }
.bg-cells { position: fixed; inset: 0; opacity: .6; display: grid; grid-template-columns: repeat(var(--cols, 8), 1fr); gap: 10px; padding: 10px; z-index: -1; pointer-events: none; mask-image: linear-gradient(180deg, #000 0%, transparent 38%, transparent 70%, #000 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 38%, transparent 70%, #000 100%); }
.bg-cells i { border-radius: 12px; background: var(--card); border: 1px solid var(--line); aspect-ratio: 1; }

.lk { max-width: 520px; margin: 0 auto; padding: 48px 16px calc(40px + env(safe-area-inset-bottom)); position: relative; display: flex; flex-direction: column; gap: 14px; }
.share { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); transition: scale .2s, color .2s; }
.share:hover { scale: 1.06; color: var(--g); }

.profile { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 10px; }
.avatar { width: 108px; height: 108px; border-radius: 50%; background: var(--g); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--bg), 0 0 0 7px var(--mint), 0 18px 34px -14px rgba(5,150,105,.7); margin-bottom: 18px; }
.avatar .lottie { width: 82px; height: 82px; }
.name { font-family: var(--font-title); font-weight: 800; font-size: 25px; letter-spacing: -.02em; line-height: 1.15; }
.name span { color: var(--muted); font-weight: 600; }
.handle { color: var(--g); font-weight: 700; font-size: 14.5px; margin-top: 2px; }
.bio { color: var(--muted); font-size: 15px; margin-top: 10px; line-height: 1.5; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); transition: translate .2s, color .2s, border-color .2s; }
.socials a:hover { translate: 0 -3px; color: var(--g); border-color: var(--g); }

/* Destaque */
.featured { display: grid; grid-template-columns: 132px 1fr; background: var(--card); border: 1.5px solid var(--l); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(5,150,105,.55); position: relative; transition: translate .25s, box-shadow .25s; }
.featured:hover { translate: 0 -3px; box-shadow: 0 24px 48px -20px rgba(5,150,105,.7); }
.featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.featured.shine::after { animation: shine 1.4s ease; }
@keyframes shine { to { transform: translateX(120%); } }
.f-cover { background: linear-gradient(150deg, #059669, #047857); padding: 14px 12px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.f-cover .sheet { font-size: 7.5px; border: 0; transform: rotate(-3deg); box-shadow: 0 10px 18px -8px rgba(0,0,0,.4); }
.f-cover .sheet .r > span { padding: 4px 4px; }
.f-body { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.f-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--gd); letter-spacing: .02em; }
.f-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(5,150,105,.5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(5,150,105,0); } }
.f-name { font-family: var(--font-title); font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.f-short { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.f-price s { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.f-price b { font-family: var(--font-title); font-size: 21px; color: var(--g); letter-spacing: -.02em; }
.f-btn { --bh: 38px; padding: 0 14px; font-size: 13.5px; gap: 6px; }
@media (max-width: 380px) { .featured { grid-template-columns: 104px 1fr; } .f-cover .sheet .r > span:nth-child(2) { display: none; } .f-cover .sheet .r { grid-template-columns: 1fr 1fr; } }

/* Botões de link */
.links { display: flex; flex-direction: column; gap: 10px; }
.link-btn { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 12px; min-height: 66px; position: relative; overflow: hidden; isolation: isolate; transition: border-color .25s, translate .25s; }
.link-btn::before { content: ""; position: absolute; inset: 0; background: var(--mint); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: -1; opacity: .55; }
.link-btn:hover { border-color: var(--l); translate: 0 -2px; }
.link-btn:hover::before { transform: scaleX(1); }
.link-btn .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--mint); color: var(--g); display: grid; place-items: center; flex-shrink: 0; }
.link-btn .ic.ig { background: linear-gradient(135deg, #FDE68A, #F472B6 50%, #7C3AED); color: #fff; }
.link-btn .ic.tt { background: #0F172A; color: #fff; }
:root[data-theme="dark"] .link-btn .ic.tt { background: #F1F5F9; color: #0F172A; }
.link-btn .tx { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.link-btn .tx b { font-size: 15.5px; }
.link-btn .tx small { color: var(--muted); font-size: 13px; font-weight: 500; }
.link-btn .go { color: var(--muted); transition: transform .25s, color .25s; }
.link-btn:hover .go { transform: translateX(4px); color: var(--g); }

/* Loja */
.shop { margin-top: 18px; }
.shop-title { font-family: var(--font-title); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 0 4px 10px; text-transform: uppercase; letter-spacing: .1em; }
.shop-title span { color: var(--g); }
.shop-list { display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 10px 10px; }
.item .thumb { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.thumb.green { background: var(--g); } .thumb.mint { background: var(--mint); color: var(--g); } .thumb.ink { background: var(--graf); color: var(--m); } .thumb.deep { background: #064E3B; color: var(--l); }
.item .info { flex: 1; min-width: 0; }
.item .info b { display: block; font-size: 14.5px; line-height: 1.25; }
.item .info small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.item .info small em { font-style: normal; color: var(--g); font-weight: 800; }
.item .btn { --bh: 38px; padding: 0 14px; font-size: 13px; flex-shrink: 0; }
.item.soon { opacity: .8; }
.item.soon .btn { color: var(--muted); }

.lk-foot { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 26px; color: var(--muted); font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--graf); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; white-space: nowrap; }
.intro *, .intro *::before { transition: none !important; }

/* Ícones animados das planilhas */
.f-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.f-icon .picon { width: 38px; height: 38px; }
.item .thumb .picon { width: 42px; height: 42px; }
