        /* ==========================================================================
           RBS Community — premium visual pass. Same palette (gold #D4AF37 /
           black #16171a / cream #fdf9f0) already used across the rest of the
           plugin's premium pages (see assets/css/rbs-premium-theme.css), so
           this page reads as part of the same product instead of a separate
           generic forum skin. Every selector below matches the existing
           markup 1:1 — no PHP/HTML changes required for this pass.
           ========================================================================== */

        .rbs-community-shell,.rbs-community-modal{
            --rbs-black:#16171a;
            --rbs-ink:#2b2d31;
            --rbs-gold:#D4AF37;
            --rbs-gold-dark:#a9861f;
            --rbs-line:#e7e3d8;
            --rbs-muted:#6e727a;
            --rbs-soft:#fdf9f0;
            --rbs-serif:Georgia,'Iowan Old Style','Palatino Linotype','Book Antiqua',serif;
        }
        .rbs-community-shell{
            position:relative;
            display:flex;
            flex-wrap:wrap;
            align-items:flex-start;
            width:100%;
            max-width:1240px;
            box-sizing:border-box;
            margin:34px auto 70px;
            background:#fff;
            border:1px solid var(--rbs-line);
            border-radius:20px;
            overflow:hidden;
            color:var(--rbs-ink);
            font-family:inherit;
            box-shadow:0 34px 90px rgba(22,20,10,.10),0 4px 18px rgba(22,20,10,.05);
        }
        .rbs-community-shell *{box-sizing:border-box;min-width:0}
        /* Sidebar gets a fixed ideal width but is free to shrink, and -- the
           part that actually matters -- to wrap onto its own row the moment
           it and the 320px-minimum main column no longer both fit the
           available space. That's what the affiliate dashboard already
           does everywhere (.rbs-aff-hero-inner, .rbs-affiliate-dash-tabs
           are display:flex + flex-wrap:wrap) and why it never looks cut
           off: it reflows based on the space it actually has at render
           time, not on a specific viewport-width number. The old
           `display:grid; grid-template-columns:245px minmax(0,1fr)` had no
           such fallback -- a fixed two-column grid never reflows on its
           own, so it only ever looked right if the 900px media query below
           fired to explicitly swap it to a single column. If a viewport
           tag issue (or anything else) ever makes the browser evaluate
           that query differently, grid gave a broken two-column squeeze;
           flex-wrap now just quietly stacks instead, with or without that
           query firing. */
        .rbs-community-sidebar{flex:1 1 245px}
        .rbs-community-main{flex:3 1 320px}
        .rbs-community-shell::before{
            content:'';
            position:absolute;
            top:0;left:0;right:0;
            height:3px;
            background:linear-gradient(90deg,var(--rbs-gold-dark),var(--rbs-gold) 45%,#eecf7c 65%,var(--rbs-gold));
            z-index:2;
        }

        /* ---------- Sidebar ---------- */
        .rbs-community-sidebar{background:var(--rbs-soft);border-right:1px solid var(--rbs-line);padding:26px 18px;min-height:720px}
        .rbs-community-brand-mini{display:flex;align-items:center;gap:11px;padding:5px 8px 24px}
        .rbs-community-brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:linear-gradient(155deg,var(--rbs-black),#26282d);color:var(--rbs-gold);font-size:11px;font-weight:900;letter-spacing:.06em;box-shadow:0 6px 16px rgba(22,20,10,.22)}
        .rbs-community-brand-mini strong{display:block;font-size:15px;font-family:var(--rbs-serif);letter-spacing:.01em}
        .rbs-community-brand-mini small{display:block;color:var(--rbs-muted);font-size:11px;margin-top:2px}
        .rbs-community-new-btn{display:block;background:linear-gradient(155deg,var(--rbs-gold),var(--rbs-gold-dark));color:var(--rbs-black)!important;text-align:center;text-decoration:none!important;border-radius:10px;padding:13px 10px;font-size:13px;font-weight:800;letter-spacing:.01em;margin:0 0 22px;box-shadow:0 8px 20px rgba(169,134,31,.28);transition:transform .15s ease,box-shadow .15s ease}
        .rbs-community-new-btn:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(169,134,31,.34)}
        .rbs-community-nav{border-bottom:1px solid var(--rbs-line);padding-bottom:17px;margin-bottom:19px}
        .rbs-community-nav a,.rbs-community-side-section a{display:flex;align-items:center;gap:10px;padding:10px 10px;border-radius:8px;text-decoration:none!important;color:#565a5f!important;font-size:13px;font-weight:600;transition:background .12s ease,color .12s ease}
        .rbs-community-nav a span{width:18px;text-align:center;color:var(--rbs-gold-dark)}
        .rbs-community-nav a:hover,.rbs-community-side-section a:hover{background:#f0ece0;color:var(--rbs-black)!important}
        .rbs-community-nav a.is-active,.rbs-community-side-section a.is-active{background:var(--rbs-black);color:var(--rbs-gold)!important;box-shadow:0 4px 12px rgba(22,20,10,.18)}
        .rbs-community-nav a.is-active span,.rbs-community-side-section a.is-active span{color:var(--rbs-gold)}
        .rbs-community-side-title{font-size:10px;letter-spacing:.16em;font-weight:900;color:#a99a6f;padding:0 10px 9px}
        .rbs-community-side-section a{font-weight:500}
        .rbs-community-dot{width:7px;height:7px;border-radius:50%;border:1.5px solid var(--rbs-gold-dark)}
        .rbs-community-side-section a.is-active .rbs-community-dot{border-color:var(--rbs-gold);background:var(--rbs-gold)}
        .rbs-community-side-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid var(--rbs-line);margin-top:19px;padding-top:20px}
        .rbs-community-side-stats div{padding:8px}
        .rbs-community-side-stats strong{display:block;font-size:19px;font-family:var(--rbs-serif);color:var(--rbs-black)}
        .rbs-community-side-stats span{font-size:10px;color:var(--rbs-muted);letter-spacing:.03em}

        /* ---------- Main: topbar / hero / topic list ---------- */
        .rbs-community-main{min-width:0;background:#fff}
        .rbs-community-topbar{display:flex;align-items:center;gap:14px;padding:19px 30px;border-bottom:1px solid var(--rbs-line)}
        .rbs-community-search{height:44px;flex:1;max-width:620px;margin:0 auto;display:flex;align-items:center;border:1px solid var(--rbs-line);border-radius:11px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
        .rbs-community-search:focus-within{border-color:var(--rbs-gold);box-shadow:0 0 0 3px rgba(212,175,55,.16)}
        .rbs-community-search span{padding-left:14px;font-size:20px;color:var(--rbs-gold-dark)}
        .rbs-community-search input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0 10px!important;min-width:0;flex:1;height:42px;font-size:13px}
        .rbs-community-search button{border:0;background:var(--rbs-black);color:#fff;padding:9px 15px;height:100%;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s ease}
        .rbs-community-search button:hover{background:#26282d}
        .rbs-community-top-actions a{display:inline-block;text-decoration:none!important;color:var(--rbs-black)!important;font-size:12px;font-weight:800;border:1.5px solid var(--rbs-black);border-radius:9px;padding:9.5px 14px;white-space:nowrap;transition:background .15s ease,color .15s ease}
        .rbs-community-top-actions a:hover{background:var(--rbs-black);color:#fff!important}
        .rbs-community-mobile-brand{display:none}
        .rbs-community-hero{position:relative;display:flex;align-items:end;justify-content:space-between;gap:20px;padding:36px 32px 30px;border-bottom:1px solid var(--rbs-line);background:radial-gradient(120% 160% at 0% 0%,#fffdf6 0%,#fff 55%,#fdfcf8 100%)}
        .rbs-community-kicker{display:block;font-size:9px;letter-spacing:.22em;font-weight:900;color:var(--rbs-gold-dark)}
        .rbs-community-hero h1{font-family:var(--rbs-serif);font-size:36px;line-height:1.08;margin:9px 0 8px;letter-spacing:-.01em;color:var(--rbs-black)}
        .rbs-community-hero p{margin:0;color:var(--rbs-muted);font-size:13px;max-width:480px}
        .rbs-community-hero-btn{background:linear-gradient(155deg,var(--rbs-gold),var(--rbs-gold-dark));color:var(--rbs-black)!important;text-decoration:none!important;border-radius:9px;padding:12px 17px;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 8px 20px rgba(169,134,31,.26);transition:transform .15s ease,box-shadow .15s ease}
        .rbs-community-hero-btn:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(169,134,31,.32)}
        .rbs-community-results-head{display:flex;justify-content:space-between;align-items:center;padding:20px 32px 12px}
        .rbs-community-results-head strong{display:block;font-size:15px;font-family:var(--rbs-serif);color:var(--rbs-black)}
        .rbs-community-results-head span{display:block;color:var(--rbs-muted);font-size:11px;margin-top:3px}
        .rbs-community-results-head>a{font-size:11px;color:var(--rbs-gold-dark)!important;text-decoration:none!important;font-weight:700}
        .rbs-community-topic-list{padding:0 22px 30px}
        .rbs-community-topic-card{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:20px;border:1px solid var(--rbs-line);border-radius:14px;margin:10px 10px;padding:19px 21px;background:#fff;transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
        .rbs-community-topic-card:hover{border-color:#e3cd93;box-shadow:0 14px 34px rgba(22,20,10,.08);transform:translateY(-2px)}
        .rbs-community-topic-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:10px;color:var(--rbs-muted)}
        .rbs-community-category-pill,.rbs-community-solved-pill{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800;letter-spacing:.02em}
        .rbs-community-category-pill{background:var(--rbs-soft);color:#8a744a;border:1px solid #ecdfba}
        .rbs-community-solved-pill{background:#eef7ef;color:#27713a}
        .rbs-community-status-pill{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:800;letter-spacing:.02em}
        .rbs-community-status-pending{background:#fdf3e0;color:#96650d}
        .rbs-community-status-rejected{background:#fbeaea;color:#a13333}
        .rbs-community-topic-card h2{font-family:var(--rbs-serif);font-size:19px;line-height:1.32;margin:10px 0 6px;letter-spacing:-.005em}
        .rbs-community-topic-card h2 a{color:var(--rbs-black)!important;text-decoration:none!important}
        .rbs-community-topic-card h2 a:hover{color:var(--rbs-gold-dark)!important}
        .rbs-community-topic-card p{margin:0;color:#7a7d82;font-size:12px;line-height:1.65}
        .rbs-community-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}
        .rbs-community-tag{font-size:10px;color:#8a744a;background:var(--rbs-soft);border:1px solid #ecdfba;border-radius:20px;padding:4px 9px}
        .rbs-community-topic-author{display:flex;align-items:center;gap:8px;margin-top:15px;color:var(--rbs-muted);font-size:10px}
        .rbs-community-avatar-img{width:34px;height:34px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--rbs-line)}
        .rbs-community-avatar{flex:0 0 auto}
        .rbs-community-avatar-anon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--rbs-soft);color:var(--rbs-gold-dark);font-weight:900;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--rbs-line)}
        .rbs-community-author-name a,.rbs-community-author-name{font-weight:700;color:var(--rbs-ink)!important;text-decoration:none!important}
        .rbs-community-author-name a:hover{color:var(--rbs-gold-dark)!important}
        .rbs-community-role{display:inline-block;margin-left:5px;padding:3px 7px;border-radius:12px;background:var(--rbs-soft);color:#8a744a;font-size:9px;font-weight:800;border:1px solid #ecdfba}
        .rbs-community-verified{display:inline-block;margin-left:4px;color:#27713a;font-size:9px;font-weight:800}
        .rbs-community-topic-stats{align-self:center;display:flex;flex-direction:column;gap:10px;text-align:center;border-left:1px solid var(--rbs-line);padding-left:16px}
        .rbs-community-topic-counts{display:flex;flex-direction:column;gap:2px}
        .rbs-community-topic-counts strong{font-family:var(--rbs-serif);color:var(--rbs-black);font-size:15px}
        .rbs-community-topic-counts span{font-size:10px;color:var(--rbs-muted)}
        .rbs-community-reactions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
        .rbs-community-reactions-card{justify-content:center}
        .rbs-community-react-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--rbs-line);background:#fff;border-radius:20px;padding:6px 11px;font-size:11px;font-weight:700;color:var(--rbs-muted)!important;text-decoration:none!important;cursor:pointer;transition:border-color .12s ease,color .12s ease,background .12s ease}
        .rbs-community-react-btn:hover{border-color:var(--rbs-gold);color:var(--rbs-black)!important}
        .rbs-community-react-btn .rbs-community-react-icon{font-size:12px;line-height:1}
        .rbs-community-like-btn.is-active{background:#fdeceb;border-color:#f3c3bd;color:#c0392b!important}
        .rbs-community-like-btn.is-active .rbs-community-react-icon{color:#c0392b}
        .rbs-community-favorite-btn.is-active{background:#fdf7e3;border-color:var(--rbs-gold);color:var(--rbs-gold-dark)!important}
        .rbs-community-favorite-btn.is-active .rbs-community-react-icon{color:var(--rbs-gold-dark)}
        .rbs-community-like-btn-sm{padding:4px 9px;font-size:10px}
        .rbs-community-empty-state{text-align:center;border:1px dashed #e3d9bd;border-radius:16px;margin:12px 10px;padding:58px 20px;background:var(--rbs-soft)}
        .rbs-community-empty-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fff;margin:0 auto 14px;font-weight:900;color:var(--rbs-gold-dark);box-shadow:0 4px 14px rgba(22,20,10,.08)}
        .rbs-community-empty-state h2{font-family:var(--rbs-serif);font-size:19px;margin:0 0 5px;color:var(--rbs-black)}
        .rbs-community-empty-state p{font-size:12px;color:var(--rbs-muted);margin:0 0 16px}
        .rbs-community-empty-state a{font-size:12px;font-weight:800;color:var(--rbs-gold-dark)!important;text-decoration:none!important}
        .rbs-community-alert{margin:0 32px 16px;border-radius:10px;padding:12px 14px;font-size:12px;border:1px solid transparent}
        .rbs-community-alert.is-success{background:#eef7ef;color:#286d38;border-color:#d6ecd9}
        .rbs-community-alert.is-error{background:#fff3f0;color:#a33b2b;border-color:#f6ddd6}

        /* ---------- Topic view ---------- */
        .rbs-community-topic-view{padding:26px 32px 48px;max-width:900px}
        .rbs-community-breadcrumb{display:flex;gap:8px;align-items:center;font-size:10px;color:#a9a29a;margin-bottom:22px;letter-spacing:.02em}
        .rbs-community-breadcrumb a{color:var(--rbs-gold-dark)!important;text-decoration:none!important}
        .rbs-community-question-panel{border:1px solid var(--rbs-line);border-radius:16px;padding:28px;background:#fff;box-shadow:0 4px 20px rgba(22,20,10,.04)}
        .rbs-community-question-panel h1{font-family:var(--rbs-serif);font-size:32px;line-height:1.2;letter-spacing:-.01em;margin:12px 0 9px;color:var(--rbs-black)}
        .rbs-community-question-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:26px;margin-top:23px;padding-top:21px;border-top:1px solid var(--rbs-line)}
        .rbs-community-question-author{display:flex;align-items:flex-start;gap:11px}
        .rbs-community-question-author img{border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--rbs-gold)}
        .rbs-community-question-author strong{font-size:12px}
        .rbs-community-question-author small,.rbs-community-reply-author small{display:block;color:var(--rbs-muted);font-size:10px;margin-top:4px}
        .rbs-community-question-content{font-size:13.5px;line-height:1.85;color:var(--rbs-ink)}
        .rbs-community-question-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:15px;padding-top:13px;border-top:1px solid var(--rbs-line)}
        .rbs-community-question-footer-links{display:flex;align-items:center;gap:14px}
        .rbs-community-copy-link{background:transparent;border:0;color:var(--rbs-muted)!important;font-size:11px;font-weight:700;text-decoration:none!important;cursor:pointer;padding:3px;transition:color .12s ease}
        .rbs-community-copy-link:hover{color:var(--rbs-gold-dark)!important}
        .rbs-community-copy-link.is-copied{color:#27713a!important}
        .rbs-community-replies-head{display:flex;align-items:end;justify-content:space-between;padding:30px 3px 13px}
        .rbs-community-replies-head h2{font-family:var(--rbs-serif);font-size:21px;margin:6px 0 0;color:var(--rbs-black)}
        .rbs-community-solved-note{font-size:11px;color:#27713a;font-weight:800}
        .rbs-community-thread{position:relative}
        .rbs-community-reply-card{border:1px solid var(--rbs-line);border-radius:14px;background:#fff;padding:20px;margin:11px 0;transition:box-shadow .15s ease}
        .rbs-community-reply-card.is-solution{border-color:#cfe6d3;background:linear-gradient(180deg,#fbfffc,#fff);box-shadow:0 8px 26px rgba(39,113,58,.08)}
        .rbs-community-solution-banner{display:inline-block;background:#eaf6ec;color:#27713a;border-radius:20px;padding:5px 10px;font-size:10px;font-weight:900;letter-spacing:.02em;margin-bottom:15px}
        .rbs-community-reply-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:26px}
        .rbs-community-reply-author{display:flex;gap:10px;align-items:flex-start}
        .rbs-community-reply-author img{border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--rbs-line)}
        .rbs-community-reply-card.is-solution .rbs-community-reply-author img{box-shadow:0 0 0 2px #fff,0 0 0 3px #6fb87d}
        .rbs-community-reply-author strong{font-size:12px}
        .rbs-community-reply-content{font-size:13.5px;line-height:1.85;color:var(--rbs-ink)}
        .rbs-community-reply-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:14px;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid var(--rbs-line)}
        .rbs-community-reply-actions>a{color:var(--rbs-muted)!important;font-size:10px;text-decoration:none!important}
        .rbs-community-reply-actions form{margin:0}
        .rbs-community-reply-actions>form button,.rbs-community-reply-toggle{border:0;background:transparent;color:var(--rbs-gold-dark);font-size:10px;font-weight:800;cursor:pointer;padding:3px;letter-spacing:.01em}
        .rbs-community-reply-actions>form button:hover,.rbs-community-reply-toggle:hover{color:var(--rbs-black)}
        .rbs-community-inline-reply-form{display:none;margin-top:14px;padding-top:14px;border-top:1px dashed var(--rbs-line)}
        .rbs-community-inline-reply-form.is-open{display:block}
        .rbs-community-inline-reply-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--rbs-line);border-radius:10px;padding:11px;background:#fff;font:inherit;font-size:12.5px;resize:vertical;min-height:70px}
        .rbs-community-inline-reply-form textarea:focus{outline:none;border-color:var(--rbs-gold);box-shadow:0 0 0 3px rgba(212,175,55,.16)}
        .rbs-community-inline-reply-form .rbs-community-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:9px}
        .rbs-community-inline-reply-form .rbs-community-form-actions button[type=submit]{background:linear-gradient(155deg,var(--rbs-gold),var(--rbs-gold-dark));color:var(--rbs-black);border:0;border-radius:8px;padding:8px 14px;font-size:11px;font-weight:800;cursor:pointer}
        .rbs-community-cancel-inline{border:0;background:transparent;color:var(--rbs-muted);font-size:11px;font-weight:700;cursor:pointer;padding:8px 4px}
        .rbs-community-cancel-inline:hover{color:var(--rbs-black)}
        .rbs-community-reply-children{margin:0 0 11px 44px;padding-left:22px;border-left:2px solid var(--rbs-line)}
        .rbs-community-reply-card-child{margin:9px 0;padding:16px;background:var(--rbs-soft)}
        .rbs-community-reply-card-child .rbs-community-reply-grid{grid-template-columns:150px minmax(0,1fr);gap:18px}
        .rbs-community-reply-box{border:1px solid var(--rbs-line);border-radius:16px;margin-top:22px;padding:20px;background:var(--rbs-soft)}
        .rbs-community-reply-box-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}
        .rbs-community-reply-box-head img{border-radius:50%}
        .rbs-community-reply-box-head strong{display:block;font-size:13px}
        .rbs-community-reply-box-head span{display:block;color:var(--rbs-muted);font-size:10px;margin-top:2px}
        .rbs-community-reply-box textarea{width:100%;box-sizing:border-box;border:1px solid var(--rbs-line);border-radius:10px;padding:13px;background:#fff;resize:vertical;min-height:120px;transition:border-color .15s ease,box-shadow .15s ease}
        .rbs-community-reply-box textarea:focus{outline:none;border-color:var(--rbs-gold);box-shadow:0 0 0 3px rgba(212,175,55,.16)}
        .rbs-community-form-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px}
        .rbs-community-form-actions span{font-size:10px;color:var(--rbs-muted)}
        .rbs-community-form-actions a{font-size:11px;color:var(--rbs-muted)!important;text-decoration:none!important}
        .rbs-community-form-actions button{border:0;border-radius:9px;background:linear-gradient(155deg,var(--rbs-gold),var(--rbs-gold-dark));color:var(--rbs-black);padding:11px 16px;font-size:11px;font-weight:800;letter-spacing:.01em;cursor:pointer;box-shadow:0 6px 16px rgba(169,134,31,.24);transition:transform .15s ease,box-shadow .15s ease}
        .rbs-community-form-actions button:hover{transform:translateY(-1px);box-shadow:0 9px 20px rgba(169,134,31,.3)}
        .rbs-community-login-card{display:flex;align-items:center;gap:10px;border:1px solid var(--rbs-line);border-radius:13px;padding:17px;margin-top:22px;background:var(--rbs-soft)}
        .rbs-community-login-card strong{font-size:12px;color:var(--rbs-black)}
        .rbs-community-login-card span{font-size:11px;color:var(--rbs-muted);flex:1}
        .rbs-community-login-card a{font-size:11px;font-weight:800;color:var(--rbs-gold-dark)!important;text-decoration:none!important}
        .rbs-community-empty-thread{text-align:center;padding:38px;border:1px dashed #e3d9bd;border-radius:14px;color:var(--rbs-muted);font-size:12px;background:var(--rbs-soft)}
        .rbs-community-not-found{padding:74px 32px;text-align:center}
        .rbs-community-not-found h1{font-family:var(--rbs-serif);font-size:29px;color:var(--rbs-black)}
        .rbs-community-not-found p{color:var(--rbs-muted);font-size:13px}
        .rbs-community-not-found a{font-size:12px;font-weight:800;color:var(--rbs-gold-dark)!important;text-decoration:none!important}

        /* ---------- New Topic modal ---------- */
        .rbs-community-modal{display:none;position:fixed;top:130px;left:0;right:0;bottom:0;z-index:2147483000;align-items:flex-start;justify-content:center;padding:20px;overflow:auto}
        .rbs-community-modal:target,.rbs-community-modal.is-open{display:flex}
        .rbs-community-modal-backdrop{position:absolute;inset:0;background:rgba(12,11,6,.74);backdrop-filter:blur(2px)}
        .rbs-community-modal-card{position:relative;width:min(650px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.32);padding:28px;border-top:3px solid var(--rbs-gold)}
        .rbs-community-modal-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:20px}
        .rbs-community-modal-head h2{font-family:var(--rbs-serif);font-size:26px;margin:6px 0 0;letter-spacing:-.005em;color:var(--rbs-black)}
        .rbs-community-close{font-size:27px;line-height:1;text-decoration:none!important;color:var(--rbs-muted)!important}
        .rbs-community-close:hover{color:var(--rbs-black)!important}
        .rbs-community-form{display:grid;gap:8px}
        .rbs-community-form label{font-size:11px;font-weight:800;margin-top:7px;letter-spacing:.01em;color:var(--rbs-black)}
        .rbs-community-form label span{color:var(--rbs-muted);font-weight:500;margin-left:4px}
        .rbs-community-form input[type=text],.rbs-community-form select,.rbs-community-form textarea{width:100%;box-sizing:border-box;border:1px solid var(--rbs-line);border-radius:9px;padding:12px;background:#fff;font:inherit;font-size:12px;transition:border-color .15s ease,box-shadow .15s ease}
        .rbs-community-form input[type=text]:focus,.rbs-community-form select:focus,.rbs-community-form textarea:focus{outline:none;border-color:var(--rbs-gold);box-shadow:0 0 0 3px rgba(212,175,55,.16)}
        .rbs-community-form textarea{resize:vertical}
        .rbs-community-field-help{margin:-2px 0 2px;color:var(--rbs-muted);font-size:10px}
        .rbs-community-field-help.is-over-limit{color:#c0392b;font-weight:700}
        .rbs-community-check{display:flex!important;align-items:center;gap:7px!important;font-weight:600!important;margin-top:6px!important}
        .rbs-community-check input{margin:0;accent-color:var(--rbs-gold-dark)}
        .rbs-community-modal .rbs-community-form-actions{margin-top:9px}
        .rbs-community-modal .rbs-community-form-actions button{background:linear-gradient(155deg,var(--rbs-gold),var(--rbs-gold-dark));color:var(--rbs-black);border:0;border-radius:9px;padding:12px 17px;font-size:11px;font-weight:800;cursor:pointer;box-shadow:0 6px 16px rgba(169,134,31,.24)}
        .rbs-community-avatar-link{display:inline-flex;line-height:0;text-decoration:none!important}
        .rbs-community-avatar-link .rbs-community-avatar-img{display:block}
        .rbs-community-mobile-head{display:none}

        @media (max-width:900px){
            /* Full-bleed on phones, matching the affiliate dashboard: that
               page's wrapper (.rbs-affiliate-dashboard-wrap) never sets a
               margin or max-width of its own, so it simply fills whatever
               width the theme's content column gives it. This shell used
               to keep its desktop "card floating with room on both sides"
               treatment (margin + border + rounded corners) all the way
               down to phone width, which is what read as off-center/
               "squeezed into a small block" -- there's no content reason
               for side margins once the sidebar and main column are
               already stacked full-width above/below each other. */
            .rbs-community-shell{margin:0;border-left:0;border-right:0;border-radius:0;box-shadow:none}
            .rbs-community-sidebar{min-height:0;border-right:0;border-bottom:1px solid var(--rbs-line);padding:10px 14px}
            .rbs-community-brand-mini{display:none}
            .rbs-community-new-btn{margin:0 0 9px;padding:11px 10px;font-size:12px}
            /* Collapsed to one non-wrapping, low-profile row: text links with
               a middot separator instead of full pill buttons, so all 4 fit
               on a single line the way a primary nav should on a phone. If
               a very narrow device still can't fit all 4, the row scrolls
               horizontally instead of wrapping to a second line. */
            .rbs-community-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:0;border:0;padding:0 0 9px;margin:0 0 9px;border-bottom:1px solid var(--rbs-line);-webkit-overflow-scrolling:touch;scrollbar-width:none}
            .rbs-community-nav::-webkit-scrollbar{display:none}
            .rbs-community-nav a{white-space:nowrap;flex-shrink:0;background:transparent!important;box-shadow:none!important;color:#565a5f!important;font-size:12px;font-weight:700;padding:4px 0;border-radius:0}
            .rbs-community-nav a span{display:none}
            .rbs-community-nav a:not(:last-child)::after{content:'·';display:inline-block;margin-left:10px;color:#c9c2b0;font-weight:400}
            .rbs-community-nav a.is-active{background:transparent!important;color:var(--rbs-black)!important;text-decoration:underline!important;text-underline-offset:4px;text-decoration-color:var(--rbs-gold-dark)!important}
            /* Categories collapse into the same single-row, horizontally
               scrollable treatment instead of a two-line wrapped grid of
               large chips -- same space, far less height. */
            .rbs-community-side-section{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;border-top:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;scrollbar-width:none}
            .rbs-community-side-section::-webkit-scrollbar{display:none}
            .rbs-community-side-title,.rbs-community-side-stats{display:none}
            .rbs-community-side-section a{white-space:nowrap;flex-shrink:0;gap:6px;padding:6px 11px;font-size:11px;background:var(--rbs-soft);border:1px solid var(--rbs-line);border-radius:20px}
            .rbs-community-topbar{padding:13px 15px}
            .rbs-community-search{order:2}
            .rbs-community-top-actions{display:none}
            .rbs-community-mobile-brand{display:block;order:1;white-space:nowrap}
            .rbs-community-mobile-brand span{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:7px;background:var(--rbs-black);color:var(--rbs-gold);font-size:8px;font-weight:900;margin-right:5px}
            .rbs-community-mobile-brand strong{font-size:11px;font-family:var(--rbs-serif)}
            .rbs-community-search button{display:none}
            /* Hero: previously still rendered at near-desktop scale on
               phones (36px heading, 24px vertical padding), which combined
               with the nav/category block above it to push "Latest
               discussions" off the first screen. !important guards these
               against a parent theme's own h1 rules winning on specificity. */
            .rbs-community-hero{padding:14px 16px!important;align-items:flex-start}
            .rbs-community-hero .rbs-community-kicker{font-size:8px!important}
            .rbs-community-hero h1{font-size:21px!important;line-height:1.2!important;margin:5px 0 3px!important}
            .rbs-community-hero p{font-size:11.5px!important;line-height:1.4!important}
            .rbs-community-hero-btn{display:none}
            .rbs-community-results-head{padding:14px 18px 8px}
            .rbs-community-topic-list{padding:0 8px 20px}
            /* Empty state: was rendering as a landing-page section (58px
               padding, unconstrained heading size letting long titles like
               "No discussions yet" break word-per-line). Tightened and
               !important-guarded for the same reason as the hero above. */
            .rbs-community-empty-state{padding:26px 16px!important;margin:8px 4px!important}
            .rbs-community-empty-icon{width:32px!important;height:32px!important;font-size:13px!important;margin:0 auto 10px!important}
            .rbs-community-empty-state h2{font-size:15px!important;line-height:1.3!important;margin:0 0 4px!important}
            .rbs-community-empty-state p{font-size:11.5px!important;line-height:1.4!important;margin:0 0 12px!important}
            .rbs-community-empty-state a{font-size:11.5px!important}
            .rbs-community-topic-card{grid-template-columns:1fr;margin:8px 4px;padding:16px}
            .rbs-community-topic-stats{border-left:0;border-top:1px solid var(--rbs-line);padding:10px 0 0;text-align:left;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center}
            .rbs-community-topic-counts{flex-direction:row;gap:12px}
            .rbs-community-topic-counts strong,.rbs-community-topic-counts span{display:inline}
            .rbs-community-topic-counts strong{margin-right:4px}
            .rbs-community-reply-children{margin-left:18px;padding-left:14px}
            .rbs-community-alert{margin:0 18px 12px}
            .rbs-community-topic-view{padding:18px 16px 30px}
            .rbs-community-question-panel{padding:19px}
            .rbs-community-question-panel h1{font-size:26px}
            .rbs-community-question-layout,.rbs-community-reply-grid{grid-template-columns:1fr;gap:14px}
            .rbs-community-question-author{border-bottom:1px solid var(--rbs-line);padding-bottom:14px}
            .rbs-community-reply-card{padding:16px}
            .rbs-community-replies-head{align-items:flex-start;gap:10px;flex-direction:column}
            .rbs-community-mobile-head{display:block;padding:12px 15px;border-bottom:1px solid var(--rbs-line)}
            .rbs-community-mobile-head a{font-size:11px;color:#565a5f!important;text-decoration:none!important}
        }
        @media (max-width:560px){
            .rbs-community-search input{font-size:11px}
            .rbs-community-hero p{font-size:12px}
            .rbs-community-modal{padding:8px 8px 8px;top:100px}
            .rbs-community-modal-card{max-height:calc(100vh - 116px);padding:20px}
            .rbs-community-form-actions{align-items:flex-end}
            .rbs-community-reply-box .rbs-community-form-actions{flex-direction:column;align-items:stretch}
            .rbs-community-reply-box .rbs-community-form-actions button{width:100%}
        }
        
