@font-face {
  font-family: "Manrope";
  src: url("Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pacifico";
  src: url("Pacifico-Regular.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #110f0e;
  --surface: #1c1815;
  --surface-2: #25201b;
  --stroke: #493c30;
  --stroke-2: #302820;
  --text: #eee5d8;
  --muted: #baad9d;
  --soft: #a19383;
  --copper: #d0a06d;
  --accent: 267.273 47.239% 68.039%;
  --violet: 267 44% 46%;
  --radius: 16px;
}
body { background: var(--bg); }
.topbar { background: rgba(17, 15, 14, .94); border-bottom-color: var(--stroke-2); }
.topbar__nav a { color: var(--muted); }
.topbar__nav a:hover { color: var(--text); }
.card { background: var(--surface); border-color: var(--stroke-2); box-shadow: 0 12px 36px rgba(0, 0, 0, .16); }
.brand { --glow: 0 0 1px rgba(255, 243, 223, .8), 0 0 8px rgba(208, 160, 109, .2), 0 0 22px rgba(208, 160, 109, .06); }
.bg__stars { opacity: .38; }
.forum-intro .hero__portrait::before { background: none; }
a:hover { color: #cdb7e5; }
.preview-note { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.mobile-nav { display: none; }
.forum-intro { display: grid; grid-template-columns: 168px minmax(0,1fr); gap: 32px; padding: 18px 22px; align-items: center; border-top-color: var(--stroke); }
.forum-intro .hero__portrait { padding: 4px; box-shadow: none; border-color: var(--stroke); background: #15120f; }
.forum-intro .hero__portraitInner { border-color: var(--stroke-2); }
.forum-intro .hero__portraitInner img { filter: none; }
.forum-intro .hero__brand { font-family: var(--font-brand); font-size: clamp(30px,3.5vw,42px); font-weight: 400; line-height: 1.35; color: var(--text); margin-bottom: 16px; }
.forum-intro .kicker { color: var(--copper); font-size: 11px; letter-spacing: .14em; }
.forum-intro .lead { margin-bottom: 8px; color: var(--muted); }
.forum-intro .hero__brand + .lead { color: var(--text); }
.forum-intro .meta { margin-top: 14px; }
.forum-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 24px 0 12px; }
.forum-heading h2 { margin: 0; font-size: 19px; }
.forum-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.forum-board { overflow: hidden; }
.forum-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.forum-table caption { padding: 12px 20px; font-size: 12px; text-align: left; color: var(--soft); border-bottom: 1px solid var(--stroke-2); }
#topics + .forum-board caption { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.forum-table th { padding: 11px 16px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); background: var(--surface-2); }
.forum-table td { padding: 14px 16px; vertical-align: middle; border-top: 1px solid var(--stroke-2); }
.forum-table .icon-col { width: 56px; padding-left: 20px; padding-right: 0; }
.forum-table .author-col { width: 130px; }
.forum-table .replies-col { width: 90px; }
.forum-table .update-col { width: 164px; }
.forum-table tbody tr:hover { background: var(--surface-2); }
.topic-title { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.topic-description { margin: 0 0 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.topic-tag { font-size: 10px; color: var(--copper); line-height: 1.7; letter-spacing: .04em; }
.cell-author { font-size: 13px; }
.cell-small { display: block; margin-top: 5px; font-size: 11px; line-height: 1.5; color: var(--muted); }
.cell-count { font-size: 17px; color: var(--text); font-variant-numeric: tabular-nums; }
.topic-icon { display: block; width: 22px; height: 22px; color: var(--copper); }
.pin-row { background: #1f1a16; }
.draft-title { min-height: 0; padding: 4px 0; color: var(--text); font-weight: 400; }
.draft-row .topic-icon { opacity: .45; }
.board-foot { padding: 16px 20px; border-top: 1px solid var(--stroke-2); color: var(--muted); font-size: 12px; line-height: 1.6; }
.quiet-link { color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.forum-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 28px; color: var(--muted); font-size: 12px; }
.forum-footer a { min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.breadcrumbs a { padding: 5px 0; }
.breadcrumbs span { padding: 5px 0; }
.topic-heading { margin-bottom: 20px; }
.topic-heading h1 { max-width: 24ch; font-size: clamp(27px,3.5vw,40px); line-height: 1.2; }
.topic-heading p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.thread { overflow: hidden; }
.post { display: grid; grid-template-columns: 170px minmax(0,1fr); }
.post + .post { border-top: 1px solid var(--stroke); }
.post-author { padding: 24px 20px; background: #191512; border-right: 1px solid var(--stroke-2); }
.author-mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--stroke); border-radius: 10px; color: var(--copper); margin-bottom: 12px; }
.author-mark svg { width: 24px; height: 24px; }
.post-author strong { display: block; font-size: 14px; line-height: 1.5; }
.post-author small { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.post-body { min-width: 0; padding: 24px 28px; }
.post-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--stroke-2); color: var(--muted); font-size: 11px; line-height: 1.6; }
.post-copy { max-width: 69ch; }
.post-copy h2 { margin: 24px 0 10px; font-size: 18px; }
.post-copy p { margin: 16px 0; font-size: 15px; line-height: 1.8; color: var(--text); }
.post-copy blockquote { margin: 20px 0; padding: 10px 18px; border-left: 2px solid hsl(var(--accent) / .7); background: var(--surface-2); font-size: 15px; line-height: 1.8; }
.post-copy ul { padding-left: 22px; font-size: 15px; line-height: 1.9; color: var(--text); }
.reply-panel { margin-top: 20px; padding: 20px 24px; }
.reply-panel > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: hsl(var(--accent) / .95); font-size: 15px; font-weight: 600; }
.reply-panel > summary::after { content: "+"; margin-left: auto; font-size: 24px; font-weight: 400; }
.reply-panel[open] > summary::after { content: "−"; }
.reply-panel > summary::-webkit-details-marker { display: none; }
.reply-panel p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.reply-form label { display: block; margin: 18px 0 8px; font-size: 14px; }
.reply-form textarea { width: 100%; min-height: 140px; padding: 14px; border: 1px solid var(--stroke); border-radius: 12px; color: var(--text); background: var(--surface-2); font: 15px/1.7 var(--font-sans); resize: vertical; }
.reply-form textarea:focus-visible,.reply-panel > summary:focus-visible { outline: 2px solid hsl(var(--accent) / .7); outline-offset: 3px; }
.reply-form button { font-family: inherit; cursor: pointer; min-height: 44px; }
.reply-preview { margin-top: 20px; padding: 18px; border: 1px solid var(--stroke); border-radius: 12px; }
.reply-preview h3 { margin: 0; font-size: 14px; }
.reply-preview p { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }
.thread-bottom { margin-top: 18px; }
.pill { min-height: 44px; line-height: 1.4; color: var(--text); background: transparent; border-color: var(--stroke); }
.pill:hover { background: var(--surface-2); color: var(--text); }
@media(max-width:980px) {
  .topbar__right { display:none; }
  .mobile-nav { display:block; }
  .mobile-nav summary { min-width:64px; min-height:44px; display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:14px; list-style:none; }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-nav nav { position:absolute; top:var(--topbar-h); left:var(--pad); right:var(--pad); display:grid; padding:12px; background:var(--bg); border:1px solid var(--stroke); border-radius:var(--radius); }
  .mobile-nav nav a { padding:12px; min-height:44px; }
  .forum-table .author-col { width:108px; }
  .forum-table .update-col { width:136px; }
}
@media(max-width:700px) {
  .forum-intro { grid-template-columns:112px minmax(0,1fr); gap:16px; padding:16px; align-items:start; }
  .forum-intro .hero__portrait { padding:5px; }
  .forum-intro .hero__brand { white-space:normal; flex-wrap:wrap; font-size:27px; line-height:1.4; margin-bottom:10px; }
  .forum-intro .kicker { font-size:10px; letter-spacing:.06em; }
  .forum-intro .lead { font-size:14px; line-height:1.65; }
  .intro-detail { grid-column:1/-1; }
  .intro-detail .lead { margin:0; }
  .forum-heading { align-items:start; flex-direction:column; gap:5px; }
  .forum-table colgroup,.forum-table thead { display:none; }
  .forum-table tbody { display:block; }
  .forum-table tr { display:grid; grid-template-columns:minmax(0,1fr) 72px minmax(0,1fr); padding:14px 16px; gap:6px 12px; border-top:1px solid var(--stroke-2); }
  .forum-table td { display:block; padding:0; border:0; font-size:12px; }
  .forum-table td.icon-col { display:none; }
  .forum-table td.topic-cell { grid-column:1/-1; padding-bottom:8px; }
  .forum-table td[data-label]::before { content:attr(data-label); display:block; margin-bottom:7px; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.04em; }
  .topic-title { font-size:15px; }
  .topic-description { font-size:12px; }
  .cell-author { font-size:12px; }
  .cell-small { font-size:10px; }
  .forum-table caption { display:block; }
  .board-foot { padding:14px 16px; }
  .post { grid-template-columns:minmax(0,1fr); }
  .post-author { display:grid; grid-template-columns:40px minmax(0,1fr); column-gap:12px; padding:16px 18px; border-right:0; border-bottom:1px solid var(--stroke-2); }
  .author-mark { grid-row:1/3; width:40px; height:40px; margin:0; }
  .post-author small { margin-top:2px; }
  .post-body { padding:18px; }
  .post-copy p,.post-copy ul,.post-copy blockquote { font-size:14px; }
  .reply-panel { padding:16px 18px; }
}

.forum-table .chronology { border-top: 1px solid var(--stroke); }
.login-badge { display:inline-block; margin-top:12px; padding:4px 6px; border:1px solid var(--stroke-2); border-radius:6px; font-size:10px; color:var(--muted); line-height:1.5; }
.quote-button { margin-top:8px; font:12px var(--font-sans); cursor:pointer; }
.post-copy .reply-context { margin:12px 0 4px; font-size:12px; color:var(--muted); }
@media(max-width:700px) {
  .post-author .login-badge { grid-column:2; justify-self:start; margin-top:6px; }
  .forum-intro .hero__brand { font-size:27px; line-height:1.35; }
  .forum-intro .lead { font-size:13px; }
}
