:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}#root{width:100%;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}:root{--color-bg: #0f0f0f;--color-surface: #1a1a1a;--color-surface-hover: #252525;--color-border: #333;--color-text: #e5e5e5;--color-text-muted: #888;--color-primary: #5865f2;--color-primary-hover: #4752c4;--color-success: #57f287;--color-warning: #fee75c;--color-danger: #ed4245}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:var(--color-bg);color:var(--color-text);line-height:1.6}a{color:var(--color-primary);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;font-family:inherit}.app-layout{min-height:100vh;display:flex;flex-direction:column}.header{background:var(--color-surface);border-bottom:1px solid var(--color-border);padding:.75rem 1.5rem;position:sticky;top:0;z-index:100}.header-content{display:flex;align-items:center;justify-content:space-between;gap:2rem;width:100%}.logo{font-size:1.5rem;font-weight:700;color:var(--color-primary)}.logo:hover{text-decoration:none}.nav{display:flex;gap:1.5rem}.nav a{color:var(--color-text-muted);font-weight:500;transition:color .2s}.nav a:hover,.nav a.active{color:var(--color-text);text-decoration:none}.user-section{display:flex;align-items:center;gap:1rem}.user-info{display:flex;align-items:center;gap:.75rem}.avatar{width:32px;height:32px;border-radius:50%}.avatar-small{width:24px;height:24px;border-radius:50%}.avatar-large{width:80px;height:80px;border-radius:50%}.username{font-weight:500}.login-btn,.logout-btn{background:var(--color-primary);color:#fff;padding:.5rem 1rem;border-radius:4px;border:none;font-weight:500}.login-btn:hover,.logout-btn:hover{background:var(--color-primary-hover);text-decoration:none}.main-content{flex:1;padding:2rem 3rem;width:100%}.footer{background:var(--color-surface);border-top:1px solid var(--color-border);padding:1.5rem 1rem;text-align:center;color:var(--color-text-muted);width:100%}.footer p{margin:0}.footer-credit{font-size:.85rem;margin-top:.5rem!important;opacity:.8}.home-page{display:grid;grid-template-columns:280px 1fr;gap:2rem;align-items:start}.sidebar{background:var(--color-surface);padding:1.5rem;border-radius:8px;position:sticky;top:80px}.sidebar h3{margin-bottom:1rem;font-size:.85rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em}.sidebar h4{margin:1.5rem 0 .75rem;font-size:.85rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em}.tag-search-container{position:relative}.tag-search-form{display:flex;gap:.5rem}.tag-search-form input{flex:1;min-width:0;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);color:var(--color-text);font-size:.9rem}.tag-search-form button{padding:.5rem 1rem;background:var(--color-primary);color:#fff;border:none;border-radius:4px;font-weight:500;white-space:nowrap}.active-tags{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}.active-tags .tags-container{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.tag{display:inline-flex;align-items:center;gap:.35rem;background:var(--color-surface-hover);padding:.25rem .6rem;border-radius:4px;font-size:.85rem}.tag.active{background:var(--color-primary);color:#fff}.tag button{background:none;border:none;color:inherit;font-size:1rem;line-height:1;padding:0;margin-left:.25rem;opacity:.7}.tag button:hover{opacity:1}.popular-tags{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--color-border)}.popular-tags .tags-container{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.tag-btn{background:var(--color-surface-hover);border:1px solid var(--color-border);color:var(--color-text);padding:.25rem .75rem;border-radius:4px;font-size:.85rem;transition:background .2s}.tag-btn:hover{background:var(--color-border)}.feed{min-width:0}.feed h2{margin-bottom:1.5rem;font-size:1.5rem}.no-posts{color:var(--color-text-muted);text-align:center;padding:3rem;background:var(--color-surface);border-radius:8px}.post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.post-card{background:var(--color-surface);border-radius:8px;overflow:hidden;transition:transform .2s,box-shadow .2s;display:block}.post-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000004d;text-decoration:none}.post-preview{aspect-ratio:16/10;background:var(--color-surface-hover);display:flex;align-items:center;justify-content:center;overflow:hidden}.post-preview img{width:100%;height:100%;object-fit:cover}.post-preview .video-preview{position:relative;width:100%;height:100%}.post-preview .video-preview video{width:100%;height:100%;object-fit:cover}.post-preview .video-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:2.5rem;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.5);pointer-events:none}.post-preview .video-duration{position:absolute;bottom:.5rem;right:.5rem;background:#000c;color:#fff;padding:.2rem .5rem;border-radius:3px;font-size:.75rem;font-weight:600}.post-placeholder{color:var(--color-text-muted);font-size:.9rem;padding:1rem;text-align:center}.post-info{padding:1rem}.post-info h3{font-size:1rem;margin-bottom:.5rem;color:var(--color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post-meta{display:flex;align-items:center;gap:.75rem;font-size:.85rem;color:var(--color-text-muted);margin-bottom:.75rem}.post-meta .author{display:flex;align-items:center;gap:.5rem}.post-tags{display:flex;flex-wrap:wrap;gap:.35rem}.post-tags .tag{font-size:.75rem;padding:.15rem .5rem}.more-tags{color:var(--color-text-muted);font-size:.75rem}.pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--color-border)}.pagination button{padding:.5rem 1.25rem;background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text);border-radius:4px;transition:background .2s}.pagination button:hover{background:var(--color-surface-hover)}.post-page{max-width:900px;margin:0 auto}.post-detail{background:var(--color-surface);padding:2rem;border-radius:8px;margin-bottom:2rem}.post-header h1{margin-bottom:1rem}.post-header .post-meta{margin-bottom:1.5rem}.rating{padding:.25rem .5rem;border-radius:4px;font-size:.8rem;text-transform:uppercase;font-weight:600}.rating-safe{background:var(--color-success);color:#000}.rating-questionable{background:var(--color-warning);color:#000}.rating-explicit{background:var(--color-danger);color:#fff}.media-gallery{display:grid;gap:1rem;margin:1.5rem 0}.media-item img,.media-item video{max-width:100%;border-radius:4px}.media-item{position:relative}.media-info,.video-info{margin-top:.5rem;font-size:.85rem;color:var(--color-text-muted);display:flex;gap:1rem}.post-actions{display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}.btn-edit,.btn-delete{padding:.5rem 1rem;border-radius:4px;border:none;font-weight:500}.btn-edit{background:var(--color-surface-hover);color:var(--color-text);border:1px solid var(--color-border)}.btn-delete{background:var(--color-danger);color:#fff}.comments-section{background:var(--color-surface);padding:2rem;border-radius:8px}.comments-section h2{margin-bottom:1.5rem}.comment-form{margin-bottom:2rem}.comment-form textarea{width:100%;padding:.75rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);color:var(--color-text);resize:vertical;min-height:100px;margin-bottom:.75rem}.comment-form button{padding:.5rem 1.25rem;background:var(--color-primary);color:#fff;border:none;border-radius:4px;font-weight:500}.comment-form button:disabled{opacity:.5;cursor:not-allowed}.comments-list{border-top:1px solid var(--color-border)}.comment{padding:1rem 0;border-bottom:1px solid var(--color-border)}.comment:last-child{border-bottom:none}.comment.deleted{opacity:.5}.comment-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem;font-size:.9rem}.comment-header .author{font-weight:600;color:var(--color-text)}.comment-header .date{color:var(--color-text-muted)}.comment-header .edited{color:var(--color-text-muted);font-style:italic}.comment-body{white-space:pre-wrap;line-height:1.5}.comment-actions{display:flex;gap:1rem;margin-top:.75rem}.comment-actions button{background:none;border:none;color:var(--color-text-muted);font-size:.85rem;padding:0}.comment-actions button:hover{color:var(--color-primary)}.comment-edit textarea{width:100%;padding:.5rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);color:var(--color-text);margin-bottom:.5rem}.edit-actions{display:flex;gap:.5rem}.edit-actions button{padding:.25rem .75rem;border-radius:4px;font-size:.85rem}.edit-actions button:first-child{background:var(--color-primary);color:#fff;border:none}.edit-actions button:last-child{background:var(--color-surface-hover);color:var(--color-text);border:1px solid var(--color-border)}.reply-form{margin-top:1rem;margin-left:2rem;padding-left:1rem;border-left:2px solid var(--color-border)}.create-post-page,.edit-post-page{max-width:700px;margin:0 auto}.create-post-page h1,.edit-post-page h1{margin-bottom:1.5rem}.edit-post-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.edit-post-page .page-header h1{margin-bottom:0}.create-form,.edit-form{background:var(--color-surface);padding:2rem;border-radius:8px}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500}.form-group label .required{color:var(--color-danger)}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);color:var(--color-text);resize:vertical}.field-hint{font-size:.85rem;color:var(--color-text-muted);margin-top:.5rem}.rating-hint{background:#5865f21a;padding:.75rem;border-radius:4px;border-left:3px solid var(--color-primary)}.file-count{font-weight:400;font-size:.85rem;color:var(--color-text-muted)}.tag-input{display:flex;gap:.5rem}.tag-input input{flex:1}.tag-input button{padding:.75rem 1.25rem;background:var(--color-primary);color:#fff;border:none;border-radius:4px}.tag-input-container{position:relative}.tag-input-wrapper{border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);padding:.5rem;min-height:44px}.tag-input-tags{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.tag-input-tags .tag{margin:0}.tag-input-field{flex:1;min-width:120px;border:none;background:transparent;color:var(--color-text);padding:.25rem;outline:none;font-size:inherit}.tag-input-field::placeholder{color:var(--color-text-muted)}.tag-suggestions{position:absolute;top:100%;left:0;right:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:4px;margin-top:4px;max-height:200px;overflow-y:auto;z-index:100;box-shadow:0 4px 12px #0000004d}.tag-suggestion{display:flex;justify-content:space-between;align-items:center;width:100%;padding:.75rem 1rem;border:none;background:none;color:var(--color-text);cursor:pointer;text-align:left;transition:background .15s}.tag-suggestion:hover,.tag-suggestion.selected{background:var(--color-surface-hover)}.tag-suggestion .tag-name{font-weight:500}.tag-suggestion .tag-count{font-size:.85rem;color:var(--color-text-muted)}.tags-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.file-drop-zone{border:2px dashed var(--color-border);border-radius:8px;padding:3rem 2rem;text-align:center;position:relative;transition:border-color .2s,background .2s}.file-drop-zone:hover{border-color:var(--color-primary);background:#5865f20d}.file-drop-zone input{position:absolute;inset:0;opacity:0;cursor:pointer}.file-drop-zone p{color:var(--color-text-muted)}.file-list{margin-top:1rem}.file-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:var(--color-bg);border-radius:4px;margin-bottom:.5rem;cursor:grab;transition:transform .2s,box-shadow .2s}.file-item.dragging{opacity:.5;transform:scale(1.02)}.file-item:active{cursor:grabbing}.file-order{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:var(--color-primary);color:#fff;border-radius:50%;font-size:.85rem;font-weight:600;flex-shrink:0}.file-preview{width:48px;height:48px;object-fit:cover;border-radius:4px;flex-shrink:0}.file-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-size{color:var(--color-text-muted);font-size:.85rem}.progress-bar{width:100px;height:4px;background:var(--color-border);border-radius:2px;overflow:hidden}.progress{height:100%;background:var(--color-primary);transition:width .2s}.file-item .status{color:var(--color-success)}.form-actions{display:flex;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}.form-actions button{padding:.75rem 2rem;background:var(--color-primary);color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500}.form-actions button:disabled{opacity:.5;cursor:not-allowed}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-actions-row{display:flex;justify-content:space-between;align-items:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--color-border)}.media-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.75rem;margin-top:.5rem}.media-preview-item{aspect-ratio:1;border-radius:4px;overflow:hidden;background:var(--color-surface-hover)}.media-preview-item img{width:100%;height:100%;object-fit:cover}.media-preview-item .video-placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:.85rem;color:var(--color-text-muted)}.error-page{text-align:center;padding:3rem}.error-page h1{margin-bottom:1rem}.error-page p{color:var(--color-text-muted);margin-bottom:1.5rem}.pending-page{max-width:500px;margin:0 auto;text-align:center}.pending-card{background:var(--color-surface);padding:3rem 2rem;border-radius:12px}.pending-icon{font-size:4rem;margin-bottom:1rem}.pending-card h1{margin-bottom:1rem}.pending-card p{margin-bottom:1rem;color:var(--color-text-muted)}.muted{font-size:.9rem;color:var(--color-text-muted)}.tickets-page{max-width:1200px;margin:0 auto}.tickets-page h1{margin-bottom:.5rem}.tickets-page .page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.tickets-page .page-header h1,.tickets-page .page-header .description{margin-bottom:0}.tickets-layout{display:grid;grid-template-columns:350px 1fr;gap:2rem;min-height:500px}.tickets-list{background:var(--color-surface);border-radius:8px;overflow:hidden;max-height:600px;overflow-y:auto}.no-tickets{padding:2rem;text-align:center;color:var(--color-text-muted)}.ticket-item{padding:1rem 1.25rem;border-bottom:1px solid var(--color-border);cursor:pointer;transition:background .2s}.ticket-item:last-child{border-bottom:none}.ticket-item:hover{background:var(--color-surface-hover)}.ticket-item.selected{background:var(--color-primary);color:#fff}.ticket-item.selected .ticket-meta,.ticket-item.selected .date,.ticket-item.selected .count{color:#fffc}.ticket-item.selected .status-badge{background:#fff3;color:#fff}.ticket-subject{font-weight:600;margin-bottom:.5rem;font-size:.95rem}.ticket-meta{display:flex;align-items:center;gap:.75rem;font-size:.8rem;color:var(--color-text-muted)}.ticket-meta .count{color:var(--color-text-muted)}.status-badge{padding:.2rem .5rem;border-radius:4px;font-size:.7rem;text-transform:uppercase;font-weight:700;letter-spacing:.03em}.status-badge.open{background:var(--color-success);color:#000}.status-badge.waiting{background:var(--color-warning);color:#000}.status-badge.closed{background:var(--color-text-muted);color:#fff}.ticket-detail{background:var(--color-surface);border-radius:8px;padding:1.5rem;display:flex;flex-direction:column}.ticket-detail-content{display:flex;flex-direction:column;height:100%}.no-selection{display:flex;align-items:center;justify-content:center;height:100%;color:var(--color-text-muted);background:var(--color-surface);border-radius:8px;min-height:400px}.ticket-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--color-border)}.ticket-header h2{font-size:1.25rem;margin:0}.ticket-actions button{padding:.5rem 1rem;background:var(--color-surface-hover);border:1px solid var(--color-border);border-radius:4px;color:var(--color-text);font-size:.85rem;cursor:pointer;transition:background .2s}.ticket-actions button:hover{background:var(--color-border)}.messages-list{flex:1;overflow-y:auto;margin-bottom:1.5rem;max-height:400px;display:flex;flex-direction:column;gap:1rem}.message{padding:1rem 1.25rem;border-radius:8px;background:var(--color-bg)}.message.user{border-left:3px solid var(--color-border)}.message.admin{background:#5865f21a;border-left:3px solid var(--color-primary)}.message-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.9rem}.message-header .author{font-weight:600;display:flex;align-items:center;gap:.5rem}.message-header .date{color:var(--color-text-muted);margin-left:auto}.admin-badge{background:var(--color-primary);color:#fff;padding:.15rem .5rem;border-radius:4px;font-size:.7rem;font-weight:700;text-transform:uppercase}.message-body{white-space:pre-wrap;line-height:1.6;color:var(--color-text)}.ticket-detail .reply-form{margin-top:auto;padding-top:1rem;border-top:1px solid var(--color-border)}.ticket-detail .reply-form textarea{width:100%;padding:.75rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);color:var(--color-text);margin-bottom:.75rem;min-height:100px;resize:vertical;font-family:inherit}.ticket-detail .reply-form button{padding:.6rem 1.5rem;background:var(--color-primary);color:#fff;border:none;border-radius:4px;font-weight:500;cursor:pointer;transition:background .2s}.ticket-detail .reply-form button:hover{background:var(--color-primary-hover)}.ticket-detail .reply-form button:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;inset:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-content{background:var(--color-surface);padding:2rem;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-content h2{margin-bottom:1.5rem;font-size:1.5rem}.modal-content .form-group{margin-bottom:1.25rem}.modal-content .form-actions{display:flex;justify-content:flex-end;gap:1rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--color-border)}.modal-content .form-actions button{padding:.6rem 1.25rem;border-radius:4px;font-weight:500;cursor:pointer}.modal-content .form-actions button[type=button]{background:var(--color-surface-hover);border:1px solid var(--color-border);color:var(--color-text)}.modal-content .form-actions button[type=submit]{background:var(--color-primary);border:none;color:#fff}.modal-content .form-actions button:disabled{opacity:.5;cursor:not-allowed}.settings-page{max-width:700px;margin:0 auto}.settings-page h1{margin-bottom:1.5rem}.settings-section{background:var(--color-surface);padding:2rem;border-radius:8px;margin-bottom:2rem}.settings-section h2{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--color-border);font-size:1.25rem}.account-info{display:flex;justify-content:space-between;align-items:center}.user-card{display:flex;align-items:center;gap:1.5rem}.user-details h3{margin-bottom:.25rem}.user-details p{color:var(--color-text-muted);font-size:.9rem}.btn-danger{background:var(--color-danger);color:#fff;padding:.5rem 1rem;border:none;border-radius:4px;font-weight:500}.muted-tags-manager .tag-search{display:flex;gap:.5rem;margin-bottom:1rem}.muted-tags-manager input{flex:1;padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-bg);color:var(--color-text)}.search-results{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.tag-result{background:var(--color-primary);color:#fff;padding:.25rem .75rem;border:none;border-radius:4px;cursor:pointer}.muted-tags-list{display:flex;flex-wrap:wrap;gap:.5rem}.tag.muted{background:var(--color-danger);color:#fff}.admin-page{display:grid;grid-template-columns:220px 1fr;gap:2rem;width:100%}.admin-nav{display:flex;flex-direction:column;gap:.25rem;background:var(--color-surface);padding:1rem;border-radius:8px;height:fit-content;position:sticky;top:80px}.admin-nav a{padding:.75rem 1rem;color:var(--color-text-muted);border-radius:4px;transition:background .2s,color .2s}.admin-nav a:hover{background:var(--color-surface-hover);color:var(--color-text);text-decoration:none}.admin-nav a.active{background:var(--color-primary);color:#fff}.admin-content{min-width:0;width:100%}.admin-content h1{margin-bottom:1.5rem}.admin-content>div{width:100%}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem}.stat-card{background:var(--color-surface);padding:1.5rem;border-radius:8px}.stat-card h3{color:var(--color-text-muted);font-size:.85rem;margin-bottom:.5rem;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:2.5rem;font-weight:700;margin-bottom:.5rem;color:var(--color-primary)}.stat-details{display:flex;gap:1rem;font-size:.85rem;color:var(--color-text-muted)}.stat-link{color:var(--color-primary);font-size:.85rem}.dashboard-lists{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:2rem}.dashboard-section{background:var(--color-surface);border-radius:8px;padding:1.5rem}.dashboard-section h2{font-size:1rem;color:var(--color-text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--color-border)}.leaderboard{display:flex;flex-direction:column;gap:.75rem}.leaderboard-item{display:flex;align-items:center;gap:.75rem;padding:.5rem;background:var(--color-bg);border-radius:4px}.leaderboard-item .rank{font-weight:700;color:var(--color-primary);min-width:28px}.leaderboard-item .user-info-mini{display:flex;align-items:center;gap:.5rem;flex:1}.leaderboard-item .name{flex:1}.leaderboard-item .count{color:var(--color-text-muted);font-size:.85rem}.filters{display:flex;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}.filters input,.filters select{padding:.5rem .75rem;border:1px solid var(--color-border);border-radius:4px;background:var(--color-surface);color:var(--color-text);min-width:150px}.admin-table{width:100%;table-layout:auto;background:var(--color-surface);border-radius:8px;overflow:hidden;border-collapse:collapse}.admin-table th,.admin-table td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid var(--color-border)}.admin-table th:last-child,.admin-table td:last-child{width:1%;white-space:nowrap}.admin-table th{background:var(--color-surface-hover);font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;color:var(--color-text-muted)}.admin-table tbody tr:hover{background:var(--color-surface-hover)}.admin-table .user-cell{display:flex;align-items:center;gap:.5rem}.admin-table .actions{display:flex;gap:.5rem;flex-wrap:wrap}.admin-table .actions button,.admin-table .actions a{padding:.25rem .75rem;background:var(--color-surface-hover);border:1px solid var(--color-border);border-radius:4px;color:var(--color-text);font-size:.85rem;white-space:nowrap;transition:background .2s}.admin-table .actions button:hover,.admin-table .actions a:hover{background:var(--color-border);text-decoration:none}.admin-table .actions .btn-delete-small{background:var(--color-danger);border-color:var(--color-danger);color:#fff}.admin-table .actions .btn-delete-small:hover{filter:brightness(1.1);background:var(--color-danger)}.rating-select{padding:.25rem .5rem;border-radius:4px;border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text);font-size:.85rem}.rating-select.rating-safe{border-color:var(--color-success)}.rating-select.rating-questionable{border-color:var(--color-warning)}.rating-select.rating-explicit{border-color:var(--color-danger)}.tag-editor{margin:1.5rem 0}.tag-editor h4{margin-bottom:.75rem;color:var(--color-text-muted)}.tag-editor .current-tags{margin-bottom:1.5rem}.tag-editor .tags-list{display:flex;flex-wrap:wrap;gap:.5rem}.badge{display:inline-block;padding:.15rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;margin-right:.25rem;text-transform:uppercase}.badge.success{background:var(--color-success);color:#000}.badge.pending{background:var(--color-warning);color:#000}.badge.admin{background:var(--color-primary);color:#fff}.badge.danger{background:var(--color-danger);color:#fff}.badge.warning{background:var(--color-warning);color:#000}.badge.published{background:var(--color-success);color:#000}.badge.draft{background:var(--color-text-muted);color:#000}.badge.deleted{background:var(--color-danger);color:#fff}.badge.open{background:var(--color-success);color:#000}.badge.waiting{background:var(--color-warning);color:#000}.badge.closed{background:var(--color-text-muted);color:#000}.btn-verify{padding:.25rem .5rem;background:var(--color-warning);color:#000;border:none;border-radius:4px;font-size:.75rem;font-weight:600;cursor:pointer;transition:filter .2s}.btn-verify:hover{filter:brightness(1.1)}.btn-verify:disabled{opacity:.5;cursor:wait}.forums-page{max-width:1000px;margin:0 auto}.forums-page h1{margin-bottom:.5rem}.forums-page .page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem}.forums-page .page-header h1{margin-bottom:.25rem}.category-list{display:flex;flex-direction:column;gap:1.5rem}.category-card{background:var(--color-surface);border-radius:8px;overflow:hidden}.category-header{padding:1.25rem 1.5rem;background:var(--color-surface-hover);border-bottom:1px solid var(--color-border);display:flex;justify-content:space-between;align-items:center}.category-header h2{font-size:1.1rem;margin:0}.category-header h2 a{color:var(--color-text)}.category-header h2 a:hover{color:var(--color-primary);text-decoration:none}.category-description{color:var(--color-text-muted);font-size:.9rem;margin-top:.25rem}.category-stats{color:var(--color-text-muted);font-size:.85rem}.thread-list{padding:0}.thread-item{display:grid;grid-template-columns:1fr auto auto;gap:2rem;padding:1rem 1.5rem;border-bottom:1px solid var(--color-border);align-items:center;transition:background .2s}.thread-item:last-child{border-bottom:none}.thread-item:hover{background:var(--color-surface-hover)}.thread-info h3{font-size:1rem;margin-bottom:.25rem}.thread-info h3 a{color:var(--color-text)}.thread-info h3 a:hover{color:var(--color-primary);text-decoration:none}.thread-meta{font-size:.85rem;color:var(--color-text-muted);display:flex;gap:1rem}.thread-stats{text-align:center;min-width:80px}.thread-stats .count{font-size:1.25rem;font-weight:600;display:block}.thread-stats .label{font-size:.75rem;color:var(--color-text-muted);text-transform:uppercase}.thread-activity{font-size:.85rem;color:var(--color-text-muted);min-width:150px;text-align:right}.thread-activity .author{color:var(--color-text);display:block}.thread-page{max-width:900px;margin:0 auto}.thread-header{background:var(--color-surface);padding:2rem;border-radius:8px;margin-bottom:1.5rem}.thread-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.thread-title-row h1{margin-bottom:.5rem;flex:1}.thread-admin-actions{display:flex;gap:.5rem;flex-shrink:0}.btn-small{padding:.35rem .75rem;font-size:.8rem;background:var(--color-surface-hover);border:1px solid var(--color-border);border-radius:4px;color:var(--color-text);cursor:pointer;transition:background .2s}.btn-small:hover{background:var(--color-border)}.btn-small.btn-danger{background:var(--color-danger);border-color:var(--color-danger);color:#fff}.btn-small.btn-danger:hover{filter:brightness(1.1)}.thread-header h1{margin-bottom:.5rem}.thread-breadcrumb{font-size:.9rem;color:var(--color-text-muted);margin-bottom:1rem}.thread-breadcrumb a{color:var(--color-text-muted)}.thread-breadcrumb a:hover{color:var(--color-primary)}.thread-posts{display:flex;flex-direction:column;gap:1rem}.thread-post{background:var(--color-surface);border-radius:8px;display:grid;grid-template-columns:150px 1fr}.thread-post.deleted{opacity:.6}.post-author{padding:1.5rem;background:var(--color-surface-hover);border-radius:8px 0 0 8px;text-align:center}.post-author .avatar-large{margin-bottom:.5rem}.post-author .avatar-placeholder{width:80px;height:80px;background:var(--color-border);border-radius:50%;margin:0 auto .5rem}.post-author .name{font-weight:600;margin-bottom:.25rem}.post-author .role{font-size:.75rem;color:var(--color-primary);text-transform:uppercase;font-weight:600}.post-author .user-stats{margin-top:.5rem;font-size:.7rem;color:var(--color-text-muted);display:flex;flex-direction:column;gap:.15rem}.post-content{padding:1.5rem}.post-content-header{display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid var(--color-border);font-size:.85rem;color:var(--color-text-muted)}.post-header-right{display:flex;align-items:center;gap:.75rem}.btn-delete-post{width:22px;height:22px;border-radius:50%;background:var(--color-danger);color:#fff;border:none;font-size:1rem;line-height:1;cursor:pointer;opacity:.7;transition:opacity .2s}.btn-delete-post:hover{opacity:1}.post-body{line-height:1.7;white-space:pre-wrap}.deleted-text{color:var(--color-text-muted)}.new-thread-form,.reply-form-container{background:var(--color-surface);padding:2rem;border-radius:8px;margin-top:1.5rem}.new-thread-form h2,.reply-form-container h3{margin-bottom:1.5rem}.loading{display:flex;align-items:center;justify-content:center;padding:3rem;color:var(--color-text-muted)}.age-gate-overlay{position:fixed;inset:0;background:#000000f2;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem}.age-gate-modal{background:var(--color-surface);padding:3rem;border-radius:12px;max-width:500px;text-align:center}.age-gate-icon{font-size:4rem;margin-bottom:1rem}.age-gate-modal h1{margin-bottom:1rem;color:var(--color-danger)}.age-gate-modal p{margin-bottom:1.5rem;color:var(--color-text-muted);line-height:1.7}.age-gate-actions{display:flex;gap:1rem;justify-content:center;margin-bottom:1.5rem}.age-gate-notice{font-size:.8rem;color:var(--color-text-muted)}.rating-filter{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--color-border)}.rating-options{display:flex;flex-direction:column;gap:.5rem;margin-top:.75rem}.rating-option{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.25rem 0}.rating-option input{margin:0}.post-preview.blurred img,.post-preview.blurred video,.post-preview.blurred .video-preview video{filter:blur(20px);transform:scale(1.1)}.post-preview.blurred .video-indicator,.post-preview.blurred .video-duration{display:none}.post-preview{position:relative}.blur-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#00000080;color:#fff;cursor:pointer}.blur-label{font-size:1.25rem;font-weight:600;margin-bottom:.5rem}.blur-hint{font-size:.85rem;opacity:.8}.rating-badge{position:absolute;top:.5rem;right:.5rem;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:700}.rating-badge.rating-explicit{background:var(--color-danger);color:#fff}.rating-badge.rating-questionable{background:var(--color-warning);color:#000}.btn-favorite{padding:.5rem 1rem;background:var(--color-surface-hover);border:1px solid var(--color-border);border-radius:4px;color:var(--color-text);font-weight:500;transition:all .2s}.btn-favorite:hover{background:var(--color-border)}.btn-favorite.favorited{background:var(--color-warning);color:#000;border-color:var(--color-warning)}.btn-download{padding:.5rem 1rem;background:var(--color-success);border:none;border-radius:4px;color:#000;font-weight:500;transition:all .2s}.btn-download:hover{filter:brightness(1.1)}.download-dropdown{position:relative;display:inline-block}.download-dropdown .download-menu{display:none;position:absolute;top:100%;left:0;background:var(--color-surface);border:1px solid var(--color-border);border-radius:4px;min-width:150px;z-index:10}.download-dropdown:hover .download-menu{display:block}.download-menu button{display:block;width:100%;padding:.5rem 1rem;background:none;border:none;color:var(--color-text);text-align:left;cursor:pointer}.download-menu button:hover{background:var(--color-surface-hover)}.settings-group{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--color-border)}.settings-group:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.settings-group h4{margin-bottom:.5rem}.setting-option,.setting-toggle{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;cursor:pointer}.setting-toggle input{width:18px;height:18px}.rating-selector{display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem}.post-tags-section{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--color-border)}.post-tags-section h4{margin-bottom:.75rem;font-size:.9rem;color:var(--color-text-muted)}.post-tags-section .post-tags{display:flex;flex-wrap:wrap;gap:.5rem}.post-tags-section .tag{background:var(--color-surface-hover);padding:.35rem .75rem;border-radius:4px;font-size:.9rem;color:var(--color-text);transition:background .2s}.post-tags-section .tag:hover{background:var(--color-primary);color:#fff;text-decoration:none}.favorites-page h1{margin-bottom:1.5rem}.error{color:var(--color-danger);padding:1rem;background:#ed42451a;border-radius:4px;margin:1rem 0}.btn-primary{display:inline-block;background:var(--color-primary);color:#fff;padding:.75rem 1.5rem;border-radius:4px;border:none;font-weight:500;transition:background .2s}.btn-primary:hover{background:var(--color-primary-hover);text-decoration:none}.btn-secondary{display:inline-block;background:var(--color-surface-hover);color:var(--color-text);padding:.75rem 1.5rem;border-radius:4px;border:1px solid var(--color-border);font-weight:500;transition:background .2s}.btn-secondary:hover{background:var(--color-border);text-decoration:none}.description{color:var(--color-text-muted);margin-bottom:1rem}.empty-state{text-align:center;padding:3rem;color:var(--color-text-muted)}.pinned{background:#5865f20d}.pinned .thread-info h3:before{content:"📌 "}.locked .thread-info h3:after{content:" 🔒"}@media(max-width:1024px){.home-page{grid-template-columns:240px 1fr}.thread-item{grid-template-columns:1fr auto}.thread-stats{display:none}}@media(max-width:900px){.home-page{grid-template-columns:1fr}.sidebar{position:static;order:-1}.tickets-layout,.admin-page{grid-template-columns:1fr}.admin-nav{flex-direction:row;overflow-x:auto;position:static;gap:.5rem;padding:.75rem}.admin-nav a{white-space:nowrap;padding:.5rem 1rem}.thread-post{grid-template-columns:1fr}.post-author{border-radius:8px 8px 0 0;display:flex;align-items:center;gap:1rem;text-align:left;padding:1rem 1.5rem}.post-author .avatar-large{width:48px;height:48px;margin-bottom:0}}@media(max-width:600px){.header-content{flex-wrap:wrap;gap:1rem}.nav{order:3;width:100%;justify-content:center;gap:1rem;font-size:.9rem}.main-content{padding:1rem}.post-grid{grid-template-columns:1fr}.thread-item{grid-template-columns:1fr;gap:.5rem}.thread-activity{text-align:left}}.gallery-controls{display:flex;gap:.5rem;margin-bottom:1rem}.view-toggle{padding:.5rem 1rem;background:var(--color-surface-hover);border:1px solid var(--color-border);border-radius:4px;color:var(--color-text);font-size:.9rem;transition:all .2s}.view-toggle:hover{background:var(--color-border)}.view-toggle.active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.slideshow{position:relative;display:flex;align-items:center;gap:.5rem}.slideshow-content{flex:1;min-width:0}.slideshow-content .media-item{display:flex;justify-content:center;align-items:center}.slideshow-content .media-item img,.slideshow-content .media-item video{max-height:70vh;object-fit:contain}.slideshow-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;background:#0009;border:none;border-radius:50%;color:#fff;font-size:1.25rem;cursor:pointer;transition:background .2s;z-index:10;display:flex;align-items:center;justify-content:center}.slideshow-nav:hover{background:#000c}.slideshow-nav.prev{left:1rem}.slideshow-nav.next{right:1rem}.slideshow-indicators{display:flex;justify-content:center;gap:.5rem;margin-top:1rem}.indicator{width:10px;height:10px;border-radius:50%;background:var(--color-border);border:none;cursor:pointer;transition:background .2s}.indicator:hover{background:var(--color-text-muted)}.indicator.active{background:var(--color-primary)}.slideshow-counter{text-align:center;margin-top:.5rem;font-size:.9rem;color:var(--color-text-muted)}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.grid-item{position:relative;aspect-ratio:1;background:var(--color-surface-hover);border-radius:8px;overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s}.grid-item:hover{transform:scale(1.02);box-shadow:0 4px 12px #0000004d}.grid-item img,.grid-item video{width:100%;height:100%;object-fit:cover}.grid-item .video-thumbnail{position:relative;width:100%;height:100%}.grid-item .video-thumbnail video{width:100%;height:100%;object-fit:cover}.grid-item .play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:2rem;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.5)}.grid-item .video-duration{position:absolute;bottom:.5rem;left:.5rem;background:#000c;color:#fff;padding:.15rem .4rem;border-radius:3px;font-size:.7rem;font-weight:600}.grid-item .file-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:3rem}.grid-index{position:absolute;bottom:.5rem;right:.5rem;background:#000000b3;color:#fff;padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.download-divider{height:1px;background:var(--color-border);margin:.25rem 0}.download-menu button:first-child{font-weight:600;color:var(--color-primary)}.btn-download:disabled{opacity:.7;cursor:wait}@media(max-width:600px){.slideshow-nav{width:36px;height:36px;font-size:1rem}.slideshow-nav.prev{left:.5rem}.slideshow-nav.next{right:.5rem}.media-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:.5rem}.gallery-controls{flex-wrap:wrap}}
