/* LinkFly Pro v8 - Linktree-style public profile UI */
:root{
  --bg:#f5f7fb;
  --body-bg:radial-gradient(circle at 18% -8%,rgba(109,40,217,.18),transparent 32%),radial-gradient(circle at 88% 0,rgba(8,145,178,.14),transparent 30%),linear-gradient(180deg,#ffffff 0,#f5f7fb 340px);
  --card:#ffffff;
  --surface:#f8fafc;
  --surface-2:#eef2ff;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --brand:#6d28d9;
  --brand2:#0891b2;
  --dark:#0b1220;
  --green:#16a34a;
  --shadow:0 26px 80px rgba(15,23,42,.14);
  --soft:0 14px 42px rgba(15,23,42,.08);
  --nav-bg:rgba(255,255,255,.82);
  --cover-overlay-a:rgba(15,23,42,.12);
  --cover-overlay-b:rgba(109,40,217,.35);
  --badge-bg:#f5f3ff;
  --badge-ink:#5b21b6;
  --target-ring:rgba(109,40,217,.26);
}
body.public-theme-minimal{--bg:#fafafa;--body-bg:linear-gradient(180deg,#fff 0,#fafafa 360px);--card:#fff;--surface:#f9fafb;--surface-2:#f3f4f6;--ink:#111827;--muted:#6b7280;--line:#e5e7eb;--brand:#111827;--brand2:#6b7280;--dark:#111827;--nav-bg:rgba(255,255,255,.88);--cover-overlay-a:rgba(17,24,39,.08);--cover-overlay-b:rgba(17,24,39,.22);--badge-bg:#f3f4f6;--badge-ink:#111827;--target-ring:rgba(17,24,39,.2)}
body.public-theme-midnight{--bg:#060b16;--body-bg:radial-gradient(circle at 16% -8%,rgba(56,189,248,.2),transparent 34%),radial-gradient(circle at 90% 0,rgba(129,140,248,.16),transparent 32%),linear-gradient(180deg,#060b16 0,#0b1220 100%);--card:#101827;--surface:#0b1220;--surface-2:#172033;--ink:#f8fafc;--muted:#cbd5e1;--line:rgba(148,163,184,.24);--brand:#38bdf8;--brand2:#818cf8;--dark:#020617;--green:#22c55e;--nav-bg:rgba(8,13,24,.78);--cover-overlay-a:rgba(2,6,23,.36);--cover-overlay-b:rgba(56,189,248,.28);--badge-bg:rgba(56,189,248,.14);--badge-ink:#bae6fd;--target-ring:rgba(56,189,248,.28);--shadow:0 26px 90px rgba(0,0,0,.42);--soft:0 14px 44px rgba(0,0,0,.24)}
body.public-theme-executive{--bg:#f4f7fb;--body-bg:radial-gradient(circle at 14% -8%,rgba(14,74,130,.16),transparent 32%),linear-gradient(180deg,#fff 0,#f4f7fb 360px);--card:#fff;--surface:#f7fafc;--surface-2:#eaf2fb;--ink:#0b1f33;--muted:#53657a;--line:#d9e3ef;--brand:#0e4a82;--brand2:#2563eb;--dark:#082f49;--nav-bg:rgba(255,255,255,.86);--cover-overlay-a:rgba(8,47,73,.12);--cover-overlay-b:rgba(14,74,130,.34);--badge-bg:#eaf2fb;--badge-ink:#0e4a82;--target-ring:rgba(14,74,130,.24)}
body.public-theme-creator{--bg:#fff7ed;--body-bg:radial-gradient(circle at 14% -8%,rgba(234,88,12,.18),transparent 32%),radial-gradient(circle at 90% 0,rgba(245,158,11,.14),transparent 30%),linear-gradient(180deg,#fff 0,#fff7ed 360px);--card:#fff;--surface:#fffbeb;--surface-2:#ffedd5;--ink:#24150f;--muted:#7c5e4b;--line:#fed7aa;--brand:#ea580c;--brand2:#f59e0b;--dark:#431407;--nav-bg:rgba(255,255,255,.86);--cover-overlay-a:rgba(67,20,7,.10);--cover-overlay-b:rgba(234,88,12,.32);--badge-bg:#ffedd5;--badge-ink:#9a3412;--target-ring:rgba(234,88,12,.24)}
body.public-theme-emerald{--bg:#f0fdf4;--body-bg:radial-gradient(circle at 14% -8%,rgba(5,150,105,.18),transparent 32%),radial-gradient(circle at 90% 0,rgba(13,148,136,.14),transparent 30%),linear-gradient(180deg,#fff 0,#f0fdf4 360px);--card:#fff;--surface:#f7fee7;--surface-2:#dcfce7;--ink:#06251a;--muted:#4f695e;--line:#bbf7d0;--brand:#059669;--brand2:#0d9488;--dark:#052e16;--nav-bg:rgba(255,255,255,.86);--cover-overlay-a:rgba(5,46,22,.10);--cover-overlay-b:rgba(5,150,105,.32);--badge-bg:#dcfce7;--badge-ink:#166534;--target-ring:rgba(5,150,105,.24)}
html,body{max-width:100%;overflow-x:hidden}
body.public-pro-body{margin:0!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif!important;background:var(--body-bg)!important;color:var(--ink)!important;line-height:1.5!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;min-height:100vh}
body.public-pro-body *{box-sizing:border-box}
body.public-pro-body a{text-decoration:none;color:inherit}
body.public-pro-body img{max-width:100%;display:block}
.public-container{width:min(100% - 28px,760px);margin:auto}
.public-top{position:sticky;top:0;z-index:50;background:var(--nav-bg);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.public-top-inner{height:62px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.public-brand{display:flex;align-items:center;gap:10px;font-weight:950;font-size:17px;letter-spacing:-.03em}
.small-logo{width:32px;height:32px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 10px 28px rgba(15,23,42,.18)}
.public-top nav{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:850;color:var(--muted)}
.public-top nav a:hover{color:var(--ink)}
.public-top-btn{padding:9px 14px;border-radius:999px;background:var(--dark);color:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.18)}
.profile-pro{padding:26px 0 54px}.linktree-shell{position:relative}.linktree-shell:before,.linktree-shell:after{content:"";position:fixed;z-index:-1;width:280px;height:280px;border-radius:999px;filter:blur(18px);opacity:.18;pointer-events:none}.linktree-shell:before{left:-100px;top:120px;background:var(--brand)}.linktree-shell:after{right:-120px;bottom:40px;background:var(--brand2)}
.owner-preview-alert{border:1px solid #fecaca;background:#fff1f2;color:#991b1b;border-radius:20px;padding:14px 16px;margin:0 0 18px;font-weight:750;box-shadow:var(--soft)}.owner-preview-alert.soft{border-color:#fde68a;background:#fffbeb;color:#92400e}
.linktree-card{position:relative;overflow:hidden;background:color-mix(in srgb,var(--card) 96%,transparent);border:1px solid var(--line);border-radius:34px;box-shadow:var(--shadow);padding-bottom:22px}.linktree-cover{height:142px;background:linear-gradient(135deg,var(--cover-overlay-a),var(--cover-overlay-b)),linear-gradient(135deg,var(--dark),var(--brand) 58%,var(--brand2));background-size:cover;background-position:center;position:relative}.linktree-cover:after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle at 22% 28%,rgba(255,255,255,.22) 0 2px,transparent 3px),linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.12) 1px,transparent 1px);background-size:140px 140px,36px 36px,36px 36px;opacity:.28}.linktree-profile{text-align:center;padding:0 24px 18px;margin-top:-62px;position:relative;z-index:1}.linktree-avatar{width:118px;height:118px;margin:0 auto 12px;border-radius:50%;object-fit:cover;border:7px solid var(--card);background:var(--surface);box-shadow:0 18px 50px rgba(15,23,42,.22)}.avatar-fallback{display:grid;place-items:center;font-size:38px;font-weight:950;color:#fff;background:linear-gradient(135deg,var(--brand),var(--brand2))}.official-chip{display:inline-flex;align-items:center;gap:7px;margin:0 0 9px;padding:6px 10px;border-radius:999px;background:rgba(34,197,94,.12);color:var(--green);border:1px solid rgba(34,197,94,.28);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}.official-chip:before{content:"";width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.14)}.linktree-profile h1{font-size:clamp(28px,7vw,46px);line-height:.98;margin:0;letter-spacing:-.055em}.verified-mark{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;font-size:15px;background:var(--brand);color:#fff;vertical-align:middle}.linktree-handle{margin:8px 0 0;color:var(--brand);font-size:15px;font-weight:950}.profile-subtitle{margin:7px 0 0;color:var(--muted);font-weight:850;font-size:15px}.linktree-bio{max-width:560px;margin:14px auto 0;color:var(--ink);opacity:.82;font-size:15.5px}.profile-meta-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}.profile-meta-row span{padding:7px 10px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-weight:850;font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.social-pill-grid{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:16px}.social-pill{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:16px;background:var(--surface);font-weight:950;transition:.18s transform,.18s border-color,.18s background}.social-pill:hover{transform:translateY(-2px);border-color:var(--brand);background:var(--card);color:var(--brand)}.social-pill span{font-size:11px}.contact-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:16px}.cta-whatsapp,.cta-email{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border-radius:16px;padding:12px 17px;font-weight:950;transition:.18s transform}.cta-whatsapp{background:#22c55e;color:#052e16}.cta-email{background:var(--dark);color:#fff}.cta-whatsapp:hover,.cta-email:hover,.public-top-btn:hover{transform:translateY(-1px)}
.linktree-stack{display:grid;gap:13px;padding:5px 18px 0}.tree-link{border:1px solid var(--line);background:var(--card);border-radius:24px;box-shadow:0 12px 34px rgba(15,23,42,.065);overflow:hidden;transition:.18s transform,.18s box-shadow,.18s border-color}.tree-link:hover{transform:translateY(-2px);box-shadow:0 18px 48px rgba(15,23,42,.12);border-color:var(--brand)}.tree-link>a{min-height:80px;display:flex;align-items:center;gap:14px;padding:12px 14px}.tree-thumb{width:56px;height:56px;border-radius:18px;background:var(--surface-2);overflow:hidden;display:grid;place-items:center;flex:0 0 auto}.tree-thumb img{width:100%;height:100%;object-fit:cover}.tree-product .tree-thumb{width:70px;height:70px;border-radius:20px}.tree-copy{display:block;flex:1;min-width:0;text-align:left}.tree-copy b{display:block;font-size:17px;line-height:1.18;letter-spacing:-.02em}.tree-copy small{display:block;margin-top:4px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tree-tags{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}.tree-tags em{font-style:normal;display:inline-flex;border-radius:999px;padding:4px 8px;background:var(--badge-bg);color:var(--badge-ink);font-size:11px;font-weight:950}.tree-tags .price-tag{background:rgba(34,197,94,.12);color:var(--green)}.tree-tags .coupon-tag{border:1px dashed var(--brand);background:transparent;color:var(--brand)}.link-arrow{width:38px;height:38px;border-radius:15px;background:var(--surface);display:grid;place-items:center;font-weight:950;color:var(--brand);flex:0 0 auto}.link-disclosure{margin:0!important;padding:0 16px 13px;color:var(--muted)!important;font-size:12px!important;line-height:1.45;text-align:left}.empty-tree{text-align:center;border:1px dashed var(--line);border-radius:24px;padding:22px;background:var(--surface);color:var(--muted)}.empty-tree b{display:block;color:var(--ink);font-size:18px}.empty-tree p{margin:6px 0 0}.tree-disclosure{margin:18px 18px 0;padding:13px 14px;border-radius:18px;background:var(--surface);border:1px solid var(--line);color:var(--muted);font-size:12.5px}.tree-disclosure b{color:var(--ink)}
.tree-seo-panel{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.tree-seo-panel article{background:color-mix(in srgb,var(--card) 96%,transparent);border:1px solid var(--line);border-radius:26px;padding:20px;box-shadow:var(--soft)}.tree-seo-panel h2{margin:0 0 10px;font-size:21px;letter-spacing:-.03em}.tree-seo-panel p{margin:0;color:var(--muted)}.tree-seo-panel details{border:1px solid var(--line);border-radius:16px;padding:13px 14px;background:var(--surface);margin-top:9px}.tree-seo-panel summary{cursor:pointer;font-weight:950}.tree-seo-panel details p{margin:9px 0 0;font-size:14px}.profile-footer-pro{text-align:center;color:var(--muted);padding:24px 0 0;font-size:14px}.profile-footer-pro p{margin:6px 0}.profile-footer-pro a{font-weight:900;color:var(--ink)}.tree-link:target,.linktree-card:target{outline:3px solid var(--target-ring);outline-offset:4px}
@media(max-width:720px){.public-container{width:min(100% - 22px,760px)}.public-top nav a:first-child{display:none}.tree-seo-panel{grid-template-columns:1fr}.linktree-card{border-radius:30px}.profile-pro{padding-top:18px}.linktree-cover{height:132px}.linktree-profile{padding-left:18px;padding-right:18px}.linktree-stack{padding-left:14px;padding-right:14px}.tree-disclosure{margin-left:14px;margin-right:14px}}
@media(max-width:460px){.public-top-inner{height:58px}.public-brand span:last-child{font-size:15px}.public-top-btn{padding:8px 11px}.linktree-avatar{width:106px;height:106px}.tree-link>a{gap:11px;padding:11px}.tree-thumb{width:52px;height:52px;border-radius:16px}.tree-product .tree-thumb{width:60px;height:60px}.tree-copy b{font-size:16px}.tree-copy small{font-size:13px}.link-arrow{width:34px;height:34px;border-radius:13px}.profile-meta-row span:last-child{max-width:260px}}

/* V13 clean public header: removed meta/social/contact chips */
.linktree-bio{margin-bottom:6px}


/* V14 upload percentage + professional public footer */
.upload-percent{margin-top:10px;height:26px;border-radius:999px;background:#eef2f7;position:relative;overflow:hidden;border:1px solid #dbe3ef}
.upload-percent span{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#7c3aed,#0891b2);border-radius:999px;transition:width .25s ease}
.upload-percent b{position:relative;z-index:2;display:block;text-align:center;font-size:12px;line-height:24px;color:#0f172a}
.professional-public-footer{margin:28px auto 0;padding:24px;border:1px solid rgba(148,163,184,.28);border-radius:28px;background:rgba(255,255,255,.72);backdrop-filter:blur(18px);box-shadow:0 20px 60px rgba(15,23,42,.08);text-align:center}
.professional-public-footer div{display:flex;justify-content:center;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.professional-public-footer div b{font-size:18px;color:#0f172a}
.professional-public-footer div span{font-size:13px;color:#64748b}
.professional-public-footer nav{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin:10px 0}
.professional-public-footer nav a{font-weight:800;text-decoration:none;color:#334155;padding:8px 12px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0}
.professional-public-footer small{display:block;color:#64748b;margin-top:10px}
@media(max-width:640px){.professional-public-footer{border-radius:22px;padding:20px}.professional-public-footer nav{gap:8px}.professional-public-footer nav a{font-size:13px}}

/* V15 safe migration note */
.migration-note{margin-top:12px;padding:12px 14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12}.migration-note b{display:block}.migration-note small{display:block;margin-top:4px;color:#9a3412}


/* V16 SEO rating + schema cleanup UI */
.seo-rating-card .card-head h3{font-size:clamp(28px,4vw,44px);letter-spacing:-.04em;margin:4px 0 6px}
.seo-rating-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.seo-rating-breakdown div{padding:14px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}
.seo-rating-breakdown b{display:block;font-size:22px;color:#0f172a}
.seo-rating-breakdown span{display:block;font-size:12px;color:#64748b;margin-top:3px}
.seo-rating-mini span{font-weight:950}
@media(max-width:760px){.seo-rating-breakdown{grid-template-columns:1fr 1fr}}


/* V17 language selector + SEO-ready badges */
.language-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-top:8px}
.language-choice{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;cursor:pointer}
.language-choice input{grid-row:1/3;width:18px;height:18px}
.language-choice span{font-size:12px;font-weight:900;color:#6d28d9;letter-spacing:.08em}
.language-choice b{font-size:15px;color:#0f172a}
.language-choice small{grid-column:2;color:#64748b}
.language-choice.selected{border-color:#7c3aed;box-shadow:0 12px 30px rgba(124,58,237,.09);background:#fbfaff}
.seo-rating-mini span{min-width:56px;text-align:center}
@media(max-width:640px){.language-choice-grid{grid-template-columns:1fr}}


/* V21 Premium 10/10 Public Profile Polish */
.public-pro-body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 18% 12%,rgba(37,99,235,.10),transparent 28%),
    radial-gradient(circle at 86% 38%,rgba(124,58,237,.11),transparent 30%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%)!important;
  color:#101828;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.public-container{
  width:min(760px,92vw)!important;
}
.profile-pro{
  padding-top:28px!important;
  padding-bottom:34px!important;
}
.linktree-shell{
  display:block!important;
}
.linktree-card{
  border:1px solid rgba(203,213,225,.82)!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:rgba(255,255,255,.88)!important;
  backdrop-filter:blur(22px)!important;
  box-shadow:0 28px 90px rgba(15,23,42,.12)!important;
}
.linktree-cover{
  height:142px!important;
  background-size:cover!important;
  background-position:center!important;
}
.linktree-profile{
  padding:0 28px 22px!important;
  margin-top:-56px!important;
  text-align:center!important;
}
.linktree-avatar{
  width:112px!important;
  height:112px!important;
  border-radius:999px!important;
  border:6px solid rgba(255,255,255,.96)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.18)!important;
  object-fit:cover!important;
}
.avatar-fallback{
  display:grid!important;
  place-items:center!important;
  font-weight:850!important;
  font-size:32px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#111827,#4f46e5)!important;
}
.linktree-profile h1{
  margin:16px 0 4px!important;
  color:#101828!important;
  font-size:clamp(32px,5vw,44px)!important;
  line-height:1.04!important;
  letter-spacing:-.055em!important;
  font-weight:820!important;
}
.linktree-handle{
  margin:0!important;
  color:#155e9f!important;
  font-size:15px!important;
  font-weight:800!important;
}
.profile-subtitle{
  margin:10px 0 0!important;
  color:#667085!important;
  font-size:14px!important;
  font-weight:740!important;
  letter-spacing:-.01em!important;
}
.linktree-bio{
  max-width:520px!important;
  margin:17px auto 0!important;
  color:#475467!important;
  font-size:15.5px!important;
  line-height:1.68!important;
  font-weight:440!important;
  letter-spacing:-.008em!important;
}
.linktree-stack{
  display:grid!important;
  gap:12px!important;
  padding:8px 22px 24px!important;
}
.tree-link{
  border:0!important;
  background:transparent!important;
}
.tree-link a{
  min-height:76px!important;
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 42px!important;
  gap:14px!important;
  align-items:center!important;
  padding:14px!important;
  border:1px solid rgba(203,213,225,.92)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.06)!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease!important;
}
.tree-link a:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(79,70,229,.28)!important;
  box-shadow:0 18px 46px rgba(15,23,42,.10)!important;
}
.tree-thumb{
  width:58px!important;
  height:58px!important;
  border-radius:16px!important;
  overflow:hidden!important;
  background:#0f172a!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important;
}
.tree-thumb img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.tree-copy{
  min-width:0!important;
}
.tree-copy b{
  display:block!important;
  color:#101828!important;
  font-size:16.5px!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
  font-weight:760!important;
}
.tree-copy small{
  display:block!important;
  margin-top:4px!important;
  color:#667085!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:440!important;
}
.tree-tags{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  margin-top:8px!important;
}
.tree-tags em{
  display:inline-flex!important;
  align-items:center!important;
  border:1px solid rgba(29,78,216,.10)!important;
  background:#eef6ff!important;
  color:#175cd3!important;
  padding:4px 8px!important;
  border-radius:999px!important;
  font-size:11px!important;
  line-height:1!important;
  font-style:normal!important;
  font-weight:780!important;
}
.link-arrow{
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:14px!important;
  background:#f8fafc!important;
  color:#155e9f!important;
  font-size:18px!important;
  font-weight:850!important;
}
.link-disclosure{
  margin:8px 10px 0 72px!important;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.45!important;
}
.tree-disclosure{
  margin:0 22px 22px!important;
  padding:12px 14px!important;
  border:1px solid rgba(203,213,225,.86)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  color:#667085!important;
  font-size:12.5px!important;
  line-height:1.5!important;
  box-shadow:none!important;
}
.tree-disclosure b{
  color:#344054!important;
  font-weight:760!important;
}
.tree-seo-panel{
  width:min(760px,92vw)!important;
  margin:16px auto 0!important;
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:16px!important;
}
.tree-seo-panel article{
  border:1px solid rgba(203,213,225,.82)!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.76)!important;
  backdrop-filter:blur(18px)!important;
  padding:22px!important;
  box-shadow:0 16px 48px rgba(15,23,42,.07)!important;
}
.tree-seo-panel h2{
  color:#101828!important;
  margin:0 0 10px!important;
  font-size:20px!important;
  line-height:1.2!important;
  letter-spacing:-.03em!important;
  font-weight:780!important;
}
.tree-seo-panel p{
  margin:0!important;
  color:#667085!important;
  font-size:14.5px!important;
  line-height:1.62!important;
  font-weight:440!important;
}
.tree-seo-panel details{
  border:1px solid rgba(203,213,225,.82)!important;
  border-radius:16px!important;
  background:rgba(248,250,252,.86)!important;
  padding:0!important;
  overflow:hidden!important;
}
.tree-seo-panel details + details{
  margin-top:8px!important;
}
.tree-seo-panel summary{
  list-style:none!important;
  cursor:pointer!important;
  padding:13px 14px!important;
  color:#101828!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:720!important;
}
.tree-seo-panel summary::-webkit-details-marker{display:none!important}
.tree-seo-panel summary:before{
  content:"+"!important;
  display:inline-grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  margin-right:8px!important;
  border-radius:999px!important;
  background:#eef6ff!important;
  color:#155e9f!important;
  font-weight:850!important;
}
.tree-seo-panel details[open] summary:before{
  content:"–"!important;
}
.tree-seo-panel details p{
  padding:0 14px 14px 40px!important;
  color:#667085!important;
  font-size:13.5px!important;
}
.premium-profile-footer{
  width:min(760px,92vw)!important;
  margin:20px auto 0!important;
  padding:18px!important;
  border:1px solid var(--line)!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,var(--card),var(--surface))!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 18px 54px rgba(15,23,42,.09)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  text-align:left!important;
}
.premium-profile-footer .footer-brand-block{
  display:flex!important;
  align-items:center!important;
  gap:13px!important;
  min-width:0!important;
}
.premium-profile-footer .footer-mark{
  width:42px!important;
  height:42px!important;
  flex:0 0 42px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,var(--brand),var(--brand2))!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(15,23,42,.14)!important;
  font-size:18px!important;
  font-weight:950!important;
}
.premium-profile-footer .footer-identity{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}
.premium-profile-footer .footer-identity b{
  color:var(--ink)!important;
  font-size:16px!important;
  letter-spacing:-.025em!important;
  font-weight:850!important;
}
.premium-profile-footer .footer-identity span{
  display:inline-flex!important;
  align-items:center!important;
  min-height:23px!important;
  padding:4px 9px!important;
  border:1px solid var(--line)!important;
  border-radius:999px!important;
  background:var(--card)!important;
  color:var(--muted)!important;
  font-size:11.5px!important;
  line-height:1!important;
  font-weight:780!important;
}
.premium-profile-footer p{
  margin:5px 0 0!important;
  color:var(--muted)!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:520!important;
}
.premium-profile-footer .footer-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:9px!important;
  flex-wrap:wrap!important;
  flex:0 0 auto!important;
}
.premium-profile-footer .footer-actions a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:10px 13px!important;
  border-radius:999px!important;
  font-size:12.5px!important;
  line-height:1!important;
  font-weight:900!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease!important;
}
.premium-profile-footer .footer-actions a:hover{
  transform:translateY(-1px)!important;
}
.premium-profile-footer .footer-create-link{
  border:0!important;
  background:linear-gradient(135deg,var(--brand),var(--brand2))!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(15,23,42,.16)!important;
}
.premium-profile-footer .footer-powered-link{
  border:1px solid var(--line)!important;
  background:var(--card)!important;
  color:var(--ink)!important;
  box-shadow:0 8px 20px rgba(15,23,42,.04)!important;
}
.empty-tree{
  border-radius:22px!important;
  border:1px dashed rgba(148,163,184,.72)!important;
  color:#667085!important;
  background:#f8fafc!important;
  padding:22px!important;
  text-align:center!important;
}
@media(max-width:720px){
  .public-container{width:min(100%,94vw)!important}
  .profile-pro{padding-top:14px!important}
  .linktree-card{border-radius:26px!important}
  .linktree-cover{height:118px!important}
  .linktree-profile{padding:0 18px 18px!important;margin-top:-50px!important}
  .linktree-avatar{width:98px!important;height:98px!important;border-width:5px!important}
  .linktree-profile h1{font-size:32px!important}
  .linktree-bio{font-size:14.5px!important;line-height:1.58!important}
  .linktree-stack{padding:4px 14px 18px!important}
  .tree-link a{
    grid-template-columns:52px minmax(0,1fr) 38px!important;
    min-height:72px!important;
    gap:12px!important;
    padding:12px!important;
    border-radius:20px!important;
  }
  .tree-thumb{width:52px!important;height:52px!important;border-radius:15px!important}
  .tree-copy b{font-size:15.5px!important}
  .link-arrow{width:36px!important;height:36px!important;border-radius:12px!important}
  .tree-disclosure{margin:0 14px 18px!important}
  .tree-seo-panel{
    width:min(100%,94vw)!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-top:12px!important;
  }
  .tree-seo-panel article{border-radius:22px!important;padding:18px!important}
  .premium-profile-footer{
    width:min(100%,94vw)!important;
    border-radius:22px!important;
    margin-top:12px!important;
    padding:16px!important;
    flex-direction:column!important;
    align-items:stretch!important;
    text-align:center!important;
  }
  .premium-profile-footer .footer-brand-block{
    justify-content:center!important;
    align-items:flex-start!important;
  }
  .premium-profile-footer .footer-identity{
    justify-content:center!important;
  }
  .premium-profile-footer .footer-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .premium-profile-footer .footer-actions a{
    width:100%!important;
  }
}

/* V22 public lead capture */
.profile-lead-box{margin:16px 18px 18px;padding:20px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(180deg,var(--card),var(--surface));box-shadow:0 14px 42px rgba(15,23,42,.05)}.profile-lead-box h2{margin:0 0 6px;font-size:22px;letter-spacing:-.035em}.profile-lead-box p{margin:0 0 16px;color:var(--muted);font-size:14px}.profile-lead-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.profile-lead-form label{display:grid;gap:6px;color:var(--muted);font-size:12px;font-weight:850}.profile-lead-form label.full{grid-column:1/-1}.profile-lead-form input,.profile-lead-form textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:12px 13px;font:inherit;background:var(--card);color:var(--ink);outline:none}.profile-lead-form textarea{min-height:92px;resize:vertical}.profile-lead-form input:focus,.profile-lead-form textarea:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(109,40,217,.10)}.lead-submit{grid-column:1/-1;border:0;border-radius:17px;min-height:48px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;font-weight:950;cursor:pointer}.hp-field{position:absolute!important;left:-9999px!important;opacity:0!important}.lead-success{margin:16px 18px 0;padding:13px 15px;border-radius:18px;background:#dcfce7;color:#166534;font-weight:850;border:1px solid #bbf7d0}@media(max-width:720px){.profile-lead-box{margin:0 14px 14px;border-radius:22px;padding:17px}.profile-lead-form{grid-template-columns:1fr}.profile-lead-box h2{font-size:20px}.lead-success{margin:0 14px 14px}}
.public-pro-body .flash{margin:16px 18px 0;padding:13px 15px;border-radius:18px;font-weight:850;border:1px solid var(--line)}.public-pro-body .flash-success{background:#dcfce7;color:#166534;border-color:#bbf7d0}.public-pro-body .flash-error{background:#fee2e2;color:#991b1b;border-color:#fecaca}@media(max-width:720px){.public-pro-body .flash{margin:0 14px 14px}}

/* Clean bottom category/location meta */
.profile-bottom-meta{
  width:min(720px,92vw)!important;
  margin:14px auto 0!important;
  padding:0 4px!important;
  text-align:center!important;
}
.profile-bottom-meta span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  max-width:100%!important;
  padding:11px 18px!important;
  border:1px solid var(--line)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.82)!important;
  color:var(--muted)!important;
  box-shadow:0 10px 28px rgba(15,23,42,.06)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:850!important;
  letter-spacing:.01em!important;
}
@media(max-width:720px){
  .profile-bottom-meta{width:min(100%,94vw)!important;margin-top:12px!important}
  .profile-bottom-meta span{width:100%!important;border-radius:18px!important;padding:10px 14px!important;font-size:12.5px!important}
}
