.forum-layout{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);gap:24px;align-items:start}
.forum-main{display:grid;gap:24px;min-width:0}
.forum-panel{background:#121722;border:1px solid #3f3940;border-radius:14px;padding:26px;box-shadow:0 16px 45px #0005;color:#e8ded5}
.forum-panel h2{margin:0 0 18px;color:#f4cf91;font:500 27px Georgia,serif}
.forum-guide p{line-height:1.55;margin:0 0 16px}
.forum-categories{display:grid;gap:8px;margin-bottom:22px}
.forum-categories button{text-align:left;border:1px solid #5c463b;border-radius:9px;background:#0b1019;color:#e8ded5;padding:13px 15px;cursor:pointer;font:inherit}
.forum-categories button:hover,.forum-categories button.is-active{border-color:#d99b59;background:#28201c}
.forum-categories strong{display:block;color:#f4cf91;font:500 19px Georgia,serif}
.forum-categories span{display:block;margin-top:3px;color:#b9ada7;font-size:13px;line-height:1.4}
.forum-caution{border-left:3px solid #d78345;padding-left:14px;color:#d7b6a3}
.forum-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.forum-heading span{color:#b9ada7;font-size:14px}
#forum-create{display:grid;gap:10px}
#forum-create[hidden],#forum-login-note[hidden],#forum-message[hidden]{display:none}
#forum-create label{margin-top:8px;color:#f4cf91}
#forum-create input,#forum-create select,#forum-create textarea,.forum-reply textarea{width:100%;box-sizing:border-box;border:1px solid #675044;border-radius:7px;background:#0b1019;color:#f5f0eb;padding:12px 14px;font:inherit}
#forum-create textarea,.forum-reply textarea{resize:vertical;min-height:90px}
#forum-create input[type=file]{padding:10px}
.forum-file-help{color:#b9ada7;line-height:1.45}
#forum-create .btn{justify-self:start;margin-top:8px}
.forum-message{padding:12px 15px;border:1px solid #9a7348;background:#32251d;border-radius:7px}
.forum-message.is-error{border-color:#af5555;background:#331c20}
.forum-refresh,.forum-action{border:1px solid #9c7449;border-radius:6px;background:#241d1a;color:#f4cf91;padding:7px 11px;cursor:pointer;font:inherit}
.forum-thread{border-top:1px solid #54433a;padding:21px 0}
.forum-thread:first-child{border-top:0}
.forum-thread h3{margin:8px 0;color:#f6e4c8;font:500 23px Georgia,serif}
.forum-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#b8aaa2;font-size:13px}
.forum-tag{padding:3px 8px;border:1px solid #7b5b43;border-radius:20px;color:#f4cf91}
.forum-body,.forum-reply-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.forum-attachments{display:flex;flex-wrap:wrap;gap:14px;margin:15px 0}
.forum-attachment{display:grid;gap:7px;max-width:min(100%,320px);padding:9px;border:1px solid #554437;border-radius:8px;background:#0a0f18}
.forum-attachment img,.forum-attachment video{display:block;max-width:100%;max-height:240px;border-radius:5px}
.forum-attachment a{color:#f4cf91;overflow-wrap:anywhere}
.forum-status{color:#d4a967;font-size:13px}
.forum-replies{border-left:2px solid #735339;padding-left:16px;margin:16px 0}
.forum-reply-item{border-top:1px solid #423933;padding:12px 0}
.forum-reply-item:first-child{border-top:0}
.forum-reply{display:grid;gap:8px;margin-top:16px}
.forum-reply button{justify-self:start}
.forum-actions{display:flex;gap:8px;margin-top:14px}
@media(max-width:820px){.forum-layout{grid-template-columns:1fr}.forum-panel{padding:20px}}
