.header{z-index:999;background:#141d33;justify-content:space-between;align-items:center;height:70px;padding:0 18px;display:flex;position:sticky;top:0;box-shadow:0 2px 8px #0003}.header-left{align-items:center;gap:12px;display:flex}.logo-circle{color:#fff;background:#a61d16;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;font-size:22px;font-weight:700;display:flex}.header-left h2{color:#fff;font-size:17px}.header-left p{color:#d8d8d8;font-size:11px}.header-right{gap:12px;display:flex}.header-icon{color:#a61d16;cursor:pointer;background:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .25s;display:flex}.header-icon:hover{transform:scale(1.05)}@media (width<=600px){.header{padding:0 12px}.header-left h2{font-size:15px}.header-left p{display:none}.logo-circle{width:40px;height:40px;font-size:18px}}.bottom-nav{z-index:999;background:#fff;justify-content:space-around;width:100%;padding:10px 0;display:flex;position:fixed;bottom:0;left:0;box-shadow:0 -3px 12px #00000026}.bottom-nav a{color:#666;flex-direction:column;align-items:center;gap:5px;font-size:12px;text-decoration:none;transition:all .25s;display:flex}.bottom-nav svg{font-size:22px}.bottom-nav .active{color:#a61d16;font-weight:700}@media (width>=900px){.bottom-nav{border-radius:18px 18px 0 0;width:500px;left:50%;transform:translate(-50%)}}.create-page{background:#fff;border-radius:15px;width:min(700px,95%);margin:25px auto;padding:25px 25px 100px}.create-page h2{color:#5a130f;margin-bottom:20px}.create-page label{color:#444;margin-top:18px;margin-bottom:8px;font-weight:700;display:block}.create-page input,.create-page textarea,.create-page select{border:1px solid #ddd;border-radius:10px;outline:none;width:100%;padding:13px;font-size:14px}.create-page textarea{resize:vertical;line-height:1.6}.counter{text-align:right;color:#888;margin-top:8px;font-size:12px}.publish-btn{color:#fff;background:#a61d16;border-radius:10px;width:100%;margin-top:25px;padding:15px;font-size:15px;transition:all .3s}.publish-btn:hover{background:#7c1712}.publish-btn:disabled{opacity:.7;cursor:not-allowed}.loader{gap:15px;padding:15px;display:grid}.loader-card{background:#fff;border-radius:15px;padding:15px;animation:1.4s infinite pulse}.loader-avatar{background:#ddd;border-radius:50%;width:50px;height:50px;margin-bottom:15px}.loader-title{background:#ddd;border-radius:10px;width:70%;height:16px;margin-bottom:15px}.loader-line{background:#ddd;border-radius:10px;height:12px;margin-bottom:10px}.loader-line.short{width:60%}@keyframes pulse{0%{opacity:.55}50%{opacity:1}to{opacity:.55}}.search-filter{z-index:800;background:#141d33;padding:15px;position:sticky;top:70px}.search-filter input{border:none;border-radius:15px;outline:none;width:100%;margin-bottom:12px;padding:13px;font-size:14px}.filter-row{gap:10px;display:flex}.filter-row select{border:none;border-radius:12px;outline:none;flex:1;padding:12px;font-size:13px}@media (width<=600px){.filter-row{flex-direction:column}}.post-card{background:#fff;border-radius:18px;margin:15px;padding:16px;text-decoration:none;transition:all .3s;display:block;box-shadow:0 5px 15px #00000014}.post-card:hover{transform:translateY(-3px)}.post-user{align-items:center;gap:12px;display:flex}.post-user img{border-radius:50%;width:52px;height:52px}.post-user h4{color:#5a130f;font-size:14px}.post-user small{color:#666;font-size:11px}.pathway{color:#fff;background:#a61d16;border-radius:20px;margin-top:12px;padding:5px 14px;font-size:11px;display:inline-block}.post-card h3{color:#5a130f;margin-top:12px;font-size:17px}.post-card p{color:#444;margin-top:8px;font-size:13px;line-height:1.6}.read-more{color:#a61d16;align-items:center;gap:6px;margin-top:15px;font-weight:700;display:flex}.post-footer{color:#555;justify-content:space-between;margin-top:18px;font-size:12px;display:flex}.post-footer span{align-items:center;gap:4px;display:flex}.post-avatar{color:#fff;text-transform:uppercase;background:#7e1313;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;font-size:18px;font-weight:700;display:flex}.pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:25px 25px 90px;display:flex}.pagination button{cursor:pointer;background:#fff;border:none;border-radius:10px;padding:10px 14px}.pagination .active{color:#fff;background:#a61d16}.pagination button:disabled{opacity:.4;cursor:not-allowed}.home-page{background:#141d33;min-height:100vh}.home-content{width:min(900px,100%);margin:auto;padding-bottom:120px}.empty{text-align:center;background:#fff;border-radius:15px;margin:20px;padding:40px}.empty h2{color:#a61d16;margin-bottom:10px}.empty p{color:#666}@media (width>=1000px){.home-content{padding-top:10px}}.auth-page{background:var(--bg);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.auth-card{width:min(430px,100%);box-shadow:var(--shadow);background:#fff;border-radius:18px;padding:35px}.auth-logo{background:var(--primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:90px;height:90px;margin:auto auto 20px;font-size:40px;font-weight:700;display:flex}.auth-title{text-align:center;color:var(--title);margin-bottom:8px}.auth-subtitle{text-align:center;color:#666;margin-bottom:30px;font-size:14px}.auth-group{margin-bottom:18px}.auth-group label{color:#444;margin-bottom:8px;font-weight:600;display:block}.auth-group input{border:1px solid #ddd;border-radius:10px;outline:none;width:100%;padding:13px;font-size:14px}.auth-group input:focus{border-color:var(--primary)}.auth-options{color:#666;justify-content:space-between;align-items:center;margin-bottom:25px;font-size:13px;display:flex}.auth-btn{background:var(--primary);color:#fff;border-radius:10px;width:100%;padding:14px;font-size:15px;transition:all .3s}.auth-btn:hover{background:var(--primary-dark)}.auth-footer{text-align:center;color:#666;margin-top:25px;font-size:14px}.auth-footer span{color:var(--primary);cursor:pointer;font-weight:700}.auth-error{color:#b00020;text-align:center;background:#ffe5e5;border-radius:8px;margin-bottom:15px;padding:12px;font-size:14px}.auth-group input{border-radius:10px;outline:none;width:100%;padding:14px;font-size:16px}.post-page{background:#141d33;min-height:100vh;padding-bottom:100px}.sticky-summary{z-index:100;background:#fff;padding:16px;position:sticky;top:70px;box-shadow:0 2px 10px #0000001f}.summary-top{align-items:center;gap:12px;display:flex}.summary-top img{object-fit:cover;border-radius:50%;width:55px;height:55px}.summary-top h3{color:#5a130f;margin:0;font-size:16px}.summary-top p{color:#777;margin:2px 0 0;font-size:13px}.summary-badge{color:#fff;background:#a61d16;border-radius:30px;margin-top:12px;padding:6px 14px;font-size:12px;display:inline-block}.summary-icons{color:#666;justify-content:space-between;margin-top:15px;font-size:13px;display:flex}.summary-icons span{align-items:center;gap:5px;display:flex}.article{background:#fff;border-radius:15px;margin:16px;padding:22px}.article h1{color:#5a130f;margin-bottom:15px}.article p{color:#444;white-space:pre-line;line-height:1.8}.back-button{color:#fff;cursor:pointer;background:#a61d16;border:none;border-radius:8px;margin-bottom:20px;padding:10px 20px}.comments{padding:18px}.comment-row{margin-bottom:18px;display:flex}.comment-row.other{justify-content:flex-start}.comment-row.mine{justify-content:flex-end}.comment-avatar{object-fit:cover;border-radius:50%;width:42px;height:42px;margin-right:10px}.comment-content{flex-direction:column;max-width:75%;display:flex}.comment-row.mine .comment-content{align-items:flex-end}.comment-content strong{color:#fff;margin-bottom:5px;font-size:13px}.comment-bubble{color:#333;background:#fff;border-left:4px solid #a61d16;border-radius:14px;padding:14px 18px;line-height:1.7;box-shadow:0 2px 8px #0000001f}.comment-content small{color:#c7ceda;margin-top:6px;font-size:11px}.comment-input{background:#fff;gap:10px;width:100%;padding:12px;display:flex;position:fixed;bottom:70px;left:0;box-shadow:0 -2px 12px #00000026}.comment-input input{border:1px solid #ddd;border-radius:30px;outline:none;flex:1;padding:13px 16px;font-size:15px}.comment-input button{color:#fff;cursor:pointer;background:#a61d16;border:none;border-radius:30px;padding:0 24px}.comment-input button:hover{opacity:.9}@media (width>=900px){.comment-input{width:900px;left:50%;transform:translate(-50%)}}.profile-page{background:#141d33;min-height:100vh;padding:20px 20px 100px}.profile-card{text-align:center;background:#fff;border-radius:18px;padding:25px}.profile-photo{object-fit:cover;border-radius:50%;width:100px;height:100px;margin-bottom:12px}.upload-btn{color:#fff;cursor:pointer;background:#a61d16;border-radius:20px;margin-bottom:15px;padding:8px 18px;font-size:13px;display:inline-block}.profile-card h2{color:#5a130f;margin-top:10px}.profile-card p{color:#777}.profile-stats{grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0;display:grid}.profile-stats div{text-align:center;background:#fff;border-radius:15px;padding:18px}.profile-stats h2{color:#a61d16}.profile-stats span{color:#000}.tabs{margin-bottom:20px;display:flex}.tabs button{cursor:pointer;background:#fff;border:none;flex:1;padding:14px;font-weight:700}.tabs .active{color:#fff;background:#a61d16}.profile-item{color:inherit;background:#fff;border-radius:15px;margin-bottom:15px;padding:18px;text-decoration:none;display:block}.profile-item h3{color:#5a130f;margin-bottom:8px}.profile-item p{color:#555}.profile-item small{color:#999}.logout-btn{color:#fff;cursor:pointer;background:#a61d16;border:none;border-radius:12px;width:100%;margin-top:20px;padding:15px}.profile-avatar{color:#fff;-webkit-user-select:none;user-select:none;background:#7e1313;border:4px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:120px;height:120px;margin:0 auto 15px;font-size:42px;font-weight:700;display:flex;box-shadow:0 5px 20px #00000026}:root{--bg:#141d33;--card:#f4e3e2;--primary:#a61d16;--primary-dark:#7c1712;--title:#5a130f;--white:#fff;--gray:#bdbdbd;--border:#e7d9d9;--shadow:0 5px 15px #00000026;--radius:14px}*{box-sizing:border-box;margin:0;padding:0;font-family:Poppins,sans-serif}body{background:var(--bg);color:#fff}a{color:inherit;text-decoration:none}button{cursor:pointer;border:none}img{max-width:100%;display:block}.container{width:min(1200px,95%);margin:auto}input,textarea,select,button{appearance:none;font-size:16px}
