/* IDLINK v767200pw — perfil web igual ao app (modo Perfil). Medidas do app (main.dart ~68731–73368, ~80343, ~94075).
   Tudo preso a html:has(#idlkPw767): sem o bloco (desligado, Loja/Site, Da Mata) nada aqui vale. */
html:has(#idlkPw767){--pw-b:14px;--pw-lima:#D8FF00;--pw-fx:#F7F8F2}
html:has(#idlkPw767) body{padding-bottom:calc(98px + env(safe-area-inset-bottom))!important}

/* ── cabeçalho: avatar 124 em anel de 130, nome 30/800, @ 15/800, bio 15.8/600 ── */
html:has(#idlkPw767) body #profile .avatar-wrap{margin:14px auto 0!important;width:130px!important;height:130px!important;display:flex!important;align-items:center;justify-content:center}
html:has(#idlkPw767) body #profile .avatar-wrap img.useravatar{width:124px!important;height:124px!important;margin:0!important;border-radius:50%!important;object-fit:cover;outline:1.2px solid rgba(255,255,255,.30);outline-offset:3px;box-shadow:none!important}
html:has(#idlkPw767.idlkpw-claro) body #profile .avatar-wrap img.useravatar{outline-color:rgba(0,0,0,.22)}
html:has(#idlkPw767) body #profile .name-wrap{margin:16px 34px 0!important;line-height:1.02!important}
html:has(#idlkPw767) body #profile .name-wrap .profile-name{font-size:30px!important;font-weight:800!important;letter-spacing:-.9px!important;line-height:1.02!important}
html:has(#idlkPw767) body #profile .alias-box:not(.idlk-dom-v734166){display:none!important}
html:has(#idlkPw767) body #profile p.idlink-profile-custom-text{font-size:15.8px!important;font-weight:600!important;line-height:1.34!important;letter-spacing:-.12px!important;opacity:.86;margin:14px auto 0!important;max-width:520px}
html:has(#idlkPw767) body #idlinkContadoresV732162,
html:has(#idlkPw767) body .idlink-bio-feed-stats,
html:has(#idlkPw767) body .idlink-profile-follow-wide{display:none!important}
html:has(#idlkPw767) body .idlink-profile-private-feed-card{display:none!important}
html.idlkpw-semsocial #profile #social{display:none!important}

#idlkPw767{width:100%;margin:0 auto;text-align:center;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#idlkPw767 .idlkpw-at{font-size:15px;font-weight:800;letter-spacing:-.1px;opacity:.72;margin:7px 0 0}
#idlkPw767 .idlkpw-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 18px;margin:22px auto 4px;max-width:430px}
#idlkPw767 .idlkpw-nums b{display:block;font-size:22px;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums}
#idlkPw767 .idlkpw-nums span{display:block;margin-top:5px;font-size:10px;font-weight:900;letter-spacing:1.6px;opacity:.72}

/* ── cartões: privado e código (Glass do app: #151B20→#0B0F12, borda .28, raio 24) ── */
#idlkPw767 .idlkpw-card{box-sizing:border-box;margin:22px auto 6px;max-width:430px;width:100%;padding:22px;border-radius:24px;text-align:center;color:#F7F8F2;background:linear-gradient(180deg,rgba(21,27,32,.90),rgba(11,15,18,.90));border:1px solid rgba(255,255,255,.28);box-shadow:0 12px 22px rgba(0,0,0,.30)}
#idlkPw767 .idlkpw-orb{display:inline-flex;color:var(--pw-lima);margin-bottom:8px}
#idlkPw767 .idlkpw-orb svg{width:36px;height:36px}
#idlkPw767 .idlkpw-card strong{display:block;font-size:21px;font-weight:900;line-height:1.15;letter-spacing:-.3px;color:#fff}
#idlkPw767 .idlkpw-card p{margin:8px 0 14px;font-size:13.5px;font-weight:800;line-height:1.4;color:#B8BBB2}
#idlkPw767 .idlkpw-lima{appearance:none;border:0;cursor:pointer;background:var(--pw-lima);color:#0A0B08;font:900 15px/1 Inter,-apple-system,sans-serif;padding:13px 26px;border-radius:999px;box-shadow:0 0 20px rgba(216,255,0,.25);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}
#idlkPw767 .idlkpw-lima:disabled{opacity:.55;cursor:default}
#idlkPw767 .idlkpw-pilula{display:inline-flex;align-items:center;gap:7px;padding:10px 16px;border-radius:999px;background:rgba(216,255,0,.10);border:1px solid rgba(216,255,0,.45);color:var(--pw-lima);font-size:13.5px;font-weight:900}
#idlkPw767 .idlkpw-pilula svg{width:18px;height:18px}
#idlkPw767 .idlkpw-form{display:flex;gap:8px;max-width:340px;margin:0 auto}
#idlkPw767 .idlkpw-form input{flex:1;min-width:0;box-sizing:border-box;height:48px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.07);color:#fff;text-align:center;font:900 17px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:2px;text-transform:uppercase;outline:none}
#idlkPw767 .idlkpw-form input:focus{border-color:var(--pw-lima);box-shadow:0 0 0 3px rgba(216,255,0,.18)}
#idlkPw767 .idlkpw-form input::placeholder{color:rgba(255,255,255,.35);letter-spacing:1.5px}
#idlkPw767 .idlkpw-form .idlkpw-lima{height:48px;padding:0 20px}
#idlkPw767 .idlkpw-msg{display:block;min-height:18px;margin-top:9px;font-size:12.5px;font-weight:800;color:#B8BBB2}
#idlkPw767 .idlkpw-msg.erro{color:#FF6275}
#idlkPw767 .idlkpw-msg.ok{color:var(--pw-lima)}
#idlkPw767.idlkpw-pisca .idlkpw-codigo{animation:pw767pisca .9s ease}
@keyframes pw767pisca{0%,100%{box-shadow:0 12px 22px rgba(0,0,0,.30)}40%{box-shadow:0 0 0 3px rgba(216,255,0,.55),0 12px 22px rgba(0,0,0,.30)}}

/* ── cápsula de contato fixa (app: altura 62, padding 6, Seguir flex + i 50 + Mensagem 50) ── */
.idlkpw-cap{position:fixed;z-index:2147482400;left:16px;right:16px;bottom:calc(var(--pw-b) + env(safe-area-inset-bottom));max-width:520px;margin:0 auto;box-sizing:border-box;height:62px;padding:6px;border-radius:999px;display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.055) 55%,rgba(0,0,0,.10)),rgba(0,0,0,.66);border:1px solid rgba(255,255,255,.20);box-shadow:0 14px 30px rgba(0,0,0,.25),0 6px 34px rgba(216,255,0,.04);-webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;transition:bottom .2s ease,transform .25s ease,opacity .25s ease}
.idlkpw-cap.is-oculta{transform:translateY(140%);opacity:0;pointer-events:none}
.idlkpw-cap button{appearance:none;cursor:pointer;margin:0;font:inherit;-webkit-tap-highlight-color:transparent}
.idlkpw-cap svg{width:22px;height:22px;display:block}
.idlkpw-seg{flex:1;min-width:0;height:50px;border-radius:999px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px!important;font-weight:900!important;letter-spacing:-.2px;background:rgba(247,248,242,.90);color:#0A0B08;border:1px solid rgba(255,255,255,.52);transition:transform .12s ease,background .2s ease}
.idlkpw-seg .idlkpw-ic svg{width:18px;height:18px}
.idlkpw-seg:active,.idlkpw-red:active{transform:scale(.96)}
.idlkpw-seg.is-seguindo,.idlkpw-seg.is-pendente{background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.055)),rgba(255,255,255,.10);color:#F7F8F2;border-color:rgba(255,255,255,.23)}
.idlkpw-seg.is-carregando .idlkpw-ic svg{animation:pw767gira .8s linear infinite}
@keyframes pw767gira{to{transform:rotate(360deg)}}
.idlkpw-red{flex:0 0 50px;width:50px;height:50px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#F7F8F2;background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.045)),rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.20)}
.idlkpw-red.idlkpw-info{background:linear-gradient(135deg,rgba(216,255,0,.18),rgba(255,255,255,.045)),rgba(216,255,0,.10);border-color:rgba(216,255,0,.28)}
.idlkpw-cap.is-seguindo{box-shadow:0 14px 30px rgba(0,0,0,.25),0 6px 34px rgba(216,255,0,.08)}
/* perfil de fundo claro (Personalizar com texto escuro): vidro preto vira branco */
.idlkpw-cap.idlkpw-claro{background:rgba(255,255,255,.80);border-color:rgba(0,0,0,.10);box-shadow:0 14px 30px rgba(0,0,0,.14)}
.idlkpw-cap.idlkpw-claro .idlkpw-seg{background:#0B0C0A;color:#fff;border-color:#0B0C0A}
.idlkpw-cap.idlkpw-claro .idlkpw-seg.is-seguindo,.idlkpw-cap.idlkpw-claro .idlkpw-seg.is-pendente{background:rgba(0,0,0,.06);color:#0B0C0A;border-color:rgba(0,0,0,.16)}
.idlkpw-cap.idlkpw-claro .idlkpw-red{color:#0B0C0A;background:rgba(0,0,0,.05);border-color:rgba(0,0,0,.12)}
.idlkpw-cap.idlkpw-claro .idlkpw-red.idlkpw-info{background:rgba(216,255,0,.55);border-color:rgba(0,0,0,.10)}

/* ── grade de posts: 3 colunas, sem vão, 4:5, cantos retos (app 80343) ── */
html:has(#idlkPw767) body #profile .idlink-profile-feed-grid{gap:0!important;border-radius:0!important;padding:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
html:has(#idlkPw767) body #profile .idlink-profile-feed-grid .idlink-profile-feed-tile{aspect-ratio:4/5!important;border-radius:0!important;margin:0!important;border:.35px solid rgba(0,0,0,.28)!important;background:rgba(255,255,255,.045)!important;overflow:hidden!important;position:relative}
html:has(#idlkPw767) body #profile .idlink-profile-feed-grid .idlink-profile-feed-tile>img,
html:has(#idlkPw767) body #profile .idlink-profile-feed-grid .idlink-profile-feed-tile>video{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important}
@media(min-width:900px){html:has(#idlkPw767) body #profile .idlink-profile-feed-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* visitante deslogado: 2 linhas e o véu (como o Instagram) */
html:has(#idlkPw767) body #profile .idlink-profile-feed-grid.idlkpw-corta>.idlink-profile-feed-tile:nth-of-type(n+7){display:none!important}
.idlkpw-veu{position:relative;margin:-64px 0 0;padding:70px 18px 6px;text-align:center;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.55) 46px,transparent 140%);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.idlkpw-veu-cart{box-sizing:border-box;max-width:430px;margin:0 auto;padding:20px 18px 18px;border-radius:24px;color:#F7F8F2;background:linear-gradient(180deg,rgba(21,27,32,.94),rgba(11,15,18,.94));border:1px solid rgba(255,255,255,.24);box-shadow:0 18px 40px rgba(0,0,0,.35)}
.idlkpw-veu-cart img{width:56px;height:56px;border-radius:50%;object-fit:cover;outline:1.2px solid rgba(216,255,0,.7);outline-offset:3px;margin:2px 0 12px}
.idlkpw-veu-cart strong{display:block;font-size:19px;font-weight:900;letter-spacing:-.3px;color:#fff;line-height:1.2}
.idlkpw-veu-cart p{margin:6px 0 16px;font-size:13.5px;font-weight:700;line-height:1.4;color:#B8BBB2}
.idlkpw-veu-bts{display:flex;gap:10px}
.idlkpw-veu-bts button{flex:1;height:48px;border-radius:999px;cursor:pointer;font:900 15px/1 Inter,-apple-system,sans-serif}
.idlkpw-veu-bts .pw-entrar{background:#D8FF00;color:#0A0B08;border:0;box-shadow:0 0 20px rgba(216,255,0,.22)}
.idlkpw-veu-bts .pw-criar{background:rgba(255,255,255,.08);color:#F7F8F2;border:1px solid rgba(255,255,255,.26)}

/* ── folha (redes do "i") ── */
.idlkpw-folha{position:fixed;inset:0;z-index:2147483200;display:flex;align-items:flex-end;justify-content:center;background:rgba(4,6,10,.62);padding:10px;animation:pw767in .18s ease-out;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
@media(min-width:640px){.idlkpw-folha{align-items:center}}
@keyframes pw767in{from{opacity:0}to{opacity:1}}
.idlkpw-folha-c{position:relative;box-sizing:border-box;width:min(420px,100%);max-height:86vh;overflow:auto;border-radius:24px;padding:18px 16px 16px;background:#0E1014;color:#F4F6F8;border:1px solid rgba(255,255,255,.16);box-shadow:0 30px 90px rgba(0,0,0,.6)}
.idlkpw-folha-c h3{margin:2px 40px 12px 4px!important;font-size:18px!important;font-weight:900!important;color:#fff!important;text-align:left!important}
.idlkpw-folha-x{position:absolute;top:12px;right:12px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.idlkpw-folha-x svg{width:18px;height:18px}
.idlkpw-redes a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;color:#F4F6F8!important;text-decoration:none!important;font-weight:800;font-size:15px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);margin-bottom:8px}
.idlkpw-redes a svg,.idlkpw-redes a i,.idlkpw-redes a img{width:22px!important;height:22px!important;font-size:20px!important;color:#F4F6F8!important;fill:currentColor}
.idlkpw-toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--pw-b) + 76px + env(safe-area-inset-bottom));z-index:2147482450;padding:10px 16px;border-radius:999px;background:rgba(10,11,8,.92);color:#fff;font:800 13px/1.2 Inter,-apple-system,sans-serif;border:1px solid rgba(255,255,255,.16);box-shadow:0 10px 30px rgba(0,0,0,.35);max-width:calc(100vw - 40px);text-align:center}

/* fundo claro do Personalizar: cartões continuam escuros (igual ao app: Glass), só o texto do cabeçalho segue o perfil */
@media(min-width:900px){
  .idlkpw-cap{bottom:calc(var(--pw-b) + 10px)}
}
html:has(#idlkPw767) body #idlkCtResV735977{display:none!important}
