/* RAGHBA reference production: unchanged base rules, one deterministic file */

/* style.css */
:root{--bg:#110f15;--panel:#211822;--panel2:#2c202d;--ink:#f8f0f4;--muted:#b9a8b5;--border:#473544;--accent:#ef6f9e;--accent2:#ab315e;--gold:#e4ae81;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% 0%,#281422 0%,transparent 34%),var(--bg);color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.75}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button{background:none;color:inherit;border:0}button:hover,a:hover{color:#ffabc7}.hidden{display:none!important}.top{position:sticky;top:0;background:#160f17ed;backdrop-filter:blur(14px);z-index:15;border-bottom:1px solid var(--border)}.top-inner{max-width:1440px;margin:auto;padding:12px 22px;display:flex;align-items:center;gap:34px;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:27px;line-height:1.1}.brand small{display:block;font-size:10px;letter-spacing:3px;color:var(--gold);font-weight:600;margin-top:5px}.brand-icon,.logo-symbol{background:linear-gradient(140deg,#fc9fc0,#a92959);color:white;display:grid;place-items:center;border-radius:14px;font-weight:900;width:46px;height:46px;box-shadow:0 5px 26px #d63f7155}.desktop-nav{display:flex;gap:8px;align-items:center}.desktop-nav button{white-space:nowrap;padding:8px}.head-actions{display:flex;align-items:center;gap:10px}.primary{background:linear-gradient(120deg,#df4d80,#a72b58);color:white;border:1px solid #ee749d;border-radius:12px;padding:10px 19px;font-weight:700}.primary:hover{filter:brightness(1.13);color:white}.outline,.secondary{border:1px solid #765167;border-radius:12px;padding:9px 16px;background:#291c2b}.outline:hover,.secondary:hover{border-color:var(--accent)}.wide{width:100%}.icon-btn{font-size:26px;line-height:1;padding:6px}.shell{max-width:1440px;padding:26px 22px 100px;margin:auto;display:grid;grid-template-columns:210px minmax(0,1fr) 262px;gap:25px;align-items:start}.side{position:sticky;top:99px;display:flex;flex-direction:column;gap:4px}.side-label{font-size:11px;color:#af819a;padding:12px 16px 7px;font-weight:700;letter-spacing:.5px}.side button{text-align:right;padding:9px 14px;border-radius:11px;display:flex;gap:12px;align-items:center;color:#d7c4d1;font-size:14px}.side button:first-letter{font-size:20px}.side button:hover,.side button.active{background:#402539;color:white}.right{position:sticky;top:99px}.info-card,.card,.hero,.form-card,.empty,.legal{border:1px solid var(--border);border-radius:var(--radius);background:linear-gradient(135deg,#291c29,#1a161e)}.info-card{padding:23px;margin-bottom:17px}.info-card h3{font-size:20px;margin:13px 0 8px}.info-card p{color:var(--muted);line-height:1.9}.compact h3{font-size:16px}.eyebrow{font-size:12px;color:#f8a3c0}.small-links{display:flex;gap:9px;color:var(--muted);font-size:11px;justify-content:center}.main{min-width:0}.hero{background:radial-gradient(circle at 0% 0%,#813954 0%,transparent 52%),linear-gradient(130deg,#3b2034,#211822 70%);padding:37px 34px;margin-bottom:23px;overflow:hidden;position:relative}.hero:after{content:"✧";position:absolute;left:22px;top:-63px;font-size:250px;color:#ffffff0a;pointer-events:none}.hero .badge{display:inline-block;background:#ffb6d029;color:#ffbad1;border:1px solid #ffb6d04c;border-radius:30px;padding:4px 12px;font-size:11px}.hero h1{font-size:clamp(29px,4vw,46px);margin:13px 0;line-height:1.4}.hero p{font-size:16px;color:#e3cbd6;max-width:490px;margin-bottom:24px}.hero .actions{display:flex;gap:12px;flex-wrap:wrap}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0}.section-head h2{font-size:21px;margin:0}.section-head p{color:var(--muted);margin:2px 0}.chips{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0 23px}.chip{border:1px solid #67455b;padding:8px 13px;border-radius:30px;background:#2d1e2b;font-size:12px}.chip:hover,.chip.selected{background:#743650;border-color:#d66c92;color:white}.card{padding:21px 23px;margin-bottom:14px;transition:border-color .2s}.card:hover{border-color:#a76b86}.card-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:var(--muted);font-size:12px}.avatar{background:linear-gradient(145deg,#a7476d,#503044);width:35px;height:35px;border-radius:50%;display:inline-grid;place-items:center;color:white;font-weight:bold}.tag{background:#523045;color:#f6b9cf;border:1px solid #77425d;border-radius:20px;padding:2px 9px;font-size:11px}.card h3{font-size:20px;margin:13px 0 9px;cursor:pointer;line-height:1.5}.card p{color:#d7c6d0;white-space:pre-line;overflow-wrap:anywhere}.card-actions{border-top:1px solid #453242;margin-top:17px;padding-top:12px;display:flex;gap:20px;align-items:center;flex-wrap:wrap}.card-actions button{color:#cbb9c5}.card-actions button:hover,.card-actions .active{color:#ff89b4}.spacer{flex:1}.muted{color:var(--muted)}.empty,.legal,.form-card{padding:26px;margin-bottom:18px}.empty{text-align:center;padding:50px 25px;color:var(--muted)}.empty h3{color:white}.field{display:flex;flex-direction:column;gap:6px;margin:15px 0}.field label{color:#e8cad9;font-size:12px;font-weight:bold}.field input,.field select,.field textarea,.search-input{background:#130f17;border:1px solid #655064;border-radius:12px;color:white;padding:12px;width:100%;outline:0}.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus{border-color:var(--accent)}.field textarea{resize:vertical;min-height:120px}.search-input{margin-bottom:14px}.counter{color:var(--muted);font-size:11px}.form-card h2{margin:0 0 7px}.form-card p{color:var(--muted)}.flex{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.split{display:grid;grid-template-columns:1fr 1fr;gap:13px}.overlay{position:fixed;inset:0;z-index:100;background:#08060be8;display:grid;place-items:center;padding:16px;overflow:auto}.modal{background:linear-gradient(135deg,#302030,#1b1720);border:1px solid #765266;box-shadow:0 28px 90px #0009;border-radius:23px;padding:32px;width:min(100%,465px);max-height:95vh;overflow:auto}.modal h1,.modal h2{margin:10px 0}.modal p{color:var(--muted)}.gate{text-align:center}.logo-symbol{margin:auto;width:70px;height:70px;font-size:40px}.gate .wide{margin-top:12px}.notice{border:1px solid #915771;color:#f1cbd8;background:#4b2839;border-radius:12px;padding:12px;margin:17px 0;text-align:right;font-size:12px}.close{float:left;font-size:24px}.check{display:flex;gap:9px;align-items:center;color:#e0c4d3;margin:12px 0}.check input{accent-color:#d24a7c}.legal h2{color:#f9a7c5}.legal h3{color:#eab1c6}.legal li{margin-bottom:9px}.thread{padding:24px}.comment{padding:14px 0;border-bottom:1px solid #4a3644}.comment p{white-space:pre-wrap;overflow-wrap:anywhere}.toast{position:fixed;bottom:25px;left:25px}.mobile-nav{display:none}.mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:17px 0}.mini{background:#281c28;border:1px solid var(--border);padding:18px;border-radius:16px;text-align:right}.mini:hover{background:#3a2636}.mini strong{display:block;color:#fff;font-size:17px}.mini span{color:var(--muted);font-size:12px}.pill{background:#513149;color:#ffb5d2;border-radius:25px;padding:4px 10px;font-size:12px}.line{border-top:1px solid var(--border);margin:20px 0}#toast{position:fixed;bottom:24px;left:24px;background:#543247;border:1px solid #cc7197;border-radius:12px;padding:12px 20px;box-shadow:0 10px 35px #0009;display:none;z-index:200;max-width:360px}#toast.show{display:block}@media(max-width:1170px){.right{display:none}.shell{grid-template-columns:205px minmax(0,1fr)}.desktop-nav{gap:0}.desktop-nav button{font-size:12px;padding:7px}}@media(max-width:820px){.desktop-nav,.side{display:none}.shell{display:block;padding:16px 13px 95px}.top-inner{padding:10px 13px}.brand{font-size:22px}.brand-icon{width:38px;height:38px}.head-actions{gap:5px}.head-actions .logged.primary{display:none!important}.hero{padding:26px 20px}.hero p{font-size:14px}.card{padding:17px}.card h3{font-size:18px}.mobile-nav{position:fixed;bottom:0;right:0;left:0;z-index:20;display:flex;justify-content:space-around;background:#211721f5;backdrop-filter:blur(12px);border-top:1px solid var(--border);padding:9px 4px calc(9px + env(safe-area-inset-bottom))}.mobile-nav button{display:flex;flex-direction:column;align-items:center;gap:0;color:#e7d1dd;font-size:23px;min-width:57px}.mobile-nav small{font-size:10px}.modal{padding:23px}.split{grid-template-columns:1fr}}@media(max-width:450px){.head-actions .outline{padding:8px 10px;font-size:11px}.hero h1{font-size:30px}.mini-grid{grid-template-columns:1fr 1fr}.mini{padding:13px}.mini strong{font-size:15px}}
/* Attached images in community posts */
.post-photo-field input[type=file]{border:1px dashed #a55d81;background:#251724;padding:12px;border-radius:12px;color:#ebd2df}.post-photo-field input[type=file]::file-selector-button{background:#813655;color:white;border:0;border-radius:9px;padding:7px 12px;margin-left:12px}.post-photo-preview{display:block;width:100%;max-height:300px;object-fit:contain;border:1px solid #694459;border-radius:14px;background:#140f16}.post-photo-field #clearPostPhoto{align-self:flex-start}.post-inline-image{display:block;width:100%;max-height:440px;object-fit:contain;background:#160f19;border:1px solid #51354a;border-radius:14px;margin:16px 0}.post-detail-image{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:13px;background:#130e15;margin:18px auto;border:1px solid #68425a}

/* Edit published post */
.modal:has(.post-editor){width:min(780px,94vw);padding:clamp(20px,3vw,34px)}.post-editor h2{font-size:24px;margin:0 0 7px}.post-editor .field textarea{min-height:155px}.post-editor .post-remove-current{align-self:flex-start}.post-edit-control{color:#f6a2c5!important;font-weight:700}.post-owner-actions{margin:16px 0 0;display:flex;justify-content:flex-start}.post-editor .post-photo-preview{max-height:250px}@media(max-width:680px){.modal:has(.post-editor){width:min(96vw,780px);padding:18px}.post-editor h2{font-size:20px}}

.post-editor .post-save-top{position:sticky;top:0;z-index:5;display:block;margin:8px 0 15px;min-width:150px;box-shadow:0 6px 20px #0008}.post-editor .post-save-top:hover{filter:brightness(1.12)}

/* Optimized images for homepage, feeds and full-screen viewing */
.card .post-inline-image{width:100%;height:clamp(200px,28vw,300px);max-height:300px;object-fit:contain;object-position:center;background:#170f19;border:1px solid #583a4e;border-radius:15px;display:block;margin:15px auto;cursor:zoom-in}
.thread .post-detail-image{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;cursor:zoom-in}
.article-cover img,.post-inline-image,.post-detail-image{cursor:zoom-in}
.raghba-image-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(7,5,10,.95);display:flex;align-items:center;justify-content:center;padding:55px 22px 26px;cursor:zoom-out}
.raghba-image-lightbox img{display:block;max-width:100%;max-height:calc(100dvh - 85px);width:auto;height:auto;object-fit:contain;box-shadow:0 14px 55px #0008;border-radius:10px;cursor:default}
.raghba-image-close{position:absolute;top:15px;left:18px;min-width:43px;min-height:43px;border:1px solid #9d6683;border-radius:50%;background:#332034;color:white;font-size:26px;line-height:1;cursor:pointer}
body.raghba-lightbox-open{overflow:hidden}
@media(max-width:650px){.card .post-inline-image{height:240px;max-height:240px}.thread .post-detail-image{max-height:340px}.raghba-image-lightbox{padding:65px 12px 20px}.raghba-image-lightbox img{max-height:calc(100dvh - 100px)}}

/* Account settings, RTL responsive controls */
.account-settings{max-width:790px}
.account-settings .account-form{display:grid;gap:12px}
.account-settings .account-form .field{margin:0}
.account-settings input{width:100%}
.account-settings .account-block-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #5a3a4c}
.account-settings .line{margin-block:24px}
@media(max-width:560px){.account-settings .account-block-row{flex-wrap:wrap}.account-settings .account-form button{width:100%}}

/* Community polls */
.poll-card{margin-bottom:16px;max-width:790px}
.poll-option{margin:8px 0}
.poll-option .poll-vote{width:100%;justify-content:flex-start;text-align:right;white-space:normal;padding:12px 16px;line-height:1.65}
.poll-option .poll-vote:disabled{opacity:.8;cursor:default}

.author-link{background:transparent;color:inherit;border:0;font:inherit;cursor:pointer;padding:0 3px;text-decoration:underline;text-underline-offset:4px}.author-link:hover{color:#fcb4d2}

/* Raghba AI live GPU chat - RTL, responsive */
.raghba-ai-page{display:flex;flex-direction:column;gap:18px;max-width:950px;margin:0 auto}
.raghba-ai-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;background:linear-gradient(130deg,#49233e,#261a2c);border:1px solid #73465e;border-radius:19px;padding:25px}
.raghba-ai-heading h2{margin:9px 0;font-size:clamp(23px,3vw,30px)}
.raghba-ai-heading p{color:#dec6d2;line-height:1.8;margin:0}
.raghba-ai-status{border:1px solid #755566;background:#281f2b;color:#e3b9cd;padding:8px 14px;border-radius:999px;font-size:13px;white-space:nowrap}
.raghba-ai-online{border-color:#54876e;color:#b3f0c7}
.raghba-ai-chat{min-height:340px;max-height:540px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:16px;padding:25px;background:#19131d;border:1px solid #52344a;border-radius:20px}
.raghba-ai-welcome{margin:auto;text-align:center;max-width:610px;color:#dcc7d3}
.raghba-ai-welcome h3{font-size:25px;color:#fff}
.raghba-ai-welcome p{line-height:1.9}
.raghba-ai-suggestions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:22px}
.raghba-ai-suggestions .chip{white-space:normal;text-align:center}
.raghba-ai-message{display:flex;align-items:flex-start;gap:11px;max-width:88%}
.raghba-ai-user{align-self:flex-start}
.raghba-ai-assistant{align-self:flex-end;flex-direction:row-reverse}
.raghba-ai-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;background:#703b57;color:white;font-weight:700}
.raghba-ai-bubble{min-width:0;background:#352436;padding:13px 17px;border-radius:16px;border:1px solid #664259;color:#f8e9f0;line-height:1.95;overflow-wrap:anywhere}
.raghba-ai-assistant .raghba-ai-bubble{background:#27212d;border-color:#514052}
.raghba-ai-bubble p{margin:0;white-space:pre-wrap}
.raghba-ai-waiting{opacity:.65}
.raghba-ai-form{background:#211821;border:1px solid #593950;border-radius:17px;padding:19px}
.raghba-ai-input-label{display:block;margin-bottom:10px;color:#f1d9e6;font-weight:700}
.raghba-ai-form textarea{width:100%;min-height:96px;max-height:250px;resize:vertical;box-sizing:border-box}
.raghba-ai-toolbar,.raghba-ai-actions{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.raghba-ai-toolbar{margin-top:13px}.raghba-ai-actions{justify-content:flex-end}
.raghba-ai-error{color:#ffb8b8;min-height:1em;margin:12px 0 0}
.raghba-ai-disclaimer{color:#bda9b5;font-size:12px;line-height:1.95;margin:0}
@media(max-width:600px){.raghba-ai-heading{padding:18px}.raghba-ai-chat{padding:14px;min-height:290px;max-height:53vh}.raghba-ai-message{max-width:98%}.raghba-ai-bubble{padding:11px 12px}.raghba-ai-form{padding:13px}.raghba-ai-toolbar{align-items:stretch;flex-direction:column}.raghba-ai-actions{width:100%}.raghba-ai-actions button{flex:1;min-width:0}}

.raghba-admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:20px 0}.raghba-admin-stat{display:grid;gap:5px;padding:15px;border:1px solid #6a465a;border-radius:13px;background:#261a29}.raghba-admin-stat strong{font-size:24px;color:#ffb6d5}.raghba-admin-stat span{color:#d2b5c6;font-size:13px}

.raghba-health-status{padding:16px;margin:14px 0;border:1px solid #745065;border-radius:14px;background:#241b28}.raghba-health-status h3{margin:0 0 8px}.raghba-health-status p{margin:4px 0}
/* PWA installation and connectivity; no private content is stored offline */
.pwa-install-action{display:block;width:100%;padding:11px 14px;margin:12px 0;background:#4f2844;border:1px solid #a95b83;color:#fff;border-radius:12px;font:inherit;font-size:14px;cursor:pointer;text-align:center}
.pwa-install-action:hover{background:#6e3457}
.pwa-install-action[hidden]{display:none!important}
.pwa-install-mobile{display:none!important}
#raghbaConnectionNotice{position:fixed;top:0;left:0;right:0;z-index:9000;display:none;background:#54262f;color:#fff;padding:10px 16px;text-align:center;font-size:14px;box-shadow:0 3px 12px #0003}
#raghbaConnectionNotice.show{display:block}
@media(max-width:760px){.pwa-install-mobile:not([hidden]){display:block!important;position:fixed;right:12px;bottom:78px;width:auto;margin:0;z-index:2500;padding:8px 12px;box-shadow:0 4px 18px #0007;font-size:13px}}

.profile-public-link{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:15px 0}.profile-public-link>a{color:#ffb2d0;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.profile-public-link>button{font-size:12px;padding:8px 13px}.author-link{display:inline-block;text-decoration:underline;text-underline-offset:4px}


/* raghba-signature.css */
/* RAGHBA signature: a quiet editorial identity, not a social-network clone. */
#feed{display:grid;gap:18px}
#feed>.card{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(224,147,181,.23);border-radius:26px 10px 26px 10px;background:linear-gradient(145deg,rgba(112,48,79,.13),transparent 48%),linear-gradient(160deg,#2a1b29,#201820);box-shadow:0 10px 34px rgba(12,5,15,.13);padding:clamp(18px,3.5vw,27px);transition:border-color .2s,transform .2s}
#feed>.card::before{content:'';position:absolute;inset:0 auto auto 0;width:68px;height:3px;background:linear-gradient(90deg,transparent,#dd82a9);border-radius:8px}
#feed>.card:hover{border-color:rgba(231,150,188,.43)}
#feed>.card .card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 9px;color:#bfaebe;font-size:clamp(12px,2.7vw,14px);line-height:1.7}
#feed>.card .avatar{flex-shrink:0;background:linear-gradient(140deg,#a34c77,#62304e);border:1px solid rgba(255,211,229,.18);box-shadow:0 2px 10px #10081255}
#feed>.card .tag{background:rgba(177,85,127,.14);border:1px solid rgba(225,147,184,.22);color:#efc2d7;border-radius:100px;padding:3px 11px;font-size:12px}
#feed>.card h3{font-size:clamp(20px,4.4vw,27px);line-height:1.5;margin:22px 0 12px;letter-spacing:-.25px}
#feed>.card h3 a{color:#fff1f7;text-decoration:none}
#feed>.card h3 a:hover{color:#ffb8d5}
#feed>.card>p{color:#dccbd7;line-height:1.95;font-size:clamp(15px,3.5vw,18px);overflow-wrap:anywhere;margin:0 0 19px}
#feed>.card .card-actions{border-top:1px solid rgba(230,169,199,.16);padding-top:13px;margin-top:17px;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}
#feed>.card .card-actions button,#feed>.card .card-actions a{border-radius:13px;padding:9px 11px;min-height:40px;color:#e8d1e0;transition:background .2s,color .2s;text-decoration:none}
#feed>.card .card-actions button:hover,#feed>.card .card-actions a:hover{background:rgba(196,91,140,.18);color:#fff}
#feed>.card .post-inline-image{border-radius:18px 6px 18px 6px}
@media(max-width:600px){#feed{gap:14px}#feed>.card{padding:17px 15px 14px;border-radius:22px 8px 22px 8px}#feed>.card h3{margin-top:16px}#feed>.card .card-actions{gap:3px;justify-content:space-between}#feed>.card .card-actions button,#feed>.card .card-actions a{padding:8px 6px;font-size:13px;min-height:40px}}
@media(prefers-reduced-motion:reduce){#feed>.card,#feed>.card .card-actions *{transition:none}}


/* expansion.css */
.exp-nav{display:flex;flex-direction:column;gap:4px}.exp-nav button{text-align:right;padding:9px 14px;border-radius:11px;display:flex;gap:12px;align-items:center;color:#d7c4d1;font-size:14px}.exp-nav button:hover,.exp-nav button.active{background:#402539;color:white}.editorial-hero{border:1px solid #704057;border-radius:22px;padding:35px 32px;background:radial-gradient(circle at 3% 4%,#73344e99,transparent 55%),linear-gradient(135deg,#3b1c34,#1b1720 75%);margin-bottom:22px}.editorial-hero h1{font-size:clamp(27px,4vw,39px);line-height:1.5;margin:10px 0}.editorial-hero p{max-width:600px;color:#e6d2de;font-size:15px;margin-bottom:24px}.exp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:14px 0 25px}.exp-card{background:linear-gradient(135deg,#2b1c2b,#1c1720);border:1px solid #634258;border-radius:18px;padding:23px;min-width:0;display:flex;flex-direction:column;transition:all .15s}.exp-card:hover{border-color:#bb6589;transform:translateY(-2px)}.exp-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.exp-number{color:#bc718d;font-size:25px;font-weight:700}.exp-card h3{font-size:18px;line-height:1.55;margin:13px 0 4px}.exp-desc{color:#efa0be!important;font-size:12px}.exp-copy{white-space:pre-wrap;overflow-wrap:anywhere;color:#d5c4d1;line-height:1.95;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;flex:1}.exp-more{border:1px solid #765166;color:#f6b2ca;padding:9px 13px;border-radius:10px;text-align:right;align-self:flex-start;margin-top:14px}.exp-more:hover{background:#5a2d47}.exp-bottom{border:1px solid #644257;border-radius:18px;background:#2e2030;padding:25px;margin-top:22px}.exp-bottom h3{font-size:21px;margin:0 0 8px}.exp-bottom p{color:#d8c1d0}.exp-reading{line-height:2.2;white-space:pre-wrap;font-size:15px;color:#efe1ea;padding:12px 0}@media(max-width:850px){.exp-grid{grid-template-columns:1fr}.editorial-hero{padding:26px 20px}.exp-card{padding:19px}.exp-nav{display:none}}

/* profile-media.css */
.media-profile{border:1px solid var(--border);border-radius:19px;overflow:hidden;background:linear-gradient(135deg,#2b1e2c,#1b151e);margin:17px 0 24px}.media-cover{height:184px;background:linear-gradient(125deg,#64324e,#321c32 55%,#241622);position:relative;overflow:hidden}.media-cover>img{width:100%;height:100%;object-fit:cover;display:block}.media-default-cover{height:100%;display:grid;place-items:center;background:radial-gradient(circle at 75% 30%,#a34a73aa,transparent 34%),linear-gradient(130deg,#5e2546,#241524)}.media-default-cover span{font-size:25px;color:#fbd2df;letter-spacing:3px;font-weight:800}.media-header{padding:14px 20px 20px;display:flex;align-items:center;gap:17px;min-height:84px}.media-profile-avatar{width:92px;height:92px;flex:0 0 92px;border-radius:50%;border:5px solid #291d2b;overflow:hidden;margin-top:-58px;z-index:1;position:relative;background:#693c59;display:grid;place-items:center;color:#fff;font-size:36px;box-shadow:0 4px 18px #0005}.media-profile-avatar img{width:100%;height:100%;object-fit:cover}.media-title{min-width:0;flex:1}.media-title h3{font-size:19px;margin:0 0 2px}.media-title p{font-size:12px;margin:0}.media-edit{white-space:nowrap}.media-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0 24px}.media-tile{border:1px solid var(--border);background:var(--panel);border-radius:14px;overflow:hidden;min-width:0}.media-view{width:100%;height:160px;padding:0;display:block;overflow:hidden;background:#281d29}.media-view img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.media-view:hover img{transform:scale(1.04)}.media-tile-caption{padding:8px 10px;color:#e8d2df;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-tools{display:flex;gap:5px;align-items:center;padding:0 8px 9px}.media-tools select{flex:1;min-width:0;width:95px;background:#180f1a;border:1px solid #5a3f52;border-radius:8px;color:#fce3ec;padding:5px;font-size:11px}.media-delete{font-size:11px;color:#f8a6c5;padding:6px}.media-lightbox{text-align:center}.media-lightbox img{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:15px auto;border-radius:12px}.media-lightbox p{color:#e3c2d2}.media-preview{width:100%;max-height:230px;object-fit:contain;background:#150e19;border:1px solid #66415a;border-radius:10px;padding:5px}.media-manage{display:flex;gap:8px;flex-wrap:wrap}.media-empty{padding:28px}.media-editor .field{margin:12px 0}.media-editor input[type=file]{background:#1a111d;border:1px solid #73516b;color:#e3cdda;border-radius:11px;width:100%;padding:12px}.media-editor input[type=file]::file-selector-button{background:#6c3553;color:#fff;border:0;border-radius:8px;padding:6px 12px;margin-left:10px}@media(max-width:820px){.media-cover{height:145px}.media-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.media-view{height:155px}.media-header{padding:12px 14px 18px;gap:11px}.media-profile-avatar{height:74px;width:74px;flex-basis:74px;margin-top:-39px}.media-title h3{font-size:16px}.media-edit{font-size:11px;padding:7px 10px}}@media(max-width:380px){.media-gallery{gap:8px}.media-view{height:130px}.media-profile-avatar{width:64px;height:64px;flex-basis:64px}.media-title p{font-size:10px}}/* Compact, consistent member gallery — preserve full images in viewer */
#profileMedia{min-width:0;max-width:100%;overflow-wrap:anywhere}
#profileMedia .media-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 22px;align-items:start}
#profileMedia .media-tile{min-width:0;max-width:100%;overflow:hidden;border-radius:12px}
#profileMedia .media-view{display:block;width:100%;height:auto;aspect-ratio:4 / 5;max-height:195px;padding:0;overflow:hidden;border:0;border-radius:0;background:#271c27}
#profileMedia .media-view img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;max-width:100%}
#profileMedia .media-tile-caption{min-height:26px;padding:6px 9px;font-size:11px}
#profileMedia .media-tools{display:flex;align-items:center;gap:6px;padding:0 7px 8px;min-width:0}
#profileMedia .media-tools select{width:0;flex:1 1 auto;min-width:0;font-size:11px;padding:5px 3px}
#profileMedia .media-delete{flex:0 0 auto;padding:5px 3px;font-size:11px}
@media(max-width:1020px){#profileMedia .media-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:690px){#profileMedia .media-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#profileMedia .media-view{max-height:220px}}
@media(max-width:340px){#profileMedia .media-gallery{gap:6px}#profileMedia .media-tools{flex-wrap:wrap}#profileMedia .media-tools select{flex-basis:100%}}

/* Progressive gallery loading - keep profiles compact regardless of photo count */
#profileMedia .media-pagination{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:2px 8px 26px}
#profileMedia .media-pagination button{border:1px solid #bc668f;border-radius:12px;background:#633049;color:#fff;padding:11px 23px;font:inherit;cursor:pointer}
#profileMedia .media-pagination button:disabled{opacity:.65;cursor:progress}
#profileMedia .media-pagination small{color:#bfa2b4;font-size:11px}

#profileMedia .media-pagination{scroll-margin-top:90px}
#profileMedia .section-head{scroll-margin-top:95px}
#profileMedia .media-pagination small{min-width:110px;text-align:center}

/* RAGHBA unified profile 2026: cover > identity > action row > gallery > compact feed */
#app:has(#profileMedia) .rb-profile-overview{margin:0!important;border:0!important;border-radius:0!important;background:linear-gradient(160deg,#342137,#241927)!important;padding:16px 24px 12px!important;box-shadow:none!important;min-width:0}
#app:has(#profileMedia) .media-profile{margin:0 0 22px!important;border-color:#86516d;border-radius:20px;background:#241727;box-shadow:0 12px 40px #08040b55}
#app:has(#profileMedia) .media-cover{height:clamp(170px,19vw,265px)!important;background-color:#49263e}
#app:has(#profileMedia) .media-cover>img{object-fit:cover;object-position:center 35%}
#app:has(#profileMedia) .rb-profile-overview>.flex{align-items:center;gap:16px;flex-wrap:nowrap}
#app:has(#profileMedia) .rb-profile-overview>.flex>.rb-member-avatar{width:88px!important;height:88px!important;min-width:88px!important;font-size:36px!important;border:4px solid #311c2b;box-shadow:0 8px 25px #0008;margin-top:-54px;z-index:2}
#app:has(#profileMedia) .rb-profile-overview>.flex>div{min-width:0}
#app:has(#profileMedia) .rb-profile-overview h2{font-size:clamp(20px,2.4vw,29px);overflow-wrap:anywhere;line-height:1.35;margin:0 0 5px}
#app:has(#profileMedia) .rb-profile-overview>p{margin:13px 0 8px;max-width:850px;line-height:1.85;color:#e9c9d8;overflow-wrap:anywhere}
#app:has(#profileMedia) .rb-profile-overview .profile-public-link{margin:10px 0;gap:10px}
#app:has(#profileMedia) .rb-profile-overview .secondary,#app:has(#profileMedia) .media-edit{padding:8px 12px;font-size:12px;border-radius:10px}
#app:has(#profileMedia) .rb-profile-composed .media-header{padding:9px 22px 16px!important;min-height:0;justify-content:flex-start;gap:9px;background:#291b2e}
#app:has(#profileMedia) .rb-profile-composed .media-header .media-profile-avatar,#app:has(#profileMedia) .rb-profile-composed .media-header .media-title{display:none!important}
#app:has(#profileMedia) .rb-profile-composed .media-header .media-edit{margin:0}
#app:has(#profileMedia)> .section-head{margin:14px 0 16px;padding:0 4px}
#app:has(#profileMedia)>#feed{display:grid;gap:13px;max-width:100%}
#app:has(#profileMedia)>#feed>.card{position:relative;padding:17px 21px;margin:0;border-radius:16px;background:linear-gradient(140deg,#362238,#251927);box-shadow:0 7px 23px #0002}
#app:has(#profileMedia)>#feed>.card h3{font-size:clamp(17px,1.7vw,21px);line-height:1.55;margin:9px 0 7px}
#app:has(#profileMedia)>#feed>.card>p{font-size:13px;line-height:1.85;margin:0;color:#e5d0dc;white-space:pre-line;overflow-wrap:anywhere}
#app:has(#profileMedia)>#feed>.card .card-actions{margin-top:12px;padding-top:9px;gap:14px;font-size:12px}
#app:has(#profileMedia)>#feed>.card .card-meta{gap:7px}
#app:has(#profileMedia) .rb-read-post{font-size:12px;color:#f2a8cb;display:inline-block;margin-top:8px}
@media(max-width:820px){#app:has(#profileMedia) .media-cover{height:170px!important}#app:has(#profileMedia) .rb-profile-overview{padding:14px 15px 12px!important}#app:has(#profileMedia) .rb-profile-overview>.flex>.rb-member-avatar{height:72px!important;width:72px!important;min-width:72px!important;margin-top:-43px}#app:has(#profileMedia) .rb-profile-composed .media-header{padding:8px 14px 13px!important}#app:has(#profileMedia)>#feed>.card{padding:15px}}
@media(max-width:460px){#app:has(#profileMedia) .rb-profile-overview>.flex>.rb-member-avatar{height:66px!important;width:66px!important;min-width:66px!important}#app:has(#profileMedia) .rb-profile-overview h2{font-size:19px}#app:has(#profileMedia) .rb-profile-overview .profile-public-link{font-size:12px}}

/* Smaller gallery empty state and more compact cover on large screens. */
#app:has(#profileMedia) .media-cover{height:clamp(155px,17vw,216px)!important}
#app:has(#profileMedia) .media-empty{padding:22px 18px!important;min-height:0!important}
#app:has(#profileMedia) .media-empty h3{font-size:17px;margin:0 0 6px}
#app:has(#profileMedia) .media-empty p{margin:0;font-size:12px}
@media(max-width:820px){#app:has(#profileMedia) .media-cover{height:155px!important}}

/* =======================================================
   RAGHBA PROFILE V3 - single polished profile + two tabs
   All controls retain their existing JavaScript handlers.
   ======================================================= */
#app:has(#profileMedia){--profile-pink:#e46d9e;--profile-border:#79465f}
#app:has(#profileMedia) .media-profile{position:relative;border:1px solid var(--profile-border);border-radius:20px!important;background:linear-gradient(150deg,#342035,#251a2b)!important;overflow:hidden;margin:0!important;box-shadow:0 14px 36px #0004}
#app:has(#profileMedia) .media-cover{height:clamp(200px,19vw,275px)!important;position:relative;background:#43243e}
#app:has(#profileMedia) .media-cover:after{content:"";position:absolute;inset:42% 0 0;pointer-events:none;background:linear-gradient(0deg,#2918278c,transparent)}
#app:has(#profileMedia) .media-cover img{width:100%;height:100%;object-fit:cover;object-position:center 38%;display:block}
#app:has(#profileMedia) .media-cover .media-edit{position:absolute;bottom:15px;left:17px;z-index:2;background:#20121ccc!important;color:#fff;border:1px solid #dab1c5;padding:9px 14px;border-radius:11px;backdrop-filter:blur(9px);font-weight:700}
#app:has(#profileMedia) .rb-profile-overview{position:relative!important;display:block;border:0!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(150deg,#3b243b,#251825)!important;padding:18px 25px 22px!important;min-height:0!important;margin:0!important}
#app:has(#profileMedia) .rb-profile-overview>.flex{position:relative;display:flex;align-items:center;gap:17px;flex-wrap:nowrap;margin-bottom:9px}
#app:has(#profileMedia) .rb-profile-overview>.flex>.rb-member-avatar{height:100px!important;width:100px!important;min-width:100px!important;font-size:37px!important;border:5px solid #321d2e!important;margin-top:-68px!important;box-shadow:0 12px 28px #0008;z-index:3;align-self:flex-start}
#app:has(#profileMedia) .rb-profile-overview h2{font-size:clamp(22px,2.5vw,31px);font-weight:800;line-height:1.35;letter-spacing:-.4px;margin:0 0 3px!important}
#app:has(#profileMedia) .rb-profile-overview>.flex .muted{font-size:12px;color:#d8b7c8}
#app:has(#profileMedia) .rb-profile-overview>p{font-size:13px!important;line-height:1.85;margin:9px 0 13px!important;max-width:930px;color:#e8cfdd}
#app:has(#profileMedia) .rb-profile-overview .profile-public-link{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:7px 0 12px!important}
#app:has(#profileMedia) .rb-profile-overview .profile-public-link>a{display:inline-flex;gap:6px;align-items:center;color:#f0a9c7;font-size:12px;text-decoration:none}
#app:has(#profileMedia) .rb-profile-overview .secondary{font-size:12px!important;padding:8px 12px!important;margin:2px 3px 0 0;border-radius:9px!important;background:#432a3f}
#app:has(#profileMedia) .rb-profile-overview .secondary:hover{background:#6d3655}
#app:has(#profileMedia) .rb-profile-tabs{display:flex;gap:7px;margin:15px 0 14px;padding:6px;border:1px solid #663d56;border-radius:13px;background:#281a2a;align-items:center}
#app:has(#profileMedia) .rb-profile-tab{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-width:134px;padding:11px 17px;color:#dec1d0;border-radius:10px;font-size:13px;font-weight:800;transition:background .2s,color .2s}
#app:has(#profileMedia) .rb-profile-tab.active{background:#63334e;color:#fff;box-shadow:inset 0 0 0 1px #b86c91}
#app:has(#profileMedia) .rb-profile-tab span{font-weight:600;font-size:11px;min-width:24px;padding:1px 7px;border-radius:20px;background:#4b2b40}
#app:has(#profileMedia) .rb-profile-gallery-area{display:none;animation:rb-fadein .2s ease}
#app:has(#profileMedia.rb-show-gallery) .rb-profile-gallery-area{display:block}
#app:has(#profileMedia) .rb-profile-gallery-area>.section-head{margin:12px 2px 15px}
#app:has(#profileMedia) .rb-profile-gallery-area>.empty{padding:26px 22px!important;border:1px dashed #74465f;background:#2b1c2d;border-radius:14px}
#app:has(#profileMedia)> .section-head{display:none!important}
#app:has(#profileMedia)>#feed{display:flex!important;flex-direction:column;gap:13px}
#app:has(#profileMedia)>#feed[hidden]{display:none!important}
#app:has(#profileMedia)>#feed>.card{position:relative;display:flex;flex-direction:column;gap:0;margin:0!important;padding:20px 22px 15px!important;border:1px solid #6f425a;border-radius:15px!important;background:linear-gradient(142deg,#352237,#241827);box-shadow:0 7px 20px #06030823;max-width:100%}
#app:has(#profileMedia)>#feed>.card:hover{border-color:#b36f91;background:linear-gradient(142deg,#3e2840,#26192a)}
#app:has(#profileMedia)>#feed>.card .card-meta{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;margin-bottom:10px}
#app:has(#profileMedia)>#feed>.card .card-meta .rb-member-avatar{width:39px;height:39px;min-width:39px}
#app:has(#profileMedia)>#feed>.card .card-meta .spacer{flex:1}
#app:has(#profileMedia)>#feed>.card h3{margin:0 0 8px!important;font-size:clamp(18px,1.8vw,22px)!important;line-height:1.5}
#app:has(#profileMedia)>#feed>.card h3 a:hover{color:#ffbad6}
#app:has(#profileMedia)>#feed>.card>p{font-size:13px!important;line-height:1.9!important;color:#e7d4e0!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line!important;margin:0!important;max-width:100%}
#app:has(#profileMedia)>#feed>.card .rb-read-post{display:inline-block;align-self:flex-start;font-size:12px;font-weight:700;color:#f2accb;margin-top:8px!important}
#app:has(#profileMedia)>#feed>.card .card-actions{display:flex;gap:14px;align-items:center;margin-top:14px!important;padding-top:12px!important;border-top:1px solid #684058;font-size:12px;flex-wrap:wrap}
#app:has(#profileMedia)>#feed>.card .card-actions>*{white-space:nowrap}
#app:has(#profileMedia)>#feed>.card .card-actions button:hover{color:#fbaed1}
@keyframes rb-fadein{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:820px){#app:has(#profileMedia) .media-cover{height:190px!important}#app:has(#profileMedia) .rb-profile-overview{padding:13px 16px 18px!important}#app:has(#profileMedia) .rb-profile-overview>.flex>.rb-member-avatar{width:78px!important;height:78px!important;min-width:78px!important;margin-top:-52px!important}#app:has(#profileMedia) .rb-profile-overview h2{font-size:22px}#app:has(#profileMedia)>#feed>.card{padding:17px 15px 13px!important}}
@media(max-width:420px){#app:has(#profileMedia) .media-cover{height:155px!important}#app:has(#profileMedia) .media-cover .media-edit{font-size:10px!important;padding:7px 9px!important;bottom:9px;left:9px}#app:has(#profileMedia) .rb-profile-overview>.flex>.rb-member-avatar{width:68px!important;height:68px!important;min-width:68px!important;margin-top:-46px!important}#app:has(#profileMedia) .rb-profile-overview h2{font-size:19px}#app:has(#profileMedia) .rb-profile-tabs{gap:4px}#app:has(#profileMedia) .rb-profile-tab{min-width:0;flex:1;padding:10px 6px}#app:has(#profileMedia)>#feed>.card .card-actions{gap:10px;font-size:11px}}

/* RAGHBA unified, intentional account action bar — preserve existing functional elements */
#app:has(#profileMedia) .rb-profile-overview{padding:16px 22px 0!important}
#app:has(#profileMedia) .rb-profile-overview>.flex{margin:0 0 5px!important}
#app:has(#profileMedia) .rb-profile-overview>p{margin:10px 0 17px!important;max-width:900px;font-size:13px;line-height:1.75}
#app:has(#profileMedia) .rb-profile-actions{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:9px;row-gap:9px;padding:13px 0 16px;border-top:1px solid #68415a;margin-top:5px;min-height:57px}
#app:has(#profileMedia) .rb-profile-actions>*{display:inline-flex;align-items:center;justify-content:center;min-height:35px;gap:7px;white-space:nowrap;border-radius:10px!important;padding:8px 13px!important;font-size:12px!important;line-height:1.3!important;font-weight:700!important;text-decoration:none!important;margin:0!important;cursor:pointer}
#app:has(#profileMedia) .rb-profile-actions>.rb-profile-edit{background:linear-gradient(125deg,#da4a80,#a62f65)!important;border:1px solid #f085ac!important;color:white!important}
#app:has(#profileMedia) .rb-profile-actions>.rb-profile-link-action{border:1px solid #83536e;background:#3c253a;color:#f7c2db!important}
#app:has(#profileMedia) .rb-profile-actions>.rb-profile-copy{color:#f7d7e8}
#app:has(#profileMedia) .rb-profile-actions>.rb-profile-logout{margin-right:auto!important;background:transparent!important;border-color:#604156!important;color:#e5baca!important;font-weight:500!important}
#app:has(#profileMedia) .rb-profile-actions>button:hover,#app:has(#profileMedia) .rb-profile-actions>a:hover{filter:brightness(1.13);border-color:#d380aa!important}
#app:has(#profileMedia) .media-cover{height:clamp(180px,17vw,240px)!important}
#app:has(#profileMedia) .media-cover>img{object-position:center center!important}
@media(max-width:820px){#app:has(#profileMedia) .rb-profile-overview{padding:14px 15px 0!important}#app:has(#profileMedia) .media-cover{height:185px!important}#app:has(#profileMedia) .rb-profile-actions{padding:12px 0 14px;gap:7px}#app:has(#profileMedia) .rb-profile-actions>*{padding:8px 10px!important}}
@media(max-width:430px){#app:has(#profileMedia) .media-cover{height:145px!important}#app:has(#profileMedia) .rb-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#app:has(#profileMedia) .rb-profile-actions>*{min-width:0;white-space:normal;text-align:center;font-size:11px!important}#app:has(#profileMedia) .rb-profile-actions>.rb-profile-logout{margin:0!important}}


/* admin-dashboard.css */
/* RAGHBA ADMIN | scoped, RTL, real-data dashboard. */
body.raghba-admin-mode{background:radial-gradient(ellipse at 68% -15%,#512039 0%,#170d18 55%,#130b15 100%);min-height:100vh}
body.raghba-admin-mode>.top,body.raghba-admin-mode>.shell>.right,body.raghba-admin-mode>.shell>.side,body.raghba-admin-mode>.mobile-nav{display:none!important}
body.raghba-admin-mode>.shell{max-width:none!important;margin:0!important;padding:0!important;display:block!important}
body.raghba-admin-mode #app{max-width:none!important;width:100%;margin:0!important}
.rd-layout{--rd-border:#6b3757;--rd-muted:#c29fb4;display:grid;grid-template-columns:250px minmax(0,1fr);direction:rtl;min-height:100dvh;color:#ffeaf5;font-family:Tahoma,"Segoe UI",sans-serif}
.rd-layout button{font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.rd-layout button:hover{filter:brightness(1.15)}
.rd-sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:18px;height:100dvh;overflow:auto;min-width:0;background:linear-gradient(165deg,#291225,#1c101e 60%,#241022);border-left:1px solid #63334d;padding:32px 16px 22px;z-index:3}
.rd-brand{display:flex;align-items:center;gap:12px;padding:0 13px 22px;border-bottom:1px solid #62304c}
.rd-brand strong{display:block;font-size:30px;letter-spacing:.5px}.rd-brand small{font-size:12px;letter-spacing:2px;color:#ecb48d}
.rd-mark{display:grid;place-items:center;width:50px;height:50px;background:linear-gradient(140deg,#ff80b3,#a32464);border-radius:15px;font-size:28px;font-weight:800;box-shadow:0 4px 25px #ce407867}
.rd-nav{display:grid;gap:6px}
.rd-nav button{display:flex;gap:14px;align-items:center;text-align:right;padding:13px 14px;min-height:49px;color:#f6dae9;border:1px solid transparent;border-radius:12px;background:transparent;font-size:14px;font-weight:600}
.rd-nav button span{display:inline-grid;place-items:center;width:25px;color:#f6a0ca;font-size:23px}
.rd-nav button.selected{border-color:#f577aa;color:#fff;background:linear-gradient(90deg,#74284e,#b32e68);box-shadow:0 0 18px #dd45844c}
.rd-nav button:hover{background:#53253f}
.rd-sidebar-status{display:flex;gap:10px;align-items:center;border:1px solid #664157;background:#341b30;padding:14px 12px;border-radius:13px;margin-top:auto}
.rd-sidebar-status strong{font-size:11px;display:block}.rd-sidebar-status small{display:block;color:var(--rd-muted);font-size:10px;margin-top:6px}
.rd-led{width:10px;height:10px;border-radius:50%;background:#44cb80;box-shadow:0 0 12px #4cda83;flex:none}.rd-led.caution{background:#eba05f}
.rd-exit{border:1px solid #73425e!important;background:transparent!important;color:#ffcee5!important;border-radius:12px;padding:11px}
.rd-content{min-width:0;padding:32px clamp(15px,2.4vw,40px) 55px}
.rd-toolbar,.rd-toolbar-right,.rd-toolbar-title{display:flex;align-items:center;gap:14px}
.rd-toolbar{justify-content:space-between;gap:22px;flex-wrap:wrap;margin-bottom:26px}
.rd-toolbar-title h1{font-size:clamp(24px,2.3vw,33px);margin:0 0 7px}.rd-toolbar-title p{font-size:13px;color:var(--rd-muted);margin:0;line-height:1.7}
.rd-toolbar-icon{display:grid;place-items:center;border-radius:13px;background:#75264c;color:#ffaccf;width:51px;height:51px;font-size:27px}
.rd-toolbar-right{flex-wrap:wrap;font-size:12px}
.rd-live{border-radius:999px;padding:11px 14px;background:#24372d;border:1px solid #567460;color:#9ae7b4}.rd-live.warn{background:#513127;border-color:#936246;color:#ffc796}
.rd-time{padding:10px 14px;border:1px solid #654059;border-radius:12px;color:#e7cbdc}.rd-refresh{padding:10px 15px;border-radius:10px;border:1px solid #784761;background:#442138;color:#fff}
.rd-body{display:grid;gap:20px}
.rd-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.rd-metric{background:linear-gradient(155deg,#3d1c35,#281629);border:1px solid #74405f;border-radius:16px;padding:19px 17px;min-width:0;box-shadow:0 7px 25px #0b05101f}
.rd-metric.rd-featured{background:linear-gradient(140deg,#9a2a5c,#441a38);border-color:#df6195;box-shadow:0 0 19px #dc458339}
.rd-metric>span{color:#fc87b5;font-size:29px;display:block;line-height:1}.rd-metric strong{display:block;font-size:clamp(23px,2.6vw,37px);margin:7px 0 2px}.rd-metric p{margin:0;font-size:13px;font-weight:600}
.rd-columns{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(285px,1fr);gap:16px}.rd-maincol,.rd-sidecol{display:grid;align-content:start;gap:16px;min-width:0}
.rd-card{background:linear-gradient(145deg,#301829,#211522);border:1px solid #653550;border-radius:16px;padding:20px;min-width:0;box-shadow:0 10px 35px #0e08122e}
.rd-card h2{font-size:17px;margin:0;color:#fff0f6}.rd-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}.rd-card-head small{color:#c7a6bb;font-size:12px;font-weight:400}
.rd-card-head button,.rd-viewall{background:#5b2846!important;border:1px solid #8a4b6e!important;padding:8px 12px;color:#ffe7f2!important;border-radius:9px;font-size:12px}
.rd-table-wrap{max-width:100%;overflow:auto}.rd-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap;text-align:right}.rd-table th{background:#4a2941;color:#e9bed6;font-weight:700}.rd-table th,.rd-table td{padding:12px 11px;border-bottom:1px solid #57364b}.rd-table tbody tr:hover{background:#4b233c70}.rd-post-title{white-space:normal;min-width:145px;max-width:360px;color:#ffb2d4;font-weight:700;overflow-wrap:anywhere}.rd-id{font-variant-numeric:tabular-nums;color:#dbc1d1}.rd-label{border-radius:999px;padding:5px 9px;font-size:11px;white-space:nowrap}.rd-label.good{background:#254331;color:#a1edb7}.rd-label.wait{background:#594022;color:#ffcd85}.rd-actions{display:flex;gap:6px}.rd-actions button{background:#47243b;color:#fbd9e9;border:1px solid #7c4965;border-radius:8px;padding:7px 10px;font-size:11px}.rd-actions button:first-child{border-color:#a8577d}.rd-actions button:focus-visible,.rd-nav button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.rd-double{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.rd-quick{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rd-quick button{padding:15px 8px;text-align:center;background:linear-gradient(145deg,#622845,#361d31);border:1px solid #8b4c70;border-radius:12px;color:white;font-size:12px}
.rd-activity-list{display:grid;max-height:285px;overflow:auto}.rd-activity-item{display:flex;gap:12px;align-items:start;padding:11px 0;border-bottom:1px solid #54324a;font-size:12px;line-height:1.7}.rd-activity-item small{display:block;color:var(--rd-muted);margin-top:4px}.rd-dot{width:9px;height:9px;margin-top:5px;flex:none;border-radius:100%;background:#ef6d9f;box-shadow:0 0 12px #ed70a765}
.rd-note{color:var(--rd-muted);font-size:12px;line-height:1.7}.rd-chart{display:block;width:100%;height:145px;overflow:visible}.rd-axis{display:flex;justify-content:space-between;font-size:10px;color:#b696ac;margin-top:10px}.rd-legend{font-size:11px;color:#e0c6d5}.rd-legend i{display:inline-block;background:#ba81f9;width:8px;height:8px;border-radius:50%;margin:0 7px}.rd-legend i:nth-child(2){background:#fd79a9}
.rd-system-line{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #553448;padding:10px 2px;font-size:12px}.rd-health{border-radius:20px;padding:4px 10px;font-size:11px;background:#2b4b35;color:#b4efc5}.rd-health.bad{background:#6d3433;color:#ffcdc1}
.rd-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px}.rd-heading h2{font-size:23px;margin:0}.rd-search{display:flex;align-items:center;gap:8px;border:1px solid #7b4965;border-radius:11px;background:#291728;padding:8px 12px}.rd-search input{width:min(300px,35vw);background:transparent;border:0;color:#fff;outline:none}.rd-search span{font-size:22px;color:#f58ab7}
.rd-empty{padding:23px;color:#cfb2c4;text-align:center;line-height:1.7}.rd-system-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rd-card #appealsAdminPanel{background:transparent;border:0;box-shadow:none;padding:0;max-width:100%}.rd-card #appealsAdminPanel .comment{overflow-wrap:anywhere}
@media(max-width:1350px){.rd-layout{grid-template-columns:215px minmax(0,1fr)}.rd-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.rd-columns{grid-template-columns:1fr}.rd-sidecol{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-sidecol .rd-card:last-child{grid-column:1/-1}}
@media(max-width:850px){.rd-layout{display:block}.rd-sidebar{position:relative;height:auto;padding:13px;gap:10px}.rd-brand{padding:0 5px 10px}.rd-brand strong{font-size:20px}.rd-mark{width:37px;height:37px;font-size:22px}.rd-nav{display:flex;flex-direction:row;overflow-x:auto;scrollbar-width:thin;padding:5px 0}.rd-nav button{white-space:nowrap;flex:none;padding:10px;min-height:40px;font-size:12px}.rd-nav button span{font-size:16px;width:auto}.rd-sidebar-status{display:none}.rd-exit{position:absolute;top:13px;left:12px;margin:0;padding:8px;font-size:12px}.rd-content{padding:20px 12px 35px}.rd-toolbar{align-items:start}.rd-toolbar-title p{font-size:11px}.rd-toolbar-right{gap:8px}.rd-time{display:none}.rd-sidecol{grid-template-columns:1fr 1fr}.rd-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.rd-double{grid-template-columns:1fr}}
@media(max-width:560px){.rd-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.rd-metric{padding:13px}.rd-metric strong{font-size:28px}.rd-card{padding:13px}.rd-card h2{font-size:15px}.rd-columns{gap:12px}.rd-sidecol{grid-template-columns:1fr}.rd-system-grid{grid-template-columns:1fr}.rd-toolbar-title h1{font-size:23px}.rd-quick{gap:8px}.rd-quick button{padding:10px 6px}.rd-search input{width:190px}}


/* raghba-premium-2026.css */
/* RAGHBA Premium 2026: independent, reversible visual system */
:root{
 --bg:#120b15;--panel:#251622;--panel2:#311c2b;--ink:#fff3f8;
 --muted:#d1afc3;--border:#684055;--accent:#f46c9f;--accent2:#b52967;--gold:#e9bd8f;
 --radius:20px;
}
html{scrollbar-color:#73415e #180e19}
body:not(.raghba-admin-mode){
 background:radial-gradient(ellipse 55% 24% at 92% 0%,#50213966,transparent 76%),
 radial-gradient(ellipse 60% 28% at 5% 10%,#63274442,transparent 80%),#120d17;
 color:#fff1f8;letter-spacing:.03px
}
body:not(.raghba-admin-mode) .top{
 background:#1b111dec;border-color:#7b425e77;box-shadow:0 7px 32px #08030d66
}
body:not(.raghba-admin-mode) .top-inner{max-width:1670px;min-height:73px;padding:10px clamp(15px,2.2vw,34px);gap:17px}
body:not(.raghba-admin-mode) .brand{font-size:27px;gap:12px;flex:none}
body:not(.raghba-admin-mode) .brand-icon{
 border-radius:13px;width:44px;height:44px;
 background:linear-gradient(138deg,#ff98bd,#c13476 60%,#8c1f54);
 border:1px solid #ffb3d37a;box-shadow:0 5px 24px #e63c8580
}
body:not(.raghba-admin-mode) .desktop-nav{gap:5px}
body:not(.raghba-admin-mode) .desktop-nav button{
 padding:11px 13px;color:#ecd5e2;font-weight:700;font-size:13px;border-radius:10px;
 position:relative;transition:background .15s,color .15s
}
body:not(.raghba-admin-mode) .desktop-nav button:hover{background:#4c263f;color:#fff}
body:not(.raghba-admin-mode) .desktop-nav button:first-child:after{content:"";position:absolute;height:3px;width:40%;right:30%;bottom:1px;border-radius:4px;background:#ee639d;box-shadow:0 0 11px #f26aa9}
body:not(.raghba-admin-mode) .head-actions{gap:9px}
body:not(.raghba-admin-mode) .primary{
 background:linear-gradient(115deg,#ed5d93,#ad2864);border:1px solid #fa92b9;
 border-radius:12px;box-shadow:inset 0 1px 0 #ffffff1f,0 6px 18px #911e5030;
 padding:11px 18px
}
body:not(.raghba-admin-mode) .secondary,body:not(.raghba-admin-mode) .outline{
 border-color:#8c5673;background:#301d2d;border-radius:12px
}
body:not(.raghba-admin-mode) .shell{
 max-width:1670px;
 grid-template-columns:minmax(200px,235px) minmax(0,1fr) minmax(230px,278px);
 gap:clamp(14px,1.5vw,25px);
 padding:26px clamp(14px,2vw,33px) 100px
}
body:not(.raghba-admin-mode) .side{
 border-radius:19px;max-height:calc(100vh - 108px);overflow-y:auto;
 background:linear-gradient(148deg,#311c2c,#1c121d);border:1px solid #6a3b55;
 box-shadow:0 10px 38px #0000002b;top:100px;padding:11px 10px 17px;
 scrollbar-width:thin;scrollbar-color:#75445e transparent
}
body:not(.raghba-admin-mode) .side-label{
 color:#f2a6c5;font-size:11px;letter-spacing:.55px;padding:13px 13px 9px;
 border-top:1px solid #603852;margin-top:10px
}
body:not(.raghba-admin-mode) .side-label:first-child{border:0;margin-top:0}
body:not(.raghba-admin-mode) .side button{
 font-size:13px;padding:9px 12px;min-height:41px;border-radius:10px;color:#e8cbdc;
 gap:12px;transition:background .16s
}
body:not(.raghba-admin-mode) .side button:hover{background:#563149}
body:not(.raghba-admin-mode) .side button.active{
 background:linear-gradient(110deg,#973362,#50223f);border:1px solid #cf6c95;color:#fff;
 box-shadow:0 2px 13px #ba3d7844
}
body:not(.raghba-admin-mode) .right{top:100px}
body:not(.raghba-admin-mode) .info-card{
 background:linear-gradient(152deg,#42253a,#221625);
 border:1px solid #7d4a66;border-radius:19px;padding:22px 21px;
 box-shadow:0 9px 28px #00000022
}
body:not(.raghba-admin-mode) .info-card:first-child{
 background:radial-gradient(circle at 100% 0,#98477355,transparent 60%),linear-gradient(145deg,#4b263e,#241725)
}
body:not(.raghba-admin-mode) .info-card h3{font-size:19px;line-height:1.55;color:#fff2f7}
body:not(.raghba-admin-mode) .info-card p{font-size:13px;line-height:1.95;color:#dac3d2}
body:not(.raghba-admin-mode) .info-card .eyebrow{font-weight:700}
body:not(.raghba-admin-mode) .info-card.compact{background:#261827}
body:not(.raghba-admin-mode) .small-links{flex-wrap:wrap;gap:8px 10px;line-height:2}
body:not(.raghba-admin-mode) .main{min-width:0}
body:not(.raghba-admin-mode) .hero{
 background:linear-gradient(118deg,#321929,#32162b80 56%,#1b1421),
 radial-gradient(circle at 0 0,#a7386b,transparent 55%);
 border:1px solid #94516f;border-radius:23px;
 padding:clamp(26px,3.3vw,51px) clamp(22px,3vw,45px);
 min-height:255px;margin-bottom:18px;
 box-shadow:0 13px 39px #10050d50,inset 0 1px #ffffff12;
 isolation:isolate
}
body:not(.raghba-admin-mode) .hero:before{
 content:"";position:absolute;inset:-40% -15% -45% -60%;z-index:-1;pointer-events:none;
 background:radial-gradient(ellipse 44% 20% at 34% 50%,#ee68924c,transparent 75%),
 radial-gradient(ellipse 75% 15% at 47% 37%,#ec7aa16e,transparent 75%),
 radial-gradient(ellipse 75% 16% at 48% 56%,#a6377155,transparent 75%);
 transform:rotate(-16deg);filter:blur(6px)
}
body:not(.raghba-admin-mode) .hero:after{
 content:"";position:absolute;width:37%;height:155%;left:-4%;top:-24%;font-size:0;
 background:radial-gradient(ellipse at 35% 65%,#f483ac5a,transparent 55%);
 filter:blur(34px);opacity:.4;pointer-events:none
}
body:not(.raghba-admin-mode) .hero .badge{
 border-color:#e991b485;background:#7e355565;color:#ffd1e3;padding:6px 12px;font-weight:700
}
body:not(.raghba-admin-mode) .hero h1{
 font-size:clamp(29px,3.4vw,49px);line-height:1.37;
 margin:17px 0 11px;max-width:680px;color:#fff8fc;
 text-shadow:0 4px 18px #1a0916
}
body:not(.raghba-admin-mode) .hero p{font-size:clamp(13px,1.07vw,16px);max-width:600px;line-height:2;margin:12px 0 23px;color:#f3dce8}
body:not(.raghba-admin-mode) .hero .actions{gap:11px}
body:not(.raghba-admin-mode) .hero .actions button{min-height:43px}
body:not(.raghba-admin-mode) .mini-grid{
 grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 26px
}
body:not(.raghba-admin-mode) .mini{
 min-height:125px;border-radius:16px;border:1px solid #85516c;
 background:linear-gradient(148deg,#4b263b,#261824);
 padding:18px 12px;position:relative;overflow:hidden;
 box-shadow:0 7px 20px #1306102f;transition:transform .16s,border-color .16s
}
body:not(.raghba-admin-mode) .mini:nth-child(4n+1){background:linear-gradient(135deg,#69364c,#281b2e)}
body:not(.raghba-admin-mode) .mini:nth-child(4n+2){background:linear-gradient(135deg,#492b45,#291925)}
body:not(.raghba-admin-mode) .mini:nth-child(4n+3){background:linear-gradient(135deg,#5c2e3b,#2b1b28)}
body:not(.raghba-admin-mode) .mini:nth-child(4n){background:linear-gradient(135deg,#49304e,#231823)}
body:not(.raghba-admin-mode) .mini:after{
 content:"";position:absolute;left:-34px;bottom:-44px;width:112px;height:112px;border-radius:50%;
 background:#f8a0c02a;filter:blur(24px);pointer-events:none
}
body:not(.raghba-admin-mode) .mini strong{font-size:15px;color:#ffe5f0;line-height:1.5}
body:not(.raghba-admin-mode) .mini span{color:#dcb9c9;font-size:11px;display:block;margin-top:6px}
body:not(.raghba-admin-mode) .mini:hover{transform:translateY(-3px);border-color:#f398bb}
body:not(.raghba-admin-mode) .section-head{margin:22px 0 15px}
body:not(.raghba-admin-mode) .section-head h2{font-size:clamp(18px,1.5vw,24px)}
body:not(.raghba-admin-mode) .card{
 border-radius:18px;border-color:#75465f;
 background:linear-gradient(154deg,#341f30,#211722);
 padding:clamp(17px,2vw,26px);box-shadow:0 7px 23px #00000027;
 margin-bottom:14px
}
body:not(.raghba-admin-mode) .card:hover{border-color:#c26c97}
body:not(.raghba-admin-mode) .card h3{font-size:clamp(18px,1.4vw,22px);line-height:1.56;color:#ffedf5}
body:not(.raghba-admin-mode) .card p{line-height:2;color:#ddc5d3;font-size:13px}
body:not(.raghba-admin-mode) .card-actions{border-color:#6a4058;gap:14px}
body:not(.raghba-admin-mode) .card-actions button,
body:not(.raghba-admin-mode) .card-actions a{
 min-height:34px;border-radius:9px;color:#e9b8d0;font-size:12px;
 display:inline-flex;align-items:center
}
body:not(.raghba-admin-mode) .avatar{width:37px;height:37px;background:linear-gradient(135deg,#d25e8a,#6b3356)}
body:not(.raghba-admin-mode) .tag{border-color:#8c5571;background:#5c2e48}
body:not(.raghba-admin-mode) .form-card,
body:not(.raghba-admin-mode) .empty{border-color:#78506a;background:linear-gradient(145deg,#312033,#1d1622);border-radius:18px}
body:not(.raghba-admin-mode) :is(button,a,input,textarea,select):focus-visible{outline:2px solid #faa9ca;outline-offset:3px}
body:not(.raghba-admin-mode) .mobile-nav{background:#211221f8;border-color:#89526d;box-shadow:0 -10px 30px #0005}
body:not(.raghba-admin-mode) .mobile-nav button:nth-child(3){
 background:linear-gradient(145deg,#e95e95,#a32761);border:1px solid #f59fc1;
 border-radius:14px;min-width:45px;max-height:55px;box-shadow:0 0 20px #bc2f715e
}
body:not(.raghba-admin-mode) .mobile-nav small{font-weight:600}
@media(min-width:821px) and (max-width:1250px){
 body:not(.raghba-admin-mode) .shell{grid-template-columns:190px minmax(0,1fr);gap:16px}
 body:not(.raghba-admin-mode) .right{display:none}
 body:not(.raghba-admin-mode) .mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
 body:not(.raghba-admin-mode) .shell{display:block;padding:15px 12px 104px}
 body:not(.raghba-admin-mode) .side,body:not(.raghba-admin-mode) .right{display:none}
 body:not(.raghba-admin-mode) .top-inner{padding:9px 13px;min-height:64px}
 body:not(.raghba-admin-mode) .brand{font-size:22px}
 body:not(.raghba-admin-mode) .brand-icon{width:38px;height:38px}
 body:not(.raghba-admin-mode) .hero{padding:28px 19px;min-height:0}
 body:not(.raghba-admin-mode) .hero h1{font-size:clamp(27px,7vw,40px)}
 body:not(.raghba-admin-mode) .hero .actions button{font-size:12px}
 body:not(.raghba-admin-mode) .mini-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body:not(.raghba-admin-mode) .mini{min-height:111px;padding:17px 13px}
 body:not(.raghba-admin-mode) .card h3{font-size:18px}
 body:not(.raghba-admin-mode) .mobile-nav{padding:7px 6px calc(7px + env(safe-area-inset-bottom))}
}
@media(min-width:821px) and (max-width:1024px){
 body:not(.raghba-admin-mode) .desktop-nav button{padding:8px;font-size:12px}
}
@media(max-width:410px){
 body:not(.raghba-admin-mode) .hero{padding:24px 16px}
 body:not(.raghba-admin-mode) .hero .actions{gap:8px}
 body:not(.raghba-admin-mode) .hero .actions button{padding:10px}
 body:not(.raghba-admin-mode) .mini strong{font-size:13px}
 body:not(.raghba-admin-mode) .mini span{font-size:10px}
 body:not(.raghba-admin-mode) .card{padding:16px}
 body:not(.raghba-admin-mode) .head-actions{gap:3px}
}
@media(prefers-reduced-motion:reduce){body:not(.raghba-admin-mode) .mini{transition:none}}
body:not(.raghba-admin-mode) .premium-right-links{display:grid;gap:6px;margin-top:12px}
body:not(.raghba-admin-mode) .premium-right-links button{display:flex;align-items:center;text-align:right;padding:9px 10px;border-radius:10px;border:1px solid transparent;color:#f6d4e5;background:#3f2638;font-size:13px}
body:not(.raghba-admin-mode) .premium-right-links button:hover{background:#623752;border-color:#a66688}


/* raghba-reference-home.css */
/* Reference-matched RAGHBA homepage — scope to homepage; preserve other pages/admin. */
body.rb-home-active:not(.raghba-admin-mode){
 background:radial-gradient(ellipse at 15% 0%,#6b2b5060,transparent 31%),
 radial-gradient(ellipse at 105% 14%,#4f183848,transparent 32%),#120b15;
}
body.rb-home-active:not(.raghba-admin-mode) .shell{
 max-width:1450px;
 grid-template-columns:minmax(0,1fr) 247px;
 gap:15px;
 padding:20px 22px 75px;
}
body.rb-home-active:not(.raghba-admin-mode) .side{display:none}
body.rb-home-active:not(.raghba-admin-mode) .main{min-width:0;grid-column:1}
body.rb-home-active:not(.raghba-admin-mode) .right{grid-column:2;display:block;top:94px}
.rb-home{display:grid;gap:15px;min-width:0}
.rb-home button,.rb-home a{transition:background-color .14s,border-color .14s,transform .14s}
.rb-hero{
 position:relative;overflow:hidden;isolation:isolate;border-radius:18px;min-height:255px;
 padding:26px clamp(19px,3.2vw,42px);
 display:flex;justify-content:flex-start;align-items:center;
 border:1px solid #86516d;
 background:linear-gradient(270deg,#291224ee 3%,#321629ee 40%,#29102368 79%,#27121b88 100%),
 url('/assets/rb-hero-scene.svg') center center/cover no-repeat;
 box-shadow:inset 0 1px #e89bbb25,0 14px 32px #09040955;
}
.rb-hero-copy{position:relative;z-index:2;max-width:65%;margin-right:0}
.rb-eyebrow{display:inline-block;border:1px solid #ab6788;background:#5f29486a;
 color:#f2b6d3;font-size:11px;font-weight:700;padding:3px 10px;border-radius:30px}
.rb-hero h1{color:#fff8fc;font-size:clamp(26px,2.7vw,41px);line-height:1.42;margin:13px 0 10px;font-weight:800;text-shadow:0 3px 18px #1207116b}
.rb-hero p{max-width:600px;color:#efd6e4;font-size:clamp(12px,1vw,14px);line-height:1.95;margin:0 0 16px}
.rb-hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.rb-hero-actions button{min-height:40px;padding:8px 15px!important;font-size:12px}
.rb-topic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.rb-topic{min-width:0;min-height:117px;position:relative;overflow:hidden;isolation:isolate;
 display:flex;align-items:flex-end;justify-content:center;text-align:center;padding:14px 8px;
 background:linear-gradient(152deg,#503049,#291726);
 border:1px solid #87516e;border-radius:14px;box-shadow:0 9px 20px #0003;
}
.rb-topic:before{content:"";position:absolute;inset:0;z-index:-2;opacity:.65;
 background:url('/assets/rb-hero-scene.svg') center/cover no-repeat;
 filter:saturate(1.2)}
.rb-topic-amber:before{background-position:12% 49%;background-size:auto 230%}
.rb-topic-rose:before{background-position:54% 14%;background-size:auto 235%}
.rb-topic-books:before{background-position:35% 91%;background-size:auto 205%;filter:saturate(.65)}
.rb-topic-flowers:before{background-position:37% 20%;background-size:auto 245%;filter:saturate(1.35)}
.rb-topic:after{content:"";position:absolute;inset:0;z-index:-1;
 background:linear-gradient(0deg,#190b19f5 4%,#2111248e 35%,#2914251c 90%)}
.rb-topic-art{position:absolute;top:4px;left:12px;font-size:42px;color:#f3c6d7;text-shadow:0 8px 25px #0007;opacity:.65}
.rb-topic-name{position:relative;z-index:2;font-weight:800;font-size:14px;color:#fff5fa;text-shadow:0 2px 7px #120511}
.rb-topic:hover{transform:translateY(-2px);border-color:#f2a8c7}
.rb-feature-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.94fr);gap:13px;align-items:stretch}
.rb-panel{min-width:0;overflow:hidden;border:1px solid #71435b;border-radius:17px;
 background:linear-gradient(154deg,#401f34,#251625);padding:15px 13px 13px;
 box-shadow:0 8px 23px #06030724}
.rb-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;
 flex-wrap:wrap;padding:2px 3px 12px;border-bottom:1px solid #684058}
.rb-panel-head h2{font-size:clamp(14px,1.2vw,18px);font-weight:800;line-height:1.5;margin:0;color:#fff5fa}
.rb-panel-head button{font-size:11px;padding:6px 8px;border-radius:8px;color:#f4aacc;white-space:nowrap}
.rb-panel-head button:hover{background:#713f5b}
.rb-filter{display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:wrap;padding:10px 0 12px}
.rb-filter button{border:1px solid #77506b;color:#e1c2d1;background:#3a2434;font-size:10px;padding:6px 10px;border-radius:22px}
.rb-filter button.selected{background:linear-gradient(100deg,#e4578b,#a42c61);color:#fff;border-color:#ea7aab}
.rb-social-list,.rb-article-list{display:grid;align-content:start;gap:10px}
.rb-social-card{min-width:0;border:1px solid #6c3d56;border-radius:13px;background:linear-gradient(140deg,#42243a,#291929);padding:13px 14px;overflow-wrap:anywhere}
.rb-social-author{display:flex;align-items:center;gap:8px;min-width:0}
.rb-social-avatar{flex:none;display:grid;place-items:center;border-radius:50%;width:32px;height:32px;
 background:linear-gradient(120deg,#f18bae,#91365e);font-weight:800;color:#fff}
.rb-social-author strong{font-size:12px;color:#fbe4f0;line-height:1.3}
.rb-social-author small{display:block;color:#d7acc1;font-size:10px;margin-top:2px}
.rb-social-menu{margin-right:auto;color:#eac5d8;font-size:19px}
.rb-social-card h3{margin:10px 0 6px;font-size:clamp(13px,1.06vw,16px);line-height:1.5;color:#fff5fc}
.rb-social-card h3 a:hover{color:#ffacd0}
.rb-social-card p{font-size:11px;line-height:1.8;color:#dfc4d4;white-space:normal;margin:0 0 10px}
.rb-social-actions{display:flex;align-items:center;gap:13px;border-top:1px solid #613650;padding-top:9px}
.rb-social-actions button,.rb-social-actions a{display:inline-flex;align-items:center;gap:4px;color:#efc3d7;font-size:15px;padding:2px;border-radius:6px}
.rb-social-actions span{font-size:11px}
.rb-social-actions .rb-grow{flex:1}
.rb-social-actions button:first-child{color:#ff83ac}
.rb-social-actions button:hover,.rb-social-actions a:hover{color:#fff}
.rb-article-card{display:flex;align-items:center;gap:10px;min-width:0;padding:9px;
 background:#2a1828;border:1px solid #71425b;border-radius:12px;min-height:89px}
.rb-article-art{display:grid;place-items:center;width:82px;height:68px;border-radius:10px;
 flex:none;overflow:hidden;color:#ffe3ed;font-size:29px;text-shadow:0 4px 15px #0007;
 background:linear-gradient(135deg,#5e3454,#ab5674)}
.rb-art-0{background:radial-gradient(circle at 24% 25%,#d9b68b,#83445d 39%,#3e2039 85%)}
.rb-art-1{background:radial-gradient(circle at 60% 38%,#eab0b9,#884562 46%,#382236 85%)}
.rb-art-2{background:radial-gradient(circle at 35% 60%,#db9e7d,#78445a 35%,#221928 90%)}
.rb-art-3{background:radial-gradient(circle at 30% 35%,#e9b4aa,#954769 30%,#392439 90%)}
.rb-article-text{min-width:0;flex:1}
.rb-article-text h3{font-size:12px;line-height:1.7;margin:0 0 6px;color:#ffebf4}
.rb-article-text h3 a:hover{color:#ffacce}
.rb-article-text p{font-size:10px;color:#dbb0c4;margin:0}
.rb-bottom-grid .rb-social-card{background:#352039}
.rb-bottom-grid .rb-social-card p{max-height:75px;overflow:hidden}
.rb-bottom-grid .rb-panel{min-height:210px}
.rb-home-cta{display:flex;justify-content:space-between;align-items:center;gap:20px;
 background:linear-gradient(100deg,#45273c,#2b1a29);border:1px solid #80516e;
 border-radius:17px;padding:19px 22px}
.rb-home-cta h2{font-size:18px;margin:0 0 5px}
.rb-home-cta p{font-size:12px;color:#e9c5d7;margin:0}
.rb-home-cta button{flex:none}
.rb-loading,.rb-empty{text-align:center;color:#deb7cb;font-size:12px;padding:19px 8px;line-height:1.7}
.rb-empty button{text-decoration:underline;color:#ffb1d1}
body.rb-home-active:not(.raghba-admin-mode) .right>.info-card{margin-bottom:13px}
body.rb-home-active:not(.raghba-admin-mode) .right>.info-card h3{font-size:17px;margin:8px 0}
body.rb-home-active:not(.raghba-admin-mode) .right>.info-card p{font-size:12px;margin:8px 0 15px}
body.rb-home-active:not(.raghba-admin-mode) .right>.info-card .premium-right-links button{background:transparent;border:0;border-radius:7px;padding:7px 6px}
body.rb-home-active:not(.raghba-admin-mode) .right>.info-card .premium-right-links button:hover{background:#64364f}
body.rb-home-active:not(.raghba-admin-mode) .right .rb-sidebar-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
body.rb-home-active:not(.raghba-admin-mode) .right .rb-sidebar-tags button{padding:6px 9px;font-size:11px;color:#fad1e4;border:1px solid #955474;border-radius:16px;background:#381b30}
body.rb-home-active:not(.raghba-admin-mode) .right .rb-premium-join{text-align:center;
 background:radial-gradient(circle at 48% 20%,#9c3e6d78,transparent 45%),linear-gradient(140deg,#4b1d36,#261323)}
body.rb-home-active:not(.raghba-admin-mode) .right .rb-premium-join .rb-crown{display:grid;place-items:center;
 margin:4px auto 11px;width:63px;height:63px;border:1px solid #eb85b2;border-radius:50%;
 color:#efc691;font-size:32px;box-shadow:0 0 22px #e3569790}
#rbMobileMenuBtn{display:none}
#rbMobileMenu[hidden]{display:none!important}
@media(min-width:821px) and (max-width:1150px){
 body.rb-home-active:not(.raghba-admin-mode) .shell{grid-template-columns:minmax(0,1fr) 220px;padding:16px}
 .rb-hero-copy{max-width:76%}
 .rb-topic-name{font-size:12px}
 .rb-feature-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
}
@media(max-width:820px){
 body.rb-home-active:not(.raghba-admin-mode) .shell{display:block;padding:12px 11px 105px}
 body.rb-home-active:not(.raghba-admin-mode) .main{width:100%}
 body.rb-home-active:not(.raghba-admin-mode) .right{display:none}
 #rbMobileMenuBtn{display:inline-flex!important;font-size:22px;align-items:center;justify-content:center;order:4}
 #rbMobileMenu{position:fixed;z-index:19;top:64px;right:0;left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;padding:13px;background:#281625f9;border-bottom:1px solid #8f5273;box-shadow:0 11px 24px #0008}
 #rbMobileMenu button{padding:10px;color:#ffe2f0;border:1px solid #75425f;background:#3c2336;border-radius:10px;font-size:12px}
 .rb-hero{min-height:250px;padding:27px 20px;background:
 linear-gradient(270deg,#2d1426da,#27142788 55%,#25102099),url('/assets/rb-hero-scene.svg') left center/cover no-repeat}
 .rb-hero-copy{max-width:90%}
 .rb-hero h1{font-size:clamp(25px,5.4vw,35px)}
 .rb-hero p{max-width:450px;font-size:12px}
 .rb-topic-grid{gap:8px}
 .rb-topic{min-height:105px;padding:11px 5px}
 .rb-topic-name{font-size:12px}
 .rb-feature-grid{grid-template-columns:1fr;gap:12px}
 .rb-articles-panel{order:1}.rb-community-panel{order:2}
 .rb-panel-head h2{font-size:17px}
 .rb-social-card h3{font-size:15px}
 .rb-article-card{min-height:90px}
 .rb-home-cta{padding:16px;flex-wrap:wrap}
}
@media(max-width:430px){
 .rb-hero{min-height:233px;padding:21px 17px}
 .rb-eyebrow{font-size:9px}
 .rb-hero-copy{max-width:100%}
 .rb-hero h1{font-size:28px;max-width:310px;margin:10px 0}
 .rb-hero p{font-size:11px;max-width:315px}
 .rb-hero-actions button{font-size:11px;min-height:36px;padding:8px 10px!important}
 .rb-topic-grid{gap:6px}
 .rb-topic{min-height:91px;padding:8px 2px;border-radius:11px}
 .rb-topic-name{font-size:10px;line-height:1.5}
 .rb-topic-art{font-size:29px;left:5px;top:5px}
 .rb-panel{padding:12px 10px}
 .rb-social-card{padding:11px}
 .rb-social-card h3{font-size:14px}
 .rb-social-card p{font-size:11px}
 .rb-home-cta h2{font-size:16px}
}

/* Reference review refinements: compact balanced columns and top action */
body.rb-home-active:not(.raghba-admin-mode) .rb-feature-grid:not(.rb-bottom-grid)>.rb-panel{min-height:370px}
.rb-social-card:not(.rb-social-short)>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rb-social-card:not(.rb-social-short){padding:10px 12px}
.rb-article-card{min-height:78px;padding:8px}
.rb-article-art{height:59px;width:72px}
.rb-header-write{font-size:12px;white-space:nowrap;padding:9px 14px!important}
body.rb-home-active:not(.raghba-admin-mode) .right #rbSidebarTopics h3{font-size:16px}
@media(max-width:820px){.rb-header-write{display:none!important}}
/* Visual assets taken from the user-approved reference; keep UI labels and buttons live. */
body.rb-home-active:not(.raghba-admin-mode) .rb-hero{
 background:
  linear-gradient(270deg,#271120fa 3%,#2a1427f2 38%,#291424aa 63%,#25101b12 100%) 0 0/100% 100% no-repeat,
  url('/assets/rb-reference-photo.jpg') left center/62% 100% no-repeat,
  linear-gradient(120deg,#4e233d,#25111f) 0 0/100% 100% no-repeat;
}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic:before{
 background-image:url('/assets/rb-reference-categories.jpg');
 background-size:400% 145%;background-repeat:no-repeat;opacity:.93;filter:none;
}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-flowers:before{background-position:0% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-books:before{background-position:33.333% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-rose:before{background-position:66.666% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-amber:before{background-position:100% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic:after{background:linear-gradient(0deg,#1e0d1bf7 0%,#31172ca3 34%,#220f2112 90%)}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-art{opacity:.27}
@media(max-width:820px){body.rb-home-active:not(.raghba-admin-mode) .rb-hero{
 background:linear-gradient(280deg,#34182ad4,#6327418e 60%,#311526e6),url('/assets/rb-hero-scene.svg') left center/cover no-repeat}}
/* Display reference-photo crop directly on category surfaces (not behind parent). */
body.rb-home-active:not(.raghba-admin-mode) .rb-topic{
 background-image:url('/assets/rb-reference-categories.jpg');
 background-size:400% 145%;background-repeat:no-repeat;
 background-color:#45263b;
}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic:before{display:none}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-flowers{background-position:0% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-books{background-position:33.333% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-rose{background-position:66.666% 0%}
body.rb-home-active:not(.raghba-admin-mode) .rb-topic-amber{background-position:100% 0%}

/* Responsive visual parity with the approved photo-led reference. */
@media(max-width:820px){
 body.rb-home-active:not(.raghba-admin-mode) .rb-hero{
  background:linear-gradient(270deg,#271120fb 0%,#2a1427e8 43%,#29142480 72%,#25101b25 100%) 0 0/100% 100% no-repeat,url('/assets/rb-reference-photo.jpg') left center/auto 100% no-repeat,linear-gradient(120deg,#4e233d,#25111f);
 }
}
@media(max-width:560px){
 body.rb-home-active:not(.raghba-admin-mode) .rb-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.rb-home-active:not(.raghba-admin-mode) .rb-topic{min-height:112px}
 body.rb-home-active:not(.raghba-admin-mode) .rb-topic-name{font-size:12px}
}
@media(max-width:360px){
 body.rb-home-active:not(.raghba-admin-mode) .rb-hero-actions button{flex:1;min-width:0}
 body.rb-home-active:not(.raghba-admin-mode) .rb-hero h1{font-size:24px}
}

/* First-paint guard: the legacy sidebar/layout never becomes visible on the homepage. */
html.rb-initial-home body:not(.raghba-admin-mode) .shell{max-width:1450px;grid-template-columns:minmax(0,1fr) 247px;gap:15px;padding:20px 22px 75px}
html.rb-initial-home body:not(.raghba-admin-mode) .side{display:none!important}
html.rb-initial-home body:not(.raghba-admin-mode) .main{grid-column:1;min-width:0}
html.rb-initial-home body:not(.raghba-admin-mode) .right{grid-column:2}
@media(max-width:820px){html.rb-initial-home body:not(.raghba-admin-mode) .shell{display:block;padding:12px 11px 105px}html.rb-initial-home body:not(.raghba-admin-mode) .right{display:none!important}}

/* RAGHBA four-pillar homepage, unique feed modules and responsive editorial layout */
.rb-pillars{display:grid;gap:12px;min-width:0}
.rb-pillars-heading{padding:0 3px}.rb-pillars-heading h2{font-size:20px;margin:3px 0 1px;color:#fff5f9}
body.rb-home-active:not(.raghba-admin-mode) .rb-pillars .rb-topic{min-height:188px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;text-align:right;padding:16px;gap:6px}
.rb-pillars .rb-topic-name{font-size:16px;line-height:1.4}
.rb-topic-desc{position:relative;z-index:2;display:block;font-size:11px;color:#f5dbe8;line-height:1.75;text-shadow:0 1px 5px #150613}
.rb-topic-cta{position:relative;z-index:2;font-weight:700;font-size:11px;color:#ffadc9;margin-top:3px}
.rb-feed-note{font-size:11px;color:#dcb7cc;padding:3px 0 0}
.rb-editorial-tabs{padding:10px 0!important}
.rb-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.rb-service-card{min-width:0;border:1px solid #825071;border-radius:16px;padding:19px;background:linear-gradient(130deg,#48243d,#291728)}
.rb-service-card>span{font-weight:700;color:#f39ac0;font-size:12px}
.rb-service-card h2{font-size:19px;margin:8px 0;color:#fff5f9}
.rb-service-card p{font-size:12px;color:#ead0dd;line-height:1.85;min-height:47px}
.rb-service-card button{font-size:12px}
@media(max-width:820px){body.rb-home-active:not(.raghba-admin-mode) .rb-pillars .rb-topic{min-height:165px}.rb-services{gap:10px}}
@media(max-width:560px){.rb-pillars .rb-topic-name{font-size:14px}.rb-topic-desc{font-size:10px}.rb-services{grid-template-columns:1fr}.rb-service-card p{min-height:0}}
@media(max-width:360px){body.rb-home-active:not(.raghba-admin-mode) .rb-pillars .rb-topic{padding:11px;min-height:190px}}

/* Approved 10-section navigation and VIP introduction */
.desktop-nav{gap:2px!important;flex-wrap:wrap;justify-content:center}
.desktop-nav button{padding:7px 6px!important;font-size:11px!important;white-space:nowrap}
.top-inner{gap:14px!important;max-width:1570px}
.rb-vip-promo{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #95637c;background:linear-gradient(110deg,#43243e,#2a192d);border-radius:16px;padding:19px 22px}
.rb-vip-promo h2{margin:4px 0;font-size:20px}.rb-vip-promo p{margin:0;color:#e5c1d2;font-size:12px}
.rb-vip-page{border:1px solid #79516c;border-radius:18px;background:linear-gradient(150deg,#3c2135,#1e1522);padding:clamp(20px,4vw,40px)}
.rb-vip-heading h1{font-size:clamp(26px,4vw,39px);margin:9px 0}.rb-vip-heading p{max-width:740px;color:#e9c9d8}
.rb-vip-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}
.rb-vip-benefits article{border:1px solid #71455d;background:#342138;padding:18px;border-radius:14px}
.rb-vip-benefits article strong{font-size:16px;color:#fbe3ef}.rb-vip-benefits article p,.rb-vip-notice{font-size:12px;color:#dcbccc}
@media(max-width:1300px){.desktop-nav button{font-size:10px!important;padding:6px 4px!important}}
@media(max-width:1100px){.desktop-nav{display:none!important}}
@media(max-width:680px){.rb-vip-benefits{grid-template-columns:1fr}.rb-vip-promo{padding:16px}}

/* Visual QA: high-resolution hero, deliberate card artwork, consistent first paint */
body.rb-home-active:not(.raghba-admin-mode) .rb-hero {
 background:linear-gradient(270deg,#271120fb 0%,#2a1427f2 36%,#29142494 66%,#25101b23 100%),url('/assets/rb-hero-scene.svg') center/cover no-repeat,linear-gradient(120deg,#4e233d,#25111f)!important;
 min-height:270px;
}
body.rb-home-active:not(.raghba-admin-mode) .rb-pillars .rb-topic {background-image:none!important;isolation:isolate;position:relative;box-shadow:inset 0 1px #ffffff13,0 9px 27px #08040940;}
.rb-pillars .rb-topic:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(0deg,#1b0d1ceb,#30132940 65%,transparent);}
.rb-pillars .rb-topic-rose{background:radial-gradient(circle at 13% 11%,#8d3e75ad,transparent 51%),linear-gradient(145deg,#542a4e,#251528)!important}
.rb-pillars .rb-topic-books{background:radial-gradient(circle at 75% 15%,#b16470ad,transparent 55%),linear-gradient(145deg,#4b293d,#211629)!important}
.rb-pillars .rb-topic-flowers{background:radial-gradient(circle at 15% 10%,#7c4d9ab0,transparent 54%),linear-gradient(145deg,#3f284b,#211628)!important}
.rb-pillars .rb-topic-amber{background:radial-gradient(circle at 80% 16%,#a76d45a8,transparent 60%),linear-gradient(145deg,#493341,#241826)!important}
.rb-pillars .rb-topic-art{font-size:38px!important;opacity:.65!important;top:12px!important;left:16px!important}
.rb-pillars .rb-topic:hover,.rb-pillars .rb-topic:focus-visible{transform:translateY(-3px);border-color:#ed94b9;box-shadow:0 15px 36px #0007}
.rb-pillars .rb-topic:focus-visible,.rb-home button:focus-visible{outline:2px solid #f7a9cb;outline-offset:3px}
.rb-pillars-heading h2{font-size:22px;line-height:1.4}
.rb-topic-desc{max-width:265px}
.rb-home-cta,.rb-vip-promo{box-shadow:inset 0 1px #ffffff0c}
@media(max-width:820px){body.rb-home-active:not(.raghba-admin-mode) .rb-hero{background:linear-gradient(270deg,#271120f8 0%,#2a1427d9 56%,#25101b4b 100%),url('/assets/rb-hero-scene.svg') 35% center/cover no-repeat!important;min-height:250px}}
@media(max-width:430px){body.rb-home-active:not(.raghba-admin-mode) .rb-hero{min-height:252px}.rb-hero h1{font-size:26px!important}.rb-hero p{font-size:12px!important}.rb-pillars-heading h2{font-size:20px}.rb-topic-desc{font-size:11px}.rb-pillars .rb-topic-name{font-size:14px}}
@media(prefers-reduced-motion:reduce){.rb-home button,.rb-home a{transition:none!important}}

/* Functional self-reflection quizzes */
.rb-tests-page{border:1px solid #79516c;border-radius:18px;background:linear-gradient(155deg,#352035,#211522);padding:clamp(17px,3vw,32px)}
.rb-tests-page h1{font-size:clamp(25px,3vw,34px);margin:6px 0}.rb-tests-page>p{color:#e1c4d3}
.rb-test-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.rb-test-tabs button[aria-pressed="true"]{background:#b7336a;border-color:#ef83ad;color:white}
.rb-test-question{border:1px solid #71445e;border-radius:12px;margin:12px 0;padding:15px;display:grid;gap:9px}
.rb-test-question legend{font-weight:700;padding:0 6px}.rb-test-question label{display:flex;align-items:center;gap:8px;cursor:pointer}.rb-test-question input{accent-color:#ec77a7}
.rb-test-result{border:1px solid #a76387;background:#46283e;padding:18px;border-radius:14px;margin-top:14px}.rb-test-result h3{margin:0}.rb-test-result p{color:#f6deeb}

.rb-vip-pricing-title{font-size:20px;margin:20px 0 11px}
.rb-vip-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
.rb-vip-plans article{display:flex;flex-direction:column;gap:5px;border:1px solid #84506d;background:#321f32;border-radius:14px;padding:18px;min-width:0}
.rb-vip-plans article.featured{border-color:#e983b0;background:#4d2b43}
.rb-vip-plans span{color:#f5cce0;font-size:13px}.rb-vip-plans strong{font-size:clamp(23px,3vw,33px);color:#fff}.rb-vip-plans small{color:#d5adc3}
@media(max-width:560px){.rb-vip-plans{grid-template-columns:1fr}.rb-vip-plans article{padding:13px}}

/* 2026-11-05: single navigation system, better readability and no duplicated sidebars. */
body:not(.raghba-admin-mode) .desktop-nav{flex-wrap:nowrap!important;gap:4px!important}
body:not(.raghba-admin-mode) .desktop-nav button{font-size:13px!important;padding:9px 10px!important;white-space:nowrap}
body:not(.raghba-admin-mode) .desktop-nav #rbAllSectionsBtn{border:1px solid #88536f;background:#3a2235;color:#ffcee2}
body:not(.raghba-admin-mode) .top-inner{max-width:1500px;gap:13px!important}
/* User-approved homepage layout now shared by internal public pages. */
body:not(.raghba-admin-mode):not(.rb-home-active) .shell{max-width:1450px;grid-template-columns:minmax(0,1fr) 247px;gap:15px;padding:20px 22px 75px}
body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.side{display:none!important}
body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.main{grid-column:1;min-width:0}
body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.right{grid-column:2;display:block}
/* One menu serves mobile and desktop, with all ten official sections. */
@media(min-width:821px){
 #rbMobileMenu:not([hidden]){display:grid!important;position:fixed;top:75px;left:max(12px,calc((100vw - 1450px)/2));right:auto;z-index:30;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:min(450px,95vw);padding:15px;background:#2c1b2aed;border:1px solid #85526d;border-radius:15px;box-shadow:0 18px 50px #000b}
 #rbMobileMenu button{font-size:13px;text-align:right;background:#3b2336;border:1px solid #75425f;border-radius:9px;color:#ffe4ef;padding:11px}
}
@media(min-width:821px) and (max-width:1190px){body:not(.raghba-admin-mode) .desktop-nav button{font-size:11px!important;padding:8px 6px!important}}
@media(max-width:1100px){body:not(.raghba-admin-mode):not(.rb-home-active) .shell{grid-template-columns:minmax(0,1fr) 220px}body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.right{display:block}}
@media(max-width:820px){body:not(.raghba-admin-mode):not(.rb-home-active) .shell{display:block;padding:12px 11px 105px}body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.right{display:none!important}}

/* Robust hero image: standalone image element prevents missing layered CSS background. */
body.rb-home-active:not(.raghba-admin-mode) .rb-hero{background:#2c1729!important;isolation:isolate}
body.rb-home-active:not(.raghba-admin-mode) .rb-hero-art{display:block!important;position:absolute!important;left:0;top:0;width:63%;height:100%;object-fit:cover;object-position:center;z-index:0;opacity:1;pointer-events:none}
body.rb-home-active:not(.raghba-admin-mode) .rb-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(270deg,#291429 0%,#2b1627d9 30%,#2a142589 57%,transparent 89%);pointer-events:none}
body.rb-home-active:not(.raghba-admin-mode) .rb-hero-copy{z-index:2;position:relative}
@media(max-width:820px){body.rb-home-active:not(.raghba-admin-mode) .rb-hero-art{width:100%;object-position:25% center;opacity:.72}body.rb-home-active:not(.raghba-admin-mode) .rb-hero::after{background:linear-gradient(270deg,#291429ec,#291429c6 58%,#29142959)}}

/* Reliable raster fallback for image rendering and cached SVG issues. */
body.rb-home-active:not(.raghba-admin-mode) .rb-hero{background:#2b1829 url("/assets/rb-hero-art-20261105.png") left center/cover no-repeat!important}
body.rb-home-active:not(.raghba-admin-mode) .rb-hero-art{object-fit:cover;object-position:left center}

/* RAGHBA right-side section drawer */
body:not(.raghba-admin-mode) #rbAllSectionsBtn{position:fixed;z-index:26;right:0;top:164px;display:flex!important;align-items:center;gap:9px;padding:13px 16px;background:linear-gradient(150deg,#d84a86,#8e285d);border:1px solid #f18bb3;border-right:0;border-radius:13px 0 0 13px;color:white;font-weight:800;font-size:13px;box-shadow:0 8px 26px #09030a88;writing-mode:horizontal-tb}
body:not(.raghba-admin-mode) #rbAllSectionsBtn:hover{filter:brightness(1.15)}
#rbSectionsBackdrop[hidden],#rbMobileMenu[hidden]{display:none!important}
#rbSectionsBackdrop:not([hidden]){position:fixed;inset:0;z-index:90;background:#08050bc2;backdrop-filter:blur(3px)}
#rbMobileMenu:not([hidden]){display:flex!important;flex-direction:column;position:fixed!important;z-index:91!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;width:min(390px,90vw)!important;max-width:none!important;height:100dvh!important;max-height:none!important;overflow-y:auto!important;gap:0!important;padding:0 0 18px!important;background:linear-gradient(165deg,#371e33,#190f1e 78%)!important;border:0!important;border-left:1px solid #a05e7d!important;border-radius:18px 0 0 18px!important;box-shadow:-20px 0 65px #000a!important;grid-template-columns:none!important}
.rb-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;padding:27px 23px 18px;border-bottom:1px solid #73445f}.rb-drawer-head span{font-size:11px;color:#f49fc2;font-weight:700}.rb-drawer-head h2{font-size:25px;margin:4px 0;color:#fff1f8}.rb-drawer-head p{color:#d5b3c8;font-size:12px;margin:0}.rb-drawer-head button{font-size:27px!important;line-height:1;width:40px;height:40px;padding:0!important;border-radius:12px!important;background:#513047!important;color:#fff!important}
.rb-drawer-items{display:flex;flex-direction:column;gap:7px;padding:18px 16px!important}.rb-drawer-items button{display:flex;align-items:center;gap:14px;width:100%;min-height:47px;text-align:right!important;color:#fbe4ef!important;background:#382238!important;border:1px solid #64405a!important;border-radius:11px!important;font-size:14px!important;padding:10px 13px!important;transition:background .15s,border-color .15s}.rb-drawer-items button:hover,.rb-drawer-items button:focus-visible{background:#63314f!important;border-color:#db77a3!important}.rb-drawer-icon{width:25px;text-align:center;color:#f5a5c8;font-size:19px}.rb-drawer-arrow{margin-right:auto;color:#dba6c1;font-size:22px}.rb-drawer-foot{margin:auto 22px 8px;color:#cfadc1;font-size:11px;text-align:center;padding-top:25px}body.rb-drawer-open{overflow:hidden}
@media(max-width:820px){body:not(.raghba-admin-mode) #rbAllSectionsBtn{display:none!important}#rbMobileMenuBtn{display:inline-flex!important;align-items:center;justify-content:center;font-size:22px}#rbMobileMenu:not([hidden]){width:min(350px,92vw)!important;border-radius:14px 0 0 14px!important}}
@media(min-width:821px){#rbMobileMenuBtn{display:none!important}}

/* Open right navigation on desktop; no protruding floating tab. */
@media(min-width:821px){
 body:not(.raghba-admin-mode) #rbAllSectionsBtn{display:none!important}
 body:not(.raghba-admin-mode) .shell,
 body.rb-home-active:not(.raghba-admin-mode) .shell,
 html.rb-initial-home body:not(.raghba-admin-mode) .shell,
 body:not(.raghba-admin-mode):not(.rb-home-active) .shell{
  display:grid!important;max-width:1600px!important;grid-template-columns:220px minmax(0,1fr) 210px!important;column-gap:16px!important;padding:20px 18px 75px!important;align-items:start}
 body:not(.raghba-admin-mode) .shell>.side,
 body.rb-home-active:not(.raghba-admin-mode) .shell>.side,
 html.rb-initial-home body:not(.raghba-admin-mode) .shell>.side,
 body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.side{
  display:flex!important;grid-column:1!important;grid-row:1!important;position:sticky;top:94px;max-height:calc(100dvh - 110px);padding:13px 10px 16px;gap:3px;border-radius:17px;overflow-y:auto;overflow-x:hidden;background:linear-gradient(155deg,#3b2334,#211522 66%,#1a1120);border:1px solid #84516c;box-shadow:0 13px 35px #0004}
 body:not(.raghba-admin-mode) .shell>.main,
 body.rb-home-active:not(.raghba-admin-mode) .shell>.main,
 html.rb-initial-home body:not(.raghba-admin-mode) .shell>.main{grid-column:2!important;grid-row:1!important;min-width:0}
 body:not(.raghba-admin-mode) .shell>.right,
 body.rb-home-active:not(.raghba-admin-mode) .shell>.right,
 html.rb-initial-home body:not(.raghba-admin-mode) .shell>.right{grid-column:3!important;grid-row:1!important;display:block!important;min-width:0;top:94px}
 body:not(.raghba-admin-mode) .side button{font-size:12px;min-height:38px;padding:7px 10px;border-radius:9px}
 body:not(.raghba-admin-mode) .side .side-label{padding:9px 9px 4px;font-size:10px;color:#e7aac6}
 .rb-side-heading{display:flex;align-items:center;gap:9px;padding:12px 10px 14px;border-bottom:1px solid #72455e;margin-bottom:5px}
 .rb-side-mark{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:10px;color:#ffe2f0;background:linear-gradient(135deg,#ec77a4,#973062);font-size:20px}
 .rb-side-heading strong{display:block;font-size:15px;color:#fff0f7}
 .rb-side-heading small{display:block;font-size:10px;color:#d7b3c8;margin-top:1px}
}
@media(min-width:821px) and (max-width:1300px){
 body:not(.raghba-admin-mode) .shell,body.rb-home-active:not(.raghba-admin-mode) .shell,html.rb-initial-home body:not(.raghba-admin-mode) .shell,body:not(.raghba-admin-mode):not(.rb-home-active) .shell{grid-template-columns:205px minmax(0,1fr)!important;gap:15px!important}
 body:not(.raghba-admin-mode) .shell>.right,body.rb-home-active:not(.raghba-admin-mode) .shell>.right,html.rb-initial-home body:not(.raghba-admin-mode) .shell>.right{display:none!important}
}
@media(max-width:820px){.rb-side-heading{display:none}}

/* Keep the official ten RAGHBA sections at the top; secondary legacy modules are accessible elsewhere. */
@media(min-width:821px){
 .side [data-nav="guides"],.side [data-nav="stories"],.side [data-nav="products"],.side [data-nav="desire"],.side [data-nav="daily"],.side [data-nav="polls"],.side [data-nav="settings"],.side [data-nav="appeals"]{display:none!important}
 .side [data-nav="home"]{margin-top:3px}
}

/* Ensure the section heading never scrolls under the header or clips on refresh. */
@media(min-width:821px){
 body:not(.raghba-admin-mode) .shell>.side{scroll-padding-top:74px;overscroll-behavior:contain}
 body:not(.raghba-admin-mode) .side .rb-side-heading{position:sticky;top:-13px;z-index:4;flex-shrink:0;margin:-13px -10px 6px;padding:18px 15px 14px;background:linear-gradient(160deg,#44273a,#2c1b2a);border-bottom:1px solid #875370;border-radius:16px 16px 0 0;min-height:75px}
 body:not(.raghba-admin-mode) .side .rb-side-heading strong{line-height:1.4}
}

/* Layout polish: natural document scrolling, never a cramped nested scroll rail. */
@media(min-width:821px){
 body:not(.raghba-admin-mode) .shell,body.rb-home-active:not(.raghba-admin-mode) .shell,html.rb-initial-home body:not(.raghba-admin-mode) .shell,body:not(.raghba-admin-mode):not(.rb-home-active) .shell{max-width:1700px!important;grid-template-columns:216px minmax(0,1fr) 195px!important;column-gap:14px!important;padding:20px clamp(12px,1.5vw,24px) 80px!important}
 body:not(.raghba-admin-mode) .shell>.side,body.rb-home-active:not(.raghba-admin-mode) .shell>.side,html.rb-initial-home body:not(.raghba-admin-mode) .shell>.side,body:not(.raghba-admin-mode):not(.rb-home-active) .shell>.side{position:relative!important;top:auto!important;max-height:none!important;height:auto!important;overflow:visible!important;align-self:start;scrollbar-width:none!important;gap:2px!important;padding-bottom:16px!important}
 body:not(.raghba-admin-mode) .side .rb-side-heading{position:relative!important;top:auto!important;z-index:1}
 body:not(.raghba-admin-mode) .side button{min-height:37px!important;font-size:12px!important;padding:7px 11px!important}
 body:not(.raghba-admin-mode) .side .side-label{padding:10px 10px 5px!important}
}
@media(min-width:821px) and (max-width:1320px){
 body:not(.raghba-admin-mode) .shell,body.rb-home-active:not(.raghba-admin-mode) .shell,html.rb-initial-home body:not(.raghba-admin-mode) .shell,body:not(.raghba-admin-mode):not(.rb-home-active) .shell{grid-template-columns:210px minmax(0,1fr)!important}
 body:not(.raghba-admin-mode) .shell>.right,body.rb-home-active:not(.raghba-admin-mode) .shell>.right,html.rb-initial-home body:not(.raghba-admin-mode) .shell>.right{display:none!important}
}

/* User profile photos and privacy-respecting avatar fallbacks */
.rb-member-avatar{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:37px;height:37px;min-width:37px;flex:none;overflow:hidden;border-radius:50%;border:1px solid #d2769e;background:linear-gradient(145deg,#bb4a7d,#713655);color:#fff;font-size:14px;font-weight:700;vertical-align:middle}
.rb-member-avatar>img,.st-avatar>.rb-comment-photo{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#442239}
.rb-member-avatar.avatar-mini{width:34px;height:34px;min-width:34px;font-size:12px}
#authBtn:has(.rb-member-avatar){display:inline-flex;align-items:center;gap:8px;padding:5px 10px;max-width:230px;white-space:nowrap}
#authBtn .rb-member-avatar{width:29px;height:29px;min-width:29px}
#authBtn>span:last-child{overflow:hidden;text-overflow:ellipsis}
.rb-social-author .rb-member-avatar{width:34px;height:34px;min-width:34px}
.rb-comment-author{display:flex;align-items:center;gap:9px;margin-bottom:8px}
#app .form-card>.flex>.rb-member-avatar{width:62px;height:62px;min-width:62px;font-size:25px}
.st-avatar{position:relative;overflow:hidden}.st-avatar>.rb-comment-photo{border-radius:50%}
@media(max-width:450px){#authBtn:has(.rb-member-avatar){max-width:135px}#authBtn .rb-member-avatar{width:26px;height:26px;min-width:26px}}

