/* Share controls are retained, with a readable label and compact outline style. */
body.public-area .wgr-share-page,body.public-area .blog-hero .wgr-share-page{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;color:#99cdb0;border:1px solid #52665a;border-radius:4px;padding:9px 13px;min-height:38px;width:auto;margin:12px 0 0;font:700 12px/1.4 Arial,Helvetica,sans-serif;cursor:pointer}
body.public-area .wgr-share-page:hover{background:#243129;color:#edf1ed;border-color:#99cdb0}body.public-area .wgr-share-page .wgr-share-page-label{display:inline;color:inherit;margin:0;font:inherit;opacity:1}body.public-area .wgr-share-page>span[aria-hidden]{color:inherit;font-size:15px;line-height:1;flex:none}.wgr-share-page:focus-visible{outline:3px solid #99cdb0;outline-offset:3px}
/* One compact toolbar, with breadcrumb, search/actions, then a full-width rules disclosure. */
.wgr-forum .forum-command-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:18px;background:#202627;border:1px solid #36413d;border-radius:7px;margin:22px 0 28px;align-items:start}.wgr-forum .forum-command-panel .breadcrumbs{margin:0;padding:0;font-size:12px;min-width:0}.wgr-forum .forum-command-panel .forum-tools{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:0;min-width:0}.wgr-forum .forum-command-panel .forum-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;align-items:end;flex:1 1 360px;max-width:620px;margin:0;min-width:0}.wgr-forum .forum-search label{grid-column:1/-1;margin:0;font-size:12px}.wgr-forum .forum-search input{grid-column:1;width:100%;min-width:0;height:44px}.wgr-forum .forum-search button{grid-column:2;height:44px;padding:10px 16px}.wgr-forum .forum-tools>.button{height:44px;font-size:12px;padding:10px 14px;white-space:nowrap}.wgr-forum .forum-command-panel .community-rules{grid-column:1/-1;border-top:1px solid #36413d;padding-top:12px;margin:0;max-width:100%}.wgr-forum .community-rules summary{font-size:12px;color:#99cdb0;line-height:1.5}.wgr-forum .community-rules p{max-width:90ch;font-size:12px;line-height:1.7;margin:12px 0 0}
/* Avatars cannot shrink into narrow ovals when a latest-post title is long. */
.wgr-forum .board-latest-person{display:flex;align-items:center;gap:10px;min-width:0}.wgr-forum .board-latest-avatar{display:block;width:36px;height:36px;min-width:36px;flex:0 0 36px}.wgr-forum .board-latest-avatar .member-avatar,.wgr-forum .board-latest img.member-avatar{display:block;width:36px;height:36px;min-width:36px;max-width:36px;aspect-ratio:1;border-radius:50%;object-fit:cover;flex:0 0 36px}.wgr-forum .board-latest-person>a:not(.board-latest-avatar),.wgr-forum .board-latest-person>div{flex:1;min-width:0;overflow-wrap:anywhere}.wgr-forum .member-avatar img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:1;border-radius:50%}
/* Every category is a separate block; names and descriptions no longer run together. */
.wgr-forum .layout>aside .category{display:flex;flex-direction:column;gap:4px;padding:12px 0;margin:0;background:transparent;border:0;border-bottom:1px solid #36413d;border-radius:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.wgr-forum .layout>aside .category br{display:none}.wgr-forum .layout>aside .category strong{display:block;font-size:13px;line-height:1.5}.wgr-forum .layout>aside .category small{display:block;font-size:11px;line-height:1.5;color:#aab7b0;font-weight:400}.wgr-forum .layout>aside .category:last-child{border-bottom:0}.wgr-forum .layout>aside .category.active{color:#99cdb0}.wgr-forum .layout>aside h2{font-size:19px;margin:0 0 10px}
@media(max-width:600px){.wgr-forum .forum-command-panel{padding:14px;gap:12px}.wgr-forum .forum-command-panel .forum-search{flex-basis:100%;max-width:none}.wgr-forum .forum-tools>.button{flex:1}.wgr-forum .forum-search input{font-size:13px}.wgr-forum .board-latest-avatar,.wgr-forum .board-latest-avatar .member-avatar{width:32px;height:32px;min-width:32px;max-width:32px;flex-basis:32px}}

/* Community guide is immediately visible above the category list. */
.wgr-forum .layout>aside{display:flex;flex-direction:column;align-self:start;margin-top:0;gap:18px}.wgr-forum .layout>aside>.panel{margin:0;width:100%}.wgr-forum .layout>aside>.panel:nth-child(2){order:-1}

/* Forum navigation is compact and aligned with the first discussion. */
.wgr-forum .layout>aside{gap:16px}.wgr-forum .layout>aside>.panel:nth-child(2){order:0}
.wgr-forum .forum-guide{order:-1;padding:16px 18px}.wgr-forum .forum-guide summary{font-size:14px;font-weight:700;color:#edf1ed;cursor:pointer;line-height:1.5}.wgr-forum .forum-guide p{font-size:12px;line-height:1.7;margin:12px 0 0}
.wgr-forum .layout>aside>section.panel{padding:18px}.wgr-forum .layout>aside .category{padding:9px 0;gap:3px}.wgr-forum .layout>aside .category strong{font-size:12px}.wgr-forum .layout>aside .category small{font-size:11px;line-height:1.45}
.wgr-forum .forum-command-panel{margin-bottom:24px}.wgr-forum .forum-hero{padding-top:28px;padding-bottom:20px}.wgr-forum .forum-hero h1{font-size:32px}.wgr-forum .forum-hero p{max-width:75ch}
@media(max-width:900px){.wgr-forum .layout>aside{grid-row:1}.wgr-forum .layout>section{grid-row:2}.wgr-forum .layout>aside>section.panel .category small{display:none}.wgr-forum .layout>aside>section.panel{display:flex;flex-wrap:wrap;gap:8px}.wgr-forum .layout>aside>section.panel h2{width:100%;margin-bottom:4px}.wgr-forum .layout>aside .category{padding:7px 10px;border:1px solid #36413d;border-radius:4px;font-size:12px}.wgr-forum .layout>aside .category:last-child{border:1px solid #36413d}}

/* Sidebar begins at the top of the forum body on board and topic pages alike. */
.wgr-forum .layout{align-items:start;margin-top:0;padding-top:0}.wgr-forum .layout>aside{grid-column:2;grid-row:1;align-self:start;margin:0;padding-top:0;position:sticky;top:18px}.wgr-forum .layout>section{grid-column:1;grid-row:1;margin-top:0;padding-top:0}.wgr-forum .layout>section>:first-child{margin-top:0}.wgr-forum .forum-command-panel{margin-bottom:20px}
@media(max-width:900px){.wgr-forum .layout>aside{grid-column:1;grid-row:1;position:static}.wgr-forum .layout>section{grid-column:1;grid-row:2}}

/* Reference-inspired forum table: continuous rows and a top-aligned utility column. */
.wgr-forum .layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
.wgr-forum .board-index{border:1px solid #36413d;border-radius:5px;overflow:hidden;background:#1b2223;padding:0}
.wgr-forum .board-head{margin:0;border:0;border-radius:0;background:#35474c;padding:12px 16px;color:#edf1ed;font-size:10px}
.wgr-forum .board-row{margin:0;border:0;border-bottom:1px solid #36413d;border-radius:0;background:#1b2223;padding:17px 16px;min-height:88px}
.wgr-forum .board-row:last-child{border-bottom:0}.wgr-forum .board-row:nth-child(odd){background:#202728}
.wgr-forum .board-description strong{font-size:14px;line-height:1.4}.wgr-forum .board-description p{margin-top:4px;color:#aab7b0;font-size:12px}
.wgr-forum .board-count{color:#aab7b0}.wgr-forum .board-icon{font-size:19px;color:#99cdb0}
.wgr-forum .topic-list-head{background:#35474c;border-radius:5px 5px 0 0;color:#edf1ed;margin-bottom:0}
.wgr-forum .topic{margin:0;border-radius:0;border-bottom:1px solid #36413d;background:#1b2223;min-height:82px}
.wgr-forum .topic:nth-child(odd){background:#202728}.wgr-forum .topic h3{font-size:14px}
.wgr-forum .layout>aside{position:static;top:auto;gap:16px}.wgr-forum .layout>aside>.panel{border-radius:5px;background:#1b2223}
.wgr-forum .layout>aside h2{font-size:16px;border-bottom:1px solid #36413d;padding-bottom:12px;margin-bottom:4px}
.wgr-forum .forum-hero{background:#1b2223;border:1px solid #36413d;border-radius:5px;padding:24px;margin-bottom:20px}.wgr-forum .forum-hero h1{font-size:30px;margin-bottom:8px}.wgr-forum .forum-hero p{font-size:13px}
@media(max-width:900px){.wgr-forum .layout{grid-template-columns:1fr}.wgr-forum .board-row{min-height:0}.wgr-forum .forum-hero{padding:20px}}

/* Activity and ranks retain their boxed forum layout. */
.wgr-forum .forum-online-panel{padding:18px;margin:24px 0;background:#18201d;border:1px solid #36413d;border-radius:5px}
.wgr-forum .forum-online-summary{display:block}.wgr-forum .forum-online-summary h2{font-size:19px;margin:0 0 8px}.wgr-forum .forum-online-summary h2 small{font-size:15px}.wgr-forum .forum-online-panel p{font-size:13px;line-height:1.65;margin:8px 0}.wgr-forum .forum-online-panel h3,.wgr-forum .forum-online-panel h4{font-size:14px;margin:0 0 10px}
.wgr-forum .forum-online-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}.wgr-forum .forum-online-card{display:block;background:#141c18;border:1px solid #364b3c;border-radius:6px;padding:15px;min-width:0}.wgr-forum .forum-online-card p:last-child{margin-bottom:0}
.wgr-forum .forum-online-panel .forum-stats{display:block;padding:15px;margin-top:12px;background:#171d19;border:1px solid #36413d}.wgr-forum .forum-stats h2{font-size:16px;margin:0 0 8px}.wgr-forum .forum-stats p{margin:0}
.wgr-forum .forum-staff-badge,.wgr-forum .forum-group{display:inline-flex;align-items:center;gap:5px;border:1px solid currentColor;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:700;line-height:1.3;text-transform:uppercase;width:auto}
.wgr-forum .forum-staff-administrator{color:#ffbd59;background:#241807}.wgr-forum .forum-staff-moderator{color:#69c8ff;background:#071b27}.wgr-forum .forum-group{color:#b5ff55;background:#101b0a}.wgr-forum .forum-online-card:has(.forum-rank-badges)>p{display:inline-flex;margin:0 5px 14px 0}
.wgr-forum .forum-rank-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.wgr-forum .forum-rank-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 7px;border:1px solid #435747;border-radius:24px;color:#aab7b0;background:#101714;font-size:11px;font-weight:700;line-height:1.4}.wgr-forum .forum-rank-icon{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px;border:1px solid currentColor;border-radius:50%}.wgr-forum .forum-rank-badge:nth-child(2){color:#79d963}.wgr-forum .forum-rank-badge:nth-child(3){color:#57c7ff}.wgr-forum .forum-rank-badge:nth-child(4){color:#d69cff}.wgr-forum .forum-rank-badge:nth-child(5){color:#ffc65c}.wgr-forum .forum-rank-badge:nth-child(6){color:#b5ff55}
@media(max-width:650px){.wgr-forum .forum-online-grid{grid-template-columns:1fr}.wgr-forum .forum-online-panel{padding:14px}}

/* Post-author ranks use the same pill, icon and colours as the forum legend. */
.wgr-forum .post-user .forum-rank{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:max-content;max-width:100%;padding:6px 10px 6px 7px;margin:5px 0;border:1px solid #435747;border-radius:24px;background:#101714;color:#aab7b0;font-size:11px;font-weight:700;line-height:1.4;text-transform:none}
.wgr-forum .post-user .forum-rank::before{content:'◇';display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px;border:1px solid currentColor;border-radius:50%;font-size:13px}
.wgr-forum .post-user .rank-rising-voice{color:#79d963}.wgr-forum .post-user .rank-rising-voice::before{content:'↗'}.wgr-forum .post-user .rank-regular{color:#57c7ff}.wgr-forum .post-user .rank-regular::before{content:'♪'}.wgr-forum .post-user .rank-resident{color:#d69cff}.wgr-forum .post-user .rank-resident::before{content:'◉'}.wgr-forum .post-user .rank-headliner{color:#ffc65c}.wgr-forum .post-user .rank-headliner::before{content:'★'}.wgr-forum .post-user .rank-wgr-legend{color:#b5ff55}.wgr-forum .post-user .rank-wgr-legend::before{content:'♛'}
.wgr-forum .member-presence{display:inline-flex;align-items:center;gap:6px;width:max-content;border:1px solid #435747;border-radius:18px;padding:4px 8px;color:#aab7b0;font-size:10px;line-height:1.4}.wgr-forum .member-presence i{display:block;width:6px;height:6px;border-radius:50%;background:#758078}.wgr-forum .member-presence.is-online{color:#79d963}.wgr-forum .member-presence.is-online i{background:#79d963}

/* Preserve the line breaks members entered in posts. */
.wgr-forum .post-content .body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:14px}.wgr-forum .post-content .body p{white-space:pre-wrap;margin:0 0 14px}.wgr-forum .post-content .body img{display:block;white-space:normal;margin:16px 0;max-width:100%;height:auto;object-fit:contain}
.wgr-forum .post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #36413d;font-size:11px;color:#aab7b0}.wgr-forum .post-meta small,.wgr-forum .post-view-count,.wgr-forum .post-meta .status{display:inline-block;margin:0;line-height:1.5}.wgr-forum .post-meta .status{border:1px solid #435747;border-radius:12px;padding:2px 8px}

/* Topic headings have a clear gap before the first post. */
.wgr-forum .layout>section>h2,.wgr-forum .layout>section>h1,.wgr-forum .section-bar{font-size:20px;line-height:1.4;margin:0 0 20px;padding:0 0 14px;border-bottom:1px solid #36413d;overflow-wrap:anywhere;background:transparent}.wgr-forum .layout>section>.forum-post:first-of-type{margin-top:0}
@media(max-width:600px){.wgr-forum .layout>section>h2,.wgr-forum .layout>section>h1,.wgr-forum .section-bar{font-size:18px;margin-bottom:16px}}

/* Forum listing rows share one size, with room for titles and latest-post details. */
.wgr-forum .board-head,.wgr-forum .board-row,.wgr-forum .topic-list-head,.wgr-forum .topic{grid-template-columns:40px minmax(0,1fr) 100px 240px;column-gap:20px}
.wgr-forum .board-row{height:142px;min-height:142px;padding:20px;box-sizing:border-box;align-items:center}.wgr-forum .board-head{padding:14px 20px}
.wgr-forum .board-description p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.wgr-forum .board-description strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.wgr-forum .board-latest-person>span:last-child{min-width:0;flex:1}.wgr-forum .board-latest-person>span:last-child>a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5;font-size:11px}.wgr-forum .board-latest-person small{display:block;margin-top:6px;font-size:10px;line-height:1.5}.wgr-forum .board-count{line-height:1.7}
.wgr-forum .topic{height:118px;min-height:118px;padding:18px 20px;box-sizing:border-box}.wgr-forum .topic>h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.wgr-forum .topic>.topic-latest{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media(max-width:1100px){.wgr-forum .board-head,.wgr-forum .board-row,.wgr-forum .topic-list-head,.wgr-forum .topic{grid-template-columns:34px minmax(0,1fr) 75px 190px;column-gap:14px}}
@media(max-width:600px){.wgr-forum .board-row,.wgr-forum .topic{grid-template-columns:30px minmax(0,1fr);height:auto;min-height:210px;padding:18px;row-gap:10px}.wgr-forum .board-latest-person>span:last-child>a{-webkit-line-clamp:3}}

.wgr-forum .public-member-card{margin-bottom:24px}.wgr-forum .public-member-details .body{white-space:pre-wrap}.wgr-forum .public-member-banner .forum-rank{display:inline-flex;gap:7px;border:1px solid #435747;border-radius:24px;padding:6px 10px;color:#b5ff55;background:#101714;font-size:11px;width:max-content}.wgr-forum .public-member-banner .forum-rank::before{content:'♛';margin-right:4px}.wgr-forum .member-topic-row,.wgr-forum .public-member-card~a.topic{grid-template-columns:minmax(0,1fr) auto;height:100px;min-height:100px;gap:18px;text-decoration:none}.wgr-forum .member-topic-row h3{grid-column:1;grid-row:1}.wgr-forum .member-topic-row span{color:#99cdb0;font-size:11px}

/* Topic sharing uses the same compact outline control as page sharing. */
body.public-area .wgr-forum button.share-topic{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;min-height:38px;margin:12px 0 0;padding:9px 13px;background:transparent;color:#99cdb0;border:1px solid #52665a;border-radius:4px;font:700 12px/1.4 Arial,Helvetica,sans-serif;box-shadow:none;cursor:pointer}
body.public-area .wgr-forum button.share-topic:hover{background:#243129;color:#edf1ed;border-color:#99cdb0}body.public-area .wgr-forum button.share-topic:focus{box-shadow:none}body.public-area .wgr-forum button.share-topic:focus-visible{outline:2px solid #99cdb0;outline-offset:3px}body.public-area .wgr-forum button.share-topic span{color:inherit;opacity:1}

.wgr-forum .public-member-banner .rank-new-member{color:#aab7b0}.wgr-forum .public-member-banner .rank-new-member::before{content:"◇"}.wgr-forum .public-member-picture .avatar-letter{display:flex;width:100px;height:100px;align-items:center;justify-content:center;font-size:30px}.wgr-forum .forum-staff-member{color:#b5ff55;background:#101b0a}

/* Make links in topic and reply text distinct from prose. */
body #main-content .wgr-forum .post-content .body a,body #main-content .wgr-forum .forum-preview a{color:#73d6ff!important;text-decoration:underline!important;text-underline-offset:3px;text-decoration-thickness:1px;overflow-wrap:anywhere}
body #main-content .wgr-forum .post-content .body a:visited,body #main-content .wgr-forum .forum-preview a:visited{color:#d1b0ff!important}
body #main-content .wgr-forum .post-content .body a:hover,body #main-content .wgr-forum .forum-preview a:hover{color:#c2efff!important;text-decoration-thickness:2px}
body #main-content .wgr-forum .post-content .body a:focus-visible,body #main-content .wgr-forum .forum-preview a:focus-visible{outline:2px solid #73d6ff;outline-offset:4px;border-radius:2px}

/* Keep formatting guidance together in the composer flow. */
body #main-content .wgr-forum .forum-composer .forum-format-help[open]{flex-basis:auto;width:auto;min-width:0;position:relative}
body #main-content .wgr-forum .forum-composer .forum-format-help .forum-help-content{position:absolute!important;inset:auto 0 auto auto!important;top:calc(100% + 8px)!important;z-index:50;display:block;width:min(380px,calc(100vw - 48px))!important;box-sizing:border-box;max-height:60vh!important;overflow:auto!important;margin:0;padding:16px;background:#202627;border:1px solid #435747;border-radius:8px;box-shadow:none}
body #main-content .wgr-forum .forum-composer .forum-format-help .forum-help-content p{position:static!important;inset:auto!important;display:block!important;width:auto!important;max-width:none!important;min-height:0!important;height:auto!important;padding:0!important;margin:0 0 14px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;line-height:1.6}
body #main-content .wgr-forum .forum-composer .forum-format-help .forum-help-content p:last-child{margin-bottom:0!important}
body #main-content .wgr-forum .forum-composer .forum-format-help .forum-help-content p:empty{display:none!important}
