.site-canvas .forum-layout { grid-template-columns: minmax(0,1fr) !important; }
.site-canvas .forum-layout > .main-panel { grid-column: 1 / -1; min-width: 0; }
.woe-forum { --wf-rule: color-mix(in srgb,currentColor 25%,transparent); padding: clamp(12px,2vw,28px); overflow-wrap: anywhere; }
.woe-forum a { text-decoration: underline; text-underline-offset: .18em; }
.woe-forum :is(button,input,select,textarea) { font: inherit; }
.woe-forum :is(input,select,textarea):not([type=radio]):not([type=checkbox]) {
    display: block; width: 100%; max-width: 100%; margin: .3rem 0 .75rem; padding: .48rem .6rem;
    border: 1px solid #9b886b; border-radius: .35rem; background: #fffcf4; color: #2c221a;
}
.woe-forum textarea { resize: vertical; }
.woe-forum button {
    background: #503727; color: #fff9e9; border: 1px solid #ae905d; border-radius: .35rem;
    padding: .48rem .7rem; cursor: pointer;
}
.woe-forum button:disabled { opacity: .65; cursor: not-allowed; }
.wf-nav,.wf-actions,.wf-search {
    display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem;
}
.wf-nav { padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--wf-rule); }
.wf-nav form { margin-left: auto; }
.wf-actions { margin: .65rem 0; }
.wf-actions details { max-width: 100%; }
.wf-actions details[open] { flex-basis: 100%; }
.wf-actions details form { margin-top: .5rem; }
.wf-search { align-items: end; margin: 1.2rem 0; }
.wf-search label { flex: 1 1 140px; }
.wf-search button { margin-bottom: .75rem; }
.wf-categories { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: .6rem; }
.wf-categories a,.wf-card,.wf-post,.wf-row,.wf-alert {
    border: 1px solid var(--wf-rule); border-radius: .45rem; padding: .75rem .9rem;
}
.wf-categories a[aria-current] { outline: 2px solid var(--accent,#a17444); }
.wf-categories a span,.wf-row small { display: block; margin-top: .25rem; }
.wf-categories a { text-decoration: none; }
.wf-categories a span,.wf-muted,.wf-row small { font-size: .9em; opacity: .82; }
.wf-list { display: grid; gap: .5rem; }
.wf-row { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,1.5fr) minmax(0,1fr); gap: .5rem; }
.wf-row a { font-weight: 700; }
.wf-tag { display: inline-block; border: 1px solid var(--wf-rule); border-radius: .8rem; padding: .05rem .5rem; font-size: .8em; }
.wf-card,.wf-post { margin: .8rem 0; }
.wf-post header { border-bottom: 1px solid var(--wf-rule); padding-bottom: .45rem; }
.wf-post .wf-body,.wf-post blockquote { white-space: pre-wrap; }
.wf-post .wf-body { margin: .65rem 0; }
.wf-post blockquote { border-left: 3px solid var(--wf-rule); margin: .7rem 0; padding: .3rem .65rem; }
.wf-post.wf-hidden { border-style: dashed; }
.wf-capture img { display: block; max-width: min(100%,640px); max-height: 420px; height: auto; object-fit: contain; }
.wf-thread-head h3 { font-size: clamp(1.2rem,3vw,1.8rem); margin: .3rem 0; }
.wf-login { width: min(100%,480px); margin: 0 auto 1.5rem; }
.woe-forum summary { cursor: pointer; }
.wf-captcha-error,.wf-alert { font-weight: 700; }
@media (max-width:600px) {
    .wf-row { grid-template-columns: minmax(0,1fr); }
    .wf-nav form { margin-left: 0; }
}
.wf-entry {
    display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
    align-items: start; gap: clamp(1rem,4vw,3rem); max-width: 1120px; margin: 0 auto;
}
.woe-forum .wf-entry > .wf-login-art,
.woe-forum .wf-categories .wf-category-art {
    position: static; display: block; width: 100%; height: auto; aspect-ratio: 3 / 2;
    object-fit: cover; border: 1px solid var(--wf-rule); border-radius: .45rem;
}
.woe-forum .wf-categories .wf-category-art { aspect-ratio: 2.6 / 1; margin-bottom: .65rem; }
@media (max-width:760px) {
    .wf-entry { grid-template-columns: minmax(0,1fr); }
}
