.gate{min-height:100dvh;display:grid;place-items:center;padding:24px 16px calc(24px + var(--safe-bottom));background:radial-gradient(120% 80% at 50% -10%,var(--md-sys-color-surface-container-high),transparent 60%),var(--md-sys-color-surface);animation:gate-fade .4s var(--md-motion-standard)}@keyframes gate-fade{0%{opacity:0;transform:translateY(12px)}}.gate__card{width:min(460px,100%);display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;background:var(--md-sys-color-surface-container-low);border-radius:var(--md-shape-xl);padding:32px 24px 24px;box-shadow:var(--md-elevation-1)}.gate__logo{width:88px;height:88px;border-radius:var(--md-shape-xl);display:grid;place-items:center;background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);box-shadow:var(--md-elevation-1)}.gate__lock{font-size:40px;line-height:1}.gate__emoji{font-size:56px}.gate__title{margin:0;letter-spacing:-.01em}.gate__subtitle{margin:0;color:var(--md-sys-color-on-surface-variant);max-width:32ch}.gate__features{list-style:none;padding:0;margin:8px 0 0;display:grid;gap:10px;width:100%;text-align:left}.gate__features li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--md-shape-md);background:var(--md-sys-color-surface-container);font-size:.875rem}.gate__features li .gate__icon{flex-shrink:0;display:grid;place-items:center;width:22px;height:22px;color:var(--md-sys-color-on-surface)}.gate__icon svg{width:100%;height:100%;display:block}.gate__notice .gate__icon{flex-shrink:0;width:18px;height:18px;display:grid;place-items:center;margin-top:1px}.gate__lock svg{display:block}.gate__notice{display:flex;gap:10px;text-align:left;padding:12px 14px;border-radius:var(--md-shape-md);background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);margin-top:4px}.gate__accept{margin-top:8px}.gate__text{color:var(--md-sys-color-on-surface-variant);margin:0}.app{height:100dvh;display:flex;flex-direction:column;background:var(--md-sys-color-surface);max-width:100%;overflow:hidden}@media(min-width:900px){body{background:radial-gradient(100% 60% at 50% 0%,var(--md-sys-color-surface-container-high),transparent 70%),var(--md-sys-color-surface-container)}.app{max-width:860px;margin:24px auto 0;height:calc(100dvh - 48px);border-radius:var(--md-shape-xl);box-shadow:var(--md-elevation-2);overflow:hidden;background:var(--md-sys-color-surface-container-lowest)}}.app__main{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.topbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:calc(8px + var(--safe-top)) 12px 8px;background:var(--md-sys-color-surface-container);min-height:64px;border-bottom:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 60%,transparent);flex-shrink:0}.topbar__identity{display:flex;align-items:center;gap:10px;min-width:0}.topbar__text{display:flex;flex-direction:column;min-width:0;line-height:1.2}.topbar__text .md-title-medium{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar__meta{color:var(--md-sys-color-on-surface-variant);white-space:nowrap}.topbar__center{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;text-align:center}.topbar__actions{display:flex;justify-content:flex-end;gap:2px}.topbar__leave{color:var(--md-sys-color-on-surface)}.avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:var(--md-shape-full);background:var(--md-sys-color-primary-container);font-size:20px;line-height:1;flex-shrink:0;-webkit-user-select:none;user-select:none}.avatar--me{background:var(--md-sys-color-secondary-container)}.avatar--sm{width:28px;height:28px;font-size:15px;align-self:flex-end;margin-bottom:18px}.messages{flex:1;overflow-y:auto;overflow-x:hidden;padding:16px 12px 8px;display:flex;flex-direction:column;gap:6px;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.messages>.system-note:first-child{margin-top:0}.messages__empty{margin:auto;text-align:center;color:var(--md-sys-color-on-surface-variant);display:grid;gap:8px;place-items:center;padding:24px;max-width:34ch}.messages__empty span{font-size:40px}.bubble-row{display:flex;align-items:flex-end;gap:8px;animation:bubble-in .2s var(--md-motion-standard)}.bubble-row--mine{justify-content:flex-end}@keyframes bubble-in{0%{opacity:0;transform:translateY(6px) scale(.98)}}.bubble-group{display:flex;flex-direction:column;gap:2px;max-width:min(78%,560px);align-items:flex-start}.bubble-group--mine{align-items:flex-end}.bubble{padding:10px 14px;border-radius:var(--md-shape-lg);font-size:.9375rem;line-height:1.45;word-break:break-word;overflow-wrap:anywhere;white-space:pre-wrap;position:relative}.bubble--theirs{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);border-bottom-left-radius:var(--md-shape-xs)}.bubble--mine{background:var(--bubble-mine-bg);color:var(--bubble-mine-fg);border-bottom-right-radius:var(--md-shape-xs)}.bubble--broken{background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container);font-style:italic}.bubble__time{color:var(--md-sys-color-on-surface-variant);opacity:.7;padding:0 6px}.bubble--typing{display:flex;align-items:center;gap:4px;padding:14px 16px}.bubble--typing .dot{width:7px;height:7px;border-radius:50%;background:var(--md-sys-color-on-surface-variant);animation:typing-bounce 1.2s infinite ease-in-out}.bubble--typing .dot:nth-child(2){animation-delay:.15s}.bubble--typing .dot:nth-child(3){animation-delay:.3s}@keyframes typing-bounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}.system-note{align-self:center;text-align:center;padding:6px 14px;border-radius:var(--md-shape-full);background:var(--md-sys-color-surface-container);color:var(--md-sys-color-on-surface-variant);margin:6px 0;max-width:90%}.system-note--warn{background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container)}.waiting{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;text-align:center}.waiting__orb{position:relative;width:128px;height:128px;display:grid;place-items:center;margin-bottom:12px}.waiting__pulse{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:var(--md-sys-color-primary-container);animation:pulse-ring 2.4s ease-out infinite}.waiting__pulse--2{animation-delay:1.2s}@keyframes pulse-ring{0%{transform:scale(.7);opacity:.85}to{transform:scale(1.6);opacity:0}}.waiting__glyph{position:relative;width:96px;height:96px;display:grid;place-items:center;color:var(--md-sys-color-on-surface);border-radius:50%;background:var(--md-sys-color-surface-container-high);box-shadow:var(--md-elevation-1)}.waiting__glyph svg{width:42px;height:42px;display:block}.waiting__title{margin:0}.waiting__body{margin:0;color:var(--md-sys-color-on-surface-variant);max-width:34ch}.waiting__chip{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:var(--md-shape-full);background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container);margin-top:8px}.waiting__dot{width:8px;height:8px;border-radius:50%;background:var(--md-sys-color-primary);animation:dot-blink 1.4s ease-in-out infinite}@keyframes dot-blink{50%{opacity:.25}}.waiting__insecure{max-width:36ch;padding:10px 14px;border-radius:var(--md-shape-md);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}.waiting__cta{margin-top:12px;min-height:48px;padding:0 28px}.banner{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:.875rem;flex-shrink:0}.banner--error{background:var(--md-sys-color-error-container);color:var(--md-sys-color-on-error-container)}.app__footer{flex-shrink:0;padding:8px 12px calc(8px + var(--safe-bottom));background:var(--md-sys-color-surface-container);border-top:1px solid color-mix(in srgb,var(--md-sys-color-outline-variant) 60%,transparent);display:grid;gap:8px}.composer{display:flex;align-items:flex-end;gap:8px}.composer__field{flex:1;min-width:0;position:relative;background:var(--md-sys-color-surface-container-high);border-radius:var(--md-shape-xl);padding:8px 16px;display:flex;align-items:center;min-height:48px;transition:background-color .2s var(--md-motion-standard)}.composer__field:focus-within{background:var(--md-sys-color-surface-container-highest, var(--md-sys-color-surface-container-high));outline:2px solid var(--md-sys-color-primary);outline-offset:-2px}.composer__input{width:100%;border:none;outline:none;background:transparent;resize:none;font-size:.9375rem;line-height:1.45;max-height:140px;padding:0;color:var(--md-sys-color-on-surface)}.composer__input::placeholder{color:var(--md-sys-color-on-surface-variant)}.composer__counter{position:absolute;right:14px;bottom:4px;color:var(--md-sys-color-on-surface-variant);font-size:.6875rem}.composer__send{min-height:48px;padding:0 20px;flex-shrink:0}.composer__send svg{flex-shrink:0;display:block}.composer__send-label{display:inline}.composer--disabled .composer__field{opacity:.6}.app__actions{display:flex;gap:8px}.app__actions .md-button{flex:1;min-height:44px}.app__hint{margin:0;text-align:center;color:var(--md-sys-color-on-surface-variant);opacity:.8}@media(max-width:480px){.composer__send-label{display:none}.composer__send{padding:0;width:48px;min-width:48px;border-radius:50%;gap:0}.topbar{grid-template-columns:auto 1fr auto}.topbar__center{align-items:flex-end;text-align:right;padding-right:4px}.topbar__identity .md-title-medium{max-width:90px}.bubble-group{max-width:82%}.app__hint{display:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:root{color-scheme:light dark;--md-sys-color-primary: #1c1c1c;--md-sys-color-on-primary: #ffffff;--md-sys-color-primary-container: #e3e3e3;--md-sys-color-on-primary-container: #1c1c1c;--md-sys-color-secondary-container: #e6e6e6;--md-sys-color-on-secondary-container: #1c1c1c;--md-sys-color-tertiary-container: #e9e9e9;--md-sys-color-on-tertiary-container: #1c1c1c;--md-sys-color-surface: #fcfcfc;--md-sys-color-surface-container-lowest: #ffffff;--md-sys-color-surface-container-low: #f6f6f6;--md-sys-color-surface-container: #f1f1f1;--md-sys-color-surface-container-high: #eaeaea;--md-sys-color-surface-container-highest: #e4e4e4;--md-sys-color-on-surface: #1b1b1b;--md-sys-color-on-surface-variant: #474747;--md-sys-color-outline: #777777;--md-sys-color-outline-variant: #c7c7c7;--md-sys-color-error: #1b1b1b;--md-sys-color-on-error: #ffffff;--md-sys-color-error-container: #eaeaea;--md-sys-color-on-error-container: #1b1b1b;--md-sys-color-inverse-surface: #2f2f2f;--md-sys-color-inverse-on-surface: #f4f4f4;--md-elevation-1: 0 1px 2px rgba(0, 0, 0, .3), 0 1px 3px 1px rgba(0, 0, 0, .12);--md-elevation-2: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 6px 2px rgba(0, 0, 0, .12);--md-elevation-3: 0 4px 8px 3px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .3);--md-shape-xs: 4px;--md-shape-sm: 8px;--md-shape-md: 12px;--md-shape-lg: 16px;--md-shape-xl: 28px;--md-shape-full: 999px;--md-motion-standard: cubic-bezier(.2, 0, 0, 1);--md-motion-emphasized: cubic-bezier(.2, 0, 0, 1);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-top: env(safe-area-inset-top, 0px);--bubble-mine-bg: #1b1b1b;--bubble-mine-fg: #ffffff}@media(prefers-color-scheme:dark){:root{--md-sys-color-primary: #e8e8e8;--md-sys-color-on-primary: #1b1b1b;--md-sys-color-primary-container: #3a3a3a;--md-sys-color-on-primary-container: #f1f1f1;--md-sys-color-secondary-container: #353535;--md-sys-color-on-secondary-container: #ececec;--md-sys-color-tertiary-container: #303030;--md-sys-color-on-tertiary-container: #e8e8e8;--md-sys-color-surface: #121212;--md-sys-color-surface-container-lowest: #0d0d0d;--md-sys-color-surface-container-low: #191919;--md-sys-color-surface-container: #1e1e1e;--md-sys-color-surface-container-high: #282828;--md-sys-color-surface-container-highest: #323232;--md-sys-color-on-surface: #e6e6e6;--md-sys-color-on-surface-variant: #c3c3c3;--md-sys-color-outline: #909090;--md-sys-color-outline-variant: #474747;--md-sys-color-error: #ededed;--md-sys-color-on-error: #1b1b1b;--md-sys-color-error-container: #353535;--md-sys-color-on-error-container: #efefef;--md-sys-color-inverse-surface: #e6e6e6;--md-sys-color-inverse-on-surface: #1e1e1e;--bubble-mine-bg: #efefef;--bubble-mine-fg: #161616}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%;margin:0}body{font-family:Roboto Flex,Roboto,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font-size:14px;line-height:1.45;overscroll-behavior:none;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit;color:inherit}.md-headline-large{font-size:2rem;line-height:2.5rem;font-weight:400;letter-spacing:0;margin:0}.md-headline-medium{font-size:1.75rem;line-height:2.25rem;font-weight:400;margin:0}.md-title-large{font-size:1.375rem;line-height:1.75rem;font-weight:400;margin:0}.md-title-medium{font-size:1rem;line-height:1.5rem;font-weight:500;letter-spacing:.009375em;margin:0}.md-body-large{font-size:1rem;line-height:1.5rem;letter-spacing:.03125em}.md-body-medium{font-size:.875rem;line-height:1.25rem;letter-spacing:.015625em}.md-label-large{font-size:.875rem;line-height:1.25rem;font-weight:500;letter-spacing:.00625em}.md-label-medium{font-size:.75rem;line-height:1rem;font-weight:500;letter-spacing:.03125em}.md-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 24px;border:none;border-radius:var(--md-shape-full);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);font-size:.875rem;font-weight:500;letter-spacing:.00625em;cursor:pointer;position:relative;overflow:hidden;transition:box-shadow .2s var(--md-motion-standard),background-color .2s var(--md-motion-standard),opacity .2s var(--md-motion-standard)}.md-button:hover:not(:disabled){box-shadow:var(--md-elevation-1)}.md-button:active:not(:disabled){box-shadow:none}.md-button:disabled{opacity:.38;cursor:not-allowed}.md-button:focus-visible,.md-icon-button:focus-visible,.md-fab:focus-visible{outline:3px solid var(--md-sys-color-primary);outline-offset:2px}.md-button--tonal{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}.md-button--outlined{background:transparent;color:var(--md-sys-color-on-surface);border:1px solid var(--md-sys-color-outline)}.md-button--text{background:transparent;color:var(--md-sys-color-on-surface);padding:0 12px}.md-button--danger{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}.md-button--large{min-height:56px;padding:0 32px;font-size:1rem;width:100%}.md-icon-button{display:inline-grid;place-items:center;width:40px;height:40px;border:none;border-radius:var(--md-shape-full);background:transparent;color:var(--md-sys-color-on-surface-variant);cursor:pointer;flex-shrink:0;transition:background-color .2s var(--md-motion-standard),opacity .2s var(--md-motion-standard)}.md-icon-button:hover:not(:disabled){background:color-mix(in srgb,var(--md-sys-color-on-surface) 10%,transparent)}.md-icon-button:disabled{opacity:.32;cursor:not-allowed}.md-card{background:var(--md-sys-color-surface-container-low);border-radius:var(--md-shape-md);padding:16px}.md-divider{height:1px;background:var(--md-sys-color-outline-variant);border:none;margin:0}.ripple{position:absolute;border-radius:50%;transform:scale(0);background:currentColor;opacity:.2;pointer-events:none;animation:ripple .5s var(--md-motion-standard) forwards}@keyframes ripple{to{transform:scale(2.4);opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}#root{isolation:isolate}::selection{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline-variant);border-radius:var(--md-shape-full)}::-webkit-scrollbar-track{background:transparent}a{color:var(--md-sys-color-primary)}
