@font-face{font-family:'Cinzel';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/cinzel-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:400 700;font-display:swap;src:url(/assets/fonts/cinzel-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* =========================================================
   Kormoz Online — theme layer
   Loaded after styles.css. Obsidian stone, torchlight gold,
   cistern turquoise. Cinzel for display, Inter for UI.
   ========================================================= */
:root {
  --display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gold: #e0a95c;
  --gold-hi: #f3cb8a;
  --gold-lo: #b97a2e;
  --panel: linear-gradient(180deg, rgba(27, 37, 35, .62), rgba(13, 19, 18, .72));
  --panel-solid: #0f1514;
  --field: #0a100f;
  --header-h: 4.6rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-padding-top: 5.5rem; scrollbar-color: #2b3d3a #070b0b; }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--gold); color: #120d06; }
/* film grain, very quiet */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* ---------- display type ---------- */
.hero h1, .section-heading h2, .story-inner h2, .studio-copy h2, .update-head h1, .stage-ledger-heading h3,
.place h3, .trailer h3, .feature-list h3, .updates-page h1, .forum-section h1, .auth-card h1, .notice-page h1,
.comments-head h2, .album-day, .cat-head h1, .thread-head h1, .form-title {
  font-family: var(--display); font-weight: 500; letter-spacing: .015em; text-wrap: balance;
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 5.6rem); line-height: 1.04; text-shadow: 0 2px 48px rgba(0, 0, 0, .7); }
.section-heading h2 { font-size: clamp(2.1rem, 4.2vw, 4.4rem); line-height: 1.08; }
.story-inner h2, .studio-copy h2 { font-size: clamp(2.1rem, 4.4vw, 4.6rem); line-height: 1.1; }
.section-heading h1, .updates-page h1, .forum-section h1 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1.08; margin: 0; }
.update-head h1 { font-size: clamp(2rem, 4.2vw, 3.8rem); line-height: 1.1; }
.feature-list h3, .place h3, .trailer h3 { letter-spacing: .02em; }
.update-text strong { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.75rem); letter-spacing: .01em; }
.kicker, .eyebrow { font-weight: 500; letter-spacing: .24em; }
.kicker::before {
  content: ""; display: inline-block; width: 2.2rem; height: 1px; margin-right: .85rem; vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--turquoise));
}
.hero .eyebrow::before { display: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; z-index: 70; inset: 0 0 auto 0; max-width: none; margin: 0;
  padding: .7rem max(1rem, calc((100vw - var(--max)) / 2 + 2.2rem));
  grid-template-columns: auto 1fr auto; gap: 1.6rem; min-height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled, .inner-page .site-header {
  background: rgba(7, 11, 11, .8); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.25); backdrop-filter: blur(16px) saturate(1.25);
}
.brand img { width: 128px; height: 43px; }
.site-header nav { gap: clamp(.9rem, 2vw, 2.2rem); }
.site-header nav > a, .nav-group-label {
  position: relative; padding: .6rem 0; font-size: .71rem; font-weight: 500; letter-spacing: .17em; color: var(--bone-dim);
  transition: color .25s ease;
}
.site-header nav > a::after, .nav-group-label::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-group-label::before { right: 1.1rem; }
.site-header nav > a:hover::after, .nav-group:hover .nav-group-label::before, .site-header nav > a[aria-current="page"]::after,
.nav-group.is-current .nav-group-label::before, .nav-forum.is-current::after { transform: scaleX(1); }
.site-header nav > a:hover, .nav-group:hover .nav-group-label { color: var(--bone); }
.nav-sub-inner { border-radius: 3px; border-color: rgba(224, 169, 92, .22); background: rgba(9, 14, 13, .96); box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, .6); }
.nav-sub-inner a { font-size: .7rem; letter-spacing: .14em; color: var(--bone-dim); transition: color .2s, background .2s; }
.nav-sub-inner a:hover { color: var(--bone); background: rgba(87, 184, 170, .08); }
.header-tools { display: flex; align-items: center; gap: 1.5rem; }
.language-switch a { text-decoration: none; padding: .5rem .2rem; font-weight: 500; }
.language-switch a[aria-current="true"] { color: var(--gold); }
.language-switch a:hover { color: var(--bone); }
.account-links { display: flex; align-items: center; gap: .9rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .13em; }
.account-links form { margin: 0; }
.account-links a, .link-button { color: var(--bone-dim); text-decoration: none; }
.account-links a:hover, .link-button:hover { color: var(--bone); }
.account-name { color: var(--bone) !important; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-button { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.pill { padding: .5rem .9rem; border: 1px solid rgba(224, 169, 92, .55); border-radius: 2px; color: var(--gold) !important; transition: background .25s, color .25s; }
.pill:hover { background: var(--gold); color: #120d06 !important; }
.nav-burger { display: none; position: relative; width: 44px; height: 44px; cursor: pointer; justify-self: end; }
.nav-burger i, .nav-burger i::before, .nav-burger i::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--bone); transition: transform .3s var(--ease), opacity .2s;
}
.nav-burger i { top: 21px; } .nav-burger i::before { left: 0; top: -7px; } .nav-burger i::after { left: 0; top: 7px; }
.nav-toggle:checked ~ .nav-burger i { background: transparent; }
.nav-toggle:checked ~ .nav-burger i::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger i::after { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--turquoise); outline-offset: 2px; }
@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; gap: 0 1rem; background: rgba(7, 11, 11, .86); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .nav-burger { display: block; }
  .site-header nav, .header-tools { display: none; grid-column: 1 / -1; grid-row: auto; }
  .nav-toggle:checked ~ nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 0 .2rem; border-top: 1px solid var(--line); overflow: visible; }
  .nav-toggle:checked ~ .header-tools { display: flex; justify-content: space-between; padding: .9rem 0 .8rem; border-top: 1px solid var(--line); }
  .site-header nav > a, .nav-sub-inner a { display: block; padding: .85rem 0 !important; font-size: .76rem; white-space: normal; border-bottom: 1px solid rgba(232, 226, 213, .07); }
  .nav-group, .nav-sub, .nav-sub-inner { display: contents; }
  .nav-sub-inner { background: none; border: 0; box-shadow: none; }
  .nav-group-label { display: none; }
  .site-header nav > a::after { display: none; }
  .site-header { max-height: 100dvh; overflow-y: auto; }
}

/* ---------- main scaffolding ---------- */
.inner-page main { padding-top: var(--header-h); }
.inner-page .section { padding-top: clamp(2.5rem, 5vw, 5rem); }
.inner-page .gallery-section { padding-top: 3rem; }
.inner-page .trailers-section, .inner-page .world-section { padding-top: clamp(2.5rem, 4vw, 4rem); }

/* ---------- buttons ---------- */
.button { border-radius: 2px; font-weight: 600; letter-spacing: .15em; font-size: .74rem; cursor: pointer; transition: transform .25s var(--ease), box-shadow .3s, background .25s, border-color .25s, color .25s; font-family: var(--sans); }
.button-primary { color: #1b1209; border-color: #e7b46d; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 .6rem 2rem rgba(224, 169, 92, .3); background: linear-gradient(180deg, #ffe0aa, var(--gold-hi) 55%, var(--gold)); border-color: #f3cb8a; }
.button-quiet { background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.button-quiet:hover { transform: translateY(-2px); background: rgba(87, 184, 170, .1); border-color: var(--turquoise); }
.button:active { transform: translateY(0); }

/* ---------- hero ---------- */
.hero::after { content: ""; position: absolute; left: 50%; bottom: .6rem; width: 1px; height: 3.2rem; background: linear-gradient(var(--bone), transparent); opacity: .55; transform-origin: top; animation: cue 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes cue { 0%, 100% { transform: scaleY(.25); opacity: .2; } 50% { transform: scaleY(1); opacity: .6; } }
.hero-shade { background: radial-gradient(120% 90% at 20% 50%, rgba(3,6,6,.5), transparent 70%), linear-gradient(90deg, rgba(3,6,6,.95) 0%, rgba(3,6,6,.7) 42%, rgba(3,6,6,.1) 78%), linear-gradient(0deg, var(--coal) 0%, transparent 38%); }
.hero-updates { border-radius: 3px; border-color: rgba(224, 169, 92, .2); background: linear-gradient(180deg, rgba(14, 20, 19, .7), rgba(6, 10, 10, .7)); box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .45); }
.hero-updates h2 { color: var(--gold); }
.update-meta { color: var(--gold); font-weight: 500; }
.eyebrow { color: var(--gold-hi); }
.status-dot { animation: ember 2.4s ease-in-out infinite; }
@keyframes ember { 0%, 100% { box-shadow: 0 0 10px var(--amber); } 50% { box-shadow: 0 0 22px var(--amber), 0 0 4px var(--gold-hi); } }

/* ---------- content blocks ---------- */
.section-heading { position: relative; }
.feature-list article { transition: background .3s, padding .3s var(--ease); }
.feature-list article:hover { background: linear-gradient(90deg, rgba(87, 184, 170, .07), transparent); padding-left: .8rem; }
.feature-list article > span { color: var(--gold); font-family: var(--display); }
.place figure, .trailer a, .showcase-grid figure, .update-thumb { border-radius: 2px; }
.place figure, .showcase-grid figure a { box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, .35); }
.showcase-grid figure, .gallery-grid figure { transition: transform .4s var(--ease); }
.story-section { background: radial-gradient(60% 80% at 80% 50%, rgba(38, 97, 87, .3), transparent 60%), radial-gradient(40% 60% at 10% 100%, rgba(207, 139, 57, .1), transparent 70%), linear-gradient(135deg, #0b1312, #050706 65%); }
.story-inner > p:not(.kicker, .story-note) { color: #cfccc4; }
.craft-manifesto strong { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* updates list */
.updates-list li { transition: background .3s; }
.updates-list li:hover { background: linear-gradient(90deg, rgba(224, 169, 92, .05), transparent 70%); }
.updates-list a { padding-inline: .6rem; }
.update-thumb { box-shadow: 0 .9rem 2rem rgba(0, 0, 0, .35); }

/* gallery */
.album-day { display: flex; align-items: baseline; gap: 1rem; margin: 3rem 0 1.1rem; font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--bone); }
.album-day:first-of-type { margin-top: 0; }
.album-count { font: 500 .68rem var(--sans); letter-spacing: .14em; color: var(--gold); padding: .2rem .55rem; border: 1px solid rgba(224, 169, 92, .35); border-radius: 99px; }
.gallery-grid figure { overflow: hidden; border-radius: 2px; }
.gallery-grid figure:hover { transform: translateY(-3px); }
.gallery-grid figure:hover figcaption { color: var(--bone); }

/* ---------- footer ---------- */
.site-footer { max-width: none; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; padding-inline: max(1rem, calc((100vw - var(--max)) / 2 + 4rem)); margin-top: 2rem; position: relative; border-top: 0; background: linear-gradient(180deg, transparent, rgba(10, 17, 16, .9)); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(224, 169, 92, .45), transparent); }
.site-footer h2 { color: var(--gold); font-weight: 500; }
.footer-links a { display: block; width: fit-content; margin-bottom: .45rem; text-decoration: none; }
.site-footer a:hover { color: var(--bone); }
.subscribe { padding-top: 1rem; border-top: 1px solid var(--line); }
.subscribe form { gap: .6rem; }
.subscribe input[type=email] { max-width: 26rem; border-radius: 2px; border-color: var(--line); background: var(--field); padding: .7rem .9rem; font-family: var(--sans); }
.subscribe input[type=email]:focus { outline: 2px solid var(--turquoise); outline-offset: 1px; }
.subscribe button { border-radius: 2px; border-color: var(--gold); color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 600; transition: background .25s, color .25s; }
.subscribe button:hover { background: var(--gold); color: #120d06; }
@media (max-width: 900px) { .site-footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .site-footer { grid-template-columns: 1fr; } }

/* ---------- panels, forms ---------- */
.auth-card, .post-form, .login-prompt, .recent-box, .post, .comment, .cat-list a, .thread-list a {
  background: var(--panel); border: 1px solid var(--line); border-radius: 3px;
}
form label { display: block; margin: 1.1rem 0 .4rem; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--bone-dim); }
.visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
input[type=text], input[type=password], input[type=email], textarea, .auth-card input, .post-form input {
  width: 100%; padding: .8rem .95rem; color: var(--bone); background: var(--field); border: 1px solid rgba(232, 226, 213, .2); border-radius: 2px;
  font: 400 .95rem/1.5 var(--sans); transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 7rem; }
input:focus, textarea:focus { outline: 0; border-color: var(--turquoise); box-shadow: 0 0 0 3px rgba(87, 184, 170, .18); }
::placeholder { color: rgba(169, 167, 158, .6); }
.form-hint { margin: .7rem 0 0; font-size: .78rem; color: var(--bone-dim); }
.form-error { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid rgba(214, 90, 70, .5); background: rgba(214, 90, 70, .1); border-radius: 2px; color: #f2b8ac; font-size: .9rem; }
.bot-check { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.2rem 0; padding: .85rem 1rem; border: 1px dashed rgba(87, 184, 170, .45); background: rgba(87, 184, 170, .05); border-radius: 2px; }
.bot-check label { margin: 0; display: block; text-transform: none; letter-spacing: .02em; font-size: .9rem; color: var(--bone); }
.bot-q strong { color: var(--gold-hi); font-weight: 600; }
.bot-check .bot-answer { width: 6.5rem; padding: .55rem .75rem; text-align: center; }
.post-form button.button, .auth-card button.button { margin-top: .6rem; }
.post-form h3 { margin: 0 0 .5rem; font: 500 1.2rem var(--display); letter-spacing: .02em; }
.post-form { padding: clamp(1.2rem, 3vw, 2rem); margin-top: 2.4rem; max-width: 46rem; }
.post-form.wide { max-width: 52rem; }

/* flash */
.flash-stack { position: fixed; z-index: 80; top: calc(var(--header-h) + .8rem); left: 50%; transform: translateX(-50%); display: grid; gap: .5rem; width: min(92vw, 34rem); }
.flash { margin: 0; padding: .85rem 1.1rem; border-radius: 2px; font-size: .9rem; background: rgba(10, 16, 15, .96); border: 1px solid rgba(87, 184, 170, .5); box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, .5); animation: flash-in .5s var(--ease) both; }
.flash-err { border-color: rgba(214, 90, 70, .6); }
.flash.is-out { opacity: 0; transform: translateY(-6px); transition: opacity .5s, transform .5s; }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } }

/* auth */
.auth-section { display: grid; place-items: start center; }
.auth-card { width: min(100%, 31rem); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: 0 2rem 4rem rgba(0, 0, 0, .4); }
.auth-card h1 { margin: .6rem 0 .5rem; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; }
.auth-intro { margin: 0 0 1rem; color: var(--bone-dim); }
.auth-alt { margin: 1.6rem 0 0; color: var(--bone-dim); font-size: .9rem; }
.auth-alt a, .form-hint a { color: var(--gold); }
.auth-sub { margin: 2rem 0 .2rem; font: 500 1.1rem var(--display); }

/* notice / 404 */
.notice-page { min-height: 68vh; display: grid; align-content: center; justify-items: center; text-align: center; margin-inline: auto; max-width: 40rem; }
.notice-page h1 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.notice-page p { color: var(--bone-dim); }
.notice-code { margin: 0; font: 500 clamp(5rem, 16vw, 11rem)/1 var(--display); letter-spacing: .05em; background: linear-gradient(180deg, var(--turquoise), transparent 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- comments ---------- */
.inner-page .comments-section { max-width: 1000px; padding-top: 1rem; border-top: 0; }
.comments-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); margin-bottom: 1.4rem; }
.comments-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.count-pill { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.empty-note { color: var(--bone-dim); padding: 1.4rem 0; }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.comment, .post { padding: 1.1rem 1.3rem 1.2rem; }
.comment-meta, .post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; margin-bottom: .6rem; }
.comment-meta time, .post-meta time { color: var(--bone-dim); font-size: .74rem; letter-spacing: .06em; }
.comment-body p, .post-body p { margin: 0 0 .8rem; color: #d3d0c7; font-size: .98rem; line-height: 1.7; overflow-wrap: anywhere; }
.comment-body p:last-child, .post-body p:last-child { margin-bottom: 0; }
.comment-body a, .post-body a { color: var(--turquoise); text-underline-offset: 3px; }
.author { display: inline-flex; align-items: center; gap: .6rem; }
.avatar { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; font: 500 .8rem var(--display); color: #170f06; background: linear-gradient(145deg, var(--gold-hi), var(--gold-lo)); }
.author strong { font-weight: 600; font-size: .92rem; }
.badge-staff { font-style: normal; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; padding: .15rem .45rem; border: 1px solid var(--gold); color: var(--gold); border-radius: 2px; }
.login-prompt { padding: 1.6rem; margin-top: 2rem; text-align: center; }
.login-prompt p { margin: 0 0 1rem; color: var(--bone-dim); }
.login-prompt p:last-child { margin: 0; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- forum ---------- */
.forum-section { max-width: 1100px; }
.forum-intro { max-width: 40rem; margin: 1rem 0 0; color: var(--bone-dim); }
.forum-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 0; }
.forum-section .section-heading { margin-bottom: 1.5rem; display: block; }
.forum-section .section-heading .kicker { margin: 0 0 1rem; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr); gap: 2rem; margin-top: 2.4rem; align-items: start; }
.cat-list, .thread-list, .recent-box ol { list-style: none; margin: 0; padding: 0; }
.cat-list { display: grid; gap: .7rem; }
.cat-list a { display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem 1.3rem; text-decoration: none; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.cat-list a:hover, .thread-list a:hover { border-color: rgba(224, 169, 92, .5); transform: translateY(-2px); background: linear-gradient(180deg, rgba(36, 46, 43, .7), rgba(16, 23, 22, .8)); }
.cat-index { font: 500 .85rem var(--display); color: var(--gold); }
.cat-text strong { display: block; font: 500 1.15rem var(--display); letter-spacing: .02em; }
.cat-text span { display: block; margin-top: .25rem; color: var(--bone-dim); font-size: .84rem; line-height: 1.5; }
.cat-stats { text-align: right; font-size: .7rem; color: var(--bone-dim); text-transform: uppercase; letter-spacing: .1em; line-height: 1.7; white-space: nowrap; }
.cat-stats b { color: var(--bone); font-size: .9rem; }
.recent-box { padding: 1.2rem 1.3rem; }
.recent-box h2 { display: flex; align-items: center; margin: 0 0 .5rem; font: 500 .7rem var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--gold); }
.recent-box li + li { border-top: 1px solid var(--line); }
.recent-box li a { display: block; padding: .8rem 0; text-decoration: none; }
.recent-box .update-title { display: block; margin-top: .15rem; font-size: .92rem; color: var(--bone); transition: color .2s; }
.recent-box a:hover .update-title { color: var(--turquoise); }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 1.6rem; }
.cat-head h1 { margin: .8rem 0 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; }
.thread-list { display: grid; gap: .6rem; margin-top: 1.4rem; }
.thread-list a { display: grid; grid-template-columns: minmax(0, 1fr) 6rem 11rem; gap: 1.2rem; align-items: center; padding: 1rem 1.3rem; text-decoration: none; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.thread-list .is-pinned a { border-color: rgba(224, 169, 92, .35); }
.thread-main strong { display: block; font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.thread-sub { display: block; margin-top: .25rem; font-size: .76rem; color: var(--bone-dim); }
.thread-count { font-size: .72rem; color: var(--bone-dim); text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.thread-count b { display: block; font-size: 1.1rem; color: var(--bone); letter-spacing: 0; }
.thread-last { font-size: .74rem; color: var(--bone-dim); line-height: 1.5; }
.tag { display: inline-block; margin-right: .6rem; padding: .12rem .45rem; vertical-align: .1em; font: 600 .58rem var(--sans); letter-spacing: .15em; text-transform: uppercase; color: #170f06; background: var(--gold); border-radius: 2px; }
.tag-dim { background: transparent; color: var(--bone-dim); border: 1px solid var(--line); }
.thread-head h1 { margin: .6rem 0 1.6rem; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.15; overflow-wrap: anywhere; }
.thread-view .post { margin-bottom: .8rem; }
.thread-view .op { border-color: rgba(224, 169, 92, .3); }
.replies-h { margin: 2.2rem 0 1rem; font: 500 .74rem var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--gold); }
.locked-note { margin-top: 2rem; padding: 1rem; border: 1px dashed var(--line); text-align: center; }
.form-title { margin: 1rem 0 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin: 1.6rem 0 0; font-size: .8rem; }
.pager a, .pager .pg-cur { min-width: 2.2rem; padding: .5rem .7rem; text-align: center; text-decoration: none; border: 1px solid var(--line); border-radius: 2px; color: var(--bone-dim); }
.pager a:hover { color: var(--bone); border-color: var(--turquoise); }
.pager .pg-cur { color: #170f06; background: var(--gold); border-color: var(--gold); font-weight: 600; }
.pager .pg-gap { color: var(--bone-dim); padding: 0 .2rem; }
@media (max-width: 860px) {
  .forum-layout { grid-template-columns: 1fr; }
  .thread-list a { grid-template-columns: 1fr auto; }
  .thread-last { grid-column: 1 / -1; }
  .cat-list a { grid-template-columns: 2.2rem 1fr; }
  .cat-stats { grid-column: 2; text-align: left; }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after, .status-dot { animation: none; }
  .flash { animation: none; }
}
@media print { body::before, .site-header, .hero::after { display: none; } }

/* ---------- home: community band ---------- */
.community-band { padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2 + 4rem)); background: radial-gradient(50% 120% at 85% 50%, rgba(224, 169, 92, .09), transparent 65%), #080d0c; border-top: 1px solid var(--line); }
.community-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.community-copy h2 { margin: .8rem 0 1rem; font: 500 clamp(2rem, 3.8vw, 3.6rem)/1.1 var(--display); letter-spacing: .015em; }
.community-copy p { max-width: 34rem; color: var(--bone-dim); }
.community-recent { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.community-recent li { border-bottom: 1px solid var(--line); }
.community-recent a { display: block; padding: 1rem .4rem; text-decoration: none; transition: background .3s, padding .3s var(--ease); }
.community-recent a:hover { background: linear-gradient(90deg, rgba(224, 169, 92, .07), transparent); padding-left: .9rem; }
.community-recent .update-title { display: block; margin-top: .2rem; color: var(--bone); }
@media (max-width: 860px) { .community-inner { grid-template-columns: 1fr; } }
