/* Shared header and sidebars for RAGHBA public standalone pages. */
body.rb-shared-standalone{background:radial-gradient(ellipse 900px 450px at 50% -20px,#4d1e3f66,transparent),#190b20!important;color:#fff0f7}
body.rb-shared-standalone .top{position:sticky!important;top:0;z-index:80;background:#230e25f7!important;border-bottom:1px solid #824168!important}
body.rb-shared-standalone .top .top-inner{max-width:1600px!important;width:calc(100% - 32px);min-height:76px;display:flex!important;align-items:center;justify-content:space-between;gap:15px!important;padding:6px 15px!important;margin:0 auto!important}
body.rb-shared-standalone .top .brand{flex:0 0 auto!important}
body.rb-shared-standalone .top .desktop-nav{display:flex!important;flex:1 1 auto!important;min-width:0;gap:2px!important;justify-content:center;align-items:center}
body.rb-shared-standalone .top .desktop-nav>button{font-size:13px!important;padding:10px 7px!important;white-space:nowrap}
body.rb-shared-standalone .top .head-actions{display:flex!important;flex:0 0 auto!important;align-items:center;gap:8px!important;min-width:0}
body.rb-shared-standalone .top .rb-global-search{max-width:185px!important;width:185px!important;min-width:120px!important}
body.rb-shared-standalone .rb-shared-page-layout{max-width:1600px;width:calc(100% - 28px);margin:0 auto;padding:13px 11px 60px;display:grid;grid-template-columns:265px minmax(0,1fr) 320px;align-items:start;gap:18px;direction:rtl}
body.rb-shared-standalone .rb-shared-page-layout>.side{grid-column:1;position:sticky;top:88px;width:auto!important;max-width:100%;max-height:calc(100vh - 103px);overflow:auto;min-width:0;scrollbar-width:thin}
body.rb-shared-standalone .rb-shared-page-layout>.rb-shared-page-main{grid-column:2;min-width:0;display:flex;flex-direction:column;gap:15px}
body.rb-shared-standalone .rb-shared-page-layout>.right{grid-column:3;position:sticky;top:88px;min-width:0;width:auto!important;display:flex;flex-direction:column;gap:12px}
body.rb-shared-standalone .rb-shared-page-main .article-breadcrumb{max-width:100%!important;margin:0 0 4px!important;color:#edbad5;font-size:12px}
body.rb-shared-standalone .rb-shared-page-main .article-paper{max-width:100%!important;min-width:0;margin:0!important;background:linear-gradient(135deg,#451d3c,#2d152f)!important;border:1px solid #96517e!important;border-radius:18px!important;padding:clamp(18px,2vw,28px)!important;box-shadow:0 12px 32px #11061540}
body.rb-shared-standalone .rb-shared-page-main .article-paper h1{font-size:clamp(24px,2vw,33px)!important;line-height:1.5}
body.rb-shared-standalone .rb-shared-page-main .article-after{max-width:100%!important;margin:0!important;background:#48203e!important;border:1px solid #865174!important;border-radius:16px!important}
body.rb-shared-standalone .rb-shared-page-main .library-tile{border-color:#92537b!important;background:linear-gradient(140deg,#482240,#311631)!important}
body.rb-shared-standalone .rb-shared-page-main .pp-container{max-width:100%!important;width:100%!important;padding:0!important;margin:0!important}
body.rb-shared-standalone .rb-shared-page-main .pp-profile,body.rb-shared-standalone .rb-shared-page-main .pp-panel{border-color:#a35382!important;border-radius:18px!important;box-shadow:0 10px 35px #0f06123b!important;background:linear-gradient(145deg,#431b3d,#2d152e)!important}
body.rb-shared-standalone .rb-shared-page-main .pp-posts{min-width:0!important}
body.rb-shared-standalone .rb-shared-page-main .pp-cover{max-height:245px!important}
body.rb-shared-standalone .rb-shared-page-main .pp-footer{max-width:100%!important}
body.rb-shared-standalone .rb-shared-page-layout>.right .rb-online-members{display:flex!important}
body.rb-shared-standalone [hidden],body.rb-shared-standalone .hidden{display:none!important}
@media(min-width:1101px) and (max-width:1400px){body.rb-shared-standalone .rb-shared-page-layout{grid-template-columns:210px minmax(0,1fr) 225px!important;gap:12px!important}body.rb-shared-standalone .top .top-inner{gap:6px!important;padding:6px 8px!important}body.rb-shared-standalone .top .desktop-nav>button{font-size:12px!important;padding:8px 5px!important}body.rb-shared-standalone .top .rb-global-search{width:132px!important}}
@media(max-width:1100px){body.rb-shared-standalone .rb-shared-page-layout{grid-template-columns:210px minmax(0,1fr)!important}body.rb-shared-standalone .rb-shared-page-layout>.right{display:none!important}body.rb-shared-standalone .top .desktop-nav{overflow:hidden!important}}
@media(max-width:820px){body.rb-shared-standalone .rb-shared-page-layout{display:block!important;width:100%!important;padding:13px 11px 45px!important}body.rb-shared-standalone .rb-shared-page-layout>.side,body.rb-shared-standalone .rb-shared-page-layout>.right{display:none!important}body.rb-shared-standalone .rb-shared-page-layout>.rb-shared-page-main{display:flex!important;width:100%!important}body.rb-shared-standalone .top .top-inner{width:100%!important;min-height:60px!important;padding:6px 10px!important;gap:8px!important}body.rb-shared-standalone .top .desktop-nav{display:none!important}body.rb-shared-standalone .top form.rb-global-search{display:none!important}body.rb-shared-standalone .top .head-actions{margin-right:auto!important}body.rb-shared-standalone .rb-shared-page-main .article-paper{padding:17px!important}body.rb-shared-standalone .rb-shared-page-main .pp-cover{max-height:170px!important}}

/* Match the actual SPA homepage columns, not an approximate separate desktop layout. */
@media(min-width:1401px){body.rb-shared-standalone .rb-shared-page-layout{max-width:1700px!important;width:100%!important;grid-template-columns:266px minmax(0,1fr) 275px!important;gap:18px!important;padding:13px 22px 55px!important}body.rb-shared-standalone .top .top-inner{max-width:1700px!important;width:100%!important}}

/* Screenshot parity, 2026-11-05: shared homepage header, side rails and post author without overlaps. */
body.rb-shared-standalone header.top .rb-write-cta.hidden,body.rb-shared-standalone header.top .logged.hidden{display:none!important}
body.rb-shared-standalone header.top #authBtn.hidden{display:none!important}
body.rb-shared-standalone header.top #authBtn{display:inline-flex!important;align-items:center!important;gap:7px!important;border-radius:20px!important;white-space:nowrap!important;max-width:185px!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.rb-shared-standalone header.top .rb-standalone-header-avatar{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;border:1px solid #f38abb;background:#642148;color:#fff;overflow:hidden}
body.rb-shared-standalone header.top .rb-standalone-header-avatar img{display:block;width:100%;height:100%;object-fit:cover}
body.rb-shared-standalone .article-paper .article-byline{position:static!important;top:auto!important;right:auto!important;width:100%!important;max-width:100%!important;min-height:42px!important;height:auto!important;margin:0 0 12px!important;padding:5px 0!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;border:0!important;z-index:auto!important}
body.rb-shared-standalone .article-paper .article-label{min-height:31px!important;display:flex!important;align-items:center!important;gap:8px!important;padding:0 0 2px!important}
body.rb-shared-standalone .article-paper .article-label .tag,body.rb-shared-standalone .article-paper .article-label .adult-label{flex:0 0 auto!important}
body.rb-shared-standalone .article-paper h1{clear:both!important;margin:11px 0 5px!important}
/* Side widgets inherit homepage sizing; prevent page-only rules reshaping genuine statistics. */
@media(min-width:1401px){
 body.rb-shared-standalone .rb-shared-page-layout>.right .rb-community-stats{padding:13px 18px 9px!important;min-height:222px!important;height:222px!important;max-height:222px!important}
 body.rb-shared-standalone .rb-shared-page-layout>.right .rb-stat-row{min-height:52px!important;padding:4px 1px!important;gap:12px!important}
 body.rb-shared-standalone .rb-shared-page-layout>.right .rb-stat-row strong{font-size:19px!important}
 body.rb-shared-standalone .rb-shared-page-layout>.right .rb-community-stats h3{font-size:15px!important;padding-bottom:10px!important;margin-bottom:2px!important}
 body.rb-shared-standalone .rb-shared-page-layout>.right .rb-online-members{height:auto!important;min-height:154px!important;max-height:none!important}
}
@media(max-width:820px){body.rb-shared-standalone header.top .rb-standalone-header-avatar{flex-basis:23px;width:23px;height:23px}}

/* Natural-length sidebars: the content must never be clipped in a scrollable pane. */
@media(min-width:821px){body.rb-shared-standalone .rb-shared-page-layout{align-items:start!important}body.rb-shared-standalone .rb-shared-page-layout>.side{position:relative!important;top:auto!important;max-height:none!important;height:auto!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;scrollbar-width:auto!important}body.rb-shared-standalone .rb-shared-page-layout>.right{position:relative!important;top:auto!important;max-height:none!important;height:auto!important;overflow:visible!important}body.rb-shared-standalone .rb-shared-page-layout>.side .rb-side-heading{min-height:73px!important;margin:0 -6px 9px!important;padding:14px 15px!important;gap:12px!important}body.rb-shared-standalone .rb-shared-page-layout>.side>button[data-nav],body.rb-shared-standalone .rb-shared-page-layout>.side .rb-content-navigation>button[data-nav]{min-height:46px!important;margin:1px 5px!important;padding:9px 13px!important;gap:12px!important;font-size:15px!important}body.rb-shared-standalone .rb-shared-page-layout>.side button[data-nav] svg{flex-basis:23px!important;width:23px!important;height:23px!important}body.rb-shared-standalone .rb-shared-page-layout>.side button[data-nav] span{font-size:15px!important}}
@media(min-width:821px) and (max-width:1420px){body.rb-shared-standalone .rb-shared-page-layout>.side>button[data-nav],body.rb-shared-standalone .rb-shared-page-layout>.side .rb-content-navigation>button[data-nav]{font-size:13px!important;gap:8px!important;padding:8px 10px!important;min-height:43px!important}body.rb-shared-standalone .rb-shared-page-layout>.side button[data-nav] span{font-size:13px!important}body.rb-shared-standalone .rb-shared-page-layout>.side button[data-nav] svg{flex-basis:20px!important;width:20px!important;height:20px!important}}
