:root { --panel: #13212bf5; }
body { background: radial-gradient(ellipse at 90% 0%, #40545155, transparent 48%), radial-gradient(ellipse at 0% 35%, #273d5055, transparent 55%), var(--ink); }
h1 { font-size: clamp(32px, 5vw, 64px); }
h2 { font-size: 24px; }
h3 { font-size: 21px; }
.forum-header { max-width: 1600px; margin: auto; padding: 28px 4%; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: 1px; text-decoration: none; }
.brand span { display: block; margin-top: 9px; font: 18px var(--body); letter-spacing: 0; color: var(--muted); }
.forum-header nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.forum-header nav > a:not(.button) { color: var(--muted); text-decoration: none; }
.forum-header nav > a[aria-current=page] { color: var(--gold); }
.forum-header form { margin: 0; }
.nav-button { background: none; border: 0; color: var(--muted); padding: 10px 0; font-size: 15px; }
.forum-header nav > a.nav-user { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 600; }
.nav-user .avatar { width: 24px; height: 24px; font-size: 12px; }
.shell { max-width: 1440px; padding: 0 40px 80px; margin: auto; min-height: 72vh; }
.forum-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; min-height: 400px; padding: 56px 0; }
.eyebrow { font-family: var(--display); color: var(--gold); font-size: 12px; letter-spacing: 1.5px; margin-bottom: 22px; font-weight: 600; }
.spark { color: var(--gold); font-size: 24px; vertical-align: middle; margin-right: 8px; }
.forum-hero h1 { font-size: clamp(34px, 3.5vw, 54px); letter-spacing: 0; margin-bottom: 22px; line-height: 1.25; }
.forum-hero h1 em { font-family: var(--body); font-size: 1.2em; font-weight: 400; color: var(--gold); }
.forum-hero p:not(.eyebrow) { font: 24px/1.5 var(--body); max-width: 36em; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.quiet { color: var(--muted); font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; background: var(--gold); color: #182127; border: 1px solid var(--gold); padding: 13px 22px; text-decoration: none; font-size: 15px; font-weight: 600; min-height: 44px; border-radius: 0; }
.button:hover { background: #ecd2a0; }
.button.small { padding: 8px 17px; min-height: 44px; }
.button.subtle { color: var(--gold); background: transparent; border-color: #dabb7e70; }
.button.subtle:hover { border-color: var(--gold); background: #dabb7e0b; }
.hero-art { position: relative; overflow: hidden; min-height: 300px; background: radial-gradient(ellipse, #73816b12, transparent 68%); display: flex; align-items: center; justify-content: center; }
.hero-art .art-frame { position: relative; display: block; width: min(440px, 100%); aspect-ratio: 1254 / 720; overflow: hidden; }
.hero-art .art-frame img { position: absolute; display: block; width: 100%; height: auto; left: 0; top: -31%; }
.hero-art > span { position: absolute; bottom: 18px; font-family: var(--display); font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }
.forum-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.categories { display: grid; gap: 8px; }
.category { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; min-height: 54px; color: var(--muted); text-decoration: none; font-size: 16px; background: #13212b99; border: 1px solid var(--line); border-radius: 0; }
.category:hover { background: #dabb7e0b; border-color: #dabb7e2b; color: var(--gold); }
.category.active { background: #dabb7e1c; border-color: #dabb7e99; color: var(--gold); box-shadow: inset 3px 0 var(--gold); }
.category small { font-size: 13px; min-width: 26px; text-align: center; padding: 2px 6px; color: var(--muted); background: var(--ink); border: 1px solid var(--line); }
.aside-note { margin-top: 28px; border-top: 1px solid var(--line); padding: 25px 14px; }
.aside-note h2 { font-family: var(--body); font-size: 27px; margin-top: 12px; }
.aside-note p, .aside-note a { font-size: 14px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-heading h2 { margin: 0; font-size: 26px; }
.text-link { font-size: 12px; text-decoration: none; white-space: nowrap; }
.search { display: flex; gap: 10px; margin-bottom: 12px; }
.search input { margin: 0; min-width: 0; }
.results-summary { font-size: 14px; margin: 0 0 18px; }
.topic-list { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: #13212be8; }
.topic-row { display: flex; align-items: center; gap: 18px; padding: 25px 22px; border-bottom: 1px solid var(--line); }
.topic-row:hover { background: #dabb7e08; }
.topic-row:last-child { border-bottom: 0; }
.topic-row > div { min-width: 0; }
.topic-icon { flex: none; display: grid; place-items: center; border: 1px solid #dabb7e30; width: 39px; height: 39px; color: var(--gold); font-size: 23px; }
.tag { display: block; font-size: 12px; color: var(--gold); letter-spacing: .6px; margin-bottom: 7px; }
.topic-row h3 { font: 600 22px/1.4 var(--body); margin: 0 0 8px; overflow-wrap: anywhere; }
.topic-row h3 a { color: var(--ivory); text-decoration: none; }
.topic-row h3 a:hover { color: var(--gold); }
.meta { font-size: 14px; margin: 0; }
.reply-count { margin-left: auto; text-align: center; font-size: 21px; flex: none; min-width: 72px; color: #d7daca; }
.reply-count small { display: block; font-size: 12px; color: var(--muted); }
.empty { text-align: center; padding: 48px 24px; }
.empty > .spark { display: block; font-size: 35px; margin-bottom: 20px; }
.empty h3 { font: 600 30px var(--body); margin-bottom: 12px; }
.empty p, .empty a { font-size: 16px; }
.forum-footer { border-top: 1px solid var(--line); max-width: 1520px; margin: auto; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 14px; }
.forum-footer .brand { font-size: 19px; }
.notice { padding: 16px 20px; margin-top: 25px; background: #264138; border: 1px solid #779787; color: #e0eee4; border-radius: 0; }
.notice.error { background: #422b2b; border-color: #aa7971; color: #f6d9d5; }
.auth-wrap { max-width: 600px; margin: 44px auto; }
.back { display: inline-block; margin: 25px 0; font-size: 13px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 0; padding: 32px; margin-bottom: 24px; box-shadow: 0 16px 50px #00000020; }
.auth h1, .compose h1 { font-size: 30px; margin-bottom: 18px; }
.auth > p { font-size: 16px; }
.auth .button { width: 100%; margin-top: 12px; }
.auth .eyebrow, .compose .eyebrow { font-size: 12px; }
label { display: block; font-size: 16px; margin: 18px 0 8px; color: var(--ivory); }
input, select, textarea { width: 100%; border: 1px solid #889eaa50; background: #0c1822; color: var(--ivory); border-radius: 0; padding: 12px 14px; min-height: 46px; }
textarea { resize: vertical; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #98a5aa; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; }
.check input { width: 17px; height: 17px; min-height: 0; flex: none; margin: 2px 0; accent-color: var(--gold); }
.hint { font-size: 14px; margin: 8px 0 18px; color: var(--muted); }
.auth-links { display: grid; gap: 12px; margin-top: 22px; font-size: 14px; }
.compose { max-width: 780px; margin: 35px auto; }
.page-title { font-size: clamp(30px, 4vw, 48px); overflow-wrap: anywhere; margin-bottom: 30px; }
.post { border: 1px solid var(--line); border-radius: 0; background: #14222b; padding: 26px; margin-bottom: 18px; box-shadow: 0 16px 50px #00000020; }
.post-author { display: flex; align-items: center; gap: 12px; font-size: 15px; margin-bottom: 24px; flex-wrap: wrap; }
.avatar { display: grid; place-items: center; width: 36px; height: 36px; background: #dabb7e15; border: 1px solid #dabb7e33; color: var(--gold); font-family: var(--display); }
.post-author time { color: var(--muted); margin-left: auto; font-size: 13px; }
.post-body { white-space: normal; overflow-wrap: anywhere; font-size: 17px; line-height: 1.85; }
.replies-heading { margin: 34px 0 22px; }
.moderation { padding: 12px 0; color: var(--muted); font-size: 14px; }
.moderation summary { cursor: pointer; min-height: 32px; }
.mod-form { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.mod-form .check { margin: 0; }
.mod-form .button { font-size: 12px; }
.mod-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.member { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.member h2, .member p { margin: 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 25px 0; font-size: 14px; }
.profile dt { color: var(--muted); font-size: 14px; }
.profile dd { margin: 0 0 22px; overflow-wrap: anywhere; }
.rules { padding-left: 22px; }
.rules li { padding: 8px 0; color: var(--muted); }
.rules strong { color: var(--ivory); }
.skip-link { position: absolute; left: 12px; top: -100px; background: var(--gold); color: var(--ink); padding: 12px; z-index: 10; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (min-width: 1800px) {
  .shell { max-width: 1560px; }
  .forum-hero { padding: 64px 0; }
  .forum-hero h1 { font-size: 60px; }
  .forum-hero p:not(.eyebrow) { font-size: 28px; }
  .category { font-size: 18px; }
  .topic-row h3 { font-size: 26px; }
  .forum-header nav, .nav-button { font-size: 17px; }
}
@media (max-width: 1000px) {
  .forum-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .forum-hero h1 { font-size: 36px; }
  .hero-art { min-height: 260px; }
  .brand span { display: none; }
  .forum-header nav { gap: 18px; }
  .hero-actions { gap: 15px; }
}
@media (max-width: 700px) {
  .forum-header { padding: 22px 20px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .brand { font-size: 22px; }
  .forum-header nav { width: 100%; gap: 16px; flex-wrap: wrap; }
  .forum-header nav > a, .nav-button { min-height: 40px; display: inline-flex; align-items: center; }
  .shell { padding: 0 20px 48px; }
  .forum-hero { grid-template-columns: 1fr; padding: 36px 0; min-height: 0; }
  .forum-hero h1 { font-size: clamp(30px, 7vw, 42px); }
  .forum-hero p:not(.eyebrow) { font-size: 23px; }
  .hero-art { display: none; }
  .forum-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .categories { grid-template-columns: 1fr 1fr; }
  .category { font-size: 14px; padding: 10px; gap: 5px; }
  .aside-note { display: none; }
  .forum-grid aside > .eyebrow { margin-bottom: 14px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading .button { font-size: 14px; }
  .topic-row { padding: 20px 14px; gap: 12px; }
  .topic-icon { display: none; }
  .topic-row h3 { font-size: 22px; }
  .reply-count { min-width: 55px; }
  .reply-count small { font-size: 8px; }
  .meta { font-size: 12px; }
  .tag { font-size: 11px; }
  .auth h1, .compose h1 { font-size: 27px; }
  .auth-wrap { margin: 12px auto; }
  .post { padding: 20px; }
  .post-author time { width: 100%; margin-left: 48px; }
  .member { align-items: flex-start; flex-direction: column; }
  .compose { margin: 25px auto; }
  .hero-actions .quiet { display: block; width: 100%; }
  .panel { padding: 24px 20px; }
  .forum-footer { padding: 24px 20px; flex-wrap: wrap; gap: 16px; }
  .forum-footer > span { display: none; }
  .forum-footer .brand { font-size: 17px; }
}
@media (max-width: 360px) {
  .categories { grid-template-columns: 1fr; }
  .forum-header nav { gap: 12px; }
  .shell { padding-left: 16px; padding-right: 16px; }
  .search { gap: 6px; }
  .search .button { padding: 12px; }
}
