.board-container{max-width:1200px;margin:0 auto;padding:20px;position:relative}.comment-textarea-wrapper{position:relative}.comment-toolbar{margin-top:10px;display:flex;gap:10px}.btn-image-upload{padding:8px 16px;background:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.btn-image-upload:hover{background:#e9ecef;border-color:#adb5bd}.btn-image-upload:disabled{opacity:.5;cursor:not-allowed}.comment-image-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;padding:10px;background:#f8f9fa;border-radius:4px}.comment-image-preview .preview-item{position:relative;display:inline-block}.comment-image-preview .preview-item img{display:block;border-radius:4px;border:1px solid #dee2e6}.comment-image-preview .preview-item .remove-image-btn{position:absolute;top:5px;right:5px;width:24px;height:24px;background:rgba(220,53,69,.9);color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;transition:all .2s}.comment-image-preview .preview-item .remove-image-btn:hover{background:#dc3545;transform:scale(1.1)}.comment-content img{max-width:100%;height:auto;border-radius:4px;margin:10px 0;display:block}.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:hsla(0,0%,100%,.95);display:flex;align-items:center;justify-content:center;z-index:9999;backdrop-filter:blur(3px)}.loading-spinner{text-align:center}.loading-spinner .spinner{width:50px;height:50px;border:4px solid #f3f3f3;border-top:4px solid #007bff;border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 15px}.loading-spinner p{font-size:16px;color:#666;font-weight:500}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.board-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;padding-bottom:20px;border-bottom:2px solid var(--primary-color)}.board-header .title-section h1{margin:0 0 8px 0;color:var(--primary-color);font-size:28px;font-weight:700}.board-header .title-section .description{margin:0;color:var(--secondary-color, #6c757d);font-size:14px}.board-header .actions{display:flex;gap:10px}.board-header .actions .write-btn{background:linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%);color:#fff;border:none;padding:14px 28px;border-radius:8px;font-size:16px;font-weight:700;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px rgba(0,123,255,.3);white-space:nowrap}.board-header .actions .write-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,123,255,.4)}.board-header .actions .write-btn:active{transform:translateY(0)}.board-stats{display:flex;gap:20px;margin-bottom:20px;padding:15px;background-color:#f8f9fa;border-radius:6px;font-size:14px}.board-stats span{color:var(--secondary-color, #6c757d)}.board-stats span strong{color:var(--primary-color);font-weight:600}.board-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding:20px;background-color:#fff;border:1px solid #e9ecef;border-radius:8px;gap:20px}.board-controls .controls-left{flex:1}.board-controls .controls-center{flex:2;max-width:400px}.board-controls .controls-right{flex:1;display:flex;justify-content:flex-end}.category-filter{display:flex;gap:8px;flex-wrap:wrap}.category-filter .category-btn{padding:8px 16px;border:1px solid #ddd;background-color:#fff;border-radius:20px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.category-filter .category-btn:hover{border-color:var(--primary-color)}.category-filter .category-btn.active{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.category-filter .category-btn .count{margin-left:4px;font-size:12px;opacity:.8}.search-box{position:relative}.search-box .search-input-group{position:relative;display:flex}.search-box .search-input-group .search-input{flex:1;padding:10px 40px 10px 12px;border:1px solid #ddd;border-radius:6px 0 0 6px;font-size:14px}.search-box .search-input-group .search-input:focus{outline:none;border-color:var(--primary-color)}.search-box .search-input-group .clear-btn{position:absolute;right:45px;top:50%;transform:translateY(-50%);background:none;border:none;color:#999;cursor:pointer;padding:4px}.search-box .search-input-group .clear-btn:hover{color:#666}.search-box .search-input-group .search-btn{padding:10px 16px;background-color:var(--primary-color);color:#fff;border:none;border-radius:0 6px 6px 0;cursor:pointer;font-size:16px}.search-box .search-input-group .search-btn:hover{filter:brightness(0.9)}.view-mode-selector{display:flex;align-items:center;gap:8px}.view-mode-selector .label{font-size:14px;color:var(--secondary-color, #6c757d);font-weight:500}.view-mode-selector .mode-buttons{display:flex;border:1px solid #ddd;border-radius:6px;overflow:hidden}.view-mode-selector .mode-buttons .mode-btn{display:flex;align-items:center;gap:4px;padding:8px 12px;background-color:#fff;border:none;border-right:1px solid #ddd;cursor:pointer;font-size:14px;transition:all .2s ease}.view-mode-selector .mode-buttons .mode-btn:last-child{border-right:none}.view-mode-selector .mode-buttons .mode-btn:hover{background-color:#f8f9fa}.view-mode-selector .mode-buttons .mode-btn.active{background-color:var(--primary-color);color:#fff}.view-mode-selector .mode-buttons .mode-btn .icon{font-size:16px}@media(max-width: 768px){.view-mode-selector .mode-buttons .mode-btn .text{display:none}}.notice-section{margin-bottom:30px}.notice-section h3{margin:0 0 15px 0;color:var(--warning-color, #ffc107);font-size:18px;font-weight:600}.notice-section .notice-list{background-color:#fff8e1;border:1px solid #ffe082;border-radius:8px;overflow:hidden}.notice-section .notice-list .post-card{border-bottom:1px solid #ffe082}.notice-section .notice-list .post-card:last-child{border-bottom:none}.notice-section .notice-list .post-card:hover{background-color:#fff3c4}.post-list.view-mode-list .post-card{display:flex;justify-content:space-between;align-items:center;padding:20px;border:1px solid #e9ecef;border-radius:8px;margin-bottom:12px;text-decoration:none;color:inherit;background-color:#fff;cursor:pointer;transition:all .2s ease}.post-list.view-mode-list .post-card:hover{box-shadow:0 4px 12px rgba(0,0,0,.1);transform:translateY(-2px)}.post-list.view-mode-list .post-card.notice{background-color:#fff8e1;border-color:#ffe082}.post-list.view-mode-list .post-card .main-content{flex:1}.post-list.view-mode-list .post-card .main-content .header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.post-list.view-mode-list .post-card .main-content .header .category{padding:4px 8px;border-radius:12px;font-size:12px;color:#fff;font-weight:500}.post-list.view-mode-list .post-card .main-content .header .notice-badge{color:var(--warning-color, #ffc107);font-weight:600;font-size:14px}.post-list.view-mode-list .post-card .main-content .header .secret-badge{color:var(--secondary-color, #6c757d)}.post-list.view-mode-list .post-card .main-content .title{margin:0 0 8px 0;font-size:18px;font-weight:600;color:var(--dark-color, #343a40);line-height:1.4}.post-list.view-mode-list .post-card .main-content .meta{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--secondary-color, #6c757d)}.post-list.view-mode-list .post-card .main-content .meta .author{font-weight:500}.post-list.view-mode-list .post-card .main-content .meta .stats{display:flex;gap:8px}.post-list.view-mode-list .post-card .main-content .meta .stats span{font-size:13px}.post-list.view-mode-list .post-card .main-content .tags{margin-top:8px;display:flex;gap:6px;flex-wrap:wrap}.post-list.view-mode-list .post-card .main-content .tags .tag{padding:2px 6px;background-color:#f8f9fa;color:var(--primary-color);border-radius:4px;font-size:12px}.post-list.view-mode-list .post-card .main-content .tags .more-tags{color:var(--secondary-color, #6c757d);font-size:12px}.post-list.view-mode-list .post-card .thumbnail{width:80px;height:60px;margin-left:20px;border-radius:6px;overflow:hidden}.post-list.view-mode-list .post-card .thumbnail img{width:100%;height:100%;object-fit:cover}.post-list.view-mode-card{display:grid;grid-template-columns:repeat(auto-fill, minmax(320px, 1fr));gap:20px}.post-list.view-mode-card .post-card{background-color:#fff;border:1px solid #e9ecef;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .3s ease;text-decoration:none;color:inherit;display:block}.post-list.view-mode-card .post-card:hover{box-shadow:0 8px 25px rgba(0,0,0,.15);transform:translateY(-4px)}.post-list.view-mode-card .post-card .thumbnail{width:100%;height:200px;overflow:hidden}.post-list.view-mode-card .post-card .thumbnail img{width:100%;height:100%;object-fit:cover}.post-list.view-mode-card .post-card .content{padding:20px}.post-list.view-mode-card .post-card .content .header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.post-list.view-mode-card .post-card .content .header .category,.post-list.view-mode-card .post-card .content .header .notice-badge,.post-list.view-mode-card .post-card .content .header .secret-badge{padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.post-list.view-mode-card .post-card .content .header .category{color:#fff}.post-list.view-mode-card .post-card .content .header .notice-badge{background-color:var(--warning-color, #ffc107);color:#fff}.post-list.view-mode-card .post-card .content .header .secret-badge{background-color:var(--secondary-color, #6c757d);color:#fff}.post-list.view-mode-card .post-card .content .title{margin:0 0 12px 0;font-size:18px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.post-list.view-mode-card .post-card .content .summary{color:var(--secondary-color, #6c757d);font-size:14px;line-height:1.5;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.post-list.view-mode-card .post-card .content .tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:16px}.post-list.view-mode-card .post-card .content .tags .tag{padding:4px 8px;background-color:#f8f9fa;color:var(--primary-color);border-radius:12px;font-size:12px}.post-list.view-mode-card .post-card .content .footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:16px;border-top:1px solid #f1f3f5}.post-list.view-mode-card .post-card .content .footer .author{display:flex;align-items:center;gap:8px}.post-list.view-mode-card .post-card .content .footer .author img{width:24px;height:24px;border-radius:50%;object-fit:cover}.post-list.view-mode-card .post-card .content .footer .author span{font-size:14px;font-weight:500}.post-list.view-mode-card .post-card .content .footer .stats{display:flex;gap:8px;font-size:13px;color:var(--secondary-color, #6c757d)}.post-list.view-mode-card .post-card .content .footer .date{font-size:12px;color:var(--secondary-color, #6c757d)}.post-list.view-mode-gallery{display:grid;grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));gap:16px}.post-list.view-mode-gallery .post-card{aspect-ratio:1;position:relative;border-radius:12px;overflow:hidden;cursor:pointer;transition:all .3s ease;text-decoration:none;color:inherit;display:block}.post-list.view-mode-gallery .post-card:hover{transform:scale(1.05);box-shadow:0 8px 25px rgba(0,0,0,.2)}.post-list.view-mode-gallery .post-card .thumbnail{width:100%;height:100%;position:relative}.post-list.view-mode-gallery .post-card .thumbnail img{width:100%;height:100%;object-fit:cover}.post-list.view-mode-gallery .post-card .thumbnail .no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);color:#fff;font-size:48px}.post-list.view-mode-gallery .post-card .post-info{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent, rgba(0, 0, 0, 0.8));color:#fff;padding:20px 15px 15px}.post-list.view-mode-gallery .post-card .post-info .title{margin:0 0 8px 0;font-size:16px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.post-list.view-mode-gallery .post-card .post-info .meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;opacity:.9}.post-list.view-mode-gallery .post-card .post-info .stats{display:flex;gap:8px;font-size:12px;margin-top:4px}.empty-state{text-align:center;padding:60px 20px;color:var(--secondary-color, #6c757d)}.empty-state .empty-icon{font-size:64px;margin-bottom:20px;opacity:.5}.empty-state h3{margin:0 0 12px 0;font-size:24px;color:var(--dark-color, #343a40)}.empty-state p{margin:0 0 24px 0;font-size:16px;line-height:1.5}.pagination{display:flex;flex-direction:column;align-items:center;gap:20px;margin-top:40px;padding:30px 20px;background-color:#fff;border:1px solid #e9ecef;border-radius:8px}.pagination .pagination-info{font-size:14px;color:var(--secondary-color, #6c757d)}.pagination .pagination-controls{display:flex;align-items:center;gap:8px}.pagination .pagination-controls .page-btn{min-width:40px;height:40px;border:1px solid #ddd;background-color:#fff;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.pagination .pagination-controls .page-btn:hover{border-color:var(--primary-color);color:var(--primary-color)}.pagination .pagination-controls .page-btn.active{background-color:var(--primary-color);color:#fff;border-color:var(--primary-color)}.pagination .pagination-controls .page-btn.first,.pagination .pagination-controls .page-btn.last,.pagination .pagination-controls .page-btn.prev,.pagination .pagination-controls .page-btn.next{font-size:16px;font-weight:600}.pagination .pagination-controls .page-numbers{display:flex;gap:4px}.pagination .page-jumper form{display:flex;gap:8px;align-items:center}.pagination .page-jumper form .page-input{width:80px;padding:8px;border:1px solid #ddd;border-radius:4px;text-align:center;font-size:14px}.pagination .page-jumper form .page-input:focus{outline:none;border-color:var(--primary-color)}.pagination .page-jumper form .go-btn{padding:8px 16px;background-color:var(--primary-color);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.pagination .page-jumper form .go-btn:hover{filter:brightness(0.9)}.board-footer{display:flex;justify-content:space-between;align-items:center;margin-top:30px;padding:20px;background-color:#f8f9fa;border-radius:8px}.board-footer .footer-info{display:flex;gap:20px;font-size:14px;color:var(--secondary-color, #6c757d)}.board-footer .footer-actions .btn{padding:8px 16px;border:1px solid #ddd;background-color:#fff;border-radius:4px;cursor:pointer;font-size:14px;text-decoration:none;color:var(--dark-color, #343a40);transition:all .2s ease}.board-footer .footer-actions .btn:hover{border-color:var(--primary-color);color:var(--primary-color)}.board-footer .footer-actions .btn.btn-secondary{background-color:var(--secondary-color, #6c757d);color:#fff;border-color:var(--secondary-color, #6c757d)}.board-footer .footer-actions .btn.btn-secondary:hover{filter:brightness(0.9)}.view-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:30px;font-size:14px}.view-breadcrumb .breadcrumb-link{color:var(--primary-color);text-decoration:none;font-weight:500}.view-breadcrumb .breadcrumb-link:hover{text-decoration:underline}.view-breadcrumb .separator{color:var(--secondary-color, #6c757d)}.view-breadcrumb .current{color:var(--secondary-color, #6c757d)}.document-header{background-color:#fff;padding:30px;border-radius:8px;border:1px solid #e9ecef;margin-bottom:20px}.document-header .header-top{display:flex;gap:8px;margin-bottom:15px}.document-header .header-top .category-badge,.document-header .header-top .notice-badge,.document-header .header-top .secret-badge{padding:6px 12px;border-radius:12px;font-size:13px;font-weight:600;color:#fff}.document-header .header-top .notice-badge{background-color:var(--warning-color, #ffc107)}.document-header .header-top .secret-badge{background-color:var(--secondary-color, #6c757d)}.document-header .document-title{margin:0 0 20px 0;font-size:32px;font-weight:700;line-height:1.4;color:var(--dark-color, #343a40)}.document-header .document-meta{display:flex;justify-content:space-between;align-items:center;padding-top:20px;border-top:1px solid #e9ecef}.document-header .document-meta .author-info{display:flex;align-items:center;gap:12px}.document-header .document-meta .author-info .author-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.document-header .document-meta .author-info .author-details{display:flex;flex-direction:column}.document-header .document-meta .author-info .author-details .author-name{font-size:16px;font-weight:600;color:var(--dark-color, #343a40)}.document-header .document-meta .author-info .author-details .author-id{font-size:14px;color:var(--secondary-color, #6c757d)}.document-header .document-meta .document-stats{display:flex;gap:20px}.document-header .document-meta .document-stats .stat-item{display:flex;align-items:center;gap:4px;font-size:14px;color:var(--secondary-color, #6c757d)}.document-header .document-meta .document-stats .stat-item .icon{font-size:16px}.document-body{background-color:#fff;padding:40px;border-radius:8px;border:1px solid #e9ecef;margin-bottom:20px}.document-body .document-content{font-size:16px;line-height:1.8;color:var(--dark-color, #343a40);word-break:break-word;min-height:200px}.document-body .document-content img{max-width:100%;height:auto;border-radius:8px;margin:20px 0}.document-body .document-content p{margin:16px 0}.document-body .document-content a{color:var(--primary-color);text-decoration:underline}.document-body .document-content code{background-color:#f8f9fa;padding:2px 6px;border-radius:4px;font-size:14px;font-family:"Courier New",monospace}.document-body .document-content pre{background-color:#f8f9fa;padding:16px;border-radius:8px;overflow-x:auto}.document-body .document-content pre code{background-color:rgba(0,0,0,0);padding:0}.document-body .document-tags{margin-top:30px;padding-top:20px;border-top:1px solid #e9ecef;display:flex;gap:8px;flex-wrap:wrap}.document-body .document-tags .tag-item{padding:6px 12px;background-color:#f8f9fa;color:var(--primary-color);border-radius:16px;font-size:14px;text-decoration:none;transition:all .2s ease}.document-body .document-tags .tag-item:hover{background-color:var(--primary-color);color:#fff}.document-body .document-files{margin-top:30px;padding-top:20px;border-top:1px solid #e9ecef}.document-body .document-files .files-title{margin:0 0 16px 0;font-size:18px;font-weight:600;color:var(--dark-color, #343a40)}.document-body .document-files .files-list{list-style:none;padding:0;margin:0}.document-body .document-files .files-list .file-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background-color:#f8f9fa;border-radius:8px;margin-bottom:8px;transition:all .2s ease}.document-body .document-files .files-list .file-item:hover{background-color:#e9ecef}.document-body .document-files .files-list .file-item .file-info{display:flex;align-items:center;gap:12px;flex:1}.document-body .document-files .files-list .file-item .file-info .file-icon{font-size:24px}.document-body .document-files .files-list .file-item .file-info .file-details{display:flex;flex-direction:column}.document-body .document-files .files-list .file-item .file-info .file-details .file-name{font-size:14px;font-weight:500;color:var(--dark-color, #343a40)}.document-body .document-files .files-list .file-item .file-info .file-details .file-meta{font-size:12px;color:var(--secondary-color, #6c757d)}.document-body .document-files .files-list .file-item .file-download-btn{padding:8px 16px;background-color:var(--primary-color);color:#fff;border:none;border-radius:6px;text-decoration:none;font-size:14px;font-weight:500;transition:all .2s ease}.document-body .document-files .files-list .file-item .file-download-btn:hover{filter:brightness(0.9)}.document-actions{display:flex;justify-content:center;gap:16px;padding:30px;background-color:#fff;border-radius:8px;border:1px solid #e9ecef;margin-bottom:20px}.document-actions .vote-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 40px;border:2px solid #e9ecef;background-color:#fff;border-radius:12px;cursor:pointer;transition:all .2s ease;min-width:120px}.document-actions .vote-btn .icon{font-size:32px}.document-actions .vote-btn .label{font-size:14px;font-weight:600;color:var(--dark-color, #343a40)}.document-actions .vote-btn .count{font-size:18px;font-weight:700;color:var(--primary-color)}.document-actions .vote-btn.vote-up:hover{border-color:var(--success-color, #28a745);background-color:rgba(40,167,69,.1)}.document-actions .vote-btn.vote-down:hover{border-color:var(--danger-color, #dc3545);background-color:rgba(220,53,69,.1)}.author-card{background-color:#fff;padding:20px;border-radius:8px;border:1px solid #e9ecef;margin-bottom:20px}.author-card .author-card-header{display:flex;align-items:center;gap:16px}.author-card .author-card-header .author-card-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover}.author-card .author-card-header .author-card-info .author-card-name{margin:0 0 4px 0;font-size:20px;font-weight:600}.author-card .author-card-header .author-card-info .author-card-id{margin:0;font-size:14px;color:var(--secondary-color, #6c757d)}.document-footer{display:flex;justify-content:space-between;align-items:center;padding:20px;background-color:#fff;border-radius:8px;border:1px solid #e9ecef;margin-bottom:20px}.document-footer .footer-left,.document-footer .footer-right{display:flex;gap:8px}.document-footer .btn{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.document-footer .btn.btn-secondary{background-color:var(--secondary-color, #6c757d);color:#fff}.document-footer .btn.btn-secondary:hover{filter:brightness(0.9)}.document-footer .btn.btn-primary{background-color:var(--primary-color);color:#fff}.document-footer .btn.btn-primary:hover{filter:brightness(0.9)}.document-footer .btn.btn-danger{background-color:var(--danger-color, #dc3545);color:#fff}.document-footer .btn.btn-danger:hover{filter:brightness(0.9)}.document-footer .btn.btn-success{background-color:var(--success-color, #28a745);color:#fff}.document-footer .btn.btn-success:hover{filter:brightness(0.9)}.document-navigation{display:flex;flex-direction:column;gap:12px}.document-navigation .nav-item{display:flex;flex-direction:column;gap:6px;padding:16px 20px;background-color:#fff;border:1px solid #e9ecef;border-radius:8px;text-decoration:none;transition:all .2s ease}.document-navigation .nav-item:hover{background-color:#f8f9fa;border-color:var(--primary-color)}.document-navigation .nav-item .nav-label{font-size:12px;color:var(--secondary-color, #6c757d);font-weight:500}.document-navigation .nav-item .nav-title{font-size:16px;color:var(--dark-color, #343a40);font-weight:600}.document-navigation .nav-item.nav-prev .nav-label{text-align:left}.document-navigation .nav-item.nav-next .nav-label{text-align:right}.write-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:30px;font-size:14px}.write-breadcrumb .breadcrumb-link{color:var(--primary-color);text-decoration:none;font-weight:500}.write-breadcrumb .breadcrumb-link:hover{text-decoration:underline}.write-breadcrumb .separator{color:var(--secondary-color, #6c757d)}.write-breadcrumb .current{color:var(--secondary-color, #6c757d)}.write-form{background-color:#fff;border-radius:8px;border:1px solid #e9ecef;overflow:hidden}.write-form .form-header{padding:30px;border-bottom:2px solid var(--primary-color);background:linear-gradient(135deg, var(--primary-color) 0%, rgba(0, 123, 255, 0.8) 100%)}.write-form .form-header .form-title{margin:0;font-size:28px;font-weight:700;color:#fff}.write-form .form-body{padding:40px}.write-form .form-body .form-group{margin-bottom:30px}.write-form .form-body .form-group:last-child{margin-bottom:0}.write-form .form-body .form-group .form-label{display:block;margin-bottom:10px;font-size:16px;font-weight:600;color:var(--dark-color, #343a40)}.write-form .form-body .form-group .form-label.required::after{content:" *";color:var(--danger-color, #dc3545)}.write-form .form-body .form-group .form-input{width:100%;padding:12px 16px;border:1px solid #ddd;border-radius:6px;font-size:16px;transition:all .2s ease}.write-form .form-body .form-group .form-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.write-form .form-body .form-group .form-input::placeholder{color:#999}.write-form .form-body .form-group .form-select{width:100%;padding:12px 16px;border:1px solid #ddd;border-radius:6px;font-size:16px;background-color:#fff;cursor:pointer;transition:all .2s ease}.write-form .form-body .form-group .form-select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.write-form .form-body .form-group .form-textarea{width:100%;padding:16px;border:1px solid #ddd;border-radius:6px;font-size:16px;font-family:inherit;line-height:1.6;resize:vertical;transition:all .2s ease}.write-form .form-body .form-group .form-textarea:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.write-form .form-body .form-group .form-textarea::placeholder{color:#999}.write-form .form-body .form-group .form-help{display:block;margin-top:8px;font-size:14px;color:var(--secondary-color, #6c757d)}.write-form .file-upload-area{display:flex;align-items:center;gap:12px;margin-bottom:20px}.write-form .file-upload-area .file-input{display:none}.write-form .file-upload-area .file-upload-btn{padding:12px 24px;background-color:var(--primary-color);color:#fff;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.write-form .file-upload-area .file-upload-btn:hover{filter:brightness(0.9)}.write-form .file-upload-area .file-upload-text{font-size:14px;color:var(--secondary-color, #6c757d)}.write-form .existing-files,.write-form .new-files{margin-top:20px}.write-form .existing-files .files-subtitle,.write-form .new-files .files-subtitle{margin:0 0 12px 0;font-size:14px;font-weight:600;color:var(--dark-color, #343a40)}.write-form .existing-files .files-list,.write-form .new-files .files-list{list-style:none;padding:0;margin:0}.write-form .existing-files .files-list .file-item,.write-form .new-files .files-list .file-item{display:flex;align-items:center;gap:12px;padding:12px 16px;background-color:#f8f9fa;border-radius:6px;margin-bottom:8px;transition:all .2s ease}.write-form .existing-files .files-list .file-item:hover,.write-form .new-files .files-list .file-item:hover{background-color:#e9ecef}.write-form .existing-files .files-list .file-item .file-icon,.write-form .new-files .files-list .file-item .file-icon{font-size:20px}.write-form .existing-files .files-list .file-item .file-name,.write-form .new-files .files-list .file-item .file-name{flex:1;font-size:14px;font-weight:500;color:var(--dark-color, #343a40)}.write-form .existing-files .files-list .file-item .file-size,.write-form .new-files .files-list .file-item .file-size{font-size:13px;color:var(--secondary-color, #6c757d)}.write-form .existing-files .files-list .file-item .file-remove-btn,.write-form .new-files .files-list .file-item .file-remove-btn{padding:4px 8px;background-color:var(--danger-color, #dc3545);color:#fff;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.write-form .existing-files .files-list .file-item .file-remove-btn:hover,.write-form .new-files .files-list .file-item .file-remove-btn:hover{filter:brightness(0.9)}.write-form .form-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 40px;background-color:#f8f9fa;border-top:1px solid #e9ecef}.write-form .form-footer .footer-left,.write-form .form-footer .footer-right{display:flex;gap:12px}.write-form .form-footer .btn{padding:12px 32px;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.write-form .form-footer .btn:disabled{opacity:.6;cursor:not-allowed}.write-form .form-footer .btn.btn-cancel{background-color:var(--secondary-color, #6c757d);color:#fff}.write-form .form-footer .btn.btn-cancel:hover:not(:disabled){filter:brightness(0.9)}.write-form .form-footer .btn.btn-primary{background-color:var(--primary-color);color:#fff}.write-form .form-footer .btn.btn-primary:hover:not(:disabled){filter:brightness(0.9);transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,123,255,.3)}@media(max-width: 768px){.board-container{padding:15px}.board-header{flex-direction:column;gap:15px;text-align:center}.board-controls{flex-direction:column;gap:15px}.board-controls .controls-left,.board-controls .controls-center,.board-controls .controls-right{width:100%;max-width:none}.category-filter{justify-content:center}.view-mode-selector{justify-content:center}.post-list.view-mode-list .post-card{flex-direction:column;text-align:center}.post-list.view-mode-list .post-card .thumbnail{margin:15px 0 0 0;width:100%;height:120px}.post-list.view-mode-card{grid-template-columns:1fr}.post-list.view-mode-gallery{grid-template-columns:repeat(2, 1fr)}.pagination .pagination-controls{flex-wrap:wrap;justify-content:center}.board-footer{flex-direction:column;gap:15px;text-align:center}.board-footer .footer-info{flex-direction:column;gap:8px}}.comment-section{margin-top:50px;padding-top:30px;border-top:2px solid #e9ecef;position:relative;width:100%;max-width:100%;box-sizing:border-box;display:block;min-height:100px;visibility:visible;opacity:1}.comment-loading{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10}.comment-loading .loading-spinner{text-align:center}.comment-loading .loading-spinner .spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid var(--primary-color, #007bff);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 10px}.comment-loading .loading-spinner p{font-size:14px;color:#666;font-weight:500}.comment-form{background:#f8f9fa;border-radius:12px;padding:25px;margin-bottom:30px;display:block;width:100%;box-sizing:border-box}.comment-form .comment-form-header{margin-bottom:15px}.comment-form .comment-form-header .comment-form-title{margin:0;font-size:20px;font-weight:700;color:#212529}.comment-form .comment-form-guest-info{margin-bottom:15px}.comment-form .comment-form-guest-info .guest-info-row{display:-ms-flexbox;display:-webkit-box;display:flex;gap:10px;margin-bottom:10px}.comment-form .comment-form-guest-info .guest-info-row:last-child{margin-bottom:0}.comment-form .comment-form-guest-info .guest-info-row .guest-input{flex:1;padding:12px 15px;border:1px solid #dee2e6;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .3s ease}.comment-form .comment-form-guest-info .guest-info-row .guest-input:focus{outline:none;border-color:var(--primary-color, #007bff);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.comment-form .comment-form-guest-info .guest-info-row .guest-input:disabled{background-color:#e9ecef;cursor:not-allowed}.comment-form .comment-form-guest-info .guest-info-row .guest-input::placeholder{color:#adb5bd}.comment-form .comment-form-body{margin-bottom:15px}.comment-form .comment-form-body .comment-textarea{width:100%;padding:15px;border:1px solid #dee2e6;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;transition:border-color .3s ease}.comment-form .comment-form-body .comment-textarea:focus{outline:none;border-color:var(--primary-color, #007bff);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.comment-form .comment-form-body .comment-textarea:disabled{background-color:#e9ecef;cursor:not-allowed}.comment-form .comment-form-body .comment-image-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;padding:10px;background:#f8f9fa;border-radius:8px}.comment-form .comment-form-body .comment-image-preview .preview-item{position:relative;border:2px solid #dee2e6;border-radius:4px;overflow:hidden}.comment-form .comment-form-body .comment-image-preview .preview-item img{display:block}.comment-form .comment-form-body .comment-image-preview .preview-item .remove-image-btn{position:absolute;top:5px;right:5px;width:24px;height:24px;border:none;background:rgba(220,53,69,.9);color:#fff;border-radius:50%;cursor:pointer;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;transition:background .2s}.comment-form .comment-form-body .comment-image-preview .preview-item .remove-image-btn:hover{background:#dc3545}.comment-form .comment-form-footer{display:flex;justify-content:flex-end}.comment-form .comment-form-footer .btn{padding:10px 24px;border-radius:6px;font-size:15px;font-weight:600;cursor:pointer;transition:all .3s ease}.comment-form .comment-form-footer .btn.btn-primary{background:var(--primary-color, #007bff);color:#fff;border:none}.comment-form .comment-form-footer .btn.btn-primary:hover:not(:disabled){background:#0056b3;transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,123,255,.3)}.comment-form .comment-form-footer .btn.btn-primary:disabled{opacity:.6;cursor:not-allowed}.comment-list{display:block;width:100%;box-sizing:border-box}.comment-list .comment-list-title{margin:0 0 20px 0;font-size:20px;font-weight:700;color:#212529}.comment-list .no-comments{text-align:center;padding:60px 20px;color:#6c757d;font-size:15px}.comment-tree{display:flex;flex-direction:column;gap:15px}.comment-item{background:#fff;border:1px solid #e9ecef;border-radius:10px;padding:20px;transition:box-shadow .3s ease}.comment-item:hover{box-shadow:0 2px 12px rgba(0,0,0,.08)}.comment-item.depth-0{margin-left:0}.comment-item.depth-1{margin-left:40px;background:#f8f9fa}.comment-item.depth-2{margin-left:80px;background:#f8f9fa}.comment-item .comment-wrapper .comment-author{display:flex;align-items:center;gap:12px;margin-bottom:12px}.comment-item .comment-wrapper .comment-author .author-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}.comment-item .comment-wrapper .comment-author .author-info{display:flex;flex-direction:column;gap:4px}.comment-item .comment-wrapper .comment-author .author-info .author-name{font-weight:600;color:#212529;font-size:14px}.comment-item .comment-wrapper .comment-author .author-info .comment-date{font-size:12px;color:#6c757d}.comment-item .comment-wrapper .comment-content{margin-bottom:12px;line-height:1.6;color:#212529;font-size:14px;word-break:break-word}.comment-item .comment-wrapper .comment-actions{display:flex;gap:12px;flex-wrap:wrap}.comment-item .comment-wrapper .comment-actions .comment-action-btn{padding:6px 12px;background:rgba(0,0,0,0);border:1px solid #dee2e6;border-radius:6px;font-size:13px;color:#6c757d;cursor:pointer;transition:all .2s ease}.comment-item .comment-wrapper .comment-actions .comment-action-btn:hover{background:#f8f9fa;border-color:#adb5bd;color:#495057}.comment-item .comment-wrapper .comment-actions .comment-action-btn.vote-btn.active{background:#fff5f5;border-color:#ff6b6b;color:#ff6b6b;font-weight:600}.comment-item .comment-wrapper .comment-actions .comment-action-btn.vote-btn:hover{background:#fff5f5;border-color:#ff6b6b;color:#ff6b6b}.comment-item .comment-wrapper .comment-edit-form,.comment-item .comment-wrapper .comment-reply-form{margin-top:15px;padding:15px;background:#fff;border:1px solid #dee2e6;border-radius:8px}.comment-item .comment-wrapper .comment-edit-form .comment-textarea,.comment-item .comment-wrapper .comment-reply-form .comment-textarea{width:100%;padding:12px;border:1px solid #dee2e6;border-radius:6px;font-size:14px;font-family:inherit;resize:vertical;margin-bottom:10px}.comment-item .comment-wrapper .comment-edit-form .comment-textarea:focus,.comment-item .comment-wrapper .comment-reply-form .comment-textarea:focus{outline:none;border-color:var(--primary-color, #007bff);box-shadow:0 0 0 3px rgba(0,123,255,.1)}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions{display:flex;gap:8px;justify-content:flex-end}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions .btn,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions .btn,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions .btn,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions .btn{padding:8px 16px;border-radius:6px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions .btn.btn-sm,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions .btn.btn-sm,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions .btn.btn-sm,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions .btn.btn-sm{font-size:13px}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions .btn.btn-primary,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions .btn.btn-primary,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions .btn.btn-primary,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions .btn.btn-primary{background:var(--primary-color, #007bff);color:#fff}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions .btn.btn-primary:hover,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions .btn.btn-primary:hover,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions .btn.btn-primary:hover,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions .btn.btn-primary:hover{background:#0056b3}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions .btn.btn-secondary,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions .btn.btn-secondary,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions .btn.btn-secondary,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions .btn.btn-secondary{background:#6c757d;color:#fff}.comment-item .comment-wrapper .comment-edit-form .comment-edit-actions .btn.btn-secondary:hover,.comment-item .comment-wrapper .comment-edit-form .comment-reply-actions .btn.btn-secondary:hover,.comment-item .comment-wrapper .comment-reply-form .comment-edit-actions .btn.btn-secondary:hover,.comment-item .comment-wrapper .comment-reply-form .comment-reply-actions .btn.btn-secondary:hover{background:#5a6268}.comment-item .comment-replies{margin-top:15px;display:flex;flex-direction:column;gap:15px}@media(max-width: 768px){.comment-section{margin-top:30px;padding-top:20px}.comment-form{padding:15px;width:100%;max-width:100%;box-sizing:border-box}.comment-form .comment-form-guest-info .guest-info-row{flex-direction:column;gap:10px}.comment-form .comment-form-guest-info .guest-info-row .guest-input{width:100%;box-sizing:border-box}.comment-form .comment-textarea{font-size:16px;width:100%;box-sizing:border-box}.comment-item{padding:15px}.comment-item.depth-1{margin-left:15px}.comment-item.depth-2{margin-left:30px}.comment-item .comment-wrapper .comment-author{flex-wrap:wrap}.comment-item .comment-wrapper .comment-author .author-avatar{width:32px;height:32px}.comment-item .comment-wrapper .comment-author .author-info{font-size:13px}.comment-item .comment-wrapper .comment-author .author-info .comment-date{font-size:11px}.comment-item .comment-wrapper .comment-content{font-size:14px;line-height:1.6}.comment-item .comment-wrapper .comment-actions{gap:6px;flex-wrap:wrap}.comment-item .comment-wrapper .comment-actions .comment-action-btn{padding:6px 10px;font-size:12px}}
