.avatar{border-radius:50%;overflow:hidden;background-color:#fafafa;display:flex;align-items:center;justify-content:center;flex-shrink:0}.avatar--sm{width:32px;height:32px;font-size:14px}.avatar--md{width:40px;height:40px;font-size:16px}.avatar--lg{width:48px;height:48px;font-size:18px}.avatar__image{width:100%;height:100%;object-fit:cover}.avatar__fallback{color:#595959;font-weight:600}.modal-overlay{position:fixed;inset:0;background-color:#fffc;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content{background:#fff;width:90%;max-width:500px;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;display:flex;flex-direction:column;animation:modal-pop .3s ease-out}.modal-content .modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e6e6e6}.modal-content .modal-header .modal-title{font-size:20px;font-weight:700}.modal-content .modal-header .modal-close{width:36px;height:36px;border-radius:50%;background:#fafafa;display:flex;align-items:center;justify-content:center;color:#595959}.modal-content .modal-header .modal-close:hover{background:#0201010a}.modal-content .modal-body{padding:20px}@keyframes modal-pop{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.loader-container{display:flex;justify-content:center;align-items:center;width:100%;padding:24px}.loader-container.full-screen{position:fixed;inset:0;background:#fff;z-index:9999}.spinner{display:inline-block;border-radius:50%;border-style:solid;border-color:transparent;animation:spin .8s linear infinite}.spinner.primary{border-top-color:#1890ff;border-right-color:#1890ff66;border-bottom-color:#1890ff66;border-left-color:#1890ff66}.spinner.white{border-top-color:#fff;border-right-color:#fff6;border-bottom-color:#fff6;border-left-color:#fff6}.spinner.sm{width:16px;height:16px;border-width:2px}.spinner.md{width:32px;height:32px;border-width:3px}.spinner.lg{width:48px;height:48px;border-width:4px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.app-header{background:#fff;box-shadow:0 1px 2px #0000000d;position:sticky;top:0;z-index:100;height:60px;display:flex;align-items:center}.app-header .container{width:100%;max-width:900px;margin:0 auto;padding:0 16px;display:flex;justify-content:space-between;align-items:center}.app-header .logo{color:#1890ff;font-size:24px;font-weight:800}.app-header .header-actions{display:flex;align-items:center;gap:16px}.app-header .user-info{display:flex;align-items:center;gap:8px;font-weight:600}.app-header .user-name{display:none}@media(min-width:1024px){.app-header .user-name{display:block}}.app-header .logout-btn,.app-header .login-btn{padding:6px 12px;border-radius:6px;font-weight:600}.app-header .logout-btn:hover,.app-header .login-btn:hover{background:#0000000a}.dropdown{position:relative;display:inline-block}.dropdown__trigger{display:flex;align-items:center;gap:4px;font-weight:600;color:#595959;padding:6px 8px;border-radius:6px;transition:background-color .2s}.dropdown__trigger:hover{background-color:#0201010a}.dropdown__trigger-text{font-size:15px}.dropdown__menu{position:absolute;top:100%;left:0;margin-top:4px;background:#fff;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;padding:8px 0;z-index:100;min-width:200px;border:1px solid #e6e6e6}.dropdown__item{display:flex;align-items:center;width:100%;text-align:left;padding:8px 16px;font-size:14px;font-weight:500;color:#262626;background:transparent;border:none;cursor:pointer}.dropdown__item:hover{background-color:#0201010a}.dropdown__item--selected{background-color:#1890ff1a;color:#1890ff;font-weight:600}.comment-section{max-width:800px;margin:0 auto;padding:16px}.comment-section__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #e6e6e6}.comment-section__header h3{font-size:20px;font-weight:700;color:#262626;margin:0}.comment-section__list{margin-top:24px}.comment-section__pagination{margin-top:24px;display:flex;justify-content:center}.comment-section__pagination .btn-load-more{background-color:transparent;border:1px solid #e6e6e6;color:#1890ff;padding:8px 16px;border-radius:20px;font-weight:500;font-size:14px;cursor:pointer;transition:all .2s}.comment-section__pagination .btn-load-more:hover{background-color:#fff;border-color:#1890ff;color:#40a9ff;box-shadow:0 1px 2px #0000000d}.comment-tree{display:flex;flex-direction:column;gap:0}.comment-input-block{border:1px solid #e6e6e6;border-radius:8px;background-color:#fff;transition:all .2s ease;overflow:hidden;margin-bottom:24px;box-shadow:0 1px 2px #0000000d}.comment-input-block.focused{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff1a}.comment-input-block .comment-input-header{padding:8px 16px;background:#fafafa;border-bottom:1px solid #e6e6e6}.comment-input-block .comment-input-header .heading{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#595959;background:none;border:none}.comment-input-block .comment-input-header .heading i,.comment-input-block .comment-input-header .heading svg{color:#1890ff}.comment-input-block .comment-input-body{padding:16px}.comment-input-block .comment-input-body .comment-textarea{width:100%;border:none;outline:none;resize:vertical;font-size:14px;line-height:1.5;color:#262626;font-family:inherit;min-height:120px;background:transparent}.comment-input-block .comment-input-body .comment-textarea::placeholder{color:#8c8c8c}.comment-input-block .comment-input-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 16px;border-top:1px solid #e6e6e6;background:#fafafa}.comment-input-block .comment-input-footer .submit-btn{margin-left:auto;background-color:#1890ff;color:#fff;border:none;padding:8px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;box-shadow:0 2px #0000000b;transition:all .2s cubic-bezier(.645,.045,.355,1)}.comment-input-block .comment-input-footer .submit-btn:hover{background-color:#40a9ff}.comment-input-block .comment-input-footer .submit-btn:active{background-color:#096dd9;box-shadow:none}.comment-input-block .comment-input-footer .submit-btn:disabled{background-color:#d9d9d9;color:#00000040;cursor:not-allowed;box-shadow:none}.comment{margin-bottom:0;padding:16px 0;border-bottom:1px solid #fafafa;display:flex;flex-direction:column;position:relative;transition:background-color .3s}.comment:last-child{border-bottom:none}.comment__container{display:flex;gap:16px;align-items:flex-start}.comment__avatar{flex-shrink:0}.comment__main{flex:1;min-width:0}.comment__header{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-bottom:6px}.comment__author{font-size:14px;font-weight:600;color:#262626;text-decoration:none}.comment__author:hover{text-decoration:underline}.comment__badge{font-size:12px}.comment .comment-time{font-size:12px;color:#8c8c8c}.comment__body{margin-bottom:8px}.comment__text{font-size:15px;color:#262626;line-height:1.5;white-space:pre-wrap;word-break:break-word;margin:0}.comment__footer{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.comment__votes{display:flex;align-items:center;gap:6px}.comment__votes .vote-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:#8c8c8c;border-radius:4px;background:transparent;border:none;cursor:pointer}.comment__votes .vote-btn:hover{background-color:#0201010a;color:#262626}.comment__votes .vote-btn.active{color:#ff4d4f;background-color:#ff4d4f1a}.comment__votes .vote-count{font-size:13px;font-weight:500;color:#595959;min-width:16px;text-align:center}.comment__divider{width:1px;height:14px;background-color:#e6e6e6}.comment .action-btn{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#8c8c8c;background:none;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;transition:all .2s}.comment .action-btn:hover{background-color:#0201010a;color:#595959}.comment__owner-actions{display:flex;gap:4px;margin-left:auto}.comment__owner-actions .danger:hover{color:#ff4d4f;background-color:#ff4d4f1a}.comment__replies{margin-top:16px;margin-left:20px;padding-left:16px;border-left:2px solid #e6e6e6}.comment--flat .comment__replies{margin-left:-56px!important;padding-left:0!important;border-left:none!important}.comment__edit{width:100%}.comment__edit-textarea{width:100%;min-height:80px;padding:12px;font-size:14px;line-height:1.5;color:#262626;background-color:#fff;border:1px solid #e6e6e6;border-radius:6px;resize:vertical;outline:none;transition:all .2s;font-family:inherit}.comment__edit-textarea:focus{border-color:#1890ff;box-shadow:0 0 0 2px #1890ff33}.comment__edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.comment__edit-actions .btn{padding:6px 16px;font-size:13px;font-weight:500;border-radius:6px;cursor:pointer;border:none;transition:all .2s}.comment__edit-actions .btn-cancel{background-color:transparent;color:#595959}.comment__edit-actions .btn-cancel:hover{background-color:#0201010a;color:#262626}.comment__edit-actions .btn-save{background-color:#1890ff;color:#fff;box-shadow:0 2px #0000000b}.comment__edit-actions .btn-save:hover{background-color:#40a9ff}.comment__edit-actions .btn-save:active{background-color:#096dd9}.comment__inline-reply{margin-top:16px;background:#fff;border:1px solid #e6e6e6;border-radius:8px;padding:16px;box-shadow:0 1px 2px #0000000d;animation:fadeIn .3s ease}.comment__inline-reply .inline-reply-wrapper{margin-bottom:12px}.comment__inline-reply .inline-reply-input{width:100%;border:none;background:#fafafa;padding:10px 14px;font-size:14px;outline:none;color:#262626}.comment__inline-reply .inline-reply-input::placeholder{color:#8c8c8c}.comment__inline-reply .inline-reply-actions{display:flex;justify-content:flex-end;gap:12px}.comment__inline-reply .inline-reply-actions .btn{border:none;cursor:pointer;transition:all .2s}.comment__inline-reply .inline-reply-actions .btn-sm{padding:6px 16px;font-size:13px;font-weight:500;border-radius:18px}.comment__inline-reply .inline-reply-actions .btn-cancel{background:transparent;color:#8c8c8c}.comment__inline-reply .inline-reply-actions .btn-cancel:hover{color:#595959;background:#0201010a}.comment__inline-reply .inline-reply-actions .btn-save{background:#1890ff;color:#fff;box-shadow:0 2px #0000000b}.comment__inline-reply .inline-reply-actions .btn-save:hover{background:#40a9ff;transform:translateY(-1px);box-shadow:0 2px 4px #1890ff33}.comment__inline-reply .inline-reply-actions .btn-save:disabled{background:#d9d9d9;color:#00000040;cursor:not-allowed;transform:none;box-shadow:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.pagination{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:24px;padding:16px 0}.pagination__button{min-width:40px;height:40px;padding:0 12px;border:none;background-color:#fff;color:#262626;font-size:14px;font-weight:500;border-radius:6px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.pagination__button:hover:not(:disabled):not(.pagination__button--active){background-color:#fafafa}.pagination__button--active{background-color:#1890ff;color:#fff;cursor:default}.pagination__button:disabled{color:#8c8c8c;cursor:not-allowed;opacity:.5}.pagination__arrow{font-size:20px;font-weight:400}.pagination__ellipsis{min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;color:#8c8c8c;font-size:14px;-webkit-user-select:none;user-select:none}.home-page{display:flex;justify-content:center;padding:20px 0;min-height:calc(100vh - 60px)}.post-card{background:#fff;width:100%;max-width:680px;border-radius:8px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;overflow:hidden}.post-card .post-header{padding:12px 16px;display:flex;align-items:center;gap:10px}.post-card .post-header .post-info{display:flex;flex-direction:column}.post-card .post-header .post-info .author-name{font-weight:600;color:#262626}.post-card .post-header .post-info .post-time{font-size:13px;color:#595959}.post-card .post-content p{padding:4px 16px 16px;font-size:15px}.post-card .post-content .post-image-placeholder{width:100%;height:300px;background-color:#e7e5e5;display:flex;align-items:center;justify-content:center;color:#595959;font-weight:600}.post-card .post-stats{padding:10px 16px;display:flex;justify-content:space-between;color:#595959;font-size:14px;border-bottom:1px solid #e6e6e6}.post-card .post-actions{display:flex;padding:4px 16px;border-bottom:1px solid #e6e6e6}.post-card .post-actions .action-btn{flex:1;padding:6px;display:flex;align-items:center;justify-content:center;gap:8px;color:#595959;font-weight:600;border-radius:4px;transition:background .2s}.post-card .post-actions .action-btn:hover{background-color:#0201010a}.post-card .post-comments-container{padding:16px}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#fafafa;color:#262626;-webkit-font-smoothing:antialiased;line-height:1.5}button{cursor:pointer;border:none;background:none;font-family:inherit}a{text-decoration:none;color:inherit}ul{list-style:none}
