@font-face{font-family:Space Grotesk;src:url('/assets/space-grotesk-latin.woff2') format('woff2');font-weight:300 700;font-style:normal;font-display:swap}
:root{--ink:#262626;--muted:#848484;--accent:#171717;--accent-hover:#333333;--line:#ececec;--paper:#f7f7f7;--font:'Space Grotesk',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #525252;outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}[hidden]{display:none!important}.svg-definitions,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.skip-link{position:fixed;top:-60px;left:16px;padding:12px;background:white;z-index:20}.skip-link:focus{top:10px}.app-shell{height:100vh;height:100dvh;min-height:540px;max-width:1440px;margin:auto;display:flex;flex-direction:column;padding:0 54px}.topbar{height:96px;flex-shrink:0;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;font-size:32px;font-weight:700;letter-spacing:-1.9px;line-height:1}.brand svg{width:25px;height:24px;color:#171717}.brand-slash{color:#171717;font-weight:500;margin-left:1px}.topbar-divider{height:20px;width:1px;background:#dddddd}.page-label{font-size:12px;color:#888888}.tools-link{margin-left:auto;display:flex;align-items:center;gap:7px;font-size:12px}.tools-link .icon{width:17px;height:17px}.mobile-profile{display:none!important}.workspace{display:flex;gap:38px;flex:1;min-height:0}.sidebar{width:236px;flex-shrink:0;display:flex;flex-direction:column;padding:25px 0 0}.eyebrow,.welcome-eyebrow{font-size:9px;font-weight:600;letter-spacing:1.7px;color:#838383}.sidebar h1{font-size:29px;line-height:1.2;letter-spacing:-1.2px;font-weight:500;margin:14px 0}.sidebar h1>span,.welcome h3>span{color:var(--accent)}.sidebar-intro p{font-size:12px;line-height:1.8;color:var(--muted)}.room-label,.people-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:#898989;font-weight:500}.room-label{margin:35px 0 12px}.room-label>span{font-size:10px;letter-spacing:0}.room-card{display:flex;align-items:center;gap:11px;padding:14px 12px;border:1px solid #dfdfdf;border-radius:12px;background:#eaeaea}.room-symbol{width:36px;height:36px;border-radius:10px;background:white;display:grid;place-items:center;color:var(--accent)}.room-symbol .icon{width:20px}.room-card strong{display:block;font-size:12px;font-weight:600}.room-card small{display:block;margin-top:2px;font-size:10px;color:#8d8d8d}.room-dot{height:6px;width:6px;border-radius:50%;background:var(--accent);margin-left:auto}.people-heading{margin:28px 3px 15px}.people-heading>span:last-child{background:#e9e9e9;min-width:21px;padding:1px 6px;border-radius:5px;letter-spacing:0;text-align:center}.people-list{overflow:auto;min-height:48px;max-height:210px}.person{display:flex;align-items:center;gap:10px;padding:7px 4px;font-size:12px}.person .avatar{width:29px;height:29px;border-radius:10px;font-size:10px}.person>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person small{font-size:10px;color:var(--muted)}.person .online-dot{height:5px;width:5px;border-radius:50%;background:#69ac8a;margin-left:auto;margin-right:5px}.people-placeholder{color:#a8a8a8;font-size:11px;padding:5px 3px}.sidebar-bottom{margin-top:auto;padding-top:20px}.kind-note{position:relative;padding-left:22px;color:#969696;font-size:10px;line-height:1.8;margin:0 3px 20px}.kind-note>span{position:absolute;left:0;top:1px;color:#adadad;font-size:18px}.profile-card{padding:17px 1px 10px;border-top:1px solid #e3e3e3;width:100%;display:flex;align-items:center;text-align:left;gap:10px}.avatar{display:grid;place-items:center;background:#e7e7e7;color:#676767;font-size:13px;font-weight:600;flex-shrink:0;width:38px;height:38px;border-radius:13px}.avatar[data-color="1"]{background:#e0efe7;color:#447b60}.avatar[data-color="2"]{background:#f9eadf;color:#a67546}.avatar[data-color="3"]{background:#e4ecfb;color:#5d7bb0}.avatar[data-color="4"]{background:#f6e2ec;color:#ac5e86}.avatar[data-color="5"]{background:#e1eff0;color:#4a858b}.profile-copy{min-width:0;flex:1}.profile-copy small{display:block;font-size:8px;letter-spacing:1px;color:#959595}.profile-copy strong{display:block;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.profile-card>.icon{width:14px;color:#a6a6a6}.chat-panel{position:relative;display:flex;flex:1;min-width:0;min-height:0;flex-direction:column;border:1px solid #e4e4e4;border-radius:18px;background:#fff;box-shadow:0 8px 36px #2a2a2a04;overflow:hidden}.room-header{min-height:84px;padding:18px 27px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);flex-shrink:0}.header-room-icon{width:40px;height:40px;border:1px solid #e9e9e9;display:grid;place-items:center;border-radius:12px;color:#7d7d7d;background:#fafafa}.room-title h2{font-size:17px;letter-spacing:-.5px;font-weight:600;display:flex;align-items:center;gap:10px}.room-title h2>span{font-size:7px;letter-spacing:1px;border:1px solid #e5e5e5;color:#949494;border-radius:4px;padding:2px 5px;font-weight:500}.room-title p{font-size:11px;color:var(--muted);margin-top:3px}.connection-pill{margin-left:auto;display:flex;align-items:center;gap:6px;border-radius:30px;padding:5px 9px;background:#f1f7f3;color:#5d8a70;font-size:10px;white-space:nowrap}.status-dot,.connected-dot{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.connection-pill[data-state="connecting"],.connection-pill[data-state="offline"]{color:#a0854c;background:#faf5e9}.room-notice{display:flex;align-items:center;justify-content:center;gap:7px;color:#979797;background:#fbfbfb;font-size:9px;padding:11px 15px;flex-shrink:0}.room-notice .icon{width:13px;height:13px}.conversation{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e1e1e1 transparent;display:flex;flex-direction:column}.welcome{margin:auto;padding:30px 20px 25px;text-align:center}.welcome-art{position:relative;width:200px;height:140px;margin:0 auto 14px}.art-orbit{position:absolute;width:143px;height:125px;border-radius:50%;background:#f4f4f4;left:24px;top:0;transform:rotate(-20deg)}.art-bubble{position:absolute;display:flex;align-items:center;justify-content:center;gap:14px;border:1.5px solid #868686;font-size:18px;letter-spacing:-.6px;border-radius:17px;line-height:1;box-shadow:0 5px 0 #6363630a}.art-bubble:after{content:'';position:absolute;bottom:-7px;width:12px;height:12px;background:inherit;border-right:1.5px solid #868686;border-bottom:1.5px solid #868686;transform:skewY(30deg)}.art-back{width:110px;height:58px;top:10px;left:14px;background:#fff;color:#808080;transform:rotate(-9deg)}.art-back:after{left:20px}.art-back>span{font-size:25px}.art-front{width:140px;height:64px;top:57px;left:50px;background:#e2e2e2;color:#606060;transform:rotate(7deg)}.art-front:after{right:20px}.art-front>span{font-size:30px;line-height:1}.art-spark{position:absolute;right:10px;top:13px;font-size:29px;color:#c9a672;transform:rotate(10deg)}.art-tiny{position:absolute;left:9px;bottom:13px;color:#929292;font-size:25px}.art-dot{position:absolute;left:3px;top:50px;border:2px solid #b6b6b6;height:7px;width:7px;border-radius:50%}.welcome-eyebrow{font-size:8px;letter-spacing:1.5px;color:#9c9c9c}.welcome h3{font-size:30px;line-height:1.23;font-weight:500;letter-spacing:-1.1px;margin:12px 0}.welcome p{font-size:12px;line-height:1.8;color:#949494}.starter-messages{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:25px}.starter-messages button{font-size:10px;padding:9px 12px;border:1px solid #e4e4e4;border-radius:20px;background:#fff;color:#737373;transition:background .15s,border-color .15s}.starter-messages button>span{margin-right:4px;font-size:12px}.starter-messages button:hover{background:#f6f6f6;border-color:#c1c1c1}.messages{padding:0 25px}.messages:not(:empty){padding-top:20px;padding-bottom:10px}.day-divider{display:flex;align-items:center;gap:12px;color:#a7a7a7;font-size:9px;justify-content:center;margin:4px 0 25px}.day-divider:before,.day-divider:after{content:'';height:1px;background:#eeeeee;flex:1}.message{display:flex;align-items:flex-end;gap:9px;margin:0 0 19px}.message>.avatar{width:29px;height:29px;border-radius:10px;font-size:10px;margin-bottom:2px}.message-main{max-width:min(80%,520px);min-width:0}.message-meta{display:flex;align-items:center;gap:9px;font-size:10px;margin:0 3px 5px;color:#898989}.message-meta strong{font-weight:500;color:#6a6a6a;overflow:hidden;text-overflow:ellipsis}.message-meta time{font-size:8px;white-space:nowrap;color:#a6a6a6}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;padding:11px 14px;border-radius:14px 14px 14px 3px;background:#f2f2f2;font-size:13px;line-height:1.65;unicode-bidi:plaintext}.message.own{justify-content:flex-end}.message.own .message-meta{justify-content:flex-end}.message.own .message-text{background:#6c6c6c;color:#fff;border-radius:14px 14px 3px 14px}.message.emoji-only .message-text{background:transparent;font-size:34px;line-height:1.35;padding:3px 5px}.new-messages{position:absolute;bottom:160px;left:50%;transform:translateX(-50%);padding:8px 15px;border-radius:20px;background:var(--accent);color:white;font-size:11px;box-shadow:0 3px 15px #17171730;z-index:2}.composer-area{padding:0 24px 13px;position:relative;flex-shrink:0;background:white}.typing-line{height:25px;font-size:10px;color:#8c8c8c;padding-left:6px;display:flex;align-items:center}.composer{display:flex;align-items:flex-end;gap:10px;padding:8px 9px;background:#f9f9f9;border:1px solid #e4e4e4;border-radius:14px;transition:border-color .15s,box-shadow .15s}.composer:focus-within{border-color:#a9a9a9;box-shadow:0 0 0 3px #b8b8b815}.icon-button{display:grid;place-items:center;padding:0;width:38px;height:38px;border-radius:10px;color:#989898;flex-shrink:0}.icon-button:hover{background:#eaeaea;color:var(--accent)}.emoji-toggle[aria-expanded="true"]{background:#eaeaea;color:var(--accent)}textarea{resize:none;outline:none!important;border:0;background:transparent;flex:1;min-width:0;max-height:118px;min-height:38px;padding:9px 0 7px;font-size:13px;line-height:22px;color:var(--ink)}textarea::placeholder{color:#9d9d9d}.send-button{width:38px;height:38px;border-radius:11px;background:var(--accent);color:white;display:grid;place-items:center;flex-shrink:0;transition:background .15s}.send-button:hover:enabled{background:var(--accent-hover)}.send-button:disabled{background:#cacaca;color:#fff}.send-button .icon{width:20px;stroke-width:2}.composer-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:8px;color:#a5a5a5;margin:9px 3px 0}.composer-meta>span:first-child{display:flex;gap:5px;align-items:center}.connected-dot{color:#adbdac;width:4px;height:4px}.enter-hint>span{padding-left:4px;font-size:10px}.feedback{font-size:11px;color:#ab5f4b;margin:8px 4px 0}.chat-footer{border-top:1px solid #efefef;min-height:39px;padding:10px 25px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#a5a5a5;gap:8px}.chat-footer button{font-size:9px;color:#8a8a8a;padding:0}.chat-footer button>span{margin-left:5px}.page-footer{height:48px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;color:#9e9e9e;font-size:9px}.page-footer>span:last-child{font-size:8px;letter-spacing:1.5px}.emoji-picker{position:absolute;bottom:calc(100% - 17px);left:24px;width:340px;max-width:calc(100% - 48px);padding:14px;border:1px solid #dfdfdf;box-shadow:0 10px 50px #2a2a2a26;background:white;border-radius:16px;z-index:5}.picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.picker-heading strong{font-size:12px;font-weight:500}.picker-heading .icon-button{width:30px;height:30px}.picker-heading .icon{width:17px;height:17px}.emoji-picker input{width:100%;font-size:14px;border:1px solid #e2e2e2;border-radius:8px;padding:9px 11px;background:#fafafa;color:var(--ink)}.emoji-tabs{display:flex;gap:3px;border-bottom:1px solid #ededed;margin:10px 0}.emoji-tabs button{flex:1;padding:8px 4px;font-size:9px;border-bottom:2px solid transparent;color:#878787}.emoji-tabs button[aria-pressed="true"]{color:var(--accent);border-color:var(--accent)}.emoji-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;max-height:170px;overflow:auto;overscroll-behavior:contain}.emoji-grid button{height:38px;font-size:24px;border-radius:8px;padding:0}.emoji-grid button:hover{background:#ececec}.emoji-empty{grid-column:1/-1;padding:20px;font-size:12px;color:var(--muted);text-align:center}dialog{border:1px solid #e2e2e2;border-radius:20px;padding:28px;width:390px;max-width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #18181825}dialog::backdrop{background:#1b1b1b55;backdrop-filter:blur(4px)}.dialog-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px}.dialog-heading h2{font-size:22px;line-height:1.2;letter-spacing:-.6px;font-weight:500}.dialog-heading .icon-button{width:30px;height:30px}.dialog-heading .icon{width:19px;height:19px}dialog p,dialog li{font-size:12px;line-height:1.8;color:#888888}dialog ul{padding-left:18px;margin:18px 0 25px}dialog li{margin-bottom:9px}dialog label{display:block;font-size:11px;margin:22px 0 8px;font-weight:500}dialog input{border:1px solid #d8d8d8;border-radius:10px;padding:12px;width:100%;font-size:16px;outline-color:var(--accent);color:var(--ink)}dialog .field-hint{font-size:9px;margin:7px 0}.primary-button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:13px 16px;border-radius:10px;background:var(--accent);color:#fff;font-size:12px;margin-top:20px}.primary-button:disabled{opacity:.5}.form-error{color:#ae5e60;min-height:1px}.noscript{position:fixed;inset:auto 10px 10px;background:#fff3cf;padding:20px;z-index:10;text-align:center}
@media(min-width:1500px){.app-shell{padding:0 65px}.topbar{height:112px}.page-footer{height:65px}}
@media(max-height:780px) and (min-width:761px){.topbar{height:76px}.sidebar{padding-top:16px}.welcome{padding:18px}.welcome-art{transform:scale(.85);height:120px;margin-bottom:2px}.welcome h3{font-size:26px}.starter-messages{margin-top:17px}.room-label{margin-top:25px}.people-list{max-height:120px}.page-footer{height:36px}}
@media(max-width:1000px){.app-shell{padding:0 25px}.workspace{gap:25px}.sidebar{width:210px}.sidebar h1{font-size:26px}.room-header{padding:18px 20px}.starter-messages{gap:6px}.starter-messages button{padding:8px 9px}}
@media(max-width:760px){.app-shell{padding:0;min-height:0;position:fixed;inset:0;height:var(--viewport-height,100dvh);max-width:none}.topbar{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 20px 0;gap:15px;background:var(--paper);flex-shrink:0}.brand{font-size:27px}.brand svg{width:21px;height:20px}.topbar-divider{height:17px}.page-label{font-size:10px}.tools-link{display:none}.mobile-profile{display:grid!important;margin-left:auto;width:34px;height:34px;border-radius:11px;font-size:11px}.sidebar,.page-footer{display:none}.workspace{min-height:0;gap:0;flex:1}.chat-panel{border-radius:20px 20px 0 0;border-bottom:0;border-left:0;border-right:0;width:100%}.room-header{min-height:79px;padding:16px 20px;gap:11px}.header-room-icon{width:37px;height:37px;border-radius:11px}.room-title h2{font-size:17px;gap:7px}.room-title p{font-size:10px}.connection-pill{font-size:9px;padding:5px 7px}.room-notice{font-size:8px;padding:10px 14px;gap:5px}.room-notice .icon{height:12px;width:12px}.welcome{padding:24px 18px}.welcome-art{margin-bottom:10px}.welcome h3{font-size:29px}.welcome p{font-size:11px}.starter-messages{gap:7px;max-width:335px;margin:23px auto 0}.starter-messages button{font-size:10px;padding:9px 12px}.messages{padding-left:16px;padding-right:16px}.message-main{max-width:84%}.message-text{font-size:14px}.composer-area{padding:0 14px 11px}.typing-line{height:24px}.composer{gap:6px;border-radius:15px;padding:7px 8px}.composer textarea{font-size:16px;line-height:24px;padding:7px 0;min-height:40px}.emoji-toggle,.send-button{width:40px;height:40px}.send-button{border-radius:11px}.composer-meta{font-size:8px;margin-top:9px;padding:0 2px}.enter-hint{display:none}.chat-footer{padding:10px 19px calc(11px + env(safe-area-inset-bottom));min-height:38px;font-size:8px}.chat-footer button{font-size:8px}.emoji-picker{left:14px;max-width:calc(100% - 28px);width:340px;bottom:calc(100% - 16px)}.emoji-picker input{font-size:16px}.emoji-grid{max-height:min(170px,26dvh)}.new-messages{bottom:155px}.feedback{font-size:10px}}
@media(max-width:360px){.topbar{padding-left:16px;padding-right:16px;gap:12px}.page-label{font-size:9px}.room-header{padding-left:15px;padding-right:15px}.room-notice{font-size:7px}.welcome h3{font-size:25px}.starter-messages button{padding:8px 9px;font-size:9px}.welcome-art{transform:scale(.9);margin-bottom:0}.room-title h2>span{display:none}}
@media(max-height:680px) and (max-width:760px){.welcome{padding-top:12px;padding-bottom:12px}.welcome-art{transform:scale(.75);height:105px;margin-bottom:0}.welcome h3{font-size:24px;margin:8px 0}.welcome p{font-size:10px}.welcome-eyebrow{font-size:7px}.starter-messages{margin-top:13px}.room-header{min-height:70px;padding-top:12px;padding-bottom:12px}}
@media(max-height:490px) and (max-width:760px){.room-notice,.chat-footer,.composer-meta,.welcome-art,.welcome-eyebrow{display:none}.topbar{height:48px}.room-header{min-height:61px}.welcome h3{font-size:21px}.welcome{padding:15px}.starter-messages{margin-top:10px}.emoji-grid{max-height:90px}.emoji-picker{padding:8px}.picker-heading{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.language-control{display:flex;align-items:center;gap:6px;margin-inline-start:auto;border:1px solid #dfdfdf;border-radius:9px;padding:6px 9px;background:#fff;color:#6d6d6d}.language-control .icon{width:16px;height:16px}.language-control select{max-width:105px;border:0;background:transparent;font:12px var(--font);color:inherit;cursor:pointer;padding:3px 0;outline-offset:6px}.tools-link{margin-left:0}.brand{direction:ltr;font-family:'Space Grotesk',sans-serif}.connection-pill{margin-left:0;margin-inline-start:auto}.room-dot{margin-left:0;margin-inline-start:auto}.profile-card{text-align:start}.person .online-dot{margin-left:0;margin-right:0;margin-inline-start:auto;margin-inline-end:5px}.kind-note{padding-left:0;padding-inline-start:22px}.kind-note>span{left:auto;inset-inline-start:0}.typing-line{padding-left:0;padding-inline-start:6px}.starter-messages button>span{margin-right:0;margin-inline-end:4px}.brand-slash{margin-left:1px}.message-meta strong,.profile-copy strong,.avatar{unicode-bidi:isolate}.emoji-tabs button{font-size:11px}.emoji-grid{direction:ltr}.art-bubble{white-space:nowrap}.welcome-art{direction:ltr}.access-screen{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:0 24px 22px;background:var(--paper)}.access-header{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1160px;height:100px;gap:20px}.access-card{margin:auto;width:420px;max-width:100%;padding:35px;border:1px solid #e0e0e0;border-radius:22px;background:white;text-align:center;box-shadow:0 15px 50px #36363605}.access-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 25px;border:1px solid #e0e0e0;border-radius:20px;background:#f1f1f1;color:var(--accent)}.access-icon .icon{width:29px;height:29px}.access-card h1{font-size:30px;line-height:1.3;letter-spacing:-1px;font-weight:500;margin:12px 0}.access-card>p{color:#868686;font-size:12px;line-height:1.9;margin-bottom:27px}.access-card form{text-align:start}.access-card label{display:block;font-size:12px;margin-bottom:8px;font-weight:500}.access-card input{width:100%;height:49px;border:1px solid #d9d9d9;border-radius:10px;background:#fcfcfc;padding:10px 13px;color:var(--ink);font-size:16px}.access-card input::placeholder{color:#a4a4a4;font-size:13px}.access-card .primary-button{margin-top:14px;font-size:13px;min-height:47px}.access-card .form-error{color:#a65350;font-size:12px;line-height:1.7;margin-top:7px}.access-card>small{display:block;color:#a2a2a2;font-size:10px;margin-top:20px}.access-footer{font-size:10px;color:#9b9b9b;padding-top:28px}.access-screen .language-control{margin:0}.access-screen select{min-height:28px;font-size:14px}.access-screen input{direction:ltr;text-align:start}html[dir="rtl"]{--font:Tahoma,Arial,sans-serif}html[lang="zh-Hans"]{--font:'Space Grotesk',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3,html[dir="rtl"] .eyebrow,html[dir="rtl"] .welcome-eyebrow,html[dir="rtl"] .room-label,html[dir="rtl"] .people-heading,html[dir="rtl"] .profile-copy small,html[dir="rtl"] .room-title h2>span,html[dir="rtl"] .page-footer>span:last-child{letter-spacing:0}html[dir="rtl"] .sidebar h1{line-height:1.6;font-size:25px}html[dir="rtl"] .welcome h3{line-height:1.6;font-size:27px}html[dir="rtl"] .access-card h1{line-height:1.7;font-size:27px}html[dir="rtl"] .access-card input{text-align:right}html[dir="rtl"] .sidebar-intro p,html[dir="rtl"] .welcome p{line-height:2}html[dir="rtl"] .message-text{border-radius:14px 14px 3px 14px;line-height:1.85}html[dir="rtl"] .message.own .message-text{border-radius:14px 14px 14px 3px}html[dir="rtl"] .emoji-picker{left:auto;right:24px}html[dir="rtl"] .primary-button>span:last-child{display:inline-block;transform:scaleX(-1)}html[dir="rtl"] .welcome-art .art-bubble{font-size:17px}html[dir="rtl"] .room-title p{line-height:1.8}html[dir="rtl"] .room-title h2{letter-spacing:0}html[dir="rtl"] .message-main{text-align:start}html[lang="zh-Hans"] .welcome h3{line-height:1.5;font-size:27px}html[lang="zh-Hans"] .sidebar h1{line-height:1.5}html[lang="zh-Hans"] .welcome-eyebrow,html[lang="zh-Hans"] .eyebrow{letter-spacing:2px}
@media(max-width:1000px){.topbar{gap:15px}.page-label{font-size:10px}.tools-link{font-size:10px}}
@media(max-width:760px){.topbar .topbar-divider,.topbar .page-label{display:none}.topbar{gap:12px}.mobile-profile{margin-left:0;margin-inline-start:0}.language-control{padding:5px 8px}.language-control select{font-size:12px;min-height:27px}.access-header{height:84px}.access-card{padding:28px 24px}.access-card h1{font-size:28px}.access-card>p{font-size:12px}.access-footer{font-size:9px}html[dir="rtl"] .emoji-picker{right:14px}html[dir="rtl"] .room-title h2{font-size:16px}html[dir="rtl"] .welcome h3{font-size:26px}html[dir="rtl"] .room-notice{line-height:1.8;font-size:9px}html[dir="rtl"] .chat-footer{font-size:9px}html[lang="zh-Hans"] .welcome h3{font-size:26px}.room-title h2>span{font-size:8px}.connection-pill{max-width:100px;white-space:normal;text-align:center}.room-notice span{min-width:0}}
@media(max-width:360px){.access-screen{padding:0 16px 18px}.access-card{padding:24px 20px}.access-card h1{font-size:25px}html[dir="rtl"] .access-card h1{font-size:24px}html[dir="rtl"] .welcome h3,html[lang="zh-Hans"] .welcome h3{font-size:23px}.language-control select{max-width:90px}}
@media(max-width:360px){html[lang="zh-Hans"] .access-card h1{font-size:23px}}
.chat-brand{font-family:var(--font);font-size:27px;font-weight:600;letter-spacing:-.7px;gap:7px;white-space:nowrap}.chat-brand svg{color:var(--accent);width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.topbar .chat-brand{font-size:25px}.room-title h2{white-space:nowrap}
@media(max-width:760px){.topbar .chat-brand{font-size:23px}.access-header .chat-brand{font-size:25px}.topbar .language-control>.icon{display:none}.topbar .language-control{padding:5px 7px}.topbar .language-control select{max-width:80px}.room-title h2{font-size:16px}html[dir="rtl"] .room-title h2{font-size:16px}}
@media(max-width:360px){.topbar .chat-brand{font-size:21px}.chat-brand svg{width:19px;height:19px}.topbar{gap:10px}.access-header .chat-brand{font-size:23px}}
.history-button{align-self:center;flex-shrink:0;margin:16px 12px 0;padding:10px 17px;min-height:40px;border:1px solid #e0e0e0;border-radius:20px;background:#f8f8f8;color:var(--accent);font-size:12px}.history-button:hover:enabled{background:#eaeaea}.history-button:disabled{opacity:.6;cursor:wait}
.message-readers{margin:5px 3px 0;font-size:10px;line-height:1.5;color:#8d8d8d;overflow-wrap:anywhere;text-align:start}.message-readers[data-read="true"]{color:#6a6a6a}.message.own .message-readers{text-align:end}

.message-bubble{position:relative;min-width:0;touch-action:pan-y;-webkit-touch-callout:none}
.message-bubble .message-text{border-radius:inherit;background:transparent!important;color:inherit;padding:11px 14px}
.message-bubble{border-radius:14px 14px 14px 3px;background:#f2f2f2}
.message.own .message-bubble{background:#6c6c6c;color:#fff;border-radius:14px 14px 3px 14px}
.message.emoji-only .message-bubble{background:transparent;color:var(--ink)}
.message.emoji-only .message-text{padding:3px 5px}
.message-quote{display:flex;align-items:center;gap:9px;max-width:100%;text-align:start;margin:0;padding:10px 13px;border-inline-start:3px solid #9e9e9e;background:#00000007;width:100%;border-radius:12px 12px 0 0;color:inherit}
.quote-copy{min-width:0;flex:1}.quote-copy strong{display:block;font-size:11px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-copy span{display:block;font-size:12px;opacity:.76;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-thumbnail{width:36px;height:36px;object-fit:cover;border-radius:6px}
.message.own .message-quote{border-color:#bfbfbf;background:#ffffff16}
.message-photo{display:block;padding:4px;width:100%;color:inherit}.message-photo img{display:block;width:100%;max-width:280px;max-height:340px;object-fit:contain;border-radius:11px;background:#eaeaea}.message-photo:only-child img{border-end-start-radius:2px}
.message-actions-trigger{position:absolute;inset-inline-end:calc(100% + 6px);top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;background:#f3f3f3;color:#707070;opacity:0;display:grid;place-items:center}.message:not(.own) .message-actions-trigger{inset-inline-end:auto;inset-inline-start:calc(100% + 6px)}.message:hover .message-actions-trigger,.message:focus-within .message-actions-trigger{opacity:1}.message-actions-trigger .icon{width:17px;height:17px}
.reply-preview,.attachment-preview{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:8px;border:1px solid #e4e4e4;border-radius:12px;background:#f5f5f5;animation:composer-in .18s ease-out}.reply-preview{border-inline-start:3px solid var(--accent)}.reply-preview>.icon{color:var(--accent);width:19px}.reply-preview .quote-copy strong{color:#646464}.reply-preview .quote-copy span{color:#7d7d7d}.reply-preview .icon-button,.attachment-preview .icon-button{width:30px;height:30px}.attachment-preview img{width:52px;height:52px;object-fit:cover;border-radius:9px}.attachment-copy{min-width:0;flex:1}.attachment-copy strong{font-size:12px;display:block}.attachment-copy small{font-size:10px;color:#888888}.attachment-preview progress{display:block;width:100%;height:4px;accent-color:var(--accent);margin-top:7px}.image-toggle{width:36px}
.message-actions{padding:8px;width:220px;position:fixed;margin:0;border-radius:16px;overflow:visible;box-shadow:0 12px 48px #1b1b1b2b;animation:menu-in .16s ease-out}.message-actions::backdrop{background:#1f1f1f33;backdrop-filter:blur(2px)}.message-actions button{display:flex;align-items:center;gap:12px;text-align:start;padding:13px 14px;min-height:48px;width:100%;border-radius:10px;font-size:14px}.message-actions button:hover{background:#f2f2f2}.message-actions .icon{color:#707070;width:20px}.message-actions p{font-size:10px;padding:5px 14px;color:#959595}.message-selected .message-bubble{outline:2px solid #b2b2b2;outline-offset:3px}.message-highlight .message-bubble{animation:quote-highlight 1.5s ease-out}
.image-viewer{padding:0;border:0;background:#151515;width:min(960px,calc(100% - 24px));max-width:calc(100% - 24px);overflow:hidden}.image-viewer::backdrop{background:#131313ea;backdrop-filter:blur(8px)}.image-viewer img{display:block;max-width:100%;max-height:80dvh;margin:auto;object-fit:contain}.image-viewer .viewer-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;color:#e9e9e9;font-size:12px}.image-viewer .icon-button{color:#fff}.send-button[aria-busy=true] .icon{animation:sending-pulse 1s ease-in-out infinite}.composer .icon-button:disabled{opacity:.45}
@keyframes composer-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes menu-in{from{opacity:0;transform:translateY(5px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes quote-highlight{0%,35%{box-shadow:0 0 0 5px #a5a5a55c}100%{box-shadow:0 0 0 0 transparent}}@keyframes sending-pulse{50%{opacity:.4}}
@media(hover:none){.message-actions-trigger{display:none}.message-bubble{-webkit-user-select:none;user-select:none}}
@media(max-width:760px){.composer{gap:4px}.composer .image-toggle{width:34px;height:40px}.message-photo img{max-width:250px}.reply-preview,.attachment-preview{margin-bottom:7px}.message-actions{width:210px}}
@media(prefers-reduced-motion:reduce){.reply-preview,.attachment-preview,.message-actions,.message-highlight .message-bubble,.send-button[aria-busy=true] .icon{animation:none!important}}
.chat-tools{position:absolute;bottom:calc(100% - 16px);inset-inline-start:14px;width:340px;max-width:calc(100% - 28px);display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:17px 12px;background:white;border:1px solid #dfdfdf;border-radius:16px;box-shadow:0 10px 50px #2a2a2a26;z-index:5;animation:composer-in .18s ease-out}.chat-tools button,.interaction-options button{display:flex;flex-direction:column;align-items:center;gap:9px;font-size:11px;padding:5px;line-height:1.4}.chat-tools button>span,.interaction-options button>span{width:48px;height:48px;border-radius:15px;background:#efefef;display:grid;place-items:center;color:#717171;transition:transform .18s,background .18s}.chat-tools button:hover>span,.interaction-options button:hover>span{background:#e4e4e4;transform:translateY(-2px)}.chat-tools button:disabled{opacity:.4}.game-card{min-width:116px;padding:16px 20px 12px;text-align:center}.game-art{display:block;width:64px;height:64px;margin:0 auto 9px;overflow:visible;color:#6c6c6c}.game-card strong{display:block;font-size:12px;font-weight:500}.message.own .game-art{color:#fff}.game-rolling .game-art{animation:game-shake .16s ease-in-out 6}.message .avatar[data-guest-id]{padding:0;touch-action:manipulation;cursor:pointer}.person .avatar[data-guest-id]{border:0;padding:0;cursor:pointer;touch-action:manipulation}.interaction-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:22px}.interaction-dialog .dialog-heading h2{overflow-wrap:anywhere;font-size:20px}.interaction-options button[data-interaction=water]>span{background:#e9f5ff;color:#518cba}.interaction-options button[data-interaction=confetti]>span{background:#fff3e2;color:#be9654}.interaction-note{display:flex;align-items:center;gap:9px;padding:12px 14px;font-size:12px;max-width:280px}.interaction-note>.icon{width:21px;height:21px;flex-shrink:0}.interaction-effect{position:fixed;inset:0;pointer-events:none;z-index:100;display:grid;place-items:center}.effect-card{position:relative;padding:24px 32px 17px;border:1px solid #e3e3e3;border-radius:26px;background:#fffffff5;box-shadow:0 18px 70px #27272726;max-width:calc(100% - 48px);text-align:center;animation:effect-appear 1.8s ease both}.effect-card>.effect-art{width:150px;height:90px;display:block;overflow:visible;margin:0 auto 10px}.effect-card p{font-size:13px;color:#656565;overflow-wrap:anywhere}.effect-droplet{animation:water-spray .7s ease-out 2;animation-delay:var(--delay);transform-origin:85px 40px}.effect-confetti{animation:confetti-fall 1.5s ease-out both;animation-delay:var(--delay);transform-origin:center}.avatar-pat{animation:avatar-pat .2s ease-in-out 4}.effect-hand{animation:avatar-pat .25s ease-in-out 4;transform-origin:50% 90%}
@keyframes game-shake{0%,100%{transform:rotate(-12deg) translateY(-2px)}50%{transform:rotate(12deg) translateY(2px)}}@keyframes avatar-pat{0%,100%{transform:rotate(-9deg)}50%{transform:rotate(9deg) scale(1.08)}}@keyframes effect-appear{0%{opacity:0;transform:translateY(12px) scale(.93)}12%,80%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-8px)}}@keyframes water-spray{0%{opacity:0;transform:translate(0,0) scale(.4)}25%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.2)}}@keyframes confetti-fall{0%{opacity:0;transform:translateY(-20px) rotate(0)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),65px) rotate(150deg)}}
@media(prefers-reduced-motion:reduce){.game-rolling .game-art,.avatar-pat,.effect-card,.effect-hand,.effect-droplet,.effect-confetti,.chat-tools{animation:none!important}}

.app-shell{padding-top:24px}.room-header{min-height:64px;padding:12px 18px;gap:10px}.room-header .language-control{margin-inline-start:0;padding:4px 6px}.room-header .language-control>.icon{display:none}.room-header .mobile-profile{display:grid!important;width:32px;height:32px;font-size:10px;border-radius:10px;margin:0}.room-header .header-room-icon{width:33px;height:33px}.room-title{min-width:0;flex:1}.room-title h2{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px}.room-title h2>span,.room-title p{display:none}.room-notice{padding:7px 12px}.logout-button{margin-top:20px;border-top:1px solid var(--line);padding:17px 0 8px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;color:#ac6072}.logout-hint{text-align:center;font-size:10px!important}.logout-button .icon{width:18px;height:18px}
@media(max-width:760px){.app-shell{padding-top:0}.chat-panel{border:0;border-radius:0}.room-header{min-height:calc(56px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 12px 10px;gap:8px}.room-header .header-room-icon{display:none}.room-title h2{font-size:14px;letter-spacing:-.3px}.room-header .language-control select{font-size:11px;max-width:68px}.room-header .connection-pill{font-size:9px;padding:4px 6px}.room-header .language-control{border-radius:8px}.room-notice{display:none}.chat-footer{display:none}.composer-area{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.composer-meta{margin-top:7px}.conversation{background:linear-gradient(180deg,#fbfbfb 0,#fff 80px)}.message-main{max-width:82%}}

.message-photo img{height:auto}#room-info{padding:0;display:grid;place-items:center;width:24px;height:20px;color:#9f9f9f}#room-info .icon{width:15px;height:15px}.message-actions{background:#fff}
