:root {
  --red: #C8102E;
  --red-dim: #a00d24;
  --red-glow: rgba(200, 16, 46, 0.15);
  --black: #0d0d0f;
  --surface: #131316;
  --surface2: #1a1a1f;
  --surface3: #222228;
  --border: #2a2a32;
  --border-bright: #3a3a44;
  --text: #e8e8ee;
  --text-dim: #9090a0;
  --text-muted: #5a5a6a;
  --white: #ffffff;
  --yellow: #f5b800;
  --green: #22c55e;
  --blue: #3b82f6;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--black); color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.5; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
img { display: block; }
.topbar { background: #0a0a0c; border-bottom: 1px solid var(--border); padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 36px; font-size: 12px; color: var(--text-muted); }
.topbar-left, .topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar-right a { color: var(--text-dim); }
.topbar-right a:hover, .topbar-left a:hover { color: var(--red); }
header { background: var(--surface); border-bottom: 2px solid var(--red); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--text-dim); transition: all 0.15s; white-space: nowrap; }
.nav-item:hover { background: var(--surface3); color: var(--text); }
.nav-item.active { background: var(--red-glow); color: var(--red); }
.header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.btn { padding: 7px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; border: none; transition: all 0.15s; }
.btn-ghost { background: transparent; border: 1px solid var(--border-bright); color: var(--text-dim); }
.btn-ghost:hover { border-color: var(--text-dim); color: var(--text); }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dim); }
.search-box { display: flex; align-items: center; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 0 10px; gap: 6px; height: 34px; width: 220px; }
.search-box input { background: none; border: none; outline: none; color: var(--text); font-size: 13px; width: 100%; font-family: inherit; }
.search-box input::placeholder { color: var(--text-muted); }
.ticker { background: var(--red); padding: 6px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 60px; animation: ticker 40s linear infinite; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; color: white; padding-left: 100%; }
.ticker-inner span::before { content: '⚡ '; }
@keyframes ticker { to { transform: translateX(-50%); } }
.page-wrap { max-width: 1400px; margin: 0 auto; padding: 20px; display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.hero { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr 1fr; min-height: 260px; }
.hero-main { grid-column: 1 / 3; padding: 36px 40px; background: linear-gradient(135deg, #0d0d0f 0%, #1a0508 60%, #2a0a12 100%); position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-main::before { content: 'MINI'; position: absolute; top: -10px; right: -20px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 180px; color: rgba(200,16,46,0.06); letter-spacing: -8px; pointer-events: none; user-select: none; }
.hero-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.hero-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 48px; line-height: 1; color: white; margin-bottom: 12px; }
.hero-title em { color: var(--red); font-style: normal; }
.hero-sub { color: var(--text-dim); font-size: 14px; max-width: 420px; margin-bottom: 20px; }
.hero-ctas { display: flex; gap: 10px; }
.hero-stats { padding: 24px 28px; background: var(--surface2); border-left: 1px solid var(--border); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.stat-number { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 32px; color: var(--white); line-height: 1; }
.stat-number span { color: var(--red); }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.stat-divider { height: 1px; background: var(--border); }
main { display: flex; flex-direction: column; gap: 12px; }
.composer { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: flex; gap: 10px; align-items: center; }
.composer-avatar { width: 36px; height: 36px; border-radius: 6px; background: var(--surface3); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); flex-shrink: 0; font-size: 18px; }
.composer-input { flex: 1; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; color: var(--text-muted); font-size: 13px; font-family: inherit; }
.composer-input:hover { border-color: var(--border-bright); }
.featured-card { background: linear-gradient(135deg, var(--surface2) 0%, #1a0810 100%); border: 1px solid rgba(200,16,46,0.3); border-radius: 10px; padding: 20px; margin-bottom: 4px; }
.featured-card::before { content: '📌 PINNED'; font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--red); display: block; margin-bottom: 8px; }
.featured-card-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; color: var(--white); margin-bottom: 6px; }
.featured-card-body { font-size: 13px; color: var(--text-dim); line-height: 1.6; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 18px; color: var(--white); display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ''; display: block; width: 3px; height: 18px; background: var(--red); border-radius: 2px; }
.section-link { font-size: 12px; color: var(--text-muted); }
.section-link:hover { color: var(--red); }
.feed-tabs { display: flex; gap: 4px; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.tab { padding: 8px 16px; font-size: 13px; font-weight: 500; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; border: none; }
.tab.active { color: var(--red); border-bottom-color: var(--red); }
.post-list { display: flex; flex-direction: column; gap: 4px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: start; transition: border-color 0.15s, background 0.15s; }
.post-card:hover { border-color: var(--border-bright); background: var(--surface2); }
.post-avatar { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; color: white; flex-shrink: 0; }
.post-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.post-cat { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: var(--surface3); color: var(--text-muted); }
.post-cat.tech { background: rgba(59,130,246,0.15); color: #60a5fa; }
.post-cat.gallery { background: rgba(168,85,247,0.15); color: #c084fc; }
.post-cat.sell { background: rgba(34,197,94,0.15); color: #4ade80; }
.post-cat.racing { background: rgba(200,16,46,0.2); color: #f87171; }
.post-cat.projects { background: rgba(20,184,166,0.15); color: #2dd4bf; }
.post-cat.events { background: rgba(245,184,0,0.15); color: #fbbf24; }
.post-author { font-size: 12px; color: var(--text-muted); }
.post-author strong { color: var(--text-dim); }
.post-time { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.post-title { font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 4px; line-height: 1.4; }
.post-preview { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.post-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; min-width: 60px; }
.stat-pill { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.stat-pill.hot { color: var(--red); }
.new-badge { background: var(--red); color: white; font-size: 9px; font-weight: 700; letter-spacing: 1px; padding: 2px 5px; border-radius: 3px; text-transform: uppercase; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { padding: 3px 8px; border: 1px solid var(--border); border-radius: 4px; font-size: 11px; color: var(--text-muted); }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.widget-head { padding: 12px 16px; background: var(--surface2); border-bottom: 1px solid var(--border); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; color: var(--white); display: flex; align-items: center; gap: 6px; }
.widget-body { padding: 14px 16px; }
.join-widget { background: linear-gradient(135deg, var(--surface2) 0%, #100308 100%); border: 1px solid rgba(200,16,46,0.25); border-radius: 10px; padding: 20px; text-align: center; }
.join-widget h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 6px; }
.join-widget p { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; line-height: 1.5; }
.model-nav { display: flex; flex-direction: column; gap: 3px; }
.model-item { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border-radius: 6px; }
.model-item:hover { background: var(--surface3); }
.model-name { font-size: 13px; color: var(--text-dim); }
.model-posts { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.online-list { display: flex; flex-direction: column; gap: 8px; }
.online-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.online-item:last-child { border-bottom: none; }
.online-avatar { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; color: white; position: relative; }
.online-dot { position: absolute; bottom: -1px; right: -1px; width: 8px; height: 8px; background: var(--green); border-radius: 50%; border: 1px solid var(--surface); }
.online-name { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.online-status { font-size: 11px; color: var(--text-muted); }
.online-count { margin-top: 10px; font-size: 12px; color: var(--text-muted); }
.online-count strong { color: var(--green); }
.sponsor-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 12px; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.sponsor-logo { width: 44px; height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px; color: white; flex-shrink: 0; }
.sponsor-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.sponsor-desc { font-size: 11px; color: var(--text-muted); }
.sponsor-badge { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--yellow); text-transform: uppercase; margin-bottom: 3px; }
.ad-slot { background: var(--surface2); border: 1px dashed var(--border-bright); border-radius: 8px; padding: 18px; text-align: center; }
.forum-grid { display: flex; flex-direction: column; gap: 6px; }
.forum-category { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.forum-cat-header { padding: 10px 16px; background: var(--surface2); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.forum-cat-icon { font-size: 18px; width: 28px; text-align: center; }
.forum-cat-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; color: var(--white); flex: 1; }
.forum-sub { padding: 10px 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--border); }
.forum-sub:last-child { border-bottom: none; }
.forum-sub-name { font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.forum-sub-desc { font-size: 11px; color: var(--text-muted); }
.forum-sub-num { font-size: 11px; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; }
.forum-sub-last { min-width: 140px; text-align: right; }
.forum-sub-last-title { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.forum-sub-last-by { font-size: 10px; color: var(--text-muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px; }
.card-title { font-weight: 600; font-size: 15px; color: var(--white); margin-bottom: 6px; }
.card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.card-body { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
form { display: flex; flex-direction: column; gap: 10px; }
input, textarea, select { width: 100%; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 9px 12px; color: var(--text); font-size: 14px; font-family: inherit; }
input:focus, textarea:focus, select:focus { border-color: var(--red); outline: none; }
textarea { min-height: 112px; resize: vertical; }
.small { font-size: 12px; color: var(--text-muted); }
.alert { padding: 10px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 10px; border: 1px solid var(--border); }
.alert-success { background: rgba(34,197,94,0.12); color: #4ade80; border-color: rgba(34,197,94,0.25); }
.alert-error { background: rgba(200,16,46,0.12); color: #f87171; border-color: rgba(200,16,46,0.25); }
.thread-box { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.thread-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.thread-author { font-size: 12px; color: var(--text-muted); }
.reply-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.reply-item { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 8px; }
.footer-brand h4 span { color: var(--red); }
.footer-brand p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 20px; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--text-muted); }
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 6px; background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text-dim); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; background: var(--surface); border-bottom: 2px solid var(--red); padding: 8px 0; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 11px 20px; font-size: 15px; font-weight: 500; color: var(--text-dim); border-left: 3px solid transparent; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--red-glow); color: var(--red); border-left-color: var(--red); }
@media (max-width: 768px) {
  .topbar { display: none; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 10px; }
  nav { display: none; }
  .header-actions .search-box { display: none; }
  .hamburger { display: flex !important; }
  .page-wrap { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .hero { grid-template-columns: 1fr; }
  .hero-main { grid-column: 1; padding: 24px 20px; }
  .hero-title { font-size: 32px; }
  .hero-stats { border-left: none; border-top: 1px solid var(--border); flex-direction: row; padding: 16px 20px; gap: 0; justify-content: space-around; }
  .stat-divider { width: 1px; height: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .header-actions .btn-ghost { display: none; }
}
