.loader-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;padding:2rem}.loader-wrapper--full-screen{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0000004d;z-index:9999;padding:0}.loader-spinner{display:flex;gap:.5rem;align-items:center;justify-content:center}.loader-dot{width:.75rem;height:.75rem;border-radius:50%;background-color:#4fc266;animation:bounce 1.4s infinite ease-in-out both}.loader-dot:nth-child(1){animation-delay:-.32s}.loader-dot:nth-child(2){animation-delay:-.16s}.loader-dot:nth-child(3){animation-delay:0s}@keyframes bounce{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.loader-spinner--small{gap:.375rem}.loader-spinner--small .loader-dot{width:.5rem;height:.5rem}.loader-spinner--medium{gap:.5rem}.loader-spinner--medium .loader-dot{width:.75rem;height:.75rem}.loader-spinner--large{gap:.75rem}.loader-spinner--large .loader-dot{width:1rem;height:1rem}.loader-message{margin:0;font-size:.95rem;color:#222;font-weight:500;text-align:center}.error-message{padding:1rem;border-radius:.25rem;border-left:4px solid #e74c3c;background-color:#e74c3c0d;color:#a82315;margin-bottom:1rem}.error-message-header{display:flex;gap:1rem;align-items:flex-start}.error-message-icon{font-size:1.5rem;color:#e74c3c;flex-shrink:0;margin-top:.125rem}.error-message-content{flex:1}.error-message-title{margin:0 0 .5rem;font-size:1rem;font-weight:600;color:#a82315}.error-message-code{margin:0;font-size:.85rem;color:#bf2718;opacity:.8}.error-message-code code{background-color:#e74c3c1a;padding:.125rem .375rem;border-radius:2px;font-family:monospace;font-size:.8rem}.error-message-details-section{margin-top:1rem;border-top:1px solid rgba(231,76,60,.2);padding-top:1rem}.error-message-toggle{display:flex;align-items:center;gap:.5rem;background:none;border:none;padding:0;cursor:pointer;color:inherit;font-size:.9rem;font-weight:500;transition:opacity .2s ease}.error-message-toggle:hover{opacity:.8}.error-message-toggle:focus-visible{outline:2px solid #4fc3f7;outline-offset:1px}.error-message-toggle svg{font-size:1.25rem;flex-shrink:0}.error-message-details{margin-top:.75rem;background-color:#e74c3c14;border-radius:2px;font-size:.9rem;line-height:1.5;border-left:2px solid rgba(231,76,60,.3);padding:.75rem}.error-message-retry{margin-top:1rem;padding:.5rem 1rem;background-color:#e74c3c;color:#fff;border:none;border-radius:.25rem;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s ease}.error-message-retry:hover{background-color:#d62c1a;transform:translateY(-1px)}.error-message-retry:active{transform:translateY(0)}.error-message-retry:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.error-message-actions{margin-top:1rem;display:flex;gap:.75rem}.error-message-refresh{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#4caf50;color:#fff;border:none;border-radius:.25rem;cursor:pointer;font-weight:600;font-size:.9rem;transition:all .2s ease}.error-message-refresh:hover{background-color:#3d8b40;transform:translateY(-1px)}.error-message-refresh:active{transform:translateY(0)}.error-message-refresh:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.error-message-refresh-icon{font-size:1.1rem;flex-shrink:0}.category-list{display:flex;flex-direction:column;gap:.5rem;padding:1rem 0}.category-card{display:flex;flex-direction:column;background-color:#fff;border:1px solid #ddd;border-radius:.25rem;overflow:hidden;transition:all .2s ease}.category-card-header{background-color:#a8d5a8;padding:.5rem 1rem;border-bottom:1px solid #ddd}.category-card-title{margin:0;font-size:1.125rem;font-weight:600}.category-card-title a{color:#222;text-decoration:none;transition:color .2s ease}.category-card-title a:hover{color:#0288d1}.category-card-title a:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.category-card-description{padding:.5rem 1rem;margin:0;font-size:.95rem;color:#999;line-height:1.5}.form{display:flex;flex-direction:column;gap:1rem;width:100%;max-width:100%}.text-input-wrapper{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.text-input-label{font-weight:600;color:#222;font-size:.95rem}.text-input-required{color:#e74c3c;margin-left:.25rem}.text-input{padding:.625rem;border:2px solid #ddd;border-radius:.25rem;font-family:inherit;font-size:1rem;color:#222;background-color:#fff;transition:all .2s ease}.text-input::placeholder{color:#999}.text-input:hover:not(:disabled){border-color:#bbb}.text-input:focus{outline:none;border-color:#4fc3f7;box-shadow:0 0 0 3px #4fc3f71a}.text-input:disabled{background-color:#f5f5f5;color:#999;cursor:not-allowed;opacity:.7}.text-input--error{border-color:#e74c3c;background-color:#e74c3c0d}.text-input--error:focus{border-color:#e74c3c;box-shadow:0 0 0 3px #e74c3c1a}.text-input-error{font-size:.875rem;color:#e74c3c;font-weight:500}.text-input-helper{font-size:.875rem;color:#999;font-weight:400}.btn{padding:.5rem 1rem;border:none;border-radius:.25rem;font-family:inherit;font-size:1rem;cursor:pointer;transition:all .2s ease;font-weight:600}.btn:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.btn--small{padding:.25rem .75rem;font-size:.875rem}.btn--medium{padding:.5rem 1rem;font-size:1rem}.btn--large{padding:.75rem 1.5rem;font-size:1.125rem}.btn--primary{background-color:#4fc266;color:#fff}.btn--primary:hover:not(:disabled){background-color:#39a54f}.btn--secondary{background-color:#4fc3f7;color:#fff}.btn--secondary:hover:not(:disabled){background-color:#0288d1}.btn--danger{background-color:#e74c3c;color:#fff}.btn--danger:hover:not(:disabled){background-color:#d62c1a}.password-input{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.password-input-label{display:flex;align-items:center;gap:.25rem;font-size:.95rem;font-weight:500;color:#222;cursor:pointer}.password-input-required{color:#e74c3c;font-weight:600}.password-input-wrapper{position:relative;display:flex;align-items:center;width:100%}.password-input-field{width:100%;flex:1;padding:.75rem 2.75rem .75rem .75rem;border:1px solid #ddd;border-radius:.25rem;font-size:1rem;color:#222;background-color:#fff;transition:all .2s ease}.password-input-field:focus{outline:none;border-color:#4fc266;box-shadow:0 0 0 3px #0000000d}.password-input-field:disabled{background-color:#f5f5f5;color:#999;cursor:not-allowed}.password-input-field--error{border-color:#e74c3c}.password-input-field--error:focus{box-shadow:0 0 0 3px #e74c3c1a}.password-input-field::selection{background-color:#2196f333;color:#222}.password-input-toggle{position:absolute;right:.5rem;padding:.25rem!important;min-width:auto!important;border:none!important;background:none!important;display:flex;align-items:center;justify-content:center}.password-input-toggle svg{display:block;font-size:1.2rem;color:#222;transition:color .2s ease}.password-input-toggle:hover:not(:disabled) svg{color:#4fc266}.password-input-toggle:disabled{opacity:.5}.password-input-error{font-size:.85rem;color:#e74c3c;font-weight:500;margin-top:.25rem}.password-input-helper{font-size:.85rem;color:#999;font-style:italic;margin-top:.25rem}.alert{display:flex;align-items:center;gap:1rem;padding:1rem;border-radius:.25rem;border-left:4px solid;margin-bottom:1rem;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.alert-icon{font-size:1.5rem;flex-shrink:0}.alert-message{flex:1;font-size:.95rem}.alert-close{background:none;border:none;padding:0;cursor:pointer;font-size:1.25rem;display:flex;align-items:center;color:inherit;opacity:.7;transition:opacity .2s ease;flex-shrink:0}.alert-close:hover{opacity:1}.alert-close:focus-visible{outline:2px solid currentColor;outline-offset:2px}.alert--success{background-color:#4caf501a;border-left-color:#4caf50;color:#2d682f}.alert--success .alert-icon{color:#4caf50}.alert--error{background-color:#e74c3c1a;border-left-color:#e74c3c;color:#a82315}.alert--error .alert-icon{color:#e74c3c}.alert--warning{background-color:#ffc1071a;border-left-color:#ffc107;color:#6d5200}.alert--warning .alert-icon{color:#ffc107}.alert--info{background-color:#2196f31a;border-left-color:#2196f3;color:#0960a5}.alert--info .alert-icon{color:#2196f3}.auth-forms{max-width:400px;margin:2rem auto;padding:0 1rem}.auth-forms-header{margin-bottom:1.5rem;text-align:center}.auth-forms-header h2{margin:0 0 .5rem;color:#fff;font-size:1.5rem}.auth-forms-header p{margin:0;color:#222;font-size:.9rem}.auth-forms-toggle{background:none;border:none;color:#4fc266;cursor:pointer;text-decoration:underline;font-size:1rem;font-weight:500;transition:color .2s ease;padding:0}.auth-forms-toggle:hover{color:#39a54f}.auth-forms-toggle:focus{outline:2px solid #4fc3f7;outline-offset:2px}.auth-forms-checkbox-group{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:1rem}.auth-forms-checkbox-group input[type=checkbox]{margin-top:.25rem;cursor:pointer;accent-color:#4fc266}.auth-forms-checkbox-group label{cursor:pointer;font-size:.9rem;color:#222;flex:1}.auth-forms-error{color:#e74c3c;font-size:.85rem;font-weight:500;margin-bottom:.5rem}.auth-forms-loader{margin-bottom:1rem}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.modal{position:relative;background-color:#fff;border-radius:.25rem;box-shadow:0 10px 40px #0003;max-height:90vh;overflow-y:auto;animation:slideIn .3s ease-out;padding:2rem}.modal:focus{outline:none}.modal:focus-visible{outline:2px solid #4fc3f7;outline-offset:-2px}.modal--small{width:90%;max-width:400px}.modal--medium{width:90%;max-width:600px}.modal--large{width:90%;max-width:800px}.modal-close-button{position:absolute;top:1rem;right:1rem;background:none;border:none;padding:.5rem;cursor:pointer;font-size:1.5rem;color:#222;display:flex;align-items:center;justify-content:center;border-radius:.25rem;transition:all .2s ease}.modal-close-button:hover{background-color:#f5f5f5;opacity:.8}.modal-close-button:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.modal-title{margin:0 0 1.5rem;font-size:1.5rem;font-weight:600;color:#222}.modal-header,.modal-content{margin-bottom:1.5rem}.modal-footer{margin-top:2rem;padding-top:1.5rem;border-top:1px solid #ddd;display:flex;gap:1rem;justify-content:flex-end;flex-wrap:wrap}.modal-footer button{margin:0}.logout-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;padding:2rem;text-align:center}.logout-container .logout-message{font-size:1.1rem;color:#222;margin-top:1.5rem}.logout-confirm{display:flex;flex-direction:column;gap:1.5rem}.logout-confirm .logout-confirm-message{font-size:1rem;color:#222;margin:0;line-height:1.5}.logout-confirm .logout-confirm-actions{display:flex;gap:1rem;justify-content:flex-end}.threads-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.pagination{display:flex;flex-direction:column;gap:1rem;align-items:center;justify-content:space-between;padding:1.5rem;background-color:#fff;border-top:1px solid #ddd;margin-top:2rem}@media(min-width:768px){.pagination{flex-direction:row;justify-content:space-between}}.pagination-info{font-size:.9rem;color:#fff}.pagination-info strong{font-weight:600;color:#fff}.pagination-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:center}.pagination-controls .pagination-button{display:flex;align-items:center;gap:.5rem}.pagination-controls .pagination-button svg{font-size:1.2rem}@media(max-width:640px){.pagination-controls .pagination-button span{display:none}}.pagination-numbers{display:flex;align-items:center;gap:.25rem}.pagination-numbers .pagination-number{min-width:2.5rem;height:2.5rem}.pagination-numbers .pagination-number--active{pointer-events:none}.pagination-ellipsis{padding:0 .25rem;color:#999;font-weight:500}.thread-list{display:flex;flex-direction:column;padding:1rem 0}.thread-list-header{background-color:#a8d5a8;border:1px solid #ddd;margin-bottom:0}.thread-list-row{display:grid;grid-template-columns:1fr 150px 80px 120px;gap:1rem;padding:.75rem 1rem;align-items:center;font-weight:600;font-size:.95rem;color:#222}.thread-list-row .thread-col-author,.thread-list-row .thread-col-replies,.thread-list-row .thread-col-date{color:#222}.thread-list-body{border:1px solid #ddd;border-top:none}.thread-row{display:grid;grid-template-columns:1fr 150px 80px 120px;gap:1rem;padding:.75rem 1rem;align-items:center;border-bottom:1px solid #ddd;transition:background-color .2s ease}.thread-row:last-child{border-bottom:none}.thread-row:hover{background-color:#f9f9f9}.thread-col-title{min-width:0}.thread-col-author{font-size:.9rem;color:#999}.thread-col-author a{color:#222;text-decoration:none;transition:color .2s ease}.thread-col-author a:hover{color:#0288d1}.thread-col-author a:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.thread-col-replies{text-align:center;font-size:.9rem;color:#999}.thread-col-date{text-align:right;font-size:.9rem;color:#999}.thread-title{margin:0;padding:0;font-size:1rem;font-weight:500;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.thread-title a{color:#222;text-decoration:none;transition:color .2s ease}.thread-title a:hover{color:#0288d1}.thread-title a:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.thread-badge{display:inline-block;font-size:.75rem;padding:.25rem .5rem;border-radius:.25rem;font-weight:600;flex-shrink:0}.thread-badge.sticky{background-color:#fff9e6;color:#b8860b}.thread-badge.locked{background-color:#ffe6e6;color:#d32f2f}.thread-actions{display:inline-flex;gap:.35rem;margin-top:.25rem}.thread-action-btn{background:none!important;color:#999!important;border:1px solid #ddd!important;font-weight:400!important;opacity:.75}.thread-action-btn:hover:not(:disabled){opacity:1;color:#4fc3f7!important;border-color:#4fc3f7!important;transform:none}.thread-action-btn.thread-action-btn--danger:hover:not(:disabled){color:#e74c3c!important;border-color:#e74c3c!important}@media(max-width:640px){.thread-list-header{display:none}.thread-row{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto;gap:.25rem .5rem;padding:.75rem 1rem;align-items:start}.thread-row .thread-col-title{grid-column:1/-1;grid-row:1}.thread-row .thread-col-author{grid-column:1;grid-row:2;text-align:left}.thread-row .thread-col-replies{grid-column:2;grid-row:2;text-align:left}.thread-row .thread-col-date{grid-column:3;grid-row:2;text-align:left}}.thread-editor-form .form-group{margin-bottom:1.5rem;position:relative}.thread-editor-form .form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#222;font-size:.875rem}.thread-editor-form .form-group .editor-select,.thread-editor-form .form-group .editor-input{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:.25rem;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s}.thread-editor-form .form-group .editor-select:focus,.thread-editor-form .form-group .editor-input:focus{outline:none;border-color:#4fc266;box-shadow:0 0 0 3px #4fc2661a}.thread-editor-form .form-group .editor-select:disabled,.thread-editor-form .form-group .editor-input:disabled{background-color:#f5f5f5;cursor:not-allowed;opacity:.6}.thread-editor-form .form-group .editor-select{cursor:pointer}.thread-editor-form .form-group .category-indicator{width:100%;padding:1rem;background:linear-gradient(135deg,#4fc2660d,#4fc26605);border:2px solid #4fc266;border-left:5px solid #4fc266;border-radius:.5rem;display:flex;flex-direction:column;gap:.5rem}.thread-editor-form .form-group .category-indicator .location-label{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#2229}.thread-editor-form .form-group .category-indicator .category-name{font-size:1.1rem;font-weight:700;color:#4fc266;word-break:break-word}.thread-editor-form .form-group .editor-textarea{width:100%;max-width:100%;box-sizing:border-box;padding:.75rem;border:1px solid #ddd;border-radius:.25rem;font-family:monospace;font-size:.95rem;line-height:1.5;resize:vertical;transition:border-color .2s,box-shadow .2s}.thread-editor-form .form-group .editor-textarea:focus{outline:none;border-color:#4fc266;box-shadow:0 0 0 3px #4fc2661a}.thread-editor-form .form-group .editor-textarea:disabled{background-color:#f5f5f5;cursor:not-allowed;opacity:.6}.thread-editor-form .form-group .char-count{display:block;margin-top:.375rem;font-size:.75rem;color:#999;text-align:right}.thread-editor-form .form-actions{display:flex;justify-content:flex-end;gap:.75rem}.markdown-display{font-size:1rem;line-height:1.6;color:#333}.markdown-display p{margin:.5rem 0 1rem}.markdown-display p:last-child{margin-bottom:0}.markdown-display h1,.markdown-display h2,.markdown-display h3,.markdown-display h4,.markdown-display h5,.markdown-display h6{margin:1.5rem 0 .5rem;font-weight:600;line-height:1.3}.markdown-display h1{font-size:2rem}.markdown-display h2{font-size:1.75rem}.markdown-display h3{font-size:1.5rem}.markdown-display h4{font-size:1.25rem}.markdown-display h5{font-size:1.1rem}.markdown-display h6{font-size:1rem}.markdown-display code{background:#f4f4f4;padding:.2rem .4rem;border-radius:3px;font-family:Courier New,monospace;font-size:.9em;color:#d63384}.markdown-display pre{background:#f4f4f4;border-left:4px solid #007bff;padding:1rem;border-radius:4px;overflow-x:auto;margin:1rem 0}.markdown-display pre code{background:none;padding:0;color:#333}.markdown-display ul,.markdown-display ol{margin:.5rem 0 1rem 2rem}.markdown-display ul li,.markdown-display ol li{margin:.25rem 0}.markdown-display blockquote{border-left:4px solid #ddd;margin:1rem 0;padding-left:1rem;color:#666;font-style:italic}.markdown-display a{color:#007bff;text-decoration:none}.markdown-display a:hover{text-decoration:underline}.markdown-display table{border-collapse:collapse;width:100%;margin:1rem 0}.markdown-display table th,.markdown-display table td{border:1px solid #ddd;padding:.75rem;text-align:left}.markdown-display table th{background:#f4f4f4;font-weight:600}.markdown-display hr{border:none;border-top:1px solid #ddd;margin:2rem 0}.markdown-display del,.markdown-display s,.markdown-display strikethrough{text-decoration:line-through}.post-item{border:1px solid #ddd;border-radius:.25rem;margin-bottom:1rem;background-color:#fff;overflow:hidden}.post-item .post-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;background-color:#f5f5f5;border-bottom:1px solid #ddd}.post-item .post-header .post-number{font-weight:600;color:#4fc266;font-size:1.125rem}.post-item .post-header .post-meta-info{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#999}.post-item .post-header .post-meta-info .post-date{font-weight:500}.post-item .post-header .post-meta-info .post-edited{font-style:italic;color:#999}.post-item .post-body{padding:1rem;display:flex;gap:1rem}.post-item .post-body .post-author-section{display:flex;flex-direction:column;align-items:center;gap:.5rem;min-width:100px;padding-right:1rem;border-right:1px solid #ddd}.post-item .post-body .post-author-section .author-avatar{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#4fc266,#339246);display:flex;align-items:center;justify-content:center;overflow:hidden}.post-item .post-body .post-author-section .author-avatar img{width:100%;height:100%;object-fit:cover}.post-item .post-body .post-author-section .author-avatar .avatar-placeholder{color:#fff;font-weight:600;font-size:1.25rem}.post-item .post-body .post-author-section .author-info{text-align:center}.post-item .post-body .post-author-section .author-info .author-username{margin:0;font-weight:600;color:#222;word-break:break-word}.post-item .post-body .post-content{flex:1;line-height:1.6;color:#222}.post-item .post-body .post-content p{margin:0 0 .5rem}.post-item .post-body .post-content p:last-child{margin-bottom:0}.post-item .post-footer{padding:1rem;border-top:1px solid #ddd;background-color:#f5f5f5;display:flex;justify-content:flex-end;gap:.5rem}.post-item .post-footer .post-action-btn{padding:.375rem 1rem;background-color:#4fc266;color:#fff;border:none;border-radius:.25rem;cursor:pointer;font-weight:500;transition:background-color .2s}.post-item .post-footer .post-action-btn:hover{background-color:#339246}.post-item .post-footer .post-action-btn:active{transform:scale(.98)}@media(max-width:640px){.post-item .post-header{flex-direction:column;align-items:flex-start;gap:.25rem}.post-item .post-header .post-meta-info{flex-wrap:wrap}.post-item .post-body{flex-direction:column;gap:.75rem}.post-item .post-body .post-author-section{flex-direction:row;min-width:unset;width:100%;padding-right:0;padding-bottom:.75rem;border-right:none;border-bottom:1px solid #ddd;justify-content:flex-start;align-items:center;gap:.75rem}.post-item .post-body .post-author-section .author-info{text-align:left}}.post-list .thread-header{margin-bottom:1.5rem;padding:1.5rem;background-color:#f5f5f5;border-radius:.25rem;border-left:4px solid #4fc266}.post-list .thread-header .thread-title{margin:0 0 1rem;color:#222;font-size:2rem}.post-list .thread-header .thread-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.875rem;color:#999}.post-list .thread-header .thread-meta .thread-meta-item{display:flex;align-items:center;gap:.25rem}.post-list .thread-header .thread-meta .thread-meta-item strong{color:#222}.post-list .thread-header .thread-meta .thread-meta-item strong a{color:#222;text-decoration:none;transition:color .2s ease}.post-list .thread-header .thread-meta .thread-meta-item strong a:hover{color:#0288d1}.post-list .thread-header .thread-meta .thread-meta-item strong a:focus-visible{outline:2px solid #4fc3f7;outline-offset:2px}.post-list .thread-header .thread-meta .thread-meta-item.badge{padding:.375rem .5rem;background-color:#fff;border-radius:.25rem;font-weight:500;font-size:.75rem}.post-list .thread-header .thread-meta .thread-meta-item.badge.badge-locked{background-color:#e74c3c1a;color:#e74c3c}.post-list .thread-header .thread-meta .thread-meta-item.badge.badge-sticky{background-color:#4fc2661a;color:#4fc266}.post-list .posts-container{margin-bottom:1.5rem}.post-list .posts-container .no-posts{text-align:center;padding:1.5rem;color:#999;font-size:1.125rem}.post-edit-form{display:flex;flex-direction:column;gap:1rem}.post-edit-textarea{width:100%;padding:.625rem .75rem;background-color:#fff;color:#222;border:1px solid #ddd;border-radius:.25rem;font-size:.875rem;font-family:inherit;resize:vertical;box-sizing:border-box}.post-edit-textarea:focus{outline:none;border-color:#4fc266;box-shadow:0 0 0 2px #4fc26633}.markdown-editor{display:flex;flex-direction:column;border:1px solid #ddd;border-radius:6px;overflow:hidden;background:#fff;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif}.editor-toolbar{display:flex;align-items:center;gap:.5rem;padding:.75rem;background:#f8f9fa;border-bottom:1px solid #ddd;flex-wrap:wrap}.toolbar-button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;transition:all .2s ease;color:#333;font-size:.9rem}.toolbar-button:hover:not(:disabled){background:#e9ecef;border-color:#adb5bd}.toolbar-button:active:not(:disabled){background:#dee2e6;border-color:#868e96}.toolbar-button:disabled{opacity:.5;cursor:not-allowed}.toolbar-button.preview-toggle{width:auto;padding:0 .75rem;font-size:.85rem;font-weight:500}.toolbar-button.preview-toggle.active{background:#007bff;color:#fff;border-color:#0056b3}.toolbar-button svg{pointer-events:none}.toolbar-divider{width:1px;height:24px;background:#ddd;margin:0 .25rem}.editor-container{display:flex;flex:1;min-height:400px;overflow:hidden}.editor-container.split{gap:1px;background:#dee2e6}.editor-container.full .editor-area{flex:1}.editor-area{flex:1;display:flex;overflow:hidden}.markdown-editor-textarea{flex:1;padding:1rem;border:none;font-family:Roboto Mono,Courier New,monospace;font-size:.95rem;line-height:1.6;resize:none;outline:none;background:#fff}.markdown-editor-textarea:disabled{background:#f8f9fa;color:#6c757d;cursor:not-allowed}.markdown-editor-textarea::placeholder{color:#999}.preview-area{flex:1;display:flex;flex-direction:column;background:#fafbfc;border-left:1px solid #dee2e6;overflow:hidden}.preview-header{padding:.75rem 1rem;background:#f0f2f5;border-bottom:1px solid #dee2e6;font-weight:600;font-size:.85rem;color:#495057;text-transform:uppercase;letter-spacing:.5px}.preview-content{flex:1;padding:1rem;overflow-y:auto}.preview-content .markdown-display p{margin:.25rem 0 .5rem}.preview-content .markdown-display h1,.preview-content .markdown-display h2,.preview-content .markdown-display h3,.preview-content .markdown-display h4,.preview-content .markdown-display h5,.preview-content .markdown-display h6{margin:.75rem 0 .25rem}.preview-content .markdown-display ul,.preview-content .markdown-display ol{margin:.25rem 0 .5rem 1.5rem}.preview-content .markdown-display ul li,.preview-content .markdown-display ol li{margin:.1rem 0}.preview-content .markdown-display code{font-size:.85em}.preview-content .markdown-display pre{margin:.5rem 0;padding:.75rem}@media(max-width:768px){.markdown-editor .editor-container.split{flex-direction:column;min-height:auto;max-height:600px}.markdown-editor .preview-area{border-left:none;border-top:1px solid #dee2e6;max-height:300px}.markdown-editor .editor-toolbar{gap:.25rem}.markdown-editor .toolbar-button{width:32px;height:32px}.markdown-editor .toolbar-button.preview-toggle{flex:1;width:auto}}@media(max-width:480px){.markdown-editor .editor-toolbar{padding:.5rem}.markdown-editor .toolbar-button{width:32px;height:32px;font-size:.8rem}.markdown-editor .toolbar-button svg{width:16px;height:16px}.markdown-editor .toolbar-divider,.markdown-editor .preview-toggle{display:none}.markdown-editor .editor-container{min-height:300px}.markdown-editor .editor-container.split{max-height:500px}.markdown-editor .preview-area{max-height:250px}.markdown-editor .markdown-editor-textarea{padding:.75rem;font-size:.9rem}.markdown-editor .preview-content{padding:.75rem}}.post-editor{background-color:#fff;border:1px solid #ddd;border-radius:.25rem;padding:1.5rem;margin-top:1.5rem}.post-editor .editor-title{margin:0 0 1rem;color:#222;font-size:1.125rem}.post-editor .editor-form .form-group{margin-bottom:1rem}.post-editor .editor-form .form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#222;font-size:.875rem}.post-editor .editor-form .form-group .editor-textarea{width:100%;max-width:100%;box-sizing:border-box;padding:1rem;border:1px solid #ddd;border-radius:.25rem;font-family:inherit;font-size:1rem;line-height:1.5;resize:vertical;transition:border-color .2s,box-shadow .2s}.post-editor .editor-form .form-group .editor-textarea:focus{outline:none;border-color:#4fc3f7;box-shadow:0 0 0 3px #4fc3f71a}.post-editor .editor-form .form-group .editor-textarea:disabled{background-color:#f5f5f5;cursor:not-allowed;opacity:.6}.post-editor .editor-form .form-actions{display:flex;justify-content:flex-end;gap:.5rem}.post-editor .editor-form .form-actions .primary-btn{padding:.5rem 1.5rem;background-color:#4fc266;color:#fff;border:none;border-radius:.25rem;font-weight:600;cursor:pointer;transition:background-color .2s}.post-editor .editor-form .form-actions .primary-btn:hover:not(:disabled){background-color:#339246}.post-editor .editor-form .form-actions .primary-btn:active:not(:disabled){transform:scale(.98)}.post-editor .editor-form .form-actions .primary-btn:disabled{opacity:.6;cursor:not-allowed}.profile-form{display:flex;flex-direction:column;gap:1.5rem}.profile-field{display:flex;flex-direction:column;gap:.5rem}.profile-label{font-weight:600;color:#222;font-size:.95rem}.profile-value{font-size:1rem;color:#222;margin:0;padding:.75rem;background-color:#f5f5f5;border-radius:.25rem}.profile-help{font-size:.85rem;color:#999}.email-error{font-size:.85rem;color:#e74c3c;margin:.5rem 0 0}.profile-actions{display:flex;gap:1rem}.modal-content .new-email{padding:.75rem;background-color:#f5f5f5;border-left:3px solid #4fc3f7;border-radius:.25rem}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem;justify-content:flex-end}.profile-danger{display:flex;flex-direction:column;gap:1rem}.profile-danger-item{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;background-color:#fff;border:1px solid #e74c3c;border-radius:.5rem}.profile-danger-item .profile-danger-info{flex:1}.profile-danger-item .profile-danger-info h3{margin:0 0 .5rem;font-size:1.1rem;color:#222}.profile-danger-item .profile-danger-info p{margin:0;color:#999;font-size:.95rem;line-height:1.5}.profile-danger-item button{flex-shrink:0;margin-left:1rem}.profile-danger-item--form{flex-direction:column;align-items:stretch;gap:1rem}.profile-danger-item--form .profile-danger-form{display:flex;flex-direction:column;align-items:flex-end;gap:.75rem;margin-left:0}.profile-danger-item--form .profile-danger-form .profile-danger-form-fields{display:flex;flex-direction:row;gap:.75rem;width:100%}.avatar-upload-container{display:flex;flex-direction:column;gap:1.5rem;max-width:400px}.avatar-upload-preview{width:200px;height:200px;border-radius:50%;overflow:hidden;background:#f5f5f5;display:flex;align-items:center;justify-content:center;border:2px solid #ddd}.avatar-upload-preview img{width:100%;height:100%;object-fit:cover}.avatar-upload-preview .placeholder{color:#999;text-align:center;padding:1rem;font-size:.875rem}.avatar-upload-controls{display:flex;flex-direction:column;gap:1rem}.file-input{display:none}.file-input-label{display:inline-block;padding:.75rem 1.5rem;background:#2196f3;color:#fff;border-radius:.25rem;cursor:pointer;text-align:center;font-weight:500;transition:background-color .2s}.file-input-label:hover{background:#0288d1}.file-input-label:active{background:#02679e}.input:disabled~.file-input-label{background:#f5f5f5;cursor:not-allowed}.error-message{color:#e74c3c;font-size:.875rem;margin:0;padding:.5rem;background:#fdf3f2;border-left:3px solid #e74c3c;border-radius:.25rem}.upload-actions{display:flex;gap:.75rem}.upload-button,.cancel-button{padding:.75rem 1.5rem;border:none;border-radius:.25rem;font-weight:500;cursor:pointer;transition:all .2s}.upload-button{background:#4caf50;color:#fff;flex:1}.upload-button:hover:not(:disabled){background:#449d48}.upload-button:disabled{background:#f5f5f5;cursor:not-allowed}.cancel-button{background:#e74c3c;color:#fff;flex:1}.cancel-button:hover:not(:disabled){background:#e43725}.cancel-button:disabled{background:#f5f5f5;cursor:not-allowed}.profile-container{max-width:800px;margin:0 auto}.profile-header{margin-bottom:2rem;border-bottom:1px solid #ddd;padding-bottom:1rem}.profile-header h1{font-size:2rem;font-weight:700;margin:0 0 .5rem;color:#222}.profile-header .profile-username{font-size:1.1rem;color:#999;margin:0}.profile-section{background-color:#fff;border:1px solid #ddd;border-radius:.5rem;padding:2rem;margin-bottom:2rem}.profile-section h2{margin:0 0 1.5rem;font-size:1.5rem;color:#222}.profile-section.profile-danger-section{border-color:#e74c3c;background-color:#e06b570d}.category-management{display:flex;flex-direction:column;gap:1.5rem}.category-management-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}.category-management-header h2{margin:0;font-size:1.5rem;color:#222}.category-management-loading,.category-management-empty{color:#999;font-size:.95rem}.category-table{width:100%;border-collapse:collapse;font-size:.95rem}.category-table th{text-align:left;padding:.75rem 1rem;background-color:#f5f5f5;border-bottom:2px solid #ddd;color:#222;font-weight:600}.category-table td{padding:.75rem 1rem;border-bottom:1px solid #ddd;color:#222;vertical-align:top;height:100%}.category-table tr:last-child td{border-bottom:none}.category-table tr:hover td{background-color:#f5f5f5}.category-slug{font-family:monospace;font-size:.85rem;color:#999}.category-actions{display:flex;gap:.5rem;white-space:nowrap;align-items:center}.category-form{display:flex;flex-direction:column;gap:1.25rem}.modal-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:1rem}.modal-content{display:flex;flex-direction:column;gap:1rem}.modal-content p{margin:0;color:#222}@media(max-width:640px){.category-table thead{display:none}.category-table tr{display:block;border:1px solid #ddd;border-radius:.25rem;margin-bottom:1rem;padding:.5rem}.category-table td{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;border-bottom:1px solid #ddd;gap:1rem}.category-table td:last-child{border-bottom:none}.category-table td:before{content:attr(data-label);font-weight:600;font-size:.85rem;color:#999;flex-shrink:0}}.category-reorder-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:#e8f4f8;border:1px solid #b8dfe8;border-radius:4px;cursor:pointer;color:#1e7a96;transition:all .2s ease}.category-reorder-btn:hover:not(:disabled){background:#cfe8f0;border-color:#7fc5d9}.category-reorder-btn:disabled{opacity:.4;cursor:not-allowed}.category-reorder-btn svg{width:16px;height:16px}.thread-management{display:flex;flex-direction:column;gap:1.5rem}.thread-management-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}.thread-management-header h2,.thread-management-title{margin:0;font-size:1.5rem;color:#222}.thread-management-select{padding:.4rem .75rem;border:1px solid #ddd;border-radius:.25rem;font-size:.95rem;color:#222;background-color:#fff;cursor:pointer}.thread-management-select:focus{outline:2px solid #4fc3f7;outline-offset:1px}.thread-management-empty{color:#999;font-size:.95rem}.thread-management-table{width:100%;border-collapse:collapse;font-size:.95rem}.thread-management-table th{text-align:left;padding:.75rem 1rem;background-color:#f5f5f5;border-bottom:2px solid #ddd;color:#222;font-weight:600}.thread-management-table td{padding:.75rem 1rem;border-bottom:1px solid #ddd;color:#222;vertical-align:middle}.thread-management-table tr:last-child td{border-bottom:none}.thread-management-table tr:hover td{background-color:#f5f5f5}.thread-management-title-cell{max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-management-status{white-space:nowrap}.status-badge{display:inline-block;padding:.2rem .5rem;border-radius:.25rem;font-size:.8rem;font-weight:600}.status-badge--sticky{background-color:#fff8e1;color:#b08800}.status-badge--locked{background-color:#fdecea;color:#e74c3c}.status-badge--normal{background-color:#f5f5f5;color:#999}.thread-management-actions{display:flex;align-items:center;gap:.5rem;white-space:nowrap;flex-wrap:wrap}@media(max-width:640px){.thread-management-table thead{display:none}.thread-management-table tr{display:block;border:1px solid #ddd;border-radius:.25rem;margin-bottom:1rem;padding:.5rem}.thread-management-table td{display:flex;justify-content:space-between;align-items:center;padding:.5rem .75rem;border-bottom:1px solid #ddd;gap:1rem}.thread-management-table td:last-child{border-bottom:none}.thread-management-table td:before{content:attr(data-label);font-weight:600;font-size:.85rem;color:#999;flex-shrink:0}.thread-management-table td.thread-management-actions{flex-direction:column;align-items:flex-start;gap:.5rem}.thread-management-table td.thread-management-actions:before{margin-bottom:0}.thread-management-table td.thread-management-actions>div{display:flex;flex-wrap:wrap;gap:.5rem;width:100%}.thread-management-table td.thread-management-actions>div button{flex:1}.thread-management-title-cell{max-width:none;white-space:normal;overflow:visible;text-overflow:unset}}.admin-panel{display:flex;flex-direction:column;gap:2rem}.admin-panel-section{background-color:#fff;border:1px solid #ddd;border-radius:.25rem;padding:2rem}.admin-container{max-width:1000px;margin:0 auto;padding:2rem}.admin-header{margin-bottom:2rem;border-bottom:1px solid #ddd;padding-bottom:1rem}.admin-header h1{font-size:2rem;font-weight:700;margin:0 0 .5rem;color:#222}.admin-header .admin-subtitle{font-size:1rem;color:#999;margin:0}.user-profile{max-width:800px;margin:0 auto;padding:1.5rem 0}.user-profile__header{display:flex;align-items:center;gap:1.25rem;padding:1.5rem;background-color:#f5f5f5;border-radius:.25rem;border-left:4px solid #4fc266;margin-bottom:2rem}.user-profile__avatar{width:4rem;height:4rem;border-radius:50%;background-color:#4fc266;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;flex-shrink:0}.user-profile__username{margin:0 0 .4rem;font-size:1.5rem;color:#222}.user-profile__meta{display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:#999}.user-profile__role{display:inline-block;padding:.2rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:600;text-transform:capitalize}.user-profile__role--admin{background-color:#e74c3c1a;color:#e74c3c}.user-profile__role--member{background-color:#4fc2661a;color:#4fc266}.user-profile__threads{padding:1.5rem;border:1px solid #ddd;border-radius:.25rem}.user-profile__section-title{margin:0 0 1rem;font-size:1.1rem;color:#222;display:flex;align-items:center;gap:.5rem}.user-profile__thread-count{display:inline-flex;align-items:center;justify-content:center;background-color:#f5f5f5;color:#999;border-radius:1rem;padding:.1rem .6rem;font-size:.8rem;font-weight:500}.user-profile__thread-list{list-style:none;margin:0;padding:0}.user-profile__thread-item{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:.6rem 0;border-bottom:1px solid #ddd}.user-profile__thread-item:last-child{border-bottom:none}.user-profile__thread-link{color:#222;text-decoration:none;font-size:.95rem;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-profile__thread-link:hover{color:#0288d1}.user-profile__thread-meta{font-size:.8rem;color:#999;white-space:nowrap;flex-shrink:0}.user-profile__empty{color:#999;font-size:.95rem;margin:0}.unauthorized-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;padding:2rem;text-align:center}.unauthorized-content{max-width:500px;display:flex;flex-direction:column;gap:1rem}.unauthorized-title{font-size:2.5rem;font-weight:700;color:#e74c3c;margin:0}.unauthorized-message{font-size:1.25rem;font-weight:600;color:#222;margin:0}.unauthorized-description{font-size:1rem;color:#999;margin:0;line-height:1.6}.not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4rem 1rem;gap:1rem}.not-found__code{font-size:6rem;font-weight:700;color:#ddd;line-height:1;margin:0}.not-found__title{font-size:1.5rem;font-weight:600;color:#222;margin:0}.not-found__link{margin-top:.5rem}.user-status{display:flex;align-items:center;gap:.75rem;padding:.5rem .75rem;background-color:#4fc3f71a;border-radius:.25rem;border:1px solid rgba(79,195,247,.3);transition:all .2s ease}.user-status:hover{background-color:#4fc3f726;border-color:#4fc3f780}.user-status-avatar{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;background:linear-gradient(135deg,#4fc3f7,#29b6f6);color:#fff;border-radius:50%;font-weight:600;font-size:.9rem;flex-shrink:0;box-shadow:0 2px 4px #0000001a}.user-status-username{font-size:.9rem;font-weight:500;color:#222;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}.user-status-badge{display:inline-flex;align-items:center;justify-content:center;width:.5rem;height:.5rem;border-radius:50%;font-size:1rem;line-height:1;flex-shrink:0}.user-status-badge.online{color:#4caf50;animation:pulse-online 2s ease-in-out infinite}@keyframes pulse-online{0%,to{opacity:1}50%{opacity:.6}}@media(max-width:480px){.user-status-username{display:none}.user-status{gap:.5rem;padding:.4rem .5rem}.user-status-avatar{width:1.75rem;height:1.75rem;font-size:.8rem}}.navbar{background-color:#333;color:#fff;padding:.75rem;display:flex;justify-content:space-around;align-items:center;position:relative;flex-wrap:wrap}.navbar .hamburger{display:block;background:none;border:none;color:#fff;font-size:1.5rem;cursor:pointer;padding:.5rem;transition:transform .3s ease}.navbar .hamburger:hover,.navbar .hamburger:focus{transform:scale(1.1);outline:2px solid #4fc3f7}.navbar .navbarList{list-style:none;display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;gap:0;background-color:#333;border-radius:.25rem;box-shadow:0 4px 8px #0003;z-index:100;animation:slideUp .3s ease forwards}.navbar .navbarList.open{display:flex;animation:slideDown .3s ease forwards}.navbar .navbarItem{display:flex;align-items:center;width:100%}.navbar .navLink{display:block;width:100%;color:#fff;text-decoration:none;text-align:left;padding:1rem;border-radius:0;border-bottom:1px solid #444;transition:background-color .3s}.navbar .navLink:hover,.navbar .navLink:focus{background-color:#555}.navbar .navLink:active{background-color:#444}@media(min-width:769px){.navbar{padding:1rem}.navbar .hamburger{display:none}.navbar .navbarList{display:flex!important;position:static;flex-direction:row;gap:1rem;background:none;box-shadow:none;animation:none}.navbar .navbarList .navbarItem{width:auto}.navbar .navbarList .navbarItem .navLink{width:auto;text-align:center;padding:.5rem 1rem;border-radius:.25rem;border-bottom:none;font-size:1rem}.navbar .navbar-user-status{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideUp{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}.footer{background:#333;color:#fff;text-align:center;padding:.25rem 0;font-size:1rem}.layout-container{max-width:1200px;margin:0 auto;padding:1.5rem 1rem}.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;z-index:1000;background:#333;color:#fff;padding:.5rem 1rem;border-radius:.25rem}.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;outline:2px solid #4fc3f7}.protected-route-loader{display:flex;justify-content:center;padding:2rem;min-height:60vh;align-items:center}
