@font-face{font-family:Twemoji Country Flags;unicode-range:U+1F1E6-1F1FF,U+1F3F4,U+E0062-E0063,U+E0065,U+E0067,U+E006C,U+E006E,U+E0073-E0074,U+E0077,U+E007F;src:url(../fonts/TwemojiCountryFlags.woff2)format("woff2");font-display:swap}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4ece2;--surface:#fffaf4;--surface-2:#f8f0e6;--border:#e6d8c7;--text:#3d3029;--muted:#8b786a;--accent:#c0703f;--accent-text:#fffaf4;--accent-soft:#f2dcc8;--mine:#f2dcc8;--mine-text:#3d3029;--online:#7f9b6b;--danger:#b5523b;--shadow:0 1px 2px #3d30290f, 0 6px 20px #3d302912;--scrollbar:color-mix(in srgb, var(--muted) 40%, transparent);--scrollbar-hover:color-mix(in srgb, var(--muted) 70%, transparent);--radius:14px;--radius-lg:22px;--font:"Twemoji Country Flags", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#1d1815;--surface:#27211d;--surface-2:#2f2823;--border:#3b322c;--text:#f0e5d9;--muted:#a6968a;--accent:#e0915c;--accent-text:#1d1815;--accent-soft:#46332a;--mine:#4a352a;--mine-text:#f6ebdf;--online:#9bb886;--danger:#e07a62;--shadow:0 1px 2px #0000004d, 0 8px 24px #00000040}}*,:after,:before{box-sizing:border-box}body,html{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.5}#__nuxt{min-height:100%}h1,h2{margin:0;line-height:1.2}h1{font-size:1.5rem}h2{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:600}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--scrollbar) padding-box;border:2px solid #0000;border-radius:999px;min-height:2.5rem}::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-hover)}@supports not selector(::-webkit-scrollbar){*{scrollbar-width:thin;scrollbar-color:var(--scrollbar) transparent}}input,textarea{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);width:100%;color:var(--text);font:inherit;padding:.7rem .9rem;transition:border-color .15s,box-shadow .15s}input::-moz-placeholder{color:var(--muted)}textarea::-moz-placeholder{color:var(--muted)}input::placeholder,textarea::placeholder{color:var(--muted)}input:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}.button,button{border-radius:var(--radius);background:var(--accent);color:var(--accent-text);font:inherit;cursor:pointer;border:none;justify-content:center;align-items:center;gap:.4rem;padding:.7rem 1.1rem;font-weight:600;transition:filter .15s,transform 50ms;display:inline-flex}button:hover{filter:brightness(1.06)}button:active{transform:translateY(1px)}button:disabled{opacity:.6;cursor:default}button.ghost{color:var(--muted);background:0 0;font-weight:500}button.ghost:hover{color:var(--text);background:var(--surface-2)}button.icon-only{border-radius:8px;width:2rem;height:2rem;padding:0;font-size:1.1rem}.iconify{flex:none}label{gap:.35rem;font-weight:500;display:grid}.error,label{font-size:.9rem}.error{color:var(--danger);margin:0}.auth-card .foot,.muted{color:var(--muted)}.auth{place-items:center;min-height:100vh;padding:1.5rem;display:grid}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:380px;box-shadow:var(--shadow);gap:1.25rem;padding:2rem;display:grid}.auth-card form{gap:.9rem;display:grid}.auth-card button{margin-top:.4rem}.auth-card .foot{text-align:center;margin:0;font-size:.9rem}.brand{align-items:center;gap:.55rem;font-size:1.15rem;font-weight:700;display:flex}.brand:before{content:"";background:var(--accent);border-radius:50% 50% 50% 4px;width:.9rem;height:.9rem}.app{grid-template-rows:minmax(0,1fr);grid-template-columns:280px 1fr;display:grid}.app,.shell{height:100dvh}.shell{flex-direction:column;display:flex}.shell>.app{flex:1;height:auto;min-height:0}.update-banner{background:var(--accent-soft);color:var(--text);border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:center;gap:.4rem .8rem;padding:.4rem 1rem;font-size:.9rem;display:flex}.update-banner button.small{padding:.3rem .8rem}.pane{background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.pane-empty{text-align:center;color:var(--muted);flex:1;place-content:center;justify-items:center;gap:.5rem;padding:2rem;display:grid}.small{font-size:.85rem}.grow{flex:1;min-width:0}.sub{color:var(--muted);font-size:.8rem}.sidebar{--cutout:var(--bg);background:var(--cutout);border-right:1px solid var(--border);flex-direction:column;min-height:0;display:flex}.sidebar-top{border-bottom:1px solid var(--border);gap:.75rem;padding:1rem .75rem .75rem;display:grid}.sidebar-top input{background:var(--surface);padding:.5rem .75rem;font-size:.9rem}.sidebar-list{flex:1;padding:1rem .5rem;overflow-y:auto}.sidebar-list h2{padding:0 .5rem .5rem}.sidebar-list>p{padding:0 .5rem}.conv-list{gap:2px;margin:0;padding:0;list-style:none;display:grid}.conv-list a{color:var(--muted);border-radius:10px;align-items:center;gap:.65rem;padding:.45rem .5rem;display:flex}.conv-list a:hover{--cutout:var(--surface-2);text-decoration:none}.conv-list a.active,.conv-list a.unread,.conv-list a:hover{background:var(--cutout);color:var(--text)}.conv-list a.active{--cutout:var(--accent-soft)}.conv-list .name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-weight:500;overflow:hidden}.conv-list a.unread{--cutout:color-mix(in srgb, var(--accent-soft) 70%, var(--surface));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent),0 0 10px color-mix(in srgb,var(--accent) 30%,transparent)}.conv-list a.unread .name,.unread-badge{font-weight:700}.unread-badge{background:var(--accent);min-width:1.35rem;color:var(--accent-text);text-align:center;border-radius:999px;flex-shrink:0;padding:.1rem .4rem;font-size:.72rem;line-height:1.2}.user-panel{--cutout:var(--surface-2);background:var(--cutout);border-top:1px solid var(--border);align-items:center;gap:.6rem;padding:.6rem .75rem;display:flex}.user-panel .name,.user-panel .sub{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.user-panel .name{font-size:.9rem;font-weight:600}button.me{min-width:0;color:var(--text);font-weight:inherit;text-align:left;background:0 0;border-radius:10px;flex:1;justify-content:flex-start;gap:.6rem;margin:-.3rem -.4rem;padding:.3rem .4rem}button.me:hover{filter:none;--cutout:var(--border);background:var(--cutout)}button.me:active,button.person-name:active,button.topbar-person:active,button.topbar-title-button:active{transform:none}button.small{padding:.4rem .6rem;font-size:.85rem}.avatar{background:var(--accent-soft);width:2.5rem;height:2.5rem;color:var(--accent);text-transform:uppercase;border-radius:50%;flex:none;place-items:center;font-weight:700;display:grid;position:relative}button.avatar{padding:0}button.person-name{color:inherit;font-weight:inherit;text-align:left;background:0 0;border-radius:0;padding:0;display:inline}button.person-name:hover{filter:none;text-decoration:underline}.avatar.sm{width:2rem;height:2rem;font-size:.85rem}.avatar.lg{width:4.5rem;height:4.5rem;font-size:1.8rem}.avatar.with-status:after{content:"";box-sizing:border-box;background:var(--muted);border:2px solid var(--cutout,var(--surface));border-radius:50%;width:.75rem;height:.75rem;position:absolute;bottom:-2px;right:-2px}.avatar.with-status.online:after{background:var(--online)}.avatar.with-status.away:after{background:var(--cutout,var(--surface));box-shadow:inset 0 0 0 2px var(--online)}.chat{flex-direction:column;flex:1;min-height:0;display:flex}.topbar{border-bottom:1px solid var(--border);align-items:center;gap:.6rem;padding:.7rem 1rem;display:flex}.topbar .title{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}button.topbar-title-button{min-width:0;color:var(--text);font-weight:inherit;background:0 0;border-radius:10px;gap:.4rem;margin:-.25rem -.4rem;padding:.25rem .4rem}button.topbar-title-button:hover{filter:none;background:var(--surface-2)}.topbar-edit-hint{color:var(--muted);opacity:0;flex:none;font-size:.9rem;transition:opacity .15s}button.topbar-title-button:focus-visible .topbar-edit-hint,button.topbar-title-button:hover .topbar-edit-hint{opacity:1}input.topbar-rename{flex:0 18rem;width:auto;min-width:0;padding:.25rem .5rem;font-weight:600}button.topbar-person{min-width:0;color:var(--text);font-weight:inherit;--cutout:var(--surface);background:0 0;border-radius:10px;gap:.6rem;margin:-.25rem -.4rem;padding:.25rem .4rem}button.topbar-person:hover{filter:none;--cutout:var(--surface-2);background:var(--cutout)}.topbar .sub{border-left:1px solid var(--border);white-space:nowrap;padding-left:.6rem}.back{width:2rem;height:2rem;color:var(--text);border-radius:50%;place-items:center;font-size:1.2rem;display:none}.back:hover{background:var(--surface-2);text-decoration:none}.messages-area{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.history-edge{justify-items:start;gap:.4rem;margin-top:auto;padding:1.5rem 1rem .5rem;display:grid}.history-edge h1{font-size:1.6rem}.history-edge p{margin:0}.messages{margin:0;padding:0 0 1rem;list-style:none}.msg{-moz-column-gap:.9rem;grid-template-columns:2.5rem 1fr;column-gap:.9rem;padding:.1rem 1rem;display:grid;position:relative}.msg.first{margin-top:.9rem;padding-top:.15rem}.msg:hover{background:var(--surface-2)}.msg .avatar{grid-row:span 2}.msg .body{white-space:pre-wrap;overflow-wrap:anywhere;grid-column:2}.edited-mark{color:var(--muted);white-space:nowrap;cursor:default;margin-left:.35rem;font-size:.7rem}.reactions{flex-wrap:wrap;grid-column:2;gap:.3rem;margin:.25rem 0 .2rem;display:flex}button.reaction,button.reaction:active{border:1px solid var(--border);background:var(--surface);height:1.75rem;color:var(--muted);border-radius:999px;gap:.35rem;padding:0 .55rem;font-size:.8rem;font-weight:600;transform:none}button.reaction:hover{filter:none;border-color:var(--muted)}button.reaction.mine{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.reaction-emoji{font-size:1rem;line-height:1}.reaction-count{font-variant-numeric:tabular-nums}button.reaction-add{font-size:1rem;font-weight:500}@media (hover:hover){.reaction-add{visibility:hidden}.msg:hover .reaction-add{visibility:visible}}.react-picker,.reaction-tip{position:fixed}.reaction-tip{z-index:30;background:var(--text);max-width:18rem;color:var(--bg);box-shadow:var(--shadow);pointer-events:none;border-radius:10px;align-items:center;gap:.5rem;padding:.45rem .7rem;font-size:.8rem;display:flex;transform:translate(-50%,-100%)}.reaction-tip-emoji{font-size:1.5rem;line-height:1}.msg.editing,.msg.show-actions{background:var(--surface-2)}.msg-actions{z-index:1;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);visibility:hidden;gap:.1rem;padding:.15rem;display:flex;position:absolute;top:-.85rem;right:1rem}.msg-actions button.icon-only{width:1.9rem;height:1.9rem;font-size:1rem}@media (hover:hover){.msg:hover .msg-actions{visibility:visible}}.msg.show-actions .msg-actions{visibility:visible}button.ghost.danger-text,button.ghost.danger-text:hover{color:var(--danger)}button.danger{background:var(--danger);color:var(--accent-text)}.msg-confirm,.msg-edit,.msg-error{grid-column:2}.msg-edit{padding:.2rem 0 .3rem}.msg-edit input{padding:.55rem .8rem}.msg-edit-actions{justify-content:flex-end;align-items:center;gap:.3rem;margin-top:.3rem;display:flex}.msg-edit-actions .keys-hint{margin-right:auto}.msg-confirm{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);flex-wrap:wrap;align-items:center;gap:.4rem .6rem;margin:.3rem 0;padding:.45rem .7rem;font-size:.9rem;display:flex}.keys-hint,.msg-head time{font-size:.75rem}@media (hover:none){.topbar-edit-hint{opacity:1}.keys-hint{display:none}}.msg-head{align-items:baseline;gap:.5rem;display:flex}.msg-head .who{color:var(--text);font-weight:600}.hover-time,.msg-head time{color:var(--muted)}.hover-time{white-space:nowrap;text-align:center;visibility:hidden;width:3.5rem;font-size:.65rem;position:absolute;top:50%;left:0;transform:translateY(-50%)}.msg:hover .hover-time{visibility:visible}.composer{padding:0 1rem}.composer,.composer-field{position:relative}.composer input{border-radius:var(--radius);background:var(--surface-2);padding:.8rem 3rem .8rem 1rem}.composer-field.with-send input{padding-right:5.4rem}.composer-tools{gap:.15rem;display:flex;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.composer-tools button.icon-only{width:2.1rem;height:2.1rem;font-size:1.2rem}.composer-send:not(:disabled){color:var(--accent)}.composer-send:disabled{opacity:.4}.composer-picker{position:absolute;bottom:calc(100% + .5rem);right:1rem}.emoji-picker{z-index:5;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:22rem;height:24rem;box-shadow:var(--shadow);flex-direction:column;display:flex;overflow:hidden}.emoji-search{padding:.6rem .6rem .4rem}.emoji-search input{padding:.45rem .75rem;font-size:.9rem}.emoji-tabs{border-bottom:1px solid var(--border);padding:0 .4rem .35rem;display:flex}.emoji-tabs button{border-radius:8px;flex:1;padding:.3rem 0;font-size:1.05rem}.emoji-scroll{flex:1;min-height:0;padding:0 .5rem .6rem;position:relative;overflow-y:auto}.emoji-group h2{z-index:1;background:var(--surface);padding:.55rem .25rem .3rem;font-size:.68rem;position:sticky;top:0}.emoji-grid{grid-template-columns:repeat(auto-fill,minmax(2.3rem,1fr));display:grid}.emoji-grid button{border-radius:8px;height:2.3rem;padding:0;font-size:1.45rem;font-weight:400;line-height:1}.emoji-note{margin:0;padding:1rem .3rem}.composer-error{padding:.4rem 1rem 0}.typing-line{height:1.6rem;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;padding:0 1.1rem;font-size:.8rem;line-height:1.6rem;overflow:hidden}.list-head{justify-content:space-between;align-items:center;padding:0 .5rem .5rem;display:flex}.sidebar-list .list-head h2{padding:0}.list-head button.icon-only{width:1.6rem;height:1.6rem;font-size:1.1rem}.avatar.group{border-radius:10px}button.ghost.on{color:var(--text)}.badge,button.ghost.on{background:var(--accent-soft)}.badge{color:var(--accent);vertical-align:middle;border-radius:6px;margin-left:.3rem;padding:.05rem .4rem;font-size:.7rem;font-weight:600}.dialog-form{gap:1rem;padding:1.25rem;display:grid}.dialog-form>button{justify-self:start}.chat-body{flex:1;min-height:0;display:flex}.chat-main{flex:1;min-width:0}.chat-main,.members-panel{flex-direction:column;display:flex}.members-panel{--cutout:var(--bg);background:var(--cutout);border-left:1px solid var(--border);flex:none;gap:.75rem;width:260px;padding:1rem .75rem;overflow-y:auto}.panel-head{justify-content:space-between;align-items:center;display:flex}.panel-form input{background:var(--surface);padding:.5rem .75rem;font-size:.9rem}.member-list{gap:2px;margin:0;padding:0;list-style:none;display:grid}.member-list li{border-radius:10px;align-items:center;gap:.6rem;padding:.35rem .4rem;display:flex}.member-list li:hover{--cutout:var(--surface-2);background:var(--cutout)}.member-list .name{font-size:.92rem;font-weight:500;display:block}.member-list .sub{display:block}button.member-person{min-width:0;color:inherit;font-weight:inherit;text-align:left;background:0 0;border-radius:0;flex:1;justify-content:flex-start;gap:.6rem;padding:0}button.member-person:hover{filter:none}button.member-person:active{transform:none}.panel-error{padding:0 .25rem}.panel-foot{margin-top:auto}button.danger-ghost{width:100%;color:var(--danger);border:1px solid var(--border);background:0 0}button.danger-ghost:hover{background:var(--surface-2)}@property --pcard-glow{syntax:"<percentage>";inherits:true;initial-value:0%}.avatar.xl{width:5.5rem;height:5.5rem;font-size:2.2rem}.avatar.xl.with-status:after{border-width:5px;width:1.4rem;height:1.4rem;bottom:2px;right:2px}.avatar.xl.with-status.away:after{box-shadow:inset 0 0 0 3px var(--online)}.pcard{--cutout:var(--surface);--pcard-glow:0%;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--cutout);flex-direction:column;transition:--pcard-glow 1.2s;display:flex;overflow:hidden}.pcard.online{--pcard-glow:70%}.pcard.away{--pcard-glow:35%}.pcard-light{background:radial-gradient(90% 140% at 20% 0,color-mix(in srgb,var(--online) var(--pcard-glow),transparent),transparent 70%),radial-gradient(70% 120% at 90% 20%,color-mix(in srgb,var(--accent) 35%,transparent),transparent 70%),var(--surface-2);background-size:140% 140%;flex:none;height:7.5rem;margin-bottom:-2.75rem;animation:20s ease-in-out infinite alternate pcard-drift;-webkit-mask-image:linear-gradient(#000 45%,#0000);mask-image:linear-gradient(#000 45%,#0000)}.pcard.offline .pcard-light{animation-play-state:paused}@keyframes pcard-drift{0%{background-position:0 0}to{background-position:100% 60%}}@media (prefers-reduced-motion:reduce){.pcard-light{animation:none}}.pcard-content{flex-direction:column;padding:0 1.25rem 1.25rem;display:flex}.pcard-identity{align-items:flex-start;gap:.75rem;display:flex}button.pcard-avatar-button,button.pcard-more,button.pcard-name{color:inherit;font:inherit;text-align:left;background:0 0;border-radius:0;padding:0;transform:none}button.pcard-avatar-button{border-radius:50%;flex:none}button.pcard-avatar-button:hover{filter:none}button.pcard-avatar-button:hover .avatar{filter:brightness(1.12)}.pcard-bubble{background:var(--cutout);min-width:0;box-shadow:var(--shadow);border-radius:1rem;margin-top:.9rem;padding:.45rem .75rem;position:relative}.pcard-bubble:after,.pcard-bubble:before{content:"";background:var(--cutout);border-radius:50%;position:absolute}.pcard-bubble:before{width:.6rem;height:.6rem;bottom:.2rem;left:-.4rem}.pcard-bubble:after{width:.3rem;height:.3rem;bottom:-.15rem;left:-.85rem}.pcard-bubble p{overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.85rem;line-height:1.35;display:-webkit-box;overflow:hidden}.pcard-bubble-emoji{vertical-align:-.15em;margin-right:.35rem}button.pcard-bubble{color:var(--text);font:inherit;text-align:left;font-weight:400;display:block;transform:none}button.pcard-bubble:hover{filter:none}button.pcard-bubble:hover,button.pcard-bubble:hover:after,button.pcard-bubble:hover:before{background:var(--surface-2)}button.pcard-bubble.empty{color:var(--muted)}.status-editor{gap:.4rem;margin-top:.75rem;display:grid}.status-editor-row{align-items:center;gap:.25rem;display:flex}.status-editor-row input{flex:1;min-width:0;padding:.45rem .65rem;font-size:.9rem}.status-editor-emoji{font-size:1.15rem}.status-editor-foot{flex-wrap:wrap;gap:.25rem;display:flex}.status-editor-foot:empty{display:none}.status-editor-foot button.small{padding:.3rem .5rem}.status-picker{width:100%;height:18rem}.pcard .pcard-name{max-width:100%;color:var(--text);letter-spacing:-.01em;text-transform:none;overflow-wrap:anywhere;align-self:flex-start;margin-top:.7rem;font-size:1.5rem;font-weight:800;line-height:1.15;display:block}button.pcard-name:hover{filter:none;text-decoration:underline;text-decoration-thickness:2px}button.pcard-name.editable:hover{text-decoration:none}.pcard-edit-hint{color:var(--muted);vertical-align:.1em;opacity:0;margin-left:.4rem;font-size:1rem;transition:opacity .15s}button.pcard-name.editable:focus-visible .pcard-edit-hint,button.pcard-name.editable:hover .pcard-edit-hint{opacity:1}@media (hover:none){.pcard-edit-hint{opacity:1}}input.pcard-name-input{margin-top:.55rem;padding:.2rem .5rem;font-size:1.35rem;font-weight:800}.pcard-section-head{justify-content:space-between;align-items:center;margin-bottom:.3rem;display:flex}.pcard-section-head h3{margin:0}.pcard-section-head button.icon-only{width:1.7rem;height:1.7rem;margin:-.3rem -.3rem -.3rem 0;font-size:.9rem}.pcard-bio-form{gap:.4rem;display:grid}.pcard-bio-form textarea{resize:vertical;padding:.6rem .75rem;font-size:.9rem;line-height:1.5}.pcard-bio-actions{justify-content:flex-end;align-items:center;gap:.25rem;display:flex}.pcard-bio-actions .muted{margin-right:auto}.pcard.full{border:none;border-radius:0}.pcard.full .pcard-light{height:9rem}.pcard.full .pcard-content{padding:0 1.5rem 1.5rem}.pcard-handle{color:var(--muted);font-size:.9rem}.pcard-section{margin-top:1rem}.pcard-handle+.pcard-section{border-top:1px solid var(--border);padding-top:1rem}.pcard-section h3{color:var(--muted);margin:0 0 .3rem;font-size:.75rem;font-weight:700}.pcard-section p{margin:0;font-size:.9rem}.pcard-bio{white-space:pre-line;overflow-wrap:anywhere;line-height:1.5}.pcard-bio.clamped{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}button.pcard-more{color:var(--accent);margin-top:.3rem;font-size:.85rem;font-weight:600}button.pcard-more:hover{filter:none;text-decoration:underline}.profile-popover{z-index:25;border-radius:var(--radius-lg);width:300px;max-height:calc(100vh - 16px);box-shadow:var(--shadow);outline:none;position:fixed;overflow-y:auto}.profile-panel{background:var(--bg);border-left:1px solid var(--border);flex:none;width:300px;padding:1rem;overflow-y:auto}@media (width<=1100px){.profile-panel{display:none}}dialog.app-dialog{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);width:min(26rem,100vw - 2rem);max-height:calc(100vh - 3rem);color:var(--text);box-shadow:var(--shadow);padding:0;overflow:hidden}dialog.app-dialog.wide{width:min(44rem,100vw - 2rem)}dialog.app-dialog::backdrop{background:#140e0a73}.app-dialog-inner{max-height:inherit;flex-direction:column;display:flex;position:relative}.app-dialog-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:.9rem 1rem .9rem 1.25rem;display:flex}.app-dialog-body{min-height:0;overflow-y:auto}button.app-dialog-close{z-index:1;background:color-mix(in srgb,var(--surface) 70%,transparent);color:var(--text);position:absolute;top:.6rem;right:.6rem}dialog.app-dialog.settings-dialog{width:min(52rem,100vw - 2rem);height:min(36rem,100vh - 3rem)}.settings-dialog .app-dialog-inner{height:100%}.settings-dialog .app-dialog-body{flex:1;display:flex;overflow:hidden}.settings{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:13rem minmax(0,1fr);min-height:0;display:grid}.settings-nav{border-right:1px solid var(--border);background:var(--surface-2);flex-direction:column;gap:.15rem;min-height:0;padding:.75rem;display:flex;overflow-y:auto}button.settings-nav-item{width:100%;color:var(--text);text-align:left;background:0 0;justify-content:flex-start;gap:.6rem;padding:.55rem .7rem;font-weight:500}button.settings-nav-item:hover{filter:none;background:var(--border)}button.settings-nav-item.active{background:var(--accent-soft)}.settings-nav-chevron{color:var(--muted);margin-left:auto;display:none}button.settings-logout{margin-top:auto}button.settings-logout,button.settings-logout:hover{color:var(--danger)}.settings-section{min-width:0;min-height:0;padding:1rem 1.25rem 1.25rem;overflow-y:auto}.settings-section-head{align-items:center;gap:.4rem;margin-bottom:.75rem;display:flex}.settings-section-head h3{margin:0;font-size:1.05rem}button.settings-back{display:none}.new-dot{background:var(--accent);border-radius:50%;flex:none;width:.5rem;height:.5rem}button.settings-gear{position:relative}button.settings-gear .new-dot{box-shadow:0 0 0 2px var(--surface);position:absolute;top:.3rem;right:.3rem}.settings-section h4{margin:0;font-size:.95rem}.settings-hint{margin:0;font-size:.85rem;display:block}.settings-ok{color:var(--online);align-items:center;gap:.4rem;margin:0;display:flex}.settings-form{gap:.75rem;margin-bottom:1.5rem;display:grid}.settings-form p{margin:0}.settings-form textarea{resize:vertical}.settings-form-foot{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.settings-rows{gap:1rem;margin:0 0 1.25rem;display:grid}.settings-rows dt{color:var(--muted);font-size:.85rem}.settings-rows dd{margin:.2rem 0 0}.settings-rows dd .error{margin-top:.3rem}button.settings-inline-edit{color:var(--text);text-align:left;background:0 0;border-radius:8px;justify-content:flex-start;gap:.4rem;margin:-.2rem -.4rem;padding:.2rem .4rem;font-weight:600}button.settings-inline-edit:hover{filter:none;background:var(--surface-2)}button.settings-inline-edit svg{color:var(--muted);font-size:.85rem}label.settings-switch-row{font-weight:inherit;cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;display:flex}.settings-switch-label{font-weight:600;display:block}input.switch{appearance:none;background:var(--border);cursor:pointer;border:none;border-radius:999px;flex:none;width:2.6rem;height:1.5rem;padding:0;transition:background .15s;position:relative}input.switch:before{content:"";background:var(--surface);border-radius:50%;width:1.1rem;height:1.1rem;transition:transform .15s;position:absolute;top:.2rem;left:.2rem;box-shadow:0 1px 2px #00000040}input.switch:checked{background:var(--accent)}input.switch:checked:before{transform:translate(1.1rem)}input.switch:disabled{opacity:.6;cursor:default}ol.changelog{gap:1.25rem;margin:0;padding:0;list-style:none;display:grid}ol.changelog h4{flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;display:flex}ol.changelog time{font-size:.8rem;font-weight:400}ol.changelog ul{margin:.4rem 0 0;padding-left:1.2rem}ol.changelog ul li+li{margin-top:.2rem}ul.feedback-list{gap:.75rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}ul.feedback-list>li{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);padding:.75rem .9rem}.feedback-meta{flex-wrap:wrap;align-items:baseline;gap:.2rem .5rem;font-size:.9rem;display:flex}.feedback-meta time{margin-left:auto;font-size:.8rem}.feedback-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:.4rem 0 0}@media (width<=720px){.app,.settings{grid-template-columns:1fr}.app .pane{display:none}.app.in-chat .pane{display:flex}.app.in-chat .sidebar{display:none}.back{display:grid}.topbar .sub{visibility:hidden}.emoji-picker{z-index:20;border-radius:var(--radius-lg) var(--radius-lg) 0 0;width:auto;height:min(24rem,60vh);position:fixed;inset:auto 0 0}.composer-picker{height:min(20rem,45vh);margin-top:.5rem}.composer-picker,.status-picker{z-index:auto;border-radius:var(--radius-lg);position:relative}.status-picker{height:min(18rem,40vh)}dialog.app-dialog,dialog.app-dialog.wide{border:none;border-radius:0;width:100%;max-width:none;height:100%;max-height:none;margin:0}.app-dialog-inner{height:100%}.app-dialog-body{flex:1}dialog.app-dialog.settings-dialog{width:100%;height:100%}.settings-nav{background:0 0;border-right:none}.settings.has-section .settings-nav{display:none}.settings-nav-chevron,button.settings-back{display:inline-flex}button.settings-logout{margin-top:.75rem}button.settings-nav-item.active{background:0 0}.profile-popover{width:auto;max-height:85vh;inset:auto 0 0}.profile-popover,.profile-popover .pcard{border-radius:var(--radius-lg) var(--radius-lg) 0 0}.profile-popover .pcard{border-bottom:none}.members-panel{z-index:10;width:auto;position:fixed;inset:0}}
