@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{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::placeholder{color:var(--muted)}input: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)}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{white-space:nowrap;text-overflow:ellipsis;font-size:.9rem;font-weight:600;overflow:hidden}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}.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}.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.small{padding:.25rem .6rem;font-size:.8rem}@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){.keys-hint{display:none}}.msg-head{align-items:baseline;gap:.5rem;display:flex}.msg-head .who{color:var(--text);font-weight:600}.hover-time,.icon-button,.msg-head time,.typing-line{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-emoji,.composer-emoji:active{filter:grayscale();opacity:.75;border-radius:10px;width:2.1rem;height:2.1rem;padding:0;font-size:1.2rem;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.composer-emoji.on,.composer-emoji:hover{filter:none;opacity:1}.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{white-space:nowrap;text-overflow:ellipsis;height:1.6rem;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}.icon-button{border-radius:8px;place-items:center;width:1.6rem;height:1.6rem;font-size:1.2rem;line-height:1;display:grid}.icon-button:hover{background:var(--surface-2);color:var(--text);text-decoration:none}.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}.form-page{gap:1rem;width:100%;max-width:420px;padding:1.5rem 1rem;display:grid}.form-page 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}.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)}@media (width<=720px){.app{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{z-index:auto;border-radius:var(--radius-lg);height:min(20rem,45vh);margin-top:.5rem;position:relative}.members-panel{z-index:10;width:auto;position:fixed;inset:0}}
