 :root {
    --zrp-bg: #080a10;
    --zrp-bg-deep: #04050a;
    --zrp-surface: #11151d;
    --zrp-surface-2: #151a24;
    --zrp-surface-3: #1b2130;
    --zrp-border: #03050a;
    --zrp-line: rgba(117, 148, 210, .17);
    --zrp-text: #e6e9f0;
    --zrp-muted: #929aaa;
    --zrp-cyan: #36c6ff;
    --zrp-blue: #3677ff;
    --zrp-purple: #995cff;
    --zrp-pink: #e356ff;
    --zrp-green: #47d7a2;
    --zrp-red: #ff687d;
    --zrp-yellow: #f6bb53;
    --zrp-shell: 1320px;
    --zrp-accent-gradient: linear-gradient(90deg, #24c8ff 0%, #3978ff 46%, #985cff 76%, #dc4cff 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--zrp-text);
    background-color: var(--zrp-bg-deep);
    background-image:
        radial-gradient(circle at 18% -5%, rgba(30, 149, 255, .14), transparent 34%),
        radial-gradient(circle at 83% -2%, rgba(164, 72, 255, .12), transparent 35%),
        linear-gradient(115deg, rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(25deg, rgba(255,255,255,.010) 1px, transparent 1px),
        linear-gradient(180deg, #0e1420 0, #080b12 360px, #05060a 100%);
    background-size: auto, auto, 6px 6px, 7px 7px, auto;
    background-attachment: fixed;
    font-family: Roboto, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--zrp-cyan); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.zrp-shell { width: min(var(--zrp-shell), calc(100% - 40px)); margin-inline: auto; }

/* Top area: large identity + guest login block, intentionally modeled after classic gaming-community forums. */
.zrp-top-space { padding: 18px 0 20px; }
.zrp-masthead { min-height: 145px; display: grid; place-items: center; }
.zrp-masthead__logo-link { display: inline-grid; place-items: center; }
.zrp-masthead__logo { width: min(430px, 72vw); max-height: 160px; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.5)); }

.zrp-welcome-login {
    margin-top: 12px;
    padding: 22px 26px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .78fr);
    gap: 30px;
    align-items: center;
    background:
        linear-gradient(125deg, rgba(24,31,45,.98), rgba(12,15,23,.98)),
        var(--zrp-surface);
    border: 1px solid #02040a;
    box-shadow: inset 0 1px rgba(255,255,255,.045), 0 18px 42px rgba(0,0,0,.30);
}
.zrp-welcome-login__heading { text-align: left; }
.zrp-welcome-login__eyebrow { display: block; margin-bottom: 2px; color: #66cfff; font-size: .68rem; font-weight: 900; letter-spacing: .15em; }
.zrp-welcome-login__heading h1 { margin: 0; color: #f1f4fa; font-size: 1.72rem; font-weight: 620; letter-spacing: -.025em; }
.zrp-welcome-login__heading p { max-width: 690px; margin: 5px 0 0; color: #9ba4b5; }
.zrp-welcome-login__hint { grid-column: 2; margin-top: -20px; color: #6f7889; font-size: .73rem; text-align: center; }

.zrp-steam-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 58px;
    padding: 9px 14px 9px 12px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(112,192,255,.45);
    background:
        radial-gradient(circle at 15% 30%, rgba(64,175,255,.28), transparent 28%),
        linear-gradient(120deg, #142b42, #0c1725 58%, #0a111a);
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.22);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease;
}
.zrp-steam-button::before { content: ''; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, #31c6ff, #4388ff 55%, #a15cff); }
.zrp-steam-button:hover { color: #fff; transform: translateY(-1px); border-color: #7bd8ff; box-shadow: inset 0 1px rgba(255,255,255,.1), 0 11px 28px rgba(26,112,190,.24); filter: brightness(1.05); }
.zrp-steam-button__icon { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border-radius: 50%; color: #eaf7ff; background: rgba(4,12,20,.55); border: 1px solid rgba(145,213,255,.32); }
.zrp-steam-icon { width: 27px; height: 27px; display: block; }
.zrp-steam-button__text { position: relative; z-index: 1; min-width: 0; display: grid; line-height: 1.12; }
.zrp-steam-button__text small { color: #7cb8d9; font-size: .61rem; font-weight: 900; letter-spacing: .12em; }
.zrp-steam-button__text strong { margin-top: 3px; color: #fff; font-size: .98rem; }
.zrp-steam-button__arrow { position: relative; z-index: 1; margin-left: auto; color: #8fdcff; font-size: 1.4rem; }
.zrp-steam-button--hero { width: 100%; max-width: 500px; justify-self: end; }
.zrp-steam-button--sidebar { margin: 0 14px 15px; min-height: 54px; padding-inline: 10px 11px; }
.zrp-steam-button--sidebar .zrp-steam-button__icon { width: 36px; height: 36px; flex-basis: 36px; }
.zrp-steam-button--sidebar .zrp-steam-icon { width: 24px; height: 24px; }

/* Navigation bar beneath the login panel. */
.zrp-nav-shell {
    min-height: 51px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: linear-gradient(180deg, #171c26, #11151d);
    border: 1px solid #03050a;
    box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.zrp-nav { min-width: 0; }
.zrp-nav__list { min-height: 49px; display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.zrp-nav__list li { display: flex; border-right: 1px solid #050505; }
.zrp-nav__list a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #91969b;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .02em;
    transition: .16s ease;
}
.zrp-nav__list a:hover,
.zrp-nav__list .current-menu-item > a,
.zrp-nav__list .current_page_item > a {
    color: #fff;
    background: linear-gradient(#222a38, #171d28);
    box-shadow: inset 0 -2px var(--zrp-cyan);
}
.zrp-account-nav { display: flex; align-items: center; gap: 22px; padding: 0 18px; color: #858a90; text-transform: uppercase; font-size: .75rem; font-weight: 800; }
.zrp-account-nav__profile { display: inline-flex; align-items: center; gap: 8px; text-transform: none; }
.zrp-account-nav__profile img { border-radius: 2px; }
.zrp-search-link { font-size: 1.65rem; line-height: 1; color: #8f959c; }
.zrp-menu-toggle { display: none; border: 0; background: none; width: 51px; }
.zrp-menu-toggle span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px auto; background: #ddd; }
.zrp-accent-rail { height: 25px; position: relative; background: #0f131b; border-left: 1px solid #03050a; border-right: 1px solid #03050a; }
.zrp-accent-rail::before { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 6px; background: var(--zrp-accent-gradient); box-shadow: 0 0 14px rgba(65,145,255,.25); }
.zrp-accent-rail span { position: absolute; right: 23px; top: 3px; width: 12px; height: 12px; border-top: 2px solid var(--zrp-cyan); border-right: 2px solid var(--zrp-cyan); transform: skew(-8deg); opacity: .65; }

/* Main forum frame: wide content + fixed sidebar like the supplied reference. */
.zrp-site-main { min-height: 60vh; }
.zrp-community-frame {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
    padding: 20px 20px 34px;
    background: rgba(15,18,26,.985);
    border: 1px solid #000;
    border-top: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.zrp-community-frame__main { min-width: 0; }
.zrp-dashboard-title { margin-bottom: 35px; }
.zrp-dashboard-title h1 { margin: 0; color: #e8edf7; font-size: 1.9rem; font-weight: 500; letter-spacing: -.02em; }
.zrp-dashboard-title p { margin: 0; color: #8b9094; }
.zrp-dashboard-section { margin-top: 34px; }
.zrp-dashboard-section:first-of-type { margin-top: 0; }
.zrp-dashboard-section h2,
.zrp-section-heading-row h2 { margin: 0 0 12px; color: #5dcfff; font-size: 1.45rem; font-weight: 500; }
.zrp-dashboard-section p { color: #9fa2a6; }
.zrp-section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.zrp-section-heading-row > a { padding-bottom: 12px; color: #57bfe9; font-size: .88rem; }

.zrp-forum-links { border-top: 1px solid #292c2f; }
.zrp-forum-links > a {
    display: grid;
    grid-template-columns: minmax(150px, .35fr) 1fr;
    gap: 20px;
    padding: 14px 10px;
    border-bottom: 1px solid #292c2f;
    color: #aeb1b5;
}
.zrp-forum-links > a:hover { background: rgba(255,255,255,.025); }
.zrp-forum-links strong { color: #67d2ff; font-weight: 600; }
.zrp-forum-links span { color: #858a8f; }

.zrp-topic-table { border-top: 1px solid #25282b; }
.zrp-topic-table__head,
.zrp-topic-table__row { display: grid; grid-template-columns: 1fr 135px; gap: 15px; }
.zrp-topic-table__head { padding: 8px 10px; color: #59cfff; border-bottom: 1px solid #25282b; }
.zrp-topic-table__row { padding: 12px 10px; border-bottom: 1px solid #25282b; }
.zrp-topic-table__row:hover { background: rgba(255,255,255,.022); }
.zrp-topic-table__row strong { display: block; color: #c6c8ca; font-weight: 550; }
.zrp-topic-table__row small { display: block; margin-top: 2px; color: #777c80; }
.zrp-topic-table__row time { color: #858a8f; text-align: right; font-size: .82rem; }
.zrp-topic-table__empty { padding: 18px 10px; color: #858a8f; }

/* Sidebar */
.zrp-community-sidebar { display: grid; align-content: start; gap: 28px; }
.zrp-sidebar-box {
    overflow: hidden;
    border: 1px solid #060606;
    background: #151a23;
    box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.zrp-sidebar-box > h3,
.zrp-sidebar-box .widget-title { margin: 0; padding: 13px 15px; color: #999da1; font-size: 1.05rem; font-weight: 400; border-bottom: 1px solid #111; background: #121720; }
.zrp-sidebar-box > p { margin: 0; padding: 15px; color: #969ba0; }
.zrp-sidebar-box--auth { padding-top: 0; background: linear-gradient(150deg, #182638, #10151f 70%); border-color: #253b55; }
.zrp-sidebar-auth__brand { padding: 10px 14px 8px; color: #69cfff; background: rgba(18,45,67,.45); border-bottom: 1px solid rgba(90,180,235,.18); font-size: .65rem; font-weight: 900; letter-spacing: .14em; }
.zrp-sidebar-box--auth h3 { margin: 13px 14px 2px; padding: 0; color: #e8eef7; text-align: left; background: transparent; border: 0; font-size: 1.05rem; font-weight: 650; }
.zrp-sidebar-box--auth p { padding: 6px 14px 14px; color: #99a7b8; }
.zrp-sidebar-box--auth p strong { color: #dff5ff; }
.zrp-sidebar-button {
    display: grid;
    place-items: center;
    min-height: 41px;
    margin: 0 15px 15px;
    padding: 0 14px;
    color: #fff;
    border: 1px solid #07151d;
    background: linear-gradient(#2f738d, #061722);
    box-shadow: inset 0 1px rgba(255,255,255,.25);
}
.zrp-sidebar-button:hover { color: #fff; filter: brightness(1.08); }
.zrp-sidebar-posts { display: grid; padding: 6px 14px 12px; }
.zrp-sidebar-posts a { padding: 10px 0; border-bottom: 1px solid #303336; }
.zrp-sidebar-posts a:last-child { border-bottom: 0; }
.zrp-sidebar-posts strong { display: block; color: #c0c2c5; font-size: .9rem; font-weight: 500; }
.zrp-sidebar-posts small { display: block; color: #777c82; }
.zrp-sidebar-muted { display: block; padding: 15px; color: #858a8f; }
.zrp-profile-box { padding-bottom: 15px; }
.zrp-profile-box__top { display: flex; align-items: center; gap: 12px; padding: 15px; }
.zrp-profile-box__top img { border-radius: 2px; }
.zrp-profile-box__top small,
.zrp-profile-box__top strong { display: block; }
.zrp-profile-box__top small { color: #777c82; }

/* Interior pages */
.zrp-community-frame--page { padding-top: 0; }
.zrp-page-titlebar { margin: 0 -20px 20px; padding: 16px 20px; background: #1b1d1f; border-bottom: 1px solid #272a2d; }
.zrp-page-titlebar span { color: #73787c; text-transform: uppercase; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.zrp-page-titlebar h1 { margin: 2px 0 0; color: #64d3ff; font-size: 1.7rem; font-weight: 500; }
.zrp-page-content { color: #a9adb0; }
.zrp-page-content h2, .zrp-page-content h3 { color: #64d3ff; font-weight: 500; }
.zrp-page-content a { color: #67d2ff; }
.zrp-page-content img { max-width: 100%; }
.zrp-post-list { display: grid; gap: 1px; background: #2a2d30; }
.zrp-post-card { padding: 16px; background: #1c1e20; }
.zrp-post-card__meta { color: #757a7e; font-size: .78rem; }
.zrp-post-card h2 { margin: 5px 0; color: #48bae9; font-size: 1.2rem; font-weight: 500; }
.zrp-post-card p { color: #92969a; }

/* ZenoxRP Forum Core */
.zrp-server-card { display: grid; gap: 12px; padding: 14px; }
.zrp-server-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zrp-server-card__name { color: #c4c7ca; font-weight: 700; }
.zrp-server-card__state { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 800; }
.zrp-server-card__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.zrp-server-stat { padding: 9px; background: #1b1d1f; border: 1px solid #303336; }
.zrp-server-stat span { display: block; color: #777c82; font-size: .7rem; }
.zrp-server-stat strong { display: block; margin-top: 2px; color: #c3c6c8; font-size: .86rem; }
.zrp-server-compact { display: inline-flex; align-items: center; gap: 8px; }
.zrp-status-dot { width: 9px; height: 9px; display: inline-block; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.zrp-status-dot--online { color: var(--zrp-green); background: currentColor; }
.zrp-status-dot--offline { color: var(--zrp-red); background: currentColor; }
.zrp-status-dot--neutral { color: #777; background: currentColor; }
.zrp-rank-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid rgba(255,255,255,.12); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.zrp-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.zrp-team-card { padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #303336; background: #1c1e20; }
.zrp-team-card img { border-radius: 2px; }
.zrp-team-card strong { display: block; }


.zrp-footer { margin-top: 28px; border-top: 1px solid #151719; background: #050708; color: #71767b; }
.zrp-footer__grid { min-height: 125px; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.zrp-footer__brand { color: #b9bdc0; font-weight: 800; }
.zrp-footer p { margin: 2px 0 0; }
.zrp-footer__links { display: flex; gap: 15px; margin: 0; padding: 0; list-style: none; }
.zrp-footer__meta { font-size: .82rem; }

@media (max-width: 980px) {
    .zrp-community-frame { grid-template-columns: 1fr; }
    .zrp-community-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .zrp-nav-shell { position: relative; }
    .zrp-menu-toggle { display: block; flex: 0 0 51px; }
    .zrp-nav { display: none; position: absolute; left: 0; right: 0; top: 50px; z-index: 50; background: #181a1c; border: 1px solid #000; }
    .zrp-nav.is-open { display: block; }
    .zrp-nav__list { flex-direction: column; min-height: 0; }
    .zrp-nav__list li { border-right: 0; border-bottom: 1px solid #050505; }
    .zrp-nav__list a { min-height: 44px; width: 100%; }
    .zrp-account-nav { margin-left: auto; }
}

@media (max-width: 680px) {
    .zrp-shell { width: min(100% - 18px, var(--zrp-shell)); }
    .zrp-top-space { padding-top: 8px; }
    .zrp-masthead { min-height: 105px; }
    .zrp-masthead__logo { width: min(310px, 75vw); max-height: 115px; }
    .zrp-welcome-login { padding: 18px 15px; }
    .zrp-welcome-login__heading h1 { font-size: 1.3rem; }
    .zrp-welcome-login__choices { grid-template-columns: 1fr; gap: 16px; }
    .zrp-account-nav { gap: 12px; padding-right: 10px; }
    .zrp-account-nav__profile span { display: none; }
    .zrp-community-frame { padding: 16px 12px 24px; gap: 22px; }
    .zrp-community-sidebar { grid-template-columns: 1fr; }
    .zrp-forum-links > a { grid-template-columns: 1fr; gap: 1px; }
    .zrp-topic-table__head, .zrp-topic-table__row { grid-template-columns: 1fr 85px; }
    .zrp-section-heading-row { align-items: start; flex-direction: column; gap: 0; }
    .zrp-team-grid { grid-template-columns: 1fr; }
    .zrp-footer__grid { grid-template-columns: 1fr; padding: 25px 0; }
    .zrp-footer__links { flex-wrap: wrap; }
}

.zrp-error-page { text-align: center; padding: 50px 20px 65px; }
.zrp-error-page__code { color: #5dcfff; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; font-weight: 800; letter-spacing: -.07em; }
.zrp-error-page__button { width: min(280px, 100%); margin: 24px auto 0; }



/* v0.3.0 – ZenoxRP dashboard, Steam connect and activity feed */
.zrp-nav-steam { display: inline-flex; align-items: center; gap: 6px; color: #8ecff1; }
.zrp-nav-steam .zrp-steam-icon { width: 18px; height: 18px; }
.zrp-nav-steam:hover { color: #fff; }

.zrp-dashboard-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; padding-bottom: 17px; border-bottom: 1px solid rgba(113,143,194,.16); }
.zrp-dashboard-title__eyebrow { display: block; color: #78859a; font-size: .64rem; font-weight: 900; letter-spacing: .15em; }
.zrp-dashboard-title h1 { margin-top: 1px; }
.zrp-dashboard-title__forumlink { flex: 0 0 auto; padding: 8px 11px; color: #8edcff; border: 1px solid rgba(83,180,236,.26); background: rgba(31,77,109,.10); font-size: .78rem; font-weight: 800; }
.zrp-dashboard-title__forumlink:hover { color: #fff; border-color: #4fcaff; background: rgba(38,146,207,.12); }

.zrp-home-overview-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 18px; align-items: stretch; }
.zrp-dashboard-section--panel { min-width: 0; margin-top: 0; overflow: hidden; border: 1px solid rgba(100,129,178,.19); background: linear-gradient(145deg, rgba(23,29,41,.93), rgba(14,18,27,.95)); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.zrp-dashboard-section--panel .zrp-section-heading-row { padding: 13px 15px 11px; border-bottom: 1px solid rgba(102,132,180,.16); background: rgba(20,26,37,.76); }
.zrp-section-heading-row--compact { align-items: center; }
.zrp-dashboard-section--panel .zrp-section-heading-row h2 { margin: 0; color: #dfe9f7; font-size: 1.02rem; font-weight: 680; }
.zrp-section-heading-row > div > h2 { margin-bottom: 0; }
.zrp-section-heading-row > a { padding-bottom: 0; color: #7ccff8; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.zrp-section-subline { display: block; margin-top: 2px; color: #6f7a8e; font-size: .72rem; }
.zrp-home-kicker { color: #5ccfff; font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.zrp-latest-news-card { min-height: 262px; display: grid; grid-template-rows: 1fr; }
.zrp-latest-news-card.has-image { grid-template-rows: 132px 1fr; }
.zrp-latest-news-card__media { display: block; background-position: center; background-size: cover; border-bottom: 1px solid rgba(100,140,195,.18); position: relative; }
.zrp-latest-news-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,12,18,.05), rgba(9,12,18,.62)); }
.zrp-latest-news-card__body { padding: 15px; display: flex; flex-direction: column; }
.zrp-latest-news-card h3 { margin: 4px 0 7px; color: #edf4ff; font-size: 1.18rem; line-height: 1.2; }
.zrp-latest-news-card h3 a:hover { color: #62d0ff; }
.zrp-latest-news-card p { margin: 0 0 12px; color: #96a0b1; font-size: .87rem; }
.zrp-home-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #6f798a; font-size: .72rem; }
.zrp-home-meta a { color: #7ed6ff; font-weight: 700; }

.zrp-home-topic-list { display: grid; }
.zrp-home-topic { min-height: 55px; display: grid; grid-template-columns: 38px minmax(0, 1fr) 48px; gap: 10px; align-items: center; padding: 9px 11px; border-bottom: 1px solid rgba(103,132,181,.13); }
.zrp-home-topic:last-child { border-bottom: 0; }
.zrp-home-topic:hover { background: linear-gradient(90deg, rgba(42,128,190,.075), rgba(135,72,205,.035)); }
.zrp-home-topic img { width: 38px; height: 38px; object-fit: cover; border: 1px solid rgba(118,166,214,.25); background: #0c1017; }
.zrp-home-topic__main { min-width: 0; }
.zrp-home-topic__main strong { display: block; overflow: hidden; color: #d9e1ed; font-size: .84rem; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.zrp-home-topic:hover .zrp-home-topic__main strong { color: #70d5ff; }
.zrp-home-topic__main small { display: block; margin-top: 1px; overflow: hidden; color: #727c8d; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.zrp-home-topic__stats { display: grid; justify-items: center; line-height: 1; }
.zrp-home-topic__stats b { min-width: 24px; padding: 4px 5px; color: #c9efff; border: 1px solid rgba(71,192,247,.28); background: rgba(36,144,196,.09); font-size: .74rem; text-align: center; }
.zrp-home-topic__stats small { margin-top: 4px; color: #697487; font-size: .58rem; text-transform: uppercase; }

.zrp-home-empty { min-height: 110px; display: grid; place-content: center; gap: 2px; padding: 18px; color: #768296; text-align: center; }
.zrp-home-empty strong { color: #cbd5e4; }
.zrp-home-empty--success strong { color: #72ddb6; }

.zrp-dashboard-section--activity { margin-top: 24px; padding-top: 0; border: 1px solid rgba(100,129,178,.18); background: rgba(15,19,28,.64); }
.zrp-dashboard-section--activity > .zrp-section-heading-row { padding: 14px 15px 12px; border-bottom: 1px solid rgba(99,129,176,.16); background: rgba(20,26,37,.78); }
.zrp-dashboard-section--activity > .zrp-section-heading-row h2 { margin: 0; color: #dfe9f7; font-size: 1.05rem; font-weight: 680; }
.zrp-activity-list { display: grid; }
.zrp-activity-item { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 11px; padding: 11px 13px; border-bottom: 1px solid rgba(106,137,183,.12); transition: background .14s ease; }
.zrp-activity-item:last-child { border-bottom: 0; }
.zrp-activity-item:hover { background: linear-gradient(90deg, rgba(35,112,169,.055), transparent 72%); }
.zrp-activity-item__avatar { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(115,160,210,.22); background: #0d121a; }
.zrp-activity-item__avatar img { width: 100%; height: 100%; object-fit: cover; }
.zrp-activity-item__avatar span { color: #5bcfff; font-weight: 900; }
.zrp-activity-item__body { min-width: 0; }
.zrp-activity-item__line { display: flex; align-items: center; gap: 6px; min-width: 0; color: #8d97a7; font-size: .79rem; }
.zrp-activity-item__line strong { color: #d7deea; font-weight: 660; }
.zrp-activity-item__line > a { min-width: 0; overflow: hidden; color: #78d3ff; font-weight: 620; text-overflow: ellipsis; white-space: nowrap; }
.zrp-activity-item__line > a:hover { color: #c9f1ff; }
.zrp-activity-action { color: #747f91; }
.zrp-activity-type { flex: 0 0 auto; padding: 3px 5px; border: 1px solid rgba(114,160,212,.18); background: rgba(58,98,141,.08); color: #8fb9dc; font-size: .56rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.zrp-activity-type--topic { color: #6fd6ff; border-color: rgba(65,190,243,.26); background: rgba(45,150,205,.08); }
.zrp-activity-type--news { color: #c798ff; border-color: rgba(153,92,255,.28); background: rgba(124,72,199,.08); }
.zrp-activity-item p { margin: 3px 0 2px; overflow: hidden; color: #808b9c; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.zrp-activity-item__meta { display: flex; gap: 10px; color: #5f697a; font-size: .66rem; }
.zrp-activity-item__meta span { color: #748096; }

.zrp-profile-box__ranks { padding: 0 15px 12px; }


@media (max-width: 1120px) {
    .zrp-home-overview-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .zrp-welcome-login { grid-template-columns: 1fr; }
    .zrp-welcome-login__heading { text-align: center; }
    .zrp-steam-button--hero { justify-self: center; }
    .zrp-welcome-login__hint { grid-column: 1; margin-top: -16px; }
}

@media (max-width: 680px) {
    .zrp-welcome-login { padding: 18px 15px 20px; gap: 20px; }
    .zrp-steam-button--hero { min-height: 56px; }
    .zrp-dashboard-title { align-items: start; flex-direction: column; }
    .zrp-home-topic { grid-template-columns: 34px minmax(0,1fr) 42px; padding-inline: 8px; }
    .zrp-home-topic img { width: 34px; height: 34px; }
    .zrp-activity-item { grid-template-columns: 38px minmax(0,1fr); gap: 9px; padding-inline: 9px; }
    .zrp-activity-item__avatar { width: 38px; height: 38px; }
    .zrp-activity-item__line { flex-wrap: wrap; gap: 4px; }
    .zrp-activity-item__line > a { flex-basis: 100%; white-space: normal; }
    .zrp-activity-item p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* =========================================================

/* =========================================================
   v0.5.2 – clean wpForo 3.1.x integration
   Important: this section intentionally does NOT change wpForo's display,
   grid, flex, column widths or positioning. wpForo keeps full control of its
   functional layout. ZenoxRP only supplies colors, spacing and typography.
   ========================================================= */

.zrp-page-content--forum,
.zrp-page-content--forum > p,
.zrp-page-content--forum #wpforo,
.zrp-page-content--forum #wpforo-wrap,
.zrp-page-content--forum .wpforo-wrap {
    background: transparent !important;
}

.zrp-page-content--forum #wpforo,
.zrp-page-content--forum #wpforo-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #c5cfdd !important;
    font-family: Roboto, "Segoe UI", Arial, sans-serif !important;
}

/* wpForo's own menu duplicates the ZenoxRP site navigation. */
#wpforo #wpforo-wrap #wpforo-menu,
#wpforo #wpforo-wrap .wpforo-menu,
#wpforo #wpforo-wrap .wpf-menu {
    display: none !important;
}

/* Optional plugin utility/footer elements we intentionally don't use. */
#wpforo #wpforo-wrap #wpforo-footer,
#wpforo #wpforo-wrap #wpforo-stat-header,
#wpforo #wpforo-wrap #wpforo-stat-body,
#wpforo #wpforo-wrap #wpforo-poweredby,
#wpforo #wpforo-wrap .wpf-subscribe-topic,
#wpforo #wpforo-wrap .wpf-subscribe-forum,
#wpforo #wpforo-wrap .wpforo-feed,
#wpforo #wpforo-wrap .wpf-sb-button {
    display: none !important;
}

/* Keep wpForo's real forum structure intact. Only repaint surfaces. */
#wpforo #wpforo-wrap .wpforo-category {
    color: #dce7f5 !important;
    background: linear-gradient(180deg, #192435 0%, #121a27 100%) !important;
    border-color: #2b3a50 !important;
    box-shadow: none !important;
}

#wpforo #wpforo-wrap .wpforo-forum,
#wpforo #wpforo-wrap .wpforo-topic,
#wpforo #wpforo-wrap .wpforo-post,
#wpforo #wpforo-wrap .wpforo-forum-wrap,
#wpforo #wpforo-wrap .wpforo-topic-wrap,
#wpforo #wpforo-wrap .wpforo-post-wrap {
    color: #c8d2df !important;
    background-color: #101720 !important;
    border-color: #29384c !important;
    box-shadow: none !important;
}

#wpforo #wpforo-wrap .wpforo-forum:hover,
#wpforo #wpforo-wrap .wpforo-topic:hover {
    background-color: #141e2b !important;
}

#wpforo #wpforo-wrap .wpforo-topic-head,
#wpforo #wpforo-wrap .wpforo-post-head,
#wpforo #wpforo-wrap .wpf-head-bar {
    color: #d8e5f4 !important;
    background: #111a27 !important;
    border-color: #2a3b50 !important;
    box-shadow: none !important;
}

/* The live screenshots showed a second dark "under-layer" around the forum
   title/action area. Keep that wrapper transparent and let the actual rows own
   the background. This doesn't change its dimensions or layout. */
#wpforo #wpforo-wrap .wpforo-subtop,
#wpforo #wpforo-wrap .wpf-forum-tools,
#wpforo #wpforo-wrap .wpf-topic-tools,
#wpforo #wpforo-wrap .wpf-forum-info,
#wpforo #wpforo-wrap .wpforo-forum-info {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Current forum title / breadcrumb */
#wpforo #wpforo-wrap #wpforo-title,
#wpforo #wpforo-wrap #wpforo-title h1,
#wpforo #wpforo-wrap #wpforo-title h2,
#wpforo #wpforo-wrap .wpforo-forum-title,
#wpforo #wpforo-wrap .wpforo-topic-title {
    color: #edf5ff !important;
    font-family: "Roboto Condensed", Roboto, sans-serif !important;
    font-weight: 700 !important;
}

#wpforo #wpforo-wrap .wpf-breadcrumb {
    margin-bottom: 16px !important;
    padding: 9px 12px !important;
    color: #7f8ea2 !important;
    background: #111722 !important;
    border: 1px solid #2a3749 !important;
    border-radius: 3px !important;
}
#wpforo #wpforo-wrap .wpf-breadcrumb a { color: #9eb3ca !important; }
#wpforo #wpforo-wrap .wpf-breadcrumb a.active,
#wpforo #wpforo-wrap .wpf-breadcrumb a:hover { color: #62d2ff !important; }

/* Forum/topic text and meta */
#wpforo #wpforo-wrap a { color: #80d8ff !important; }
#wpforo #wpforo-wrap a:hover { color: #d4f4ff !important; }
#wpforo #wpforo-wrap .wpforo-forum-title a,
#wpforo #wpforo-wrap .wpforo-topic-title a {
    color: #eef5ff !important;
    font-weight: 600 !important;
}
#wpforo #wpforo-wrap .wpforo-forum-description,
#wpforo #wpforo-wrap .wpf-description,
#wpforo #wpforo-wrap .wpforo-forum-stat,
#wpforo #wpforo-wrap .wpforo-topic-stat,
#wpforo #wpforo-wrap .wpf-last-post-title,
#wpforo #wpforo-wrap .wpf-last-post-date,
#wpforo #wpforo-wrap .wpf-author-date {
    color: #78869a !important;
}

/* Buttons */
#wpforo #wpforo-wrap .wpf-button,
#wpforo #wpforo-wrap a.wpf-button,
#wpforo #wpforo-wrap a.wpf-new-button,
#wpforo #wpforo-wrap span.wpf-new-button,
#wpforo #wpforo-wrap button,
#wpforo #wpforo-wrap input[type="submit"] {
    color: #f5fbff !important;
    background: linear-gradient(180deg, #17658b 0%, #0c405d 100%) !important;
    border: 1px solid #2ca9dd !important;
    border-radius: 3px !important;
    box-shadow: inset 0 1px rgba(255,255,255,.08) !important;
    text-shadow: none !important;
}
#wpforo #wpforo-wrap .wpf-button:hover,
#wpforo #wpforo-wrap a.wpf-button:hover,
#wpforo #wpforo-wrap a.wpf-new-button:hover,
#wpforo #wpforo-wrap button:hover,
#wpforo #wpforo-wrap input[type="submit"]:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #2587b2 0%, #125675 100%) !important;
    border-color: #70d9ff !important;
}

/* Form controls shared by topic/reply/profile forms. */
#wpforo #wpforo-wrap input[type="text"],
#wpforo #wpforo-wrap input[type="email"],
#wpforo #wpforo-wrap input[type="password"],
#wpforo #wpforo-wrap input[type="search"],
#wpforo #wpforo-wrap input[type="url"],
#wpforo #wpforo-wrap textarea,
#wpforo #wpforo-wrap select {
    color: #e7eef8 !important;
    background: #0d131d !important;
    border: 1px solid #34445b !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap input:focus,
#wpforo #wpforo-wrap textarea:focus,
#wpforo #wpforo-wrap select:focus {
    outline: none !important;
    border-color: #49bfe9 !important;
    box-shadow: 0 0 0 2px rgba(73,191,233,.12) !important;
}
#wpforo #wpforo-wrap input[type="checkbox"],
#wpforo #wpforo-wrap input[type="radio"] { accent-color: #36c6ff; }

/* =========================================================
   Topic and reply composer – dark ZenoxRP card UI
   ========================================================= */
#wpforo #wpforo-wrap .wpf-form-wrapper,
#wpforo #wpforo-wrap .wpf-topic-create,
#wpforo #wpforo-wrap .wpf-post-create {
    color: #d8e2ef !important;
    background: #151a22 !important;
    border-color: #344052 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap .wpf-topic-create,
#wpforo #wpforo-wrap .wpf-post-create {
    padding: 14px !important;
}
#wpforo #wpforo-wrap .wpf-field-wrap,
#wpforo #wpforo-wrap [class*="wpf-field-name-"] {
    color: #aeb9c8 !important;
    border-color: #2d3848 !important;
}
#wpforo #wpforo-wrap .wpf-field-wrap > label,
#wpforo #wpforo-wrap [class*="wpf-field-name-"] > label,
#wpforo #wpforo-wrap .wpf-label {
    color: #8edcff !important;
    font-weight: 600 !important;
}

/* Editor shell: classic TinyMCE and newer TinyMCE builds. */
#wpforo #wpforo-wrap .wp-editor-wrap,
#wpforo #wpforo-wrap .wp-editor-container,
#wpforo #wpforo-wrap .mce-container,
#wpforo #wpforo-wrap .mce-container-body,
#wpforo #wpforo-wrap .mce-panel,
#wpforo #wpforo-wrap .mce-toolbar-grp,
#wpforo #wpforo-wrap .mce-statusbar,
#wpforo #wpforo-wrap .tox,
#wpforo #wpforo-wrap .tox-editor-container,
#wpforo #wpforo-wrap .tox-editor-header,
#wpforo #wpforo-wrap .tox-toolbar,
#wpforo #wpforo-wrap .tox-toolbar__primary,
#wpforo #wpforo-wrap .tox-statusbar {
    color: #d8e2ef !important;
    background: #1c222c !important;
    border-color: #39475b !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap .mce-toolbar .mce-btn,
#wpforo #wpforo-wrap .mce-flow-layout .mce-btn,
#wpforo #wpforo-wrap .tox-tbtn {
    color: #dce7f4 !important;
    background: #141b25 !important;
    border-color: #334155 !important;
}
#wpforo #wpforo-wrap .mce-toolbar .mce-btn:hover,
#wpforo #wpforo-wrap .mce-flow-layout .mce-btn:hover,
#wpforo #wpforo-wrap .tox-tbtn:hover {
    background: #253246 !important;
}
#wpforo #wpforo-wrap .mce-ico,
#wpforo #wpforo-wrap .mce-txt,
#wpforo #wpforo-wrap .tox-icon,
#wpforo #wpforo-wrap .tox-tbtn svg {
    color: #dbe8f5 !important;
    fill: currentColor !important;
}
#wpforo #wpforo-wrap .wp-editor-container iframe,
#wpforo #wpforo-wrap .mce-edit-area iframe {
    min-height: 230px !important;
    background: #20242b !important;
}

/* File attachment and secondary composer controls */
#wpforo #wpforo-wrap input[type="file"] {
    max-width: 100% !important;
    color: #aab6c5 !important;
    background: #101620 !important;
    border: 1px solid #344155 !important;
    border-radius: 3px !important;
}
#wpforo #wpforo-wrap input[type="file"]::file-selector-button {
    padding: 7px 11px !important;
    color: #eaf7ff !important;
    background: #233246 !important;
    border: 0 !important;
    border-right: 1px solid #42546d !important;
}

/* Smiley / attachment / settings / poll tabs */
#wpforo #wpforo-wrap .wpf-editor-tabs,
#wpforo #wpforo-wrap .wpf-editor-tab,
#wpforo #wpforo-wrap .wpf-editor-smilies,
#wpforo #wpforo-wrap .wpforo-smile-box,
#wpforo #wpforo-wrap [class*="smiley"],
#wpforo #wpforo-wrap [class*="smilie"] {
    color: #b7c3d2 !important;
    background-color: #181e27 !important;
    border-color: #344154 !important;
}

/* =========================================================
   Topic/Post view – remove the white default cards
   ========================================================= */
#wpforo #wpforo-wrap .wpforo-post {
    overflow: hidden !important;
    color: #d7e0eb !important;
    background: #151b24 !important;
    border: 1px solid #2e3a4d !important;
    border-radius: 3px !important;
}
#wpforo #wpforo-wrap .wpforo-post .wpf-left,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-author,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-author-data {
    color: #aeb9c8 !important;
    background: #111721 !important;
    border-color: #2e3a4d !important;
}
#wpforo #wpforo-wrap .wpforo-post .wpf-right,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content p,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content div,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content li {
    color: #d8e1ec !important;
    background-color: #171d27 !important;
}
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content {
    font-size: 15px !important;
    line-height: 1.65 !important;
}
#wpforo #wpforo-wrap .wpforo-post blockquote,
#wpforo #wpforo-wrap .wpforo-post pre,
#wpforo #wpforo-wrap .wpforo-post-code {
    color: #cbd7e6 !important;
    background: #0d131c !important;
    border: 1px solid #35445a !important;
}
#wpforo #wpforo-wrap .wpforo-post .bottom,
#wpforo #wpforo-wrap .wpforo-post .wpforo-post-content-bottom,
#wpforo #wpforo-wrap .wpforo-post .wpf-post-actions {
    color: #8d9bae !important;
    background: #101721 !important;
    border-color: #2e3a4d !important;
}

/* Empty forum state */
#wpforo #wpforo-wrap .zrp-wpforo-empty-state {
    display: block !important;
    margin: 14px 0 !important;
    padding: 20px !important;
    color: #7f8ca0 !important;
    background: #111721 !important;
    border: 1px dashed #304057 !important;
    text-align: center !important;
}

/* Simple JS marker: only exact optional controls are hidden. */
#wpforo #wpforo-wrap .zrp-wpforo-ui-hidden { display: none !important; }

@media (max-width: 760px) {
    #wpforo #wpforo-wrap .wpf-topic-create,
    #wpforo #wpforo-wrap .wpf-post-create { padding: 10px !important; }
    #wpforo #wpforo-wrap .wpforo-post .wpf-left,
    #wpforo #wpforo-wrap .wpforo-post .wpf-right { min-width: 0 !important; }
}

/* =========================================================
   v0.5.3 – Forumansicht + Beitragserstellung
   Ziel: wpForo bleibt die Engine, ZenoxRP besitzt aber die sichtbare UI.
   ========================================================= */

/* Die wpForo-eigene rechte Sidebar (Suche / Letzte Beiträge / Kommentare)
   wird nicht benötigt, da das ZenoxRP-Theme bereits eine eigene Sidebar hat. */
#wpforo #wpforo-wrap .wpforo-right-sidebar {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
#wpforo #wpforo-wrap .wpforo-content {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-right: 0 !important;
}

/* Extended Layout: die zuletzt-Thema/Beitrag-Zeile darf nie auf weiß fallen. */
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list ul,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list li,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topic,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-info,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-posts,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-views,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-lastpost,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post-info {
    color: #c8d3e1 !important;
    background: #101821 !important;
    border-color: #2a394d !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list li:hover,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic:hover {
    background: #152131 !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list a,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topic a,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic a {
    color: #dcecff !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list a:hover,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic a:hover {
    color: #5fd5ff !important;
}

/* Topic rows: klare dunkle Karte statt gemischter weißer Unterzeile. */
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-info,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-start-info {
    background-color: #101821 !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic {
    border-bottom: 1px solid #2c3a4d !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-posts,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-views,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-lastpost {
    color: #8d9bad !important;
}

/* =========================================================
   Thema / Beitrag erstellen – ZenoxRP Composer
   ========================================================= */
#wpforo #wpforo-wrap .wpf-form-wrapper.wpf-topic-create,
#wpforo #wpforo-wrap .wpf-form-wrapper.wpf-post-create,
#wpforo #wpforo-wrap .wpf-topic-create,
#wpforo #wpforo-wrap .wpf-post-create {
    color-scheme: dark !important;
    overflow: hidden !important;
    color: #d9e4f1 !important;
    background: #171c24 !important;
    border: 1px solid #344154 !important;
    border-radius: 6px !important;
    box-shadow: 0 16px 48px rgba(0,0,0,.28) !important;
}

/* wpForo setzt das Titelfeld je nach Layout anders – explizit sichtbar halten. */
#wpforo #wpforo-wrap .wpf-topic-create .wpf-field.wpf-field-name-title,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-field-name-title,
#wpforo #wpforo-wrap .wpf-post-create .wpf-field {
    display: block !important;
}

#wpforo #wpforo-wrap .wpf-topic-create .wpf-field,
#wpforo #wpforo-wrap .wpf-post-create .wpf-field,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-field-wrap,
#wpforo #wpforo-wrap .wpf-post-create .wpf-field-wrap,
#wpforo #wpforo-wrap .wpf-topic-create [class*="wpf-field-name-"],
#wpforo #wpforo-wrap .wpf-post-create [class*="wpf-field-name-"] {
    padding: 12px 14px !important;
    color: #aebdce !important;
    background: #1b2029 !important;
    border-color: #303b4c !important;
}

#wpforo #wpforo-wrap .wpf-topic-create label,
#wpforo #wpforo-wrap .wpf-post-create label,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-label,
#wpforo #wpforo-wrap .wpf-post-create .wpf-label {
    color: #dbe8f6 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

#wpforo #wpforo-wrap .wpf-topic-create input[type="text"],
#wpforo #wpforo-wrap .wpf-topic-create input[type="search"],
#wpforo #wpforo-wrap .wpf-post-create input[type="text"],
#wpforo #wpforo-wrap .wpf-topic-create textarea,
#wpforo #wpforo-wrap .wpf-post-create textarea {
    width: 100% !important;
    min-height: 42px !important;
    color: #edf5ff !important;
    background: #0f151e !important;
    border: 1px solid #425169 !important;
    border-radius: 4px !important;
}

/* WordPress/TinyMCE classic editor shell */
#wpforo #wpforo-wrap .wpf-topic-create .wp-editor-wrap,
#wpforo #wpforo-wrap .wpf-post-create .wp-editor-wrap,
#wpforo #wpforo-wrap .wpf-topic-create .wp-editor-container,
#wpforo #wpforo-wrap .wpf-post-create .wp-editor-container,
#wpforo #wpforo-wrap .wpf-topic-create .mce-tinymce,
#wpforo #wpforo-wrap .wpf-post-create .mce-tinymce,
#wpforo #wpforo-wrap .wpf-topic-create .mce-container,
#wpforo #wpforo-wrap .wpf-post-create .mce-container,
#wpforo #wpforo-wrap .wpf-topic-create .mce-panel,
#wpforo #wpforo-wrap .wpf-post-create .mce-panel,
#wpforo #wpforo-wrap .wpf-topic-create .quicktags-toolbar,
#wpforo #wpforo-wrap .wpf-post-create .quicktags-toolbar {
    color: #d9e5f3 !important;
    background: #151c26 !important;
    border-color: #39485e !important;
    box-shadow: none !important;
}

#wpforo #wpforo-wrap .wpf-topic-create .mce-toolbar-grp,
#wpforo #wpforo-wrap .wpf-post-create .mce-toolbar-grp,
#wpforo #wpforo-wrap .wpf-topic-create .mce-toolbar,
#wpforo #wpforo-wrap .wpf-post-create .mce-toolbar {
    background: #111823 !important;
    border-color: #35445a !important;
}

#wpforo #wpforo-wrap .wpf-topic-create .mce-btn,
#wpforo #wpforo-wrap .wpf-post-create .mce-btn,
#wpforo #wpforo-wrap .wpf-topic-create .quicktags-toolbar .button,
#wpforo #wpforo-wrap .wpf-post-create .quicktags-toolbar .button,
#wpforo #wpforo-wrap .wpf-topic-create .wp-switch-editor,
#wpforo #wpforo-wrap .wpf-post-create .wp-switch-editor {
    color: #d8e5f4 !important;
    background: #1b2634 !important;
    border-color: #405169 !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap .wpf-topic-create .mce-btn:hover,
#wpforo #wpforo-wrap .wpf-post-create .mce-btn:hover,
#wpforo #wpforo-wrap .wpf-topic-create .quicktags-toolbar .button:hover,
#wpforo #wpforo-wrap .wpf-post-create .quicktags-toolbar .button:hover {
    background: #26384d !important;
}

#wpforo #wpforo-wrap .wpf-topic-create .mce-edit-area,
#wpforo #wpforo-wrap .wpf-post-create .mce-edit-area,
#wpforo #wpforo-wrap .wpf-topic-create textarea.wp-editor-area,
#wpforo #wpforo-wrap .wpf-post-create textarea.wp-editor-area {
    color: #eaf1f8 !important;
    background: #20252d !important;
    border-color: #39475b !important;
}

/* Optionen, Anhänge, Tags und Footer des Editors */
#wpforo #wpforo-wrap .wpf-topic-create .wpf-topic-tags,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-extra-fields,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-editor-tabs,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-editor-tab,
#wpforo #wpforo-wrap .wpf-post-create .wpf-editor-tabs,
#wpforo #wpforo-wrap .wpf-post-create .wpf-editor-tab,
#wpforo #wpforo-wrap .wpf-topic-create .wpf-form-bottom,
#wpforo #wpforo-wrap .wpf-post-create .wpf-form-bottom {
    color: #a9b7c8 !important;
    background: #171e28 !important;
    border-color: #303d50 !important;
}

#wpforo #wpforo-wrap .wpf-topic-create input[type="submit"],
#wpforo #wpforo-wrap .wpf-post-create input[type="submit"],
#wpforo #wpforo-wrap .wpf-topic-create button[type="submit"],
#wpforo #wpforo-wrap .wpf-post-create button[type="submit"] {
    min-width: 132px !important;
    min-height: 38px !important;
    font-weight: 700 !important;
}

@media (max-width: 760px) {
    #wpforo #wpforo-wrap .wpforo-content { width: 100% !important; }
    #wpforo #wpforo-wrap .wpf-topic-create .wpf-field,
    #wpforo #wpforo-wrap .wpf-post-create .wpf-field { padding: 10px !important; }
}

/* =========================================================
   v0.5.4 – Extended-Layout surface repair
   The remaining white bands in wpForo 3.1.x are wrapper/panel surfaces
   around forum/topic rows. We repaint those exact structural surfaces only;
   no content is hidden and no row widths/positions are changed.
   ========================================================= */
#wpforo #wpforo-wrap .wpfl-1 .forum-wrap,
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-cat-panel,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forum,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list > ul,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list > ul > li,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topic,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post-info,
#wpforo #wpforo-wrap .wpfl-1 .wpf-last-post,
#wpforo #wpforo-wrap .wpfl-1 .wpf-last-topic {
    background-color: #101821 !important;
    background-image: none !important;
    border-color: #2b3a4d !important;
    box-shadow: none !important;
}

/* Some wpForo skins create decorative bands through pseudo-elements. */
#wpforo #wpforo-wrap .wpfl-1 .forum-wrap::before,
#wpforo #wpforo-wrap .wpfl-1 .forum-wrap::after,
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap::before,
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap::after,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-cat-panel::before,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-cat-panel::after,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list::before,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list::after {
    background-color: #101821 !important;
    background-image: none !important;
    border-color: #2b3a4d !important;
    box-shadow: none !important;
}

/* The row itself owns the dark surface; inner information cells remain
   transparent so no bright wpForo fallback color can leak through. */
#wpforo #wpforo-wrap .wpfl-1 .forum-wrap > .wpforo-forum,
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap > .wpforo-topic,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forum-info,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-info,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-start-info,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forum-stat-posts,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forum-stat-topics,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-posts,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-views,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-stat-lastpost {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Make the topic's secondary/last-post line a proper dark sub-row instead of
   a white strip. Keep it visible because it contains useful author/date data. */
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topic,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post-info,
#wpforo #wpforo-wrap .wpfl-1 .wpf-last-post-by,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topic-date {
    color: #8f9db0 !important;
}
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topics-list a,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-topic a,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-last-post a {
    color: #6fd4ff !important;
}

/* Prevent white seams caused by the default panel border/background. */
#wpforo #wpforo-wrap .wpfl-1 .forum-wrap,
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap {
    border-top-color: #2b3a4d !important;
    border-bottom-color: #2b3a4d !important;
}

/* =========================================================
   v0.5.5 – Robust wpForo white-band repair
   wpForo 3.1.x can inject light structural surfaces with skin-specific
   wrapper classes.  We never hide those wrappers; JS only marks genuinely
   bright structural panels and this class repaints them in ZenoxRP colors.
   ========================================================= */
#wpforo #wpforo-wrap .zrp-wpforo-bright-surface {
    background-color: #101821 !important;
    background-image: none !important;
    border-color: #2b3a4d !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap .zrp-wpforo-bright-surface::before,
#wpforo #wpforo-wrap .zrp-wpforo-bright-surface::after {
    background-color: #101821 !important;
    background-image: none !important;
    border-color: #2b3a4d !important;
    box-shadow: none !important;
}

/* Extended layout outer canvases must never fall back to wpForo's bright skin. */
#wpforo #wpforo-wrap .wpfl-1,
#wpforo #wpforo-wrap .wpfl-1 .wpf-cat-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpf-forum-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpf-topic-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forums,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topics,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forum-body,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-body,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-forum-footer,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-topic-footer {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Remove the bright seam without changing row geometry. */
#wpforo #wpforo-wrap .wpfl-1 .forum-wrap,
#wpforo #wpforo-wrap .wpfl-1 .topic-wrap,
#wpforo #wpforo-wrap .wpfl-1 .wpforo-cat-panel {
    border-top-color: #2b3a4d !important;
    border-bottom-color: #2b3a4d !important;
}

/* =========================================================
   v0.5.6 – deterministic Extended Layout dark-surface fix
   wpForo 3.1.x can render the remaining white bands as large anchors or
   pseudo-elements. JS now detects those exact bright surfaces. The rules below
   only repaint detected structures; no forum/topic content is hidden.
   ========================================================= */
#wpforo #wpforo-wrap .zrp-wpforo-bright-surface {
    background: #101821 !important;
    background-color: #101821 !important;
    background-image: none !important;
    border-color: #2b3a4d !important;
    color: #dce7f4 !important;
    box-shadow: none !important;
}
#wpforo #wpforo-wrap .zrp-wpforo-bright-before::before,
#wpforo #wpforo-wrap .zrp-wpforo-bright-after::after {
    background: #101821 !important;
    background-color: #101821 !important;
    background-image: none !important;
    border-color: #2b3a4d !important;
    box-shadow: none !important;
}

/* Listing-only safety net: neutralize skin canvases that exist purely as
   white separators while leaving buttons, editor controls and user content
   untouched. The class is added only on Extended Layout listing pages. */
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-forums,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-topics,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpf-cat-wrap,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpf-forum-wrap,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpf-topic-wrap,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .forum-wrap,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .topic-wrap {
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Keep useful secondary topic information visible, but never on a white bar. */
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-topics-list,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-topics-list > ul,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-topics-list > ul > li,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-topic,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-post,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-post-info,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpf-last-post,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpf-last-topic {
    background-color: #0e1721 !important;
    background-image: none !important;
    border-color: #25354a !important;
    color: #9caabd !important;
}
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-topics-list a,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-topic a,
#wpforo #wpforo-wrap.zrp-wpforo-listing .wpfl-1 .wpforo-last-post a {
    color: #69d1ff !important;
}
