/* HXH-RPG forum. Scoped to the shared parchment site layout. */
.hxh-site .forum-hub{--forum-paper:#fffcf5;--forum-cream:#f5e7c1;--forum-ink:#44351e;--forum-muted:#766346;--forum-line:#cbb88f;--forum-jade:#315e46;--forum-jade-dark:#1e3d30;max-width:1140px;margin:0 auto 3rem;color:var(--forum-ink);min-width:0}
.hxh-site .forum-hub *{box-sizing:border-box;min-width:0}
.hxh-site .forum-hub--narrow{max-width:850px}
.hxh-site .forum-hub a{color:#64471e;text-decoration:underline;text-underline-offset:.15em}
.hxh-site .forum-hub a:hover{color:#27664a}
.hxh-site .forum-back{margin:.5rem 0 1rem;font-size:.92rem}
.hxh-site .forum-hero{position:relative;display:flex;gap:1.25rem;justify-content:space-between;align-items:center;overflow:hidden;margin-bottom:1.4rem;padding:clamp(1.1rem,3vw,2.1rem);color:#f7eed7;background:linear-gradient(110deg,#203e31,#345d44 65%,#214334);border:1px solid #9c925b;border-left:5px solid #b9a368;border-radius:5px;box-shadow:0 5px 15px #1d32232b}
.hxh-site .forum-hero--compact{padding:clamp(1rem,2.5vw,1.7rem)}
.hxh-site .forum-hero h1{font-family:Cinzel,Georgia,serif;color:#fbf4df;font-size:clamp(1.65rem,4vw,2.4rem);line-height:1.2;margin:.35rem 0 .6rem;overflow-wrap:anywhere}
.hxh-site .forum-hero p{margin:0;color:#e2e3ca;max-width:65ch;line-height:1.55}
.hxh-site .forum-hero p a{color:#fff3c5}
.hxh-site .forum-eyebrow{display:block;font-family:Cinzel,Georgia,serif;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:700;color:#947643}
.hxh-site .forum-hero .forum-eyebrow{color:#dcce97}
.hxh-site .forum-hero-symbol{flex:none;display:grid;place-items:center;width:clamp(65px,10vw,118px);aspect-ratio:1;color:#e2d6aa;border:1px solid #a7a27966;border-radius:50%;font-size:clamp(2rem,5vw,3.6rem);font-family:serif;background:#0f2b1c50}
.hxh-site .forum-section,.hxh-site .forum-panel{margin:0 0 1.3rem;background:var(--forum-paper);border:1px solid var(--forum-line);border-radius:5px;overflow:hidden;box-shadow:0 3px 12px #6f53221b}
.hxh-site .forum-section-heading{display:flex;align-items:center;gap:.75rem;min-height:64px;padding:.8rem 1rem;background:linear-gradient(#f6ecd7,#e9dbbd);border-bottom:1px solid var(--forum-line)}
.hxh-site .forum-section-heading h2{margin:0;color:#503b20;font-size:clamp(1.05rem,2vw,1.32rem);line-height:1.35}
.hxh-site .forum-section-icon{display:grid;place-items:center;flex:none;width:37px;height:37px;color:#f6edd4;background:var(--forum-jade);border:1px solid #8e9664;border-radius:3px;font-size:1.1rem}
.hxh-site .forum-heading-count{margin-left:auto;color:#775e3e;font-size:.85rem;white-space:nowrap}
.hxh-site .forum-category,.hxh-site .forum-topic-row{display:grid;align-items:center;gap:1rem;padding:1rem 1.15rem;border-top:1px solid #e9dec8;transition:background-color .13s}
.hxh-site .forum-category:first-child,.hxh-site .forum-topic-row:first-child{border-top:0}
.hxh-site .forum-category:hover,.hxh-site .forum-topic-row:hover{background:#f8f0dd}
.hxh-site a.forum-category{text-decoration:none;color:inherit;grid-template-columns:44px minmax(0,1fr) 70px minmax(110px,180px)}
.hxh-site .forum-category-icon{display:grid;place-items:center;width:42px;height:42px;background:#e7e9cf;color:#37694f;border:1px solid #b2bf9e;border-radius:4px;font-size:1.5rem}
.hxh-site .forum-category-copy{display:grid;gap:.3rem}
.hxh-site .forum-category-copy strong{font-family:Cinzel,Georgia,serif;font-size:1.05rem;color:#44341c}
.hxh-site .forum-category-copy span{font-size:.87rem;line-height:1.5;color:var(--forum-muted);overflow-wrap:anywhere}
.hxh-site .forum-category-count{text-align:center;display:grid;color:#604621}
.hxh-site .forum-category-count strong{font-size:1.2rem;font-variant-numeric:tabular-nums}
.hxh-site .forum-category-count small,.hxh-site .forum-category-last small{font-size:.75rem;color:var(--forum-muted)}
.hxh-site .forum-category-last{display:grid;gap:.25rem;font-size:.82rem;color:#4f432d}
.hxh-site .forum-category-last strong{font-weight:600}
.hxh-site .forum-topic-row{grid-template-columns:35px minmax(0,1fr) 72px minmax(100px,162px)}
.hxh-site .forum-topic-row.is-pinned{background:#f9f2dd}
.hxh-site .forum-topic-row .forum-topic-mark{align-self:start;color:#5c8665;font-size:1.55rem}
.hxh-site .forum-topic-copy h3{font-size:1.03rem;line-height:1.5;margin:0 0 .3rem;font-family:inherit;font-weight:700;overflow-wrap:anywhere}
.hxh-site .forum-topic-meta{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;color:var(--forum-muted);font-size:.78rem}
.hxh-site .forum-topic-meta a{color:inherit}
.hxh-site .forum-topic-count,.hxh-site .forum-topic-last{display:grid;gap:.2rem;font-size:.8rem;color:var(--forum-muted)}
.hxh-site .forum-topic-count{text-align:center}
.hxh-site .forum-topic-count strong{font-size:1.05rem;color:#4d4a31}
.hxh-site .forum-tag{display:inline-block;background:#e2ebdb;border:1px solid #a3b9a5;border-radius:3px;color:#315e46;padding:.16rem .45rem;font-size:.73rem;font-weight:700}
.hxh-site .forum-empty{margin:0;padding:1.8rem;color:var(--forum-muted);line-height:1.6}
.hxh-site .forum-search{display:grid;gap:.45rem;margin:0 0 1.3rem;padding:1rem 1.15rem;background:#f5edda;border:1px solid var(--forum-line);border-radius:5px}
.hxh-site .forum-search label,.hxh-site .forum-field label,.hxh-site .forum-inline-form label,.hxh-site .forum-edit-form label,.hxh-site .forum-report-form label{display:block;color:#513d20;font-weight:700;font-size:.91rem}
.hxh-site .forum-search-controls{display:flex;gap:.65rem}
.hxh-site .forum-search-controls input{flex:1}
.hxh-site .forum-toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.hxh-site .forum-search--inline{flex:1;margin:0;max-width:560px}
.hxh-site .forum-hub input:is([type=text],[type=search]),.hxh-site .forum-hub textarea,.hxh-site .forum-hub select{color:#382f23;background:#fffdf7;border:1px solid #bfa980;border-radius:3px;min-height:44px;padding:.7rem .85rem;width:100%;font:inherit;font-size:1rem}
.hxh-site .forum-hub textarea{resize:vertical;line-height:1.6;min-height:140px}
.hxh-site .forum-hub :is(input,textarea,select,button,a):focus-visible{outline:3px solid #407f5d;outline-offset:2px}
.hxh-site .forum-panel{padding:clamp(1rem,2.5vw,1.8rem)}
.hxh-site .forum-panel h2{font-size:1.24rem;margin:0 0 1rem}
.hxh-site .forum-form{display:grid;gap:1.1rem}
.hxh-site .forum-field{display:grid;gap:.4rem}
.hxh-site .forum-field small,.hxh-site .forum-helper{color:var(--forum-muted);font-size:.84rem}
.hxh-site .forum-helper{margin:.3rem 0 .8rem;line-height:1.6}
.hxh-site .forum-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.hxh-site .forum-advice{border-left:3px solid #769a6f;padding:.9rem 1.1rem;background:#f5edda;color:#6a5736;font-size:.9rem}
.hxh-site .forum-advice p{margin:.3rem 0 0}
.hxh-site .forum-pagination{margin:1rem 0}
.hxh-site .forum-topic-admin{display:flex;gap:.8rem;flex-wrap:wrap;margin:0 0 1rem;align-items:start}
.hxh-site .forum-inline-details{position:relative;color:#795b2e;font-size:.86rem}
.hxh-site .forum-inline-details summary{display:inline-flex;align-items:center;min-height:34px;cursor:pointer;text-decoration:underline;text-underline-offset:.2em}
.hxh-site .forum-inline-details[open]{flex:1 1 250px}
.hxh-site .forum-inline-form,.hxh-site .forum-report-form,.hxh-site .forum-edit-form{display:grid;gap:.55rem;padding:.8rem;background:#f5ead3;border:1px solid #d2bd8f;border-radius:4px;max-width:600px}
.hxh-site .forum-post{margin-bottom:1rem;background:var(--forum-paper);border:1px solid var(--forum-line);border-radius:4px;box-shadow:0 2px 9px #46331112;scroll-margin-top:100px}
.hxh-site .forum-post:target{outline:3px solid #44835a;outline-offset:2px}
.hxh-site .forum-post-top{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem;padding:.65rem 1rem;border-bottom:1px solid #dcccaa;background:#f1e8d6;font-size:.79rem;color:#6b583d}
.hxh-site .forum-post-number{font-weight:700;font-variant-numeric:tabular-nums;color:#315e46}
.hxh-site .forum-post-layout{display:grid;grid-template-columns:145px minmax(0,1fr)}
.hxh-site .forum-post-author{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:1.1rem .8rem;border-right:1px solid #e3d3b4;background:#fbf3e2;text-align:center;overflow-wrap:anywhere}
.hxh-site .forum-post-author img,.hxh-site .forum-avatar-fallback{width:74px;height:74px;object-fit:cover;border-radius:50%;border:2px solid #819d6f;background:#dfe8d6}
.hxh-site .forum-avatar-fallback{display:grid;place-items:center;color:#37644a;font-size:2.3rem}
.hxh-site .forum-post-author a{font-size:.95rem;font-weight:700;overflow-wrap:anywhere}
.hxh-site .forum-post-author small{color:var(--forum-muted);font-size:.77rem}
.hxh-site .forum-post-main{min-width:0;display:flex;flex-direction:column;padding:1.1rem}
.hxh-site .forum-post-body{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.7;font-size:.96rem;flex:1;min-height:80px;color:#3a3227}
.hxh-site .forum-post-actions{display:flex;flex-wrap:wrap;align-items:start;gap:.5rem 1rem;padding-top:1rem;margin-top:1rem;border-top:1px solid #e6dbc4}
.hxh-site .forum-action{border:0;padding:.3rem .1rem;background:transparent;color:#4b6e4d;text-decoration:underline;text-underline-offset:.16em;min-height:34px;cursor:pointer;font:inherit;font-size:.85rem}
.hxh-site .forum-action--danger{color:#963d37}
.hxh-site .forum-delete-form{display:inline-flex;margin:0}
.hxh-site .forum-report-form select{max-width:300px}
.hxh-site .forum-edit-details[open]{flex-basis:100%}
.hxh-site .forum-edit-form{max-width:100%}
.hxh-site .forum-reply{margin-top:1.4rem;scroll-margin-top:80px}
.hxh-site .forum-reply > p,.hxh-site .forum-login p{color:var(--forum-muted);margin:0 0 1rem}
@media(max-width:900px){
 .hxh-site a.forum-category{grid-template-columns:42px minmax(0,1fr) 64px}
 .hxh-site .forum-category-last{display:none}
 .hxh-site .forum-topic-row{grid-template-columns:30px minmax(0,1fr) 65px}
 .hxh-site .forum-topic-last{display:none}
}
@media(max-width:620px){
 .hxh-site .forum-hub{margin-inline:-.2rem}
 .hxh-site .forum-hero-symbol{display:none}
 .hxh-site .forum-hero{border-left-width:3px}
 .hxh-site .forum-search-controls{flex-direction:column}
 .hxh-site .forum-search-controls .hxh-button{width:100%}
 .hxh-site .forum-toolbar{display:block}
 .hxh-site .forum-toolbar>.hxh-button{margin-top:.7rem;width:100%}
 .hxh-site a.forum-category{grid-template-columns:32px minmax(0,1fr)}
 .hxh-site .forum-category-icon{width:32px;height:32px;font-size:1rem}
 .hxh-site .forum-category-count{grid-column:2;display:flex;gap:.3rem;text-align:left;font-size:.8rem}
 .hxh-site .forum-topic-row{padding:.85rem .75rem;grid-template-columns:20px minmax(0,1fr)}
 .hxh-site .forum-topic-count{grid-column:2;display:flex;gap:.3rem;font-size:.8rem;text-align:left}
 .hxh-site .forum-topic-mark{font-size:1.1rem}
 .hxh-site .forum-post-layout{grid-template-columns:1fr}
 .hxh-site .forum-post-author{border-right:0;border-bottom:1px solid #e3d3b4;display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;text-align:left;gap:.3rem .7rem}
 .hxh-site .forum-post-author img,.hxh-site .forum-avatar-fallback{width:45px;height:45px;grid-row:span 2}
 .hxh-site .forum-post-author small{grid-column:2}
 .hxh-site .forum-post-main{padding:.9rem}
 .hxh-site .forum-post-body{min-height:45px}
 .hxh-site .forum-section-heading{padding:.7rem}
}
@media(prefers-reduced-motion:reduce){
 .hxh-site .forum-category,.hxh-site .forum-topic-row{transition:none}
}
