:root {
  --bg: #101014;
  --bg-elev: #15151b;
  --surface: #19191f;
  --surface-2: #202027;
  --surface-3: #2b2b34;
  --border: #303039;
  --border-strong: #66616c;
  --text: #f2efeb;
  --text-dim: #bcb7c1;
  --text-muted: #a7a1ad;
  --gold: #ff983f;
  --gold-hover: #ffb775;
  --gold-press: #ef842b;
  --gold-soft: rgba(255,152,63,.1);
  --gold-line: rgba(255,152,63,.35);
  --focus: 0 0 0 3px rgba(255,152,63,.4);
  --container: 1280px;
  --header-h: 80px;
}
body { background: radial-gradient(ellipse at 95% 10%, rgba(111,56,29,.12), transparent 45%), var(--bg); }
.site-header { background: #101014; box-shadow: none; }
.brand { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 16px; }
.brand-main { color: #f2efeb; font-size: 24px; letter-spacing: .12em; text-shadow: none; }
.brand-sub { display: flex; align-items: center; gap: 12px; font: 600 12px/1.5 var(--font); letter-spacing: .12em; }
.brand-season { color: var(--gold); font-size: 10px; letter-spacing: .08em; }
.nav-links a { font-size: 14px; }
.btn { border-radius: 6px; }
.btn-primary { color: #21140b; }
.btn-primary:hover { color: #21140b; box-shadow: 0 4px 16px rgba(255,152,63,.15); }
.card { box-shadow: none; }
.card-header { background: #1c1c23; border-top: 0; padding: 16px 24px; }
.site-main { padding-top: 32px; }
.rp-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 512px; border: 1px solid #40332f; border-radius: 12px; background: #1b1d23; display: flex; align-items: center; }
.rp-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -3; }
.rp-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(12,13,17,.96) 0%, rgba(12,13,17,.85) 30%, rgba(12,13,17,.28) 65%, rgba(12,13,17,.08)), linear-gradient(0deg, rgba(12,13,17,.8), transparent 30%); }
.rp-hero-content { padding: 48px 48px 80px; max-width: 700px; }
.season-label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,152,63,.4); border-radius: 4px; color: #ffb775; background: rgba(28,19,15,.8); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin-bottom: 32px; }
.rp-eyebrow { color: var(--text-dim); font-size: 12px; font-weight: 600; letter-spacing: .16em; margin-bottom: 12px; }
.rp-hero h1 { font-size: clamp(48px, 5vw, 72px); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; margin-bottom: 24px; }
.rp-hero h1 span { color: var(--gold); }
.rp-hero-description { color: #d1cbd0; font-size: 16px; max-width: 440px; line-height: 1.7; margin-bottom: 24px; }
.rp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rp-hero-actions .btn { min-height: 48px; padding-inline: 24px; }
.rp-hero-actions .btn-primary { gap: 24px; }
.rp-hero-actions .btn-secondary { background: rgba(16,16,20,.7); border-color: #8e7f77; }
.rp-hero-caption { position: absolute; bottom: 24px; left: 48px; right: 48px; display: flex; justify-content: space-between; gap: 16px; color: #d1cbd0; font-size: 10px; font-weight: 600; letter-spacing: .14em; }
.rp-hero-caption span:first-child { color: #ffb775; }
.rp-community-strip { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--border); color: var(--text-muted); font-size: 14px; }
.rp-community-strip strong { color: var(--text); margin-right: 4px; font-variant-numeric: tabular-nums; }
.rp-strip-brand { font-family: var(--font-head); font-size: 18px; font-weight: 700; letter-spacing: .08em; color: var(--text); margin-right: auto; }
.rp-strip-brand span { color: var(--gold); padding-inline: 8px; }
.rp-strip-season { margin-left: auto; color: #ffb775; }
.rp-forum-title { margin: 48px 0 24px; padding: 0; border: 0; scroll-margin-top: 112px; align-items: flex-end; }
.rp-forum-title h2 { font-size: 36px; letter-spacing: -.02em; }
.rp-forum-title .rp-eyebrow { color: var(--gold); margin: 0 0 8px; }
.rp-forum-title > .muted { font-size: 14px; padding-bottom: 4px; }
.rp-section-code { font-size: 10px; letter-spacing: .14em; color: var(--text-muted); }
.rp-forum-card .category-item { padding: 24px; }
.rp-forum-card .category-item h3 { font-size: 24px; }
.rp-forum-card .category-item .title { color: #f2efeb; }
.rp-forum-card .category-item .title:hover { color: var(--gold); }
.rp-forum-card .category-item .stats strong { color: #ffb775; }
.site-footer { background: #101014; margin-top: 16px; }
@media (max-width: 1100px) and (min-width: 901px) {
  .header-inner { gap: 16px; flex-wrap: wrap; padding-block: 8px; }
  .site-nav { flex-wrap: wrap; gap: 8px; }
}
@media (max-width: 760px) {
  .site-main { padding-top: 16px; }
  .rp-hero { min-height: 512px; }
  .rp-hero-image { object-position: 65% center; }
  .rp-hero::before { background: linear-gradient(90deg, rgba(12,13,17,.9), rgba(12,13,17,.55)), linear-gradient(0deg, #0c0d11, transparent 60%); }
  .rp-hero-content { padding: 32px 24px 80px; }
  .rp-hero h1 { font-size: 48px; }
  .season-label { font-size: 10px; margin-bottom: 24px; }
  .rp-hero-caption { left: 24px; right: 24px; bottom: 24px; flex-direction: column; gap: 4px; font-size: 9px; }
  .rp-hero-actions .btn { padding-inline: 16px; white-space: normal; }
  .rp-community-strip { gap: 12px 24px; padding-block: 24px; }
  .rp-strip-brand { flex-basis: 100%; }
  .rp-strip-season { flex-basis: 100%; margin: 0; }
  .rp-forum-title { margin-top: 32px; }
  .rp-forum-title h2 { font-size: 30px; }
  .brand-season { display: none; }
  .rp-forum-card .category-item { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Seasonal presentation layer. Forum and panel component styles stay shared. */
/* Decorative scene is shared by every view and never intercepts input. */
.halloween-world { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: #101014; }
body { isolation: isolate; }
.halloween-world-image { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,20,.7), rgba(12,13,20,.94) 65%), url('/images/los-santos-halloween.png') center / cover no-repeat; }
.halloween-moon { position: absolute; top: 112px; right: 5%; width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #eee1ce, #aa9ca4 60%, #5c546e); box-shadow: 0 0 64px rgba(207,184,153,.2); opacity: .7; }
.halloween-web { position: absolute; top: 0; opacity: .45; }
.halloween-web-left { left: 0; }
.halloween-web-right { right: 0; transform: scaleX(-1); }
.halloween-bat { position: absolute; opacity: .85; }
.halloween-bat-one { top: 152px; right: 13%; transform: rotate(-14deg); }
.halloween-bat-two { top: 240px; right: 4%; transform: rotate(12deg); }
.halloween-bat-three { top: 112px; right: 19%; transform: rotate(18deg); }
.halloween-fog { position: absolute; inset: auto -20% -96px; height: 320px; background: radial-gradient(ellipse at 25% 65%, rgba(160,166,183,.14), transparent 55%), radial-gradient(ellipse at 75% 70%, rgba(154,118,94,.18), transparent 55%); animation: halloween-fog-drift 24s ease-in-out infinite alternate; }
.halloween-pumpkins { position: absolute; bottom: 16px; left: 16px; display: flex; align-items: flex-end; filter: drop-shadow(0 0 16px rgba(255,133,39,.35)); }
.halloween-pumpkins img + img { margin-left: -24px; transform: rotate(10deg); }
.site-header { border-bottom-color: #574032; background: rgba(16,16,20,.96); }
.site-header::after { content: ''; position: absolute; top: 0; right: 0; width: 96px; height: 80px; background: url('/images/halloween-web.svg') top right / 96px 96px no-repeat; transform: scaleX(-1); opacity: .45; pointer-events: none; }
.brand-main::before { content: ''; display: inline-block; width: 28px; height: 28px; margin-right: 8px; vertical-align: middle; background: url('/images/halloween-pumpkin.svg') center / contain no-repeat; }
.halloween-page-banner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px; margin-bottom: 32px; min-height: 192px; border: 1px solid #574032; border-radius: 12px; overflow: hidden; background: linear-gradient(90deg, rgba(14,14,20,.94), rgba(14,14,20,.35)), url('/images/los-santos-halloween.png') center 48% / cover; }
.halloween-kicker { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #ffb775; }
.halloween-page-banner p { margin: 12px 0 0; font-family: var(--font-head); font-size: 30px; line-height: 1.2; color: #f2efeb; }
.halloween-page-banner strong { color: #ffb775; }
.halloween-banner-mark { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .12em; color: #ffd1a8; white-space: nowrap; }
.halloween-banner-mark img { filter: drop-shadow(0 0 16px rgba(255,133,39,.4)); }
.site-main > .page-title:not(.rp-forum-title) { position: relative; padding: 24px 32px; border: 1px solid #4a3842; border-radius: 10px; background: linear-gradient(100deg, #211a21, #16161e); }
.site-main > .page-title:not(.rp-forum-title)::after { content: ''; position: absolute; right: 0; top: 0; width: 64px; height: 64px; background: url('/images/halloween-web.svg') top left / contain; transform: scaleX(-1); opacity: .4; pointer-events: none; }
.card, .post, .table-wrap { border-color: #44353a; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.card-header { position: relative; padding-right: 64px; background: linear-gradient(90deg, #2a1e23, #1b1b24); }
.card-header::after { content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; background: url('/images/halloween-pumpkin.svg') center / contain no-repeat; opacity: .8; pointer-events: none; }
.auth-card { position: relative; border-color: #725044; background: linear-gradient(145deg, #231d26, #16171e); }
.auth-card .card-header { padding-block: 24px; }
.auth-card .card-header h2 { font-size: 30px; }
.auth-card .card-body { padding: 32px; }
.auth-card::after { content: ''; position: absolute; top: 0; right: 0; width: 96px; height: 96px; background: url('/images/halloween-web.svg') top left / contain; transform: scaleX(-1); opacity: .4; pointer-events: none; }
.category-item, .thread-item { background: linear-gradient(90deg, rgba(72,35,28,.14), transparent 50%); }
.category-item h3::before { content: ''; display: inline-block; width: 24px; height: 24px; vertical-align: middle; margin-right: 12px; background: url('/images/halloween-pumpkin.svg') center / contain no-repeat; }
.post-author { background: linear-gradient(160deg, #28202a, #191920); }
.avatar { border-color: #b56b35; box-shadow: 0 0 16px rgba(255,152,63,.1); }
.table thead th { background: #2a2028; }
.halloween-footer-scene { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 24px; }
.halloween-footer-scene span { color: #c4a6a0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-align: center; }
@keyframes halloween-fog-drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }
@media (max-width: 760px) {
  .halloween-page-banner { min-height: 160px; padding: 24px; gap: 12px; margin-bottom: 24px; }
  .halloween-page-banner p { font-size: 24px; }
  .halloween-banner-mark { font-size: 8px; letter-spacing: .04em; }
  .halloween-banner-mark img { width: 48px; height: 48px; }
  .halloween-kicker { font-size: 10px; }
  .halloween-world .halloween-web { width: 96px; height: 96px; }
  .halloween-pumpkins { opacity: .5; left: 4px; bottom: 8px; }
  .halloween-pumpkins img { width: 36px; height: 36px; }
  .halloween-pumpkins img + img { width: 26px; height: 26px; margin-left: -8px; }
  .halloween-moon { width: 64px; height: 64px; }
  .site-main > .page-title:not(.rp-forum-title) { padding: 16px; }
  .auth-card .card-body { padding: 24px; }
  .halloween-footer-scene { gap: 12px; }
  .halloween-footer-scene span { font-size: 10px; }
}
