:root{--ink:#172c63;--sub:#6478aa;--blue:#2468e9;--violet:#8756e6;--line:#d4defa;--shadow:0 10px 30px rgba(55,87,170,.11);--ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html,body,#app{height:100%;margin:0}body{background:#eaf1ff;color:var(--ink);font-family:'Segoe UI','Tahoma','Arial',sans-serif;font-size:15px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48;filter:grayscale(.4)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #92a9ff;outline-offset:2px}*{scrollbar-color:#a89df1 transparent;scrollbar-width:thin}::selection{background:#a9bdff;color:#112663}
.titlebar{height:51px;display:flex;align-items:center;padding:0 12px 0 18px;background:linear-gradient(113deg,#1b366d 0%,#2861c3 41%,#7662d6 78%,#313e86 100%);color:white;box-shadow:0 2px 12px #203b8633;position:relative;z-index:20}.titlebar:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(154deg,transparent 26%,#8bd9ff45 30%,transparent 39%,transparent 70%,#f0a5ff33 79%,transparent 91%)}.brand{position:relative;display:flex;align-items:center;gap:11px;font-size:20px;letter-spacing:.3px;white-space:nowrap}.brand b{font-weight:450}.brand img{width:32px;height:32px;border-radius:10px;box-shadow:0 2px 7px #101e68a8}.drag-region{flex:1;height:100%;-webkit-app-region:drag}.window-buttons{display:flex;gap:3px;align-self:stretch;-webkit-app-region:no-drag}.window-buttons button{border:0;background:transparent;color:#fff;font:24px 'Segoe UI',sans-serif;width:44px;transition:background .16s ease}.window-buttons button:hover{background:#ffffff22}.window-buttons .close:hover{background:#e44975}
#viewport{height:calc(100% - 51px);overflow:hidden}.screen{height:100%;padding:14px;display:flex;flex-direction:column;gap:14px;background:radial-gradient(ellipse at 70% -20%,#f9e6ff 0,transparent 48%),radial-gradient(ellipse at -20% 100%,#b2d9ff 0,transparent 45%),linear-gradient(135deg,#eaf2ff 0%,#e9edff 63%,#e8e5ff 100%);animation:screenIn .35s var(--ease) both}.screen.exit{animation:screenOut .17s ease both}
@keyframes screenIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes screenOut{to{opacity:0;transform:translateY(-7px)}}
.topnav{height:82px;min-height:82px;padding:12px 16px;display:flex;align-items:center;gap:16px;border:1px solid #ffffffdd;border-radius:20px;background:linear-gradient(120deg,#f8fbffda,#e9edffcb);box-shadow:var(--shadow);backdrop-filter:blur(14px)}.nav-left{display:flex;gap:10px;align-items:center}.nav-search{flex:1;max-width:555px;margin-inline:auto;position:relative}.nav-search input{width:100%;height:49px;border:1px solid #bfcfff;background:#ffffff99;border-radius:25px;padding:0 52px 0 18px;color:#263c7e;box-shadow:inset 0 1px 4px #7a96ed10;transition:box-shadow .2s,border-color .2s,background .2s}.nav-search input:focus{background:#fff;border-color:#9482f7;box-shadow:0 0 0 4px #afa5f42c;outline:none}.nav-search .searchicon{position:absolute;right:20px;top:11px;color:#6249dc;font-size:22px}.iconbutton{height:49px;min-width:49px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d1dbfb;color:#3b4b99;border-radius:16px;background:linear-gradient(145deg,#fff,#e6ebff);box-shadow:0 3px 12px #7389db21;transition:transform .2s var(--ease),background .2s,box-shadow .2s}.iconbutton:hover,.iconbutton.active{transform:translateY(-2px);box-shadow:0 7px 19px #7c7cd23b;background:#e8e3ff}.iconbutton svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.tagline{color:#53679b;white-space:nowrap;font-size:13px}.topnav .spacer{flex:0 1 20px}
.lobby-layout{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:15px}.panel{background:linear-gradient(150deg,#fbfdffde,#f0f4ffcf);border:1px solid #fff;border-radius:24px;box-shadow:0 9px 26px #516ecf20,inset 0 0 0 1px #bacbf162;min-height:0}.rooms-panel{display:flex;flex-direction:column;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 25px 18px;min-height:91px;border-bottom:1px solid #d6e0f5}.panel-heading h1,.countries-panel h2{font-size:25px;margin:0;font-weight:750;color:#10245d;letter-spacing:-.3px}.panel-heading p{margin:4px 0 0;color:var(--sub);font-size:13px}.people-sum{color:#3c568c;display:flex;align-items:center;gap:10px}.online-dot{width:8px;height:8px;background:#1cbc90;border-radius:50%;box-shadow:0 0 0 4px #baf4da}.rooms-scroll{overflow:auto;padding:15px 20px 20px;display:flex;flex-direction:column;gap:11px;min-height:0;flex:1}.room-card{position:relative;min-height:104px;display:flex;align-items:center;gap:16px;padding:15px 15px 13px 20px;border-radius:20px;border:1px solid #cad7fc;background:linear-gradient(120deg,#fdfdff,#ecf1ff);box-shadow:0 3px 11px #7d8aca17;transition:transform .25s var(--ease),border-color .25s,box-shadow .25s,background .25s;animation:cardAppear .3s var(--ease) backwards;animation-delay:calc(var(--i,0)*28ms);cursor:pointer}.room-card:hover{transform:translateY(-3px);border-color:#a3a9ff;box-shadow:0 10px 23px #6982d437}.room-card.featured{min-height:150px;background:radial-gradient(ellipse at 14% 18%,#15cdf34d,transparent 45%),radial-gradient(ellipse at 76% 135%,#d656e983,transparent 60%),linear-gradient(113deg,#345ac8,#466be0 51%,#7153d5);border:1px solid #b8c4ff;color:white;box-shadow:0 9px 23px #5261c75a,inset 0 0 0 1px #ffffff57}.room-card.featured:hover{transform:translateY(-3px) scale(1.002);box-shadow:0 14px 27px #4755b373}.room-card.featured:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(149deg,transparent 20%,#b5e4ff50 22%,transparent 25%,transparent 59%,#eaa4fd59 70%,transparent 76%)}
@keyframes cardAppear{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.room-icon{width:65px;height:65px;flex:none;border-radius:16px;object-fit:cover;background:#dde5fb;box-shadow:0 4px 12px #152c8930}.featured .room-icon{width:84px;height:84px;border:1px solid #9e97ff}.room-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.room-title{font-size:18px;font-weight:750;color:#10245a;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.featured .room-title{font-size:23px;color:#fff}.room-desc{font-size:13px;color:#6c80aa;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.featured .room-desc{color:#e1efff}.room-meta{display:flex;align-items:center;gap:12px;font-size:12px;color:#6278a7;margin-top:5px;flex-wrap:wrap}.featured .room-meta{color:#ecf3ff}.flag{display:inline-flex;align-items:center;gap:5px}.flag img{width:24px;height:17px;object-fit:cover;border-radius:2px;box-shadow:0 1px 3px #0002}.room-badges{display:flex;gap:7px;align-items:center;margin-top:3px}.pill{padding:3px 10px;border-radius:14px;background:#e4ebff;color:#3656ad;font-weight:650;font-size:12px;border:1px solid #cfdbff}.featured .pill{color:#fff;background:#ffffff25;border-color:#ffffff73}.room-actions{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:9px}.heart{font-size:26px;color:#5169b3;line-height:1;background:none;border:0;transition:transform .2s,color .2s}.heart:hover{transform:scale(1.15)}.heart.is-fav{color:#ed608f}.featured .heart{color:#fff}.primary-btn,.small-btn,.text-btn{border:0;font-weight:750;transition:transform .2s var(--ease),box-shadow .2s var(--ease),filter .2s}.primary-btn{background:linear-gradient(115deg,#1478e8,#8c46e7);color:white;padding:11px 20px;border-radius:16px;box-shadow:0 6px 15px #5164d14f;white-space:nowrap}.primary-btn:hover{transform:translateY(-2px);box-shadow:0 10px 21px #5967cc71;filter:saturate(1.14)}.small-btn{border:1px solid #9cb7fb;border-radius:16px;color:#265fcb;background:#f7fbff;padding:8px 20px;white-space:nowrap}.small-btn:hover{background:#dfeaff;transform:translateY(-2px)}.featured .small-btn{background:linear-gradient(120deg,#20b9f7,#6d55ee);color:#fff;border-color:#abddff;box-shadow:0 5px 13px #2031a76a}
.countries-panel{display:flex;flex-direction:column;padding:22px 14px 16px;overflow:hidden}.countries-panel h2{display:flex;justify-content:flex-start;align-items:center;gap:10px;margin:0 10px 17px}.country-list{display:flex;flex-direction:column;overflow:auto;gap:7px;flex:1}.country-item{text-align:right;min-height:72px;display:flex;align-items:center;gap:11px;border:1px solid transparent;border-radius:16px;padding:12px 13px;background:transparent;color:var(--ink);transition:background .22s,transform .22s,border-color .22s,box-shadow .22s}.country-item:hover{background:#ececff;transform:translateX(-3px)}.country-item.active{background:linear-gradient(120deg,#e8e5ff,#dbe8ff);border-color:#bcb5ff;box-shadow:0 4px 15px #857ad52a}.country-item .cflag{width:29px;height:20px;object-fit:cover;flex:none;border-radius:3px}.country-item .cbody{flex:1;min-width:0}.country-item strong{display:block;font-size:15px}.country-item small{display:block;color:#6880b4;font-size:12px;margin-top:3px}.country-arrow{font-size:22px;color:#6657be}.new-room{width:100%;min-height:58px;border-radius:18px;margin-top:12px;font-size:16px}.empty-state{text-align:center;padding:70px 20px;color:#7383aa}.empty-state .empty-icon{font-size:45px;display:block;margin-bottom:12px}
/* Room view: desktop roster left, live chat right; right-to-left text throughout */
.room-screen{padding:12px;gap:10px}.room-toolbar{min-height:70px;height:70px;border-radius:19px;display:flex;align-items:center;gap:13px;padding:11px 19px;color:white;background:radial-gradient(ellipse at 30% -70%,#50ccff91,transparent 65%),linear-gradient(115deg,#2b50b4,#476be3 55%,#7a4ed2);box-shadow:0 7px 19px #3655bc3b}.room-toolbar h1{font-size:21px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.room-toolbar .soft-btn{border:1px solid #ffffff49;color:#fff;background:#ffffff25;border-radius:14px;min-height:39px;padding:0 14px;white-space:nowrap}.room-toolbar .soft-btn:hover{background:#ffffff46}.room-toolbar .back{font-size:21px}.room-grid{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:12px;flex:1;min-height:0}.chat-area,.roster-area{min-height:0;border-radius:22px;background:linear-gradient(135deg,#fdfdffeb,#f2f5ffeb);border:1px solid #fff;box-shadow:var(--shadow),inset 0 0 0 1px #d6e1fb}.chat-area{display:flex;flex-direction:column;overflow:hidden}.chat-tabs{padding:11px 14px 0;border-bottom:1px solid #d8e2fd;min-height:54px}.chat-tab{border:0;padding:9px 24px;border-radius:13px 13px 0 0;background:#e9edff;color:#405588;font-weight:700;margin-left:5px}.chat-tab.active{color:#4f35c5;background:#e8e2ff;border-bottom:3px solid #9356ea}.chat-main{display:flex;flex-direction:column;min-height:0;overflow-y:auto;flex:1;padding:16px 20px 18px;scroll-behavior:smooth}.room-welcome{padding:20px 14px;text-align:center;border:1px solid #cdd8fb;border-radius:20px;min-height:144px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-bottom:16px;background:radial-gradient(ellipse at 35% 20%,#7dd8ff7b,transparent 54%),radial-gradient(ellipse at 95% 90%,#d3a1fa8e,transparent 50%),linear-gradient(130deg,#f3f8ff,#dde7ff);box-shadow:0 5px 17px #7b9be622}.room-welcome img{width:43px;height:43px;border-radius:12px}.room-welcome b{font-size:20px}.room-welcome small{color:#5c6c9f}.message-row{display:flex;gap:12px;align-items:flex-start;margin:8px 0;animation:messageIn .2s var(--ease) both}.message-row.own{flex-direction:row-reverse}.avatar{height:42px;width:42px;border-radius:13px;flex-shrink:0;display:grid;place-items:center;color:#fff;font-size:18px;font-weight:850;background:linear-gradient(138deg,#42bffa,#7463df);box-shadow:0 3px 9px #6073bb35}.message-content{max-width:min(76%,710px);min-width:0}.message-meta{display:flex;gap:9px;align-items:center;color:#8791b2;font-size:11px;margin-bottom:3px}.message-meta strong{color:#5836c6;font-size:13px}.message-body{background:linear-gradient(135deg,#f7f8ff,#e9e9fe);border:1px solid #d8dffa;padding:11px 14px;border-radius:15px 15px 4px 15px;box-shadow:0 2px 6px #869aca17;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap;text-align:start;unicode-bidi:plaintext;direction:rtl}.own .message-body{background:linear-gradient(140deg,#e5f4ff,#e7e8ff);border-radius:15px 15px 15px 4px}.message-row.system{justify-content:center}.system .message-body{background:#e9efffaa;border-radius:30px;color:#6173a3;text-align:center;padding:5px 16px}.time-stamp{unicode-bidi:isolate;direction:ltr}.chat-footer{height:83px;min-height:83px;padding:13px;display:flex;gap:9px;align-items:center;border-top:1px solid #cddafb;background:#e7edffbe}.chat-footer .composer{height:48px;flex:1;min-width:80px;outline:none;border:1px solid #bacafa;border-radius:16px;background:#fff;box-shadow:0 2px 8px #556fd021;padding:11px 17px;resize:none;color:#23366d;text-align:right;direction:rtl}.chat-footer .composer:focus{border-color:#8f80ec;box-shadow:0 0 0 4px #9b8cf31f}.chat-footer .send{min-width:52px;height:49px;border-radius:16px;font-size:21px}.chat-footer .tool{height:49px;min-width:49px;border:1px solid #cbd7f9;border-radius:15px;background:#f9fbff;color:#4c63ac;font-size:20px}.chat-footer .tool:hover{background:#e2eaff}.roster-area{display:flex;flex-direction:column;overflow:hidden;padding:10px}.roster-head{height:48px;border-radius:14px;background:#e6eaff;color:#352e8b;display:flex;align-items:center;justify-content:space-between;padding:0 16px;font-weight:750}.roster-label{text-align:center;padding:10px 8px;color:#536ca0;font-size:12px;border-bottom:1px solid #d6defb}.roster-scroll{flex:1;min-height:0;overflow:auto;padding:7px 1px}.member-card{display:flex;align-items:center;gap:9px;min-height:62px;border-radius:15px;border:1px solid #dce2fd;background:#fafbff;margin-bottom:7px;padding:8px;transition:background .2s,transform .2s var(--ease),border-color .2s}.member-card:hover{transform:translateX(-3px);background:#edf1ff;border-color:#b5c4fb}.member-name{font-size:14px;font-weight:760;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.member-sub{font-size:11px;color:#7485af;margin-top:3px}.member-card .avatar{height:40px;width:40px;border-radius:12px}.role-chip{margin-inline-start:auto;border-radius:12px;padding:4px 7px;background:#e5ecff;color:#4b65b8;font-size:10px;white-space:nowrap;flex:none}.role-chip.owner,.role-chip.root{background:#fff0c4;color:#a77a00}.role-chip.admin{background:#dce8ff;color:#356db2}.role-chip.vip{background:#f5dafa;color:#9237bf}.roster-hint{font-size:12px;padding:9px;text-align:center;color:#8e98b0}.connection{font-size:11px;color:#5c73ae;padding:4px 8px 0}.stage-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding:4px 4px 10px}.stage-seat{border:1px solid #bfcbf9;border-radius:13px;background:#f4f7ff;min-height:37px;flex:1;min-width:120px;padding:6px;color:#465a96;font-size:12px;transition:transform .15s,background .15s}.stage-seat:hover{background:#e7eaff;transform:translateY(-2px)}.stage-seat.filled{background:#dedcfb;border-color:#ab9cea}
@keyframes messageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Dialogs, context menus */
.backdrop{position:fixed;inset:51px 0 0;background:#1d295d65;z-index:40;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(4px);animation:fade .2s ease both}.dialog{width:min(445px,calc(100vw - 34px));max-height:calc(100vh - 110px);overflow:auto;border-radius:26px;background:#f8faff;box-shadow:0 25px 80px #13245a63;border:1px solid #ffffff;animation:modalIn .24s var(--ease) both}.dialog-head{padding:22px 25px 15px;border-radius:26px 26px 0 0;background:radial-gradient(ellipse at 24% -40%,#6bdeff9c,transparent 70%),linear-gradient(110deg,#e8efff,#e7e0ff)}.dialog-head h2{margin:0;color:#1d306b;font-size:22px}.dialog-head p{margin:5px 0 0;color:#6378a9;font-size:13px}.dialog-body{padding:22px 25px 25px}.field{margin-bottom:13px}.field label{display:block;font-size:13px;font-weight:650;color:#4d6092;margin-bottom:6px}.field input,.field textarea,.field select{width:100%;padding:12px 13px;min-height:45px;border-radius:12px;border:1px solid #cbd7f8;background:white;text-align:right;direction:rtl;color:#1d3062}.field select{cursor:pointer}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:#9583ed;box-shadow:0 0 0 3px #bcb3f433}.segmented{display:flex;border:1px solid #cbd5f4;padding:4px;border-radius:15px;background:#e8edfc;margin-bottom:16px;gap:3px}.segmented button{border:0;flex:1;border-radius:11px;background:transparent;padding:10px;color:#566b9e;font-weight:730}.segmented button.active{color:#fff;background:linear-gradient(110deg,#3788e8,#8060dc);box-shadow:0 4px 12px #5a68b351}.dialog-actions{display:flex;gap:8px;justify-content:flex-start;margin-top:20px}.dialog-actions button{flex:1}.text-btn{background:transparent;border:1px solid #bdcafa;border-radius:13px;padding:9px 17px;color:#5063a1}.text-btn:hover{background:#e5ebff}.context-menu{position:fixed;z-index:60;min-width:222px;max-width:260px;border-radius:16px;border:1px solid #d4dafa;background:#fdfdff;box-shadow:0 10px 39px #192e7059;padding:7px;animation:modalIn .14s ease both}.context-menu button{width:100%;text-align:right;background:transparent;border:0;padding:10px 11px;border-radius:10px;color:#253f7b;font-size:13px;display:block}.context-menu button:hover:not(:disabled){background:#ebedff}.context-menu .danger{color:#b43e58}.menu-sep{height:1px;background:#e3e9fc;margin:5px}.toast{position:fixed;z-index:90;bottom:23px;left:50%;transform:translateX(-50%) translateY(20px);color:#fff;background:#2e3d75e8;border:1px solid #a7b1f88a;padding:12px 22px;border-radius:16px;opacity:0;pointer-events:none;box-shadow:0 10px 28px #1c277242;transition:opacity .2s,transform .2s;max-width:85vw}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}@keyframes modalIn{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:none}}@keyframes fade{from{opacity:0}to{opacity:1}}
@media(max-width:1140px){.lobby-layout{grid-template-columns:minmax(0,1fr) 265px}.room-grid{grid-template-columns:minmax(0,1fr) 290px}.tagline{display:none}.room-card{gap:10px}.nav-search{max-width:400px}}@media(max-height:770px){.screen{gap:9px;padding:9px}.topnav{height:65px;min-height:65px}.panel-heading{min-height:74px;padding:15px 22px}.room-card{min-height:91px}.room-card.featured{min-height:127px}.room-icon{width:56px;height:56px}.featured .room-icon{width:68px;height:68px}.rooms-scroll{padding:11px 16px}.country-item{min-height:58px}.room-welcome{min-height:105px;padding:9px 10px}.room-toolbar{height:60px;min-height:60px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Important layout: right country sidebar, left room list (same as approved AURA reference). */
.lobby-layout{direction:ltr}.lobby-layout>.panel{direction:rtl}.countries-panel h2 svg{width:27px;height:27px;flex:0 0 27px;stroke:#3675e8;stroke-width:1.75;fill:none}.room-title{text-align:right;direction:rtl;unicode-bidi:plaintext}

/* Skeleton shown only during real local-server startup, never fake rooms */
.load-room{height:96px;border-radius:18px;background:linear-gradient(100deg,#e9edfa 20%,#f7faff 38%,#e9edfa 61%);background-size:250% 100%;animation:skeleton 1.4s ease-in-out infinite;border:1px solid #e2e7f8}@keyframes skeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}

/* ------------------------------------------------------------
   AURA v0.5: compact aurora microphone stage, larger chat, real
   Arabic text, native CSS interaction (not bitmap UI).
   ------------------------------------------------------------ */
.room-screen { --message-font: 16px; --composer-font: 16px; --bubble-radius: 18px; --user-message-color:#263663; --user-font:'Segoe UI'; gap:9px; padding:10px; }
.room-screen .room-toolbar {display:flex;flex-direction:row-reverse;gap:12px;min-height:64px;height:64px;border-radius:19px;padding:8px 18px;background:radial-gradient(ellipse at 62% -60%,#80e9ff9c,transparent 60%),linear-gradient(110deg,#284fba 4%,#3b72dc 51%,#6b47cd 100%);border:1px solid #ffffff99;box-shadow:0 6px 20px #3850b54a;}
.room-screen .toolbar-actions {display:flex;align-items:center;gap:8px;direction:ltr;}
.room-screen .toolbar-title {display:flex;align-items:center;gap:16px;direction:rtl;flex:1;min-width:0;}
.room-screen .toolbar-title h1 {font-size:19px;margin:0;flex:0 1 auto;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}
.room-top-members {white-space:nowrap;font-size:13px;font-weight:550;color:#f1f4ff;padding:6px 12px;border-radius:22px;background:#ffffff24}
.room-top-signal {color:#73f9c1;text-shadow:0 0 9px #65ffb3}
.room-screen .room-grid {gap:10px;grid-template-columns:minmax(0,1fr) minmax(290px,325px);}
.room-screen .chat-area {position:relative;direction:rtl;background:radial-gradient(ellipse at 80% 75%,#e5dcffbd,transparent 50%),linear-gradient(145deg,#fbfdffef,#edf2ffec);border:1px solid #fff;box-shadow:inset 0 0 0 1px #cdd8f8,0 8px 24px #566dd523;}
.room-screen .stage-row {direction:rtl;order:0;flex:0 0 121px;min-height:121px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:0;padding:9px 9px 6px;align-items:stretch;overflow:hidden;border-radius:20px 20px 22px 22px;border:1px solid #adc4f6;box-shadow:inset 0 1px 6px #bce5ff75,0 5px 15px #5966d431;background:radial-gradient(ellipse at 29% 0%,#57d9ff80,transparent 45%),radial-gradient(ellipse at 78% 110%,#d59cfa95,transparent 48%),linear-gradient(105deg,#2e60ce,#534bd1 66%,#6b47cc);}
.room-screen .mic-seat {min-width:0;background:transparent;border:0;box-shadow:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:3px 2px 1px;color:white;position:relative;transition:transform .24s var(--ease);}
.room-screen .mic-seat:hover {background:transparent;transform:translateY(-3px)}
.room-screen .mic-ring {width:65px;height:65px;min-height:65px;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;border:2px solid #b1efff;box-shadow:0 0 0 3px #fff2,0 0 17px #9edcf8a6,inset 0 0 17px #c79eff69;background:radial-gradient(circle at 35% 24%,#6bd8ff99,#6e61e1 74%,#9756d7);transition:transform .22s var(--ease),box-shadow .22s ease;}
.room-screen .mic-seat:hover .mic-ring {transform:scale(1.065);box-shadow:0 0 0 4px #ffffff32,0 0 25px #b6e7ff}
.room-screen .mic-plus {font-size:38px;line-height:1;font-weight:350;text-shadow:0 2px 10px #e0d9ff;transform:translateY(-2px)}
.room-screen .mic-seat.occupied .mic-ring {border-color:white;box-shadow:0 0 0 3px #a4b0ff75,0 0 17px #e5faff}
.room-screen .mic-label {font-weight:700;font-size:12px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;color:#fbfdff;text-shadow:0 1px 4px #313a9c}
.room-screen .mic-status {position:absolute;top:47px;left:calc(50% - 29px);font-size:14px;line-height:1;width:24px;height:24px;border-radius:50%;background:#4938cb;border:1px solid #fff;display:grid;place-items:center}
.room-screen .mic-seat.requested .mic-ring {outline:3px dashed #ffe384;outline-offset:4px}
.avatar-circle {display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;color:white;font-size:19px;font-weight:800;background:linear-gradient(135deg,#4499e4,#9e58eb);border:1px solid #ffffffbf;box-shadow:0 2px 9px #5574bf55;overflow:hidden;}
.avatar-circle img {width:100%;height:100%;object-fit:cover;display:block;}
.avatar-circle.mic-avatar {width:100%;height:100%;border:0;font-size:35px;background:transparent;box-shadow:none}
.room-screen .chat-tabs {order:1;flex:0 0 42px;min-height:42px;padding:7px 13px 0;background:#f1f3ffb6;display:flex;align-items:end;gap:6px;direction:rtl}
.room-screen .chat-tab {padding:7px 16px;font-size:13px;}
.stage-hint {font-size:10px;color:#8b92b1;margin-inline-start:auto;align-self:center;white-space:nowrap}
.room-screen .chat-main {order:2;flex:1;min-height:100px;padding:18px 25px 12px;direction:rtl;scrollbar-color:#aa9fe4 transparent}
.room-screen .room-welcome {min-height:90px;padding:9px 13px;gap:3px;border-radius:17px;margin-bottom:15px}
.room-screen .room-welcome img {width:33px;height:33px}.room-screen .room-welcome b {font-size:17px}.room-screen .room-welcome small {font-size:11px}
.room-screen .message-row {flex-direction:row;align-items:flex-start;direction:rtl;gap:10px;margin:13px 0 15px;position:relative;}
.room-screen .message-row.own {flex-direction:row;}
.room-screen .message-row .avatar-circle {width:42px;height:42px;}
.room-screen .message-content {max-width:min(76%,770px);min-width:0;}
.room-screen .message-meta {display:flex;direction:rtl;gap:12px;align-items:center;margin:0 1px 5px;}
.room-screen .sender-name {border:0;background:none;cursor:pointer;padding:0 1px;text-align:right;font-size:14px;font-weight:800;color:#5d31be;white-space:normal;overflow-wrap:anywhere}
.room-screen .sender-name:hover {color:#3b65dc;text-decoration:underline;text-underline-offset:3px}
.room-screen .time-stamp {font-size:11px;color:#8190b7}
.room-screen .message-body {display:block;max-width:100%;width:max-content;min-width:60px;background:linear-gradient(140deg,#f8faff,#e6eafded);color:var(--user-message-color);border:1px solid #c9d6fd;padding:10px 15px;border-radius:var(--bubble-radius);font-family:var(--user-font),Tahoma,sans-serif;font-size:var(--message-font);line-height:1.85;text-align:start;white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext;direction:rtl;box-shadow:0 3px 10px #5666a827;transition:background .16s ease,box-shadow .16s ease;}
.room-screen .message-body:hover {box-shadow:0 5px 18px #7974ce42;background:linear-gradient(145deg,#f4f7ff,#e0e9ff)}
.room-screen .message-row.own .message-body {background:linear-gradient(130deg,#e5f1ff,#e8e5ff)}
.quoted-message {max-width:500px;margin:0 0 8px;padding:6px 10px;background:#b7c8ff4d;border-right:3px solid #7467e6;border-radius:9px;color:#5966a1;font-size:12px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.message-reactions {display:flex;gap:5px;flex-wrap:wrap;margin:5px 2px 0}
.reaction-badge {font-size:12px;border:1px solid #bbb8fc;background:#f8f4ff;padding:3px 9px;border-radius:24px;color:#5f4bb9;transition:transform .15s ease,background .15s}
.reaction-badge:hover {background:#e8e4ff;transform:translateY(-2px)}
.message-more {align-self:center;border:0;border-radius:50%;width:27px;height:27px;background:#ffffffaa;color:#6b65b4;opacity:0;transition:opacity .16s,background .16s;flex-shrink:0}
.message-row:hover .message-more,.message-more:focus-visible {opacity:1}
.message-row.flash .message-body {outline:3px solid #a884ed}
.chat-notice {text-align:center;border-radius:12px;margin-bottom:9px;padding:8px 12px;background:#fff3cd;color:#71528d;font-size:12px}
.room-screen .reply-banner {order:3;min-height:40px;padding:7px 15px;display:flex;align-items:center;gap:16px;background:#e8e7ff;border-top:2px solid #8f71ea;color:#4b518c}
.room-screen #reply-summary {flex:1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px}
.room-screen #cancel-reply {border:0;border-radius:9px;background:#f4f3ff;color:#52398d;font-size:21px;padding:2px 11px}
.room-screen .chat-footer {order:4;min-height:77px;height:77px;gap:8px;direction:ltr;padding:10px 13px;flex-shrink:0;border-top:1px solid #cbd7fa;background:linear-gradient(115deg,#e4edffda,#eee8ffdd)}
.room-screen .chat-footer .tool {min-width:45px;height:46px;border-radius:13px;font-size:20px;box-shadow:0 2px 6px #7e86cb21}
.room-screen .chat-footer #writing-settings-btn {font-size:15px;font-weight:850;color:#6551c1}
.room-screen .chat-footer .send {height:47px;min-width:51px;font-size:19px}
.room-screen .chat-footer .composer {height:46px;min-height:42px;max-height:104px;min-width:70px;padding:10px 14px;align-self:center;direction:rtl;line-height:1.5;font-family:var(--user-font),Tahoma,sans-serif;font-size:var(--composer-font);}
.room-screen .roster-area {background:linear-gradient(155deg,#f9fbffe8,#edf0ffea);padding:11px 9px;}
.room-screen .roster-head {min-height:59px;height:59px;padding:0 9px;background:linear-gradient(125deg,#e6edff,#dddfff);border:1px solid #e0e6ff}
.room-screen .roster-head button.roster-account {display:flex;gap:9px;align-items:center;text-align:right;border:0;background:transparent;color:#343b83;font-weight:800;cursor:pointer;max-width:75%}
.room-screen .roster-head .avatar-circle {height:32px;width:32px;font-size:14px}
.room-screen .roster-actions {display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:800;color:#465a93;padding:9px 7px;border-bottom:1px solid #e0e5fa}
.roster-avatar-btn {font-size:11px;border:1px solid #c3caff;background:#f8f9ff;color:#6055ae;border-radius:10px;padding:6px 10px}
.room-screen .member-card {border-color:#e0e5fa;background:#fdfdffb9;min-height:58px;border-radius:16px;margin:5px 1px;padding:6px 8px;cursor:pointer;}
.room-screen .member-card:hover {transform:translateX(-2px);background:#e8ecff}
.room-screen .member-card .avatar-circle {width:39px;height:39px;}
.room-screen .roster-scroll {padding:4px 0;}
.room-screen .roster-label {display:none}
.room-screen .connection {border-top:1px solid #d6dff4;padding:6px;text-align:center}
.emoji-panel {position:absolute;bottom:78px;left:14px;width:min(390px,calc(100% - 28px));max-height:410px;display:flex;flex-direction:column;z-index:12;padding:13px;background:#fbfcff;border:1px solid #d6d9fc;border-radius:23px;box-shadow:0 14px 44px #31418d6b;animation:modalIn .18s var(--ease) both}
.emoji-panel[hidden],.reply-banner[hidden],.chat-notice[hidden] {display:none!important}
.emoji-panel header {display:flex;align-items:center;justify-content:space-between;color:#283d81;padding:0 5px 8px}.emoji-panel header button {border:0;background:transparent;color:#634cc1;font-size:24px}
.emoji-panel input {min-height:41px;border-radius:13px;border:1px solid #c3d1fb;background:#f8faff;text-align:right;padding:7px 11px;outline:none}
.emoji-categories {display:flex;gap:5px;overflow:auto;padding:10px 1px;}
.emoji-categories button {border:1px solid #d7def9;border-radius:13px;padding:7px 9px;white-space:nowrap;background:#f2f4ff;color:#5666a8;font-size:12px}
.emoji-categories button.active {background:#6c58dd;color:white;border-color:#6c58dd}
.emoji-grid {display:grid;grid-template-columns:repeat(7,1fr);gap:2px;overflow:auto;padding:4px;}
.emoji-grid button {border:0;background:transparent;border-radius:10px;font-size:26px;min-height:43px;transition:transform .16s var(--ease),background .16s}
.emoji-grid button:hover {background:#ecebff;transform:scale(1.13)}
.settings-grid {display:grid;gap:13px;direction:rtl}
.settings-grid>label {display:flex;flex-direction:column;gap:6px;color:#4a558e;font-size:13px;font-weight:700}
.settings-grid label output {display:inline;color:#7656d7;font-weight:850}
.settings-grid input[type="range"] {accent-color:#7855e5;width:100%;cursor:pointer}
.settings-grid input[type="color"] {height:42px;padding:3px;border:1px solid #cdd6fb;border-radius:13px;width:90px;cursor:pointer}
.settings-grid .setting-checkbox {display:flex;align-items:center;flex-direction:row;gap:9px}
.settings-grid .setting-checkbox input {width:17px;height:17px;min-height:unset;accent-color:#7456db}
.settings-preview {padding:12px 15px;border:1px solid #d1d5fa;background:linear-gradient(130deg,#f8fbff,#e3e9ff);box-shadow:0 3px 8px #2f4a9c15;text-align:right;transition:font-size .13s,color .13s,border-radius .13s}
.avatar-symbols {display:grid;grid-template-columns:repeat(6,1fr);gap:7px;margin:0 0 12px}
.avatar-symbols button {font-size:25px;min-height:47px;background:#edf1ff;border:1px solid #d6defb;border-radius:12px}
.avatar-symbols button:hover,.avatar-symbols button.selected {background:#ddd6ff;border-color:#8b75eb}
.avatar-preview {display:flex;justify-content:center;padding:8px}.avatar-preview .avatar-circle {width:68px;height:68px;font-size:31px}
.avatar-notice,.small-muted {color:#7a8aac;font-size:11px;line-height:1.65}
.stage-admin-list {max-height:260px;overflow-y:auto}
.stage-admin-item {border:1px solid #d8e1fb;border-radius:12px;padding:8px 10px;margin:6px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f2f5ff;font-size:13px}
.stage-admin-item button {border:1px solid #bdc9fa;border-radius:10px;background:#e7ecff;padding:6px 9px;color:#4659ac;font-size:12px}
.room-screen .compact-messages .message-row,.room-screen.compact-messages .message-row {margin:5px 0}
.room-screen.hide-timestamps .time-stamp {display:none}
.room-screen.no-animations *, .room-screen.no-animations *:before,.room-screen.no-animations *:after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1100px){.room-screen .room-grid {grid-template-columns:minmax(0,1fr) 273px}.room-screen .stage-hint {display:none}.room-screen .mic-ring {width:56px;height:56px;min-height:56px}.room-screen .stage-row {flex-basis:112px;min-height:112px}.room-screen .chat-footer .tool {min-width:37px}.room-screen .chat-footer {gap:5px}}
@media(max-height:740px){.room-screen .room-toolbar {height:51px;min-height:51px}.room-screen .stage-row {flex-basis:98px;min-height:98px;padding:5px}.room-screen .mic-ring {width:53px;height:53px;min-height:53px}.room-screen .mic-label {font-size:10px}.room-screen .room-welcome{min-height:65px;padding:6px}.room-screen .chat-tabs{flex-basis:36px;min-height:36px}.room-screen .chat-footer{height:66px;min-height:66px;padding:7px}}
@media(prefers-reduced-motion:reduce){.emoji-panel{animation:none}}

/* AURA v0.6: social Moments, story bubbles, master dashboard and role colors. */
.moments-nav-pill {border:1px solid #b8c9f9;background:linear-gradient(120deg,#ebf6ff,#e7ddff);color:#5234b0;border-radius:17px;padding:11px 21px;font-weight:750;white-space:nowrap;box-shadow:0 4px 13px #5c72c52c;transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
.moments-nav-pill:hover {transform:translateY(-2px);box-shadow:0 8px 21px #5c72c54b}
.room-screen .room-welcome small {max-width:95%;white-space:pre-wrap;text-align:center;line-height:1.6;font-size:14px}
.room-screen .role-chip.owner {color:#fff;background:linear-gradient(110deg,#8b54d5,#5d3ac3);box-shadow:0 3px 8px #7551bc40}
.room-screen .role-chip.root {color:#885200;background:linear-gradient(110deg,#fff4a5,#f8c14c);box-shadow:0 3px 8px #c88f3150}
.room-screen .role-chip.admin {color:#0a5d94;background:linear-gradient(110deg,#d3f4ff,#8ad4ff)}
.room-screen .role-chip.mod {color:#17876a;background:linear-gradient(110deg,#d5fff3,#a1ebcf)}
.room-screen .role-chip.vip {color:#8d3ca6;background:linear-gradient(110deg,#fce3ff,#e5b4fb)}
.room-screen .role-chip.member {color:#425b95;background:#e8ecff}
.room-screen .role-chip.guest {color:#7784a4;background:#eef0f6}
.admin-hub {display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:20px}
.admin-action {border-radius:15px;background:linear-gradient(125deg,#ebf5ff,#e9e5ff);color:#4d44a2;border:1px solid #d0d9fa;padding:14px 10px;font-weight:760;box-shadow:0 3px 11px #525d9530;transition:transform .2s var(--ease)}
.admin-action:hover {transform:translateY(-2px)}
.moments-screen{padding:12px;gap:12px;background:radial-gradient(ellipse at 84% 14%,#e2c9ff8a,transparent 47%),linear-gradient(140deg,#eef4ff,#e7edff);min-height:0}
.moments-top{min-height:86px;display:flex;align-items:center;gap:18px;padding:12px 24px;border-radius:22px;border:1px solid #ffffffba;background:radial-gradient(ellipse at 35% 0%,#56d7ffb0,transparent 55%),linear-gradient(112deg,#3a6bd6,#5449cd 65%,#7e54da);box-shadow:0 9px 24px #4658b23c;color:white}
.moments-heading{flex:1;text-align:center}.moments-heading h1{font-size:25px;margin:0}.moments-heading small{font-size:12px;color:#eef3ff}
.moments-head-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.moments-head-actions .soft-btn,.moments-top>.soft-btn{border:1px solid #ffffff6a;color:white;background:#ffffff24;border-radius:13px;padding:10px 13px}
.moments-head-actions .primary-btn{padding:11px 18px;border-radius:14px;border:1px solid #ffffff60;background:linear-gradient(120deg,#1eaff4,#a356e8)}
.moments-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:14px;flex:1;min-height:0;direction:ltr}
.moments-layout>section,.moments-layout>aside{direction:rtl}
.moments-main{overflow:auto;padding:22px 27px;background:linear-gradient(143deg,#fbfdffed,#f1efffdb)}
.social-right{padding:21px;overflow:auto;display:flex;flex-direction:column;gap:16px;background:linear-gradient(170deg,#f8fbffed,#efecffed)}
.social-right h2{font-size:19px;margin:5px 0 10px}
.social-title{display:flex;align-items:center;justify-content:space-between;font-size:17px;color:#2b3372;gap:10px}
.social-title span{font-size:11px;color:#8592b6}
.moments-stories{background:linear-gradient(120deg,#e7eeffba,#eee8ffad);padding:14px 17px 17px;border:1px solid #d7dffa;border-radius:21px;margin-bottom:16px}
.story-tray{display:flex;gap:15px;overflow-x:auto;padding:15px 2px 6px;min-height:108px}
.story-item{background:transparent;border:0;min-width:85px;max-width:92px;display:flex;align-items:center;flex-direction:column;gap:6px;color:#45548c;font-weight:750;transition:transform .24s var(--ease)}
.story-item:hover{transform:translateY(-5px)}
.story-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:92px}
.story-round{display:grid;place-items:center;width:72px;height:72px;border:3px solid #ab75ff;outline:2px solid #fefeff;box-shadow:0 4px 16px #8b77d75a;background:linear-gradient(140deg,#effcff,#d2ceff);border-radius:50%;overflow:hidden;color:#8162ce;font-size:33px}
.story-round img{width:100%;height:100%;object-fit:cover}.story-round>.avatar-circle{width:100%;height:100%;font-size:27px}
.story-item.add .story-round{border-color:#77d7f7}
.moments-tabs{display:flex;justify-content:center;gap:10px;margin:15px 0 23px}
.moments-tabs button{border:1px solid #c8d3fa;background:#e8eeff;color:#5264a4;padding:11px 25px;border-radius:15px;font-size:14px;font-weight:800;transition:all .2s var(--ease)}
.moments-tabs button.active,.moments-tabs button:hover{background:linear-gradient(110deg,#5e8de9,#8e65d7);color:white;box-shadow:0 6px 17px #837bd249}
.moments-feed{max-width:760px;margin:auto;display:flex;flex-direction:column;gap:17px;padding-bottom:20px}
.moment-card{border:1px solid #d7dafa;background:#ffffffea;border-radius:22px;padding:15px 18px;box-shadow:0 8px 21px #6e83c126;animation:messageIn .3s var(--ease) both}
.moment-card:hover{box-shadow:0 13px 30px #6e83c13e}
.moment-card-top{display:flex;gap:10px;justify-content:space-between;align-items:center;padding-bottom:11px}
.social-author{display:flex;align-items:center;gap:12px;background:transparent;border:0;text-align:right;color:#1b326c}
.social-author>.avatar-circle{width:45px;height:45px}
.social-author span:not(.avatar-circle){display:flex;flex-direction:column;gap:3px}
.social-author b{font-size:15px}.social-author small{font-size:12px;color:#8590ae}
.moment-type{border-radius:18px;padding:6px 11px;color:#6c4bba;background:#eae2ff;font-size:12px;font-weight:800}
.moment-media{width:100%;border:0;background:#e7effb;border-radius:15px;overflow:hidden;padding:0;display:flex;justify-content:center;min-height:90px}
.moment-media img{display:block;width:auto;max-width:100%;max-height:440px;object-fit:contain}
.moment-caption{font-size:15px;line-height:1.8;padding:13px 2px;white-space:pre-wrap;overflow-wrap:anywhere;color:#34416e}
.moment-stats{display:flex;gap:18px;color:#7d87a8;font-size:12px;padding:4px 2px 11px;border-bottom:1px solid #e0e6fb}
.moment-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:10px;justify-content:space-around}
.moment-actions button{color:#495c9a;border:0;background:transparent;border-radius:11px;padding:9px 13px;transition:background .2s,transform .2s}
.moment-actions button:hover{transform:translateY(-2px);background:#e7ebff}
.moment-actions button.liked{color:#ce3f86;background:#ffe8f2}
.social-side-id{width:100%;background:linear-gradient(117deg,#e5f5ff,#eae4ff);border:1px solid #cfd7f6;padding:15px 12px;border-radius:20px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;text-align:right}
.social-side-id>.avatar-circle{width:55px;height:55px}
.social-side-id>b{font-size:17px}.social-side-id .social-badge{margin-right:auto}
.social-badge{font-size:11px;border-radius:12px;padding:5px 8px;white-space:nowrap;display:inline-flex;background:#ebebff;color:#6351a6}
.social-badge.master{background:#e2d4ff;color:#6236aa}.social-badge.royal{background:#ffecad;color:#9c7100}.social-badge.protected{background:#d9eefc;color:#306eae}
.social-counter{color:#6273ab;font-weight:750}
.social-right .soft-btn{border:1px solid #cbd6f7;background:#edf0ff;color:#5667a7;padding:10px 12px;border-radius:14px}
.social-right p{white-space:pre-wrap;line-height:1.7;color:#52638b}
.social-note{margin-top:auto;font-size:12px;color:#647397;border-radius:16px;background:#e9edfc;padding:15px;line-height:1.9}
.social-loading,.social-empty{text-align:center;padding:55px 12px;border-radius:20px;background:#eef2ff;color:#6e7aa5}
.social-profile-head{border-radius:20px;background:linear-gradient(135deg,#e2f8ff,#eee5ff);border:1px solid #d0d7fc;padding:19px;margin-bottom:18px}
.social-profile-head>.soft-btn{padding:8px 13px;border:1px solid #bac9f2;color:#475a99;background:#fff;border-radius:13px}
.social-profile-identity{display:flex;align-items:center;gap:16px;margin:15px 0}.social-profile-identity>.avatar-circle{width:80px;height:80px;font-size:38px}
.social-profile-identity h2{font-size:25px;margin:0}.social-profile-identity p{white-space:pre-wrap;color:#6878a6;line-height:1.6;margin:8px 0}.social-profile-identity small{color:#7d84a7}
.social-story-view img{width:100%;max-height:430px;object-fit:contain;border-radius:14px}.social-story-view p{white-space:pre-wrap;line-height:1.8;text-align:right}.story-no-image{font-size:90px;display:grid;place-items:center;height:190px;border-radius:14px;background:linear-gradient(130deg,#d9f2ff,#e5d1ff)}
.social-comments{max-height:265px;overflow:auto;display:flex;flex-direction:column;gap:9px;margin-bottom:18px}
.social-comment{background:#edf1ff;border-radius:14px;padding:11px 14px;display:flex;gap:7px;flex-direction:column;color:#344577}
.social-comment span{white-space:pre-wrap;line-height:1.6}.social-comment strong{font-size:13px;color:#553b9e}
.social-upload-preview{margin:14px 0;background:#edf0ff;color:#6576a4;padding:11px;border:1px dashed #b2c6ed;border-radius:14px;text-align:center}
@media(max-width:1200px){.moments-layout{grid-template-columns:minmax(0,1fr) 250px}.moments-head-actions{gap:5px}.social-title{font-size:15px}}
@media(max-width:1000px){.moments-layout{grid-template-columns:minmax(0,1fr)}.social-right{display:none}.moments-top{gap:9px;padding:10px}.moments-heading h1{font-size:18px}.moments-main{padding:12px}}
@media(prefers-reduced-motion:reduce){.story-item,.moment-card,.moments-nav-pill,.moment-actions button{transition:none!important;animation:none!important}}

.browser-shell .window-buttons{display:none}.browser-shell .titlebar .drag-region{display:none} #outbox-status{margin:8px;align-self:center;color:#7749ba}

[hidden]{display:none!important}

#modal-form [hidden]{display:none!important}
#login-avatars{max-width:100%;flex-wrap:wrap}

/* V13: darker profile marks + animated mic emojis */
.member-card{position:relative;overflow:hidden}
.classic-member-indicators{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.bose-badge{display:inline-flex;align-items:center;gap:5px;min-height:20px;padding:2px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.12);font-size:10px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 4px 10px rgba(0,0,0,.18)}
.bose-badge i{font-style:normal;font-size:11px;line-height:1}
.bose-badge b{font-weight:900}
.bose-protected{background:linear-gradient(135deg,#151924,#314157);color:#d9e8ff;border-color:#435978}
.bose-royal{background:linear-gradient(135deg,#1f1710,#674313 45%,#cf9327);color:#fff0b0;border-color:#f0bb59}
.bose-diamond{background:linear-gradient(135deg,#141824,#1a3166 45%,#24b1e2);color:#dff8ff;border-color:#6ae3ff}
.bose-legend{background:linear-gradient(135deg,#170b0c,#481216 45%,#9b1e1e 70%,#ff6b2e);color:#ffe4d2;border-color:#ff834c;animation:boseGlow 1.9s ease-in-out infinite}
@keyframes boseGlow{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 3px 10px rgba(146,26,10,.24)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(255,110,57,.35),0 6px 18px rgba(255,77,0,.4)}}
.mic-seat{position:relative;overflow:visible}
.stage-fx{position:absolute;inset:auto 2px 28px auto;pointer-events:none;z-index:2}
.stage-fx i{position:absolute;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-style:normal;font-size:12px;line-height:1;opacity:0;animation:stageFloat 1.7s ease-in-out infinite;background:rgba(17,24,39,.86);box-shadow:0 4px 12px rgba(0,0,0,.24)}
.stage-fx i:nth-child(1){right:2px;bottom:0;animation-delay:0s}
.stage-fx i:nth-child(2){right:16px;bottom:6px;animation-delay:.28s}
.stage-fx i:nth-child(3){right:8px;bottom:16px;animation-delay:.56s}
.fx-default i{color:#cfd7ff;border:1px solid #7583b9}
.fx-protected i{color:#d8e7ff;border:1px solid #6079a2}
.fx-royal i{color:#ffd76a;border:1px solid #c69229;background:rgba(43,27,8,.92)}
.fx-diamond i{color:#9ef2ff;border:1px solid #37bfd7;background:rgba(10,24,44,.92)}
.fx-legend i{color:#ffb084;border:1px solid #ff6633;background:rgba(43,10,10,.92)}
@keyframes stageFloat{0%{transform:translate(0,0) scale(.7);opacity:0}20%{opacity:1}55%{opacity:.95}100%{transform:translate(-3px,-24px) scale(1.04);opacity:0}}
.voice-active .stage-fx i{animation-duration:1s;filter:drop-shadow(0 0 7px rgba(255,120,80,.35))}
