.wsrp-home-layout,.wsrp-forum-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(225px,27%);gap:1rem;align-items:start;margin:1rem 0}
.wsrp-home-card{margin:0 0 1rem;padding:clamp(.85rem,2vw,1.35rem);border:1px solid #5597b461;border-radius:12px;background:#287fa110}
.wsrp-home-start{margin-top:1rem}
.wsrp-home-card h1,.wsrp-home-card h2{font-size:1.22rem;line-height:1.3;margin:0 0 .8rem}
.wsrp-home-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:.65rem}
.wsrp-home-links a{display:flex;flex-direction:column;gap:.32rem;padding:.82rem;border:1px solid #5597b470;border-radius:8px;background:#287fa113;text-decoration:none;min-width:0}
.wsrp-home-links a:hover,.wsrp-home-links a:focus-visible{background:#287fa128;text-decoration:none}
.wsrp-home-links span,.wsrp-home-activity small{color:inherit;font-size:.88em;line-height:1.45}
.wsrp-home-activity{margin:0;padding:0;list-style:none}
.wsrp-home-activity li{padding:.58rem 0;border-bottom:1px solid #5597b447;overflow-wrap:anywhere}
.wsrp-home-activity small{display:block;margin-top:.23rem}
.wsrp-home-more{display:inline-block;margin-top:.75rem}
.wsrp-header.wsrp-header-compact .wsrp-hero{min-height:0;background-position:center 59%;display:block}
.wsrp-header.wsrp-header-compact .wsrp-hero::before {
    background: linear-gradient(90deg, #081629 36%, #08162966 72%, transparent),
        var(--wsrp-banner) right center / auto 100% no-repeat;
}
.wsrp-header.wsrp-header-compact .wsrp-hero-content{max-width:none;padding:.55rem clamp(.75rem,2vw,1.5rem)}
.wsrp-header.wsrp-header-compact .wsrp-hero-content>h1,.wsrp-header.wsrp-header-compact .wsrp-hero-content>p,.wsrp-header.wsrp-header-compact .wsrp-eyebrow{display:none}
.wsrp-header.wsrp-header-compact .wsrp-hero-actions{margin:0;gap:.4rem;display:flex;flex-wrap:wrap}
.wsrp-header.wsrp-header-compact .wsrp-hero-actions .wsrp-server-ip,.wsrp-header.wsrp-header-compact .wsrp-hero-actions .wsrp-hero-button{padding:.35rem .6rem;min-height:0}
.wsrp-forum-overview .wsrp-forum-categories{min-width:0}
@media(max-width:900px){.wsrp-home-layout,.wsrp-forum-overview{grid-template-columns:minmax(0,1fr)}}

.wsrp-home-discord{background:#5865f216;border-color:#5865f278}
.wsrp-home-discord p{margin:0;line-height:1.45}
.wsrp-home-discord-horizontal{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.wsrp-home-discord-join,.wsrp-home-discord-join:visited{display:inline-flex;justify-content:center;background:#4752c4;color:#fff!important;padding:.65rem .9rem;border-radius:8px;font-weight:700;text-decoration:none;white-space:nowrap}
.wsrp-home-discord-join:hover,.wsrp-home-discord-join:focus-visible{background:#3540ad;text-decoration:none}
@media(min-width:901px){
    .wsrp-forum-overview{grid-template-columns:minmax(0,1fr) clamp(240px,19%,300px);gap:.8rem}
}
.wsrp-forum-overview>aside{min-width:0;display:grid;gap:.75rem}
.wsrp-forum-overview>aside>.wsrp-home-card{margin:0;padding:.7rem}
.wsrp-forum-overview>aside .wsrp-home-card h2{font-size:1.05rem;margin-bottom:.4rem}
.wsrp-forum-overview>aside .wsrp-home-activity li{padding:.35rem 0}
.wsrp-forum-overview>aside .wsrp-home-activity small{margin-top:.1rem}
.wsrp-forum-overview>aside .wsrp-home-more{margin-top:.45rem}

.wsrp-discord-slot>.wsrp-home-card{margin:0}

.wsrp-showcase-photo{margin:1rem 0 0}
.wsrp-showcase-photo img{display:block;width:100%;height:auto;border-radius:8px}
.wsrp-showcase-photo figcaption{margin:.5rem 0 0}

.wsrp-player-info{margin:0;line-height:1.5}
.wsrp-player-info dt{font-weight:700;margin-top:.8rem}
.wsrp-player-info dd{margin:.2rem 0 0;overflow-wrap:anywhere}
.wsrp-discord-direct{display:block;padding:.5rem .7rem;text-align:center}

.wsrp-guest-sidebar{min-width:0}
@media(min-width:901px){
    .wsrp-forum-overview>aside:has(>.wsrp-guest-sidebar){align-self:stretch;contain:size;min-height:0}
    .wsrp-guest-sidebar{display:flex;flex-direction:column;gap:.75rem;height:100%;min-height:0;overflow:auto}
    .wsrp-guest-sidebar>.wsrp-home-card{margin:0}
    .wsrp-guest-sidebar .wsrp-discord-direct{flex:none}
}

.wsrp-forum-overview>aside .wsrp-home-discord-sidebar{display:flex;flex-direction:column;padding:0;overflow:hidden}
.wsrp-discord-heading{background:#4752c4;color:#fff;padding:.65rem .85rem}
.wsrp-forum-overview>aside .wsrp-discord-heading h2{margin:0}
.wsrp-discord-content{padding:.75rem .85rem;min-height:0;overflow:auto}
.wsrp-discord-content h3{font-size:.9rem;margin:0 0 .25rem}
.wsrp-discord-content ul{list-style:none;padding:0;margin:0}
.wsrp-discord-content li{padding:.22rem 0;overflow-wrap:anywhere}
.wsrp-home-discord .wsrp-discord-bot{margin:.45rem 0 0;padding-top:.45rem;border-top:1px solid #5597b461;display:flex;flex-wrap:wrap;column-gap:.5rem;justify-content:space-between}
.wsrp-discord-direct{border-top:1px solid #5597b461}
@media(min-width:901px){
    .wsrp-guest-sidebar>.wsrp-home-card:first-child{overflow:auto;max-height:46%;box-sizing:border-box;padding:.7rem;flex:none}
    .wsrp-guest-sidebar>.wsrp-home-discord-sidebar{flex:0 0 auto;max-height:calc(54% - .75rem)}
    .wsrp-guest-sidebar .wsrp-discord-heading{flex:none}
}

.wsrp-header #panel .lower ul.panel_links a {
    display: inline-block;
    padding: .3rem .65rem !important;
}

.wsrp-header #panel .upper .wsrp-guest-welcome {
    margin-inline: auto 0;
    text-align: right;
}

.wsrp-header #panel .upper .wsrp-guest-welcome :is(.login, .register) {
    margin-inline: .15em;
}

/* West Shore Roleplay account posts, including future changelog replies. */
.post_body .wsrp-official-copy {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: .975rem;
    line-height: 1.65;
    padding: .85rem clamp(.65rem, 2vw, 1.3rem);
}
.wsrp-official-copy .mycode_size[style*="font-size: large"] {
    display: inline-block;
    padding: .22em .62em;
    border-inline-start: 3px solid #1882ac;
    border-radius: .25rem;
    background: #13617e;
    color: #fff;
    font-size: 1.08rem !important;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.wsrp-official-copy > .mycode_size[style*="font-size: large"]:first-child,
.wsrp-official-copy > .mycode_align:first-child > .mycode_size[style*="font-size: large"]:first-child {
    background: #153853;
    color: #a1efff;
    font-size: clamp(1.22rem, 2.3vw, 1.65rem) !important;
    letter-spacing: .015em;
}
.wsrp-official-copy .mycode_list {
    padding-inline-start: 1.6em;
}
.wsrp-official-copy li + li {
    margin-top: .25em;
}
.wsrp-official-copy .mycode_url {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.wsrp-official-copy .wsrp-client-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    box-sizing: border-box;
    width: min(100%, 34rem);
    margin: .55rem 0;
    padding: .65rem .9rem;
    border: 1px solid #4bb6dc;
    border-radius: .55rem;
    background: linear-gradient(110deg, #173450, #13617e);
    color: #f1faff !important;
    text-decoration: none;
}
.wsrp-official-copy .wsrp-client-openmp {
    border-color: #9083d2;
    background: #a393f4;
    color: #18132d !important;
}
.wsrp-official-copy .wsrp-client-samp {
    border-color: #d9ad6f;
    background: linear-gradient(110deg, #3b2a21, #735129);
}
.wsrp-client-banner strong, .wsrp-client-banner small { display: block; }
.wsrp-client-banner strong { font-size: 1.35rem; line-height: 1.2; }
.wsrp-client-download { font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
.wsrp-client-banner:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

/* Home: balanced content columns and horizontal important links. */
.wsrp-home-layout{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr)}
.wsrp-home-layout>div,.wsrp-home-layout>aside{min-width:0}
.wsrp-home-layout>aside .wsrp-home-links{grid-template-columns:1fr}
.wsrp-home-layout #wsrp-important-threads~.wsrp-home-links{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
@media(max-width:900px){.wsrp-home-layout{grid-template-columns:minmax(0,1fr)}}
/* Community presentation: shared spacing without changing the Game Panel layout. */
.wsrp-home-card{line-height:1.65}.wsrp-home-card h2{font-size:1.25rem;line-height:1.3;margin:0 0 .9rem}.wsrp-home-card a:focus-visible,.wsrp-header a:focus-visible{outline:2px solid #55def7;outline-offset:4px}
.wsrp-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.wsrp-feature{display:flex;flex-direction:column;overflow:hidden;border:1px solid #5597b461;border-radius:9px;text-decoration:none!important;background:#287fa110}.wsrp-feature img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}.wsrp-feature strong{padding:.85rem .85rem .25rem;font-size:1rem}.wsrp-feature span{padding:0 .85rem .9rem;line-height:1.6;color:inherit;font-weight:normal}.wsrp-update-date{opacity:.8;font-size:.9rem}.wsrp-update-highlights{padding-left:1.4rem}.wsrp-update-highlights li{margin:.55rem 0}.wsrp-home-server{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.wsrp-header .wsrp-hero-actions{gap:.65rem}.wsrp-header .wsrp-hero-button{padding:.75rem 1.1rem}.wsrp-header .wsrp-hero-content h1{max-width:650px;line-height:1.12}.wsrp-player-info dt{margin-top:1rem}.wsrp-player-info dd{margin:.35rem 0 1rem}.wsrp-forum-overview .thead{padding:1rem}.wsrp-forum-overview .tcat{padding:.7rem}.wsrp-forum-overview .forum_status{display:inline-block;vertical-align:middle}
@media(max-width:700px){.wsrp-feature-grid{grid-template-columns:1fr}.wsrp-feature img{max-height:180px}.wsrp-home-server{font-size:.85rem}}

/* Keep Home banner typography and server details consistent. */
.wsrp-header .wsrp-hero-content{font-family:inherit}
.wsrp-header .wsrp-hero-content .wsrp-hero-actions{margin-bottom:14px}
.wsrp-header .wsrp-hero-content .wsrp-home-server{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;margin:0}
.wsrp-home-server code{font-family:inherit;font-size:14px;font-weight:600;letter-spacing:0;white-space:nowrap}
.wsrp-home-server .wsrp-game-status{font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;padding:6px 12px}
.wsrp-home-server [data-wsrp-population-detail]{flex-basis:100%;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;color:#c2d3e2}

/* Home uses the forum theme typography in either light or dark mode. */
.wsrp-home-layout,.wsrp-home-layout .wsrp-home-card{font-family:inherit;color:inherit}
.wsrp-home-layout h2{font-family:inherit;font-weight:700}
.wsrp-home-layout .wsrp-home-links,.wsrp-home-layout .wsrp-home-activity,.wsrp-home-layout .wsrp-player-info,.wsrp-home-layout .wsrp-feature{font-family:inherit}

/* Home and forum share the same main-column/sidebar proportions. */
.wsrp-home-layout{grid-template-columns:minmax(0,1fr) minmax(225px,27%)}
@media(max-width:900px){.wsrp-home-layout{grid-template-columns:minmax(0,1fr)}}

.wsrp-feature-image,.wsrp-feature-copy{display:flex;flex-direction:column;min-width:0;text-decoration:none!important}.wsrp-feature-image img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#0b1521}.wsrp-feature-copy{flex:1}.wsrp-feature-copy:hover strong{text-decoration:underline}

.wsrp-page-scroll{position:fixed;right:18px;bottom:110px;z-index:4500;display:flex;flex-direction:column;gap:8px}.wsrp-page-scroll[hidden]{display:none}.wsrp-page-scroll button{font:inherit;font-size:13px;min-width:76px;min-height:38px;padding:8px 12px;border:1px solid #56809b;border-radius:7px;background:#142d42;color:#e9f6ff;cursor:pointer;box-shadow:0 3px 10px #0005}.wsrp-page-scroll button:hover{background:#1c526f}.wsrp-page-scroll button:focus-visible{outline:2px solid #55def7;outline-offset:3px}@media(max-width:600px){.wsrp-page-scroll{right:8px;bottom:106px}.wsrp-page-scroll button{min-width:62px;padding:7px}}

/* Shared request summaries, operations cards and responsive controls. */
.wsrp-action-grid,.wsrp-operations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:14px}
.wsrp-action-grid>a,.wsrp-operations-grid>div{display:flex;flex-direction:column;gap:8px;min-width:0;padding:16px;border:1px solid #62809a;border-radius:9px;box-sizing:border-box;overflow-wrap:anywhere}
.wsrp-action-grid>a strong{font-size:1rem}.wsrp-action-grid>a span{color:inherit;font-size:.9rem;line-height:1.55;font-weight:400}.wsrp-operations-grid h3{margin:0;font-size:1rem}.wsrp-operations-grid p{margin:0;line-height:1.6}.wsrp-operations-grid ul{padding-left:20px;line-height:1.8}
.wsrp-bug-status{display:inline-block;padding:4px 9px;border-radius:5px;color:#fff!important;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}.wsrp-bug-open{background:#164b71}.wsrp-bug-investigating{background:#765000}.wsrp-bug-fixed{background:#17613b}
.wsrp-page-scroll button{min-width:44px;min-height:44px;font-size:24px;line-height:1;padding:6px}
.wsrp-header a:focus-visible,.wsrp-panel-shell :is(a,button,input,select,textarea):focus-visible{outline:2px solid #168dbb;outline-offset:3px}
@media(max-width:760px){
.wsrp-header .wsrp-navlinks{display:flex;flex-wrap:nowrap!important;overflow-x:auto;gap:4px;max-width:100%;padding:4px 0;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.wsrp-header .wsrp-navlinks li{flex:0 0 auto}.wsrp-header .wsrp-navlinks a{display:flex;align-items:center;min-height:44px;padding:6px 12px;box-sizing:border-box;white-space:nowrap}
.wsrp-header #panel .wrapper{max-width:100%;box-sizing:border-box}.wsrp-header #panel .lower .user_links,.wsrp-header #panel .lower .links{display:flex;flex-wrap:wrap;gap:8px}.wsrp-header #panel .lower a{display:inline-flex;align-items:center;min-height:40px;padding:7px 10px;box-sizing:border-box}
.wsrp-home-layout,.wsrp-forum-overview,.wsrp-panel-shell{min-width:0;max-width:100%;box-sizing:border-box}.wsrp-home-card{line-height:1.65}.wsrp-home-links>a{min-height:44px}.wsrp-panel-shell :is(button,.button,input:not([type=hidden]),select){min-height:44px;box-sizing:border-box;max-width:100%}.wsrp-panel-shell section{min-width:0;overflow-wrap:anywhere}.wsrp-panel-shell .scroll{max-width:100%;overflow-x:auto}
.wsrp-action-grid,.wsrp-operations-grid{grid-template-columns:minmax(0,1fr)}
#wsrp-radio{max-width:calc(100vw - 16px);box-sizing:border-box;flex-wrap:wrap}#wsrp-radio .wr-info{min-width:120px;flex:1}#wsrp-radio .wr-volume-range{max-width:90px}
}
@media(prefers-reduced-motion:reduce){.wsrp-header *{scroll-behavior:auto!important}.wsrp-bug-status{animation:none!important}}

/* Readable inline-moderation selection; override inherited MyBB dark text. */
#content .trow_selected,
#content tr.trow_selected > td,
#content td.trow_selected {
    background: #244b68 !important;
    color: #f4f8ff !important;
    border-color: #4b7a9b !important;
}
#content .trow_selected a:link,
#content .trow_selected a:visited,
#content .trow_selected a:hover,
#content .trow_selected a:active {
    color: #74e5ff !important;
}
#content .trow_selected .smalltext { color: #d5e5f3 !important; }
#content .trow_selected a:hover { text-decoration: underline; }
