*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-family:system-ui,-apple-system,sans-serif;color:#1e293b}body{min-height:100vh;background:#f8fafc}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}.feed-layout{max-width:40rem;margin:0 auto;padding:1.5rem}.compose-form{background:#fff;border-radius:.75rem;padding:1.25rem;box-shadow:0 1px 3px #0000000f;margin-bottom:1.5rem}.compose-textarea{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.9375rem;font-family:inherit;resize:none}.compose-footer{display:flex;justify-content:flex-end;margin-top:.75rem}.btn-post{padding:.5rem 1.5rem;background:#1d4ed8;color:#fff;border:none;border-radius:9999px;font-weight:700;cursor:pointer}.btn-post:hover{background:#1e40af}.post-card{background:#fff;border-radius:.75rem;padding:1.25rem;box-shadow:0 1px 3px #0000000f;margin-bottom:.875rem}.post-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.avatar{border-radius:9999px;width:40px;height:40px;-o-object-fit:cover;object-fit:cover;flex-shrink:0}.display-name{font-weight:700;font-size:.9375rem;display:block}.username{font-size:.8125rem;color:#94a3b8}.post-time{font-size:.75rem;color:#94a3b8;margin-left:auto;white-space:nowrap}.post-content{font-size:.9375rem;line-height:1.6;margin-bottom:.875rem}.post-actions{display:flex;gap:1.25rem;align-items:center}.action-btn{background:none;border:none;cursor:pointer;font-size:.875rem;color:#64748b;display:flex;align-items:center;gap:.25rem;padding:0}.action-btn:hover{color:#1e40af}.action-btn.liked{color:#e11d48}.action-count{font-size:.875rem;color:#64748b}.profile-page{max-width:48rem;margin:0 auto;padding:2rem 1.5rem}.profile-header{display:flex;gap:1.25rem;align-items:flex-start;background:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 1px 3px #0000000f;margin-bottom:1.5rem}.profile-avatar{border-radius:9999px;width:80px;height:80px;-o-object-fit:cover;object-fit:cover;flex-shrink:0}.profile-info{flex:1}.profile-info h1{font-size:1.375rem;font-weight:700;margin-bottom:.125rem}.profile-username{font-size:.875rem;color:#94a3b8;margin-bottom:.5rem}.profile-bio{font-size:.9375rem;color:#475569;line-height:1.5;margin-bottom:.75rem}.profile-stats{display:flex;gap:1.25rem;font-size:.875rem;color:#64748b}.profile-stats strong{color:#1e293b}.btn-follow{padding:.5rem 1.25rem;background:#1d4ed8;color:#fff;border:none;border-radius:9999px;font-weight:700;cursor:pointer;white-space:nowrap;align-self:flex-start}.profile-posts h2{font-size:1rem;font-weight:600;margin-bottom:1rem}.empty{text-align:center;color:#94a3b8;padding:3rem;font-size:.9375rem}.error-box{background:#fef2f2;border:1px solid #fecaca;border-radius:.75rem;padding:1.5rem;margin:2rem auto;max-width:40rem}.error-box h2{color:#dc2626;margin-bottom:.5rem}.error-box a{color:#1e40af;font-size:.875rem}.auth-bar{display:flex;justify-content:flex-end;margin-bottom:1rem;gap:.75rem}.auth-links{display:flex;gap:.75rem;align-items:center}.auth-link{color:#1d4ed8;font-weight:600;font-size:.875rem}.auth-link:hover{text-decoration:underline}.btn-logout{background:none;border:1px solid #e2e8f0;border-radius:9999px;padding:.375rem 1rem;font-size:.8125rem;cursor:pointer;color:#64748b}.btn-logout:hover{border-color:#cbd5e1;color:#1e293b}.btn-following{padding:.5rem 1.25rem;background:#e2e8f0;color:#475569;border:none;border-radius:9999px;font-weight:700;cursor:pointer;white-space:nowrap;align-self:flex-start}.btn-following:hover{background:#fecaca;color:#dc2626}.profile-nav{margin-bottom:1rem}.back-link{color:#1d4ed8;font-size:.875rem;font-weight:600}.back-link:hover{text-decoration:underline}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.auth-card{background:#fff;border-radius:.75rem;padding:2rem;box-shadow:0 1px 3px #0000000f;max-width:24rem;width:100%}.auth-card h1{font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.auth-subtitle{color:#94a3b8;font-size:.875rem;margin-bottom:1.5rem}.auth-form{display:flex;flex-direction:column;gap:.75rem}.auth-form label{font-size:.8125rem;font-weight:600;color:#475569}.auth-form input{padding:.625rem .75rem;border:1px solid #e2e8f0;border-radius:.5rem;font-size:.9375rem;font-family:inherit}.auth-form input:focus{outline:2px solid #1d4ed8;outline-offset:1px;border-color:transparent}.auth-form button{margin-top:.5rem}.auth-error{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;border-radius:.5rem;padding:.75rem;font-size:.875rem;margin-bottom:.5rem}.auth-footer{margin-top:1.25rem;text-align:center;font-size:.8125rem;color:#64748b}
