@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{font-family:Vazirmatn,Tahoma,sans-serif;color-scheme:dark;--bg:#0b1020;--surface:#111a2d;--surface2:#172238;--text:#edf2ff;--muted:#94a3b8;--line:#26334b;--primary:#818cf8;--primary2:#6366f1;--danger:#fb7185;--success:#34d399;--input:#0d1527}
html[data-theme="light"]{color-scheme:light;--bg:#f4f6fb;--surface:#fff;--surface2:#f1f4fa;--text:#172033;--muted:#667085;--line:#e3e8f1;--primary:#4f46e5;--primary2:#4338ca;--danger:#e11d48;--success:#059669;--input:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);min-height:100vh;font-size:14px;line-height:1.8}a{color:var(--primary);text-decoration:none}button,input,textarea,select{font:inherit}.container{width:min(1120px,calc(100% - 36px));margin:36px auto 70px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1120px)/2));background:color-mix(in srgb,var(--surface) 88%,transparent)}.brand{font-size:24px;font-weight:800;letter-spacing:-1px;color:var(--text);direction:ltr;display:inline-block}.brand span{color:var(--primary)}.brand.large{font-size:32px}.top-actions{display:flex;align-items:center;gap:14px}.icon-btn{width:40px;height:40px;border-radius:13px;border:1px solid var(--line);background:var(--surface2);color:var(--text);cursor:pointer;font-size:20px}.btn{border:1px solid transparent;border-radius:12px;padding:10px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:600;white-space:nowrap}.primary{background:var(--primary2);color:white}.primary:hover{filter:brightness(1.08)}.ghost{background:var(--surface2);border-color:var(--line);color:var(--text)}.danger{background:color-mix(in srgb,var(--danger) 12%,var(--surface));color:var(--danger);border-color:color-mix(in srgb,var(--danger) 30%,var(--line))}.small-btn{padding:6px 11px;font-size:12px}.full{width:100%;margin-top:8px}.panel,.stat{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 34px rgba(0,0,0,.06)}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head h1{font-size:28px;margin:4px 0}.page-head p{margin:0}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--primary);font-weight:800}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.center{text-align:center}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stats-grid.two{grid-template-columns:repeat(2,1fr)}.stat{padding:20px}.stat span{display:block;color:var(--muted);font-size:12px}.stat b{display:block;font-size:29px;margin-top:5px;direction:ltr;text-align:right}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-head h2{margin:0 0 3px;font-size:18px}.section-head p{margin:0;font-size:12px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:650px}th,td{text-align:right;padding:14px 10px;border-bottom:1px solid var(--line)}th{color:var(--muted);font-size:12px;font-weight:500}td small,.link-info small{display:block;color:var(--muted);font-size:11px;direction:ltr;text-align:right;max-width:260px;overflow:hidden;text-overflow:ellipsis}.status{font-size:11px;padding:4px 9px;border-radius:30px}.status.active{background:color-mix(in srgb,var(--success) 13%,transparent);color:var(--success)}.status.suspended{background:color-mix(in srgb,var(--danger) 13%,transparent);color:var(--danger)}.actions{display:flex;align-items:center;gap:7px}.actions form{margin:0}.form-panel{max-width:760px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.stack{display:flex;flex-direction:column;gap:15px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}label small{font-size:11px;color:var(--muted);font-weight:400}input,textarea,select{width:100%;background:var(--input);border:1px solid var(--line);border-radius:11px;padding:11px 13px;color:var(--text);outline:none}input:focus,textarea:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent)}textarea{resize:vertical}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:20px}.link-list{display:flex;flex-direction:column}.link-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.link-row:last-child{border-bottom:0}.link-info{min-width:0}.link-info strong{display:block}.empty{color:var(--muted);text-align:center;padding:24px}.alert{padding:12px 15px;border-radius:12px;margin-bottom:18px}.alert.success{background:color-mix(in srgb,var(--success) 12%,var(--surface));color:var(--success)}.alert.error{background:color-mix(in srgb,var(--danger) 12%,var(--surface));color:var(--danger)}.auth-wrap{min-height:calc(100vh - 150px);display:grid;place-items:center;padding:30px 16px}.auth-card{width:min(440px,100%);padding:34px}.auth-card h1{font-size:24px;margin:12px 0 0}.auth-card>p{margin:4px 0 22px}.auth-card label{margin-bottom:15px}.footer{text-align:center;color:var(--muted);font-size:11px;padding:25px;border-top:1px solid var(--line)}.footer strong{color:var(--primary)}.public-body{min-height:100vh;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--primary) 15%,var(--bg)),var(--bg) 55%)}.public-tools{width:min(680px,calc(100% - 36px));margin:0 auto;padding:25px 0;display:flex;align-items:center;justify-content:space-between}.profile-card{width:min(480px,calc(100% - 36px));margin:38px auto 60px;text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:36px 28px;box-shadow:0 24px 70px rgba(0,0,0,.14)}.avatar{width:82px;height:82px;margin:0 auto 15px;border-radius:26px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary2),#06b6d4);color:white;font-size:32px;font-weight:800}.profile-card h1{font-size:23px;margin:0}.handle{color:var(--muted);direction:ltr}.bio{color:var(--muted);white-space:normal;margin:16px 0 24px}.public-links{display:flex;flex-direction:column;gap:11px}.public-link{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;border:1px solid var(--line);border-radius:13px;background:var(--surface2);color:var(--text);transition:.2s}.public-link:hover{border-color:var(--primary);transform:translateY(-2px)}.public-link b{color:var(--primary);direction:ltr}.profile-credit{margin-top:28px;font-size:10px;color:var(--muted);direction:ltr}.profile-credit strong{color:var(--primary)}.empty-state{max-width:560px;margin:80px auto}@media(max-width:760px){.container{margin-top:24px}.stats-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.panel{padding:19px}.link-row{align-items:flex-start;flex-direction:column}.actions{width:100%}.topbar{padding:0 18px}.profile-card{margin-top:20px;padding:30px 20px}}
/* Menzio profile themes and social link badges */
.with-icon{display:flex;align-items:center;gap:12px}.type-icon,.public-link-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;background:var(--surface2);border:1px solid var(--line);font-size:10px;font-weight:800;letter-spacing:-.4px;color:var(--primary);direction:ltr}.type-label{display:inline-block!important;margin-right:8px;color:var(--primary)!important;font-size:10px!important;direction:rtl!important}.public-link{display:flex;align-items:center;gap:12px}.public-link-title{flex:1;text-align:right}.public-link-icon{width:34px;height:34px;flex-basis:34px;border:0;background:color-mix(in srgb,var(--primary) 12%,var(--surface2))}.profile-theme-gradient{background:radial-gradient(ellipse at 50% 0%,#7137c9 0%,#1e1b4b 38%,#090d1c 78%)}.profile-theme-gradient .profile-card{background:linear-gradient(155deg,#1d2040,#12172b);border-color:#46406e;color:#f8f7ff}.profile-theme-gradient .profile-card .bio,.profile-theme-gradient .handle{color:#c4c0dc}.profile-theme-gradient .public-link{background:linear-gradient(100deg,#26234b,#1a2941);border-color:#514879;color:#fff}.profile-theme-gradient .public-link-icon{background:#37305f;color:#d8c8ff}.profile-theme-business{background:#e9edf3}.profile-theme-business .profile-card{background:#fff;border-color:#d6dde8;color:#182235;border-radius:14px;box-shadow:0 18px 55px rgba(25,40,65,.12)}.profile-theme-business .profile-card .bio,.profile-theme-business .handle{color:#667085}.profile-theme-business .public-link{background:#f7f9fc;border-color:#dce3ed;color:#1d2939;border-radius:9px}.profile-theme-business .public-link-icon{background:#e9efff;color:#3448a5}.profile-theme-business .profile-credit{color:#667085}.profile-theme-business .brand{color:#182235}.profile-theme-business .icon-btn{background:#fff;color:#182235;border-color:#d6dde8}.profile-theme-light{background:#f2f4f8}.profile-theme-light .profile-card{background:#fff;color:#172033;border-color:#e1e6ef}.profile-theme-light .profile-card .bio,.profile-theme-light .handle{color:#667085}.profile-theme-light .public-link{background:#f7f8fb;color:#172033;border-color:#e5e9f0}.profile-theme-light .brand{color:#172033}.profile-theme-light .icon-btn{background:#fff;color:#172033;border-color:#e1e6ef}

/* =========================================================
   MENZIO 5 — expressive profile themes + mobile-first polish
   ========================================================= */
.public-body{position:relative;isolation:isolate;overflow-x:hidden;padding-bottom:env(safe-area-inset-bottom)}
.public-body:before,.public-body:after{content:"";position:fixed;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(2px);opacity:.7}
.public-body:before{width:42vmax;height:42vmax;top:-24vmax;right:-16vmax;background:radial-gradient(circle, color-mix(in srgb,var(--primary) 24%,transparent),transparent 68%)}
.public-body:after{width:34vmax;height:34vmax;bottom:-22vmax;left:-12vmax;background:radial-gradient(circle, color-mix(in srgb,#06b6d4 16%,transparent),transparent 68%)}
.public-tools{width:min(680px,calc(100% - 32px));padding:clamp(16px,4vw,25px) 0}
.profile-card{position:relative;overflow:hidden;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);width:min(460px,calc(100% - 28px));margin:clamp(12px,4vh,38px) auto 48px;padding:clamp(25px,6vw,38px) clamp(18px,5vw,30px);border-radius:30px;box-shadow:0 26px 90px rgba(0,0,0,.18);animation:profile-enter .7s cubic-bezier(.2,.8,.2,1) both}
.profile-card:before{content:"";position:absolute;inset:0 0 auto;height:115px;opacity:.75;background:linear-gradient(120deg,color-mix(in srgb,var(--primary) 24%,transparent),transparent 65%);pointer-events:none}
.profile-card>*{position:relative}.avatar{position:relative;width:88px;height:88px;border-radius:28px;box-shadow:0 12px 35px color-mix(in srgb,var(--primary) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.35);border:1px solid rgba(255,255,255,.22)}
.avatar:after{content:"";position:absolute;inset:-6px;border-radius:32px;border:1px solid color-mix(in srgb,var(--primary) 45%,transparent);animation:avatar-ring 3.2s ease-in-out infinite}
.profile-card h1{font-size:clamp(21px,5vw,25px);letter-spacing:-.4px}.handle{font-size:12px;opacity:.8}.bio{font-size:13px;line-height:2;max-width:34em;margin:14px auto 22px}
.public-links{gap:10px}.public-link{position:relative;min-height:58px;padding:11px 13px;border-radius:17px;overflow:hidden;isolation:isolate;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.public-link:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.12),transparent 78%);transform:translateX(120%);transition:transform .65s ease}
.public-link:hover:before{transform:translateX(-120%)}.public-link:hover{transform:translateY(-3px) scale(1.008);box-shadow:0 12px 28px rgba(0,0,0,.12)}
.public-link-icon{border-radius:12px;width:36px;height:36px;flex-basis:36px}.public-link-title{font-weight:650;font-size:13px}.profile-credit{padding-top:4px;letter-spacing:.5px}
@keyframes profile-enter{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes avatar-ring{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.08);opacity:.12}}
/* Aurora */
.profile-theme-aurora{--primary:#8b9cff;background:radial-gradient(ellipse at 15% 12%,#164e63 0,transparent 42%),radial-gradient(ellipse at 85% 5%,#4c1d95 0,transparent 40%),linear-gradient(160deg,#071a27,#101329 60%,#090d1b);color:#f2fbff}
.profile-theme-aurora .profile-card{background:linear-gradient(145deg,rgba(22,45,65,.82),rgba(21,22,49,.78));border-color:rgba(145,220,255,.2);box-shadow:0 25px 90px rgba(3,10,30,.55),inset 0 1px rgba(255,255,255,.08)}
.profile-theme-aurora .bio,.profile-theme-aurora .handle{color:#b9d2e6}.profile-theme-aurora .public-link{background:rgba(255,255,255,.075);border-color:rgba(173,225,255,.18);color:#f4fbff}.profile-theme-aurora .public-link-icon{background:rgba(105,210,220,.14);color:#9af4e8}
/* Glass */
.profile-theme-glass{--primary:#a5b4fc;background:linear-gradient(135deg,#111827,#312e81 52%,#0f172a);color:#fff}
.profile-theme-glass .profile-card{background:rgba(255,255,255,.105);border:1px solid rgba(255,255,255,.24);box-shadow:0 28px 90px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.18)}
.profile-theme-glass .bio,.profile-theme-glass .handle{color:#d3d8f4}.profile-theme-glass .public-link{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.18);color:#fff}.profile-theme-glass .public-link-icon{background:rgba(255,255,255,.13);color:#c7d2fe}
/* Neon */
.profile-theme-neon{--primary:#22d3ee;background:radial-gradient(ellipse at 50% 0%,#164e63,#080d18 58%);color:#effcff}
.profile-theme-neon .profile-card{background:rgba(5,15,27,.9);border:1px solid rgba(34,211,238,.38);box-shadow:0 0 0 1px rgba(34,211,238,.08),0 0 55px rgba(34,211,238,.12),0 30px 90px #000}
.profile-theme-neon .avatar{background:linear-gradient(135deg,#0891b2,#7c3aed);box-shadow:0 0 35px rgba(34,211,238,.35)}.profile-theme-neon .bio,.profile-theme-neon .handle{color:#9fbac7}.profile-theme-neon .public-link{background:#0c1b2a;border-color:rgba(34,211,238,.24);color:#e8fcff}.profile-theme-neon .public-link:hover{box-shadow:0 0 25px rgba(34,211,238,.16)}.profile-theme-neon .public-link-icon{background:rgba(34,211,238,.12);color:#67e8f9}
/* Ocean */
.profile-theme-ocean{--primary:#38bdf8;background:radial-gradient(ellipse at 50% -10%,#0e7490,#082f49 45%,#061827 85%);color:#f0faff}
.profile-theme-ocean .profile-card{background:linear-gradient(160deg,rgba(8,47,73,.95),rgba(8,31,51,.96));border-color:#155e75;box-shadow:0 25px 80px rgba(2,20,35,.45)}.profile-theme-ocean .bio,.profile-theme-ocean .handle{color:#a9d7e9}.profile-theme-ocean .public-link{background:rgba(14,116,144,.18);border-color:rgba(56,189,248,.2);color:#effaff}.profile-theme-ocean .public-link-icon{background:rgba(56,189,248,.15);color:#7dd3fc}
/* Sunset */
.profile-theme-sunset{--primary:#fb923c;background:radial-gradient(ellipse at 50% 0%,#7c2d12,#431407 42%,#1c1020 85%);color:#fff7ed}
.profile-theme-sunset .profile-card{background:linear-gradient(155deg,#3b1e25,#211726);border-color:rgba(251,146,60,.28)}.profile-theme-sunset .avatar{background:linear-gradient(135deg,#f97316,#db2777)}.profile-theme-sunset .bio,.profile-theme-sunset .handle{color:#e8c6b9}.profile-theme-sunset .public-link{background:linear-gradient(100deg,rgba(249,115,22,.13),rgba(219,39,119,.1));border-color:rgba(251,146,60,.2);color:#fff7ed}.profile-theme-sunset .public-link-icon{background:rgba(251,146,60,.14);color:#fdba74}
/* Rose */
.profile-theme-rose{--primary:#e879a8;background:radial-gradient(ellipse at 50% 0%,#fce7f3,#f8dce8 48%,#f4e9ed 100%);color:#382433}
.profile-theme-rose .profile-card{background:rgba(255,255,255,.82);border-color:#f2c9dc;box-shadow:0 25px 70px rgba(124,45,90,.12)}.profile-theme-rose .avatar{background:linear-gradient(135deg,#ec4899,#a78bfa)}.profile-theme-rose .bio,.profile-theme-rose .handle{color:#896477}.profile-theme-rose .public-link{background:rgba(255,255,255,.8);border-color:#f1d5e2;color:#482b3c}.profile-theme-rose .public-link-icon{background:#fce7f3;color:#be477f}.profile-theme-rose .brand,.profile-theme-rose .icon-btn{color:#482b3c}
/* Monochrome */
.profile-theme-mono{--primary:#d4d4d8;background:radial-gradient(ellipse at 50% 0%,#3f3f46,#09090b 65%);color:#fafafa}
.profile-theme-mono .profile-card{background:#18181b;border-color:#3f3f46;box-shadow:0 28px 80px rgba(0,0,0,.4)}.profile-theme-mono .avatar{background:linear-gradient(135deg,#52525b,#18181b);border:1px solid #71717a}.profile-theme-mono .bio,.profile-theme-mono .handle{color:#a1a1aa}.profile-theme-mono .public-link{background:#222226;border-color:#3f3f46;color:#fafafa}.profile-theme-mono .public-link-icon{background:#303036;color:#e4e4e7}
/* Nature */
.profile-theme-nature{--primary:#86b98a;background:radial-gradient(ellipse at 50% 0%,#dcebd7,#b9d2b6 48%,#e8eee4 100%);color:#203629}
.profile-theme-nature .profile-card{background:rgba(250,253,247,.9);border-color:#c7d9c2;box-shadow:0 25px 70px rgba(35,75,45,.13)}.profile-theme-nature .avatar{background:linear-gradient(135deg,#4d9562,#9abf75)}.profile-theme-nature .bio,.profile-theme-nature .handle{color:#617b65}.profile-theme-nature .public-link{background:rgba(255,255,255,.8);border-color:#d3e1cf;color:#294331}.profile-theme-nature .public-link-icon{background:#e5f0df;color:#47764e}.profile-theme-nature .brand,.profile-theme-nature .icon-btn{color:#294331}
/* Better touch targets and compact mobile layout */
@media(max-width:600px){.public-tools{padding-top:13px;padding-bottom:10px}.public-tools .brand{font-size:21px}.public-tools .icon-btn{width:42px;height:42px;border-radius:14px}.profile-card{width:calc(100% - 24px);margin:10px auto 28px;padding:25px 17px 22px;border-radius:25px}.avatar{width:76px;height:76px;border-radius:24px;margin-bottom:12px}.avatar:after{border-radius:29px}.profile-card h1{font-size:21px}.bio{font-size:12px;margin:12px auto 18px}.public-links{gap:9px}.public-link{min-height:58px;padding:10px 12px;border-radius:15px}.public-link-title{font-size:12px}.public-link-icon{width:35px;height:35px;flex-basis:35px}.profile-credit{margin-top:22px}}
@media(hover:none){.public-link:hover{transform:none;box-shadow:none}.public-link:before{display:none}}
@media(prefers-reduced-motion:reduce){.profile-card,.avatar:after{animation:none!important}.public-link,.public-link:before{transition:none!important}}

/* Profile media, link editor and touch-friendly ordering */
.profile-media-panel{margin-bottom:20px}.media-editor{display:flex;align-items:center;gap:22px}.avatar-preview{width:112px;height:112px;flex:0 0 112px;border-radius:30px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary2),#06b6d4);color:#fff;font-size:42px;font-weight:800;box-shadow:0 15px 38px color-mix(in srgb,var(--primary) 22%,transparent)}.avatar-preview img,.avatar img{width:100%;height:100%;object-fit:cover;display:block}.media-actions{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.upload-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.upload-form label{max-width:290px}.upload-form input[type=file]{font-size:12px;padding:8px}.upload-form>small{color:var(--muted);font-size:11px;align-self:center}.sortable-row{display:grid;grid-template-columns:24px minmax(180px,1fr) auto;align-items:center;gap:10px}.drag-grip{color:var(--muted);font-size:25px;cursor:grab;touch-action:none;user-select:none}.sortable-row.dragging{opacity:.45;border:1px dashed var(--primary)}.sortable-row.editing .link-edit{display:block}.link-edit{display:none;grid-column:2/-1;width:100%;padding:14px;background:var(--surface2);border:1px solid var(--line);border-radius:14px}.edit-link-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.edit-link-form label:last-of-type{grid-column:1/-1}.link-actions{flex-wrap:wrap;justify-content:flex-end}.reorder-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:18px}.avatar{overflow:hidden}.avatar img{border-radius:inherit}.profile-card .avatar{isolation:isolate}.profile-card .avatar:after{z-index:2;pointer-events:none}.upload-form button{min-height:42px}
@media(max-width:760px){.media-editor{align-items:flex-start;gap:15px}.avatar-preview{width:88px;height:88px;flex-basis:88px;border-radius:24px}.media-actions,.upload-form{align-items:stretch;flex-direction:column}.upload-form label{max-width:none}.sortable-row{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px}.sortable-row .link-info{min-width:0}.sortable-row .link-actions{grid-column:2;justify-content:flex-start}.sortable-row .link-actions .btn{min-height:38px}.link-edit{grid-column:1/-1}.edit-link-form{grid-template-columns:1fr}.edit-link-form label:last-of-type{grid-column:auto}.reorder-footer{align-items:stretch;flex-direction:column}.reorder-footer .btn{width:100%}}

/* Public profile theme isolation: dark is an explicit owner-selected theme. */
.public-body.profile-theme-dark{--bg:#0b1020;--surface:#111a2d;--surface2:#172238;--text:#edf2ff;--muted:#94a3b8;--line:#26334b;--primary:#818cf8;--primary2:#6366f1;--input:#0d1527;background:radial-gradient(ellipse at 50% 0%,#182342 0%,#0b1020 58%);color:#edf2ff}
.public-body.profile-theme-dark .profile-card{background:linear-gradient(160deg,#111a2d,#0e1729);border-color:#26334b;color:#edf2ff}
.public-body.profile-theme-dark .public-link{background:#172238;border-color:#26334b;color:#edf2ff}
.public-body.profile-theme-dark .bio,.public-body.profile-theme-dark .handle{color:#94a3b8}

/* =========================================================
   MENZIO 8 — Signature geometry & luxury art direction
   Decorative geometry is CSS-only, lightweight and responsive.
   ========================================================= */
.public-body{min-height:100svh;overflow:hidden;isolation:isolate;position:relative}
.public-body:before,.public-body:after{content:"";position:fixed;pointer-events:none;z-index:-1;display:block}
.public-body:before{width:min(78vw,760px);height:min(78vw,760px);top:-38vw;left:-24vw;border:1px solid color-mix(in srgb,var(--primary) 30%,transparent);border-radius:42% 58% 62% 38%/45% 38% 62% 55%;transform:rotate(28deg);box-shadow:0 0 0 24px color-mix(in srgb,var(--primary) 3%,transparent),0 0 0 72px color-mix(in srgb,var(--primary) 2%,transparent)}
.public-body:after{width:260px;height:260px;right:-150px;bottom:7vh;border:1px solid color-mix(in srgb,var(--primary) 35%,transparent);border-radius:50%;box-shadow:0 0 0 18px color-mix(in srgb,var(--primary) 4%,transparent),0 0 0 48px color-mix(in srgb,var(--primary) 3%,transparent)}
.profile-card{position:relative;isolation:isolate;overflow:hidden;border-radius:32px;padding:42px 30px 30px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);transform:translateZ(0)}
.profile-card:before,.profile-card:after{content:"";position:absolute;pointer-events:none;z-index:-1}
.profile-card:before{width:230px;height:230px;top:-145px;right:-105px;border:1px solid color-mix(in srgb,var(--primary) 42%,transparent);border-radius:38% 62% 56% 44%;transform:rotate(35deg);box-shadow:0 0 0 16px color-mix(in srgb,var(--primary) 4%,transparent),0 0 0 42px color-mix(in srgb,var(--primary) 3%,transparent)}
.profile-card:after{width:120px;height:120px;bottom:-75px;left:-55px;border:1px solid color-mix(in srgb,var(--primary) 36%,transparent);border-radius:50%;box-shadow:0 0 0 12px color-mix(in srgb,var(--primary) 4%,transparent),0 0 0 30px color-mix(in srgb,var(--primary) 3%,transparent)}
.profile-card>*{position:relative;z-index:1}
.profile-card h1{letter-spacing:-.6px;font-weight:850}
.profile-card .avatar{width:94px;height:94px;border-radius:31px;margin-bottom:19px;position:relative;box-shadow:0 15px 42px color-mix(in srgb,var(--primary) 22%,transparent)}
.profile-card .avatar:before{content:"";position:absolute;inset:-8px;border:1px solid color-mix(in srgb,var(--primary) 65%,transparent);border-radius:38px;transform:rotate(8deg);pointer-events:none}
.profile-card .avatar:after{content:"";position:absolute;inset:-15px;border:1px dashed color-mix(in srgb,var(--primary) 34%,transparent);border-radius:43px;animation:menzio-orbit 24s linear infinite}
.public-links{gap:12px;margin-top:22px}
.public-link{position:relative;overflow:hidden;min-height:64px;border-radius:18px;padding:12px 15px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .28s,box-shadow .28s}
.public-link:before{content:"";position:absolute;top:0;bottom:0;left:-65%;width:35%;transform:skewX(-22deg);background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--primary) 13%,transparent),transparent);transition:left .65s ease;pointer-events:none}
.public-link:hover:before{left:135%}
.public-link:hover{transform:translateY(-3px);box-shadow:0 13px 32px rgba(0,0,0,.16)}
.public-link-icon{border-radius:13px!important;width:39px!important;height:39px!important;flex-basis:39px!important;display:grid;place-items:center;font-size:11px}
.profile-credit{letter-spacing:1.2px;text-transform:uppercase;font-size:9px;margin-top:32px}
.profile-theme-dark{--primary:#a78bfa}
.profile-theme-dark .profile-card{background:linear-gradient(145deg,rgba(21,29,51,.97),rgba(9,15,29,.98));border-color:rgba(167,139,250,.25);box-shadow:0 35px 100px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.08)}
.profile-theme-light{--primary:#6757c8}
.profile-theme-light .profile-card{background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(246,247,252,.94));border-color:#fff;box-shadow:0 30px 85px rgba(52,56,91,.13),inset 0 1px #fff}
.profile-theme-gradient{--primary:#c4a7ff}
.profile-theme-gradient .profile-card{background:linear-gradient(145deg,rgba(34,26,67,.97),rgba(13,18,43,.98));border-color:rgba(196,167,255,.36);box-shadow:0 35px 100px rgba(15,7,45,.55),inset 0 1px rgba(255,255,255,.12)}
.profile-theme-business{--primary:#b18a4b}
.profile-theme-business .profile-card{border:1px solid #d9c59d;border-radius:8px;background:linear-gradient(145deg,#fffefa,#f8f3e9);box-shadow:0 28px 90px rgba(44,36,23,.17)}
.profile-theme-business .profile-card:before{width:180px;height:180px;border-color:rgba(177,138,75,.45);border-radius:0;transform:rotate(45deg);box-shadow:0 0 0 12px rgba(177,138,75,.05),0 0 0 30px rgba(177,138,75,.035)}
.profile-theme-business .avatar{border-radius:50%;background:linear-gradient(145deg,#b18a4b,#e7d4a9);box-shadow:0 0 0 5px #fff,0 0 0 6px #c8ad78}
.profile-theme-business .avatar:before,.profile-theme-business .avatar:after{border-radius:50%;border-color:#c8ad78}
.profile-theme-business .public-link{border-radius:4px;background:rgba(255,255,255,.75);border-color:#e6dcc8}
.profile-theme-aurora{--primary:#79e6d0}
.profile-theme-aurora .profile-card{background:linear-gradient(145deg,rgba(9,38,48,.86),rgba(18,18,48,.9));border-color:rgba(121,230,208,.28);box-shadow:0 35px 100px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.13)}
.profile-theme-aurora .profile-card:before{border-radius:50% 20% 50% 20%;transform:rotate(55deg);box-shadow:0 0 50px rgba(121,230,208,.09),0 0 0 28px rgba(121,230,208,.035)}
.profile-theme-glass{--primary:#c4b5fd}
.profile-theme-glass .profile-card{background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.055));border-color:rgba(255,255,255,.32);box-shadow:0 35px 100px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.32)}
.profile-theme-glass .profile-card:before,.profile-theme-glass .profile-card:after{border-color:rgba(255,255,255,.27);box-shadow:0 0 0 20px rgba(255,255,255,.035),0 0 0 48px rgba(255,255,255,.025)}
.profile-theme-neon{--primary:#65f4ff}
.profile-theme-neon .profile-card{border-color:rgba(101,244,255,.5);box-shadow:0 0 0 1px rgba(101,244,255,.13),0 0 65px rgba(34,211,238,.15),0 35px 100px #000,inset 0 0 40px rgba(34,211,238,.035)}
.profile-theme-neon .profile-card:before{border-style:dashed;box-shadow:0 0 25px rgba(101,244,255,.12),0 0 0 18px rgba(101,244,255,.035)}
.profile-theme-ocean{--primary:#67d8f2}
.profile-theme-ocean .profile-card{background:linear-gradient(150deg,rgba(8,53,76,.96),rgba(5,24,44,.98));border-color:rgba(103,216,242,.3);box-shadow:0 35px 100px rgba(0,15,32,.52),inset 0 1px rgba(255,255,255,.09)}
.profile-theme-ocean .profile-card:before{border-radius:50% 50% 8% 50%;transform:rotate(35deg)}
.profile-theme-sunset{--primary:#ffc078}
.profile-theme-sunset .profile-card{background:linear-gradient(145deg,rgba(70,31,42,.97),rgba(30,19,34,.98));border-color:rgba(255,192,120,.32);box-shadow:0 35px 100px rgba(30,8,20,.48)}
.profile-theme-sunset .profile-card:before{border-radius:50%;border-width:2px;box-shadow:0 0 0 13px rgba(255,192,120,.045),0 0 0 38px rgba(255,192,120,.035)}
.profile-theme-rose{--primary:#b76e91}
.profile-theme-rose .profile-card{background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(250,238,244,.96));border-color:#f0d4e0;box-shadow:0 32px 90px rgba(126,55,91,.16)}
.profile-theme-rose .profile-card:before{border-radius:50% 0 50% 0;border-color:rgba(183,110,145,.42);transform:rotate(45deg)}
.profile-theme-rose .avatar{background:linear-gradient(145deg,#b76e91,#e7b7ca);box-shadow:0 0 0 5px #fff,0 0 0 6px #e8c4d4}
.profile-theme-mono{--primary:#e4e4e7}
.profile-theme-mono .profile-card{background:linear-gradient(145deg,#202024,#101013);border-color:#55555d;box-shadow:0 35px 100px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.1)}
.profile-theme-mono .profile-card:before,.profile-theme-mono .profile-card:after{border-radius:0;transform:rotate(45deg);border-color:rgba(228,228,231,.28);box-shadow:0 0 0 15px rgba(228,228,231,.025),0 0 0 40px rgba(228,228,231,.02)}
.profile-theme-nature{--primary:#a8c78b}
.profile-theme-nature .profile-card{background:linear-gradient(145deg,rgba(250,255,246,.97),rgba(230,241,222,.96));border-color:#c9dabb;box-shadow:0 30px 90px rgba(39,78,43,.17)}
.profile-theme-nature .profile-card:before{border-radius:8% 65% 8% 65%;transform:rotate(35deg);border-color:rgba(87,132,78,.35)}
.profile-theme-nature .avatar{border-radius:50% 50% 50% 12%;background:linear-gradient(145deg,#5f9563,#b0c98a)}
@keyframes menzio-orbit{to{transform:rotate(368deg)}}
@media(max-width:600px){.profile-card{width:calc(100% - 22px);margin:9px auto 24px;padding:34px 17px 24px;border-radius:27px}.profile-card .avatar{width:82px;height:82px;border-radius:27px}.public-links{gap:10px}.public-link{min-height:61px;padding:10px 12px;border-radius:16px}.public-body:before{width:100vw;height:100vw;top:-55vw;left:-50vw}.public-body:after{width:180px;height:180px;right:-120px}.profile-theme-business .profile-card{border-radius:6px}}
@media(prefers-reduced-motion:reduce){.profile-card .avatar:after{animation:none}}
