/* AckySHINE Gallery content system — all page/content styling. Navigation shell lives in module_shell.css. */
:root{--mem-pink:#be185d;--mem-violet:#7c3aed;--mem-blue:#2563eb;--mem-cyan:#0891b2;--mem-green:#059669;--mem-amber:#d97706;--mem-red:#dc2626;--mem-ink:#172033;--mem-muted:#64748b;--mem-border:#e2e8f0;--mem-bg:#f7f7fb;--mem-card:#fff;--mem-shadow:0 18px 46px rgba(31,41,55,.08)}
html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% 0,#fdf2f8 0,transparent 28%),radial-gradient(circle at 88% 10%,#f5f3ff 0,transparent 26%),var(--mem-bg);color:var(--mem-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:calc(15px * var(--module-content-scale,1));line-height:1.55;padding-top:calc(var(--mod-top-h,70px) + 18px);padding-bottom:96px}a{color:inherit}.memory-main{width:min(1440px,calc(100% - 32px));margin:0 auto;min-width:0}.mod-embedded .memory-main{width:min(1220px,calc(100% - 24px));padding-top:16px}.mod-embed-doc body{padding-top:0!important}.mod-embedded{padding:0 0 24px!important;background:#f8fafc!important}.mod-embedded .memory-hero{margin-top:0}
.memory-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px 25px;margin:0 0 18px;border:1px solid #fbcfe8;border-radius:26px;background:linear-gradient(125deg,#fff 0,#fff7fb 46%,#f5f3ff 100%);box-shadow:var(--mem-shadow)}.memory-hero:before{content:"";position:absolute;width:240px;height:240px;right:-90px;top:-115px;border-radius:50%;background:radial-gradient(circle,#f9a8d4 0,rgba(249,168,212,0) 67%)}.memory-hero-copy{position:relative;z-index:1;display:flex;align-items:center;gap:16px;min-width:0}.memory-hero-icon{flex:0 0 auto;width:64px;height:64px;display:grid;place-items:center;border-radius:21px;background:linear-gradient(135deg,#be185d,#7c3aed);color:#fff;font-size:29px;box-shadow:0 15px 28px rgba(190,24,93,.22)}.memory-eyebrow{font-size:9px;font-weight:900;letter-spacing:.14em;color:#9d174d}.memory-hero h1{margin:3px 0 4px;font-size:clamp(1.65rem,2.4vw,2.45rem);line-height:1.06;letter-spacing:-.04em}.memory-hero p{margin:0;max-width:760px;color:var(--mem-muted);font-size:.93rem}.memory-hero-tools{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.memory-live-status,.memory-tool{height:39px;border:1px solid var(--mem-border);border-radius:12px;background:#fff;display:inline-flex;align-items:center;gap:7px;padding:0 12px;text-decoration:none;font:inherit;font-size:.78rem;font-weight:800;cursor:pointer}.memory-live-status{color:#047857;background:#ecfdf5;border-color:#a7f3d0}.memory-live-status i{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 5px rgba(16,185,129,.1)}.memory-tool:hover{border-color:#f9a8d4;background:#fdf2f8;color:#9d174d}.memory-tool-primary{background:linear-gradient(135deg,#be185d,#7c3aed);color:#fff;border-color:transparent}.memory-tool-primary:hover{background:linear-gradient(135deg,#9d174d,#6d28d9);color:#fff}
.memory-grid{display:grid;gap:14px}.memory-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.memory-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.memory-grid-auto{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.memory-section{margin:16px 0}.memory-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 2px 10px}.memory-section-head>div{min-width:0}.memory-section-head small{display:block;font-size:.68rem;font-weight:900;letter-spacing:.1em;color:#a21caf}.memory-section-head h2{margin:2px 0;font-size:1.18rem;letter-spacing:-.02em}.memory-section-head p{margin:0;color:var(--mem-muted);font-size:.82rem}.memory-section-head>a{font-size:.78rem;color:#9d174d;text-decoration:none;font-weight:800}.memory-card-surface{background:var(--mem-card);border:1px solid var(--mem-border);border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.055);padding:17px}.memory-card-surface.tight{padding:12px}.memory-card-surface.gradient-pink{background:linear-gradient(145deg,#fff,#fdf2f8);border-color:#fbcfe8}.memory-card-surface.gradient-violet{background:linear-gradient(145deg,#fff,#f5f3ff);border-color:#ddd6fe}.memory-card-surface.gradient-blue{background:linear-gradient(145deg,#fff,#eff6ff);border-color:#bfdbfe}
.memory-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.memory-stat{min-height:110px;padding:15px;border:1px solid var(--mem-border);border-radius:19px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04);position:relative;overflow:hidden}.memory-stat:after{content:"";position:absolute;right:-30px;bottom:-38px;width:100px;height:100px;border-radius:50%;background:currentColor;opacity:.055}.memory-stat span{font-size:1.4rem}.memory-stat b{display:block;margin-top:8px;font-size:1.55rem;letter-spacing:-.04em}.memory-stat small{display:block;color:var(--mem-muted);font-size:.68rem;font-weight:750}.memory-stat.pink{color:#be185d;background:#fff7fb;border-color:#fbcfe8}.memory-stat.violet{color:#7c3aed;background:#faf8ff;border-color:#ddd6fe}.memory-stat.blue{color:#2563eb;background:#f8fbff;border-color:#bfdbfe}.memory-stat.cyan{color:#0891b2;background:#f4fdff;border-color:#bae6fd}.memory-stat.green{color:#059669;background:#f4fff9;border-color:#bbf7d0}.memory-stat.amber{color:#d97706;background:#fffaf0;border-color:#fde68a}
.memory-filter{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:9px;align-items:end;padding:14px;border:1px solid #e9d5ff;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(15,23,42,.045)}.memory-field{display:grid;gap:5px;min-width:0}.memory-field label,.memory-field>span{font-size:.68rem;font-weight:850;color:#475569}.memory-field input,.memory-field select,.memory-field textarea,.memory-form input,.memory-form select,.memory-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#0f172a;padding:10px 11px;font:inherit;font-size:.84rem;outline:0;transition:.16s}.memory-field input:focus,.memory-field select:focus,.memory-field textarea:focus,.memory-form input:focus,.memory-form select:focus,.memory-form textarea:focus{border-color:#c084fc;box-shadow:0 0 0 4px #f3e8ff}.memory-filter-actions{display:flex;gap:7px;align-items:center}.memory-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:0 12px;border:1px solid #dbe2ea;border-radius:11px;background:#fff;color:#334155;text-decoration:none;font:inherit;font-size:.75rem;font-weight:800;cursor:pointer;transition:.15s}.memory-btn:hover{transform:translateY(-1px);border-color:#f9a8d4;background:#fff7fb;color:#9d174d}.memory-btn-primary{color:#fff!important;border-color:transparent;background:linear-gradient(135deg,#be185d,#7c3aed)!important}.memory-btn-danger{color:#b91c1c;border-color:#fecaca;background:#fff1f2}.memory-btn-gold{color:#92400e;border-color:#fde68a;background:#fffbeb}.memory-btn-green{color:#047857;border-color:#a7f3d0;background:#ecfdf5}.memory-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.memory-table-card{overflow:hidden;border:1px solid var(--mem-border);border-radius:19px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05)}.memory-table-card .mod-table-wrap{margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.memory-table{width:100%;border-collapse:collapse;font-size:.78rem}.memory-table th{padding:11px 12px;background:#faf7ff;text-align:left;color:#6b21a8;font-size:.67rem;letter-spacing:.055em;text-transform:uppercase;white-space:nowrap}.memory-table td{padding:11px 12px;border-top:1px solid #eef2f7;vertical-align:middle}.memory-table tr:hover td{background:#fffafd}.memory-table .title-cell{font-weight:800;color:#831843}.memory-table .actions-cell{white-space:nowrap}.memory-empty{padding:34px 18px;text-align:center;color:#64748b}.memory-empty span{display:block;font-size:2.3rem;margin-bottom:6px}.memory-empty b{display:block;color:#334155;margin-bottom:3px}.memory-pagination{display:flex;gap:5px;align-items:center;justify-content:center;flex-wrap:wrap;margin:14px 0}.memory-pagination a{min-width:34px;height:34px;padding:0 8px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;display:grid;place-items:center;text-decoration:none;font-size:.74rem;font-weight:800;color:#475569}.memory-pagination a:hover,.memory-pagination a.active{background:#be185d;border-color:#be185d;color:#fff}
.memory-card{overflow:hidden;border:1px solid var(--mem-border);border-radius:21px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.055);transition:transform .18s ease,box-shadow .18s ease}.memory-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(15,23,42,.11)}.memory-card-media-wrap{position:relative;display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#fdf2f8,#f5f3ff);overflow:hidden;text-decoration:none}.memory-card-media{width:100%;height:100%;object-fit:cover;display:block}.memory-card video.memory-card-media{background:#111827}.memory-media-placeholder{display:grid;place-items:center;align-content:center;gap:5px;color:#9d174d;font-size:2rem}.memory-media-placeholder small{font-size:.67rem;color:#64748b}.memory-type-chip,.memory-fav-chip{position:absolute;top:10px;padding:5px 8px;border-radius:999px;background:rgba(15,23,42,.76);color:#fff;font-size:.6rem;font-weight:850;backdrop-filter:blur(8px)}.memory-type-chip{left:10px}.memory-fav-chip{right:10px;background:rgba(146,64,14,.85)}.memory-card-body{padding:14px}.memory-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.memory-card-head>div{min-width:0}.memory-card-head small{font-size:.62rem;color:#a21caf;font-weight:850}.memory-card-head h3{margin:2px 0 0;font-size:1rem;line-height:1.25}.memory-card-head h3 a{text-decoration:none}.memory-card-head h3 a:hover{color:#be185d}.memory-date-badge{flex:0 0 auto;padding:4px 7px;border-radius:8px;background:#f8fafc;color:#64748b;font-size:.58rem;font-weight:750}.memory-card-body>p{margin:8px 0 11px;color:#64748b;font-size:.76rem;line-height:1.45}
.memory-form-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:15px}.memory-form{display:grid;gap:13px;padding:18px;border:1px solid var(--mem-border);border-radius:21px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05)}.memory-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.memory-form label{display:grid;gap:5px;font-size:.72rem;font-weight:850;color:#475569}.memory-form textarea{min-height:120px;resize:vertical}.memory-form small{font-size:.66rem;color:#64748b;font-weight:500}.memory-form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding-top:4px}.memory-upload-box{position:relative;padding:16px;border:2px dashed #f0abfc;border-radius:18px;background:linear-gradient(145deg,#fff7fb,#faf5ff);text-align:center}.memory-upload-box>span{font-size:2rem}.memory-upload-box h3{margin:4px 0;font-size:1rem}.memory-upload-box p{margin:0 0 10px;color:#64748b;font-size:.72rem}.memory-upload-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.memory-upload-option{position:relative;overflow:hidden;min-height:62px;border:1px solid #e9d5ff;border-radius:13px;background:#fff;display:grid;place-items:center;align-content:center;gap:2px;font-size:.68rem;font-weight:800;cursor:pointer}.memory-upload-option span{font-size:1.2rem}.memory-upload-option input{position:absolute;inset:0;opacity:0;cursor:pointer}.memory-upload-progress{height:11px;margin-top:10px;border-radius:999px;background:#f1f5f9;overflow:hidden}.memory-upload-progress[hidden]{display:none}.memory-upload-progress b{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#be185d,#7c3aed,#0891b2);transition:width .18s}.memory-upload-status{display:block;margin-top:6px;color:#64748b;font-size:.68rem}.memory-preview{overflow:hidden;border:1px solid var(--mem-border);border-radius:19px;background:#fff}.memory-preview-media{min-height:220px;display:grid;place-items:center;background:linear-gradient(145deg,#fdf2f8,#f5f3ff)}.memory-preview-media img,.memory-preview-media video{width:100%;max-height:420px;object-fit:contain;display:block;background:#0f172a}.memory-preview-media .empty{padding:38px;text-align:center;color:#94a3b8}.memory-preview-media .empty span{display:block;font-size:2.3rem}.memory-preview-info{padding:12px}.memory-preview-info h3{margin:0;font-size:.94rem}.memory-preview-info p{margin:4px 0 0;color:#64748b;font-size:.71rem}
.memory-detail-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);gap:15px}.memory-detail-media{overflow:hidden;border:1px solid var(--mem-border);border-radius:22px;background:#111827;box-shadow:var(--mem-shadow)}.memory-detail-media img,.memory-detail-media video{width:100%;max-height:72vh;object-fit:contain;display:block;margin:auto}.memory-detail-panel{display:grid;align-content:start;gap:11px}.memory-detail-meta{padding:17px;border:1px solid var(--mem-border);border-radius:20px;background:#fff}.memory-detail-meta small{color:#a21caf;font-size:.66rem;font-weight:900}.memory-detail-meta h2{margin:4px 0 9px;font-size:1.28rem}.memory-detail-meta p{color:#64748b;font-size:.82rem;white-space:pre-wrap}.memory-meta-list{display:grid;gap:6px;margin-top:12px}.memory-meta-row{display:flex;justify-content:space-between;gap:12px;padding:8px 9px;border-radius:10px;background:#f8fafc;font-size:.72rem}.memory-meta-row span{color:#64748b}.memory-meta-row b{text-align:right}
.memory-timeline{position:relative;display:grid;gap:20px}.memory-timeline-year{position:relative}.memory-timeline-year>h2{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;padding:7px 11px;border-radius:12px;background:#181123;color:#fff;font-size:1rem}.memory-timeline-month{position:relative;margin-left:24px;padding-left:20px;border-left:2px solid #f0abfc}.memory-timeline-month>h3{margin:0 0 10px;color:#7e22ce;font-size:.88rem}.memory-timeline-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memory-timeline-item{display:grid;grid-template-columns:112px 1fr;gap:11px;min-height:112px;padding:10px;border:1px solid var(--mem-border);border-radius:17px;background:#fff}.memory-timeline-item .thumb{overflow:hidden;border-radius:12px;background:#f8fafc}.memory-timeline-item .thumb img,.memory-timeline-item .thumb video{width:100%;height:100%;object-fit:cover}.memory-timeline-item h4{margin:3px 0;font-size:.9rem}.memory-timeline-item p{margin:3px 0;color:#64748b;font-size:.67rem}.memory-timeline-item a{color:#9d174d;font-weight:800;font-size:.7rem;text-decoration:none}.memory-loader-row{padding:18px;text-align:center;color:#64748b;font-size:.76rem}.memory-loader-row .dots{display:inline-flex;gap:4px;margin-right:7px}.memory-loader-row .dots i{width:6px;height:6px;border-radius:50%;background:#be185d;animation:memDot 1s infinite alternate}.memory-loader-row .dots i:nth-child(2){animation-delay:.2s}.memory-loader-row .dots i:nth-child(3){animation-delay:.4s}@keyframes memDot{to{opacity:.2;transform:translateY(-3px)}}
.memory-alert{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;margin:0 0 12px;border:1px solid;border-radius:14px;font-size:.78rem;font-weight:700}.memory-alert-success{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.memory-alert-danger{background:#fff1f2;border-color:#fecdd3;color:#be123c}.memory-alert-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.memory-alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}
.memory-health{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}.memory-health-card{padding:15px;border:1px solid var(--mem-border);border-radius:18px;background:#fff}.memory-health-card h3{margin:0 0 4px;font-size:.92rem}.memory-health-card p{margin:0 0 10px;color:#64748b;font-size:.72rem}.memory-progress{height:12px;border-radius:999px;background:#f1f5f9;overflow:hidden}.memory-progress b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#be185d,#7c3aed,#0891b2)}.memory-health-list{display:grid;gap:7px}.memory-health-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:11px;background:#f8fafc;font-size:.72rem}.memory-health-item b{font-size:.82rem}
.memory-email-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);gap:15px}.memory-email-preview{overflow:hidden;border:1px solid var(--mem-border);border-radius:22px;background:#fff;box-shadow:var(--mem-shadow)}.memory-email-toolbar{padding:10px 13px;border-bottom:1px solid var(--mem-border);display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f8fafc}.memory-email-canvas{padding:18px;background:#eef2f7}.memory-email-message{max-width:720px;margin:auto;overflow:hidden;border-radius:20px;background:#fff;box-shadow:0 16px 45px rgba(15,23,42,.13)}.memory-email-head{padding:28px;color:#fff;background:linear-gradient(135deg,#be185d,#7c3aed)}.memory-email-head small{opacity:.78;font-size:.67rem;font-weight:900;letter-spacing:.1em}.memory-email-head h2{margin:5px 0 0;font-size:1.55rem}.memory-email-body{padding:24px}.memory-email-body p{font-size:.82rem;color:#475569}.memory-email-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.memory-email-kpis div{padding:11px;border-radius:12px;background:#faf5ff;text-align:center}.memory-email-kpis b{display:block;font-size:1.2rem;color:#7e22ce}.memory-email-kpis small{font-size:.62rem;color:#64748b}.memory-theme-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.memory-theme-option{position:relative}.memory-theme-option input{position:absolute;opacity:0}.memory-theme-option label{display:block;padding:10px;border:2px solid #e2e8f0;border-radius:12px;background:#fff;font-size:.68rem;text-align:center;cursor:pointer}.memory-theme-option input:checked+label{border-color:#be185d;background:#fdf2f8;color:#9d174d;font-weight:900}
@media(max-width:1300px){.memory-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.memory-main{width:min(100% - 24px,1200px)}.memory-hero{align-items:flex-start;flex-direction:column}.memory-hero-tools{justify-content:flex-start}.memory-form-layout,.memory-detail-layout,.memory-email-layout,.memory-health{grid-template-columns:1fr}.memory-timeline-list{grid-template-columns:1fr}}
@media(max-width:720px){body{padding-top:calc(var(--mod-top-h,62px) + 48px);padding-bottom:82px}.memory-main{width:calc(100% - 16px)}.memory-hero{padding:17px;border-radius:20px}.memory-hero-copy{align-items:flex-start}.memory-hero-icon{width:49px;height:49px;border-radius:16px;font-size:22px}.memory-hero h1{font-size:1.45rem}.memory-hero p{font-size:.8rem}.memory-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.memory-stat{min-height:96px;padding:12px}.memory-stat b{font-size:1.25rem}.memory-filter{grid-template-columns:1fr 1fr;padding:11px}.memory-filter .memory-field.search-wide{grid-column:1/-1}.memory-form-grid{grid-template-columns:1fr}.memory-upload-options{grid-template-columns:1fr}.memory-theme-grid{grid-template-columns:repeat(2,1fr)}.memory-email-kpis{grid-template-columns:1fr 1fr}.memory-card-head{display:grid}.memory-date-badge{width:max-content}.memory-table th,.memory-table td{padding:9px 10px}.memory-timeline-month{margin-left:5px;padding-left:14px}.memory-timeline-item{grid-template-columns:84px 1fr}.memory-actions{align-items:stretch}.memory-actions .memory-btn{flex:1}.memory-section-head{align-items:flex-start}}
@media(max-width:440px){.memory-stat-grid{grid-template-columns:1fr 1fr}.memory-filter{grid-template-columns:1fr}.memory-email-kpis{grid-template-columns:1fr}.memory-theme-grid{grid-template-columns:1fr 1fr}.memory-timeline-item{grid-template-columns:1fr}.memory-timeline-item .thumb{aspect-ratio:16/8}.memory-hero-tools .memory-live-status{display:none}}
@media(prefers-reduced-motion:reduce){.memory-card,.memory-btn,.memory-loader-row .dots i{transition:none!important;animation:none!important}}
@media print{body{padding:0!important;background:#fff!important}.mod-topbar,.mod-top-quickbar,.mod-sidebar,.mod-rightbar,.mod-bottom,.mod-more-sheet,.memory-hero-tools{display:none!important}.memory-main{width:100%!important}.memory-card-surface,.memory-card,.memory-table-card{box-shadow:none!important;break-inside:avoid}}
.memory-progress-native{display:block;width:100%;height:12px;border:0;border-radius:999px;overflow:hidden;background:#f1f5f9;appearance:none}.memory-progress-native::-webkit-progress-bar{background:#f1f5f9;border-radius:999px}.memory-progress-native::-webkit-progress-value{background:linear-gradient(90deg,#be185d,#7c3aed,#0891b2);border-radius:999px}.memory-progress-native::-moz-progress-bar{background:linear-gradient(90deg,#be185d,#7c3aed,#0891b2);border-radius:999px}.memory-actions-spaced{margin-top:12px}.memory-notice-icon{font-size:1.5rem}.memory-notice-text{display:block;color:#64748b}.memory-section a.memory-card-surface{text-decoration:none}.memory-empty-actions{justify-content:center;padding-bottom:18px}.memory-current-media{width:100%;max-height:420px;object-fit:contain;display:block;background:#111827}.memory-form-label{display:block;margin-bottom:7px;font-size:.72rem;font-weight:850;color:#475569}.memory-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:8px!important}.memory-check input{width:auto!important;margin:0}.memory-card-surface.tight p{margin:4px 0 0;color:#64748b;font-size:.72rem}.memory-email-message.theme-rose .memory-email-head{background:linear-gradient(135deg,#be185d,#7c3aed)}.memory-email-message.theme-violet .memory-email-head{background:linear-gradient(135deg,#6d28d9,#2563eb)}.memory-email-message.theme-green .memory-email-head{background:linear-gradient(135deg,#047857,#0891b2)}.memory-email-message.theme-sunset .memory-email-head{background:linear-gradient(135deg,#c2410c,#be185d)}.memory-email-toolbar span{font-size:.68rem;color:#64748b}

.memory-load-more{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:18px}.memory-load-more small{color:#64748b;font-size:.78rem}

/* ============================================================
   ACKYSHINE SOCIAL GALLERY WALL · v40
   Immersive vertical discovery feed. Existing management pages
   continue to use the shared Gallery component system above.
   ============================================================ */
body.social-wall-page{background:#050506;color:#fff;overscroll-behavior-y:contain}
body.social-wall-page .memory-main{width:100%;max-width:none;margin:0;padding:0}
.social-wall-app{position:relative;min-height:100vh;background:radial-gradient(circle at 50% -10%,rgba(124,58,237,.23),transparent 34%),#050506;color:#fff}
.social-feed-header{position:sticky;top:var(--mod-top-h,70px);z-index:90;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:7px max(12px,calc((100% - 840px)/2));background:linear-gradient(180deg,rgba(5,5,6,.98),rgba(5,5,6,.88));backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}
.social-feed-tabs{display:flex;align-items:center;gap:5px;min-width:0}.social-feed-tabs a,.social-active-category{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 13px;border-radius:999px;color:rgba(255,255,255,.66);text-decoration:none;font-weight:850;font-size:13px;white-space:nowrap}.social-feed-tabs a.active{background:#fff;color:#09090b}.social-feed-tabs a em{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:rgba(124,58,237,.22);color:#c4b5fd;font-style:normal;font-size:10px}.social-active-category{background:rgba(236,72,153,.15);color:#f9a8d4;border:1px solid rgba(236,72,153,.25)}
.social-feed-tools{display:flex;align-items:center;gap:7px}.social-feed-tools button,.social-create-top{height:38px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.075);color:#fff;padding:0 12px;font:inherit;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.social-feed-tools button:hover,.social-create-top:hover{background:rgba(255,255,255,.13)}.social-create-top{display:inline-flex;align-items:center;background:linear-gradient(135deg,#7c3aed,#ec4899);border:0}.social-volume{display:flex;align-items:center;gap:7px;height:38px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055)}.social-volume input{width:78px;accent-color:#ec4899}
.social-category-strip{position:sticky;top:calc(var(--mod-top-h,70px) + 54px);z-index:89;display:flex;gap:7px;overflow-x:auto;padding:8px max(10px,calc((100% - 840px)/2));background:rgba(5,5,6,.9);border-bottom:1px solid rgba(255,255,255,.055);scrollbar-width:none}.social-category-strip::-webkit-scrollbar{display:none}.social-category-strip a{display:flex;align-items:center;gap:6px;flex:0 0 auto;height:34px;padding:0 11px;border-radius:999px;background:#17171b;color:#d4d4d8;text-decoration:none;font-size:11px;font-weight:800;border:1px solid rgba(255,255,255,.07)}.social-category-strip a small{color:#71717a}.social-category-strip a i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#7c3aed;color:#fff;font-size:9px;font-style:normal}.social-category-strip a:hover,.social-category-strip a.active{background:#fff;color:#09090b}.social-category-strip a.active small{color:#52525b}
.social-setup-warning,.social-following-empty{width:min(720px,calc(100% - 28px));margin:14px auto;padding:14px 16px;border-radius:18px;background:#18181b;border:1px solid rgba(251,191,36,.3);display:flex;gap:12px;align-items:center}.social-setup-warning>span{font-size:24px}.social-setup-warning>div{display:grid;flex:1}.social-setup-warning small{color:#a1a1aa}.social-setup-warning a,.social-following-empty a{padding:8px 12px;border-radius:999px;background:#f59e0b;color:#111827;text-decoration:none;font-size:11px;font-weight:900}.social-following-empty{display:grid;text-align:center;justify-items:center;padding:34px 20px;border-color:rgba(124,58,237,.3)}.social-following-empty>span{font-size:42px}.social-following-empty h2{margin:0}.social-following-empty p{max-width:540px;margin:0;color:#a1a1aa}
.social-feed{width:min(760px,100%);margin:0 auto;scroll-snap-type:y mandatory;scroll-padding-top:0}.social-post{position:relative;scroll-snap-align:start;scroll-snap-stop:always;padding:12px 10px}.social-stage{height:calc(100dvh - var(--mod-top-h,70px) - 126px);min-height:590px;max-height:900px;border-radius:24px;overflow:hidden;background:#000;box-shadow:0 24px 90px rgba(0,0,0,.42);border:1px solid rgba(255,255,255,.08)}
.social-media-shell{position:relative;width:100%;height:100%;overflow:hidden;background:#000;isolation:isolate}.social-media{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}.social-image{object-fit:contain}.social-media-missing{display:grid;place-items:center;align-content:center;gap:10px;font-size:52px;color:#71717a}.social-media-missing span{font-size:12px}.social-media-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.08) 46%,rgba(0,0,0,.18) 62%,rgba(0,0,0,.92) 100%)}
.social-center-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:70px;height:70px;border:0;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;font-size:27px;backdrop-filter:blur(10px);opacity:.88;cursor:pointer;transition:.2s}.social-center-play.playing{opacity:0}.social-media-shell:hover .social-center-play.playing{opacity:.28}
.social-post-copy{position:absolute;z-index:6;left:22px;right:96px;bottom:24px;color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.7)}.social-author-row{display:flex;align-items:center;gap:9px;margin-bottom:10px}.social-author-row img{width:39px;height:39px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.92);background:#fff}.social-author-row>div{display:grid;min-width:0}.social-author-row b{font-size:13px}.social-author-row small{font-size:9px;color:rgba(255,255,255,.7)}.social-category-follow{margin-left:auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:31px;padding:0 11px;border-radius:999px;border:1px solid rgba(255,255,255,.5);background:rgba(0,0,0,.28);color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.social-category-follow.is-following{border-color:#a78bfa;background:rgba(124,58,237,.36)}.social-post-copy h2{margin:0 0 5px;font-size:clamp(1.05rem,2vw,1.42rem);line-height:1.18}.social-post-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 8px;max-width:570px;color:rgba(255,255,255,.86);font-size:12px;line-height:1.45}.social-meta-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:10px}.social-meta-line span{font-weight:900}.social-meta-line a{color:rgba(255,255,255,.78);text-decoration:none}.social-meta-line a:hover{color:#fff;text-decoration:underline}
.social-action-rail{position:absolute;z-index:7;right:14px;bottom:27px;display:grid;gap:12px}.social-action{width:66px;border:0;background:transparent;color:#fff;display:grid;justify-items:center;gap:2px;cursor:pointer;text-shadow:0 2px 12px rgba(0,0,0,.75)}.social-action>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:rgba(20,20,24,.68);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(11px);font-size:21px;transition:.18s}.social-action:hover>span{transform:scale(1.08);background:rgba(39,39,42,.88)}.social-action.is-active>span{background:rgba(225,29,72,.82);box-shadow:0 0 0 5px rgba(244,63,94,.12)}.social-action b{font-size:11px}.social-action small{font-size:8px;color:rgba(255,255,255,.7)}.social-sound-action b{font-size:9px}
.social-progress{position:absolute;z-index:8;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.14)}.social-progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,#8b5cf6,#ec4899);transition:width .12s linear}.social-heart-burst{position:absolute;z-index:20;transform:translate(-50%,-50%);font-size:74px;pointer-events:none;animation:socialHeart .7s ease-out forwards}@keyframes socialHeart{0%{transform:translate(-50%,-50%) scale(.45);opacity:0}35%{opacity:1;transform:translate(-50%,-50%) scale(1.25)}100%{opacity:0;transform:translate(-50%,-70%) scale(1)}}
.social-feed-sentinel,.social-empty-feed{min-height:180px;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;color:#71717a}.social-feed-sentinel span,.social-empty-feed>span{font-size:32px}.social-feed-sentinel.loading span{animation:spin 1s linear infinite}.social-empty-feed{min-height:65vh;padding:30px}.social-empty-feed h2{margin:0;color:#fff}.social-empty-feed p{max-width:500px;margin:0;color:#a1a1aa}.social-empty-feed a{margin-top:12px;padding:10px 15px;border-radius:999px;background:#7c3aed;color:#fff;text-decoration:none;font-weight:900}.social-floating-create{position:fixed;right:max(18px,calc(var(--mod-right-w,0px) + 18px));bottom:92px;z-index:95;width:52px;height:52px;border:0;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#ec4899);color:#fff;font-size:28px;box-shadow:0 14px 40px rgba(124,58,237,.4);cursor:pointer}
body.social-comments-open{overflow:hidden}.social-comments-drawer{position:fixed;inset:0;z-index:9000}.social-comments-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.58);backdrop-filter:blur(3px)}.social-comments-panel{position:absolute;right:0;top:0;bottom:0;width:min(470px,100%);display:grid;grid-template-rows:auto auto 1fr auto;background:#fff;color:#18181b;box-shadow:-30px 0 90px rgba(0,0,0,.32);animation:socialDrawer .2s ease-out}@keyframes socialDrawer{from{transform:translateX(100%)}to{transform:none}}.social-comments-panel>header{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #e4e4e7}.social-comments-panel>header small{color:#7c3aed;font-size:9px;font-weight:900;letter-spacing:.11em}.social-comments-panel h2{margin:2px 0 0;font-size:18px}.social-comments-panel h2 em{font-style:normal;color:#71717a;font-size:12px}.social-comments-panel>header button{width:38px;height:38px;border:0;border-radius:50%;background:#f4f4f5;font-size:24px;cursor:pointer}.social-comments-live{display:flex;align-items:center;gap:7px;padding:8px 18px;border-bottom:1px solid #f4f4f5;color:#71717a;font-size:9px}.social-comments-live i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.11)}.social-comments-list{overflow:auto;padding:12px 16px 30px}.social-comment{display:grid;grid-template-columns:36px 1fr;gap:9px;padding:10px 0}.social-comment.is-reply{margin-left:38px;border-left:2px solid #ede9fe;padding-left:11px}.social-comment>img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#f4f4f5}.social-comment header{display:flex;align-items:center;gap:8px}.social-comment header b{font-size:12px}.social-comment header small{color:#a1a1aa;font-size:8px}.social-comment p{margin:3px 0;color:#3f3f46;font-size:12px;line-height:1.45;white-space:pre-wrap}.social-comment footer{display:flex;gap:10px}.social-comment footer button{border:0;background:transparent;padding:0;color:#7c3aed;font-size:9px;font-weight:900;cursor:pointer}.social-comments-empty,.social-comments-loading{padding:30px;text-align:center;color:#71717a;font-size:12px}.social-comment-form{padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e4e4e7;background:#fff}.social-comment-form textarea{display:block;width:100%;resize:none;border:1px solid #d4d4d8;border-radius:15px;padding:11px 12px;outline:none;font:inherit;font-size:12px}.social-comment-form textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.1)}.social-comment-form>div{display:flex;align-items:center;gap:7px;margin-top:7px}.social-comment-form small{margin-right:auto;color:#7c3aed}.social-comment-form button{border:0;border-radius:999px;background:#7c3aed;color:#fff;padding:8px 13px;font-weight:850;cursor:pointer}.social-comment-form [data-social-cancel-reply]{background:#f4f4f5;color:#52525b}.social-login-comment{padding:16px}.social-login-comment a{display:block;text-align:center;padding:11px;border-radius:999px;background:#18181b;color:#fff;text-decoration:none;font-weight:900}
.social-toast-stack{position:fixed;z-index:9200;left:50%;bottom:96px;transform:translateX(-50%);display:grid;gap:7px;pointer-events:none}.social-toast{display:flex;align-items:center;gap:8px;min-width:210px;max-width:calc(100vw - 30px);padding:10px 13px;border-radius:999px;background:rgba(24,24,27,.94);color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.28);opacity:0;transform:translateY(10px);transition:.2s}.social-toast.show{opacity:1;transform:none}.social-toast b{font-size:11px}
@media(max-width:1100px){.social-feed-header{top:calc(var(--mod-top-h,70px) + var(--mod-quickbar-h,56px))}.social-category-strip{top:calc(var(--mod-top-h,70px) + var(--mod-quickbar-h,56px) + 54px)}.social-stage{height:calc(100dvh - var(--mod-top-h,70px) - var(--mod-quickbar-h,56px) - 126px);min-height:520px}}
@media(max-width:900px){body.social-wall-page{padding-left:0!important;padding-right:0!important}.social-feed-header{padding-inline:9px;top:calc(var(--mod-top-h,62px) + var(--mod-quickbar-h,52px));min-height:50px}.social-category-strip{top:calc(var(--mod-top-h,62px) + var(--mod-quickbar-h,52px) + 50px);padding-inline:8px}.social-feed-tools .social-volume{display:none}.social-feed-tools button{padding:0 10px}.social-feed-tools button span{display:none}.social-create-top{padding:0 10px}.social-post{padding:4px 0}.social-stage{height:calc(100dvh - var(--mod-top-h,62px) - var(--mod-quickbar-h,52px) - 92px);min-height:0;max-height:none;border-radius:0;border-inline:0}.social-feed{width:100%}.social-post-copy{left:14px;right:78px;bottom:18px}.social-action-rail{right:6px;bottom:18px;gap:9px}.social-action{width:61px}.social-action>span{width:44px;height:44px;font-size:19px}.social-author-row img{width:34px;height:34px}.social-category-follow{max-width:135px}.social-floating-create{right:14px;bottom:82px}.social-media{object-fit:contain}}
@media(max-width:560px){.social-feed-tabs a{padding:0 10px;font-size:11px}.social-feed-tabs a em{display:none}.social-active-category{display:none}.social-create-top{font-size:0;width:38px;padding:0;justify-content:center}.social-create-top::first-letter{font-size:18px}.social-post-copy h2{font-size:1.05rem}.social-post-copy p{-webkit-line-clamp:2;font-size:11px}.social-meta-line{font-size:9px}.social-action small{display:none}.social-action-rail{gap:7px}.social-category-strip a{height:31px;padding:0 9px}.social-comments-panel{width:100%}.social-comment.is-reply{margin-left:24px}.social-feed-header{min-height:46px}.social-category-strip{top:calc(var(--mod-top-h,62px) + var(--mod-quickbar-h,52px) + 46px)}.social-stage{height:calc(100dvh - var(--mod-top-h,62px) - var(--mod-quickbar-h,52px) - 83px)}}
@media(prefers-reduced-motion:reduce){.social-center-play,.social-action>span,.social-comment-panel,.social-toast{transition:none!important;animation:none!important}}
/* Social wall scrolling contract: the wall itself is the snap container. */
.social-wall-page{--social-feed-offset:178px;overflow:hidden}
.social-wall-page .social-wall-app{height:calc(100dvh - var(--mod-top-h,70px) - 18px);overflow:hidden}
.social-feed{height:calc(100dvh - var(--social-feed-offset));min-height:500px;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-y:contain}
.social-feed::-webkit-scrollbar{display:none}
.social-post{height:100%;min-height:100%;display:block;padding:7px 10px}
.social-stage{height:100%;min-height:0;max-height:none}
.social-feed-sentinel{scroll-snap-align:end;min-height:110px}
@media(max-width:1100px){.social-wall-page{--social-feed-offset:234px}.social-wall-page .social-wall-app{height:calc(100dvh - var(--mod-top-h,70px) - var(--mod-quickbar-h,56px))}.social-feed{min-height:380px}}
@media(max-width:900px){.social-wall-page{--social-feed-offset:210px}.social-wall-page .social-wall-app{height:calc(100dvh - var(--mod-top-h,62px) - var(--mod-quickbar-h,52px))}.social-post{padding:0}.social-stage{border-radius:0}}
@media(max-width:560px){.social-wall-page{--social-feed-offset:202px}}
.social-category-manager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.social-category-manager article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #e4e4e7;border-radius:18px;background:#fff}.social-category-manager article>div{display:flex;align-items:center;gap:10px}.social-category-manager article>div:first-child>span{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#ede9fe,#fce7f3);color:#7c3aed;font-weight:950}.social-category-manager h3{margin:0;color:#18181b;font-size:14px}.social-category-manager p{margin:3px 0 0;color:#71717a;font-size:10px}.social-category-manager a,.social-category-manager button{border:0;border-radius:999px;padding:8px 11px;background:#f4f4f5;color:#3f3f46;text-decoration:none;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.social-category-manager button{background:#18181b;color:#fff}.social-category-manager button.is-following{background:#ede9fe;color:#6d28d9}.social-category-manager button:disabled{opacity:.5}@media(max-width:760px){.social-category-manager{grid-template-columns:1fr}.social-category-manager article{align-items:flex-start}.social-category-manager article>div:last-child{align-self:center}}

/* ============================================================
   Social Wall Viewport Upgrade v42
   Full-height For You / Following canvas with compact captions.
   ============================================================ */
body.social-wall-page{
  --social-header-h:52px;
  --social-category-h:42px;
  --social-feed-offset:calc(var(--social-header-h) + var(--social-category-h));
  overflow:hidden!important;
  background:#050506!important;
  padding-top:0!important;
}
body.social-wall-page .memory-main{height:100dvh;overflow:hidden}
.social-wall-page .social-wall-app{
  height:100dvh!important;
  min-height:100dvh!important;
  overflow:hidden;
}
.social-feed-header{
  top:0!important;
  min-height:var(--social-header-h)!important;
  height:var(--social-header-h);
  padding-block:5px;
  z-index:120;
}
.social-category-strip{
  top:var(--social-header-h)!important;
  min-height:var(--social-category-h);
  height:var(--social-category-h);
  padding-block:4px;
  z-index:119;
}
.social-category-strip a{height:30px}
.social-feed{
  width:min(980px,100%)!important;
  height:calc(100dvh - var(--social-feed-offset))!important;
  min-height:0!important;
  margin:0 auto;
}
.social-post{height:100%!important;min-height:100%!important;padding:5px 8px!important}
.social-stage{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  border-radius:18px;
}
.social-media-shade{
  background:linear-gradient(180deg,rgba(0,0,0,.03) 0%,rgba(0,0,0,0) 66%,rgba(0,0,0,.50) 100%)!important;
}
.social-post-copy{
  left:15px!important;
  right:78px!important;
  bottom:12px!important;
  max-width:min(650px,calc(100% - 92px));
  padding:7px 9px 8px;
  border-radius:13px;
  background:linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.30) 75%,transparent);
  backdrop-filter:blur(2px);
  text-shadow:0 1px 8px rgba(0,0,0,.82);
}
.social-author-row{gap:7px;margin-bottom:4px}
.social-author-row img{width:29px!important;height:29px!important;border-width:1px}
.social-author-row b{font-size:11px}
.social-author-row small{font-size:8px}
.social-category-follow{height:25px;max-width:145px;padding:0 8px;font-size:8px}
.social-post-copy h2{
  margin:0 0 2px!important;
  font-size:clamp(.88rem,1.5vw,1.05rem)!important;
  line-height:1.12!important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.social-caption{display:flex;align-items:flex-end;gap:6px;min-width:0}
.social-caption p{
  flex:1;
  display:-webkit-box!important;
  -webkit-line-clamp:1!important;
  -webkit-box-orient:vertical;
  overflow:hidden!important;
  margin:0 0 3px!important;
  color:rgba(255,255,255,.84)!important;
  font-size:10px!important;
  line-height:1.28!important;
}
.social-caption-toggle{
  flex:0 0 auto;
  margin:0 0 2px;
  padding:0;
  border:0;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:2px;
}
.social-post.caption-expanded .social-post-copy{
  max-height:min(42%,300px);
  overflow:auto;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(10px);
}
.social-post.caption-expanded .social-caption{align-items:flex-start}
.social-post.caption-expanded .social-caption p{
  display:block!important;
  overflow:visible!important;
  -webkit-line-clamp:unset!important;
  white-space:pre-wrap;
  font-size:11px!important;
}
.social-meta-line{gap:7px!important;font-size:8px!important;line-height:1.15}
.social-action-rail{right:7px!important;bottom:10px!important;gap:7px!important}
.social-action{width:56px!important;gap:1px!important}
.social-action>span{width:40px!important;height:40px!important;font-size:18px!important}
.social-action b{font-size:9px!important}
.social-action small{display:none!important}
.social-floating-create{bottom:78px}
.social-feed-menu{
  display:none;
  place-items:center;
  width:36px;
  height:36px;
  flex:0 0 36px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  font:inherit;
  font-size:18px;
  cursor:pointer;
}
@media(max-width:900px){
  body.social-wall-page{--social-header-h:48px;--social-category-h:38px}
  .social-feed-menu{display:grid}
  .social-feed-header{padding-inline:7px!important}
  .social-feed-tabs{gap:3px}
  .social-feed-tabs a{height:34px;padding:0 9px}
  .social-category-strip{padding-inline:6px!important}
  .social-category-strip a{height:28px;padding-inline:8px}
  .social-post{padding:0!important}
  .social-stage{border-radius:0!important;border-inline:0!important}
  .social-post-copy{left:8px!important;right:65px!important;bottom:7px!important;max-width:calc(100% - 73px);padding:5px 7px 6px;border-radius:10px}
  .social-author-row img{width:26px!important;height:26px!important}
  .social-author-row b{font-size:10px}
  .social-category-follow{max-width:115px;height:23px}
  .social-post-copy h2{font-size:.86rem!important}
  .social-caption p{font-size:9px!important}
  .social-meta-line{font-size:7.5px!important}
  .social-action-rail{right:2px!important;bottom:6px!important;gap:5px!important}
  .social-action{width:53px!important}
  .social-action>span{width:38px!important;height:38px!important;font-size:17px!important}
  .social-action b{font-size:8.5px!important}
  .social-media{object-fit:contain!important}
}
@media(max-width:560px){
  body.social-wall-page{--social-header-h:46px;--social-category-h:36px}
  .social-feed-tabs a{font-size:10px;padding:0 8px}
  .social-category-strip a{height:27px;font-size:9px}
  .social-post-copy{right:59px!important}
  .social-meta-line a:first-of-type{display:none}
  .social-action{width:49px!important}
  .social-action>span{width:36px!important;height:36px!important;font-size:16px!important}
}

/* ============================================================
   Social interaction expansion v43 — favorites, downloads,
   liker viewer, replies, emojis and persistent notifications.
   ============================================================ */
.social-action-rail{max-height:calc(100% - 20px);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;overscroll-behavior:contain;padding-block:2px}
.social-action-rail::-webkit-scrollbar{display:none}
.social-action-link{text-decoration:none!important;color:#fff!important}
.social-action.is-favorite>span{background:rgba(245,158,11,.22)!important;box-shadow:0 0 0 1px rgba(251,191,36,.34) inset}
.social-action.is-favorite b{color:#fde68a}
.social-action-secondary>span{background:rgba(59,130,246,.17)!important}
.social-notification-top{position:relative;min-width:42px!important;padding:0 9px!important;gap:4px!important}
.social-notification-top b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#52525b;color:#fff;font-size:9px;line-height:1}
.social-notification-top.has-unread b{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.16)}
.social-notification-top.has-unread{border-color:rgba(248,113,113,.42)!important;background:rgba(127,29,29,.32)!important}
.social-comment-compose{position:relative;display:flex;align-items:flex-end;gap:7px}
.social-comment-compose textarea{padding-right:46px!important}
.social-emoji-toggle{position:absolute!important;right:7px;bottom:7px;width:32px;height:32px!important;min-height:32px!important;padding:0!important;border-radius:50%!important;background:#f4f4f5!important;color:#18181b!important;font-size:17px!important}
.social-emoji-panel{position:absolute;right:0;bottom:45px;z-index:5;width:min(286px,calc(100vw - 36px));padding:9px;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;border:1px solid #e4e4e7;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.22)}
.social-emoji-panel[hidden]{display:none!important}.social-emoji-panel button{display:grid!important;place-items:center;height:37px!important;padding:0!important;border:0!important;border-radius:10px!important;background:#fafafa!important;font-size:20px!important;cursor:pointer}.social-emoji-panel button:hover{background:#f3e8ff!important;transform:scale(1.05)}
.social-reply-target{display:inline-flex;margin:1px 0 4px;padding:2px 6px;border-radius:999px;background:#f5f3ff;color:#6d28d9;font-size:9px;font-weight:850}
.social-people-list,.social-notifications-list{overflow:auto;min-height:120px;max-height:calc(100dvh - 96px);padding:8px 12px 22px}
.social-person-row{display:flex;align-items:center;gap:10px;padding:10px 6px;border-bottom:1px solid #f1f5f9}.social-person-row img,.social-notification img{width:40px;height:40px;flex:0 0 40px;border-radius:50%;object-fit:cover;background:#f4f4f5}.social-person-row>div{min-width:0;flex:1}.social-person-row b{display:block;font-size:12px;color:#18181b}.social-person-row small{display:block;margin-top:2px;color:#71717a;font-size:9px}.social-person-row>span{font-size:17px}
.social-notification-note{padding:9px 14px;border-bottom:1px solid #e4e4e7;background:#fafafa;color:#71717a;font-size:10px;line-height:1.4}
.social-notification{display:flex;align-items:flex-start;gap:10px;padding:11px 6px;border-bottom:1px solid #f1f5f9;text-decoration:none;color:#18181b;border-radius:12px}.social-notification:hover{background:#faf5ff}.social-notification.is-unread{background:#fff7ed;box-shadow:inset 3px 0 #f97316}.social-notification>div{min-width:0;flex:1}.social-notification b{display:block;font-size:11px;line-height:1.3}.social-notification small{display:block;margin-top:3px;color:#71717a;font-size:8.5px}.social-notification p{margin:5px 0 0;color:#52525b;font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.social-notification>span{font-size:18px}
body.social-likes-open,body.social-notifications-open{overflow:hidden}
@media(max-height:690px){.social-action-rail{gap:3px!important}.social-action{width:48px!important}.social-action>span{width:34px!important;height:34px!important;font-size:15px!important}.social-action b{font-size:8px!important}}
@media(max-width:560px){.social-action-rail{max-height:calc(100% - 12px)}.social-notification-top{min-width:36px!important;padding-inline:6px!important}.social-notification-top b{min-width:16px;height:16px;font-size:8px}.social-emoji-panel{grid-template-columns:repeat(5,1fr)}}
.social-comment.is-focus{animation:socialCommentFocus 1.6s ease;background:#fff7ed;border-radius:12px;box-shadow:0 0 0 2px rgba(249,115,22,.25)}
@keyframes socialCommentFocus{0%,100%{background:#fff7ed}50%{background:#fef3c7}}


/* Social wall interaction polish v44 — remove redundant floating Create and make room for Liked. */
.social-wall-page .social-floating-create{display:none!important}
.social-feed-tabs{min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
.social-feed-tabs::-webkit-scrollbar{display:none}
.social-feed-tabs>a{flex:0 0 auto}
@media(max-width:640px){.social-feed-tabs{max-width:min(64vw,430px)}.social-feed-tools{flex:0 0 auto}}

/* Gallery Administrator: access-role permissions + moderation */
.gallery-admin-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:10px;background:var(--memory-card,#fff);border:1px solid var(--memory-border,#e2e8f0);border-radius:20px;box-shadow:0 12px 32px rgba(15,23,42,.06)}
.gallery-admin-tabs a{display:inline-flex;align-items:center;gap:8px;padding:11px 14px;border-radius:14px;text-decoration:none;font-weight:800;color:#334155;background:#f8fafc;border:1px solid #e2e8f0}.gallery-admin-tabs a.active{background:linear-gradient(135deg,#6d28d9,#db2777);color:#fff;border-color:transparent}.gallery-admin-tabs em{font-style:normal;min-width:24px;height:24px;border-radius:999px;display:inline-grid;place-items:center;padding:0 7px;background:rgba(15,23,42,.1);font-size:11px}.gallery-admin-tabs a.active em{background:rgba(255,255,255,.2)}
.gallery-admin-table-wrap{overflow:auto;border-radius:16px;border:1px solid #e2e8f0}.gallery-admin-table{min-width:860px;margin:0}.gallery-admin-table td,.gallery-admin-table th{vertical-align:middle}.gallery-admin-table td:first-child strong{display:block}.gallery-admin-chip{display:inline-flex;margin-top:6px;padding:4px 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-weight:800}
.gallery-switch{display:inline-flex;align-items:center;gap:9px;cursor:pointer}.gallery-switch input{position:absolute;opacity:0;pointer-events:none}.gallery-switch span{width:44px;height:24px;border-radius:999px;background:#cbd5e1;position:relative;transition:.2s}.gallery-switch span:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 7px rgba(15,23,42,.18);transition:.2s}.gallery-switch input:checked+span{background:linear-gradient(135deg,#16a34a,#22c55e)}.gallery-switch input:checked+span:after{transform:translateX(20px)}.gallery-switch input:disabled+span{opacity:.65}.gallery-switch b{font-size:12px;color:#475569}
.gallery-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.04em}.gallery-status.approved{background:#dcfce7;color:#166534}.gallery-status.hidden{background:#fef3c7;color:#92400e}.gallery-status.removed{background:#fee2e2;color:#991b1b}.gallery-status.neutral{background:#e2e8f0;color:#475569}
.gallery-moderation-list,.gallery-comment-moderation-list{display:grid;gap:14px}.gallery-moderation-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;padding:14px;background:#fff;border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 10px 30px rgba(15,23,42,.05)}.gallery-moderation-media{height:180px;border-radius:16px;overflow:hidden;background:#0f172a}.gallery-admin-media{width:100%;height:100%;object-fit:cover}.gallery-moderation-main{min-width:0}.gallery-moderation-title,.gallery-comment-mod-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.gallery-moderation-title h3,.gallery-comment-mod-head h3{margin:4px 0}.gallery-moderation-title p,.gallery-comment-mod-head p{margin:0;color:#64748b;font-size:13px}.gallery-moderation-form{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px dashed #e2e8f0}.gallery-moderation-form label{display:grid;gap:5px;font-size:12px;font-weight:800;color:#475569}.gallery-moderation-form input{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:12px}.gallery-moderation-actions{display:flex;gap:8px;flex-wrap:wrap}.gallery-comment-mod-card{padding:16px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 10px 26px rgba(15,23,42,.04)}.gallery-comment-mod-card blockquote{margin:12px 0;padding:12px 14px;border-left:4px solid #8b5cf6;background:#faf5ff;border-radius:0 12px 12px 0;color:#334155;white-space:normal}.gallery-pagination{justify-content:center;align-items:center;margin-top:16px}.social-comment-disabled{padding:16px;color:#92400e;background:#fffbeb;border-top:1px solid #fde68a;text-align:center;font-weight:800}
@media(max-width:780px){.gallery-admin-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.gallery-admin-tabs::-webkit-scrollbar{display:none}.gallery-moderation-card{grid-template-columns:1fr}.gallery-moderation-media{height:min(52vw,280px)}.gallery-moderation-title,.gallery-comment-mod-head{flex-direction:column}.gallery-moderation-actions .memory-btn{flex:1 1 42%}.gallery-role-form{padding:10px}}


/* ============================================================
   Social conversation reliability v46 — delegated comment open,
   threaded flow visibility, and durable notification follow-up.
   ============================================================ */
.social-comments-drawer[hidden]{display:none!important}
.social-comments-drawer.is-open{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:9400!important}
.social-comments-drawer.is-open .social-comments-panel{pointer-events:auto}
.social-action[data-social-comments]{position:relative;z-index:3;pointer-events:auto!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.social-action[data-social-comments] b,.social-action[data-social-comments] span,.social-action[data-social-comments] small{pointer-events:none}
.social-comment.is-reply{margin-left:calc(var(--comment-depth,1) * 18px)!important;border-left:2px solid #ddd6fe!important;padding-left:10px!important;position:relative}
.social-comment.is-reply:before{content:"";position:absolute;left:-2px;top:0;width:10px;height:18px;border-left:2px solid #ddd6fe;border-bottom:2px solid #ddd6fe;border-radius:0 0 0 8px;transform:translateX(-10px)}
.social-comment.is-focus{scroll-margin-block:90px}
.social-notification-note{display:flex;align-items:center;justify-content:space-between;gap:10px}
.social-notification-note>span{min-width:0;flex:1}
.social-notification-note button{flex:0 0 auto;border:1px solid #ddd6fe;border-radius:999px;background:#fff;color:#6d28d9;padding:7px 10px;font-size:9px;font-weight:900;cursor:pointer}
.social-notification-note button:hover{background:#f5f3ff}
.social-notification.is-unread:after{content:"";width:8px;height:8px;flex:0 0 8px;margin-top:5px;border-radius:50%;background:#f97316;box-shadow:0 0 0 4px rgba(249,115,22,.12)}
@media(max-width:560px){.social-comment.is-reply{margin-left:calc(var(--comment-depth,1) * 12px)!important;padding-left:8px!important}.social-notification-note{align-items:flex-start;flex-direction:column}.social-notification-note button{align-self:flex-end}}

/* ============================================================
   Social Profiles & Connections v47
   Custom profiles, privacy, followers, presence and discovery.
   ============================================================ */
.social-author-avatar,.social-author-name,.social-comment-avatar,.social-comment header a,.social-person-row a{color:inherit;text-decoration:none}.social-author-avatar{display:block;flex:0 0 auto}.social-author-row>div{min-width:0}.social-author-name b:hover,.social-comment header a:hover b,.social-person-row a:hover b{text-decoration:underline}.social-person-follow{height:25px;max-width:105px;padding:0 9px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(15,23,42,.28);color:#fff;font:inherit;font-size:9px;font-weight:900;white-space:nowrap;cursor:pointer}.social-person-follow.is-following{background:rgba(34,197,94,.22);border-color:rgba(134,239,172,.45)}
.social-comment-avatar{width:36px;height:36px}.social-comment-avatar img{width:36px;height:36px;border-radius:50%;object-fit:cover;background:#f4f4f5}.social-person-row>a:first-child{width:40px;height:40px;flex:0 0 40px}.social-person-row>a:first-child img{width:100%;height:100%}.social-person-row>div a{display:inline-block}
.social-empty-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.social-empty-actions a{padding:10px 14px;border-radius:999px;background:#fff;color:#18181b;text-decoration:none;font-weight:900}

.social-profile-shell,.people-social-hub{max-width:1180px;margin:0 auto;padding:18px 18px 80px}.social-profile-shell{--profile-accent:#7c3aed}.social-profile-cover{height:230px;border-radius:28px 28px 0 0;position:relative;overflow:hidden;background:linear-gradient(135deg,#6d28d9,#ec4899);box-shadow:0 18px 50px rgba(15,23,42,.12)}.profile-cover-aurora{background:linear-gradient(135deg,#312e81 0%,#7c3aed 38%,#ec4899 72%,#fb7185 100%)}.profile-cover-sunset{background:linear-gradient(135deg,#7c2d12,#f97316,#fb7185,#7c3aed)}.profile-cover-ocean{background:linear-gradient(135deg,#082f49,#0369a1,#06b6d4,#22c55e)}.profile-cover-forest{background:linear-gradient(135deg,#052e16,#166534,#16a34a,#84cc16)}.profile-cover-midnight{background:linear-gradient(135deg,#020617,#172554,#312e81,#581c87)}.profile-cover-rose{background:linear-gradient(135deg,#881337,#be123c,#e11d48,#f472b6)}.profile-cover-gold{background:linear-gradient(135deg,#422006,#a16207,#f59e0b,#fde047)}.profile-cover-pattern{position:absolute;inset:0;background-image:radial-gradient(circle at 15% 25%,rgba(255,255,255,.3) 0 2px,transparent 3px),radial-gradient(circle at 80% 20%,rgba(255,255,255,.14) 0 70px,transparent 71px),radial-gradient(circle at 55% 110%,rgba(255,255,255,.12) 0 150px,transparent 151px);background-size:34px 34px,auto,auto;mix-blend-mode:screen}.profile-cover-edit{position:absolute;right:18px;top:18px;padding:9px 13px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(15,23,42,.34);backdrop-filter:blur(12px);color:#fff;text-decoration:none;font-weight:900;font-size:11px}
.social-profile-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:end;padding:0 26px 18px;background:#fff;border:1px solid #e2e8f0;border-top:0}.social-profile-avatar-wrap{position:relative;width:138px;height:138px;margin-top:-70px}.social-profile-avatar-wrap img{width:100%;height:100%;object-fit:cover;border-radius:50%;border:6px solid #fff;background:#f8fafc;box-shadow:0 12px 32px rgba(15,23,42,.18)}.social-profile-avatar-wrap i{position:absolute;right:10px;bottom:11px;width:21px;height:21px;border:4px solid #fff;border-radius:50%;background:#94a3b8}.social-profile-avatar-wrap i.online{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}.social-profile-identity{padding-top:13px}.profile-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-name-row h1{margin:0;color:#0f172a;font-size:clamp(1.5rem,3vw,2.35rem);line-height:1.05}.social-profile-identity>small{display:block;margin-top:4px;color:#64748b;font-weight:750}.profile-creator-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:color-mix(in srgb,var(--profile-accent) 10%,white);color:var(--profile-accent);font-size:10px;font-weight:900}.profile-headline{margin:8px 0 0;color:#334155;font-size:14px}.profile-status-bubble{display:inline-flex;margin-top:9px;padding:6px 9px;border-radius:999px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;font-size:11px;font-weight:800}.profile-presence-line{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px;color:#64748b;font-size:10px}.profile-presence-line .is-online{color:#15803d;font-weight:900}.social-profile-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.profile-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;text-decoration:none;font:inherit;font-size:11px;font-weight:900;cursor:pointer}.profile-action.primary{border-color:transparent;background:var(--profile-accent);color:#fff}.profile-action.primary.is-following{background:#166534}.profile-action.primary.is-pending{background:#92400e}.profile-action.danger{color:#b91c1c;border-color:#fecaca;background:#fff7f7}.profile-action:disabled{opacity:.6;cursor:wait}
.social-profile-counts{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #e2e8f0;border-top:0;background:#fff}.social-profile-counts>a,.social-profile-counts>span{padding:14px;text-align:center;text-decoration:none;border-right:1px solid #f1f5f9;color:#334155}.social-profile-counts>*:last-child{border-right:0}.social-profile-counts b{display:block;color:#0f172a;font-size:18px}.social-profile-counts span span,.social-profile-counts a span{display:block;margin-top:2px;color:#64748b;font-size:9px;text-transform:uppercase;letter-spacing:.06em;font-weight:850}.social-profile-tabs{display:flex;align-items:center;gap:5px;overflow:auto;padding:8px;border:1px solid #e2e8f0;border-top:0;border-radius:0 0 24px 24px;background:#fff;scrollbar-width:none}.social-profile-tabs::-webkit-scrollbar{display:none}.social-profile-tabs a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:9px 12px;border-radius:12px;color:#64748b;text-decoration:none;font-size:10px;font-weight:900}.social-profile-tabs a:hover{background:#f8fafc;color:#0f172a}.social-profile-tabs a.active{background:color-mix(in srgb,var(--profile-accent) 10%,white);color:var(--profile-accent)}.social-profile-body{padding-top:18px}
.profile-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.profile-media-card{position:relative;aspect-ratio:1/1.15;overflow:hidden;border-radius:18px;background:#0f172a;text-decoration:none;color:#fff;box-shadow:0 10px 28px rgba(15,23,42,.08)}.profile-media-card img,.profile-media-card video{width:100%;height:100%;object-fit:cover}.profile-media-card>i{position:absolute;left:10px;top:10px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(15,23,42,.55);font-style:normal}.profile-media-card>span{position:absolute;left:0;right:0;bottom:0;padding:42px 12px 11px;background:linear-gradient(transparent,rgba(2,6,23,.84))}.profile-media-card>span b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-media-card>span small{display:block;margin-top:3px;color:rgba(255,255,255,.74);font-size:9px}.profile-empty,.profile-private-state{display:grid;place-items:center;min-height:280px;padding:30px;text-align:center;border:1px dashed #cbd5e1;border-radius:24px;background:#fff;color:#64748b}.profile-empty>span,.profile-private-state>span{font-size:46px}.profile-empty h3,.profile-private-state h2{margin:8px 0 4px;color:#0f172a}.profile-empty p,.profile-private-state p{margin:0;max-width:560px}
.profile-about-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:14px}.profile-panel{padding:20px;border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.05)}.profile-panel>small,.people-section-head small{color:var(--profile-accent,#7c3aed);font-size:9px;font-weight:950;letter-spacing:.1em}.profile-panel h2{margin:4px 0 10px;color:#0f172a}.profile-panel p{color:#475569;line-height:1.65}.profile-detail-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.profile-detail-list span,.profile-detail-list a{display:inline-flex;padding:7px 9px;border-radius:999px;background:#f8fafc;color:#475569;text-decoration:none;font-size:10px;font-weight:800}.profile-interest-cloud{display:flex;gap:7px;flex-wrap:wrap}.profile-interest-cloud span{padding:7px 10px;border-radius:999px;background:color-mix(in srgb,var(--profile-accent) 10%,white);color:var(--profile-accent);font-size:10px;font-weight:900}
.profile-insight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.profile-insight-grid article{padding:18px;border:1px solid #e2e8f0;border-radius:20px;background:#fff}.profile-insight-grid article>span{font-size:24px}.profile-insight-grid b{display:block;margin-top:10px;color:#0f172a;font-size:27px}.profile-insight-grid small{display:block;color:#64748b}.profile-insight-grid progress{width:100%;height:7px;margin-top:10px;accent-color:var(--profile-accent)}.profile-pulse{margin-top:14px}.profile-pulse-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.profile-pulse-actions a{padding:9px 11px;border-radius:999px;background:#f8fafc;color:#334155;text-decoration:none;font-weight:850;font-size:10px}
.profile-settings-form{padding:22px;border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:0 14px 40px rgba(15,23,42,.06)}.profile-form-head{display:flex;align-items:flex-start;gap:12px;padding-bottom:18px;border-bottom:1px solid #f1f5f9}.profile-form-head>span{font-size:30px}.profile-form-head h2{margin:0;color:#0f172a}.profile-form-head p{margin:5px 0 0;color:#64748b}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.profile-form-grid label,.profile-privacy-grid label,.profile-approval-select{display:grid;gap:6px;color:#475569;font-size:11px;font-weight:850}.profile-form-grid .span-2{grid-column:1/-1}.profile-form-grid input,.profile-form-grid textarea,.profile-form-grid select,.profile-privacy-grid select,.profile-approval-select select{width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;color:#0f172a;font:inherit;outline:none}.profile-form-grid input:focus,.profile-form-grid textarea:focus,.profile-form-grid select:focus,.profile-privacy-grid select:focus{border-color:var(--profile-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--profile-accent) 12%,transparent)}.profile-form-grid input[type=color]{height:44px;padding:5px}.profile-form-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.profile-privacy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}.profile-toggle-list{display:grid;gap:8px;margin-top:18px}.profile-toggle-list label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:15px;background:#fafafa}.profile-toggle-list input{margin-top:3px;accent-color:var(--profile-accent);width:18px;height:18px}.profile-toggle-list span{display:grid;gap:2px}.profile-toggle-list small{color:#64748b}.profile-approval-select{margin-top:16px}.profile-privacy-note{margin-top:12px;padding:11px 13px;border-radius:14px;background:#fff7ed;color:#9a3412;font-size:11px}

.people-pulse-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.people-pulse-row a{display:flex;align-items:center;gap:11px;padding:16px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;text-decoration:none;color:#334155;box-shadow:0 8px 24px rgba(15,23,42,.04)}.people-pulse-row a>span{font-size:25px}.people-pulse-row b{display:block;font-size:21px;color:#0f172a}.people-pulse-row small{margin-left:auto;color:#64748b;font-size:9px;font-weight:900;text-transform:uppercase}.people-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:8px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.people-toolbar nav{display:flex;gap:4px;overflow:auto;scrollbar-width:none}.people-toolbar nav a{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:9px 11px;border-radius:11px;color:#64748b;text-decoration:none;font-size:10px;font-weight:900}.people-toolbar nav a.active{background:#ede9fe;color:#6d28d9}.people-toolbar nav b{display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:#ef4444;color:#fff;font-size:8px}.people-toolbar form{display:flex;align-items:center;gap:7px;min-width:min(390px,42%);padding:0 6px 0 11px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc}.people-toolbar input{width:100%;border:0;background:transparent;padding:10px 0;outline:none}.people-toolbar button{border:0;border-radius:999px;padding:7px 11px;background:#0f172a;color:#fff;font-weight:900;cursor:pointer}.people-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 9px}.people-section-head h2{margin:3px 0 0}.people-section-head>span{color:#64748b;font-size:10px}.profile-people-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.social-person-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 8px 22px rgba(15,23,42,.04)}.social-person-avatar{position:relative;width:54px;height:54px}.social-person-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;background:#f8fafc}.social-person-avatar i{position:absolute;right:0;bottom:1px;width:13px;height:13px;border:3px solid #fff;border-radius:50%;background:#94a3b8}.social-person-avatar i.online{background:#22c55e}.social-person-main{min-width:0}.social-person-main>a{text-decoration:none;color:#0f172a}.social-person-main strong{font-size:13px}.social-person-main p{margin:2px 0;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}.social-person-main>small{display:block;margin-top:3px;color:#7c3aed;font-size:9px}.social-person-stats{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;color:#64748b;font-size:8.5px}.social-person-stats b{color:#334155}.social-person-stats .online-label{color:#16a34a;font-weight:900}.profile-follow-btn{min-width:94px;height:36px;padding:0 11px;border:0;border-radius:999px;background:var(--profile-accent,#7c3aed);color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.profile-follow-btn.is-following{background:#166534}.profile-follow-btn.is-pending{background:#92400e}.profile-request-card{display:grid;gap:8px}.profile-request-card>.social-person-card{width:100%}.profile-request-actions{display:flex;justify-content:flex-end;gap:7px}.profile-request-actions button{padding:8px 11px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-weight:900;cursor:pointer}.profile-request-actions button:first-child{background:#dcfce7;border-color:#bbf7d0;color:#166534}

@media(max-width:900px){.social-profile-shell,.people-social-hub{padding:12px 10px 78px}.social-profile-cover{height:180px;border-radius:20px 20px 0 0}.social-profile-head{grid-template-columns:auto 1fr;padding:0 15px 15px}.social-profile-avatar-wrap{width:104px;height:104px;margin-top:-50px}.social-profile-actions{grid-column:1/-1;justify-content:flex-start}.social-profile-counts{grid-template-columns:repeat(5,minmax(90px,1fr));overflow:auto}.social-profile-counts>a,.social-profile-counts>span{min-width:90px}.profile-media-grid{grid-template-columns:repeat(2,1fr)}.profile-about-grid{grid-template-columns:1fr}.profile-insight-grid{grid-template-columns:repeat(2,1fr)}.profile-form-grid,.profile-privacy-grid{grid-template-columns:1fr}.profile-form-grid .span-2{grid-column:auto}.people-pulse-row{grid-template-columns:repeat(2,1fr)}.people-toolbar{align-items:stretch;flex-direction:column}.people-toolbar form{min-width:0;width:100%}.profile-people-list{grid-template-columns:1fr}.social-person-follow{max-width:92px}}
@media(max-width:560px){.social-profile-cover{height:145px}.social-profile-head{grid-template-columns:82px 1fr;gap:10px}.social-profile-avatar-wrap{width:82px;height:82px;margin-top:-38px}.social-profile-avatar-wrap img{border-width:4px}.profile-name-row h1{font-size:1.35rem}.profile-creator-badge{font-size:8px}.profile-headline{font-size:11px}.social-profile-actions{gap:6px}.profile-action{min-height:36px;padding-inline:11px;font-size:9px}.social-profile-counts{grid-template-columns:repeat(5,82px)}.social-profile-counts>a,.social-profile-counts>span{min-width:82px;padding:10px 7px}.social-profile-counts b{font-size:15px}.profile-media-grid{grid-template-columns:repeat(2,1fr);gap:5px}.profile-media-card{border-radius:12px}.profile-insight-grid{grid-template-columns:1fr 1fr;gap:6px}.people-pulse-row{grid-template-columns:1fr 1fr;gap:6px}.people-pulse-row a{padding:12px}.people-pulse-row small{display:none}.social-person-card{grid-template-columns:auto minmax(0,1fr);padding:10px}.profile-follow-btn{grid-column:2;justify-self:start;height:32px}.social-person-follow{font-size:8px;padding-inline:7px}.social-author-row{flex-wrap:wrap}.social-category-follow{max-width:98px}}

/* Counted social profile tabs */
.social-profile-tabs a{position:relative}.profile-tab-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;margin-left:3px;border-radius:999px;background:color-mix(in srgb,var(--profile-accent,#7c3aed) 15%,transparent);color:var(--profile-accent,#7c3aed);font-size:11px;font-weight:900}.social-profile-tabs a.active .profile-tab-count{background:currentColor;color:#fff}.social-profile-tabs a.active .profile-tab-count{color:#fff;background:rgba(255,255,255,.22)}

.profile-follow-btn.is-closed,.profile-action.is-disabled{opacity:.72;cursor:not-allowed;background:#e2e8f0!important;color:#475569!important;border-color:#cbd5e1!important}
