/* A single room surface: header, stage, public chat, controls. */
body.room-active{background:#100919}
body.room-active>.site-header,body.room-active>main>.page-heading,body.room-active>main>#service-banner,body.room-active>.mobile-nav{display:none}
body.room-active>main{max-width:1000px;padding:0;margin:auto}
.immersive-room.room-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(110px,1fr) auto;gap:0;height:100dvh;min-height:680px;padding:env(safe-area-inset-top) 18px env(safe-area-inset-bottom);background:linear-gradient(180deg,#160c2680,#120c2099 45%,#110b1bef),url('/assets/night-atmosphere.webp') center top/cover;position:relative;isolation:isolate}
.room-head{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center;padding:12px 0 8px;border-bottom:1px solid #a57bdc26}
.room-head .room-back-link{font-size:14px;white-space:nowrap;min-height:44px;padding:6px;color:#d2bce5}
.room-head .stage-top{min-width:0;margin:0;gap:8px}.room-head .stage-top>b,.room-head .room-name b{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-head .stage-top>button{font-size:13px;min-height:40px;white-space:nowrap}.room-head .room-name>span,.room-head .room-name>svg{display:none}
.room-head .live-stats{grid-column:1/-1;background:none;border:0;margin:0;padding:0;justify-content:flex-start;gap:14px}.room-head .live-stats>button{flex:0 1 auto;border:0;padding:4px 0;min-height:36px;font-size:13px}.room-head .live-stats b{font-size:15px;color:#f4daff}.room-head .live-stats svg{width:15px;height:15px}
.room-head .live-status,.room-head .room-atmosphere{grid-column:1/-1;font-size:12px;line-height:1.5;margin:0;color:#baa5d0}.room-head .room-atmosphere{display:flex;justify-content:space-between}.room-head .room-announcement{grid-column:1/-1;font-size:12px;padding:5px 0;background:none;border:0;max-height:34px;overflow:auto;color:#ccb4e1;white-space:normal;line-height:1.5}
.immersive-room .stage.live-stage{border:0;border-radius:0;background:none;box-shadow:none;padding:10px 0 0;min-width:0}
.room-feature{position:relative;min-height:92px;display:flex;flex-direction:column;justify-content:center;padding:8px 116px 10px 10px;background:radial-gradient(ellipse at 25% 70%,#9b41dc23,transparent 68%)}
.room-feature-label{font-size:12px;letter-spacing:3px;color:#c295eb}.room-now-title{font-size:clamp(18px,4.7vw,26px);margin:7px 0 5px;line-height:1.3;color:#ffedff;overflow-wrap:anywhere}.room-now-detail{font-size:13px;margin:0;color:#c6afd9;line-height:1.5}
.room-side-tools{position:absolute;right:0;top:4px;bottom:4px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:4px;width:100px}.room-side-tools button{min-height:30px;font-size:12px;padding:4px 7px;border:1px solid #b382dd32;border-radius:20px;background:#3d245044;color:#e3ccf5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:none}.room-side-tools svg{width:14px;height:14px}
.immersive-room .live-seat-heading{margin:2px 0 7px;padding:0 8px}.immersive-room .live-seat-heading h2{font-size:13px;font-weight:500;color:#c6a9dd}.immersive-room .live-demo-label{font-size:11px}
.immersive-room .live-seats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px 8px;padding:0 0 8px}
.immersive-room .live-seat{background:none;border:0;border-radius:12px;min-height:88px;padding:6px 2px;gap:0}.immersive-room .live-seat:hover{background:#b067dd0d}.immersive-room .live-seat>.avatar{width:44px;height:44px;margin-bottom:4px;border:1px solid #bb7fea75;box-shadow:0 0 0 4px #a367cd0c;font-size:21px}.immersive-room .live-seat.vacant .avatar{background:#25133277;border:1px dashed #ab81c88c;margin-bottom:4px;font-size:23px}.immersive-room .live-seat strong{font-size:13px;line-height:18px}.immersive-room .seat-state{font-size:11px;line-height:15px;margin-top:1px}.immersive-room .seat-gift{font-size:10px;line-height:13px;margin-top:1px}.immersive-room .seat-number{top:4px;left:8px;font-size:10px}.immersive-room .host-pill{top:1px;left:0;font-size:10px;background:#a16b3c38;color:#ffde9e}.immersive-room .live-seat.speaking>.avatar{box-shadow:0 0 0 4px #bd63ff38,0 0 20px #bc69ee6b}
.immersive-room .chat-panel{border:0;border-top:1px solid #af79d52b;border-radius:0;background:none;box-shadow:none;min-height:0;overflow:hidden}.immersive-room .chat-heading{padding:8px 4px 3px}.immersive-room .chat-heading h2{font-size:13px;color:#d0b4e5;font-weight:500}.immersive-room .chat-notice{padding:3px 5px;margin:0;background:none;font-size:12px}.immersive-room .chat-log{min-height:0;max-height:none;gap:8px;padding:8px 4px;overscroll-behavior:contain}.immersive-room .chat-entry{gap:7px}.immersive-room .chat-entry .avatar{width:26px;height:26px;font-size:12px;flex:0 0 26px}.immersive-room .chat-entry>div{display:flex;flex-wrap:wrap;gap:2px 7px;align-items:baseline}.immersive-room .chat-entry small{font-size:12px;margin:0;line-height:1.7;color:#c394eb}.immersive-room .chat-entry p{background:none;border:0;border-radius:0;padding:0;font-size:14px;color:#f0e2fa;line-height:1.6}.immersive-room .gift-notice{padding:5px 9px;margin:0}
.room-bottom{padding:8px 0 10px;border-top:1px solid #ad78cf22;background:linear-gradient(transparent,#100919bb)}.room-bottom .chat-form{margin:0;background:#ad6dd012;border:1px solid #a979c733;border-radius:24px;padding:4px 7px}.room-bottom .chat-form input{font-size:16px;padding:7px 9px}.room-bottom .send-button{background:#67358b;color:#f6e5ff;border-radius:50%;width:36px;height:36px}.room-bottom-controls{display:flex;gap:6px;align-items:center;margin-top:7px}.room-bottom-controls>.button{flex:1;min-height:40px;border-radius:24px;padding:7px 6px;font-size:12px;white-space:nowrap;box-shadow:none}.room-bottom-controls .button.pale{background:#b47ad015;border:1px solid #bc83dc2e}.room-bottom-controls #gift-button,.room-bottom-controls [data-action=gift]{background:linear-gradient(125deg,#bc51df,#7146e8);font-size:14px}.room-bottom-controls [hidden]{display:none!important}
.room-more{position:relative;flex:0 0 auto}.room-more summary{list-style:none;cursor:pointer;font-size:12px;padding:12px 5px;color:#dac3e9;min-height:40px}.room-more summary::-webkit-details-marker{display:none}.room-more-menu{position:absolute;bottom:48px;right:0;display:grid;min-width:160px;padding:10px;background:#281634;border:1px solid #9063ac6b;border-radius:15px;z-index:90;box-shadow:0 8px 30px #0008}.room-more-menu button{font-size:14px;min-height:40px;padding:8px;text-align:left}.room-more-menu:empty{display:none}
body.room-active .gift-barrage{bottom:calc(125px + env(safe-area-inset-bottom) + var(--banner-slot)*82px)}
@media(min-width:761px){.immersive-room.room-grid{padding-inline:40px;max-width:900px;margin:auto;min-height:750px}.immersive-room .live-seats{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.room-feature{min-height:180px;padding-left:22px}.room-now-title{font-size:32px}.room-head .live-stats{gap:24px}.room-bottom-controls>.button{font-size:14px}.immersive-room .live-seat>.avatar{width:54px;height:54px}.immersive-room .live-seat{min-height:118px}.room-side-tools{width:125px}.room-side-tools button{min-height:38px;font-size:14px}}
@media(max-width:360px){.immersive-room.room-grid{padding-inline:10px}.room-bottom-controls{gap:3px}.room-bottom-controls>.button{font-size:11px;padding-inline:4px}.room-now-title{font-size:18px}.room-feature{padding-right:105px}.room-side-tools{width:95px}}
@media(max-height:700px){.immersive-room.room-grid{min-height:640px}.room-feature{min-height:72px}.immersive-room .live-seat{min-height:80px}.immersive-room .live-seat>.avatar{width:38px;height:38px}}

/* Quiet room hierarchy: identity, seats, conversation. */
.immersive-room.room-grid{background:radial-gradient(ellipse at 50% 18%,#37204f55,transparent 60%),linear-gradient(180deg,#151020,#100c18 70%);padding-inline:20px}
.room-head{padding-top:8px;padding-bottom:12px;column-gap:8px;border-bottom-color:#b58dcc18}
.room-head .stage-top>b,.room-head .room-name b{font-size:18px;font-weight:650}
.room-head .live-stats{gap:18px;padding-top:2px}.room-head .live-stats>button{font-size:12px;color:#bba8ca}.room-head .live-stats b{font-size:14px;font-weight:550;color:#e7d8f2}
.room-head .room-atmosphere{justify-content:flex-end;font-size:11px;color:#96859f}.room-head .room-atmosphere>span:first-child{display:none}
.room-feature{min-height:48px;padding:8px 90px 8px 4px;background:none;flex-direction:row;align-items:center;justify-content:flex-start}
.room-feature-label,.room-now-detail{display:none}.room-now-title{font-size:15px!important;font-weight:500;color:#cbb5db;margin:0;line-height:1.5}
.room-side-tools{top:4px;bottom:4px;width:78px}.room-side-tools button{min-height:36px;font-size:13px;padding:6px 10px;background:#a274c10b;border-color:#bb8fd126;border-radius:12px}
.immersive-room .live-seat-heading{margin:5px 0 10px;padding:0 4px}.immersive-room .live-seat-heading h2{font-size:12px;color:#a18cab}.immersive-room .live-demo-label{display:none}
.immersive-room .live-seats{gap:14px 8px;padding:2px 0 18px}.immersive-room .live-seat{min-height:84px;padding:7px 2px 4px}
.immersive-room .live-seat>.avatar{width:48px;height:48px;margin-bottom:8px;border-color:#a078bd66;box-shadow:0 0 0 3px #b078d207;background:linear-gradient(150deg,#503564,#2b1e3e);font-size:22px}
.immersive-room .live-seat.vacant>.avatar{width:48px;height:48px;margin-bottom:8px;border-color:#aa85bc40;background:#ab7ed309;color:#a080b5;font-size:23px}
.immersive-room .live-seat strong{font-size:13px;font-weight:500;color:#decee9}.immersive-room .live-seat.vacant strong{font-size:12px;color:#907c9d}
.immersive-room .seat-state:not(.banned),.immersive-room .seat-number{display:none}
.immersive-room .seat-state.banned{font-size:11px;line-height:15px;color:#e3a2b7}
.immersive-room .seat-gift{display:none}.immersive-room .has-gifts .seat-gift{display:block;font-size:11px;color:#d5b67f}
.immersive-room .host-pill{left:50%;top:0;transform:translate(-50%,-25%);border-radius:8px;padding:1px 6px;font-size:9px;background:#5d4432;color:#f4d0a0;line-height:13px}
.immersive-room .chat-panel{border-top-color:#b48fc51c}.immersive-room .chat-heading{padding:13px 3px 5px}.immersive-room .chat-heading h2{font-size:12px;color:#a78db6}.immersive-room .chat-notice{display:none}
.immersive-room .chat-log{gap:12px;padding:10px 3px}.immersive-room .chat-entry small span{display:none}.immersive-room .chat-entry>div{gap:2px 8px}.immersive-room .chat-entry small{color:#b394c8}.immersive-room .chat-entry p{color:#dfd4e7;font-size:14px}
.room-bottom{padding-top:10px;border-top-color:#b48fc51c;background:#100c18}.room-bottom .chat-form{border-color:#b58ccc1c;background:#b288c509;border-radius:20px}.room-bottom .send-button{background:#503060}
.room-bottom-controls{gap:8px;margin-top:9px}.room-bottom-controls>.button{background:#ab7ac20a;border:1px solid #ba8dc521;border-radius:14px;min-height:42px;font-size:13px;font-weight:500}.room-bottom-controls #gift-button,.room-bottom-controls [data-action=gift]{background:linear-gradient(125deg,#a34bc6,#7445c7);border:0;font-size:14px}.room-more summary{min-width:36px;text-align:center;color:#b19bc0}
.room-more-menu{max-height:55dvh;overflow:auto;min-width:190px}.room-more-menu #queue-button,.room-more-menu [data-live-action=queue-list]{white-space:normal;line-height:1.5}
@media(min-width:761px){.immersive-room.room-grid{padding-inline:40px}.room-feature{min-height:60px}.immersive-room .live-seats{padding-top:20px;padding-bottom:24px}.immersive-room .live-seat>.avatar{width:58px;height:58px}.immersive-room .live-seat{min-height:100px}}
@media(max-width:360px){.immersive-room.room-grid{padding-inline:14px}.room-bottom-controls{gap:5px}.room-bottom-controls>.button{font-size:12px}}

/* Layered stage lighting; keep the quiet layout and clear chat surface. */
.immersive-room.room-grid{background:linear-gradient(180deg,#120c20a6 0%,#130d21e3 38%,#100c19fa 66%),url('/assets/night-atmosphere.webp') 60% top/auto 540px no-repeat,#100c19}
.room-head{border-bottom:0;padding-bottom:10px}.room-head .stage-top>b,.room-head .room-name b{color:#f8eaff;text-shadow:0 2px 18px #c577eb25;letter-spacing:1px}.room-head .live-stats{gap:10px;margin-top:2px}.room-head .live-stats>button{padding:4px 9px;border:1px solid #bf8be01c;border-radius:20px;background:#321e453b;min-height:30px}.room-head .live-stats>button:last-child{border-color:#d0a76629;background:#60482d24}.room-head .live-stats>button:last-child b{color:#ebcd9e}.room-head .room-atmosphere{margin-top:5px}
.immersive-room .stage.live-stage{position:relative;isolation:isolate;border:1px solid #a377ca2c;border-radius:24px;padding:9px 10px 0;margin:3px -6px 14px;background:radial-gradient(ellipse at 50% -15%,#b275e52b,transparent 65%),linear-gradient(155deg,#43225628,#21152c08 70%);box-shadow:inset 0 1px #e1b8f318,0 12px 28px #06020c24}
.immersive-room .stage.live-stage::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;pointer-events:none;background:radial-gradient(ellipse at 7% 55%,#779ff010,transparent 35%),radial-gradient(ellipse at 95% 64%,#d47cb413,transparent 38%)}
.room-feature{min-height:53px;padding-left:10px}.room-now-title{font-size:18px!important;color:#f1ddfb;font-weight:600;letter-spacing:1px;line-height:1.4}.room-now-title::after{content:'';display:block;width:28px;height:2px;border-radius:2px;background:linear-gradient(90deg,#d8b2f0,#ac78d01a);margin-top:7px}
.room-side-tools{right:3px;top:7px;bottom:7px}.room-side-tools button{background:linear-gradient(135deg,#8653a529,#54367826);border-color:#c694e33b;box-shadow:inset 0 1px #e9cafa12;color:#efdcff}
.immersive-room .live-seat-heading{margin-top:5px;padding-left:10px}.immersive-room .live-seat-heading h2{color:#bfa3d0;letter-spacing:1px}
.immersive-room .live-seats{gap:14px 8px;padding-bottom:16px}.immersive-room .live-seat{padding-top:10px;padding-bottom:8px}
.immersive-room .live-seat:not(.vacant)>.avatar{border:1px solid #d5a5ef80;background:radial-gradient(circle at 30% 18%,#9263a66b,transparent 58%),linear-gradient(150deg,#57386d,#2d1f42);box-shadow:0 0 0 3px #a871cf16,0 0 0 5px #bd87e019,inset 0 1px 8px #d4a4ed18,0 7px 22px #b664e11b;color:#f5dbff}
.immersive-room .live-seat:nth-child(4n+2):not(.vacant)>.avatar{border-color:#9dacee80;background:radial-gradient(circle at 30% 18%,#748ac354,transparent 60%),linear-gradient(150deg,#393464,#25203e);box-shadow:0 0 0 3px #839ae416,0 0 0 5px #a0b0ef19,0 7px 22px #7395df14;color:#d4deff}
.immersive-room .live-seat:nth-child(4n+3):not(.vacant)>.avatar{border-color:#d699d680;background:radial-gradient(circle at 30% 18%,#b36a9c44,transparent 60%),linear-gradient(150deg,#663354,#35203a);color:#f4d3eb}
.immersive-room .live-seat:has(.host-pill)>.avatar{border-color:#e0ba8299;box-shadow:0 0 0 3px #d6ac6d13,0 0 0 5px #e6b77924,0 7px 22px #d8a46117}.immersive-room .host-pill{background:linear-gradient(110deg,#9d7950,#62442f);border:1px solid #efcc984d;color:#ffebcb;box-shadow:0 2px 6px #07040b55;z-index:1;top:2px;padding:1px 7px;font-size:10px}
.immersive-room .live-seat.vacant>.avatar{background:radial-gradient(circle,#8d5db30c,#160e260d);border-color:#b18aca4f;color:#9675b0;box-shadow:inset 0 0 14px #8667af09}
.immersive-room .live-seat.speaking>.avatar{border-color:#eed6ff;box-shadow:0 0 0 4px #bd63ff38,0 0 22px #bc69ee6b}
.immersive-room .chat-panel{border-top:0;background:linear-gradient(180deg,#30203916,transparent 60%);border-radius:18px 18px 0 0}.immersive-room .chat-heading{padding-top:8px}.immersive-room .chat-heading h2{display:flex;align-items:center;gap:8px;color:#c6accf}.immersive-room .chat-heading h2::after{content:'';height:1px;flex:1;background:linear-gradient(90deg,#c496de27,transparent)}
.immersive-room .gift-notice{border:1px solid #d2ae7533;background:linear-gradient(110deg,#99704722,#5e376e1a);color:#e7cca4;border-radius:12px}
.room-bottom{background:linear-gradient(180deg,#100c19ef,#100c19);border-top-color:#cba5e016}.room-bottom .chat-form{background:linear-gradient(100deg,#38223f30,#23172f26);border-color:#b58ccc2e;box-shadow:inset 0 1px #ebc8ff08}.room-bottom .send-button{background:linear-gradient(135deg,#854da3,#533269);box-shadow:0 2px 12px #bc63df1a}.room-bottom-controls #gift-button,.room-bottom-controls [data-action=gift]{background:linear-gradient(120deg,#b956db,#8054df);box-shadow:inset 0 1px #efc6ff40,0 4px 18px #9549c529}.room-bottom-controls .button.pale{background:linear-gradient(135deg,#6b43731f,#35213f1f);border-color:#bd8fd130}
@media(min-width:761px){.immersive-room .stage.live-stage{padding:12px 18px 0}.room-feature{min-height:62px}.room-now-title{font-size:22px!important}.room-side-tools{right:8px}}
