.tc-forum{max-width:1140px;margin:0 auto;padding:36px 24px 64px;color:#354238;font-size:17px;line-height:1.65;min-width:0}
.tc-forum :is(h1,h2,h3){color:#213d30;line-height:1.3}.tc-forum h1{font-family:Georgia,serif;font-size:clamp(30px,4vw,44px);margin:8px 0 12px}.tc-forum h2{font-size:24px}.tc-forum h3{font-size:19px;margin:0 0 8px}.tc-forum p{color:#354238}.tc-forum a{color:#385e45;text-decoration:underline;text-underline-offset:3px}.tc-forum a:hover{color:#856033}
.tc-forum-heading{border-bottom:2px solid #a58753;padding-bottom:24px;margin-bottom:28px}.tc-forum .tc-forum-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:13px;color:#866642;margin:0}.tc-forum-heading nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;font-size:15px}.tc-forum-heading nav span{margin-left:auto}
.tc-forum-space{border:1px solid #bbae94;border-radius:6px;background:#f8f3e8;margin-bottom:24px;overflow:hidden}.tc-forum-space>header{background:linear-gradient(110deg,#233f32,#304738);padding:18px 24px;border-bottom:3px solid #a58753}.tc-forum .tc-forum-space>header :is(h2,p,small){color:#f2e7cc;margin:0}.tc-forum-space>header p{font-size:15px;margin-top:6px!important}.tc-forum-board{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:20px 24px}.tc-forum-board p{font-size:15px;margin:0}.tc-forum-board>span{white-space:nowrap;font-size:14px;color:#73654e}
.tc-forum-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.tc-forum-breadcrumb{font-size:14px;margin-bottom:22px}.tc-forum-topics{border:1px solid #bbae94;border-radius:6px;overflow:hidden}.tc-forum-topics article{padding:20px;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;background:#faf6ed;border-bottom:1px solid #d9cebb}.tc-forum-topics article:last-child{border-bottom:0}.tc-forum-topics p,.tc-forum-topics small{font-size:14px;margin:0;display:block}.tc-forum-topic-title{overflow-wrap:anywhere;font-family:Georgia,serif;font-size:30px!important}
.tc-forum-post{display:grid;grid-template-columns:190px minmax(0,1fr);border:1px solid #c5b79d;border-radius:6px;overflow:hidden;margin:18px 0;background:#faf7ef;scroll-margin-top:20px}.tc-forum-post>aside{padding:22px 18px;background:#e9e3d4;border-right:1px solid #cec2ac}.tc-forum-author{display:block;color:#294b37;font-size:17px;overflow-wrap:anywhere}.tc-forum-character{display:grid;gap:6px;margin-top:16px;font-size:14px}.tc-forum-character img{width:92px;height:112px;object-fit:cover;border:1px solid #b29b70;border-radius:4px}.tc-forum-character small{font-size:13px;color:#655d4e}.tc-forum-post-content{min-width:0;padding:20px 26px 28px}.tc-forum-post-content>header{display:flex;justify-content:space-between;gap:16px;color:#6e6b5c;font-size:14px;border-bottom:1px solid #e2d8c7;padding-bottom:10px;margin-bottom:18px}.tc-forum-message{font-size:17px;line-height:1.8;overflow-wrap:anywhere;white-space:normal}
.tc-forum-pagination{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;padding:16px 0;font-size:15px}.tc-forum-form{display:grid;gap:10px;padding:24px;margin-top:26px;background:#eee7d8;border:1px solid #c7b899;border-radius:6px}.tc-forum-form label{font-weight:600}.tc-forum-form :is(input:not([type=hidden]),select,textarea){width:100%;box-sizing:border-box;background:#fffcf5;border:1px solid #aa997c;border-radius:4px;padding:12px;color:#283e31;font:inherit}.tc-forum-form textarea{resize:vertical;line-height:1.65}.tc-forum-form p{margin:0;font-size:14px}.tc-forum .tc-forum-button,.tc-forum button{display:inline-block;justify-self:start;background:#294b37;color:#fff0cf;border:1px solid #9e7e44;border-radius:4px;padding:11px 18px;font:600 16px/1.4 system-ui,sans-serif;cursor:pointer;text-decoration:none}.tc-forum :is(a,button,input,select,textarea):focus-visible{outline:3px solid #a77b31;outline-offset:3px}.tc-forum-alert{padding:16px 20px;background:#f5e7d2;border-left:4px solid #9b5335}.tc-forum-empty{padding:20px;background:#f2ecdf;border:1px solid #d8cbb2}.tc-forum-profile{max-width:780px}
@media(max-width:650px){.tc-forum{padding:24px 14px 40px;font-size:16px}.tc-forum-heading nav span{margin-left:0;flex-basis:100%}.tc-forum-board{align-items:start;padding:18px;flex-direction:column;gap:8px}.tc-forum-space>header{padding:18px}.tc-forum-topics article{grid-template-columns:1fr;gap:8px;padding:18px}.tc-forum-post{grid-template-columns:1fr}.tc-forum-post>aside{border-right:0;border-bottom:1px solid #cec2ac;padding:14px 18px}.tc-forum-character{grid-template-columns:48px 1fr;margin-top:10px;align-items:center}.tc-forum-character img{width:44px;height:54px;grid-row:span 2}.tc-forum-post-content{padding:18px}.tc-forum-message{font-size:16px;line-height:1.8}.tc-forum-section-title{align-items:start;flex-direction:column}.tc-forum-form{padding:18px}.tc-forum-post-content>header{font-size:13px}.tc-forum h2{font-size:22px}}
/* Administration and moderation stay quiet until their details are opened. */
.tc-forum-space>header h2 a{color:inherit;text-decoration:none}.tc-forum-space>header h2 a:hover{text-decoration:underline}
.tc-forum-last{max-width:390px;font-size:14px;overflow-wrap:anywhere}.tc-forum-last small{display:block;color:#71664f;font-size:13px;margin-top:5px}.tc-forum-board-counts{white-space:nowrap}
.tc-forum-badge{display:inline-block;padding:3px 8px;border:1px solid #ba9b67;border-radius:4px;background:#e8dcc2;color:#5b4629;font:600 13px/1.5 system-ui,sans-serif}
.tc-forum-tools{margin:16px 0;padding:12px 16px;border:1px solid #c9b997;border-radius:5px;background:#f4eddf;min-width:0}.tc-forum-tools>summary{cursor:pointer;font-size:16px;font-weight:600;color:#314e3a;overflow-wrap:anywhere;padding:4px 0}.tc-forum-structure{border-left:3px solid #8b7349}
.tc-forum-action{display:grid;gap:10px;margin-top:14px;padding:14px;background:#faf6ed;border:1px solid #d9ccb5;border-radius:4px;min-width:0}.tc-forum-action label{display:grid;gap:6px;font-size:15px;color:#354238}.tc-forum-action :is(input:not([type=hidden]):not([type=checkbox]),textarea,select),.tc-forum-search input{box-sizing:border-box;width:100%;max-width:100%;border:1px solid #aa997c;border-radius:3px;padding:9px 10px;background:#fffcf5;color:#283e31;font:inherit}.tc-forum-action textarea{resize:vertical}.tc-forum-action label:has(input[type=checkbox]){display:block}.tc-forum-action input[type=checkbox]{width:auto;min-height:0;margin-right:6px}.tc-forum-action button{font-size:15px}
.tc-forum-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tc-forum-report-link{display:inline-block;margin-top:14px;font-size:13px;color:#6d624e!important}.tc-forum-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.tc-forum-search label{display:grid;gap:6px;max-width:100%}
.tc-forum-log{overflow:auto;max-width:100%;margin-top:18px}.tc-forum-log table{width:100%;border-collapse:collapse;background:#faf6ed;font-size:14px}.tc-forum-log :is(td,th){padding:10px;border-bottom:1px solid #d5c6aa;text-align:left;vertical-align:top;overflow-wrap:anywhere}.tc-forum-log td:last-child{min-width:180px;max-width:500px}.tc-forum-log th{background:#e7dfcf;color:#294b37}
@media(max-width:650px){.tc-forum-last{max-width:100%}.tc-forum-board-counts{white-space:normal}.tc-forum-action-grid{grid-template-columns:1fr}.tc-forum-tools{padding:10px 12px}.tc-forum-action{padding:12px}.tc-forum-action :is(input:not([type=hidden]),textarea,select){font-size:16px}.tc-forum-log table{font-size:13px}}
/* V3: simple forum navigation, search and account-only activity. */
.tc-forum-activity-nav{display:flex;flex-wrap:wrap;gap:10px 24px;padding:0 0 20px;margin-bottom:18px;border-bottom:1px solid #d4c7af;font-size:15px;align-items:center}.tc-forum-unread{display:inline-block;padding:2px 7px;border-radius:4px;color:#f7eed8;background:#36573f;font:600 12px/1.5 system-ui,sans-serif;vertical-align:middle}.tc-forum-unread[hidden]{display:none}
.tc-forum-activity-list{margin:22px 0;border:1px solid #c8b99a;border-radius:5px;overflow:hidden}.tc-forum-activity-list:empty{display:none}.tc-forum-activity-list article{padding:20px 22px;background:#faf6ed;border-bottom:1px solid #d7ccb7;min-width:0;overflow-wrap:anywhere}.tc-forum-activity-list article:last-child{border-bottom:0}.tc-forum .tc-forum-activity-meta{font-size:14px;color:#716653;margin:8px 0}.tc-forum-activity-list h3{margin:0}.tc-forum-activity-list article>p:last-child{margin-bottom:0}
.tc-forum-topic-activity{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 24px;padding:14px 0;border-block:1px solid #d8ccb5}.tc-forum-topic-activity>p{flex-basis:100%;margin:0;font-size:13px;color:#6c6657}.tc-forum-activity-action{display:inline-block;margin:0}.tc-forum .tc-forum-activity-action button{padding:8px 12px;min-height:42px;font-size:14px;background:#eee4ce;color:#294b37;border-color:#b39b70;font-weight:600}
.tc-forum-search-form{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-forum-search-form>label{display:grid;gap:7px}.tc-forum-search-form>button{grid-column:1/-1}.tc-forum-form .tc-forum-check{display:flex;align-items:start;gap:10px;font-size:15px;font-weight:normal}.tc-forum-form .tc-forum-check input[type=checkbox]{width:auto;min-width:18px;min-height:18px;margin-top:4px;flex-shrink:0}
.tc-forum-post-inline .tc-forum-action{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:10px 0;margin-top:16px;border:0;border-top:1px solid #dfd4bf;background:transparent}.tc-forum-post-inline .tc-forum-action label{flex:1;min-width:150px;font-size:13px}.tc-forum-post-inline .tc-forum-action button{padding:10px 12px;min-height:42px;font-size:14px}
@media(max-width:650px){.tc-forum-search-form{grid-template-columns:1fr}.tc-forum-activity-nav{gap:12px 18px}.tc-forum-activity-list article{padding:18px}.tc-forum-topic-activity{align-items:stretch}.tc-forum-topic-activity form{width:100%}.tc-forum-topic-activity button{width:100%;text-align:left}.tc-forum-post-inline .tc-forum-action label{min-width:100%}}
.tc-forum-form label{font-size:15px;line-height:1.5}
@media(max-width:650px){.tc-forum-form label{font-size:16px}}

/* V4: bounded text formatting and preview share the publication rendering. */
.tc-forum-message { overflow-wrap:anywhere; line-height:1.65; }
.tc-forum-message blockquote { margin:.6rem 0; padding:.5rem 1rem; border-left:3px solid #987447; background:#e9dfca; color:#354238; }
.tc-forum-message ul { padding-left:1.5rem; }
.tc-forum-preview { margin:1rem 0; padding:1rem; border:1px solid #987447; background:#f4eddf; }
.tc-forum-form button { min-height:44px; margin:.4rem .5rem .4rem 0; }

/* Post actions share one baseline and can wrap without changing their permissions. */
.tc-forum-post-content > :is(a[href^="forum.php?view=edit&"],a.tc-forum-report-link) {
    display:inline-block; max-width:100%; margin-top:14px;
    font-size:14px; font-weight:400; line-height:1.5; vertical-align:middle;
}
.tc-forum-post-content > a[href^="forum.php?view=edit&"] { margin-inline-end:18px; }
