/* Profile card (opens from your picture in the bottom-left bar): clean glass card, one layer over the older styles */
html body #lyProfileCard#lyProfileCard{--pc1:#8b5cf6;--pc2:#14b8a6;box-sizing:border-box;width:340px!important;max-width:calc(100vw - 24px)!important;padding:0!important;border-radius:24px!important;overflow:hidden!important;color:#eef0fb!important;
 background:radial-gradient(130% 60% at 0% 0%,color-mix(in srgb,var(--pc1) 22%,transparent),transparent 62%),radial-gradient(90% 60% at 100% 100%,color-mix(in srgb,var(--pc2) 16%,transparent),transparent 65%),linear-gradient(165deg,rgba(28,30,50,.94),rgba(12,13,24,.97))!important;
 border:1px solid color-mix(in srgb,var(--pc1) 34%,rgba(255,255,255,.08))!important;box-shadow:0 26px 60px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,255,255,.06)!important;
 backdrop-filter:blur(22px) saturate(1.2);-webkit-backdrop-filter:blur(22px) saturate(1.2);animation:pcIn .18s ease-out}
@keyframes pcIn{from{opacity:0;transform:translateY(8px) scale(.98)}}
html body #lyProfileCard#lyProfileCard .ly-profile-card-banner{display:block!important;height:92px!important;margin:0!important;border-radius:0!important;background:linear-gradient(120deg,color-mix(in srgb,var(--pc1) 70%,#1b1640),color-mix(in srgb,var(--pc2) 60%,#0d2420))!important;position:relative}
html body #lyProfileCard#lyProfileCard .ly-profile-card-banner::after{content:'';position:absolute;inset:0;background:radial-gradient(60% 120% at 85% 0%,rgba(255,255,255,.22),transparent 60%),linear-gradient(180deg,transparent 40%,rgba(0,0,0,.25))}
/* Close X: plain, sits on the banner */
html body #lyProfileCard#lyProfileCard .ly-profile-card-close{position:absolute!important;top:10px!important;right:10px!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:11px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(10,12,24,.28)!important;color:#fff!important;box-shadow:none!important;z-index:2;backdrop-filter:blur(6px)}
html body #lyProfileCard#lyProfileCard .ly-profile-card-close:hover{background:rgba(10,12,24,.5)!important}
html body #lyProfileCard#lyProfileCard .ly-profile-card-close svg{width:18px;height:18px}
/* Picture: round, overlapping the banner, with an online dot */
html body #lyProfileCard#lyProfileCard .ly-pc-avatar{position:relative!important;display:block!important;width:96px!important;height:96px!important;margin:-50px 0 0 20px!important;padding:0!important;border-radius:50%!important;border:5px solid #1c1d33!important;background:#262842!important;box-shadow:0 8px 22px rgba(0,0,0,.35)!important;overflow:visible!important;z-index:1}
html body #lyProfileCard#lyProfileCard .ly-pc-avatar img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}
html body #lyProfileCard#lyProfileCard .ly-pc-avatar span{border-radius:50%}
html body #lyProfileCard#lyProfileCard .ly-pc-avatar::after{content:'';position:absolute;right:2px;bottom:4px;width:18px;height:18px;border-radius:50%;background:#3ba55d;border:4px solid #1c1d33}
/* Body */
html body #lyProfileCard#lyProfileCard .ly-profile-card-body{padding:12px 20px 20px!important;margin:0!important;background:transparent!important}
html body #lyProfileCard#lyProfileCard #lyProfileCardName{margin:0!important;font-size:24px!important;font-weight:900!important;letter-spacing:-.3px;line-height:1.15;color:#fff!important;overflow-wrap:anywhere}
html body #lyProfileCard#lyProfileCard .ly-pc-online{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:12.5px;font-weight:700;color:#86efac}
html body #lyProfileCard#lyProfileCard .ly-pc-online::before{content:'';width:7px;height:7px;border-radius:50%;background:#3ba55d}
html body #lyProfileCard#lyProfileCard #lyProfileCardStatus{position:static!important;left:auto!important;right:auto!important;top:auto!important;max-height:none!important;display:flex!important;align-items:center;gap:8px;width:100%!important;margin:14px 0 0!important;padding:11px 14px!important;min-height:44px!important;border-radius:14px!important;font-size:14px!important;font-weight:650!important;text-align:left!important;color:#e6e8f5!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;transition:background .15s,border-color .15s}
html body #lyProfileCard#lyProfileCard #lyProfileCardStatus:hover{background:color-mix(in srgb,var(--pc1) 14%,transparent)!important;border-color:color-mix(in srgb,var(--pc1) 55%,transparent)!important}
html body #lyProfileCard#lyProfileCard .ly-profile-card-body h3{margin:18px 0 0!important;padding:16px 0 0!important;border-top:1px solid rgba(255,255,255,.08)!important;font-size:11px!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase;color:#a99cf5!important}
html body #lyProfileCard#lyProfileCard #lyProfileCardBio{margin:8px 0 0!important;padding:11px 13px!important;border-radius:14px!important;font-size:14px!important;font-weight:600!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(255,255,255,.1)!important;color:#e3e5f0!important}
html body #lyProfileCard#lyProfileCard #lyProfileCardBio:hover{border-color:color-mix(in srgb,var(--pc1) 55%,transparent)!important}
/* Actions: Edit profile + Settings */
html body #lyProfileCard#lyProfileCard .ly-pc-actions{display:flex;gap:10px;margin-top:18px}
html body #lyProfileCard#lyProfileCard .ly-pc-actions>button{min-height:46px!important;margin:0!important;border-radius:14px!important;font-size:14px!important;font-weight:800!important;box-shadow:none!important;cursor:pointer;transition:filter .15s,transform .12s,background .15s,border-color .15s}
html body #lyProfileCard#lyProfileCard .ly-pc-actions>button:first-child{flex:1;color:#fff!important;background:linear-gradient(115deg,color-mix(in srgb,var(--pc1) 85%,#0b0d18),color-mix(in srgb,var(--pc2) 75%,#0b0d18))!important;border:1px solid color-mix(in srgb,#c4b5fd 50%,transparent)!important}
html body #lyProfileCard#lyProfileCard .ly-pc-actions>button:first-child:hover{filter:brightness(1.08);transform:translateY(-1px)}
html body #lyProfileCard#lyProfileCard .ly-pc-settings{display:grid!important;place-items:center;width:46px!important;flex:0 0 46px;padding:0!important;color:#e6e8f5!important;background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.14)!important}
html body #lyProfileCard#lyProfileCard .ly-pc-settings:hover{background:color-mix(in srgb,var(--pc1) 16%,transparent)!important;border-color:color-mix(in srgb,var(--pc1) 60%,transparent)!important}
html body #lyProfileCard#lyProfileCard .ly-pc-settings svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s}
html body #lyProfileCard#lyProfileCard .ly-pc-settings:hover svg{transform:rotate(45deg)}
/* Light theme */
html[data-theme="light"] body #lyProfileCard#lyProfileCard{color:#1b1f3a!important;background:radial-gradient(130% 60% at 0% 0%,color-mix(in srgb,var(--pc1) 14%,transparent),transparent 62%),#fff!important}
html[data-theme="light"] body #lyProfileCard#lyProfileCard #lyProfileCardName{color:#141838!important}
html[data-theme="light"] body #lyProfileCard#lyProfileCard :is(#lyProfileCardStatus,#lyProfileCardBio,.ly-pc-settings){color:#2b3150!important;background:rgba(20,30,60,.04)!important;border-color:rgba(20,30,60,.12)!important}
html[data-theme="light"] body #lyProfileCard#lyProfileCard .ly-pc-avatar,html[data-theme="light"] body #lyProfileCard#lyProfileCard .ly-pc-avatar::after{border-color:#fff!important}
html body #lyProfileCard#lyProfileCard .ly-pc-handle{display:block;margin-top:2px;font-size:13.5px;font-weight:700;color:#aab0cf}
/* Account info: name rules and locked fields */
.ly-name-hint{margin:6px 2px 0!important;font-size:12px!important;color:#9aa0c0!important}
input.ly-name-locked{opacity:.65;cursor:not-allowed}

/* No online line and no statuses anywhere */
html body .ly-pc-online,html body #lyProfileCardStatus,html body #lySidebarStatus,html body #lyStatusDialog:not([open]),
html body #lyProfileCard#lyProfileCard #lyProfileCardStatus,html body #lyProfileCard#lyProfileCard .ly-pc-online{display:none!important}
/* Settings page title: same gear as the bottom-left button */
#settingsPage .ly-hero-settings .ly-settings-gear{width:38px;height:38px;padding:8px;box-sizing:border-box;border-radius:11px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);fill:none;stroke:#cfd3e0;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;vertical-align:middle;margin-right:10px}
html[data-theme="light"] #settingsPage .ly-hero-settings .ly-settings-gear{background:rgba(0,0,0,.04);box-shadow:inset 0 0 0 1px rgba(0,0,0,.09);stroke:#3a3f4c}
