[hidden]{display:none!important}.room-screen .room-grid{grid-template-columns:minmax(0,1fr) 9px var(--roster-width,310px);gap:5px}.roster-resize,.stage-resize{background:#b9c8ef80;border-radius:10px;touch-action:none;min-height:0}.roster-resize{cursor:col-resize;align-self:stretch}.stage-resize{height:8px;flex:0 0 8px;cursor:row-resize;order:0;margin:3px 0}.room-screen .stage-row{flex:0 0 var(--stage-height,121px);min-height:var(--stage-height,121px)}.roster-resize:hover,.stage-resize:hover{background:#8c76df}.room-screen .room-grid .chat-area{min-width:0}.room-screen .chat-main{min-height:0}.dialog-head{position:relative}.dialog-x{position:absolute;top:8px;left:12px;border:0;background:transparent;color:inherit;font-size:25px}.moments-overlay{position:fixed;z-index:35;inset:60px 3vw 2vh;border-radius:22px;overflow:hidden;box-shadow:0 18px 80px #14205280;background:#edf1ff;border:1px solid white}.moments-overlay .moments-screen{height:100%}.private-window{position:absolute;left:calc(var(--roster-width,310px) + 25px);bottom:22px;width:min(365px,calc(100% - 36px));height:min(490px,70%);z-index:30;background:#f9fbff;border:1px solid #b9c9f6;border-radius:18px;box-shadow:0 9px 35px #3d4f8b4a;display:flex;flex-direction:column;overflow:hidden;direction:rtl}.room-screen{position:relative}.private-window header{background:linear-gradient(110deg,#456cdf,#8760d9);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:12px}.private-window header button{border:0;background:transparent;color:white;font-size:24px}.private-window #private-messages{flex:1;overflow:auto;padding:10px}.private-line{background:#e9edff;border-radius:10px;margin:8px 0;padding:8px;max-width:90%;overflow-wrap:anywhere}.private-line.own{background:#e8ddff;margin-right:auto}.private-line p{margin:4px 0;white-space:pre-wrap}.private-window form{display:flex;gap:6px;padding:9px;border-top:1px solid #cdd8f8}.private-window textarea{min-width:0;flex:1;resize:none}.royal-avatar{border:2px solid #d6a92f!important;box-shadow:0 0 8px #e9c458!important}.member-card:has(.royal-avatar) .avatar-circle{width:48px;height:48px;min-width:48px}.room-event{text-align:center;color:#6574a8;font-size:12px;margin:4px 10px;padding:3px;overflow-wrap:anywhere}.royal-entry{position:absolute;z-index:34;top:95px;right:50%;transform:translateX(50%);padding:16px 24px;max-width:80%;border-radius:18px;color:#6e4700;background:linear-gradient(130deg,#fff4bb,#d8ad4c,#fff1ba);box-shadow:0 0 25px #e4b743;animation:royalArrival .55s ease both;pointer-events:none}.honor-row{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid #dce3fa}@keyframes royalArrival{from{opacity:0;transform:translateX(50%) scale(.85)}to{opacity:1;transform:translateX(50%) scale(1)}}@media(max-width:760px){.private-window{left:12px;max-width:calc(100% - 24px)}.room-screen .room-grid{grid-template-columns:minmax(0,1fr) 6px var(--roster-width,180px)}}

/* Private chat gets its own column, never covers the public composer. */
.room-screen .room-grid.private-open{grid-template-columns:minmax(0,1fr) minmax(240px,320px) 9px var(--roster-width,310px)}.private-window{position:relative;left:auto;bottom:auto;inset:auto;width:100%;height:100%;min-height:0;max-width:none;z-index:2}.private-window #private-messages{min-height:0}.private-window form{flex:none}@media(max-width:950px){.room-screen .room-grid.private-open{grid-template-columns:minmax(0,1fr) 9px var(--roster-width,180px)}.private-window{position:absolute;left:12px;right:auto;top:84px;bottom:100px;width:min(320px,calc(100% - 24px));height:auto;z-index:30}}
.room-card.premium-room{border:2px solid #e3bd4b;background-color:#fff8dd;background-size:cover;background-position:center}.room-card.diamond-room{border:2px solid #7bc9ed;background-color:#e8f8ff;background-size:cover;background-position:center}.diamond-room .room-title{color:#197aa3}.premium-room .room-title{color:#a77709}.member-card.royal-card,.member-card.super-royal-card{background-size:cover;background-position:center;border:1px solid #e0c05e;min-height:65px}.member-card.super-royal-card{border:2px solid #85d5ef;background-color:#dff9ff}.super-royal-card .member-name{color:#137ba4;font-weight:900}.royal-card .member-name{color:#aa7800;font-weight:900}.premium-profile-head{padding:20px;border-radius:14px;background:linear-gradient(135deg,#eee9ff,#eff9ff);background-size:cover;background-position:center;text-align:center}.premium-profile-head .avatar-circle{width:76px;height:76px;margin:auto}.premium-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:12px 0}.premium-stats span{padding:10px;border:1px solid #d9d9e8;border-radius:8px}.premium-stats b{display:block;color:#7359cb}

/* V8 UX additions */
.royal-entry{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:240px;text-align:center}
.royal-entry span{font-size:30px;line-height:1}
.royal-entry b{font-size:20px}
.royal-entry small{font-size:12px;color:inherit;opacity:.88}
.royal-entry.theme-lion{color:#6d4400;background:linear-gradient(135deg,#fff1b7,#e6a324,#fff7d1);box-shadow:0 0 30px rgba(230,163,36,.55)}
.royal-entry.theme-fire{color:#6b1400;background:linear-gradient(135deg,#ffd2ac,#ff6c38,#5c1200);box-shadow:0 0 34px rgba(255,108,56,.55)}
.royal-entry.theme-storm{color:#071a53;background:linear-gradient(135deg,#d9e3ff,#6aa0ff,#b58cff);box-shadow:0 0 34px rgba(106,160,255,.5)}
.royal-entry.theme-falcon{color:#173645;background:linear-gradient(135deg,#eef7fb,#8fd0dc,#dff6ff);box-shadow:0 0 28px rgba(143,208,220,.55)}
.royal-entry.theme-royal{color:#6e4700;background:linear-gradient(130deg,#fff4bb,#d8ad4c,#fff1ba);box-shadow:0 0 25px #e4b743}
#classic-bell.attention{animation:privateBellPulse .85s ease-in-out infinite}
@keyframes privateBellPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
.mic-seat.voice-active .mic-ring,.mic-seat.voice-active .mic-avatar{box-shadow:0 0 0 4px rgba(116,201,255,.28),0 0 16px rgba(116,201,255,.55)}
.mic-seat.voice-active{transform:translateY(-1px)}
.mic-seat.voice-active .mic-status{color:#2da4ff;font-weight:900}

.private-window header .classic-private-head{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.private-window header #private-target-state{font-size:11px;opacity:.88}
.private-window form.target-offline{background:#f2f3f7}
.private-window form.target-offline textarea,.private-window form.target-offline button{filter:grayscale(1)}
.private-system-line,.private-empty{margin:10px 0;padding:10px 12px;border-radius:12px;background:#eef2fb;color:#5d6993;font-size:12px;text-align:center}
.private-system-line{background:#f3f4f7;color:#6c7387}
.royal-entry{backdrop-filter:blur(4px)}
.royal-entry .royal-copy{display:flex;flex-direction:column;align-items:center;gap:2px}
.royal-entry .royal-glyph{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:rgba(12,15,22,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),0 8px 16px rgba(0,0,0,.18)}

.room-event.royal-system{margin:6px 10px;padding:0;background:transparent}.room-event.royal-system .royal-system-card{display:flex;align-items:center;justify-content:center;gap:12px;border-radius:18px;padding:12px 16px;color:#fff;box-shadow:0 16px 32px rgba(11,18,38,.18)}.room-event.royal-system .royal-system-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:rgba(255,255,255,.13);font-size:22px}.room-event.royal-system .royal-system-copy{display:grid;gap:2px;text-align:right}.room-event.royal-system .royal-system-copy b{font-size:14px}.room-event.royal-system .royal-system-copy strong{font-size:15px}.room-event.royal-system .royal-system-copy small{opacity:.88;font-size:11px}.room-event.royal-system.theme-fire .royal-system-card{background:linear-gradient(135deg,#2f0d06,#9c2108 40%,#ff6b29 75%,#ffbe7f)}.room-event.royal-system.theme-lion .royal-system-card{background:linear-gradient(135deg,#251300,#8a5608 40%,#d9971f 74%,#ffe6a9)}.room-event.royal-system.theme-storm .royal-system-card{background:linear-gradient(135deg,#111a43,#3556d3 42%,#668dff 70%,#d484ff)}.room-event.royal-system.theme-falcon .royal-system-card{background:linear-gradient(135deg,#09161b,#1e5266 40%,#52bad1 70%,#e2ffff)}.room-event.royal-system.theme-royal .royal-system-card{background:linear-gradient(135deg,#2f1236,#6f2f9a 42%,#b15dff 72%,#ffd8ff)}
.royal-entry{overflow:hidden;border:1px solid rgba(255,255,255,.18)}.royal-entry strong{font-size:16px}.royal-entry .royal-entry-sparks{position:absolute;inset:-12% -8%;background:radial-gradient(circle at 18% 28%,rgba(255,255,255,.34),transparent 22%),radial-gradient(circle at 80% 20%,rgba(255,255,255,.24),transparent 18%),radial-gradient(circle at 52% 78%,rgba(255,255,255,.22),transparent 22%);animation:v17Spark2 3s linear infinite}.royal-entry .royal-copy,.royal-entry .royal-glyph{position:relative;z-index:1}@keyframes v17Spark2{from{transform:translateX(-2%)}to{transform:translateX(2%)}}

.report-private-v24{border:0;background:transparent;color:#8b4151;cursor:pointer;font-size:14px;padding:2px 6px}.report-private-v24:hover{background:#ffe4e7;border-radius:6px}
