:root{--bg:#f5f3f7;--paper:#fff;--panel:#fbfafd;--soft:#f0ebf6;--soft-strong:#e6dbf0;--purple:#7955a3;--purple-dark:#65428c;--ink:#3d3347;--muted:#817789;--line:#e9e4ed;--yellow:#f7d879;--green:#63a88a;--danger:#b85262;--shadow:0 16px 50px #3f2d5212;color-scheme:light;font:14px/1.5 "Segoe UI",Tahoma,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{-webkit-user-select:none;user-select:none}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #ad8bd680;outline-offset:3px}button{border:0;background:none}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{color:var(--ink)}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.small-icon{width:16px;height:16px}p,h1,h2,h3{margin:0}button{transition:background .15s,transform .15s,color .15s}button:active:not(:disabled){transform:translateY(1px)}.brand{font:italic 700 48px/.9 Georgia,serif;letter-spacing:-3px;color:var(--purple);white-space:nowrap}.brand-num{color:#d6688e;letter-spacing:-1px;margin:0 2px 0 1px}.brand-lockup{display:flex;align-items:center;gap:15px;text-decoration:none!important}.brand-caption{font-size:10px;letter-spacing:2.8px;font-weight:650;color:var(--purple);padding-top:10px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:var(--purple);display:flex;align-items:center;gap:8px}.quiet-label{color:var(--muted);font-size:12px}.status-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#a59bab;flex-shrink:0}.status-dot.online{background:var(--green)}.status-dot.away{background:#d4a34d}.status-dot.busy{background:#ca7685}.status-dot.invisible,.status-dot.offline{background:#aca5b2}.small-smile{font-size:22px;line-height:1;color:#ac8737}.boot-screen{height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px;color:var(--muted)}.boot-screen .brand{font-size:70px}.auth-screen{max-width:1440px;min-height:100dvh;margin:auto;padding:36px 6.4% 24px;display:flex;flex-direction:column}.auth-header{display:flex;align-items:center;justify-content:space-between}.auth-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center;flex:1;max-width:1120px;width:100%;margin:44px auto}.auth-story{padding:10px 0}.auth-story h1{font-size:clamp(34px,3.45vw,52px);line-height:1.23;font-weight:500;letter-spacing:-1.9px;margin:24px 0 21px}.auth-story h1 em{font-style:normal;color:var(--purple)}.auth-description{color:var(--muted);font-size:15px;line-height:1.85}.nostalgia-art{position:relative;height:245px;width:100%;max-width:465px;margin-top:28px}.tiny-window{position:absolute;left:9px;top:23px;width:340px;background:var(--paper);border:1px solid #d9cfe3;border-radius:10px;transform:rotate(-4deg);box-shadow:6px 9px 0 #e8e0ef;overflow:hidden}.tiny-title{height:29px;background:#e9e0f2;display:flex;align-items:center;padding:0 12px;gap:7px;font-size:10px;color:#78638d}.tiny-title>span:last-child{margin-left:auto;letter-spacing:6px}.tiny-dot{width:7px;height:7px;border-radius:50%;background:#8d71aa}.tiny-body{display:flex;align-items:center;gap:11px;padding:22px 18px 20px}.tiny-avatar{font-size:28px;background:#f7e9b3;color:#ac8434;width:44px;height:44px;display:grid;place-items:center;border-radius:10px}.tiny-body b{font-size:14px;font-weight:600}.tiny-body p{font-size:11px;color:#93889c;margin-top:4px}.tiny-input{margin:0 12px 13px;border:1px solid var(--line);border-radius:6px;padding:10px;display:flex;justify-content:space-between;font-size:9px;color:#a296ad}.big-smiley{width:111px;height:111px;background:#f4d16d;border-radius:45%;position:absolute;right:4px;top:104px;transform:rotate(10deg);border:4px solid var(--bg);box-shadow:0 4px 0 #e9bd4c;display:flex;justify-content:center;gap:23px;padding-top:33px}.big-smiley i{width:7px;height:12px;background:#70502e;border-radius:50%}.big-smiley b{position:absolute;width:43px;height:23px;border-bottom:4px solid #70502e;border-radius:0 0 50% 50%;top:49px}.buzz-stamp{position:absolute;right:10px;top:45px;font-size:14px;font-weight:800;letter-spacing:1px;transform:rotate(11deg);background:var(--paper);border:1px solid #e6dabb;color:#9d7524;padding:7px 14px;border-radius:8px}.art-spark{position:absolute;font-size:36px;color:#b19ac9}.spark-a{left:-20px;top:86px}.spark-b{right:12px;top:-3px;font-size:28px}.art-note{position:absolute;bottom:0;left:38px;font-size:10px;color:#9989a5;letter-spacing:.2px}.auth-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:36px 39px 28px;max-width:420px;width:100%;justify-self:end;box-shadow:var(--shadow)}.card-smiley{width:43px;height:43px;display:grid;place-items:center;font-size:38px;background:#fbeac2;color:#b18a34;border-radius:12px;margin-bottom:20px}.auth-card .eyebrow{font-size:9px;letter-spacing:1.45px;margin-bottom:7px}.auth-card h2{font-size:29px;font-weight:600;letter-spacing:-.7px}.auth-subtitle{color:var(--muted);font-size:12px;margin:7px 0 26px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}label+label{margin-top:17px}input:not([type=checkbox]):not([type=color]),select,textarea{border:1px solid var(--line);border-radius:7px;padding:11px 13px;background:var(--paper);width:100%;min-width:0;outline-offset:1px}input::placeholder,textarea::placeholder{color:#a39aa9;font-weight:400}.password-field{position:relative}.password-field input{padding-right:55px!important}.password-field button{position:absolute;right:10px;top:11px;font-size:11px;color:var(--muted)}.auth-options{display:flex;align-items:center;justify-content:space-between;margin:17px 0 21px}.check-label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:11px;color:var(--muted);font-weight:400}.check-label input{accent-color:var(--purple);width:14px;height:14px;margin:0}.text-button{padding:0;color:var(--purple);font-size:12px;font-weight:600}.text-button:hover{text-decoration:underline}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:10px 17px;border-radius:7px;font-size:12px;font-weight:600}.primary-button{color:#fff;background:var(--purple);border:1px solid var(--purple)}.primary-button:hover{background:var(--purple-dark)}.secondary-button{background:var(--paper);border:1px solid var(--line)}.secondary-button:hover{background:var(--soft)}.danger-button{background:#f9e9ec;color:#a54556}.auth-submit{width:100%;justify-content:space-between;padding:11px 16px;min-height:43px}.auth-submit span{font-size:20px;line-height:1}.or-divider{position:relative;text-align:center;font-size:10px;color:#a298a8;margin:21px 0 17px}.or-divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:var(--line)}.or-divider span{background:var(--paper);padding:0 13px;position:relative}.google-button{display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);width:100%;height:42px;border-radius:7px;font-size:12px}.google-button:hover:not(:disabled){background:var(--panel)}.google-g{font-size:19px;font-weight:700;color:#4285f4}.google-hint{font-size:9px;text-align:center;color:var(--muted);line-height:1.5;margin:8px 10px 0}.signup-line{font-size:11px;color:var(--muted);text-align:center;margin:24px 0 0}.signup-line .text-button{font-size:11px}.auth-footer{display:flex;align-items:center;justify-content:space-between;color:#9b91a3;font-size:10px;border-top:1px solid var(--line);padding-top:18px}.auth-footer>span:first-child{display:flex;align-items:center;gap:9px}.form-error{color:var(--danger);font-size:12px;line-height:1.5;background:#fdf1f3;padding:10px;border-radius:6px;margin:12px 0}.messenger{height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding:18px 26px 0;max-width:1800px;margin:auto}.app-titlebar{height:58px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.titlebar-start,.titlebar-end{display:flex;align-items:center;gap:18px}.app-titlebar .brand{font-size:41px}.app-titlebar .brand-caption{font-size:8px;letter-spacing:2px;padding-top:7px}.titlebar-divider{width:1px;height:21px;background:var(--line)}.titlebar-tagline{font-size:11px;color:var(--muted)}.transport-badge{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);background:var(--paper);padding:5px 9px;border-radius:5px;border:1px solid var(--line)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px;color:var(--muted);padding:0;flex-shrink:0}.icon-button:hover{background:var(--soft);color:var(--purple)}.icon-button.small{width:27px;height:27px}.icon-button.small svg{width:17px;height:17px}.menu-bar{display:flex;align-items:center;gap:2px;height:38px;flex-shrink:0}.menu-bar>button{font-size:11px;padding:5px 12px;border-radius:5px;color:#807489}.menu-bar>button:first-child{padding-left:0}.menu-bar>button:hover{color:var(--purple);background:var(--soft)}.menu-note{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:10px;color:#9c91a6}.menu-note .small-smile{font-size:18px}.workspace{display:grid;grid-template-columns:263px minmax(0,1fr) 225px;background:var(--paper);border:1px solid var(--line);border-radius:12px;flex:1;min-height:0;overflow:hidden;position:relative}.sidebar{display:flex;flex-direction:column;min-height:0;background:var(--panel);border-right:1px solid var(--line)}.self-profile{width:100%;display:flex;align-items:center;padding:21px 18px 18px;gap:11px;text-align:left}.self-profile:hover{background:var(--soft)}.avatar{width:39px;height:39px;border-radius:11px;background:#e8def1;display:inline-flex;align-items:center;justify-content:center;font-size:23px;flex-shrink:0;position:relative}.avatar-large{width:44px;height:44px;font-size:27px;background:#f6e6b9}.profile-copy{flex:1;min-width:0}.profile-copy strong{display:block;font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy>span{display:flex;gap:5px;align-items:center;color:var(--muted);font-size:10px;margin-top:4px}.self-profile>.small-icon{color:#a195ad;width:12px}.sidebar-search{display:flex;align-items:center;gap:7px;background:var(--paper);border:1px solid var(--line);margin:0 16px 17px;border-radius:7px;padding:0 9px}.sidebar-search svg{width:14px;height:14px;color:#a597b0}.sidebar-search input{font-size:10px;padding:9px 0!important;border:0!important;background:none!important;outline:none}.sidebar-search kbd{font:10px sans-serif;color:#b0a5b9;border:1px solid var(--line);border-radius:3px;padding:0 3px}.sidebar-tabs{display:flex;border-bottom:1px solid var(--line);padding:0 16px;gap:9px}.sidebar-tabs button{display:flex;align-items:center;gap:7px;justify-content:center;font-size:11px;font-weight:600;color:var(--muted);padding:9px 5px 11px;flex:1;position:relative}.sidebar-tabs svg{width:15px;height:15px}.sidebar-tabs button.active{color:var(--purple)}.sidebar-tabs button.active:after{content:"";position:absolute;bottom:-1px;left:4px;right:4px;background:var(--purple);height:2px;border-radius:2px}.sidebar-section-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 17px 6px;font-size:8px;letter-spacing:1.2px;color:#9c90a7;font-weight:650}.sidebar-list{flex:1;min-height:0;overflow-y:auto;padding:0 8px 12px}.chat-row{display:flex;gap:10px;text-align:left;width:100%;align-items:center;padding:11px 10px;border-radius:8px;position:relative;margin:2px 0}.chat-row:hover{background:#f1ecf6}.chat-row.active{background:var(--soft)}.chat-row.active:before{content:"";position:absolute;left:-8px;height:24px;width:3px;background:var(--purple);border-radius:0 3px 3px 0}.chat-row .avatar{width:36px;height:36px;font-size:21px;border-radius:10px}.chat-row .status-dot{position:absolute;bottom:-1px;right:-1px;border:2px solid var(--panel);width:10px;height:10px}.chat-row-main{flex:1;min-width:0}.chat-row-main strong{font-size:11px;display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-row-main p{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);margin-top:4px}.chat-row-meta{display:flex;align-items:center;flex-direction:column;align-self:stretch;gap:8px;font-size:8px;color:#a59aaf;padding-top:2px}.unread-badge{background:var(--purple);color:white;border-radius:5px;min-width:16px;height:16px;display:grid;place-items:center;font-size:9px;padding:0 4px}.empty-list{text-align:center;padding:30px 10px;color:var(--muted);font-size:11px;line-height:1.8}.empty-list svg{width:30px;height:30px;color:#b8a9c6;display:block;margin:0 auto 11px}.empty-list button{margin-top:13px}.contact-group-title{font-size:9px;color:var(--muted);letter-spacing:.6px;margin:15px 10px 6px;display:flex;justify-content:space-between}.request-banner{background:#fff6d9;border:1px solid #f1e4b7;border-radius:7px;padding:9px;display:flex;align-items:center;justify-content:space-between;font-size:10px;gap:5px;margin:4px}.request-banner button{color:#9b7222;font-weight:650;font-size:10px}.sidebar-bottom{border-top:1px solid var(--line);padding:9px 15px}.sidebar-bottom>button{display:flex;align-items:center;gap:8px;width:100%;text-align:left;font-size:10px;padding:8px 0;color:var(--muted)}.sidebar-bottom>button:hover{color:var(--purple)}.sidebar-bottom>button>:last-child{margin-left:auto}.sidebar-bottom svg{width:15px;height:15px}.room-symbol{color:var(--purple);font-size:20px;line-height:1}.sidebar-footnote{font-size:8px;color:#aa9eb3;border-top:1px solid var(--line);padding:10px 16px;display:flex;justify-content:space-between}.chat-panel{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--paper)}.welcome-panel{display:flex;flex-direction:column;justify-content:space-between;flex:1;min-height:0}.welcome-topnote{font-size:10px;color:var(--muted);padding:23px 25px;display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--line)}.welcome-main{text-align:center;padding:30px 20px}.welcome-smile{position:relative;width:100px;height:95px;margin:0 auto 27px}.welcome-smile>span{display:grid;place-items:center;background:#f9e4a0;width:84px;height:84px;border-radius:28px;font-size:72px;line-height:1;color:#b28b3e;transform:rotate(-8deg)}.welcome-smile>i{font-size:32px;font-style:normal;color:#b398cd;position:absolute;right:-12px;top:-17px}.welcome-main .eyebrow{justify-content:center;font-size:8px;letter-spacing:1.4px}.welcome-main h2{font-size:33px;font-weight:500;line-height:1.35;letter-spacing:-1px;margin:16px 0}.welcome-main h2 em{font-style:normal;color:var(--purple)}.welcome-main>p:not(.eyebrow){font-size:12px;line-height:1.9;color:var(--muted)}.welcome-actions{display:flex;justify-content:center;gap:9px;margin-top:26px;flex-wrap:wrap}.welcome-actions .primary-button,.welcome-actions .secondary-button{font-size:10px;padding:9px 12px}.welcome-actions svg{width:15px;height:15px}.welcome-bottom{display:flex;justify-content:center;gap:25px;flex-wrap:wrap;padding:20px 15px;font-size:9px;color:#a195ad;border-top:1px solid var(--line)}.conversation-panel{display:flex;flex-direction:column;flex:1;min-height:0}.conversation-header{height:76px;display:flex;align-items:center;gap:11px;padding:0 23px;border-bottom:1px solid var(--line);flex-shrink:0}.conversation-heading{flex:1;min-width:0}.conversation-heading h1{font-size:14px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.conversation-heading p{font-size:10px;color:var(--muted);margin-top:3px;display:flex;gap:5px;align-items:center}.conversation-tools{display:flex;align-items:center;gap:4px}.conversation-tools svg{width:18px;height:18px}.tool-divider,.toolbar-divider{width:1px;height:19px;background:var(--line);margin:0 6px}.messages{flex:1;overflow-y:auto;padding:20px 25px 10px;min-height:0;scroll-behavior:smooth;overscroll-behavior:contain}.date-divider{display:flex;align-items:center;gap:14px;font-size:9px;color:#b0a3ba;margin:8px 0 24px;justify-content:center}.date-divider:before,.date-divider:after{content:"";height:1px;background:var(--line);flex:1}.message-row{display:flex;align-items:flex-end;gap:9px;margin:15px 0;max-width:88%;width:fit-content}.message-row.mine{margin-left:auto;flex-direction:row-reverse}.message-row>.avatar{width:27px;height:27px;font-size:17px;border-radius:8px;margin-bottom:19px}.message-main{min-width:0}.message-author{font-size:9px;color:#9d8bab;margin:0 0 4px 2px}.message-row.mine .message-author{text-align:right}.message-bubble{border-radius:11px 11px 11px 3px;background:#f5f2f8;padding:10px 13px;font-size:12px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;position:relative}.message-row.mine .message-bubble{background:#eee6f7;border-radius:11px 11px 3px 11px;color:#63477d}.message-bubble.sticker{background:transparent!important;font-size:54px;padding:0;line-height:1.3}.message-meta{font-size:8px;color:#b0a3ba;display:flex;align-items:center;gap:6px;margin-top:4px}.message-row.mine .message-meta{justify-content:flex-end}.message-meta svg{width:11px;height:11px;color:#a082ba}.system-message{text-align:center;font-size:10px;color:#a594b3;padding:10px}.buzz-message{background:#fff8df;color:#a27b2b;border:1px solid #f4e5b7;border-radius:7px;display:flex;justify-content:center;align-items:center;gap:8px;padding:8px 14px;width:fit-content;max-width:100%;margin:18px auto;font-size:10px}.buzz-message b{font-size:12px;letter-spacing:.8px}.attachment-card{display:flex;align-items:center;gap:10px;white-space:normal;min-width:150px}.attachment-card svg{width:28px;height:28px}.attachment-card strong{font-size:11px;display:block;word-break:break-all}.attachment-card small{font-size:9px;color:var(--muted)}.attachment-image{display:block;max-width:100%;max-height:260px;border-radius:7px}.attachment-link{display:block;color:inherit}.audio-message{display:flex;align-items:center;gap:10px;white-space:normal;cursor:pointer}.audio-message b{font-size:20px}.audio-message small{display:block;color:var(--muted);font-size:9px}.load-older{display:block;margin:0 auto 15px;font-size:10px;color:var(--purple);border:1px solid var(--line);padding:5px 12px;border-radius:20px}.empty-conversation{text-align:center;color:var(--muted);font-size:11px;padding:55px 0}.empty-conversation .small-smile{font-size:40px;display:block;margin-bottom:12px}.typing-indicator{height:22px;flex-shrink:0;font-size:10px;padding:1px 25px;color:#a18bb2}.composer-wrap{margin:0 18px 15px;border:1px solid var(--line);border-radius:10px;background:var(--paper);flex-shrink:0;overflow:hidden}.format-toolbar{display:flex;align-items:center;gap:3px;padding:6px 9px;border-bottom:1px solid var(--line);height:40px;background:#fdfcfe}.format-button{width:27px;height:26px;border-radius:5px;color:#9a85ac;padding:0}.format-button:hover,.format-button.active{background:var(--soft);color:var(--purple)}.format-button b,.format-button i{font-family:Georgia,serif;font-size:16px}.color-control{font-size:15px;font-family:Georgia,serif;font-weight:600;margin:0 5px 0 3px;position:relative;line-height:20px;color:#8d759f;border-bottom:2px solid var(--purple)}.color-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.format-toolbar select{font-size:9px;padding:3px 16px 3px 6px;border:0;border-radius:4px;width:82px;color:#9986a9;background:transparent}.sticker-button{font-size:19px}.buzz-button{margin-left:auto;font-weight:800;font-size:10px;letter-spacing:.4px;color:#957020;background:#fff4cc;border:1px solid #eddda6;border-radius:5px;height:25px;padding:0 9px}.buzz-button:hover{background:#f9e5a2}#composerForm{display:flex;align-items:flex-end;padding:8px 11px 5px;gap:8px}#composer{resize:none;border:0;padding:4px;font-size:12px;min-height:55px;max-height:160px;outline:none;background:transparent;line-height:1.6}.send-button{background:var(--purple);color:white;width:34px;height:34px;display:grid;place-items:center;border-radius:8px;margin-bottom:4px;flex-shrink:0}.send-button svg{width:17px;height:17px}.send-button:hover{background:var(--purple-dark)}.composer-hint{display:flex;justify-content:space-between;padding:3px 15px 9px;font-size:8px;color:#b2a6bc}.details-panel{border-left:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;min-height:0;overflow:auto}.details-top{text-align:center;padding:31px 15px 22px}.details-top .avatar{width:67px;height:67px;font-size:38px;border-radius:20px;margin:0 auto 13px}.details-top h2{font-size:14px;font-weight:650;margin-bottom:5px;overflow-wrap:anywhere}.details-top p{font-size:10px;color:var(--muted);line-height:1.7}.details-top .username{font-size:9px;margin-top:2px;color:#ac9bb8}.detail-status{display:flex;gap:5px;align-items:center;justify-content:center;margin-top:9px;font-size:9px;color:var(--muted)}.detail-quote{font-size:11px!important;line-height:1.8!important;margin:17px 6px 0;color:#9783a5!important}.detail-section{padding:17px;border-top:1px solid var(--line)}.detail-section h3{font-size:8px;letter-spacing:1px;color:#a18eaf;margin-bottom:12px;font-weight:650}.detail-action{display:flex;align-items:center;gap:9px;width:100%;padding:7px 0;font-size:10px;text-align:left;color:#93809f}.detail-action svg{width:15px;height:15px}.detail-action:hover{color:var(--purple)}.detail-action>:last-child{margin-left:auto}.detail-member{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:10px;min-width:0}.detail-member .avatar{width:25px;height:25px;font-size:15px;border-radius:7px}.detail-member>span:nth-child(2){flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-mood{padding:23px 17px;text-align:center;margin-top:auto;border-top:1px solid var(--line)}.detail-mood .small-smile{font-size:31px}.detail-mood p{font-size:10px;line-height:1.9;color:#aa9bb4;margin-top:9px}.swatch-row{display:flex;gap:8px;justify-content:center;margin-top:12px}.swatch{width:24px;height:24px;border-radius:7px;border:2px solid transparent;background:#dfd0ed}.swatch[data-theme=peach]{background:#eed5c6}.swatch[data-theme=mint]{background:#cde5da}.swatch[data-theme=night]{background:#51465e}.swatch.active{border-color:var(--purple);box-shadow:0 0 0 2px var(--paper) inset}.app-statusbar{display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#9e90aa;min-height:30px;padding:0 2px;gap:10px}.app-statusbar>span:first-child{display:flex;align-items:center;gap:6px}.app-statusbar .status-dot{width:5px;height:5px}.statusbar-brand{font:italic 700 15px Georgia,serif;color:#ae9abb}.statusbar-brand>span{font:8px "Segoe UI",sans-serif;color:#aa9bb4;margin-left:7px}.mobile-only,.drawer-overlay{display:none}.modal{border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);width:min(490px,calc(100% - 30px));max-height:85dvh;padding:0;box-shadow:0 25px 100px #25133338;overflow:auto}.modal::backdrop{background:#32244055;backdrop-filter:blur(2px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 22px 13px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:1}.modal-heading h2{font-size:17px;font-weight:600}.modal-heading .icon-button{width:27px;height:27px}#modalBody{padding:22px}.modal-description{color:var(--muted);font-size:12px;line-height:1.8;margin:0 0 18px}.modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:22px}.modal-actions .text-button{margin-right:auto}.modal label input,.modal label select{font-size:12px}.modal .check-label{margin:14px 0}.form-row{display:flex;gap:12px}.form-row>*{flex:1;margin-top:0!important}.modal-search{display:flex;gap:8px}.modal-search input{font-size:12px}.modal-results{margin-top:15px;max-height:330px;overflow:auto}.user-result{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line)}.user-result>div{flex:1;min-width:0}.user-result strong{font-size:12px;display:block;overflow-wrap:anywhere}.user-result p{font-size:10px;color:var(--muted);margin-top:2px}.user-result .primary-button,.user-result .secondary-button{font-size:10px;padding:5px 10px;min-height:30px}.user-result .avatar{width:33px;height:33px;font-size:20px}.user-result .icon-button{width:27px;height:27px}.modal-section-title{font-size:11px;color:var(--purple);font-weight:650;margin:24px 0 12px}.emoji-options{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin:10px 0}.emoji-options button{font-size:25px;height:36px;border-radius:7px}.emoji-options button:hover,.emoji-options button.selected{background:var(--soft)}.settings-theme-options{display:flex;gap:9px}.settings-theme-options button{display:flex;flex-direction:column;align-items:center;font-size:10px;color:var(--muted);gap:5px}.settings-theme-options .swatch{width:47px;height:32px}.checkbox-list{display:flex;flex-direction:column;gap:5px;padding:10px 0;max-height:200px;overflow-y:auto}.checkbox-list label{margin:0!important;display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:400;padding:6px}.checkbox-list input{width:auto!important;accent-color:var(--purple)}.popover{position:fixed;z-index:20;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:7px;box-shadow:0 10px 35px #3d284d25;max-width:calc(100vw - 24px);width:230px}.popover button{display:flex;align-items:center;gap:9px;padding:9px 10px;width:100%;text-align:left;border-radius:6px;font-size:11px;color:var(--ink)}.popover button:hover{background:var(--soft)}.popover button svg{width:15px;height:15px;color:var(--muted)}.popover .danger{color:var(--danger)}.popover-divider{height:1px;background:var(--line);margin:5px}.popover .emoji-grid{display:grid;grid-template-columns:repeat(6,1fr)}.popover .emoji-grid button{font-size:24px;padding:4px;justify-content:center}.popover h3{font-size:10px;margin:6px 8px 9px;color:var(--muted);font-weight:600}.popover .sticker-grid{display:grid;grid-template-columns:repeat(3,1fr)}.popover .sticker-grid button{font-size:38px;padding:9px;justify-content:center}.toast{position:fixed;bottom:42px;left:50%;transform:translateX(-50%);background:#4d3c5d;color:#fff;max-width:calc(100% - 30px);padding:12px 21px;border-radius:8px;box-shadow:var(--shadow);font-size:12px;z-index:100;text-align:center}.history-search{display:flex;gap:8px;align-items:center;padding:8px 20px;background:var(--panel);border-bottom:1px solid var(--line)}.history-search>svg{width:15px;color:var(--muted)}.history-search input{border:0!important;background:transparent!important;padding:5px!important;font-size:11px}.history-search .text-button{font-size:10px;white-space:nowrap}.search-result-note{text-align:center;font-size:10px;color:var(--muted);padding:10px}.call-panel{position:fixed;z-index:25;right:35px;bottom:40px;width:360px;max-width:calc(100vw - 30px);border-radius:15px;overflow:hidden;background:#30283a;color:#fff;box-shadow:0 15px 80px #25133955;border:1px solid #695873}.call-panel header{padding:13px 18px;display:flex;justify-content:space-between;align-items:center;font-size:12px}.call-panel header>span:last-child{font-size:10px;color:#c7b8d2}.call-stage{position:relative;height:220px;background:#241e2d;display:grid;place-items:center}.call-stage #remoteVideo{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}.call-avatar{font-size:65px;color:#eed582;z-index:1;pointer-events:none}.call-stage #localVideo{position:absolute;width:85px;height:68px;bottom:10px;right:10px;object-fit:cover;border:1px solid #a593b4;border-radius:7px;background:#51465e;z-index:2}.call-controls{display:flex;align-items:center;justify-content:center;gap:9px;padding:14px}.call-controls .icon-button{color:#e5dcea;background:#4a3e57}.call-controls .icon-button.active{background:#ad6e79}.hangup-button{display:flex;align-items:center;gap:7px;font-size:10px;background:#ba6575;color:white;border-radius:7px;padding:9px 12px}.hangup-button svg{width:15px;height:15px;transform:rotate(135deg)}.incoming-actions{display:flex;gap:10px;padding:16px;justify-content:center}.incoming-actions .secondary-button{background:#574761;border-color:#796486;color:white}.game-card{min-width:185px;white-space:normal}.game-card h4{font-size:11px;margin:0 0 7px;color:var(--purple)}.game-board{display:grid;grid-template-columns:repeat(3,44px);gap:4px;margin:8px 0}.game-board button{background:var(--paper);color:var(--purple);font-size:21px;height:44px;border:1px solid var(--line);border-radius:5px}.game-board button:disabled{opacity:1}.game-card p{font-size:9px;color:var(--muted)}.game-card .text-button{margin-top:8px}.help-list{padding-left:17px;color:var(--muted);font-size:12px;line-height:1.9}.help-list li{margin-bottom:8px}.hint-box{font-size:11px;color:var(--muted);background:var(--panel);border:1px solid var(--line);border-radius:7px;padding:12px;line-height:1.7}.buzzing{animation:buzz .45s ease-in-out 2}@keyframes buzz{0%,100%{transform:translateX(0)}15%,45%,75%{transform:translateX(-6px) rotate(-.3deg)}30%,60%,90%{transform:translateX(6px) rotate(.3deg)}}[data-theme=peach]{--bg:#f8f3ef;--panel:#fdfaf7;--soft:#f8eae0;--soft-strong:#f0d8c8;--purple:#ad7158;--purple-dark:#945d46;--line:#eee3dc;--ink:#4f3c35;--muted:#977f73}[data-theme=mint]{--bg:#f0f5f2;--panel:#f9fcfa;--soft:#e4f0e9;--soft-strong:#cde4d7;--purple:#527f6d;--purple-dark:#3c6856;--line:#e0ebe4;--ink:#334a40;--muted:#7d9487}[data-theme=night]{--bg:#231f2a;--paper:#302a39;--panel:#2c2635;--soft:#43354f;--soft-strong:#51415d;--purple:#bd9cdd;--purple-dark:#a886ca;--ink:#e7dfee;--muted:#af9fba;--line:#44384e;--yellow:#e9c66d;color-scheme:dark}[data-theme=night] .primary-button,[data-theme=night] .send-button{color:#291e35}[data-theme=night] .message-bubble{background:#3a3143}[data-theme=night] .message-row.mine .message-bubble{background:#4a385d;color:#e8dbf3}[data-theme=night] .format-toolbar{background:#2d2735}[data-theme=night] .chat-row:hover{background:#3d3247}[data-theme=night] .request-banner,[data-theme=night] .buzz-message{background:#4c412b;color:#e3c784;border-color:#6b5936}[data-theme=night] .form-error{background:#4b2d39;color:#efadbb}[data-theme=night] .danger-button{background:#4b2d39;color:#efadbb}[data-theme=night] .avatar{background:#53425f}[data-theme=night] .self-profile .avatar{background:#685531}[data-theme=night] .message-bubble .attachment-image{opacity:.9}
@media(min-width:1500px){.workspace{grid-template-columns:290px minmax(0,1fr) 250px}.messenger{padding:25px 40px 0}.sidebar-search{margin-left:20px;margin-right:20px}.chat-row{padding:13px}.welcome-main h2{font-size:39px}.message-bubble{font-size:13px}}
@media(max-width:1150px){.workspace{grid-template-columns:240px minmax(0,1fr)}.details-panel{display:none}.auth-layout{gap:35px}.auth-card{padding:30px}.messenger{padding:12px 16px 0}.welcome-main h2{font-size:35px}}
@media(max-width:850px){.auth-screen{padding:26px 5% 20px}.auth-layout{gap:30px}.auth-story h1{font-size:34px;letter-spacing:-1px}.auth-description{font-size:12px}.auth-card{padding:28px 24px}.nostalgia-art{transform:scale(.85);transform-origin:left top;margin-bottom:-30px;width:340px}.big-smiley{right:-2px}.tiny-window{width:290px}.buzz-stamp{right:-10px}.auth-footer{font-size:8px}.quiet-label{font-size:10px}.titlebar-tagline{display:none}.titlebar-divider{display:none}.app-titlebar .brand-caption{font-size:7px}.workspace{grid-template-columns:220px minmax(0,1fr)}.sidebar-search{margin-left:12px;margin-right:12px}.self-profile{padding-left:14px;padding-right:12px}.conversation-header{padding:0 15px;gap:8px}.conversation-tools{gap:0}.conversation-tools .icon-button{width:28px}.messages{padding:15px}.composer-wrap{margin:0 10px 10px}.format-toolbar{padding-left:5px;padding-right:5px;gap:0}.format-toolbar select{width:68px;font-size:8px;padding-left:1px}.toolbar-divider{margin:0 4px}.conversation-heading h1{font-size:12px}.app-statusbar>span:nth-child(2){display:none}}
@media(max-width:640px){.auth-screen{padding:25px 22px 20px}.auth-header .brand{font-size:41px}.auth-header .brand-caption{font-size:8px}.auth-header .quiet-label{display:none}.auth-layout{display:block;margin:36px auto 26px;max-width:420px}.auth-story{padding:0 3px;margin-bottom:28px}.auth-story h1{font-size:35px;margin:15px 0 10px;line-height:1.2}.auth-story h1 br:last-child{display:none}.auth-story .eyebrow{font-size:8px;letter-spacing:1.2px}.auth-description{font-size:12px;line-height:1.6}.auth-description br{display:none}.nostalgia-art{display:none}.auth-card{max-width:none;padding:27px 25px;border-radius:15px;box-shadow:0 8px 25px #3f2d5208}.auth-card h2{font-size:27px}.card-smiley{float:right;width:37px;height:37px;font-size:33px;margin-bottom:0}.auth-card .eyebrow{font-size:8px;letter-spacing:1px}.auth-subtitle{margin-bottom:23px}.auth-footer{justify-content:center}.auth-footer>span:last-child{display:none}.messenger{padding:0;height:100dvh}.app-titlebar{height:63px;padding:0 12px;border-bottom:1px solid var(--line)}.titlebar-start{gap:10px}.titlebar-end{gap:4px}.app-titlebar .brand{font-size:36px}.app-titlebar .brand-caption{font-size:6px;letter-spacing:1.5px}.app-titlebar .brand-lockup{gap:8px}.transport-badge{font-size:8px;border:0;background:transparent;padding:4px}.mobile-only{display:inline-flex}.menu-bar{height:32px;padding:0 12px;gap:8px}.menu-bar>button{font-size:10px;padding:5px}.menu-note{display:none}.workspace{display:flex;border:0;border-top:1px solid var(--line);border-radius:0}.sidebar{position:absolute;top:0;bottom:0;left:0;width:278px;z-index:11;transform:translateX(-100%);transition:transform .2s}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .drawer-overlay{display:block;position:absolute;inset:0;background:#31223e50;z-index:10;border:0}.chat-panel{width:100%;flex:1}.conversation-header{height:65px;padding:0 13px;gap:9px}.conversation-header .avatar{width:34px;height:34px;font-size:21px}.conversation-tools .icon-button{width:28px;height:30px}.conversation-tools svg{width:16px;height:16px}.conversation-heading p{font-size:9px}.tool-divider{margin:0 2px}.messages{padding:12px 14px 5px}.message-bubble{font-size:12px}.message-row{max-width:94%;margin:13px 0}.message-row>.avatar{width:24px;height:24px;font-size:15px}.typing-indicator{padding-left:15px;height:21px}.composer-wrap{margin:0 9px 10px;border-radius:9px}.format-toolbar{gap:2px;padding:5px 7px}.format-toolbar select{width:72px}.format-toolbar .toolbar-divider{margin:0 4px}.composer-hint{font-size:7px;padding:2px 13px 7px}.app-statusbar{font-size:7px;min-height:23px;padding:0 11px}.statusbar-brand>span{display:none}.statusbar-brand{font-size:12px}.welcome-topnote{padding:16px;font-size:9px}.welcome-main{padding:25px 20px}.welcome-main h2{font-size:31px}.welcome-main>p:not(.eyebrow){font-size:11px}.welcome-main .eyebrow{font-size:7px;letter-spacing:1px}.welcome-smile{margin-bottom:21px}.welcome-bottom{font-size:8px;gap:12px;padding:16px 10px}.welcome-actions{flex-direction:column;align-items:center}.welcome-actions>*{min-width:200px}.call-panel{right:15px;bottom:35px}.history-search{padding-left:13px;padding-right:9px}.toast{bottom:32px;font-size:11px}.modal{max-height:90dvh}.modal-heading{padding:15px 18px 12px}#modalBody{padding:18px}}
@media(max-width:360px){.brand-caption{display:none}.format-toolbar select{display:none}.format-toolbar{gap:4px}.composer-hint>span:first-child{max-width:185px;white-space:nowrap;overflow:hidden}.auth-screen{padding-left:16px;padding-right:16px}.auth-card{padding:23px 20px}.auth-story h1{font-size:31px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Language controls share the same compact, flat messenger styling. */
.auth-header-end{display:flex;align-items:center;gap:20px}.language-control{margin:0!important;display:flex;flex-direction:row;align-items:center;gap:7px;font-size:10px}.language-control select{width:57px!important;min-width:57px;border:1px solid var(--line);background:var(--paper);font-size:10px;padding:5px 5px 5px 8px;border-radius:6px;color:var(--purple);height:29px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.titlebar-end{gap:3px}.titlebar-end .language-control select{width:49px!important;min-width:49px;padding-left:5px;font-size:9px}.app-titlebar .brand-caption{display:none}.titlebar-start{gap:6px}.transport-badge{font-size:7px}.auth-header-end{gap:6px}.auth-header-end .quiet-label{display:none}.menu-bar{gap:13px}.welcome-bottom{font-size:7px;gap:7px}.composer-hint{font-size:7px}}

.card-smiley svg{width:78%;height:78%}

/* Themes redefine --ink on body; re-apply it there so inherited text follows the theme. */
body{color:var(--ink)}
