/* Public forum surfaces: shared by server and client routes. */
.category-topics,.post,.forum-row,.latest-row{background:#fff;color:#202632;border-color:#dce1e8}
.category-topics h2,.post-head{background:#f3f4f6;color:#202632;border-color:#dce1e8}
.category-topics .topic{background:#fff;color:#202632;border-color:#e2e5eb}
.category-topics .topic:hover,.forum-row:hover,.latest-row:hover{background:#f6f7fa}
.category-topics a,.post:not(.reply-card) a,.forum-row a,.latest-row a{color:#243d76}
.category-topics .topic-meta,.category-topics .topic-stats,.category-topics .empty,.post small,.post time,.forum-row small,.latest-row small{color:#5b6474}
.post-body,.post:not(.reply-card) p,.post:not(.reply-card) h2,.post:not(.reply-card) h3{color:#202632}
.post textarea,.post input:not([type=checkbox]):not([type=radio]){background:#fff;color:#202632;border-color:#aab3c1}
.post.reply-card .reply-strip,.post.reply-card .reply-strip a,.post.reply-card .reply-strip time{color:#fff}
.post.reply-card .reply-body{background:#fff;color:#202632}
.public-contact{box-sizing:border-box;display:flex;overflow:hidden;max-width:1360px;width:calc(100% - 32px);margin:32px auto;background:#fff;border:1px solid #dce1e8;border-radius:12px;color:#252a38;box-shadow:0 6px 20px #0002;text-align:left}
.public-contact-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 150px;min-height:155px;background:#34394d;color:#f2ca59;font-size:66px;border-right:12px solid #f2ca59;transform:skew(-12deg);margin-left:-20px;padding-left:20px}
.public-contact-details{padding:25px 32px;min-width:0;flex:1}
.public-contact h2{margin:0 0 18px;color:#9a6d00;font-size:clamp(20px,2.3vw,29px);font-weight:800;line-height:1.25}
.public-contact-links{display:flex;flex-wrap:wrap;gap:18px 32px}
.public-contact-links a{display:flex;flex-direction:column;gap:4px;color:#252a38;text-decoration:none;min-width:0;overflow-wrap:anywhere}
.public-contact-links span{font-size:12px;color:#5c6473;font-weight:600}
.public-contact-links strong{font-size:16px}
.public-contact-links a:hover strong{text-decoration:underline;color:#294d91}
.public-contact-links a:focus-visible{outline:3px solid #b88b19;outline-offset:5px;border-radius:3px}
@media(max-width:650px){.public-contact{width:calc(100% - 24px);margin:24px auto}.public-contact-symbol{flex-basis:54px;font-size:34px;border-right-width:6px;padding-left:12px;margin-left:-12px}.public-contact-details{padding:22px 18px}.public-contact-links{flex-direction:column;gap:16px}.public-contact-links strong{font-size:14px}.public-contact h2{font-size:20px}}
.latest-row:nth-child(even){background:#f5f6f8}.latest-row .latest-author,.latest-row small,.forum-row .last-meta,.forum-row .forum-stats{color:#5b6474}

.member-gate{max-width:760px;margin:70px auto;padding:45px 30px;text-align:center;background:#fff;color:#202632;border-radius:16px;width:calc(100% - 32px);box-sizing:border-box}.member-gate-label{font-size:12px;letter-spacing:2px;color:#86651b;font-weight:700}.member-gate h1{font-size:clamp(28px,5vw,42px);margin:18px 0}.member-gate p{line-height:1.7;color:#566174}.member-gate-actions{display:flex;justify-content:center;gap:14px;margin:28px 0}.member-gate-actions a{padding:12px 26px;border-radius:8px;text-decoration:none}.member-gate-note{font-size:13px}@media(max-width:600px){.member-gate{margin:30px auto;padding:30px 20px}}

/* One aligned primary header and a wrapping member toolbar. */
header .header-inner{max-width:1440px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;padding:18px 28px;box-sizing:border-box}
header .header-inner>.brand{order:1;width:200px;flex:0 0 200px;margin:0}
header .header-main-nav{order:2;display:flex;align-items:center;justify-content:center;flex:1;gap:6px;margin:0}
header .header-main-nav a{color:#dce4f5;font-size:14px;font-weight:650;padding:12px 16px;border-radius:8px;white-space:nowrap;text-decoration:none}
header .header-main-nav a:hover{background:#233359;color:#fff}
header .header-actions{order:3;display:flex;justify-content:flex-end;gap:10px;flex:0 0 200px;margin-left:auto}
header .header-actions a,header .header-actions button{padding:11px 16px;white-space:nowrap;text-decoration:none;border-radius:10px;font-size:13px}
header .forum-extra-nav{order:4;display:flex;flex:1 1 480px;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;margin:0;padding:12px 0 0;border-top:1px solid #293758}
header .member-nav{order:5;display:flex;flex:1 1 440px;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin:0;padding:12px 0 0;border-top:1px solid #293758;width:auto}
header .member-nav[hidden]{display:none}
header .header-main-nav a:focus-visible{outline:2px solid #efcf88;outline-offset:2px}
@media(max-width:800px){header .header-inner{padding:14px 16px;gap:14px}header .header-inner>.brand{width:160px;flex-basis:160px}header .header-actions{order:2;flex:0 0 auto}header .header-main-nav{order:3;flex:1 0 100%;border-top:1px solid #293758;padding-top:8px}header .header-main-nav a{font-size:13px;padding:10px 12px}header .header-actions a,header .header-actions button{font-size:12px;padding:9px 12px}header .member-nav a{flex:0 1 auto}}
@media(max-width:390px){header .header-inner>.brand{width:132px;flex-basis:132px}header .header-actions{gap:6px}header .header-actions a,header .header-actions button{padding:9px}}

.guest-forum{max-width:1440px;margin:24px auto;padding:0 24px;box-sizing:border-box}.guest-access-note{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#172344;border:1px solid #30426a;border-radius:12px;padding:20px 24px;margin-bottom:24px}.guest-access-note h1{font-size:22px;margin:0 0 6px}.guest-access-note p{font-size:14px;margin:0;color:#becbe3}.guest-access-note>div:last-child{display:flex;gap:10px;flex-shrink:0}.guest-access-note a{padding:11px 18px;text-decoration:none;border-radius:8px}
.guest-ad-layout{display:grid;grid-template-columns:150px minmax(0,1fr) 240px;gap:20px;margin-bottom:26px}.guest-ad-center{padding:14px;border:1px solid #2f416c;border-radius:12px;background:#132246}.guest-ad-center h2{font-size:15px;text-align:center;margin:0 0 14px;color:#e9d395}.locked-preview{position:relative;overflow:hidden;border:1px solid #334468;border-radius:8px;min-height:100px;background:#142447}.locked-art{filter:blur(7px);transform:scale(1.04);pointer-events:none;user-select:none;padding:24px;background:linear-gradient(120deg,#193455,#746044 45%,#203957);height:100%;min-height:inherit;box-sizing:border-box}.locked-lines{display:flex;flex-direction:column;gap:10px;filter:blur(5px);pointer-events:none;user-select:none}.locked-lines i{display:block;width:78%;height:10px;border-radius:4px;background:#8a98b0}.locked-lines i:nth-child(2){width:92%}.locked-lines i:nth-child(3){width:56%}.locked-art>.locked-lines+.locked-lines{margin-top:30px}.locked-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#0b142b88;color:#fff;text-decoration:none;text-align:center;padding:12px}.locked-cover strong{font-size:14px}.locked-cover small{color:#e3d4a9;font-size:12px}.locked-cover:hover{background:#0b142b66}.locked-cover:focus-visible{outline:3px solid #efcf88;outline-offset:-4px}.locked-ribbon{min-height:54px;margin-bottom:10px}.locked-ribbon:last-child{margin-bottom:0}.locked-ribbon .locked-art{height:54px;padding:12px}.locked-ribbon .locked-cover{flex-direction:row;gap:10px}.locked-ribbon .locked-cover strong{display:none}.locked-tower{height:100%;min-height:340px}.locked-square{min-height:240px}.guest-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.guest-forum-group{overflow:hidden;background:#fff;color:#202632;border:1px solid #dce1e8;border-radius:12px;margin-bottom:22px}.guest-forum-group h2{display:flex;align-items:center;gap:12px;background:#17191f;color:#f6f6f8;font-size:17px;margin:0;padding:17px 20px}.guest-forum-group h2>span{color:#efd08a}.guest-category{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:20px;align-items:center;padding:18px 20px;border-bottom:1px solid #e1e5ed;min-height:62px}.guest-category:last-child{border-bottom:0}.guest-category-name{display:flex;align-items:center;gap:14px;color:#243d76;font-weight:650;font-size:14px;text-decoration:none}.guest-category-name>span{font-size:23px}.guest-topic-preview{position:relative;overflow:hidden;padding:8px}.guest-topic-preview .locked-lines{opacity:.5;gap:7px}.guest-topic-preview .locked-lines i{height:7px}.guest-topic-preview>a{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffff99;color:#4f5c70;font-size:12px;text-decoration:none}.guest-forum-group>.locked-preview{border:0;border-radius:0}.locked-topics{min-height:180px}.locked-topics .locked-art{background:#eef1f5}.locked-topics .locked-cover{background:#ffffff8c;color:#27354c}.locked-topics .locked-cover small{color:#485b79}
@media(max-width:1000px){.guest-ad-layout{grid-template-columns:minmax(0,1fr) 220px}.guest-ad-layout>aside:first-child{display:none}.guest-content-layout{grid-template-columns:minmax(0,1fr)}.guest-community{display:grid;grid-template-columns:1fr 1fr;gap:18px}}
@media(max-width:650px){.guest-forum{padding:0 12px;margin:16px auto}.guest-access-note{display:block;padding:18px}.guest-access-note>div:last-child{margin-top:15px}.guest-ad-layout{grid-template-columns:minmax(0,1fr);gap:14px}.guest-ad-layout>aside:last-child{display:none}.guest-category{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px}.guest-topic-preview{max-width:100%;height:36px}.guest-forum-group h2{font-size:15px;padding:15px}.guest-community{grid-template-columns:1fr}.locked-ribbon .locked-cover small{font-size:12px}}
@media(max-width:650px){.guest-ad-layout>aside:last-child{display:block}.guest-ad-layout>aside:last-child .locked-square{min-height:160px}}
/* Stronger type on light forum surfaces, including narrow screens. */
.latest-row .latest-title .subject,.category-topics .topic a,.forum-row .forum-name>a,.forum-row .last-post a,.guest-category-name{color:#111827;font-weight:650}
.latest-row .latest-title .tag{color:#17202d;font-weight:700}
.latest-row small,.latest-row .latest-author,.category-topics .topic-meta,.category-topics .topic-stats,.forum-row .forum-name small,.forum-row .last-post small{color:#404852;font-weight:500}
.forum-row .forum-name b{color:#202630;font-weight:650}
