*,:before,:after{box-sizing:border-box}:root{--navy:#1a1528;--plum:#2d1f3d;--plum-light:#3d2a52;--cream:#f5efe6;--cream-muted:#c9bfb0;--pink:#e8a4b8;--pink-soft:#f0c4d0;--pink-glow:#e8a4b840;--text:#f5efe6;--text-muted:#a89bb0;--error:#f08080;--focus:#e8a4b8;--radius:16px;--radius-sm:10px;--sans:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;font-family:var(--sans);color:var(--text);background:var(--navy);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;line-height:1.5}html,body{height:100%;margin:0;overflow:hidden}#root{background:linear-gradient(165deg, var(--navy) 0%, var(--plum) 55%, #241832 100%);flex-direction:column;width:100%;max-width:480px;height:100%;margin:0 auto;display:flex}@media (width>=768px){#root{max-width:960px}}button,input,textarea{font:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-shell{flex-direction:column;flex:1;height:100%;min-height:0;display:flex}.center-screen{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1.5rem;padding:2rem 1.5rem;display:flex}.brand{flex-direction:column;align-items:center;gap:.5rem;display:flex}.brand-mark{background:linear-gradient(135deg, var(--pink) 0%, var(--plum-light) 100%);width:56px;height:56px;box-shadow:0 4px 24px var(--pink-glow);border-radius:50%;justify-content:center;align-items:center;font-size:1.5rem;display:flex}.brand-title{letter-spacing:-.02em;color:var(--cream);margin:0;font-size:1.75rem;font-weight:600}.brand-subtitle{color:var(--text-muted);margin:0;font-size:.9375rem}.loading-screen{gap:1rem}.spinner{border:3px solid var(--plum-light);border-top-color:var(--pink);border-radius:50%;width:36px;height:36px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{color:var(--text-muted);margin:0;font-size:.9375rem}.form-card{flex-direction:column;gap:1rem;width:100%;max-width:340px;display:flex}.form-field{text-align:left;flex-direction:column;gap:.375rem;display:flex}.form-field>label{color:var(--cream-muted);font-size:.875rem;font-weight:500}.form-field legend{color:var(--cream-muted);margin-bottom:.375rem;font-size:.875rem;font-weight:500}.form-field fieldset{border:none;margin:0;padding:0}.form-field input,.form-field textarea{border:1px solid var(--plum-light);border-radius:var(--radius-sm);width:100%;color:var(--cream);background:#ffffff0f;padding:.75rem 1rem;transition:border-color .2s,background .2s}.form-field input::placeholder,.form-field textarea::placeholder{color:var(--text-muted)}.form-field input:focus,.form-field textarea:focus{border-color:var(--pink);background:#ffffff17}.form-error{border-radius:var(--radius-sm);color:var(--error);text-align:left;background:#f080801f;border:1px solid #f0808059;margin:0;padding:.625rem .875rem;font-size:.875rem}.btn{border-radius:var(--radius-sm);cursor:pointer;border:none;justify-content:center;align-items:center;gap:.5rem;padding:.75rem 1.25rem;font-weight:600;transition:background .2s,opacity .2s,transform .1s;display:inline-flex}.btn:active:not(:disabled){transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg, var(--pink) 0%, #d4899e 100%);color:var(--navy)}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg, var(--pink-soft) 0%, var(--pink) 100%)}.btn-ghost{color:var(--cream-muted);border:1px solid var(--plum-light);background:0 0}.btn-ghost:hover:not(:disabled){color:var(--cream);background:#ffffff0f}.btn-text{color:var(--text-muted);background:0 0;padding:.5rem .75rem;font-size:.875rem;font-weight:500}.btn-text:hover:not(:disabled){color:var(--pink)}.btn-sm{padding:.5rem .875rem;font-size:.8125rem}.main-layout{flex-direction:column;min-height:0}.mobile-panel-nav{background:#00000026;border-bottom:1px solid #ffffff14;flex-shrink:0;display:flex}.mobile-panel-tab{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;padding:.75rem 1rem;font-size:.875rem;font-weight:600;transition:color .15s,border-color .15s}.mobile-panel-tab:hover{color:var(--cream)}.mobile-panel-tab-active{color:var(--pink-soft);border-bottom-color:var(--pink)}.main-layout-panel{flex:1;min-width:0;min-height:0;display:none}.main-layout-panel-visible{flex-direction:column;display:flex}@media (width>=768px){.mobile-panel-nav{display:none}.main-layout{flex-direction:row}.main-layout-panel{flex-direction:column;display:flex}.buddy-list-wrap{border-right:1px solid #ffffff14;flex-shrink:0;width:280px}.sidebar-wrap{border-right:1px solid #ffffff14;flex-shrink:0;width:300px}.chat-wrap{flex:1}}.sidebar-wrap,.buddy-list-wrap,.chat-wrap{height:100%;min-height:0}.sidebar-panel{flex-direction:column;flex:1;height:100%;min-height:0;display:flex;overflow:hidden}.conversation-list-panel{background:#00000014;border-bottom:1px solid #ffffff14;flex-direction:column;flex-shrink:0;min-height:120px;max-height:42%;display:flex}.conversation-list-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.75rem 1rem;display:flex}.conversation-list-title{color:var(--cream);margin:0;font-size:.9375rem;font-weight:600}.conversation-list-body{-webkit-overflow-scrolling:touch;flex:1;overflow-y:auto}.conversation-list-empty{color:var(--text-muted);text-align:center;justify-content:center;align-items:center;padding:1.25rem 1rem;font-size:.8125rem;display:flex}.conversation-list-error{color:var(--error)}.conversation-list{margin:0;padding:0 0 .5rem;list-style:none}.conversation-row{width:100%;color:var(--cream);text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:.625rem;padding:.625rem 1rem;font-size:.875rem;display:flex}.conversation-row:hover{background:#ffffff0f}.conversation-row-active{border-left:3px solid var(--pink);background:#e8a4b81f;padding-left:calc(1rem - 3px)}.conversation-row-emoji{flex-shrink:0;font-size:1rem}.conversation-row-name{min-width:0;color:var(--cream);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.mobile-back-btn{border:1px solid var(--plum-light);border-radius:var(--radius-sm);width:36px;height:36px;color:var(--cream-muted);cursor:pointer;background:#ffffff0f;flex-shrink:0;padding:0;font-size:1.125rem;line-height:1;display:none}.mobile-back-btn:hover{color:var(--cream);background:#ffffff1a}@media (width<=767px){.mobile-back-btn{justify-content:center;align-items:center;display:flex}}.chat-header-avatar{flex-shrink:0;font-size:1.25rem;line-height:1}.chat-header-presence{vertical-align:middle;margin-right:.375rem;display:inline-block}.chat-header-user{align-items:center;gap:.25rem;display:flex}.group-chat-modal{max-width:420px}.group-chat-form{flex-direction:column;gap:1rem;display:flex}.group-chat-selected-label{color:var(--cream-muted);margin:0 0 .5rem;font-size:.8125rem;font-weight:500}.group-chat-selected-list{flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.group-chat-selected-item{color:var(--cream);background:#ffffff14;border-radius:999px;align-items:center;gap:.375rem;padding:.25rem .5rem .25rem .25rem;font-size:.8125rem;display:flex}.group-chat-remove-member{width:20px;height:20px;color:var(--cream-muted);cursor:pointer;background:#ffffff1a;border:none;border-radius:50%;padding:0;font-size:.875rem;line-height:1}.group-chat-buddy-picker{flex-direction:column;gap:.375rem;max-height:180px;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.group-member-option{cursor:pointer;border-radius:var(--radius-sm);width:100%;min-height:56px;color:var(--cream);grid-template-columns:20px 40px minmax(0,1fr);align-items:center;gap:12px;padding:8px 12px;font-size:.875rem;font-weight:500;display:grid;position:static;overflow:visible}.group-member-option:hover{background:#ffffff0a}.group-member-checkbox{opacity:1;visibility:visible;flex-shrink:0;grid-column:1;width:18px;height:18px;margin:0;padding:0;position:static}.group-member-avatar{border-radius:50%;flex-shrink:0;grid-column:2;justify-content:center;align-items:center;width:36px;height:36px;font-size:1rem;line-height:1;display:inline-flex;position:static}.group-member-name{min-width:0;color:var(--cream);opacity:1;visibility:visible;text-overflow:ellipsis;white-space:nowrap;grid-column:3;font-size:.875rem;font-weight:500;display:block;position:static;overflow:hidden}.group-chat-selected-name{color:var(--cream);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.group-chat-no-buddies{color:var(--text-muted);margin:0;font-size:.8125rem}.group-chat-actions{justify-content:flex-end;gap:.625rem;display:flex}.buddy-list-panel{background:#0000001f;flex-direction:column;flex:1;min-height:0;display:flex;overflow:hidden}.buddy-list-header{border-bottom:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem;padding:.875rem 1rem;display:flex}.buddy-list-title{color:var(--cream);margin:0;font-size:1.0625rem;font-weight:600}.buddy-presence-note{color:var(--text-muted);background:#ffffff0a;border-bottom:1px solid #ffffff0f;margin:0;padding:.5rem 1rem;font-size:.75rem}.buddy-list-error{margin:.5rem 1rem 0}.buddy-new-group-form{border-bottom:1px solid #ffffff0f;flex-shrink:0;gap:.5rem;padding:.75rem 1rem;display:flex}.buddy-new-group-form input{border:1px solid var(--plum-light);border-radius:var(--radius-sm);min-width:0;color:var(--cream);background:#ffffff0f;flex:1;padding:.5rem .75rem;font-size:.875rem}.buddy-new-group-form input:focus{border-color:var(--pink);box-shadow:0 0 0 2px var(--pink-glow);outline:none}.buddy-list-body{-webkit-overflow-scrolling:touch;flex:1;padding:.5rem 0;overflow-y:auto}.buddy-list-empty{color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:2rem 1rem;font-size:.875rem;display:flex}.buddy-list-error-text{color:var(--error)}.buddy-group{border-bottom:1px solid #ffffff0d}.buddy-group-summary{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--cream-muted);justify-content:space-between;align-items:center;gap:.5rem;padding:.625rem 1rem;font-size:.8125rem;font-weight:600;list-style:none;display:flex}.buddy-group-summary::-webkit-details-marker{display:none}.buddy-group-summary:before{content:"▸";color:var(--text-muted);margin-right:.375rem;font-size:.6875rem;transition:transform .15s}.buddy-group[open] .buddy-group-summary:before{transform:rotate(90deg)}.buddy-group-summary:hover{color:var(--cream);background:#ffffff0a}.buddy-group-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.buddy-group-count{color:var(--text-muted);background:#ffffff0f;border-radius:999px;padding:.125rem .5rem;font-size:.75rem;font-weight:500}.buddy-group-empty{color:var(--text-muted);margin:0;padding:.5rem 1rem .75rem 1.75rem;font-size:.8125rem}.buddy-group-list{margin:0;padding:0 0 .5rem;list-style:none}.buddy-row{align-items:center;gap:.25rem;padding:.375rem .5rem .375rem 1rem;display:flex}.buddy-row:hover{background:#ffffff0a}.buddy-row-main{min-width:0;color:inherit;text-align:left;cursor:pointer;font:inherit;background:0 0;border:none;flex:1;align-items:center;gap:.5rem;padding:0;display:flex}.buddy-row-open:hover:not(:disabled){opacity:.92}.buddy-row-open:disabled{cursor:wait;opacity:.7}.buddy-row-opening{color:var(--text-muted);flex-shrink:0;font-size:.75rem}.buddy-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:.875rem;line-height:1;display:flex}.buddy-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.buddy-name{color:var(--cream);white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;font-weight:500;overflow:hidden}.buddy-status{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.presence-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.presence-dot-active{background:#6dd47e;box-shadow:0 0 6px #6dd47e80}.presence-dot-idle{background:#e8c547;box-shadow:0 0 6px #e8c54766}.presence-dot-offline{background:var(--text-muted);opacity:.6}.buddy-row-menu-wrap{flex-shrink:0;position:relative}.buddy-menu-btn{border-radius:var(--radius-sm);width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;padding:0;font-size:1rem;line-height:1}.buddy-menu-btn:hover:not(:disabled){color:var(--cream);background:#ffffff14}.buddy-menu{z-index:20;background:var(--plum);border-radius:var(--radius-sm);border:1px solid #ffffff1f;min-width:160px;margin-top:.25rem;padding:.375rem;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #00000059}.buddy-menu-label{text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin:0;padding:.375rem .5rem;font-size:.6875rem;font-weight:600}.buddy-menu-item{width:100%;color:var(--cream);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:.5rem .625rem;font-size:.8125rem;display:block}.buddy-menu-item:hover:not(:disabled){background:#ffffff14}.buddy-menu-item:disabled{opacity:.45;cursor:not-allowed}.buddy-menu-item-danger{color:var(--error);border-top:1px solid #ffffff14;border-radius:0 0 6px 6px;margin-top:.25rem;padding-top:.625rem}.buddy-select{border:1px solid var(--plum-light);border-radius:var(--radius-sm);width:100%;color:var(--cream);background:#ffffff0f;padding:.75rem 1rem}.buddy-modal-overlay{z-index:110;background:#0a0812a6;justify-content:center;align-items:flex-end;padding:0;display:flex;position:fixed;inset:0}@media (width>=480px){.buddy-modal-overlay{align-items:center;padding:1rem}}.buddy-modal{background:linear-gradient(180deg, var(--plum) 0%, var(--navy) 100%);border-radius:var(--radius) var(--radius) 0 0;border:1px solid #ffffff1a;flex-direction:column;gap:1rem;width:100%;max-width:400px;max-height:80svh;padding:1.25rem;display:flex;overflow-y:auto}@media (width>=480px){.buddy-modal{border-radius:var(--radius)}}.buddy-modal-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.buddy-modal-title{color:var(--cream);margin:0;font-size:1.0625rem;font-weight:600}.buddy-candidate-list{min-height:120px}.buddy-candidates{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.buddy-candidate-row{border-radius:var(--radius-sm);background:#ffffff0a;align-items:center;gap:.625rem;padding:.5rem;display:flex}.buddy-candidate-row .buddy-row-text{flex:1}.access-denied{max-width:320px}.access-denied p{color:var(--cream-muted);margin:0;line-height:1.6}.chat{flex-direction:column;flex:1;height:100%;min-height:0;display:flex}.chat-header{background:#00000026;border-bottom:1px solid #ffffff14;flex-shrink:0;justify-content:space-between;align-items:center;gap:.625rem;padding:.875rem 1rem;display:flex}.chat-header-info{flex-direction:column;gap:.125rem;min-width:0;display:flex}.chat-header-title{color:var(--cream);margin:0;font-size:1.0625rem;font-weight:600}.chat-header-user{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.8125rem;overflow:hidden}.chat-header-actions{flex-shrink:0;align-items:center;display:flex}.profile-avatar-btn{cursor:pointer;border:2px solid #ffffff26;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;padding:0;font-size:1.125rem;transition:transform .15s,box-shadow .15s;display:flex}.profile-avatar-btn:hover{transform:scale(1.05);box-shadow:0 2px 12px #00000040}.profile-avatar-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.message-avatar{border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:.6875rem;line-height:1;display:inline-flex}.message-meta{align-items:center;gap:.375rem;padding:0 .375rem;display:flex}.message-sender{font-size:.75rem;font-weight:600}.message-time{color:var(--text-muted);font-size:.6875rem}.message-bubble{border-radius:var(--radius);word-break:break-word;white-space:pre-wrap;margin:0;padding:.625rem .875rem;font-size:.9375rem;line-height:1.45}.message-own .message-bubble{color:var(--navy);border-bottom-right-radius:4px}.message-other .message-bubble{color:var(--cream);background:#ffffff14;border:1px solid #ffffff0f;border-bottom-left-radius:4px}.form-success{border-radius:var(--radius-sm);color:var(--pink-soft);text-align:left;background:#e8a4b81f;border:1px solid #e8a4b859;margin:0;padding:.625rem .875rem;font-size:.875rem}.profile-overlay{z-index:100;background:#0a0812a6;justify-content:center;align-items:flex-end;padding:0;animation:.2s fade-in;display:flex;position:fixed;inset:0}@media (width>=480px){.profile-overlay{align-items:center;padding:1rem}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.profile-panel{background:linear-gradient(180deg, var(--plum) 0%, var(--navy) 100%);border-radius:var(--radius) var(--radius) 0 0;width:100%;max-width:480px;max-height:92svh;padding:1.25rem 1.25rem max(1.25rem, env(safe-area-inset-bottom));border:1px solid #ffffff1a;flex-direction:column;gap:1.25rem;animation:.25s slide-up;display:flex;overflow-y:auto}@media (width>=480px){.profile-panel{border-radius:var(--radius);max-height:min(92svh,640px)}}@keyframes slide-up{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.profile-panel-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.profile-panel-title{color:var(--cream);margin:0;font-size:1.125rem;font-weight:600}.profile-panel-close{border:1px solid var(--plum-light);width:36px;height:36px;color:var(--cream-muted);cursor:pointer;background:#ffffff0f;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;font-size:1.25rem;line-height:1;display:flex}.profile-panel-close:hover{color:var(--cream);background:#ffffff1a}.profile-preview{flex-direction:column;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}.profile-preview-avatar{border:2px solid #ffffff26;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;font-size:1.75rem;display:flex}.profile-preview-name{color:var(--cream);margin:0;font-size:1.0625rem;font-weight:600}.profile-preview-status{color:var(--text-muted);text-align:center;margin:0;font-size:.8125rem}.profile-form{flex-direction:column;gap:1rem;display:flex}.option-grid{grid-template-columns:repeat(4,1fr);gap:.5rem;display:grid}.option-grid-colors{grid-template-columns:repeat(3,1fr)}.option-btn{aspect-ratio:1;border-radius:var(--radius-sm);cursor:pointer;background:#ffffff0f;border:2px solid #0000;justify-content:center;align-items:center;padding:0;font-size:1.25rem;transition:border-color .15s,transform .1s;display:flex}.option-btn-color{aspect-ratio:auto;border-radius:var(--radius-sm);height:40px}.option-btn:hover{transform:scale(1.04)}.option-btn-selected{border-color:var(--pink);box-shadow:0 0 0 1px var(--pink)}.option-btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.profile-panel-actions{border-top:1px solid #ffffff14;flex-direction:column;gap:.625rem;padding-top:.25rem;display:flex}.profile-panel-actions .btn-ghost{width:100%}.account-section{border-top:1px solid #ffffff14;flex-direction:column;gap:1rem;padding-top:.25rem;display:flex}.account-section-title{color:var(--cream);margin:0;font-size:.9375rem;font-weight:600}.form-helper{color:var(--text-muted);margin:.25rem 0 0;font-size:.8125rem;line-height:1.45}.read-only-input{opacity:.85;cursor:default}.password-section{border-radius:var(--radius-sm);background:#0000001f;border:1px solid #ffffff14;overflow:hidden}.password-section-summary{color:var(--cream-muted);cursor:pointer;-webkit-user-select:none;user-select:none;padding:.75rem 1rem;font-size:.875rem;font-weight:500;list-style:none}.password-section-summary::-webkit-details-marker{display:none}.password-section-summary:after{content:"+";float:right;color:var(--text-muted);font-weight:400}.password-section[open] .password-section-summary:after{content:"−"}.password-section-summary:hover{color:var(--cream);background:#ffffff0a}.password-section-summary:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.password-form{border-top:1px solid #ffffff0f;flex-direction:column;gap:1rem;padding:0 1rem 1rem;display:flex}.password-field{align-items:stretch;gap:.5rem;display:flex}.password-field input{border:1px solid var(--plum-light);border-radius:var(--radius-sm);min-width:0;color:var(--cream);background:#ffffff0f;flex:1;padding:.75rem 1rem;transition:border-color .2s,background .2s}.password-field input:focus{border-color:var(--pink);background:#ffffff17}.password-toggle{border:1px solid var(--plum-light);border-radius:var(--radius-sm);color:var(--cream-muted);cursor:pointer;background:#ffffff0f;flex-shrink:0;padding:0 .875rem;font-size:.8125rem;font-weight:500;transition:background .2s,color .2s}.password-toggle:hover:not(:disabled){color:var(--cream);background:#ffffff1a}.password-toggle:disabled{opacity:.55;cursor:not-allowed}.password-form .btn-ghost{width:100%}.messages{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;flex-direction:column;flex:1;gap:.75rem;padding:1rem;display:flex;overflow-y:auto}.messages-empty{color:var(--text-muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:.75rem;padding:2rem 1rem;font-size:.9375rem;display:flex}.messages-error{color:var(--error)}.message{flex-direction:column;gap:.25rem;max-width:85%;display:flex}.message-own{align-self:flex-end;align-items:flex-end}.message-other{align-self:flex-start;align-items:flex-start}.composer{padding:.75rem 1rem;padding-bottom:max(.75rem, env(safe-area-inset-bottom));background:#0003;border-top:1px solid #ffffff14;flex-shrink:0;gap:.625rem;display:flex}.composer-input-wrap{flex:1;min-width:0}.composer textarea{border:1px solid var(--plum-light);border-radius:var(--radius-sm);width:100%;min-height:44px;max-height:120px;color:var(--cream);resize:none;background:#ffffff0f;padding:.625rem .875rem;line-height:1.4}.composer textarea:focus{border-color:var(--pink);background:#ffffff17}.composer .btn-primary{align-self:flex-end;min-width:72px;padding:.625rem 1rem}.composer-error{margin-bottom:.5rem;position:absolute;bottom:100%;left:1rem;right:1rem}.composer-wrap{position:relative}@media (width>=768px){#root{max-width:none}}.room-app{flex-direction:column;height:100%;min-height:0;display:flex}.room-nav{border-bottom:1px solid var(--plum-light);flex-wrap:wrap;align-items:center;gap:12px;padding:12px 18px;display:flex}.room-nav strong{color:var(--pink-soft);margin-right:auto}.room-nav span{color:var(--cream-muted);font-size:12px}.room-app button,.room-dialog button{cursor:pointer}.room-nav button,.room-header button,.room-add button,.room-dialog button,.room-storage-error button{background:var(--plum);color:var(--cream);border:1px solid #71556f;border-radius:8px;padding:7px 12px}.room-app :focus-visible,.room-dialog :focus-visible{outline:3px solid var(--pink);outline-offset:2px}.room-body{flex:1;min-height:0;display:flex}.room-workspace{flex-direction:column;flex:1;min-width:0;display:flex}.room-header{border-bottom:1px solid var(--plum-light);flex-wrap:wrap;align-items:center;gap:12px;padding:18px 20px;display:flex}.room-header h1{overflow-wrap:anywhere;margin:0;font-size:21px}.room-header small{color:var(--cream-muted)}.room-header>div{margin-right:auto}.room-participant{font-size:12px}.room-canvas-shell{color:#3d2a52;background:#f5efe6;flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.room-viewport{overscroll-behavior:contain;flex:1;overflow:auto}.room-canvas{background-image:radial-gradient(#694b631c 1px,#0000 1px);background-size:24px 24px;width:2400px;height:1600px;position:relative}.room-empty{pointer-events:none;max-width:450px;position:absolute;top:170px;left:80px}.room-empty span{color:#997088;font-size:48px}.room-empty h2{font-size:24px;font-weight:500}.room-empty p{color:#765b72}.room-add{z-index:2;position:absolute;top:14px;left:18px}.room-add>div{gap:6px;margin-top:5px;display:flex}.room-canvas-help{border-top:1px solid #dbcdd3;margin:0;padding:6px 12px;font-size:11px}.room-card{background:#fffaf4;border:1px solid #cbb7c4;border-radius:12px;flex-direction:column;padding:8px 12px 24px;display:flex;position:absolute;box-shadow:0 5px 18px #38223e12}.room-card.selected{outline:2px solid #a05b83}.room-card-tools{border-bottom:1px solid #e3d6dc;gap:4px;padding-bottom:5px;display:flex}.room-card button{color:#64455f;background:0 0;border:0;border-radius:4px}.room-card .room-handle{cursor:grab;touch-action:none;text-transform:capitalize;margin-right:auto}.room-card textarea{resize:none;color:#3d2a52;background:0 0;border:0;flex:1;width:100%;min-height:0;padding:10px 0}.room-link{padding-top:10px;overflow:auto}.room-link input{color:#3d2a52;background:0 0;border:0;border-bottom:1px solid #ddcdd6;width:100%;padding:5px 0}.room-link a{color:#704363;overflow-wrap:anywhere;margin-top:12px;font-weight:600;display:block}.room-link small{margin-top:8px;font-size:12px;font-weight:400;display:block}.room-resize{touch-action:none;position:absolute;bottom:2px;right:4px;cursor:nwse-resize!important}.room-dialog{background:var(--plum);width:min(480px,100% - 32px);max-height:85svh;color:var(--cream);border:1px solid #71556f;border-radius:16px;padding:24px;overflow:auto}.room-dialog::backdrop{background:#130d20b8}.room-dialog header{justify-content:space-between;align-items:center;gap:12px;display:flex}.room-dialog h2{font-size:21px}.room-dialog form,.room-dialog label:not(.room-buddy),.room-list{flex-direction:column;gap:12px;display:flex}.room-dialog p{color:var(--cream-muted);font-size:13px}.room-dialog input:not([type=checkbox]),.room-dialog select{background:var(--navy);width:100%;color:var(--cream);border:1px solid #8e728c;border-radius:6px;padding:10px}.room-dialog fieldset{border:1px solid #71556f;border-radius:8px}.room-buddy{align-items:center;gap:8px;margin:10px 0;display:flex}.room-list button{text-align:left;flex-direction:column;gap:4px;display:flex}.room-storage-error{background:#542e45;padding:10px}.start-party{padding:6px;font-size:11px}@media (width>=768px){.room-app .sidebar-wrap{flex:0 0 250px}.room-chat-drawer{border-left:1px solid var(--plum-light);flex-direction:column;flex:0 0 340px;width:340px}.room-chat-drawer .sidebar-wrap{flex:0 0 145px;width:100%;overflow:auto}.room-chat-drawer .sidebar-panel{overflow:visible}.room-chat-drawer .conversation-list-panel{max-height:none}.room-chat-drawer .buddy-list-panel{display:none}.room-chat-drawer .chat-wrap{height:auto}.room-chat-drawer .chat-header{flex-wrap:wrap}.room-chat-hidden{display:none}}@media (width<=767px){.room-nav{gap:8px;padding:8px}.room-nav span{width:100%}.room-workspace{display:none}.room-nav:after{content:"Rooms are designed for desktop. Chat stays here on mobile.";color:var(--cream-muted);font-size:11px}.start-party{display:none}}.room-notice{color:var(--cream);background:#42324c;padding:10px 18px}.room-invitation{border:1px solid #71556f;border-radius:8px;margin:16px 0;padding:12px}.room-invitation button{margin-right:8px}.room-invite-row{border-bottom:1px solid #71556f;padding-bottom:8px}.room-dialog button:disabled,.room-nav button:disabled,.room-header button:disabled{opacity:.5;cursor:wait}.room-dialog .room-dialog-error{color:var(--error)}.room-creator{color:#64455f;align-items:center;gap:5px;padding-top:6px;font-size:11px;display:flex}.room-creator>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.room-live{flex-direction:column;gap:5px;max-width:360px;font-size:12px;display:flex}.room-present{flex-wrap:wrap;gap:6px;display:flex}.room-present>span{background:#ffffff0d;border-radius:12px;padding:3px 7px}
