:root{--paper: #0c0b0a;--ink: #f2eee7;--muted: #b3aaa1;--coral: #cbb0a8;--stone: rgba(28, 25, 23, .62);--line: rgba(242, 238, 231, .16);--control-line: rgba(242, 238, 231, .3);--control-line-focus: rgba(242, 238, 231, .48);--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-left: env(safe-area-inset-left, 0px);--vvh: 100%;--vvo: 0px;--root-bottom: 0px;--chrome-x: 11.2px;--composer-pad: 6px;--receipt-size: 14px;--receipt-gap: 6px;--bubble-font: 16px;--bubble-line: 1.4;--bubble-pad-y: 10px;--bubble-radius: 8px;--avatar-size: calc(var(--bubble-pad-y) * 2 + var(--bubble-font) * var(--bubble-line));--bubble-gap: calc(var(--avatar-size) / 3);--thread-x: calc(var(--avatar-gap) * 2);--thread-pad-x: var(--avatar-gap);--avatar: var(--avatar-size);--avatar-gap: 10px;--frame-w: 100vw;--bubble-rail: calc(var(--avatar) + var(--avatar-gap) + var(--thread-pad-x));--bubble-max: calc(var(--frame-w) - var(--bubble-rail) - var(--bubble-rail));--photo-max: var(--bubble-max);--fade: #9a9188;--fade-on-coral: rgba(22, 20, 18, .48);--menu: #7a746c;--wash: #141210;--on-coral: #161412;--field-fill: rgba(12, 11, 10, .4);--login-field: rgba(12, 11, 10, .4);--sheet-dim: rgba(0, 0, 0, .55);--menu-dim: rgba(0, 0, 0, .22);--menu-surface: #302b27;--sheet-dim-fill: #050505;--chrome-top: color-mix(in srgb, #0c0b0a 40%, transparent);--chrome-bar: color-mix(in srgb, #0c0b0a 50%, transparent);--heiti: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;--mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;--grain: none;--accent: #e6dfd4;--on-accent: #161412;--warn: #df6b62;--here: #3ee68f;--away: var(--out);--bubble-mine: #241f1b;--bubble-theirs: #f2eee7;--on-mine: #f2eee7;--fade-on-mine: rgba(242, 238, 231, .55);--menu-ink: #f6f1ea;--menu-line: rgba(242, 238, 231, .22);--sheet-shadow: 0 14px 36px rgba(0, 0, 0, .62);--menu-shadow: 0 14px 34px rgba(0, 0, 0, .64);--out: #ff4b40;--tail-edge: rgba(242, 238, 231, .22);--on-theirs: #161412;--fade-on-theirs: rgba(22, 20, 18, .5)}*{box-sizing:border-box}html,body{height:100%;width:100%;margin:0;overflow:hidden;overscroll-behavior:none;position:fixed;inset:0}#root{position:fixed;top:var(--vvo);bottom:var(--root-bottom);left:0;width:100%;height:var(--vvh);display:flex;flex-direction:column;overflow:hidden;background:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#root,#root *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#root input,#root textarea,#root .msg-row.selecting .bubble-text,#root .msg-row.selecting .bubble-text *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}#root img{-webkit-user-drag:none}body{background-color:var(--paper);background-image:var(--grain);background-size:140px 140px;color:var(--ink);font-family:var(--heiti)}@media(min-width:600px)and (min-height:560px){:root{--phone-w: min(430px, 100vw, calc(100dvh * 430 / 932));--frame-w: var(--phone-w)}html,body{background-color:#161412;background-image:none}#root{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:var(--phone-w);height:calc(var(--phone-w) * 932 / 430);background-color:var(--paper);background-image:var(--grain);background-size:140px 140px;border-radius:20px;box-shadow:0 18px 50px #0006}}html.mask-open,html.mask-open body,html.mask-open #root{background-color:#fff;background-image:none}.iris-scene{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;z-index:0;pointer-events:none;background:#0c0b0a;overflow:hidden}.iris-scene img{width:100%;height:auto;max-height:100%;object-fit:contain;object-position:center}.iris-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#0807068f,#0807065c 42%,#0807069e)}button,input,textarea{font:inherit;font-family:var(--heiti);color:inherit}button{cursor:pointer;border:0;background:none}input,textarea{background:transparent}input:focus,textarea:focus{outline:none;box-shadow:none}.app{position:relative;z-index:1;flex:1;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.login,.chat,.sheet,.menu-sheet,.composer,.composer-row,.thread-note,.msg-meta,.edit-chip,.seats,.error,.tagline,.theme-pick{font-family:var(--heiti)}.login{flex:1;padding:calc(48px + var(--safe-top)) 28px 32px;display:flex;flex-direction:column;position:relative}.wordmark{font-family:Songti SC,"Noto Serif SC",Newsreader,serif;font-size:42px;line-height:1.05;font-weight:500;margin:0 0 12px}.login.full .wordmark{margin-bottom:48px}.tagline{color:var(--muted);font-style:italic;margin:0 0 48px}.field{width:100%;border:1px solid var(--control-line);border-radius:14px;padding:16px 14px;margin-bottom:12px;background:var(--login-field)}.field:focus{border-color:var(--control-line-focus)}.field::placeholder,.composer-field textarea::placeholder{color:var(--muted);opacity:.72}.enter{width:100%;margin-top:8px;border-radius:999px;background:var(--accent);color:var(--on-accent);padding:14px;font-weight:500}.enter:disabled{opacity:.6}.seats{position:absolute;left:0;right:0;bottom:calc(.5rem + var(--safe-bottom));margin:0;text-align:center;color:var(--muted);font-size:13px;pointer-events:none}.error{color:var(--out);padding-inline-start:15px;font-size:14px;min-height:1.2em}.chat{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.top{flex-shrink:0;position:relative;padding:calc(12px + var(--safe-top)) var(--chrome-x) 12px;display:flex;align-items:center;justify-content:flex-end;z-index:6;background:var(--chrome-top);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.peer{position:absolute;left:calc(var(--chrome-x) + 40px);right:calc(var(--chrome-x) + 40px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;text-align:center;pointer-events:none}.peer-name{display:block;width:100%;font-family:var(--heiti);font-size:17px;font-weight:500;line-height:1.3;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}button.peer-name{appearance:none;pointer-events:auto;margin:0;padding:0;border:0;background:none;color:inherit;cursor:pointer;text-align:inherit}.peer-status{display:block;max-width:100%;font-family:var(--heiti);font-size:12px;font-weight:400;line-height:1.3;letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.peer-status-duration{font-family:var(--mono);font-variant-numeric:tabular-nums}.status-on{color:var(--here)}.status-off{color:var(--away)}.gear{position:relative;z-index:1;width:40px;height:40px;border-radius:999px;border:1px solid var(--control-line);display:grid;place-items:center;color:var(--ink)}.icon-glyph{width:20px;height:20px;display:block}.gear .icon-glyph{width:21px;height:21px}.sheet-backdrop{position:absolute;inset:0;background:var(--sheet-dim);z-index:4}.sheet{position:absolute;right:var(--chrome-x);top:calc(60px + var(--safe-top));background:color-mix(in srgb,var(--paper) 94%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--line);border-radius:16px;padding:8px 12px;min-width:248px;z-index:5;box-shadow:var(--sheet-shadow)}.sheet-who{margin:4px 4px 8px;padding:2px 0 12px;border-bottom:1px solid var(--line)}.sheet-who-label{display:block;font-family:var(--heiti);font-size:11px;font-weight:400;color:var(--muted);margin-bottom:2px}.sheet-you{display:flex;align-items:center;gap:10px;margin-top:6px}.sheet-avatar{flex-shrink:0;width:40px;height:40px;padding:0;border-radius:var(--bubble-radius);border:1px solid var(--control-line);overflow:hidden;background:var(--stone);cursor:pointer}.sheet-avatar img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.sheet-avatar.busy{opacity:.55}.sheet-avatar-file{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.sheet-name-wrap{position:relative;flex:1;min-width:0}.sheet-name{width:100%;font-family:var(--heiti);font-size:16px;line-height:1.3;padding:8px 52px 8px 10px;border:1px solid var(--control-line);border-radius:12px;background:transparent;color:inherit}.sheet-name:focus{border-color:var(--control-line-focus)}.sheet-name[aria-busy=true]{opacity:.72}.sheet-name-ok{position:absolute;right:10px;top:50%;transform:translateY(-50%);font-family:var(--heiti);font-size:12px;font-weight:400;letter-spacing:.02em;color:var(--here);pointer-events:none;animation:sheet-name-ok-fade 1.6s ease forwards}@keyframes sheet-name-ok-fade{0%,60%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.sheet-name-ok{animation:none}}.sheet-name-error{margin:6px 0 0;font-size:12px;color:var(--warn)}.sheet-section{margin:0 4px;padding:10px 0 12px;border-bottom:1px solid var(--line)}.sheet-out{display:block;box-sizing:border-box;width:calc(100% - 8px);margin:18px 4px 10px;padding:8px;border-radius:999px;background:var(--stone);color:var(--out);text-align:center;font-size:13px;font-weight:500}.theme-picks{display:flex;gap:6px;margin-top:8px}.theme-pick{flex:1;min-width:0;padding:8px 4px;border-radius:999px;border:1px solid var(--control-line);font-size:12px;font-weight:500;text-align:center;color:var(--ink)}.theme-pick.on{background:var(--accent);color:var(--on-accent);border-color:transparent}.thread-wrap{flex:1;min-height:0;position:relative;display:flex;flex-direction:column}.thread{position:relative;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;overflow-anchor:none;padding:calc(16px + var(--edit-pin-top, 0px)) var(--thread-pad-x, 16px) 8px;display:flex;flex-direction:column;gap:var(--bubble-gap)}.jump-latest{position:absolute;left:50%;bottom:10px;z-index:2;transform:translate(-50%);min-width:36px;height:36px;padding:0 9px;border-radius:999px;border:1px solid var(--control-line);background:var(--chrome-bar);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:var(--ink);box-shadow:0 4px 14px #2a221c1f;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.jump-latest:not(.has-new){border-color:transparent;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.jump-latest:not(.has-new) svg{width:22px;height:22px;filter:drop-shadow(0 1px 2px color-mix(in srgb,var(--paper) 80%,transparent))}.jump-latest.has-new{padding:0 14px 0 11px}.jump-latest-count{font-size:13px;font-weight:600;line-height:1}.jump-latest-count b{font-family:var(--mono);font-weight:600}.jump-latest svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.msg-row{position:relative;z-index:0;display:flex;flex-direction:row;align-items:flex-start;width:max-content;max-width:100%;min-width:0}.msg-row.theirs{align-self:flex-start}.msg-row.mine{align-self:flex-end;flex-direction:row-reverse}.msg-row.mine .avatar-hit{margin-inline-end:0;margin-inline-start:var(--avatar-gap)}.msg-row.mine .msg-meta{left:auto;right:100%}.avatar-hit{position:relative;padding:0;border:0;background:none;flex:0 0 var(--avatar);width:var(--avatar);height:var(--avatar);margin-inline-end:var(--avatar-gap);cursor:pointer}.avatar{position:absolute;inset:0;display:block;width:100%;height:100%;border-radius:var(--bubble-radius);object-fit:contain;object-position:center;background:#1a1613}.bubble{position:relative;display:flex;flex-direction:column;align-items:stretch;width:max-content;max-width:var(--bubble-max);min-width:0;flex:0 0 auto;--bubble-pad-x: 12px;padding:var(--bubble-pad-y) var(--bubble-pad-x);border-radius:var(--bubble-radius);font-size:var(--bubble-font);line-height:var(--bubble-line);text-align:left;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:pointer}.bubble,.bubble *{-webkit-tap-highlight-color:transparent}.msg-row.selecting .bubble-text{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}.msg-row.selecting .bubble{outline:1px dashed var(--menu);outline-offset:2px}:root .msg-row.selecting .bubble{outline-color:var(--accent)}.bubble-text{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.edited-mark{margin-left:.35em;font-size:.8em;color:var(--fade);white-space:nowrap}.bubble.mine .edited-mark{color:var(--fade-on-mine)}.bubble.voice{width:var(--bubble-max)}.bubble-voice{display:flex;align-items:center;gap:10px;width:100%;min-width:0}.bubble-voice-time{flex:0 0 auto;min-width:3ch;text-align:end}.bubble-voice-seek{position:relative;flex:1 1 auto;min-width:2.5rem;height:22px;touch-action:none;cursor:pointer}.bubble-voice-seek:before{content:"";position:absolute;inset-inline:0;top:50%;height:2px;border-radius:1px;background:currentColor;opacity:.22;transform:translateY(-50%)}.bubble-voice-seek-fill{position:absolute;left:0;top:50%;width:calc(var(--voice-p, 0) * 100%);height:2px;border-radius:1px;background:currentColor;opacity:.5;transform:translateY(-50%);pointer-events:none}.bubble-voice-seek-fill:after{content:"";position:absolute;top:50%;right:0;width:7px;height:7px;border-radius:50%;background:inherit;opacity:0;transform:translate(50%,-50%)}.bubble-voice.playing .bubble-voice-seek-fill,.bubble-voice.paused .bubble-voice-seek-fill{background:var(--on-mine);opacity:1}.bubble.theirs .bubble-voice.playing .bubble-voice-seek-fill,.bubble.theirs .bubble-voice.paused .bubble-voice-seek-fill{background:var(--on-theirs)}.bubble-voice.playing .bubble-voice-seek-fill:after,.bubble-voice.paused .bubble-voice-seek-fill:after{opacity:1}.bubble-voice-rule{flex:0 0 1px;align-self:stretch;margin-block:1px;background:currentColor;opacity:.28}.bubble-voice-play{display:grid;place-items:center;flex:0 0 auto;width:22px;height:22px;padding:0;border:0;background:none;color:inherit;cursor:pointer}.bubble-voice-play .icon-glyph{width:18px;height:18px}.bubble-voice.playing .bubble-voice-play{color:var(--on-mine)}.bubble.theirs .bubble-voice.playing .bubble-voice-play{color:var(--on-theirs)}.icon-btn.hold-voice{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.icon-btn.recording{border-color:transparent;background:var(--here);color:#161412}.icon-btn.recording.canceling{background:var(--out);color:#fff}.bubble.photo{max-width:var(--photo-max);--bubble-pad-x: 0px;padding:0;background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none}.bubble-photo{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.bubble-img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain;border-radius:var(--bubble-radius);pointer-events:none}.photo-view{position:absolute;inset:0;z-index:25;overflow:hidden;background:#000;touch-action:none;user-select:none;-webkit-user-select:none}.photo-view-track{display:flex;height:100%;width:100%;will-change:transform}.photo-view-track.is-settling{transition:transform var(--photo-slide-ms, .42s) cubic-bezier(.22,1,.36,1),opacity var(--photo-slide-ms, .42s) cubic-bezier(.22,1,.36,1)}.photo-view-slide{flex:0 0 100%;width:100%;height:100%;display:grid;place-items:center}.photo-view-image-stack{position:relative;width:100%;height:100%;transform-origin:center center;will-change:transform}.photo-view-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}.photo-view-detail,.photo-view-original{opacity:0;transition:opacity .14s ease}.photo-view-detail.ready,.photo-view-original.ready{opacity:1}.bubble.mine{background:var(--bubble-mine);color:var(--on-mine)}.bubble.theirs{background:var(--bubble-theirs)}:root .bubble.mine{border:1px solid var(--tail-edge)}:root .bubble.theirs{color:var(--on-theirs)}:root .bubble.theirs .edited-mark{color:var(--fade-on-theirs)}.bubble.photo,.bubble.photo.mine,.bubble.photo.theirs,:root .bubble.photo.mine,:root .bubble.photo.theirs{padding:0;background:none;border:0;-webkit-backdrop-filter:none;backdrop-filter:none}.msg-meta{--meta-s: calc((var(--bubble-rail) - 5ch - var(--receipt-size)) / 3);position:absolute;left:100%;bottom:var(--bubble-radius);transform:translateY(50%);display:flex;flex-direction:row;align-items:center;box-sizing:border-box;height:auto;width:max-content;margin:0;padding-left:var(--meta-s);padding-right:var(--meta-s);gap:var(--meta-s);font-size:11px}.msg-meta:has(.receipt){display:grid;grid-template-columns:1fr max-content 1fr max-content 1fr;width:var(--bubble-rail);padding:0;gap:0}.msg-meta:has(.receipt) .meta-time{grid-column:2}.msg-meta:has(.receipt) .receipt{grid-column:4}.meta-time,.bubble-voice-time,.voice-rec-time{font-family:var(--mono);font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}.meta-time{width:max-content;overflow:hidden;line-height:1;color:var(--fade);white-space:nowrap}.receipt{display:flex;flex-shrink:0;width:var(--receipt-size);height:var(--receipt-size);cursor:pointer}.receipt-icon{width:var(--receipt-size);height:var(--receipt-size);display:block;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.receipt.sent{color:var(--muted)}.receipt.read{color:var(--here)}.thread-note{font-size:12px;color:var(--muted);text-align:center;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.day-mark{align-self:center;padding:12px 0 4px}.recalled{align-self:center;padding:6px 0}.composer-wrap{--composer-rail: 40px;flex-shrink:0;z-index:0;display:flex;flex-direction:column;min-height:0;padding:8px var(--chrome-x) var(--composer-pad);background:var(--chrome-bar);border-top:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.chat.compose-full .thread-wrap{display:none}.chat.compose-full .composer-wrap{flex:1;border-top:none;background-color:var(--paper);background-image:var(--grain);background-size:140px 140px;-webkit-backdrop-filter:none;backdrop-filter:none}.chat.compose-full .composer-row{flex:1;min-height:0;align-items:stretch}.edit-chip{display:grid;grid-template-columns:minmax(0,1fr) var(--composer-rail);align-items:start;min-height:0;font-size:13px;line-height:20px;color:var(--muted);padding:2px 1px 8px 4px}.edit-chip button{width:var(--composer-rail);height:20px;display:grid;place-items:center;font-size:20px;line-height:1;color:var(--muted)}.quote-chip-copy{min-width:0;flex:1}.quote-preview{margin:2px 0 0;min-width:0;font-size:12px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-preview-photo,.bubble-quote-photo{display:block;margin-top:4px;width:56px;height:56px;object-fit:cover;border-radius:6px}.quote-preview-photo{margin-top:6px}.bubble-quote{display:flex;flex-direction:column;align-items:stretch;align-self:stretch;gap:2px;min-width:0;max-width:100%;margin:0 0 8px;padding:0 0 8px;border:0;border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);background:transparent;text-align:left;cursor:pointer}.bubble-quote-body{display:block;width:max-content;max-width:calc(var(--bubble-max) - var(--bubble-pad-x) * 2);font-size:13px;line-height:1.35;color:var(--fade);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bubble.mine .bubble-quote-body{color:var(--fade-on-mine)}.bubble.theirs .bubble-quote-body{color:var(--fade-on-theirs, var(--fade))}.quoted-flash{outline:1px dashed var(--menu);outline-offset:2px}:root .quoted-flash{outline-color:var(--accent)}.composer-row{--composer-side: 40px;--composer-gap: var(--chrome-x);display:grid;grid-template-columns:var(--composer-side) minmax(0,1fr) var(--composer-side);column-gap:var(--composer-gap);align-items:center;width:100%;min-height:40px;min-width:0;transition:grid-template-columns .26s cubic-bezier(.32,.72,0,1),column-gap .26s cubic-bezier(.32,.72,0,1)}.composer-row.composing:not(.recording){grid-template-columns:0 minmax(0,1fr) 0;column-gap:0}.composer-row.recording{grid-template-columns:var(--composer-side) minmax(0,1fr) var(--composer-side);column-gap:0}.composer-plus,.composer,.composer-overlay,.composer-rec{min-width:0;overflow:hidden}.composer-plus{display:flex;align-items:center;justify-content:center}.composer-plus .icon-btn,.composer-end .hold-voice{transition:transform .26s cubic-bezier(.32,.72,0,1),opacity .18s ease}.composer-row.composing .composer-plus .icon-btn,.composer-row.recording .composer-plus .icon-btn{transform:translate(-120%);opacity:0;pointer-events:none}.composer-row.composing:not(.recording) .hold-voice{transform:translate(120%);opacity:0;pointer-events:none}.composer-end{display:flex;align-items:center;justify-content:center;gap:calc(40px / 3);min-width:0;overflow:hidden}.composer-rec{display:flex;align-items:center;justify-content:center;align-self:stretch}.composer{display:flex;flex-direction:column;flex:0 0 auto;min-height:0}.composer-field{--composer-max-height: calc(var(--bubble-pad-y) * 2 + var(--bubble-font) * var(--bubble-line) * 4);position:relative;flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--control-line);border-radius:8px;background:var(--field-fill)}.composer-field:focus-within{border-color:var(--control-line-focus)}.composer-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:row;align-items:stretch}.composer-field textarea{flex:1;min-width:0;width:100%;min-height:40px;max-height:var(--composer-max-height);border:0;border-radius:8px 0 0 8px;padding:10px 12px 10px 14px;background:transparent;resize:none;overflow-x:hidden;overflow-y:auto;line-height:1.4;white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word;-webkit-tap-highlight-color:transparent}.composer-rail{flex:0 0 var(--composer-rail);width:var(--composer-rail);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0}.composer-overlay{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.composer-overlay .composer-field{flex:1;min-height:0}.composer-overlay textarea{flex:1;min-height:0;height:100%;max-height:none}.composer-size{flex-shrink:0;width:var(--composer-rail, 40px);height:var(--composer-rail, 40px);display:grid;place-items:center;color:var(--muted)}.voice-rec{display:flex;flex-direction:column;align-items:center;gap:1px;margin:0;min-width:0;width:100%;text-align:center;color:var(--here);font-family:var(--heiti);font-size:13px;letter-spacing:.02em;line-height:1.15;pointer-events:none}.voice-rec.canceling{color:var(--out)}.voice-rec-hint{margin:0}.voice-rec-time{letter-spacing:0;min-width:3ch}.composer-send{--composer-send-inset: 14px;flex:0 0 auto;display:flex;justify-content:flex-end;padding:8px var(--composer-send-inset) var(--composer-send-inset)}.send-btn{background:none}@media(prefers-reduced-motion:reduce){.composer-row,.composer-plus .icon-btn,.composer-end .hold-voice{transition:none}}.composer-size .icon-glyph{width:18px;height:18px}.icon-arrows{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-btn{flex-shrink:0;width:40px;height:40px;border-radius:999px;border:1px solid var(--control-line);display:grid;place-items:center;color:var(--ink)}.icon-btn .icon-glyph{width:18px;height:18px}.icon-btn:disabled{opacity:.45}.send-btn:disabled{opacity:1;background:none;color:var(--ink)}.send-btn:enabled{background:#fff;color:#161412}.hidden{display:none}.menu-backdrop{position:absolute;inset:0;z-index:6;border:0;padding:0;background:var(--menu-dim)}.menu-sheet{position:absolute;left:12px;top:12px;z-index:7;display:flex;flex-direction:column;width:164px;max-width:calc(100% - 24px);padding:4px;border:1px solid var(--menu-line);border-radius:12px;background:color-mix(in srgb,var(--menu-surface) 96%,transparent);color:var(--menu-ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:var(--menu-shadow);animation:menu-pop .15s cubic-bezier(.22,1,.36,1);transform-origin:center;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.menu-sheet[data-placement=right]{transform-origin:left center}.menu-sheet[data-placement=left]{transform-origin:right center}.menu-sheet[data-placement=above]{transform-origin:center bottom}.menu-sheet[data-placement=below]{transform-origin:center top}.menu-sheet *{-webkit-user-select:none;user-select:none}@keyframes menu-pop{0%{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}.menu-sheet button{display:flex;align-items:center;gap:11px;width:100%;height:44px;padding:0 11px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:15px;font-weight:500;text-align:left;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.menu-sheet button:active{background:color-mix(in srgb,var(--menu-ink) 10%,transparent)}.menu-sheet button+button{border-top:1px solid var(--menu-line)}.menu-sheet button .icon-glyph{width:20px;height:20px;flex-shrink:0}.menu-sheet .icon-action{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.menu-sheet button.danger{color:var(--out)}@media(prefers-reduced-motion:reduce){.menu-sheet{animation:none}}.story-open{position:relative;z-index:1;width:40px;height:40px;margin-right:auto;border:1px solid var(--control-line);border-radius:999px;display:grid;place-items:center;color:var(--ink)}.story-open.has-next-time{border-color:color-mix(in srgb,var(--here) 55%,transparent);color:var(--here)}.story-countdown{color:var(--here);font-family:var(--mono);font-size:12px;font-weight:600;line-height:1;letter-spacing:-.02em;white-space:nowrap}.story-open.next-time-today:before{content:"";position:absolute;inset:-1px;border-radius:999px;box-shadow:0 0 color-mix(in srgb,var(--here) 55%,transparent);animation:next-time-today-pulse 2.2s ease-out infinite;pointer-events:none}.story-open.next-time-today .story-countdown{animation:next-time-today-glow 2.2s ease-in-out infinite}@keyframes next-time-today-pulse{0%{box-shadow:0 0 color-mix(in srgb,var(--here) 55%,transparent)}70%{box-shadow:0 0 0 10px color-mix(in srgb,var(--here) 0%,transparent)}to{box-shadow:0 0 color-mix(in srgb,var(--here) 0%,transparent)}}@keyframes next-time-today-glow{0%,to{text-shadow:0 0 0 transparent}50%{text-shadow:0 0 6px var(--here)}}@media(prefers-reduced-motion:reduce){.story-open.next-time-today:before{animation:none;box-shadow:0 0 0 4px color-mix(in srgb,var(--here) 30%,transparent)}.story-open.next-time-today .story-countdown{animation:none}}.story-open.has-story-update:after{content:"";position:absolute;top:3px;right:3px;width:7px;height:7px;border:1px solid var(--paper);border-radius:50%;background:var(--out)}.icon-story,.icon-back{fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.chat.compose-full>.story-open{display:none}.relationship-route-story>.top,.relationship-route-story>.thread-wrap,.relationship-route-story>.composer-wrap{visibility:hidden;pointer-events:none}.relationship-surface{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;overflow:hidden;background-color:var(--paper);background-image:var(--grain);background-size:140px 140px}.relationship-top{flex:0 0 auto;position:relative;height:calc(64px + var(--safe-top));padding:var(--safe-top) var(--chrome-x) 0;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:var(--chrome-top)}.relationship-top h1{position:absolute;left:90px;right:90px;margin:0;text-align:center;font-size:17px;font-weight:500}.story-home{width:100%;color:inherit;font:inherit;text-align:center}.relationship-back{height:40px;min-width:70px;display:flex;align-items:center;gap:2px;color:var(--ink);font-size:13px}.relationship-back .icon-glyph{width:18px;height:18px}.relationship-action{width:40px;height:40px;display:grid;place-items:center;margin-right:-8px;color:var(--ink)}.relationship-action .icon-glyph{width:22px;height:22px}.relationship-action:disabled{opacity:.32}.story-empty{flex:1;padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.story-empty-mark{position:relative;width:54px;height:54px;margin-bottom:22px}.story-empty-mark:before,.story-empty-mark:after{content:"";position:absolute;inset:8px 12px;border:1px solid var(--muted);border-radius:4px}.story-empty-mark:before{transform:rotate(-6deg)}.story-empty-mark:after{transform:translate(4px,2px) rotate(4deg)}.story-empty h2{margin:0;font-size:21px;font-weight:500}.story-empty p{margin:9px 0 24px;color:var(--muted);font-size:13px}.swipe-row{position:relative;overflow:visible;touch-action:pan-y}.swipe-action{position:absolute;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none}.swipe-action-track{display:flex;gap:8px;height:100%;width:100%;transition:transform .18s ease}.swipe-row.story,.swipe-row.story.expanded{margin-bottom:24px}.swipe-chat,.swipe-delete{flex:none;height:100%;display:grid;place-items:center;border-radius:14px;pointer-events:auto;padding:0 10px;font-size:13px;font-weight:500;line-height:1.25;text-align:center}.swipe-chat{width:80px;background:var(--ink);color:var(--paper)}.swipe-delete{width:80px;background:var(--out);color:#fff}.swipe-action-track.dragging,.swipe-face.dragging{transition:none}.swipe-chat:disabled,.swipe-delete:disabled{opacity:1}.swipe-face{position:relative;z-index:1;transition:transform .18s ease;will-change:transform}.story-page,.story-page *{-webkit-tap-highlight-color:transparent}@media(prefers-reduced-motion:reduce){.swipe-action-track,.swipe-face{transition:none}}.story-section-label{display:flex;align-items:baseline;gap:8px;margin:0 4px 8px;font-size:12px;font-weight:500;color:var(--muted)}.story-section-label small{color:var(--here);font-size:12px;font-weight:400}.story-next-slot{margin-bottom:28px}.story-next-slot>.swipe-row.story:last-child{margin-bottom:0}.story-draft-row{margin-bottom:28px}.story-list{flex:1;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;padding:18px 16px 40px}.story-entry{width:100%;padding:0;border:1px solid var(--control-line);border-radius:14px;background:color-mix(in srgb,var(--wash) 64%,transparent);color:var(--ink)}.story-entry.expanded{overflow:hidden}.story-entry.is-today{border-color:var(--here)}.story-entry.expanded .story-entry-main{border-bottom-color:var(--line);border-radius:0}.story-entry.expanded .story-compact-copy strong{white-space:normal;overflow-wrap:anywhere}.story-entry{position:relative}.story-update-dot{position:absolute;z-index:2;top:-5px;right:-5px;width:12px;height:12px;border:2px solid var(--paper);border-radius:50%;background:var(--out);box-shadow:0 0 0 3px color-mix(in srgb,var(--out) 28%,transparent);pointer-events:none}.story-compact-cover-wrap,.story-compact-cover-wrap .story-compact-cover{display:block}.story-gallery-new{position:absolute;z-index:1;top:5px;left:5px;padding:2px 7px;border-radius:999px;background:var(--out);color:#fff;font-size:11px;font-weight:600;line-height:1.3;box-shadow:0 2px 10px #00000059;pointer-events:none;animation:story-gallery-new-life 3s ease-out forwards}@keyframes story-gallery-new-life{0%{opacity:0;transform:translateY(-4px)}8%{opacity:1;transform:none}88%{opacity:1;transform:none}to{opacity:0;transform:none}}@media(prefers-reduced-motion:reduce){.story-gallery-new{animation:none}}.story-comment.new .story-comment-heading strong:before{content:"";display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:var(--out);vertical-align:1px}.story-entry-edit{position:absolute;top:18px;right:25px;width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--control-line);border-radius:999px;color:var(--ink)}.story-entry-edit .icon-glyph{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.story-entry-edit:disabled{opacity:.34}.story-compact-date.story-date-pick{position:relative;border:1px dashed var(--control-line);border-radius:10px;cursor:pointer}.story-compact-date.story-date-pick:focus-within{border-style:solid;border-color:var(--control-line-focus)}.story-date-pick input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;-webkit-appearance:none;appearance:none}.story-title-input{display:block;width:100%;min-width:0;height:auto;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:inset 0 -1px 0 var(--control-line);color:var(--ink);font:inherit;font-size:16px;font-weight:500;line-height:1.3}.story-title-input:focus{outline:none;box-shadow:inset 0 -1px 0 var(--control-line-focus)}.story-entry-edit-actions{position:absolute;top:23px;right:13px;display:flex;gap:4px}.story-entry-edit-actions button{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--control-line);border-radius:999px;color:var(--ink)}.story-entry-edit-actions .primary{border-color:transparent;background:var(--ink);color:var(--paper)}.story-entry-edit-actions button:disabled{opacity:.34}.story-entry-edit-actions .icon-glyph{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.story-draft-error{margin:0 0 10px;color:var(--out);font-size:12px}.story-draft .story-gallery-empty:disabled,.story-draft .story-comment-form textarea:disabled{cursor:default;opacity:.55}.story-entry-main{width:100%;min-height:76px;display:grid;grid-template-columns:48px minmax(0,1fr) 64px;align-items:center;gap:11px;padding:9px 12px;border:1px solid transparent;border-radius:13px;background:transparent;color:var(--ink);text-align:left}.story-compact-date{display:flex;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;border-right:1px solid var(--line);color:var(--muted)}.story-compact-date strong,.story-compact-date small{display:block;margin:0}.story-compact-date strong{color:var(--ink);font-family:var(--mono);font-size:18px;font-weight:500;line-height:1}.story-compact-date small{margin-top:3px;font-size:9px;text-transform:uppercase}.story-compact-cover{width:64px;height:56px;border-radius:8px;object-fit:cover;background:var(--wash)}.story-compact-cover.empty{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);color:var(--muted);font-size:9px;letter-spacing:.08em;text-transform:uppercase}.story-compact-copy{min-width:0}.story-compact-copy strong,.story-compact-copy small{display:block}.story-compact-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:500;line-height:1.3}.story-compact-copy small{margin-top:5px;color:var(--muted);font-size:11px}.story-card-details{padding:12px 12px 16px;animation:story-card-open .18s cubic-bezier(.22,1,.36,1)}@keyframes story-card-open{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.story-card-details{animation:none}}.story-gallery-shell{position:relative}.story-grid{--grid-gap: 8px;display:grid;grid-template-columns:repeat(var(--grid-cols, 3),minmax(0,1fr));gap:var(--grid-gap);touch-action:pan-y}.story-grid-cell{position:relative;display:block;width:100%;min-width:0;margin:0;padding:0;aspect-ratio:1;overflow:hidden;border-radius:6px;background:var(--wash);-webkit-appearance:none;appearance:none;line-height:0}.story-grid-cell img{width:100%;height:100%;display:block;object-fit:cover}.story-grid.managing .story-grid-cell{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.story-grid.managing .story-grid-cell img{-webkit-user-drag:none;pointer-events:none}.story-grid.managing .story-grid-cell:after{content:"";position:absolute;inset:0;border:2px solid transparent;border-radius:inherit;pointer-events:none}.story-grid.managing .story-grid-cell.selected:after{border-color:var(--ink);background:#0c0b0a2e}.story-grid-check{position:absolute;top:6px;right:6px;z-index:1;width:20px;height:20px;display:grid;place-items:center;border:1.5px solid #f2eee7;border-radius:50%;background:#0c0b0a47;color:#f2eee7;line-height:0;pointer-events:none}.story-grid-check svg{width:12px;height:12px}.story-grid-cell.selected .story-grid-check{border-color:var(--ink);background:var(--ink);color:var(--paper)}.story-grid-cell.dragging{z-index:3;box-shadow:0 10px 24px #0c0b0a47;transition:box-shadow .12s ease-out;will-change:transform}.story-grid.reordering{touch-action:none}.story-grid-cover{position:absolute;top:16px;left:50%;z-index:1;transform:translate(-50%,-50%);padding:2px 6px;line-height:1.4;white-space:nowrap;border-radius:999px;background:#0c0b0ab8;color:#f2eee7;font-size:9px;letter-spacing:.06em;text-transform:uppercase;pointer-events:none}.story-grid-more{position:absolute;inset:0;display:grid;place-items:center;background:#0c0b0a85;color:#f2eee7;font-family:var(--mono);font-size:18px;font-weight:500;pointer-events:none}.story-gallery-empty{width:100%;aspect-ratio:4 / 3;display:grid;place-items:center;border-radius:12px;background:var(--wash);color:var(--muted);font-size:13px}.story-gallery-toolbar{min-height:46px;display:flex;align-items:center;gap:8px;padding:8px 0 0}.story-gallery-toolbar button{min-height:32px;padding:0 11px;border:1px solid var(--control-line);border-radius:999px;color:var(--muted);font-size:11px}.story-gallery-manage,.story-gallery-delete{margin-left:auto}.story-gallery-delete{color:var(--out)!important;border-color:color-mix(in srgb,var(--out) 42%,transparent)!important}.story-gallery-delete:disabled{opacity:.4}.story-gallery-count{color:var(--muted);font-family:var(--mono);font-size:10px}.story-comments{margin-top:18px;border-top:1px solid var(--line)}.story-comments h3{margin:14px 0 4px;color:var(--muted);font-size:12px;font-weight:500}.story-comment{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.story-comment img{width:32px;height:32px;border-radius:var(--bubble-radius);object-fit:contain}.story-comment-content{min-width:0}.story-comment-heading{display:flex;align-items:baseline;gap:8px;margin-bottom:4px}.story-comment-heading strong{font-size:12px;font-weight:500}.story-comment-heading time{color:var(--fade);font-family:var(--mono);font-size:10px}.story-comment-actions{display:flex;gap:12px;margin-left:auto}.story-comment-actions button{padding:2px 0;color:var(--muted);font-size:11px}.story-inline-confirm-copy{color:var(--ink);font-size:12px}.story-comment-actions.confirming{align-items:baseline;animation:story-inline-confirm-in .14s ease-out}.story-comment-actions.confirming .story-inline-confirm-copy{font-size:11px}.story-comment-actions .danger{border-color:color-mix(in srgb,var(--out) 70%,transparent);color:var(--out)}@keyframes story-inline-confirm-in{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.story-comment-actions.confirming{animation:none}}.story-comment-edit textarea{display:block;width:100%;min-width:0;min-height:40px;max-height:120px;padding:8px 10px;border:1px solid var(--control-line-focus);border-radius:10px;background:var(--field-fill);color:var(--ink);font:inherit;font-size:16px;line-height:1.45;resize:none;field-sizing:content}.story-comment-edit textarea:focus{outline:none}.story-comment-edit>div{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.story-comment-edit button{min-width:72px;height:32px;padding:0 12px;border:1px solid var(--control-line);border-radius:999px;color:var(--ink);font-size:12px}.story-comment-edit .primary{border-color:transparent;background:var(--ink);color:var(--paper)}.story-comment-edit .primary:disabled{opacity:.34}.story-comment p{margin:0;color:var(--ink);font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.story-comment-form{display:flex;align-items:flex-end;gap:8px;margin-top:12px}.story-comment-form textarea{flex:1;min-width:0;min-height:40px;max-height:120px;padding:10px 12px;border:1px solid var(--control-line);border-radius:12px;background:var(--field-fill);color:var(--ink);font:inherit;font-size:16px;line-height:1.4;resize:none;field-sizing:content}.story-comment-form textarea:focus{outline:none;border-color:var(--control-line-focus)}.story-comment-form button{flex:none;height:40px;padding:0 16px;border-radius:999px;background:var(--ink);color:var(--paper);font-size:13px;font-weight:500}.story-comment-form button:disabled{opacity:.34}.bubble-story{display:flex;flex-direction:column;align-items:stretch;gap:5px;width:min(240px,100%);max-width:100%;min-width:0;margin:0 0 8px;padding:0 0 9px;border:0;border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit;text-align:left}.bubble-story small{color:var(--fade-on-mine);font-size:10px;text-transform:uppercase}.bubble.theirs .bubble-story small{color:var(--fade-on-theirs, var(--fade))}.bubble-story strong{display:block;max-width:100%;font-size:13px;font-weight:500;white-space:normal;overflow-wrap:anywhere;word-break:break-word}.bubble-story img{width:52px;height:52px;margin-top:3px;border-radius:7px;object-fit:cover}.bubble-story.removed{margin-bottom:0;padding-bottom:0;border-bottom:0;color:var(--fade);font-size:13px}.mask-cover{position:absolute;inset:0;z-index:20;background:#fff;touch-action:manipulation}.mask-pad{position:absolute;top:var(--safe-top);left:var(--safe-left);width:56px;height:56px;padding:0;border:0;background:transparent;-webkit-tap-highlight-color:transparent;touch-action:manipulation}.mask-pad:focus{outline:none}
