:root{--bg:#f1edf8;--ink:#39334a;--red:#7b58b5;--red-soft:#eee7f8;--line:#e9e3f1;--sage:#8b80a0;--sage-soft:#efebf7}
body{background:radial-gradient(ellipse at 95% 0,#eee8f7,transparent 52%),#f8f6fc;color:var(--ink)}
.app-shell{min-height:100dvh}.sidebar{background:#ffffffc9;border-right:1px solid #fff;min-height:0}.sidebar-note{background:#f4f0fa;border-color:#eee7f7}.brand-mark{background:#8565b9}.topbar{background:#faf8ffb8;border-bottom:1px solid #ffffffb0}.page-body{padding:26px 30px;max-width:1460px;margin:0 auto;width:100%}.network-banner{display:none}.main{min-width:0}.demo-footer{padding:8px 24px 22px;color:#aaa1b9;font-size:10px}
.room-wallet{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 26px;margin-bottom:25px;border-radius:22px;border:1.5px solid #fff;background:linear-gradient(115deg,#fff 4%,#f5f0ff 100%);box-shadow:0 6px 23px #79659809;overflow:hidden}.room-wallet-copy>span{display:block;color:#9386a5;font-size:12px}.room-wallet-copy>strong{display:flex;align-items:baseline;gap:9px;font-size:31px;font-weight:650;letter-spacing:-1px;color:#4b3c64;font-variant-numeric:tabular-nums;margin:7px 0 6px}.room-wallet-copy strong small{font-size:11px;letter-spacing:.5px;font-weight:500;color:#9383ab}.room-wallet-copy>p{font-size:10px;color:#aa9ebc}.room-wallet-actions{display:flex;gap:25px;flex-shrink:0}.room-wallet-actions>button{display:flex;align-items:center;flex-direction:column;gap:7px;font-size:12px;color:#67517f;min-width:45px;padding:0}.room-wallet-actions>button>span{display:grid;place-items:center;width:43px;height:43px;background:linear-gradient(145deg,#eee4ff,#cbb8ea);border-radius:14px;border:1px solid #fff;box-shadow:0 3px 7px #9279ad16,inset 1px 1px 0 #fff8}.room-wallet-actions .ph{font-size:25px;color:#775099;filter:drop-shadow(0 1px 0 #fff)}
.catalogue-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 13px}.catalogue-heading h2{font-size:16px;font-weight:650;letter-spacing:.5px}.catalogue-heading>span{font-size:11px;color:#a396b3}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.room-list.panel{display:block;position:relative;height:auto;min-height:0;border:0;border-radius:0;padding:0;background:transparent;overflow:visible}.room-bottom{position:static;margin:16px 0 0;padding:0;text-align:center;font-size:9px;color:#afa3bc}.room-list #room-items{padding:0;overflow:visible;display:grid;gap:15px;max-height:none}.auspicious-room{display:flex;position:relative;align-items:center;width:100%;height:160px;border:1.5px solid #fff;border-radius:23px;text-align:left;overflow:hidden;background:radial-gradient(ellipse at 94% 64%,#dccdef24,transparent 62%),linear-gradient(105deg,#ffffff70 5%,#ede4f52b 100%);box-shadow:inset 0 1px 0 #ffffffcc,inset 0 -1px 0 #aa8cc01a,0 6px 18px #8065950a;backdrop-filter:blur(18px) saturate(1.25);-webkit-backdrop-filter:blur(18px) saturate(1.25);padding:22px 18px;isolation:isolate}.auspicious-room.selected{border-color:#d3c0e699;box-shadow:inset 0 1px 0 #ffffffdd,0 0 0 1px #cbbbdf14,0 5px 18px #7b649508}.auspicious-room:hover{border-color:#c6b4df;transform:translateY(-2px)}.auspicious-room:active{transform:translateY(0) scale(.99)}.auspicious-room-copy{position:relative;z-index:2;display:flex;flex-direction:column;gap:5px;width:72%;pointer-events:none}.auspicious-room-copy>strong{font-size:19px;letter-spacing:.6px;color:#554560;font-weight:550;line-height:1.4}.auspicious-room-copy>small{font-size:10px;color:#ab9ab4;letter-spacing:1px}.auspicious-room-meta{display:flex;align-items:center;gap:8px;margin-top:26px;white-space:nowrap}.auspicious-room-meta>b{background:linear-gradient(100deg,#b99cda,#9c80c4);color:#fff;font-weight:500;font-size:10px;border-radius:12px;padding:4px 9px;box-shadow:0 1px 1px #fff7 inset}.auspicious-room-meta>span{display:flex;align-items:center;gap:4px;font-size:9px;color:#a797b1}.auspicious-room-meta i{width:4px;height:4px;border-radius:50%;background:#a9b6a1}.auspicious-room-art{position:absolute;width:218px;height:auto;right:-32px;bottom:-9px;z-index:1;pointer-events:none;filter:drop-shadow(0 8px 8px #9784ad16)}.room-card-arrow{position:absolute;right:16px;top:13px;color:#b3a1c8;font-size:14px}
.chat.panel{height:690px;border:1px solid #fff;border-radius:22px;background:#fff;box-shadow:0 6px 24px #7a66910a;min-width:0}.chat-header{padding:17px 20px;border-bottom-color:#f0ebf5}.chat-header .room-symbol{background:#f0e9f9;color:#9274b0}.chat-title h3{font-size:15px}.chat-title p{font-size:10px}.chat-notice{background:#faf7fd;color:#a599af;font-size:10px;border-bottom:1px solid #f2edf6}.chat-feed{background:#fdfcfe;padding:20px}.message-bubble{border-color:#eee9f3;background:#f8f5fa}.mine .message-bubble{background:#f0e8f8;border-color:#e3d8ef;color:#755b8e}.composer{border-top:1px solid #f1edf5;background:#fff;padding:17px 19px}.composer textarea{font-size:13px}.chat-header .room-back{display:none}.btn.primary{background:#9270bc;color:#fff}.send-message.primary{background:#9370ba}.red-packet{background:linear-gradient(115deg,#d0654e,#bf513e)}.section-heading,.welcome{display:none}
.contact-support{position:fixed;right:23px;bottom:28px;z-index:18;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:60px;height:66px;border-radius:19px;background:linear-gradient(145deg,#b496d4,#8a65b3);color:#fff;border:1.5px solid #fff;box-shadow:0 5px 18px #7f5fa62b}.contact-support>.ph{font-size:26px}.contact-support>span{font-size:10px;letter-spacing:.5px}.contact-support> b{position:absolute;right:-3px;top:-4px;min-width:17px;height:17px;border-radius:9px;background:#c45763;color:white;font-size:10px;line-height:17px;padding:0 4px}.contact-support:focus-visible{outline:3px solid #c6b0e2;outline-offset:4px}
.support-modal{width:min(520px,calc(100vw - 24px));padding:28px 24px;max-height:calc(100dvh - 28px)}.support-messages{height:320px;max-height:40dvh;overflow:auto;overscroll-behavior:contain;background:#f7f4fa;border:1px solid #ebe4f2;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:14px;margin:15px 0}.support-message{max-width:88%;align-self:flex-start}.support-message-user{align-self:flex-end}.support-message-meta{font-size:10px;color:#a195ad;margin:0 2px 5px;display:flex;gap:8px;flex-wrap:wrap}.support-message-user .support-message-meta{justify-content:flex-end}.support-message-text{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 13px;border:1px solid #e8dff0;border-radius:12px;background:white;color:#695c75}.support-message-user .support-message-text{background:#ebe1f5;border-color:#e0d2ec}.support-form{margin-top:12px}.support-field{display:block;font-size:12px;color:#8c7b9b}.support-field textarea{display:block;width:100%;min-height:88px;resize:vertical;margin:8px 0 12px;border:1px solid #e0d6ec;border-radius:10px;padding:12px;font-size:14px;background:#fefcff}.support-form button[type=submit]{min-height:40px}.support-error{color:#b34d59;font-size:12px;line-height:1.7;margin:8px 0}.support-empty{margin:auto;text-align:center;color:#a393af;font-size:12px;line-height:1.9}.support-intro,.support-note{color:#a394af;font-size:11px;line-height:1.8}.support-form textarea:focus{outline:2px solid #d5c2ea;border-color:#bda5d3}
@media(min-width:1550px){.workspace{grid-template-columns:345px minmax(0,1fr)}.auspicious-room{height:175px;padding-left:23px}.auspicious-room-art{width:245px;right:-29px}.auspicious-room-copy>strong{font-size:21px}.auspicious-room-meta{margin-top:30px}.chat.panel{height:730px}}
@media(max-width:1160px) and (min-width:761px){.sidebar{width:172px;flex-basis:172px}.page-body{padding:22px 20px}.workspace{grid-template-columns:270px minmax(0,1fr);gap:15px}.auspicious-room{height:155px;padding-left:17px}.auspicious-room-art{width:200px;right:-41px}.auspicious-room-copy>strong{font-size:17px}.auspicious-room-meta{gap:6px}.auspicious-room-meta>b{padding:4px 7px;font-size:9px}.auspicious-room-meta>span{font-size:8px}}
@media(max-width:760px){body{background:linear-gradient(155deg,#f9f7fd,#ece5f7 80%)}.app-shell{padding-bottom:76px}.page-body{padding:13px 13px 18px;max-width:520px}.topbar{height:60px;padding:0 15px;background:#fbf9ffcd;border-bottom:1px solid #fff}.topbar .mobile-brand{background:#a488c3}.topbar .breadcrumb strong{color:#6e5886;font-size:16px}.topbar .account-button{display:none}.topbar .demo-badge{font-size:8px;background:#f4effa;color:#a28caf;border:0}.room-wallet{padding:16px 18px;border-radius:19px;margin-bottom:18px;min-height:111px;background:linear-gradient(108deg,#fff,#f4edfc);gap:8px}.room-wallet-copy>span{font-size:10px}.room-wallet-copy>strong{font-size:27px;margin:5px 0;gap:7px}.room-wallet-copy strong small{font-size:10px}.room-wallet-copy>p{font-size:8px}.room-wallet-actions{gap:17px}.room-wallet-actions>button{font-size:11px;min-width:36px;gap:5px}.room-wallet-actions>button>span{width:36px;height:36px;border-radius:11px}.room-wallet-actions .ph{font-size:23px}.catalogue-heading{margin:0 4px 12px}.catalogue-heading h2{font-size:14px;color:#685779}.catalogue-heading>span{font-size:9px}.workspace{display:block}.room-list.panel{display:block!important;height:auto;min-height:0;background:none;padding:0;border:0;border-radius:0}.room-list #room-items{gap:13px}.auspicious-room{height:149px;border-radius:22px;padding:22px 20px;border-color:#fff}.auspicious-room-copy>strong{font-size:20px}.auspicious-room-copy>small{font-size:10px}.auspicious-room-meta{margin-top:27px;gap:10px}.auspicious-room-meta>b{font-size:11px;padding:4px 9px}.auspicious-room-meta>span{font-size:10px}.auspicious-room-art{width:237px;right:-19px;bottom:-10px}.auspicious-room.selected{border-color:#ffffffcc;box-shadow:inset 0 1px 0 #ffffffdd,0 4px 15px #8c74a20c}.workspace:not(.is-in-room) .chat{display:none}.workspace.is-in-room .room-list.panel{display:none!important}.workspace.is-in-room .chat{display:flex;height:max(470px,calc(100dvh - 278px));border-radius:18px}.chat-header .room-back{display:inline-flex;width:28px}.chat-header{height:65px;min-height:65px;padding:12px 13px;gap:9px}.chat-title h3{font-size:14px}.chat-title p{font-size:10px}.chat-notice{font-size:10px;padding:10px 14px}.chat-feed{padding:14px}.composer{padding:13px}.composer textarea{font-size:14px}.red-packet{width:245px}.packet-content strong{font-size:12px}.packet-content small{font-size:9px}.packet-bottom{font-size:8px}.message-bubble{font-size:13px}.room-bottom{margin:16px 0 0;font-size:8px}.demo-footer{padding:0 18px 17px;font-size:8px;line-height:1.8}.mobile-nav{z-index:20;background:#fffdfefe;border-top:1px solid #eee7f6;box-shadow:0 -4px 15px #8f79a207;height:68px;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav .nav-item.active{background:transparent;color:#8e69ba}.mobile-nav .nav-item{font-size:10px}.contact-support{width:53px;height:59px;right:16px;bottom:calc(82px + env(safe-area-inset-bottom));border-radius:17px}.contact-support>.ph{font-size:24px}.contact-support>span{font-size:9px}.support-modal{padding:25px 20px;border-radius:20px}.support-messages{max-height:39dvh;height:300px}.support-field textarea{font-size:16px;min-height:80px}.support-message-text{font-size:13px}.room-wallet-actions button:active>span{transform:scale(.96)}.wallet-page-grid{grid-template-columns:1fr}.room-locked{padding:35px 18px}}
@media(max-width:360px){.room-wallet{padding:15px 13px}.room-wallet-actions{gap:10px}.room-wallet-copy>strong{font-size:24px}.auspicious-room{height:142px;padding-left:16px}.auspicious-room-art{width:215px;right:-25px}.auspicious-room-copy>strong{font-size:18px}.auspicious-room-meta{gap:7px}.auspicious-room-meta>span{font-size:9px}}

@media(max-width:760px){.page-body:has(.workspace.is-in-room) .catalogue-heading{display:none}.workspace.is-in-room .chat{height:max(440px,calc(100dvh - 300px))}.app-shell:has(.workspace.is-in-room) .contact-support{bottom:calc(171px + env(safe-area-inset-bottom));height:42px;width:42px;border-radius:14px}.app-shell:has(.workspace.is-in-room) .contact-support>span{display:none}}

.profile-modal{width:min(480px,calc(100vw - 24px));padding:28px;max-height:calc(100dvh - 28px)}.profile-avatar-row{display:flex;align-items:center;gap:12px;margin:2px 0 24px}.profile-avatar-row .avatar-large{width:58px;height:58px}.profile-avatar-caption{flex:1;min-width:0}.profile-avatar-caption strong{display:block;color:#6c5b7c;font-size:13px}.profile-avatar-caption small{display:block;margin-top:5px;color:#a393af;font-size:10px}.profile-photo-button{margin:0;white-space:nowrap;border-color:#dfd3eb;color:#85669f;border-radius:8px;font-size:12px;padding:9px 11px}.profile-records{margin-top:24px;border-top:1px solid #eee7f5;padding-top:21px}.profile-records>h3{font-size:13px;color:#766388;margin-bottom:12px}.profile-records details{border:1px solid #ece3f3;border-radius:10px;margin:9px 0;background:#fcfafe}.profile-records summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:13px 14px;font-size:12px;color:#705985}.profile-records summary::-webkit-details-marker{display:none}.profile-records summary>span{flex:1}.profile-records summary>small{color:#b0a0bc;font-size:10px}.profile-records summary>.ph{font-size:13px;color:#b19dc1}.profile-records details[open] summary>.ph{transform:rotate(180deg)}.profile-record-list{list-style:none;padding:0 14px;margin:0}.profile-record-list li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #f1eaf6}.profile-record-list strong{display:block;color:#87728e;font-size:11px}.profile-record-list small{display:block;color:#ab99b1;font-size:10px;margin-top:4px}.profile-record-list time{display:block;color:#b9aabf;font-size:9px;margin-top:6px}.profile-record-list b{font-size:11px;white-space:nowrap;color:#8d6eaa;font-weight:550}.profile-record-list .profile-record-empty{display:block;color:#b6a6bf;text-align:center;font-size:11px;padding:20px 0}.profile-record-note{font-size:9px;color:#b5a4bf;padding:0 14px 9px}.profile-modal .reset-link{color:#ad9ab6}.profile-modal .field-label{font-size:12px;color:#8c789d}.profile-modal .field-label input{font-size:14px;background:#fdfbff;border-color:#e6ddee}@media(max-width:600px){.profile-modal{padding:27px 22px}.profile-modal .field-label input{font-size:16px}.profile-avatar-row{gap:10px}.profile-avatar-caption small{font-size:9px}.profile-photo-button{font-size:11px;padding:8px 10px}}

/* Room catalogue and per-room announcement. */
.workspace:not(.is-in-room){display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px;max-width:1040px;margin:0 auto}
.workspace.is-in-room{display:block;max-width:1100px;margin:0 auto}
.room-categories{position:sticky;top:90px;align-self:start;display:flex;flex-direction:column;gap:12px}
.room-category{width:84px;min-height:108px;border-radius:25px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;padding:8px 7px;background:linear-gradient(145deg,#ffffff66,#bd9bdf2e);border:1px solid #bba4d478;color:#79559c;box-shadow:inset 1px 1px 0 #ffffffb3,inset -1px -1px 0 #a98ac12b,0 4px 12px #80619d12;backdrop-filter:blur(16px) saturate(1.2);-webkit-backdrop-filter:blur(16px) saturate(1.2)}
.room-category img{display:block;width:64px;height:64px;object-fit:contain}.room-category span{font-size:16px;letter-spacing:2px;font-weight:550}.room-category:hover{filter:brightness(1.04)}.room-category:active{transform:scale(.97)}.room-category:focus-visible{outline:3px solid #c6b0e2;outline-offset:4px}
.workspace:not(.is-in-room) .auspicious-room{height:172px;padding-left:30px}.workspace:not(.is-in-room) .auspicious-room-copy>strong{font-size:23px}.workspace:not(.is-in-room) .auspicious-room-art{width:270px;right:18px;bottom:-26px}
.room-announcement{max-width:1100px;margin:0 auto 18px;background:linear-gradient(110deg,#fff,#f4eefb);border:1px solid white;border-radius:19px;padding:15px 20px;box-shadow:0 4px 16px #7f699109}
.room-announcement-heading{display:flex;align-items:center;gap:10px}.announcement-icon{width:32px;height:32px;display:grid;place-items:center;color:#9676b5;background:#eee6f7;border-radius:10px;font-size:19px}.room-announcement-heading>div{display:flex;align-items:center;gap:10px}.room-announcement-heading span:not(.announcement-icon){font-size:12px;color:#8d769f}.room-announcement-heading strong{font-size:11px;font-weight:400;color:#b09dbb}.room-announcement>p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:auto;line-height:1.85;font-size:13px;color:#7d698d;margin:8px 0 0}
.chat-title-main{display:flex;align-items:center;gap:13px;min-width:0}.chat-title-main h3{flex-shrink:0}.chat-title-main .online-members{font-size:10px;white-space:nowrap;gap:4px}.chat-title .room-type{margin-top:5px}.chat-header .room-back{display:inline-flex}
.contact-support{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:grab;z-index:24}.contact-support:active{cursor:grabbing}
@media(max-width:760px){
 .workspace:not(.is-in-room){grid-template-columns:62px minmax(0,1fr);gap:10px}.room-categories{top:73px}.room-category{width:60px;min-height:80px;padding:4px;border-radius:21px}.room-category img{width:47px;height:47px}.room-category span{font-size:13px;letter-spacing:1px}
 .workspace:not(.is-in-room) .auspicious-room{height:143px;padding:19px 14px;border-radius:20px}.workspace:not(.is-in-room) .auspicious-room-copy>strong{font-size:18px;letter-spacing:0}.workspace:not(.is-in-room) .auspicious-room-copy>small{font-size:9px}.workspace:not(.is-in-room) .auspicious-room-meta{margin-top:27px;gap:6px}.workspace:not(.is-in-room) .auspicious-room-meta>b{font-size:9px;padding:4px 7px}.workspace:not(.is-in-room) .auspicious-room-meta>span{font-size:8px;gap:3px}.workspace:not(.is-in-room) .auspicious-room-art{width:195px;right:-31px;bottom:-11px}.room-bottom{line-height:1.6}
 body:has(.app-shell.rooms-open){overflow:hidden}
 .app-shell.rooms-open{padding-bottom:0;min-height:0;height:var(--room-viewport-height,100dvh)}
 .app-shell.rooms-open .main{position:fixed;top:var(--room-viewport-top,0px);left:0;right:0;height:var(--room-viewport-height,100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#f8f5fc}
 .app-shell.rooms-open .topbar,.app-shell.rooms-open .mobile-nav,.app-shell.rooms-open .demo-footer{display:none}
 .app-shell.rooms-open .page-body{padding:0;margin:0;width:100%;max-width:none;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .app-shell.rooms-open .room-announcement{margin:0;padding:9px 13px 8px;border-radius:0;border:0;border-bottom:1px solid #ebe2f2;box-shadow:none;flex-shrink:0;width:100%}
 .app-shell.rooms-open .room-announcement-heading{gap:7px}.app-shell.rooms-open .announcement-icon{width:20px;height:20px;background:transparent;font-size:16px}.app-shell.rooms-open .room-announcement-heading>div{gap:9px}.app-shell.rooms-open .room-announcement-heading span:not(.announcement-icon){font-size:10px}.app-shell.rooms-open .room-announcement-heading strong{font-size:9px}.app-shell.rooms-open .room-announcement>p{font-size:11px;line-height:1.65;margin-top:3px;max-height:54px}
 .workspace.is-in-room{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;width:100%;margin:0}.workspace.is-in-room .chat.panel{display:flex;flex:1;min-height:0;width:100%;height:auto;border-radius:0;border-left:0;border-right:0;border-bottom:0;box-shadow:none}
 .workspace.is-in-room .chat-header{height:47px;min-height:47px;padding:7px 10px;gap:7px}.workspace.is-in-room .chat-header .room-back{width:23px;height:28px;font-size:16px}.workspace.is-in-room .room-symbol{width:26px;height:27px;border-radius:8px;font-size:17px}.workspace.is-in-room .chat-title-main{gap:7px}.workspace.is-in-room .chat-title h3{font-size:13px;gap:3px}.workspace.is-in-room .chat-title h3 i{font-size:11px}.workspace.is-in-room .chat-title-main .online-members{font-size:9px;gap:3px;color:#a090b0}.workspace.is-in-room .online-members .ph{font-size:10px}.workspace.is-in-room .chat-title .room-type{display:none}.workspace.is-in-room .chat-header>.icon-btn{width:25px;height:28px}.workspace.is-in-room .chat-header .icon-btn i{font-size:17px}
 .workspace.is-in-room .chat-feed{flex:1;min-height:0;padding:12px;overscroll-behavior:contain}.workspace.is-in-room .composer{flex-shrink:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));min-height:88px}.workspace.is-in-room .composer textarea{height:31px;font-size:16px;line-height:1.5}.workspace.is-in-room .composer-toolbar{margin-top:4px}
 .app-shell.rooms-open .contact-support{width:43px;height:43px;right:12px;bottom:calc(110px + env(safe-area-inset-bottom));border-radius:15px}.app-shell.rooms-open .contact-support>span{display:none}.app-shell.rooms-open .contact-support>.ph{font-size:23px}
}
@media(max-width:360px){.workspace:not(.is-in-room){grid-template-columns:53px minmax(0,1fr);gap:8px}.room-category{width:52px;min-height:75px;border-radius:18px}.room-category img{width:42px;height:42px}.workspace:not(.is-in-room) .auspicious-room-copy>strong{font-size:16px}.workspace:not(.is-in-room) .auspicious-room-art{width:173px;right:-34px}.workspace.is-in-room .chat-header{gap:5px}.workspace.is-in-room .chat-title-main{gap:4px}.workspace.is-in-room .chat-title h3{font-size:12px}.workspace.is-in-room .chat-header .room-symbol{display:none}}

.chat-header .room-back{width:auto;min-width:67px;gap:4px;padding:0 3px;color:#8d75a3}.room-back span{font-size:11px;white-space:nowrap}.workspace.is-in-room .chat-header .room-back{width:auto;min-width:64px;gap:3px}.workspace.is-in-room .room-back span{font-size:10px}

/* Keep the desktop category in the left sidebar. */
.sidebar-hongbao{padding-top:12px}.sidebar-hongbao .room-categories{position:static;align-self:auto}.sidebar-hongbao .room-category{margin-left:4px}.workspace:not(.is-in-room){grid-template-columns:minmax(0,1fr)}.workspace>.room-categories{display:none}.room-wallet-copy>p{line-height:1.7}.recharge-ledger .withdrawal-row{align-items:flex-start}
@media(max-width:760px){.workspace:not(.is-in-room){grid-template-columns:62px minmax(0,1fr)}.workspace>.room-categories{display:flex}.sidebar-hongbao{display:none}.app-shell:not(.rooms-open) .page-body{padding-bottom:26px}}
@media(max-width:360px){.workspace:not(.is-in-room){grid-template-columns:53px minmax(0,1fr)}}

/* Compact category tile; chat packets retain their original red theme. */
.sidebar-hongbao .room-category{min-height:78px;padding:4px 8px;gap:1px;border-radius:21px}.sidebar-hongbao .room-category img{width:44px;height:44px}.sidebar-hongbao .room-category span{font-size:15px;line-height:19px}
@media(max-width:760px){.workspace>.room-categories .room-category{min-height:60px;padding:3px;gap:1px;border-radius:17px}.workspace>.room-categories .room-category img{width:34px;height:34px}.workspace>.room-categories .room-category span{font-size:12px;line-height:16px}}
@media(max-width:360px){.workspace>.room-categories .room-category{min-height:56px}.workspace>.room-categories .room-category img{width:32px;height:32px}.workspace>.room-categories .room-category span{line-height:14px}}

/* The lobby begins with a compact balance card and its notification control. */
.lobby-page:not(.rooms-open) .page-body{padding-top:16px}
.lobby-page .room-wallet{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:1px;padding:12px 24px 17px;margin-bottom:20px}
.lobby-page .room-wallet-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.lobby-page .room-wallet-heading>span{font-size:12px;color:#9386a5}
.lobby-page .room-wallet-notifications{width:30px;height:28px;color:#9581a5;margin-right:-5px}
.lobby-page .room-wallet-notifications>.ph{font-size:21px}
.lobby-page .room-wallet-notifications>b{position:absolute;right:5px;top:3px;width:4px;height:4px;border-radius:50%;background:#d76d6a}
.lobby-page .room-wallet-copy{min-width:0}
.lobby-page .room-wallet-copy>strong{line-height:1.2;margin:0 0 5px;flex-wrap:wrap}
.lobby-page .room-wallet-copy>p{line-height:1.6;overflow-wrap:anywhere}
.lobby-page .room-wallet-actions{align-self:center}
@media(max-width:760px){
 .lobby-page:not(.rooms-open) .page-body{padding-top:calc(7px + env(safe-area-inset-top))}
 .lobby-page .room-wallet{min-height:0;padding:8px 15px 12px;margin-bottom:16px;border-radius:18px;column-gap:12px;row-gap:0}
 .lobby-page .room-wallet-heading>span{font-size:10px}
 .lobby-page .room-wallet-notifications{width:28px;height:26px;margin-right:-4px}
 .lobby-page .room-wallet-notifications>.ph{font-size:19px}
 .lobby-page .room-wallet-copy>strong{font-size:25px;margin:0 0 4px;gap:3px 6px}
 .lobby-page .room-wallet-copy strong small{font-size:9px}
 .lobby-page .room-wallet-copy>p{font-size:8px;max-width:165px}
 .lobby-page .room-wallet-actions{gap:12px}
 .lobby-page .room-wallet-actions>button{min-width:32px;font-size:10px;gap:4px}
 .lobby-page .room-wallet-actions>button>span{width:32px;height:32px;border-radius:10px}
 .lobby-page .room-wallet-actions .ph{font-size:21px}
}
@media(max-width:360px){
 .lobby-page .room-wallet{padding-left:12px;padding-right:12px;column-gap:8px}
 .lobby-page .room-wallet-copy>strong{font-size:23px}
 .lobby-page .room-wallet-actions{gap:8px}
 .lobby-page .room-wallet-actions>button{min-width:30px}
 .lobby-page .room-wallet-actions>button>span{width:30px;height:30px}
}

/* Clear glass keeps the lobby light visible behind the controls. */
.lobby-page:not(.rooms-open) .page-body{
 background:radial-gradient(ellipse at 92% 16%,#cfb5ea14,transparent 39%),radial-gradient(ellipse at 22% 61%,#d8c1ed10,transparent 45%),radial-gradient(ellipse at 75% 94%,#c8bce514,transparent 46%);
}
.room-list.panel .auspicious-room{
 background:linear-gradient(116deg,#ffffff26 0%,#ffffff08 45%,#e9dcf40c 100%);
 border:1px solid #fffffff2;
 box-shadow:inset 0 2px 1px #fff,inset 2px 0 1px #ffffffbf,inset 0 -2px 1px #bca7cb4d,0 10px 20px #6b547410,0 2px 5px #6b547414;
 backdrop-filter:blur(28px) saturate(1.08);-webkit-backdrop-filter:blur(28px) saturate(1.08);
}
.room-list.panel .auspicious-room::before{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;
 background:linear-gradient(121deg,#ffffff73 0%,#ffffff0a 28%,transparent 29%,transparent 58%,#ffffff29 59%,transparent 77%);
}
.room-list.panel .auspicious-room::after{
 content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;z-index:3;
 border:1px solid #ffffffa3;border-right-color:#ffffff40;border-bottom-color:#c3acd44d;
}
.room-list.panel .auspicious-room.selected{
 border-color:#c7aedc9c;box-shadow:inset 0 2px 1px #fff,inset 2px 0 1px #ffffffd9,inset 0 -2px 1px #bca7cb5c,0 10px 20px #6b547412,0 2px 5px #6b547414;
}
.room-list.panel .auspicious-room:hover{border-color:#bba0d3bd}
.room-categories .room-category{
 position:relative;isolation:isolate;overflow:hidden;
 background:linear-gradient(145deg,#ffffff33,#ccb5dd08 67%,#c9abdf12);
 border:1px solid #c6adda80;color:#755095;
 box-shadow:inset 0 2px 1px #fff,inset 2px 0 1px #ffffffd9,inset 0 -2px 1px #bca4cd52,0 7px 15px #80668c17;
 backdrop-filter:blur(26px) saturate(1.08);-webkit-backdrop-filter:blur(26px) saturate(1.08);
}
.room-categories .room-category::before{
 content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;z-index:0;
 background:linear-gradient(128deg,#ffffff85,transparent 39%,transparent 57%,#ffffff33 59%,transparent 82%);
 border:1px solid #ffffff85;border-bottom-color:#c6a9dc4d;
}
.room-categories .room-category>img,.room-categories .room-category>span{position:relative;z-index:1}
.sidebar-hongbao .room-category{min-height:74px;padding-top:3px;padding-bottom:3px}
.workspace:not(.is-in-room) .cartoon-room-art{width:202px;height:164px;right:32px;bottom:2px;object-fit:contain;object-position:center bottom;filter:drop-shadow(1px 4px 2px #82699724) drop-shadow(0 8px 6px #6e4c891f)}
.cartoon-room-shadow{position:absolute;width:215px;height:174px;right:-12px;bottom:5px;object-fit:contain;object-position:center bottom;opacity:.1;filter:grayscale(.5) saturate(.55);z-index:0;pointer-events:none}
.cartoon-room-ground{position:absolute;width:125px;height:10px;right:68px;bottom:4px;border-radius:50%;background:#795f8f26;filter:blur(5px);z-index:0;pointer-events:none}
@media(max-width:760px){
 body{background:linear-gradient(155deg,#fcfbfe,#f4f0fa 80%)}
 .workspace:not(.is-in-room) .cartoon-room-art{width:149px;height:138px;right:9px;bottom:2px}
 .cartoon-room-shadow{width:149px;height:146px;right:-24px;bottom:8px;opacity:.09}
 .cartoon-room-ground{width:90px;right:38px;bottom:5px;height:8px;filter:blur(4px)}
 .workspace:not(.is-in-room) .auspicious-room-copy{width:58%}
 .room-list.panel .auspicious-room-copy>small{color:#8c789f}
 .room-list.panel .auspicious-room-meta>span{color:#826e95}
}
@media(max-width:360px){.workspace:not(.is-in-room) .cartoon-room-art{width:136px;height:132px;right:4px}.cartoon-room-shadow{width:136px;height:140px;right:-24px}.cartoon-room-ground{right:27px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 .room-list.panel .auspicious-room,.room-categories .room-category{background-color:#f4edfaad}
}
.room-list.panel .auspicious-room-meta>b{
 background:#d84a3a;color:#fff;box-shadow:inset 0 1px 0 #ffffff45,0 2px 5px #cc493319;
}

/* Keep the unread count visible while the floating support button is moved. */
.contact-support{overflow:visible}
.contact-support>.support-unread-badge{position:absolute;top:-6px;right:-6px;z-index:2;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#ef4444;color:#fff;font:700 11px/16px Arial,sans-serif;box-shadow:0 2px 5px #bd293832;pointer-events:none;letter-spacing:0;white-space:nowrap}
.contact-support>.support-unread-badge[hidden]{display:none}

/* Readable room presence without changing the glass card layout. */
.workspace:not(.is-in-room) .room-list.panel .auspicious-room-meta>span,.room-list.panel .auspicious-room-meta>span{font-size:12px;font-weight:500;line-height:1.5;gap:5px;color:#78668a}
.room-list.panel .auspicious-room-meta i{width:7px;height:7px;flex-shrink:0;background:#16d96c;box-shadow:0 0 6px #16d96c55}
.member-card-invitation{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:14px 0 20px;padding:13px;border:1px solid #e7dcf1;border-radius:12px;background:#faf7fe;color:#8b75a0;font-size:12px}.member-card-invitation strong{font:600 24px/1.4 ui-monospace,Consolas,monospace;letter-spacing:2px;color:#8961b0}.member-card-invitation .btn{font-size:11px;padding:8px 10px}.member-card-invitation-empty{text-align:center;color:#a18eae;font-size:12px;margin:12px 0 18px}
.notifications-modal .modal-header h2{font-size:28px}.notifications-modal .modal-header p{font-size:14px;line-height:1.7}.notifications-modal .notification-list .activity-row{padding:13px 0;gap:13px}.notifications-modal .activity-row p{font-size:15px;line-height:1.6}.notifications-modal .activity-row small{font-size:12px;line-height:1.7;margin-top:6px}.notifications-modal .empty-small p{font-size:16px}.notifications-modal .empty-small small{font-size:13px;line-height:1.7}.notifications-modal .btn{font-size:14px}
@media(max-width:360px){.workspace:not(.is-in-room) .room-list.panel .auspicious-room-meta>span{font-size:11px}}

.member-invite-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;width:100%}

/* The selected artwork includes its glass frame and caption. */
.room-categories .room-category.chain-category{display:block;width:89.6px;height:89.6px;min-height:0;padding:0;border:0;border-radius:19.2px;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.room-categories .room-category.chain-category::before{display:none}
.room-categories .room-category.chain-category>img{display:block;width:100%;height:100%;object-fit:contain;transform:scale(1.14)}
.sidebar-hongbao .room-categories{align-items:center}
.sidebar-hongbao .room-category.chain-category{margin:0}
@media(max-width:760px){.workspace:not(.is-in-room){grid-template-columns:76px minmax(0,1fr)}.workspace>.room-categories .room-category.chain-category{width:60.8px;height:60.8px;border-radius:13.6px}}
@media(max-width:360px){.workspace:not(.is-in-room){grid-template-columns:68px minmax(0,1fr)}.workspace>.room-categories .room-category.chain-category{width:54.4px;height:54.4px;border-radius:12px}}


.fixed-packet-denomination{width:100%;min-height:62px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;border:1px solid #e9b3a9;border-radius:10px;background:linear-gradient(120deg,#fff8f6,#fff0ec);color:#cc4b3c;padding:10px 12px;cursor:default}.fixed-packet-denomination strong{font-size:23px;line-height:1.2}.fixed-packet-denomination strong small{font-size:12px;font-weight:500}.fixed-packet-denomination>span{display:flex;justify-content:space-between;width:100%;font-size:10px;color:#bc847b}.fixed-packet-denomination b{color:#d15746}.send-packet-modal .form-row{align-items:start}
