:root{color:#202522;--accent:#ef6654;--accent-soft:#fff1ee;--muted:#7d8681;--line:#e4e8e4;--surface:#fff;--danger:#d94a4a;background:#f5f6f4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{color:#202522;-webkit-font-smoothing:antialiased;background:#f5f6f4;min-width:320px;margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #ef665438}.topbar{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffe0;position:sticky;top:0}.topbar-inner{justify-content:space-between;align-items:center;width:min(100% - 32px,920px);min-height:64px;margin:auto;display:flex}.brand,.topbar-right,.nav-tabs,.auth-status{align-items:center;display:flex}.brand{gap:9px;font-weight:750}.brand-mark{background:linear-gradient(145deg,#ff8b72,#e54c63);border-radius:11px;place-items:center;width:35px;height:35px;display:grid}.brand-mark svg{width:20px;height:20px}.topbar-right{gap:12px}.nav-tabs{background:#f2f4f2;border-radius:13px;gap:3px;padding:3px}.nav-link{width:38px;height:38px;color:var(--muted);border-radius:10px;place-items:center;display:grid}.nav-link svg{width:20px;height:20px}.nav-link.active{color:var(--accent);background:#fff;box-shadow:0 1px 4px #00000014}.auth-status{gap:10px}.auth-status .email,.muted{color:var(--muted);font-size:.82rem}.ghost-btn{border:1px solid var(--line);color:#4d5752;background:#fff;border-radius:999px;min-height:36px;padding:0 13px;font-size:.78rem}.container{width:min(100% - 32px,560px);margin:auto;padding:38px 0 72px}.page-intro{margin:0 3px 22px}.eyebrow,.auth-kicker{color:var(--accent);letter-spacing:.13em;margin:0 0 7px;font-size:.67rem;font-weight:800}.page-intro h1{letter-spacing:-.04em;margin:0;font-size:1.8rem}.page-intro p:not(.eyebrow){color:var(--muted);margin:8px 0 0;font-size:.88rem;line-height:1.55}.card{border:1px solid var(--line);background:var(--surface);border-radius:20px;margin-bottom:17px;overflow:hidden;box-shadow:0 8px 28px #1f2d250d}.auth-card{padding:25px}.auth-heading{margin-bottom:20px}.auth-heading h2{margin:0;font-size:1.25rem}.auth-heading p{color:var(--muted);margin:7px 0 0;font-size:.84rem}.tabs{background:#f3f5f3;border-radius:12px;gap:4px;margin-bottom:16px;padding:4px;display:flex}.tab{min-height:39px;color:var(--muted);background:0 0;border-radius:9px;flex:1;font-size:.85rem}.tab.active{color:#202522;background:#fff;font-weight:650;box-shadow:0 1px 4px #00000012}.auth-form{flex-direction:column;gap:9px;display:flex}.hidden,.auth-form.hidden{display:none}input,textarea{color:#202522;background:#fff;border:1px solid #dce1dd;border-radius:11px;width:100%}input{min-height:46px;padding:0 13px}textarea{resize:vertical;min-height:80px;padding:11px 13px}input:focus,textarea:focus{border-color:var(--accent);outline:0;box-shadow:0 0 0 3px #ef66541a}.auth-form>button,.post-submit-btn,.comment-form button{background:var(--accent);color:#fff;border-radius:999px;min-height:42px;padding:0 16px;font-size:.84rem;font-weight:700}.error,.notice{margin:0;font-size:.78rem}.error{color:var(--danger)}.notice{color:#288056}.composer{padding:18px}#post-form{flex-direction:column;gap:13px;display:flex}.composer-head{align-items:flex-start;gap:11px;display:flex}.composer textarea{min-height:58px;box-shadow:none;border:0;border-radius:0;padding:6px 0}.avatar,.profile-avatar{color:#fff;text-transform:uppercase;background:linear-gradient(145deg,#ff8b72,#e54c63);border-radius:50%;flex:none;place-items:center;font-weight:750;display:grid}.avatar{width:37px;height:37px;font-size:.82rem}.image-preview-wrap{border-radius:14px;display:none;position:relative;overflow:hidden}.image-preview-wrap.show{display:block}.image-preview-wrap img{object-fit:cover;width:100%;max-height:380px;display:block}.remove-image-btn,.modal-close{color:#fff;background:#141b17b3;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;display:grid}.remove-image-btn{position:absolute;top:9px;right:9px}.composer-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding-top:12px;display:flex}.image-upload-btn{min-height:40px;color:var(--accent);cursor:pointer;border-radius:10px;align-items:center;gap:6px;padding:0 9px;font-size:.82rem;font-weight:650;display:flex}.image-upload-btn:hover{background:var(--accent-soft)}.image-upload-btn svg{width:19px;height:19px}input[type=file]{display:none}.post-header{align-items:center;gap:10px;padding:15px 17px;display:flex}.post-header-meta{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.post-header-meta strong{text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;overflow:hidden}.post-header-meta .muted{font-size:.71rem}.post-image{background:#eef0ee}.post-image img{object-fit:cover;width:100%;max-height:600px;display:block}.post-body{padding:16px 17px 7px}.post-body p{white-space:pre-wrap;word-break:break-word;margin:0;font-size:.92rem;line-height:1.62}.post-actionbar{align-items:center;gap:2px;padding:2px 11px 7px;display:flex}.like-btn{background:0 0;border-radius:50%;place-items:center;width:40px;height:40px;padding:0;display:grid}.like-btn:hover{background:#f5f6f4}.like-btn svg{fill:none;stroke:#202522;width:23px;height:23px}.like-btn.liked svg{fill:var(--accent);stroke:var(--accent)}.like-btn.pulse svg{animation:.3s pulse}@keyframes pulse{50%{transform:scale(1.3)}}.like-count{color:#4d5752;font-size:.82rem;font-weight:650}.post-actions{gap:5px;padding:0 17px 11px;display:flex}.post-actions button,.edit-comment-btn,.delete-comment-btn{color:#4d5752;background:#f2f4f2;border-radius:999px;min-height:28px;padding:0 9px;font-size:.7rem}.delete-post-btn,.delete-comment-btn{color:var(--danger)!important}.comments{border-top:1px solid var(--line);margin-top:2px;padding:10px 17px 5px}.comment{color:#4d5752;flex-wrap:wrap;align-items:center;gap:6px;padding:4px 0;font-size:.81rem;line-height:1.45;display:flex}.comment-author{color:#202522;font-weight:700}.small{font-size:.7rem}.comment-form{gap:7px;padding:7px 17px 15px;display:flex}.comment-form input{border-color:var(--line);background:#f7f8f7;border-radius:999px;flex:1;min-height:40px;font-size:.81rem}.comment-form button{min-width:60px;min-height:40px;font-size:.77rem}.profile-header{border:1px solid var(--line);background:linear-gradient(135deg,#fff,#fff3ef);border-radius:20px;align-items:center;gap:24px;margin-bottom:26px;padding:25px;display:flex}.profile-avatar{width:86px;height:86px;font-size:1.6rem}.profile-copy{flex:1;min-width:0}.profile-nickname{letter-spacing:-.035em;margin:0;font-size:1.4rem}.profile-email{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 0;font-size:.8rem;overflow:hidden}.profile-stats{gap:24px;margin-top:16px;display:flex}.profile-stat{flex-direction:column;gap:1px;display:flex}.profile-stat span{color:var(--muted);font-size:.7rem}.section-heading{justify-content:space-between;align-items:baseline;margin:0 3px 12px;display:flex}.section-heading h2{margin:0;font-size:.96rem}.section-heading span{color:var(--muted);font-size:.73rem}.grid{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.grid-item{aspect-ratio:1;cursor:pointer;background:#e9ece9;border-radius:10px;overflow:hidden}.grid-item img{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.grid-item:hover img{transform:scale(1.035)}.grid-item.text-only{background:linear-gradient(145deg, #fff, var(--accent-soft));place-items:center;padding:12px;display:grid}.grid-item.text-only p{text-align:center;-webkit-line-clamp:5;-webkit-box-orient:vertical;margin:0;font-size:.68rem;line-height:1.45;display:-webkit-box;overflow:hidden}.empty-feed,.empty-grid{color:var(--muted);text-align:center;border:1px dashed #d7ddd8;border-radius:18px;margin:0;padding:48px 18px;font-size:.85rem;line-height:1.6}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#12191594;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-content{background:#fff;border-radius:20px;width:min(100%,530px);max-height:88vh;position:relative;overflow-y:auto;box-shadow:0 24px 70px #00000038}.modal-content>.post{box-shadow:none;border:0;margin:0}.modal-close{z-index:5;position:absolute;top:11px;right:11px}@media (width<=600px){.topbar-inner,.container{width:calc(100% - 24px)}.topbar-inner{min-height:60px}.auth-status .email{display:none}.container{padding:28px 0 56px}.page-intro h1{font-size:1.55rem}.card{border-radius:18px}.profile-header{gap:16px;padding:19px}.profile-avatar{width:68px;height:68px;font-size:1.25rem}.profile-nickname{font-size:1.2rem}}@media (width<=390px){.brand-text,.ghost-btn{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
