/* Phase 1: public profile, privacy, blocking and account controls */
.sidebar-identity-link{color:inherit;text-decoration:none;border-radius:12px;transition:background .16s ease}.sidebar-identity-link:hover{background:#f2f7fd}.profile-name-link{color:inherit;text-decoration:none}.profile-name-link:hover{text-decoration:underline}
.profile-settings-page{display:grid;gap:20px}.profile-settings-hero{display:flex;align-items:center;gap:20px;padding:24px;background:linear-gradient(135deg,#fff 0%,#f2f7ff 100%);overflow:hidden}.profile-settings-avatar{width:104px;height:104px;border-radius:50%;object-fit:cover;display:grid;place-items:center;font-size:2rem;font-weight:900;color:#1676ed;background:#eaf3ff;box-shadow:0 0 0 6px rgba(255,255,255,.9),0 14px 30px rgba(37,91,166,.14)}.profile-settings-identity{min-width:0}.profile-settings-identity h1{margin:5px 0 7px}.profile-settings-identity p{margin:0 0 14px;color:#687a91}.profile-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}.settings-card,.my-posts-panel{padding:22px}.settings-card-header{margin-bottom:17px}.settings-card-header>div{display:flex;align-items:flex-start;gap:12px}.settings-card-header h2{margin:0 0 4px;font-size:1.08rem}.settings-card-header p{margin:0;color:#6f8095;font-size:.84rem;line-height:1.45}.settings-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#eaf3ff}.settings-icon.danger{background:#ffe9eb;color:#c42438;font-weight:900}.settings-switch{display:flex!important;align-items:flex-start!important;gap:11px;padding:13px;border:1px solid #e1e8f1;border-radius:13px;background:#f8fafc}.settings-switch input{width:auto;margin-top:3px}.settings-switch span{display:grid;gap:3px}.settings-switch small{color:#718096;line-height:1.4}.blocked-user-list{display:grid;gap:9px}.blocked-user-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px;border:1px solid #e5eaf2;border-radius:13px}.blocked-user-row img,.blocked-user-row>.avatar-placeholder{width:42px;height:42px;border-radius:50%;object-fit:cover;display:grid;place-items:center}.blocked-user-row div{display:grid;gap:2px}.blocked-user-row small{color:#7a899c}.settings-empty{margin:0;padding:18px;border-radius:13px;background:#f7f9fc;color:#6e7e92;text-align:center}.danger-card{border-color:#ffd7dc;background:linear-gradient(180deg,#fff,#fffafb)}.button.danger{background:#d93649}.my-posts-panel{position:sticky;top:96px}.profile-post-list{display:grid;gap:12px;max-height:920px;overflow:auto;padding-right:3px}.profile-post-item{padding:13px;border:1px solid #e4eaf2;border-radius:14px;background:#fbfcfe}.profile-post-item img{width:100%;max-height:190px;object-fit:cover;border-radius:10px;margin:9px 0}.profile-post-item p{margin:9px 0 0;line-height:1.5}.profile-post-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.profile-post-meta time{font-size:.75rem;color:#7b899c}.status-badge.deactivated{background:#fff2d7;color:#805d00}
.public-profile-page{display:grid;gap:20px}.public-profile-hero{padding:0;overflow:hidden}.public-profile-cover{height:160px;background:radial-gradient(circle at 20% 10%,rgba(255,255,255,.65),transparent 35%),linear-gradient(135deg,#1676ed,#64a8ff)}.public-profile-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:end;padding:0 24px 24px;margin-top:-54px}.public-profile-avatar{width:118px;height:118px;border-radius:50%;object-fit:cover;display:grid;place-items:center;background:#eaf3ff;color:#1676ed;font-size:2.2rem;font-weight:900;border:6px solid #fff;box-shadow:0 10px 28px rgba(26,69,130,.15)}.public-profile-copy{padding-top:62px}.public-profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.public-profile-copy h1{margin:0;font-size:1.65rem}.public-profile-copy>p{margin:5px 0 10px;color:#718096}.online-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#e9f9ef;color:#167c3d;font-size:.75rem;font-weight:800}.online-pill i{width:7px;height:7px;border-radius:50%;background:#24b35b}.public-profile-stats{display:flex;gap:18px;flex-wrap:wrap;color:#65758a;font-size:.84rem}.public-profile-stats strong{color:#1d2b3f}.public-profile-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-bottom:6px}.public-profile-actions form{display:block}.public-profile-section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.public-profile-section-title h2{margin:0}.public-profile-section-title span{color:#7b899b;font-size:.8rem}.public-profile-feed{max-width:760px;margin:0 auto;width:100%}.public-profile-feed{display:grid;gap:14px}.public-profile-post{padding:0;overflow:hidden}.public-profile-post header{display:grid;gap:3px;padding:16px 18px}.public-profile-post header time{color:#7b899b;font-size:.76rem}.public-profile-post>p{padding:0 18px;margin:0 0 15px;line-height:1.55}.public-profile-post>img{display:block;width:100%;max-height:600px;object-fit:contain;background:#f5f7fa}.public-profile-post footer{display:flex;justify-content:space-between;padding:12px 18px;border-top:1px solid #edf1f5;color:#66758a;font-size:.82rem}.public-profile-post footer a{color:inherit;text-decoration:none}.public-profile-post footer a:hover{text-decoration:underline}.public-profile-empty{padding:34px;text-align:center}.public-profile-empty p{margin:7px 0 0;color:#718096}
@media(max-width:1050px){.profile-settings-grid{grid-template-columns:1fr}.my-posts-panel{position:static}.profile-post-list{max-height:none}}@media(max-width:700px){.profile-settings-hero{align-items:flex-start;padding:18px}.profile-settings-avatar{width:82px;height:82px}.public-profile-cover{height:120px}.public-profile-main{grid-template-columns:1fr;justify-items:center;text-align:center;margin-top:-52px;padding:0 16px 20px}.public-profile-avatar{width:104px;height:104px}.public-profile-copy{padding-top:0}.public-profile-name-row,.public-profile-stats,.public-profile-actions{justify-content:center}.blocked-user-row{grid-template-columns:auto minmax(0,1fr)}.blocked-user-row form{grid-column:1/-1}.blocked-user-row .button{width:100%}}
