/* A warm, flat application UI. Red denotes hongbao actions; sage denotes credits. */
:root{--bg:#f8f9f8;--surface:#fff;--ink:#2c302f;--muted:#8a8e8b;--line:#eaece9;--red:#cb4a3b;--red-dark:#ae3b2e;--red-soft:#fcf0ed;--sage:#548475;--sage-soft:#ecf3ee;--sand:#b59765;--radius:12px;font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{border:0;background:none}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d7a79e;outline-offset:3px}button{transition:background .18s,color .18s,transform .18s}button:active{transform:translateY(1px)}input,textarea,select{color:var(--ink);background:white;min-width:0}input::placeholder,textarea::placeholder{color:#a2a5a2}input:focus,textarea:focus,select:focus{outline:none;border-color:#c9968c}h1,h2,h3,p{margin:0}i.ph{font-size:20px;flex-shrink:0;line-height:1}small{font-size:12px}strong{font-weight:600}.app-shell{display:flex;min-height:100dvh}.sidebar{width:216px;flex:0 0 216px;padding:34px 19px 16px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100dvh;min-height:740px}.brand{display:flex;align-items:center;gap:11px;text-align:left;padding:0 12px;margin:0 0 48px;font-size:22px;letter-spacing:1.5px;font-weight:700}.brand-mark{height:40px;width:40px;border-radius:11px;background:var(--red);display:inline-flex;align-items:center;justify-content:center;color:#fff5eb;box-shadow:0 4px 9px #a3442d12}.brand-mark i{font-size:27px}.brand small{display:block;font-weight:400;color:#9b9d98;letter-spacing:2.5px;font-size:10px;margin-top:5px}.sidebar-label{color:#a0a39f;font-size:11px;letter-spacing:1px;padding:0 14px;margin-bottom:12px}.main-nav{display:grid;gap:7px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:8px;color:#7b817e;font-size:13px;text-align:left;min-height:46px}.nav-item i{font-size:21px}.nav-item:hover{background:#f6f6f3}.nav-item.active{background:var(--red-soft);color:var(--red);font-weight:600}.nav-count{font-size:10px;padding:2px 6px;border-radius:4px;margin-left:auto;background:#f8dfd9;color:var(--red)}.sidebar-divider{height:1px;background:var(--line);margin:28px 14px}.room-label{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px;color:#7c827e;position:relative;flex-shrink:0}.icon-btn:hover{background:#f1f2ef;color:var(--ink)}.icon-btn.small{height:24px;width:24px}.icon-btn.small i{font-size:15px}.side-room{display:flex;align-items:center;gap:10px;width:100%;text-align:left;font-size:12px;padding:10px 12px;border-radius:8px;color:#777e78}.side-room:hover{background:#f7f8f6}.tiny-room{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:6px}.tiny-room i{font-size:15px}.rose{background:#f8eae5;color:#b86b5b}.sage{background:var(--sage-soft);color:#6e9280}.sand{background:#f6f0e5;color:#af9463}.blue{background:#edf0f5;color:#7d90a7}.unread-dot{width:5px;height:5px;background:var(--red);border-radius:50%;margin-left:auto}.sidebar-spacer{flex:1;min-height:32px}.sidebar-note{padding:22px 20px;background:#f9f8f4;border:1px solid #f0eee6;border-radius:10px;position:relative;overflow:hidden;margin:0 8px 21px}.sidebar-note>i{color:#b59c79;font-size:21px;display:block;margin-bottom:12px}.sidebar-note strong{font-size:12px;color:#6e6b61}.sidebar-note p{font-size:11px;line-height:1.9;color:#a09d93;margin-top:8px}.note-lines{position:absolute;border:1px solid #e9e5d9;border-radius:50%;height:110px;width:110px;right:-67px;bottom:-25px}.note-lines:after{content:"";position:absolute;inset:8px;border:1px solid #e9e5d9;border-radius:50%}.help-link{display:flex;align-items:center;gap:9px;color:#8d918c;font-size:12px;padding:12px 16px;margin-bottom:15px}.help-link>i:first-child{font-size:18px}.help-link>i:last-child{font-size:14px;margin-left:auto}.profile{display:flex;align-items:center;gap:10px;text-align:left;width:100%;padding:16px 9px 2px;border-top:1px solid var(--line)}.profile>span:nth-child(2){flex:1}.profile strong{font-size:12px;display:block}.profile small{display:block;font-size:10px;color:#999f99;margin-top:5px}.profile>i{font-size:18px;color:#a1a69f}.avatar{height:35px;width:35px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;font-weight:500}.avatar.self{background:#eaece4;color:#818568}.main{min-width:0;flex:1}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 32px;border-bottom:1px solid var(--line);background:#ffffffa6}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:12px;color:#a0a59f}.breadcrumb i{font-size:11px;color:#bcc0b9}.breadcrumb strong{font-weight:500;color:#596159}.topbar-actions{display:flex;align-items:center;gap:15px}.demo-badge{font-size:10px;letter-spacing:.4px;background:#f2f5ef;border:1px solid #e5eade;color:#7f8d6f;border-radius:5px;padding:5px 8px;display:flex;align-items:center;gap:5px}.demo-badge>span{width:5px;height:5px;border-radius:50%;background:#9aac87}.topbar-actions .icon-btn>b{position:absolute;width:4px;height:4px;border-radius:50%;background:#ca685a;right:9px;top:6px}.topbar-divider{height:23px;width:1px;background:var(--line)}.small-avatar{height:31px;width:31px;border-radius:50%;font-size:11px}.page-body{padding:27px 32px 20px;max-width:1700px;margin:0 auto}.welcome{height:215px;background:#f4f2eb;border:1px solid #ebe9df;border-radius:var(--radius);position:relative;display:flex;align-items:center;overflow:hidden;padding:28px 36px;margin-bottom:29px}.welcome-copy{position:relative;z-index:2}.eyebrow{color:#969886;display:block;font-size:10px;letter-spacing:2px;margin-bottom:13px}.welcome h1{font-size:34px;font-weight:650;letter-spacing:1px;line-height:1.35}.welcome h1 span{color:var(--red)}.welcome-copy>p{font-size:12px;color:#97988b;margin-top:10px;letter-spacing:.2px}.welcome-actions{display:flex;gap:17px;align-items:center;margin-top:22px}.btn{min-height:37px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;white-space:nowrap;border-radius:7px;font-size:11px;font-weight:500;text-decoration:none;border:1px solid transparent}.btn i{font-size:16px}.btn.primary{background:var(--red);color:#fff;border-color:var(--red)}.btn.primary:hover{background:var(--red-dark);border-color:var(--red-dark)}.btn.secondary{background:#fff;border-color:var(--line);color:#727b72}.btn.secondary:hover{background:#f5f6f2}.btn.plain{color:#8b8c7e;padding:9px 1px}.btn.plain:hover{color:var(--red)}.welcome-art{position:absolute;height:215px;width:350px;right:115px;top:0}.art-card{position:absolute;width:119px;height:151px;border-radius:9px}.back-card{left:64px;top:27px;transform:rotate(-17deg);background:#e9d5b0;border:1px solid #dbc49c;display:flex;align-items:flex-end;justify-content:center;padding-bottom:19px;color:#a78c60;letter-spacing:3px;font-size:9px;box-shadow:0 7px 12px #a9967020}.back-card:before{content:"";position:absolute;left:8px;right:8px;top:10px;height:52px;border-bottom:1px solid #d4b992;border-radius:0 0 50% 50%}.back-card:after{content:"聚";color:#c2a77c;border:1px solid #d4b992;position:absolute;left:40px;top:62px;width:37px;height:37px;border-radius:50%;text-align:center;line-height:37px;font-size:20px}.front-card{left:147px;top:39px;transform:rotate(12deg);background:#ce5946;border:1px solid #b94d3b;box-shadow:0 9px 19px #9e3f3420;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding-bottom:20px}.front-card:before{content:"";position:absolute;inset:8px;border:1px solid #df8a713d;border-radius:5px}.front-card small{font-size:6px;letter-spacing:1px;color:#f1bd99}.packet-flap{position:absolute;left:0;right:0;height:75px;top:0;border-radius:8px 8px 50% 50%;background:#d96a51;border-bottom:1px solid #bb4a38;box-shadow:0 2px 0 #b44d3d14}.art-seal{position:absolute;top:55px;background:#e8c792;color:#ad583c;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;border:3px solid #e1b87e;box-shadow:0 2px 3px #9f46312e;font-family:"KaiTi","STKaiti",serif}.art-orbit{position:absolute;border:1px solid #e6e1d1;border-radius:50%;left:15px;top:18px;width:295px;height:179px;transform:rotate(-24deg)}.orbit-two{width:320px;height:143px;top:34px;left:-2px;transform:rotate(29deg)}.art-spark{position:absolute;color:#bfa77f;font-size:19px;left:44px;top:44px}.spark-two{font-size:14px;left:auto;right:30px;top:142px}.floating-coin{height:28px;width:28px;background:#ebdbb9;border:3px solid #d9c39a;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;right:50px;top:35px;transform:rotate(20deg);font-size:12px;color:#af9564}.welcome-meta{position:absolute;right:30px;bottom:28px;display:flex;align-items:center;gap:7px;color:#8f917f;font-size:9px}.welcome-meta small{display:block;font-size:8px;color:#afaf9f;margin-top:5px}.mini-avatar-stack{display:flex;padding-left:7px}.mini-avatar-stack .avatar{width:25px;height:25px;margin-left:-7px;border:2px solid #f4f2eb;border-radius:50%;font-size:8px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h2{font-size:16px;letter-spacing:.3px;display:flex;align-items:center;gap:10px}.section-heading h2>span{font-size:10px;background:#eeefeb;color:#93988c;padding:3px 6px;border-radius:4px;font-weight:400}.subtle{font-size:10px;color:#a1a69f;letter-spacing:.4px}.workspace{display:grid;grid-template-columns:216px minmax(330px,1fr) 238px;gap:17px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.room-list{min-height:560px;display:flex;flex-direction:column}.room-list-top{padding:17px 13px 0}.search-field{display:flex;align-items:center;gap:8px;background:#f7f8f5;border:1px solid #eff0eb;border-radius:6px;padding:8px 9px}.search-field i{font-size:15px;color:#a4aaa1}.search-field input{width:100%;border:0;background:none;font-size:10px;outline:none}.room-tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;padding:0 4px;margin-top:13px}.room-tabs button{font-size:10px;color:#a1a59e;padding:12px 0;position:relative}.room-tabs button.active{color:var(--red);font-weight:600}.room-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--red);border-radius:2px}.room-item{display:flex;align-items:flex-start;gap:11px;text-align:left;width:calc(100% - 16px);margin:8px 8px 0;padding:14px 10px;border:1px solid transparent;border-radius:8px}.room-item:hover{background:#f8f9f6}.room-item.selected{background:#fdf4f0;border-color:#f1ddd5}.room-symbol{height:38px;width:38px;display:flex;align-items:center;justify-content:center;border-radius:10px;flex-shrink:0}.room-symbol i{font-size:21px}.room-item-copy{display:block;min-width:0;padding-top:1px;flex:1}.room-item-copy>strong{font-size:12px;display:flex;align-items:center;gap:7px;white-space:nowrap}.hot-tag{background:#f7dfd6;color:#c17760;border-radius:3px;font-size:7px;padding:2px 3px;font-weight:400}.room-item-copy>small{font-size:9px;display:block;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a2a59a;margin:8px 0 10px}.room-item-meta{font-size:8px;display:flex;gap:4px;align-items:center;color:#9ba28f}.room-item-meta i{font-size:12px}.room-item-meta>span{margin-left:auto;font-size:8px;background:#ffffffb3;padding:2px 4px;border-radius:3px;color:#9c9f8f}.new-room{display:flex;align-items:center;justify-content:center;gap:7px;margin:16px 17px;color:#a1a89b;font-size:10px;padding:11px 3px;border:1px dashed #dce1d5;border-radius:7px}.new-room i{font-size:15px}.new-room:hover{color:var(--sage);background:#f8faf5}.room-bottom{margin-top:auto;text-align:center;padding:30px 4px 17px;color:#b1b6ab;font-size:8px;display:flex;align-items:center;justify-content:center;gap:4px}.room-bottom i{font-size:10px}.chat{height:560px;display:flex;flex-direction:column}.chat-header{height:73px;min-height:73px;display:flex;align-items:center;gap:10px;padding:15px 19px}.chat-header .room-symbol{height:36px;width:36px}.chat-title{flex:1;min-width:0}.chat-title h3{font-size:13px;display:flex;align-items:center;gap:6px}.chat-title h3 i{font-size:13px;color:#b5b89f}.chat-title p{font-size:8px;color:#a0a69b;margin-top:7px;display:flex;align-items:center;gap:6px}.chat-title p>span:not(.status-dot){margin:0 2px}.status-dot{height:4px;width:4px;background:#8d9f79;border-radius:50%}.chat-header>.icon-btn{width:26px}.chat-header>.icon-btn i{font-size:16px}.favorite-btn.is-favorite{color:#b49b6d}.chat-notice{background:#fbfaf6;border-top:1px solid #f0eee6;border-bottom:1px solid #f0eee6;display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:9px;color:#a69f88;line-height:1.6}.chat-notice i{font-size:13px}.chat-feed{flex:1;overflow-y:auto;padding:0 20px 15px;scrollbar-width:thin;scrollbar-color:#e1e4dc transparent;background:#fdfefd;min-height:0}.date-separator{text-align:center;margin:20px 0 21px;color:#b0b5aa;font-size:8px;display:flex;align-items:center;gap:15px}.date-separator:before,.date-separator:after{content:"";height:1px;background:#f0f1ec;flex:1}.message{display:flex;gap:9px;margin-bottom:18px;align-items:flex-start}.message>.avatar{height:30px;width:30px;border-radius:9px;font-size:11px;margin-top:2px}.message-body{min-width:0;max-width:calc(100% - 40px)}.message-meta{display:flex;align-items:center;gap:10px;font-size:9px;color:#9ca397;margin-bottom:7px}.message-meta>span>span{font-size:7px;background:#f4f1e7;color:#ad9d7c;border-radius:2px;padding:1px 3px;margin-left:6px}.message-meta time{font-size:8px;color:#b1b7ad}.message-bubble{display:inline-block;max-width:100%;background:#f2f4ef;border:1px solid #e9eee4;padding:10px 12px;border-radius:0 8px 8px 8px;font-size:11px;color:#687262;line-height:1.65;overflow-wrap:anywhere}.message.mine{flex-direction:row-reverse}.message.mine .message-body{text-align:right}.message.mine .message-meta{flex-direction:row-reverse}.message.mine .message-bubble{text-align:left;background:#fbeddf;border-color:#f2decc;border-radius:8px 0 8px 8px;color:#946b52}.red-packet{display:block;background:#cf5b46;border:1px solid #c3523f;border-radius:9px;overflow:hidden;text-align:left;width:284px;max-width:100%;color:#fcebd8;padding:0}.red-packet:hover{background:#c7523e;transform:translateY(-2px)}.packet-content{display:flex;align-items:center;gap:10px;padding:16px 13px 17px;position:relative}.packet-content>span:nth-child(2){flex:1;min-width:0}.packet-content strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}.packet-content small{display:block;font-size:9px;color:#ecc6b2;margin-top:8px}.packet-content>i{font-size:14px;color:#e9a98e;align-self:flex-start;margin-top:1px}.packet-glyph{width:39px;height:44px;position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0}.packet-glyph>i{font-size:41px;color:#e5ad7c}.packet-glyph>span{position:absolute;left:13px;top:15px;width:14px;height:14px;font-family:"KaiTi",serif;line-height:14px;text-align:center;font-size:9px;border-radius:50%;background:#eac697;color:#bd704d}.packet-bottom{padding:8px 12px;display:flex;justify-content:space-between;font-size:8px;border-top:1px solid #bc4f3d;background:#c65340;color:#eac0a6}.packet-bottom b{font-weight:400;margin:0 4px;opacity:.5}.packet-muted{opacity:.65}.composer{padding:13px 17px 12px;border-top:1px solid var(--line);background:white}.composer textarea{border:0;resize:none;width:100%;display:block;font-size:11px;padding:3px 1px;height:34px;line-height:1.7;max-height:65px}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;margin-top:5px}.composer-tools,.send-actions{display:flex;align-items:center;gap:10px}.composer-tools .icon-btn{width:22px;height:26px;color:#a6ad9d}.composer-tools .icon-btn i{font-size:19px}.send-packet-tool{color:var(--red);display:flex;align-items:center;gap:5px;font-size:10px;padding:4px 6px}.send-packet-tool i{font-size:18px}.send-actions>span{font-size:8px;color:#bdc1b8}.send-message.btn{min-height:30px;padding:6px 11px;font-size:10px}.send-message i{font-size:13px}.room-details{display:grid;gap:15px}.wallet-summary{padding:20px 18px 14px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}.card-heading h3{font-size:12px;font-weight:600}.card-heading>i{font-size:18px;color:#a3aa99}.wallet-label{font-size:9px;color:#a1a799;display:flex;align-items:center;justify-content:space-between}.wallet-label>span{color:#999e90;font-size:8px;background:#f2f5ee;border-radius:3px;padding:2px 4px}.wallet-number{font-size:29px;letter-spacing:-.8px;font-weight:600;font-family:"Segoe UI",sans-serif;display:block;margin:9px 0 15px;font-variant-numeric:tabular-nums}.points-balance{display:flex;align-items:center;gap:6px;border-top:1px solid #f0f2ec;padding:12px 0;color:#9ea58f;font-size:9px}.points-balance>i{font-size:14px;color:#bbac80}.points-balance>strong{margin-left:auto;font-size:11px;color:#7f896f;font-weight:500;font-variant-numeric:tabular-nums}.wallet-actions{display:flex;gap:7px;margin:3px 0 10px}.wallet-actions>.primary{flex:1;min-height:33px;font-size:10px}.wallet-actions>.secondary{padding:6px 9px;min-height:33px}.wallet-hint{font-size:8px;color:#b7bcaf;text-align:center}.activity{padding:18px 17px 15px}.activity .card-heading{margin-bottom:17px}.small-tag{font-size:8px;color:#a9afa1;background:#f4f6f0;padding:2px 5px;border-radius:4px}.activity-row{display:flex;gap:10px;align-items:center;margin-bottom:18px}.activity-icon{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.activity-icon i{font-size:16px}.activity-row p{font-size:10px;color:#7f8875}.activity-row p strong{color:#626e5c}.activity-row small{display:block;font-size:8px;color:#b1b7a7;margin-top:5px}.daily-note{position:relative;padding:14px 12px;border:1px solid #efece1;background:#faf9f3;border-radius:7px;margin-top:3px}.daily-note>span{font-size:8px;color:#b7ad91;letter-spacing:1px}.daily-note p{font-size:10px;color:#aaa189;line-height:1.9;margin-top:6px;letter-spacing:.5px}.daily-note>i{position:absolute;font-size:48px;right:12px;bottom:14px;color:#d8d0b9;transform:rotate(-17deg)}.invite-card{display:flex;align-items:center;gap:9px;padding:14px 12px;background:#f3f5ef;border:1px solid #e9ede2;border-radius:10px;text-align:left}.invite-icon{width:31px;height:31px;background:#e9eee2;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#9aab88}.invite-icon i{font-size:19px}.invite-card strong{display:block;font-size:10px;color:#858f77}.invite-card small{display:block;font-size:8px;color:#acb39f;margin-top:5px}.invite-card>i{margin-left:auto;font-size:13px;color:#aab39f}.demo-footer{display:flex;align-items:center;justify-content:center;gap:5px;padding:1px 25px 23px;font-size:9px;color:#afb5a8;letter-spacing:.3px}.demo-footer i{font-size:12px}.mobile-nav,.mobile-brand,.room-back{display:none}
/* Wallet and history screens */
.page-title{padding:22px 1px 30px}.page-title .eyebrow{color:#a3997d}.page-title h1{font-size:30px;font-weight:600}.page-title p{color:#9a9f96;font-size:12px;margin-top:12px}.wallet-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px}.balance-large{padding:27px 30px;background:#fff}.balance-large .card-heading{font-size:12px;color:#8b9383}.currency-chip{font-size:10px;background:var(--red-soft);padding:4px 8px;border-radius:4px;color:var(--red)}.balance-large>strong{font-size:44px;letter-spacing:-1.7px;font-variant-numeric:tabular-nums}.balance-large>p{font-size:10px;color:#a5ac9c;margin:12px 0 24px}.points-large{background:#f3f5ee}.ledger{margin-bottom:25px}.ledger-header{padding:23px 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.ledger-header h2{font-size:15px}.filter-tabs{display:flex;gap:4px;background:#f5f6f2;border-radius:6px;padding:3px}.filter-tabs button{padding:6px 14px;font-size:10px;color:#a0a797;border-radius:4px}.filter-tabs button.active{background:#fff;color:#5f6c54;box-shadow:0 1px 3px #2a3b2510}.table-row{display:grid;grid-template-columns:1.4fr 1fr 1fr;align-items:center;padding:18px 25px;border-bottom:1px solid #f0f2eb;gap:20px}.table-row:last-child{border:0}.table-head{font-size:10px;color:#b0b7a7;background:#fafbf8;padding-top:12px;padding-bottom:12px}.table-head>span:last-child{text-align:right}.transaction-name{display:flex;align-items:center;gap:12px}.transaction-icon{height:34px;width:34px;border-radius:9px;display:flex;align-items:center;justify-content:center}.transaction-icon i{font-size:17px}.transaction-name strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.transaction-name small{display:block;font-size:9px;margin-top:5px;color:#adb5a3}.table-row>time{font-size:11px;color:#9da591}.transaction-amount{text-align:right;font-size:14px;font-variant-numeric:tabular-nums;color:#b17b64}.transaction-amount.positive{color:#6c927a}.transaction-amount>small{font-size:9px;font-weight:400;display:block;margin-top:4px;color:#a4ad99}.packet-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;margin-bottom:25px}.packet-stats>div{display:flex;gap:16px;padding:24px;align-items:center}.packet-stats .activity-icon{width:44px;height:44px;border-radius:12px}.packet-stats .activity-icon i{font-size:25px}.packet-stats>div>div>span{display:block;font-size:11px;color:#939e89}.packet-stats strong{font-size:29px;display:block;margin-top:9px;font-weight:500}.packet-stats strong small{font-size:11px;color:#a6b09d;margin-left:7px}.packet-stats .stat-message{background:#f3f0e8;justify-content:center;color:#a99c7a;gap:19px}.stat-message>i{font-size:48px}.stat-message>span{font-size:12px;line-height:1.7}.stat-message>span>strong{font-size:16px;font-weight:500;margin-top:5px}.packet-history-row{display:flex;align-items:center;gap:14px;padding:22px 25px;width:100%;text-align:left;border-bottom:1px solid var(--line)}.packet-history-row:last-child{border:0}.packet-history-row:hover{background:#fdfbf7}.packet-history-copy{flex:1}.packet-history-row strong{font-size:12px;overflow-wrap:anywhere}.packet-history-row small{display:block;font-size:9px;color:#a8b09d;margin-top:7px}.packet-history-row>span:nth-last-child(2){text-align:right}.packet-history-row>i{font-size:13px;color:#bbc3b3}.empty-state{padding:75px 20px;text-align:center}.empty-state>span{display:inline-flex;height:65px;width:65px;align-items:center;justify-content:center;background:#f8f0e9;border-radius:20px;color:#c5a58d;margin-bottom:23px}.empty-state>span>i{font-size:34px}.empty-state h3{font-size:17px;font-weight:500}.empty-state p{font-size:11px;color:#a2ab97;margin:14px 0 24px}.empty-small{text-align:center;padding:35px 10px;color:#a3ad97;font-size:11px;line-height:1.8}.empty-small>i{font-size:25px;margin-bottom:12px;display:block}.empty-small small{font-size:9px;color:#b2bbaa}
/* Dialogs */
dialog{width:min(470px,calc(100vw - 32px));border:1px solid #e7eae2;border-radius:16px;padding:32px;color:var(--ink);overflow-y:auto;max-height:calc(100dvh - 40px);box-shadow:0 24px 80px #28332118;background:#fff}dialog::backdrop{background:#2633244d;backdrop-filter:blur(4px)}dialog[open]{animation:modal-in .2s ease-out}.modal-close{position:absolute;right:14px;top:14px;z-index:3}.modal-close i{font-size:19px}.modal-header{padding:5px 0 23px}.modal-header .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:10px;color:#a59f88}.modal-header h2{font-size:24px;font-weight:600;letter-spacing:.3px}.modal-header p{font-size:11px;line-height:1.9;color:#9ba48f;margin-top:11px;max-width:355px}.field-label{display:block;font-size:11px;font-weight:500;color:#87917c;margin:0 0 16px}.field-label input,.field-label select{display:block;width:100%;border:1px solid #e5eadf;border-radius:7px;padding:11px 12px;margin-top:9px;font-size:12px;min-height:41px}.field-label select{padding-right:7px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.segmented{display:flex;padding:4px;border-radius:8px;background:#f4f5f0;margin-bottom:22px;gap:4px}.segmented label{flex:1;cursor:pointer;position:relative}.segmented input{position:absolute;opacity:0;width:1px;height:1px}.segmented label>span{padding:10px 5px;border-radius:5px;text-align:center;font-size:10px;color:#a2ab96;display:flex;align-items:center;justify-content:center;gap:5px}.segmented label>span i{font-size:15px}.segmented input:checked+span{color:var(--red);background:#fff;box-shadow:0 1px 4px #323a2710}.segmented input:focus-visible+span{outline:2px solid #cc9b8e;outline-offset:2px}.amount-input{display:flex;align-items:center;border:1px solid #e4e9dc;border-radius:8px;padding:16px;margin-top:-5px}.amount-input input{border:0;outline:none;font-size:30px;width:100%;font-variant-numeric:tabular-nums;letter-spacing:-1px}.amount-input>span{font-size:11px;color:#a4ae96}.amount-input:focus-within{border-color:#c9968c}.preset-amounts{display:flex;gap:10px;margin:13px 0 22px}.preset-amounts button{flex:1;border:1px solid #e7ebdf;border-radius:6px;padding:8px;color:#8d9a7d;font-size:11px}.preset-amounts button:hover{background:var(--red-soft);color:var(--red);border-color:#e9c5bb}.info-box{display:flex;gap:8px;align-items:flex-start;background:#f7f8f3;border:1px solid #ecefe3;border-radius:7px;padding:12px;font-size:10px;line-height:1.85;color:#a0aa92;margin:6px 0 20px}.info-box>i{font-size:15px;margin-top:2px;color:#a8b396}.full-width{width:100%;min-height:43px;font-size:12px}.field-help{font-size:10px;color:#a5af97;margin:-5px 0 20px}.form-error{color:#b74333;background:#fff0eb;padding:10px 12px;margin-bottom:14px;font-size:11px;border-radius:6px;line-height:1.7}.form-error[hidden]{display:none}.packet-types{margin-bottom:22px}.help-steps{display:grid;gap:22px;margin-bottom:25px}.help-steps>div{display:flex;align-items:flex-start;gap:14px}.help-steps b{font-size:12px;font-weight:500;color:#c48d6b;background:#f9f0e7;display:flex;height:30px;width:30px;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.help-steps strong{font-size:12px;font-weight:500}.help-steps p{font-size:10px;color:#a1ac94;line-height:1.9;margin-top:6px}.text-button{font-size:10px;color:#a6ad9c;padding:14px}.reset-link{width:100%;margin-bottom:-12px}.room-info-list{margin:0 0 24px}.room-info-list>div{display:grid;grid-template-columns:75px 1fr;padding:13px 0;border-bottom:1px solid #edf0e7;font-size:11px;line-height:1.8}.room-info-list dt{color:#a7af9d}.room-info-list dd{margin:0;color:#7e8a72;overflow-wrap:anywhere}.phrase-list{display:grid;gap:9px}.phrase-list>button{display:flex;align-items:center;justify-content:space-between;padding:15px;background:#f6f7f2;border:1px solid #ebeee3;border-radius:7px;font-size:11px;color:#8c9a7b;text-align:left}.phrase-list>button:hover{background:#f4ebe3}.phrase-list i{font-size:13px}.notification-list{max-height:310px;overflow:auto;margin-bottom:10px}.notification-list .activity-row{padding:10px 0;border-bottom:1px solid #f0f2e9;margin-bottom:4px}.packet-open-modal{padding:0;border:1px solid #c15841;background:#cc5943;width:356px;color:#f8dfbf}.packet-open-modal .modal-close{color:#e5af92}.packet-open-modal .modal-close:hover{background:#bd4e3b}.packet-to-open{min-height:385px;display:flex;align-items:center;flex-direction:column;text-align:center;padding:36px 20px 28px;position:relative;overflow:hidden}.packet-to-open:before{content:"";position:absolute;left:-38px;right:-38px;top:-165px;height:380px;pointer-events:none;border:1px solid #b44f3b;border-radius:0 0 50% 50%;background:#d2634a;z-index:0}.packet-to-open>*{position:relative}.packet-from{display:flex;gap:9px;align-items:center;font-size:11px;color:#edc6a4}.packet-from .avatar{width:28px;height:28px;border-radius:8px;font-size:10px}.packet-to-open h2{font-size:23px;font-weight:500;margin:29px 0 13px;overflow-wrap:anywhere;max-width:100%}.packet-to-open>p{font-size:10px;color:#eab997}.open-coin{width:88px;height:88px;background:#eac58d;color:#a36d3f;border:5px solid #dfb780;outline:1px solid #edce9d;border-radius:50%;font-family:"KaiTi","STKaiti",serif;font-size:42px;margin:34px 0 31px;box-shadow:0 4px 10px #713b2620}.open-coin:hover{background:#f4d7a5;transform:rotate(-8deg)}.packet-to-open>span:last-child{font-size:10px;color:#ebb799;letter-spacing:1.5px}.open-packet-footer{display:flex;gap:5px;align-items:center;justify-content:center;font-size:9px;padding:17px;background:#c2533e;color:#e5a98b}.open-packet-footer i{font-size:12px}.packet-result-modal{padding:0 25px 15px;width:400px}.packet-result-head{text-align:center;padding:30px 0 25px;border-bottom:1px solid var(--line)}.packet-result-head>.avatar{display:flex;margin:0 auto 10px;width:43px;height:43px;border-radius:13px}.packet-result-head>span{font-size:10px;color:#a4aa98}.packet-result-head h2{font-size:17px;margin:17px 0 22px;font-weight:500;overflow-wrap:anywhere}.claimed-number{font-size:43px;letter-spacing:-1px;color:#c19053;font-weight:500;font-variant-numeric:tabular-nums}.claimed-number>small{font-size:11px;letter-spacing:0;margin-left:7px}.packet-result-head p{font-size:10px;color:#b1b69f;margin-top:12px}.packet-total{font-size:32px;color:#c28d61;font-variant-numeric:tabular-nums}.packet-total>small{font-size:12px}.claim-summary{display:flex;justify-content:space-between;font-size:10px;color:#adb5a0;padding:17px 0 10px}.claims-list{max-height:260px;overflow:auto;margin-bottom:13px}.claim-row{display:flex;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #f1f2e9}.claim-row>.avatar{height:30px;width:30px;font-size:10px;border-radius:8px}.claim-row>span:nth-child(2){flex:1}.claim-row strong{font-size:11px;font-weight:500}.claim-row small{display:block;margin-top:5px;font-size:9px;color:#b2b9a5}.claim-row>span:last-child{text-align:right}.claim-row>span:last-child strong{font-variant-numeric:tabular-nums}.claim-row>span:last-child strong small{display:inline;font-size:8px}.claim-row .best-luck{color:#b49a67;font-size:8px}.best-luck i{font-size:10px;margin-right:3px}.packet-result-note{text-align:center;font-size:9px;color:#b8beac;padding-top:15px}.toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,15px);padding:13px 21px;background:#3a4438;color:#f2f5ea;font-size:12px;line-height:1.7;border:1px solid #4c5748;border-radius:9px;z-index:20;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;max-width:calc(100vw - 40px);width:max-content;box-shadow:0 5px 22px #26351a12}.toast.visible{transform:translate(-50%,0);opacity:1}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.room-list #room-items{max-height:410px;overflow:auto;scrollbar-width:thin}
@keyframes modal-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.sidebar{width:235px;flex-basis:235px}.page-body{padding:32px 40px 22px}.topbar{padding:0 40px}.workspace{grid-template-columns:245px minmax(420px,1fr) 265px;gap:22px}.welcome{height:238px}.welcome-art{top:10px;right:175px;transform:scale(1.1)}.chat,.room-list{height:600px}.chat-feed{padding-left:25px;padding-right:25px}.wallet-summary{padding:23px 22px}.activity{padding:22px}.room-item{padding:17px 12px}.room-item-copy>small{max-width:155px}}
@media(max-width:1300px){.sidebar{width:190px;flex-basis:190px;padding-left:12px;padding-right:12px}.brand{font-size:21px;gap:9px;padding:0 10px}.workspace{grid-template-columns:195px minmax(300px,1fr) 212px;gap:12px}.page-body{padding:24px}.topbar{padding:0 24px}.wallet-summary{padding:18px 14px 13px}.activity{padding:18px 13px 14px}.welcome-art{right:75px}.welcome-meta{right:20px;bottom:18px}.room-item{padding:13px 8px;gap:8px}.room-item .room-symbol{width:32px;height:32px}.room-item-copy>strong{font-size:11px}.room-item-copy>small{font-size:8px;max-width:118px}.chat-header{padding:15px}.chat-feed{padding-left:15px;padding-right:15px}.packet-content{padding:15px 11px}.red-packet{width:258px}.packet-content strong{font-size:11px}.room-bottom{font-size:7px}.welcome{padding-left:30px}.wallet-number{font-size:28px}}
@media(max-width:1160px){.workspace{grid-template-columns:210px minmax(330px,1fr)}.room-details{display:none}.sidebar{width:195px;flex-basis:195px}.welcome-art{right:30px}.welcome-meta{display:none}.welcome-copy>p{max-width:290px;line-height:1.8}.welcome{height:219px}.chat,.room-list{height:575px}.room-item-copy>small{max-width:130px}.red-packet{width:284px}.packet-content strong{font-size:12px}.demo-footer{font-size:8px}.packet-stats{gap:12px}.packet-stats>div{padding:20px}.packet-stats .stat-message{gap:10px}.stat-message>i{font-size:34px}}
@media(max-width:900px){.sidebar{width:165px;flex-basis:165px;padding:27px 10px 14px}.brand{font-size:19px;gap:8px;padding:0 5px}.brand-mark{height:33px;width:33px;border-radius:9px}.brand-mark i{font-size:24px}.brand small{font-size:8px;letter-spacing:2px}.nav-item{gap:10px;padding:13px 10px;font-size:12px}.sidebar-note{padding:17px 13px}.sidebar-label{font-size:10px;padding-left:9px}.side-room{padding:9px 7px;font-size:11px;gap:7px}.page-body{padding:20px 18px}.topbar{padding:0 18px;height:68px}.workspace{grid-template-columns:185px minmax(280px,1fr);gap:12px}.room-item .room-symbol{height:29px;width:29px;border-radius:8px}.room-item .room-symbol i{font-size:17px}.room-item-copy>strong{font-size:10px;gap:4px}.room-item-copy>small{max-width:108px;font-size:8px}.hot-tag{font-size:6px}.welcome{padding:25px;height:212px;margin-bottom:23px}.welcome h1{font-size:29px}.welcome-art{right:-23px;transform:scale(.85);transform-origin:right center}.welcome-copy>p{font-size:10px;max-width:240px}.welcome-actions{margin-top:18px}.welcome .eyebrow{font-size:8px}.section-heading h2{font-size:14px}.subtle{font-size:8px}.red-packet{width:235px}.packet-content{gap:7px;padding:14px 9px}.packet-content strong{font-size:10px}.packet-content small{font-size:8px}.packet-glyph{width:32px}.packet-glyph>i{font-size:34px}.packet-glyph>span{left:10px;top:16px;width:12px;height:12px;line-height:12px;font-size:8px}.packet-content>i{font-size:12px}.packet-bottom{font-size:7px;padding:8px 9px}.chat-feed{padding-left:12px;padding-right:12px}.chat-header{padding:12px;gap:7px}.chat-header .room-symbol{width:30px;height:30px;border-radius:8px}.chat-title h3{font-size:12px}.chat-title p{font-size:7px;gap:4px}.chat-header>.icon-btn{width:22px}.chat-header>.icon-btn i{font-size:14px}.chat-notice{font-size:8px;padding:9px 11px}.message{gap:7px}.message-bubble{font-size:10px}.composer{padding:12px}.send-actions>span{display:none}.composer textarea{font-size:10px}.wallet-page-grid{gap:12px}.balance-large{padding:23px}.balance-large>strong{font-size:36px}.packet-stats{grid-template-columns:1fr 1fr}.packet-stats .stat-message{display:none}.table-row{gap:12px;padding:16px 18px}.table-row>time{font-size:9px}.transaction-name strong{font-size:11px}.transaction-name{gap:8px}.transaction-amount{font-size:12px}.transaction-icon{width:29px;height:29px}}
@media(max-width:760px){.sidebar{display:none}.app-shell{display:block;padding-bottom:68px}.topbar{height:64px;padding:0 18px;background:#fff;position:relative;z-index:2}.breadcrumb{gap:10px;font-size:10px}.breadcrumb>span:not(.mobile-brand){display:none}.breadcrumb>i{display:none}.breadcrumb strong{font-size:15px;font-weight:600;letter-spacing:.5px}.mobile-brand{display:inline-flex;width:30px;height:30px;border-radius:8px}.mobile-brand i{font-size:22px}.topbar-actions{gap:9px}.topbar-divider,.top-user{display:none}.demo-badge{font-size:9px;padding:4px 6px}.topbar-actions .icon-btn{width:28px}.topbar-actions .icon-btn>i{font-size:19px}.page-body{padding:17px 14px 16px}.welcome{height:188px;border-radius:11px;padding:21px 20px;margin-bottom:24px}.welcome .eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:10px}.welcome h1{font-size:27px;letter-spacing:.2px}.welcome-copy>p{font-size:9px;margin-top:9px;line-height:1.8;max-width:180px}.welcome-actions{gap:12px;margin-top:17px}.welcome-actions .btn{font-size:9px;min-height:30px;padding:7px 10px;gap:4px}.welcome-actions .btn>i{font-size:12px}.welcome-art{right:-5px;top:0;transform:scale(.68);width:250px;transform-origin:right center}.back-card{left:8px}.front-card{left:80px}.art-orbit{width:220px;left:0}.orbit-two{left:-5px;width:240px}.floating-coin{right:27px;top:26px}.art-spark{left:3px}.spark-two{right:16px;left:auto}.section-heading{margin-bottom:14px}.section-heading h2{font-size:14px;gap:8px}.section-heading h2>span{font-size:9px}.section-heading .subtle{font-size:8px;letter-spacing:0}.workspace{display:block}.room-details,.room-list{display:none}.chat{height:575px;border-radius:11px}.chat-header{height:69px;min-height:69px;padding:13px 12px;gap:9px}.chat-header .room-back{display:inline-flex;width:22px;margin-left:-3px}.room-back i{font-size:19px!important}.chat-header .room-symbol{width:34px;height:34px;border-radius:9px}.chat-title h3{font-size:13px}.chat-title p{font-size:8px;margin-top:6px}.chat-header>.icon-btn{width:26px}.chat-header>.icon-btn i{font-size:17px}.chat-notice{font-size:8px;padding:10px 13px;gap:6px}.chat-notice i{font-size:13px}.chat-feed{padding:0 13px 13px}.message{gap:9px;margin-bottom:18px}.message-bubble{font-size:11px;padding:10px 12px}.message-meta{font-size:9px;margin-bottom:7px}.message-meta time{font-size:8px}.red-packet{width:252px}.packet-content{padding:17px 11px;gap:10px}.packet-content strong{font-size:11px}.packet-content small{font-size:8px;margin-top:7px}.packet-glyph{width:36px}.packet-glyph>i{font-size:38px}.packet-glyph>span{left:12px;top:16px}.packet-bottom{font-size:8px;padding:9px 11px}.composer{padding:13px}.composer textarea{font-size:11px;height:36px}.composer-tools{gap:12px}.send-packet-tool{font-size:10px}.send-message.btn{min-height:31px;font-size:10px;padding:7px 12px}.room-list{min-height:0;height:575px}.rooms-open .room-list{display:flex}.rooms-open .chat{display:none}.room-list-top{padding:18px 16px 0}.search-field{padding:11px}.search-field input{font-size:12px}.room-tabs{gap:32px;margin-top:12px}.room-tabs button{font-size:11px}.room-item{padding:18px 15px;gap:13px}.room-item .room-symbol{width:39px;height:39px;border-radius:10px}.room-item .room-symbol i{font-size:23px}.room-item-copy>strong{font-size:13px;gap:7px}.hot-tag{font-size:8px}.room-item-copy>small{font-size:10px;max-width:230px}.room-item-meta{font-size:9px}.room-item-meta>span{font-size:9px}.room-bottom{font-size:9px;padding-bottom:20px}.new-room{font-size:11px;margin:18px}.demo-footer{font-size:8px;line-height:1.8;letter-spacing:0;padding:0 15px 22px}.demo-footer>i{font-size:11px}.mobile-nav{position:fixed;left:0;bottom:0;right:0;height:66px;display:flex;background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid var(--line);z-index:5;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav>button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px;font-size:9px;border-radius:0;color:#a0a793;min-height:58px}.mobile-nav>button>i{font-size:22px}.mobile-nav>button.active{background:none;color:var(--red)}.mobile-nav .nav-count{display:none}.toast{bottom:83px;font-size:11px;padding:11px 15px}.page-title{padding:13px 3px 25px}.page-title h1{font-size:26px}.page-title .eyebrow{font-size:9px}.page-title p{font-size:11px;line-height:1.9}.wallet-page-grid{grid-template-columns:1fr;gap:13px;margin-bottom:21px}.balance-large{padding:25px}.balance-large .card-heading{margin-bottom:18px}.balance-large>strong{font-size:43px}.balance-large>p{margin-bottom:18px}.ledger-header{padding:18px 15px;gap:8px}.ledger-header h2{font-size:13px}.filter-tabs button{padding:5px 10px;font-size:9px}.table-row{padding:16px 14px;grid-template-columns:1.5fr 1fr;gap:8px}.table-row>time,.table-head>span:nth-child(2){display:none}.transaction-name strong{font-size:10px}.transaction-name small{font-size:8px}.transaction-amount{font-size:12px}.table-head{font-size:9px}.packet-stats{gap:11px;margin-bottom:20px}.packet-stats>div{gap:11px;padding:19px 15px}.packet-stats .activity-icon{height:34px;width:34px;border-radius:10px}.packet-stats .activity-icon i{font-size:20px}.packet-stats>div>div>span{font-size:9px}.packet-stats strong{font-size:25px;margin-top:5px}.packet-history-row{padding:19px 14px;gap:9px}.packet-history-row strong{font-size:10px}.packet-history-row small{font-size:8px;line-height:1.8}.packet-history-row>.activity-icon{width:26px;height:29px}.packet-history-row>.activity-icon>i{font-size:15px}.packet-history-row>i{font-size:11px}.ledger-header>.btn{font-size:10px;min-height:30px;padding:6px 10px}.empty-state{padding:55px 16px}.empty-state h3{font-size:15px}.empty-state p{font-size:10px;line-height:1.9}.empty-state>.btn{font-size:10px}.modal-header h2{font-size:22px}.modal-header p{font-size:10px}dialog{padding:27px 23px;border-radius:13px}.packet-open-modal{padding:0}.packet-result-modal{padding:0 23px 15px}.field-label{font-size:10px}.field-label input,.field-label select{font-size:12px}.form-row{gap:10px}.info-box{font-size:9px}.full-width{font-size:11px}.packet-to-open h2{font-size:22px}.claimed-number{font-size:40px}}
@media(max-width:370px){.welcome-art{right:-24px;transform:scale(.57)}.welcome{padding:20px 16px}.welcome-copy>p{max-width:165px;font-size:8px}.welcome h1{font-size:25px}.chat-header{gap:6px}.chat-title h3{font-size:12px}.chat-title p{font-size:7px}.red-packet{width:232px}.packet-content strong{font-size:10px}.packet-bottom{font-size:7px}.section-heading .subtle{font-size:7px}.breadcrumb strong{font-size:14px}}
/* Keep the primary conversation comfortable to read at every breakpoint. */
.message-bubble{font-size:13px}.message-meta{font-size:10px}.composer textarea{font-size:12px}.packet-content strong{font-size:12px}.packet-content small{font-size:10px}.packet-bottom{font-size:9px}.chat-title p{font-size:10px}.chat-notice{font-size:10px}.chat-title h3{font-size:14px}.field-label{color:#6e7a63}.modal-header p,.info-box{color:#77836c}.wallet-hint,.demo-footer{color:#7c8771}.welcome-copy>p{color:#7e8375}.room-item-copy>small{color:#818a76}.packet-result-head p{color:#818b73}.empty-state p{color:#7e8a71}.claims-list .claim-row small{color:#8c967e}
@media(max-width:760px){.welcome-art{transform:scale(.53);right:-4px;top:10px}.welcome-copy>p{max-width:183px;font-size:10px}.message-bubble{font-size:13px}.chat-title p{font-size:9px}.chat-notice{font-size:9px}.packet-content strong{font-size:12px}.packet-content small{font-size:9px}.packet-bottom{font-size:8px}.field-label input,.field-label select,.amount-input input{font-size:16px}.room-item-copy>small{font-size:11px}.chat-title h3{font-size:13px}.composer textarea{font-size:12px}}
.network-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e4e9dd;background:#f1f5ec;color:#708060;font-size:11px;line-height:1.8;border-radius:8px;padding:10px 14px;margin-bottom:20px}.network-banner>span{display:flex;align-items:center;gap:8px}.network-banner i{font-size:16px}.network-banner>button{font-size:11px;font-weight:600;color:var(--red);display:flex;gap:5px;align-items:center;white-space:nowrap}.network-banner.connected{background:#f5f7f0;color:#7a866d}.account-button{display:flex;gap:7px;align-items:center;font-size:11px;color:#6d7961}.auth-header.btn{min-height:31px;padding:7px 11px;font-size:11px}.auth-switch{width:100%;margin:8px 0 -12px;color:var(--red)}.auth-modal input{font-size:14px}.demo-badge.disconnected{color:#a95843;background:#fbede7;border-color:#efd0c4}.demo-badge.disconnected>span{background:#c77b60}.auth-modal .info-box{font-size:10px}
@media(max-width:760px){.network-banner{font-size:10px;align-items:flex-start;gap:8px;padding:11px 12px}.network-banner>span{display:block}.network-banner>span>i{font-size:12px;margin-right:5px}.network-banner>button{font-size:10px;white-space:normal;text-align:right;min-width:76px;justify-content:flex-end}.auth-header.btn{font-size:10px;padding:6px 8px;min-height:30px}.topbar-actions{gap:7px}.topbar-divider{display:none}.topbar .demo-badge{font-size:8px;max-width:105px}.account-button{display:flex;font-size:9px}.topbar .account-button .avatar{width:26px;height:26px}.auth-modal input{font-size:16px}.auth-modal{padding:27px 22px}.auth-modal .modal-header{padding-bottom:18px}}
@media(max-width:390px){.topbar-actions>.icon-btn{display:none}.network-banner>button{max-width:85px}.topbar{padding:0 12px}.breadcrumb{gap:7px}.breadcrumb strong{font-size:13px}.topbar .demo-badge{font-size:7px;padding:4px 5px}.auth-header.btn{font-size:9px;padding:6px 7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Room entry requirements and live presence */
.room-entry-note{display:block;font-size:9px;line-height:1.5;color:#bd6451;margin:-2px 0 8px}.online-members{display:inline-flex;align-items:center;gap:6px;padding:3px 0;color:#75836c;font:inherit;text-align:left}.online-members:hover{color:#bd4e39}.online-members i{font-size:10px}.room-locked{flex:1;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px 20px;gap:14px;background:#fcfdfb}.locked-symbol{width:52px;height:52px;display:grid;place-items:center;background:#f6eee8;color:#bc735a;border-radius:50%;font-size:25px}.room-locked h3{font-size:15px}.room-locked p{font-size:11px;line-height:1.8;color:#8b9684}.room-locked p strong{color:#bc5943;font-weight:600}.room-locked small{font-size:10px;color:#9aa28f}.room-locked .btn{margin-top:6px}.room-event{display:flex;justify-content:center;align-items:center;gap:8px;margin:15px 0;color:#96a08e;font-size:10px;line-height:1.8;overflow-wrap:anywhere}.room-event span{padding:3px 10px;border-radius:12px;background:#f1f4ed}.room-event time{font-size:8px;color:#b0b6a9}.online-user-list{max-height:340px;overflow-y:auto;margin-top:8px}.online-user-row{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #f0f1eb}.online-user-row>.avatar{width:35px;height:35px}.online-user-row>strong{font-size:13px;overflow-wrap:anywhere}.online-state{display:flex;align-items:center;gap:5px;margin-left:auto;color:#8d9d7d;font-size:10px;white-space:nowrap}.presence-note{font-size:10px;line-height:1.8;color:#a0a795;margin-top:18px}.room-info-list+.btn{margin-bottom:10px}
/* Account portraits, emoji picker and voice messages. */
.avatar{overflow:hidden;flex-shrink:0}.avatar img{display:block;width:100%;height:100%;object-fit:cover}.avatar-large{width:64px;height:64px;border-radius:18px;font-size:26px}.avatar-picker{border:0;padding:0;margin:18px 0 22px;min-width:0}.avatar-picker legend{font-size:12px;font-weight:600;margin-bottom:12px;color:#4b5549}.avatar-preview-row{display:flex;align-items:center;gap:12px;margin-bottom:14px}.avatar-preview-row>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}.avatar-preview-row strong{font-size:13px}.avatar-preview-row small{font-size:11px;line-height:1.5;color:#8c9685}.photo-upload{border:1px solid #dedfd5;padding:9px 12px;border-radius:8px;cursor:pointer;font-size:12px;white-space:nowrap}.photo-upload:focus-within{outline:2px solid #ca5142;outline-offset:2px}.photo-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.avatar-gender-tabs{display:flex;gap:6px;margin-bottom:12px}.avatar-gender-tabs button{flex:1;padding:9px;border:1px solid #e5e7df;background:#f7f8f4;border-radius:8px;color:#8c9685;font-size:12px}.avatar-gender-tabs button[aria-pressed=true]{background:#fbefea;color:#bc4c3e;border-color:#eac5bb}.avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-height:280px;overflow:auto;padding:3px}.avatar-option{position:relative;border:2px solid transparent;padding:2px;border-radius:14px;background:transparent;aspect-ratio:1;min-width:0}.avatar-option img{display:block;width:100%;height:100%;border-radius:10px}.avatar-option.chosen{border-color:#c95241;background:#fff4ee}.avatar-option .ph{position:absolute;right:1px;bottom:1px;font-size:18px;color:#c95241;background:white;border-radius:50%}.avatar-option:hover{border-color:#dab5a7}.voice-tool{border:0;background:transparent;display:inline-flex;gap:5px;align-items:center;color:#939f8c;padding:8px 9px;font-size:12px;border-radius:8px}.voice-tool .ph{font-size:20px}.voice-tool:hover{background:#f5f5ed;color:#c64f40}.voice-bubble{display:grid;gap:8px;min-width:0;max-width:320px}.voice-bubble>span{font-size:12px;display:flex;gap:6px;align-items:center}.voice-bubble audio{width:260px;max-width:100%;height:36px}.voice-modal{text-align:center}.voice-modal .modal-header{text-align:left}.record-visual{margin:26px auto 15px;width:88px;height:88px;display:grid;place-items:center;border-radius:50%;background:#f7eee7;color:#c85341;font-size:36px}.record-visual.recording{background:#d65242;color:white;box-shadow:0 0 0 10px #fbede8}.record-status{font-size:14px;color:#6e7b64;margin:22px 0}.voice-preview{width:100%;margin:0 0 20px}.voice-draft-actions{display:flex;gap:12px}.voice-draft-actions .btn{flex:1}.voice-modal .field-help{line-height:1.7;margin-top:15px}.emoji-panel{display:grid;gap:16px;max-height:350px;overflow:auto;padding:2px 4px 2px 0}.emoji-panel h3{font-size:12px;font-weight:500;color:#939f8b;margin:0 0 9px}.emoji-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px}.emoji-grid button{border:0;background:transparent;border-radius:8px;font-size:25px;line-height:1.4;padding:6px 2px}.emoji-grid button:hover,.emoji-grid button:focus-visible{background:#f9ece5}.quick-phrases{margin-top:20px;border-top:1px solid #eceee6;padding-top:14px}.quick-phrases summary{font-size:12px;color:#9a8e75;cursor:pointer}.quick-phrases .phrase-list{margin-top:12px}.avatar-picker .field-help{line-height:1.6;margin-bottom:0}
@media(max-width:600px){.avatar-grid{gap:6px;max-height:245px}.avatar-preview-row{gap:9px}.avatar-preview-row small{font-size:10px}.photo-upload{padding:8px;font-size:11px}.emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.voice-bubble{max-width:245px}.voice-bubble audio{width:215px}.send-actions>span{display:none}.voice-tool{padding:7px}.voice-tool span{display:inline}.voice-draft-actions{gap:8px}.avatar-large{width:56px;height:56px}}
.admin-entry{color:#a27350;text-decoration:none}.admin-profile-entry{margin-top:12px;text-decoration:none}.voice-tool{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;white-space:nowrap}.voice-tool.is-recording{background:#f7e0d8;color:#c14c3e}.voice-tool:disabled{opacity:.6}.voice-hold-overlay{position:fixed;left:50%;bottom:150px;transform:translateX(-50%);width:min(320px,calc(100vw - 40px));z-index:20;text-align:center;background:#40523deb;color:#f5f6ef;backdrop-filter:blur(12px);padding:28px 24px 23px;border-radius:18px;box-shadow:0 12px 40px #25301d24;pointer-events:none}.voice-hold-overlay[hidden]{display:none}.voice-hold-overlay.will-cancel{background:#bb5149ed}.hold-wave{font-size:36px;line-height:1.4;margin-bottom:12px}.voice-hold-overlay>strong{display:block;font-size:16px;font-weight:500}.hold-clock{display:block;font-size:12px;opacity:.75;margin-top:9px}.voice-hold-overlay>p{font-size:12px;line-height:1.7;opacity:.85;margin:15px 0 0}.hold-error-actions{display:flex;gap:10px;justify-content:center;margin-top:20px;pointer-events:auto}.hold-error-actions .btn{font-size:12px}.voice-hold-overlay.voice-error{background:#fffdf9;color:#59664f;border:1px solid #e5dfd0;pointer-events:auto}
@media(max-width:600px){.voice-tool{gap:4px;padding:7px 5px;font-size:11px}.voice-tool .ph{font-size:18px}.voice-hold-overlay{bottom:160px}.send-actions{gap:8px}.composer-tools{gap:6px}}
.wallet-summary .wallet-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.frozen-balance{display:flex;align-items:center;gap:7px;border-top:1px solid #eceee4;margin-top:20px;padding-top:17px;color:#9aa58c;font-size:11px}.frozen-balance strong{margin-left:auto;font-weight:500;font-size:12px;color:#7b8d6e}.wallet-main-actions{display:flex;gap:10px}.wallet-main-actions .btn{flex:1}.withdrawal-large>strong small{font-size:14px;font-weight:400;letter-spacing:0}.withdrawal-demo-note{font-size:11px;line-height:1.8;color:#a3ac95}.withdrawal-ledger{margin-bottom:24px}.withdrawal-row{display:flex;align-items:flex-start;gap:13px;padding:21px 27px;border-top:1px solid #eceee4}.withdrawal-copy{min-width:0;flex:1}.withdrawal-copy>strong{font-size:13px;font-weight:500;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.withdrawal-copy>small{display:block;margin-top:7px;color:#a1ab92;font-size:10px}.withdrawal-copy>p{font-size:11px;color:#8f9a82;margin:7px 0 0}.wallet-address{font-size:10px;font-family:ui-monospace,Consolas,monospace;color:#a4ac98;display:block;overflow-wrap:anywhere;margin-top:6px}.withdrawal-status{font-size:10px;font-weight:400;padding:3px 7px;border-radius:5px;background:#f5eddf;color:#ad936d}.withdrawal-status.completed{color:#759467;background:#edf5e9}.withdrawal-status.rejected{color:#b77d6e;background:#f8eee7}.fixed-currency{display:flex;align-items:center;border:1px solid #e3e6dc;border-radius:8px;min-height:43px;padding:10px 12px;color:#9aab8c;background:#f7f9f3;font-size:12px}
@media(max-width:600px){.withdrawal-row{padding:18px 17px;gap:10px}.wallet-main-actions{gap:8px}.withdrawal-copy>strong{font-size:12px;gap:8px}}

.chat-admin-name{color:#c93f31;font-weight:600}.chat-admin-badge{display:inline-flex;align-items:center;margin-left:5px;padding:1px 5px;border-radius:4px;background:#fbe9e4;border:1px solid #efc2b8;color:#ba382b;font-size:10px;font-weight:600;line-height:1.5;vertical-align:middle;white-space:nowrap}.room-event .chat-admin-name{display:inline;color:#c93f31}.online-user-row .chat-admin-badge{margin-left:5px}

.room-manage-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.room-manage-button{border:1px solid #e7d9d0;background:#fff9f5;color:#9d6651;border-radius:5px;padding:5px 7px;font-size:11px;white-space:nowrap}.room-manage-button.danger{color:#bd4033;border-color:#eec9c2}.online-user-row{flex-wrap:wrap}.online-user-row .room-manage-actions{margin-left:auto}.room-restriction-list{margin-top:20px;border-top:1px solid var(--line);padding-top:16px}.room-restriction-list h3{font-size:13px;margin-bottom:10px}.room-restriction-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:10px 0;font-size:13px}.room-mute-notice{margin:0 0 9px;padding:8px 10px;background:#fbf0df;color:#976e3a;border-radius:6px;font-size:12px;line-height:1.7}.muted-member-tag{font-size:10px;color:#a57e44;background:#faf0de;padding:2px 5px;border-radius:4px}@media(max-width:520px){.online-user-row .room-manage-actions{width:100%;margin-left:46px}.online-user-row .online-state{margin-left:auto}}
