:root{--forum-primary: #FF6B35;--forum-secondary: #004E89;--forum-accent: #F77F00;--forum-success: #06A77D;--forum-danger: #D62828;--forum-warning: #F4A261;--forum-upvote: #FF4500;--forum-downvote: #7193FF}.forum-container{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#c3cfe2)}.forum-header{background:linear-gradient(135deg,var(--forum-primary) 0%,var(--forum-secondary) 100%);padding:3rem 0;color:#fff;position:relative;overflow:hidden}.forum-header:before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.3}.forum-title{font-size:3rem;font-weight:800;text-shadow:2px 2px 4px rgba(0,0,0,.2);margin-bottom:.5rem}.forum-subtitle{font-size:1.2rem;opacity:.9}.forum-search{position:relative;max-width:600px;margin:2rem auto 0}.forum-search input{width:100%;padding:1rem 3rem 1rem 1.5rem;border-radius:50px;border:none;font-size:1rem;box-shadow:0 4px 6px #0000001a;transition:all .3s ease}.forum-search input:focus{outline:none;box-shadow:0 6px 12px #00000026;transform:translateY(-2px)}.forum-search-icon{position:absolute;right:1.5rem;top:50%;transform:translateY(-50%);color:#999}.subreddit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;padding:2rem 0}.subreddit-card{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 6px #00000012;transition:all .3s ease;cursor:pointer;position:relative;display:flex;flex-direction:column;min-height:320px;height:100%}.subreddit-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #00000026}.subreddit-card-header{height:100px;background:linear-gradient(135deg,var(--forum-primary) 0%,var(--forum-secondary) 100%);position:relative;flex-shrink:0}.subreddit-icon{width:80px;height:80px;border-radius:50%;border:4px solid white;background:#fff;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;box-shadow:0 4px 12px #0003}.subreddit-card-body{padding:1.5rem;text-decoration:none;flex:1;display:flex;flex-direction:column;min-height:180px}.subreddit-name{font-size:1.25rem;font-weight:700;margin-bottom:.5rem;color:#1a1a1a}.subreddit-description{color:#666;font-size:.9rem;line-height:1.5;margin-bottom:1rem;flex:1;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:4.5rem}.subreddit-stats{display:flex;gap:1.5rem;font-size:.85rem;color:#999}.subreddit-stat{display:flex;align-items:center;gap:.3rem}.subreddit-stat strong{color:var(--forum-primary);font-weight:600}.subscribe-btn{position:absolute;top:1rem;right:1rem;padding:.5rem 1rem;border-radius:20px;border:2px solid white;background:#fff3;color:#fff;font-weight:600;font-size:.85rem;cursor:pointer;transition:all .3s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.subscribe-btn:hover,.subscribe-btn.subscribed{background:#fff;color:var(--forum-primary)}.post-card{background:#fff;border-radius:12px;overflow:hidden;margin-bottom:1rem;box-shadow:0 2px 4px #0000000d;transition:all .3s ease;display:flex}.post-card:hover{box-shadow:0 4px 12px #0000001a}.post-vote{width:50px;background:#f8f9fa;display:flex;flex-direction:column;align-items:center;padding:.75rem 0;gap:.5rem}.vote-btn{width:32px;height:32px;border-radius:4px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#999}.vote-btn:hover{background:#0000000d}.vote-btn.upvote:hover,.vote-btn.upvote.active{color:var(--forum-upvote);background:#ff45001a}.vote-btn.downvote:hover,.vote-btn.downvote.active{color:var(--forum-downvote);background:#7193ff1a}.vote-score{font-weight:700;font-size:.9rem;color:#1a1a1a}.vote-score.positive{color:var(--forum-upvote)}.vote-score.negative{color:var(--forum-downvote)}.post-content{flex:1;padding:1rem}.post-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.post-subreddit{font-weight:700;color:#1a1a1a;text-decoration:none;font-size:.85rem}.post-subreddit:hover{text-decoration:underline}.post-author{color:#666;font-size:.85rem}.post-author a{color:inherit;text-decoration:none}.post-author a:hover{color:var(--forum-primary)}.post-time{color:#999;font-size:.8rem}.post-badges{display:flex;gap:.5rem}.post-badge{padding:.2rem .5rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.post-badge.sticky{background:#d4edda;color:#155724}.post-badge.locked{background:#f8d7da;color:#721c24}.post-title{font-size:1.25rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem;line-height:1.4}.post-title a{color:inherit;text-decoration:none}.post-title a:hover{color:var(--forum-primary)}.post-text{color:#333;line-height:1.6;margin-bottom:.75rem;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.post-image{max-width:100%;border-radius:8px;margin-bottom:.75rem}.post-link{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#f8f9fa;border-radius:8px;color:var(--forum-secondary);text-decoration:none;font-size:.9rem;margin-bottom:.75rem}.post-link:hover{background:#e9ecef}.post-footer{display:flex;gap:1rem;font-size:.85rem}.post-action{display:flex;align-items:center;gap:.3rem;color:#666;cursor:pointer;padding:.3rem .6rem;border-radius:4px;transition:all .2s ease}.post-action:hover{background:#f8f9fa;color:var(--forum-primary)}.comments-section{background:#fff;border-radius:12px;padding:1.5rem;margin-top:1rem}.comment{border-left:2px solid #e9ecef;padding-left:1rem;margin-bottom:1rem}.comment.depth-0{border-left:none;padding-left:0}.comment.depth-1{margin-left:2rem}.comment.depth-2{margin-left:4rem}.comment.depth-3{margin-left:6rem}.comment-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.comment-author{font-weight:600;color:#1a1a1a;font-size:.9rem}.comment-time{color:#999;font-size:.8rem}.comment-content{color:#333;line-height:1.6;margin-bottom:.5rem;white-space:pre-line}.comment-actions{display:flex;gap:1rem;font-size:.85rem}.comment-deleted{color:#999;font-style:italic}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.fade-in-up{animation:fadeInUp .5s ease-out}.pulse{animation:pulse .3s ease-in-out}@media(max-width:768px){.forum-title{font-size:2rem}.subreddit-grid{grid-template-columns:1fr}.post-vote{width:40px}.comment.depth-1{margin-left:1rem}.comment.depth-2{margin-left:2rem}.comment.depth-3{margin-left:3rem}}.mod-panel{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:1rem;border-radius:12px;margin-bottom:1.5rem}.mod-tabs{display:flex;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.mod-tab{padding:.5rem 1rem;border-radius:8px;background:#fff3;color:#fff;cursor:pointer;transition:all .3s ease;font-weight:600}.mod-tab:hover,.mod-tab.active{background:#fff;color:#667eea}.report-card{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1rem;border-left:4px solid var(--forum-warning)}.report-card.resolved{border-left-color:var(--forum-success);opacity:.7}.report-card.dismissed{border-left-color:#999;opacity:.5}.ban-card{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:1rem;border-left:4px solid var(--forum-danger)}.ban-card.expired{opacity:.5;border-left-color:#999}.dark .subreddit-card{background:#171717}.dark .subreddit-name{color:#fff}.dark .subreddit-description,.dark .subreddit-stats{color:#a3a3a3}.dark .post-card{background:#171717}.dark .post-title a{color:#fff}.dark .post-text{color:#d4d4d4}.dark .post-footer{border-top-color:#262626}.dark .comment{background:#171717;border-left-color:#262626}.dark .vote-btn{color:#a3a3a3}.dark .vote-btn.active.upvote{color:#ff4500}.dark .vote-btn.active.downvote{color:#7193ff}.dark .vote-score{color:#d4d4d4}
