:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#191919;background:#ededed;font-synthesis:none;--green: #07a957;--chat-green: #95ec69;--muted: #888;--line: #e7e7e7;--page: #ededed;--link: #576b95}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{-webkit-tap-highlight-color:transparent}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit;cursor:pointer;padding:0}button:disabled{opacity:.42;cursor:default}a{color:var(--link);text-decoration:none}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1{font-size:18px;font-weight:600}h2{font-size:20px}h3{font-size:16px;font-weight:500}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--green);outline-offset:3px}button svg,a svg{flex-shrink:0}input,textarea,select{min-width:0;border:1px solid var(--line);border-radius:6px;background:#f7f7f7;padding:12px;color:#191919;outline:none}input:focus,textarea:focus,select:focus{border-color:#6bbe8c}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--green)}input[type=range]{padding:0;accent-color:var(--green)}button,textarea,input{-webkit-text-size-adjust:100%}.app-shell{position:fixed;top:var(--app-top, 0);left:0;right:0;height:var(--app-height, 100dvh);max-width:1080px;margin:auto;display:grid;grid-template-columns:192px minmax(0,1fr);background:var(--page);overflow:hidden;border-inline:1px solid #ddd}.main{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.sidebar{background:#f7f7f7;border-right:1px solid #ddd;display:flex;flex-direction:column;padding:32px 16px;gap:24px}.brand{font-size:23px;letter-spacing:3px;padding-left:14px}.brand span{display:block;font-size:10px;letter-spacing:4px;color:#aaa;margin-top:8px}.sidebar nav{display:flex;flex-direction:column;gap:8px}.sidebar nav button{display:flex;align-items:center;gap:16px;padding:14px 18px;border-radius:6px;font-size:15px}.sidebar nav button.active{background:#e8eee9;color:#079a50}.nav-icon{position:relative;display:flex}.nav-icon i{position:absolute;top:-2px;right:-5px;width:8px;height:8px;border-radius:50%;background:#ed5252;border:1px solid #f7f7f7}.side-profile{margin-top:auto;display:flex;align-items:center;gap:10px;text-align:left;font-size:13px}.user-initial{width:34px;height:34px;object-fit:cover;border-radius:5px}.side-profile small{display:block;font-size:10px;color:#888;margin-top:4px}.sidebar-foot{color:#bbb;font-size:10px;letter-spacing:2px}.topbar,.page-header,.chat-heading{min-height:56px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:6px 12px;background:#ededed;border-bottom:1px solid #ddd;z-index:5}.topbar{justify-content:center}.chat-heading>div{text-align:center}.chat-heading small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.header-spacer{width:40px;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0}.page-scroll{flex:1;overflow-y:auto;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.page-header{position:sticky;top:0}.page-header h1{font-size:17px}.chat-layout,.conversation{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;scroll-behavior:auto;-webkit-overflow-scrolling:touch}.chat-content{padding:10px 22px 18px;overflow-anchor:none;min-height:100%}.date-divider,.scene-history-label{text-align:center;font-size:12px;color:#999;margin:16px 0 23px}.scene-history-label{color:var(--link);margin-bottom:12px}.message{display:flex;align-items:flex-start;gap:11px;margin:0 0 17px;position:relative;overflow-anchor:none}.chat-avatar{width:40px;height:40px;object-fit:cover;border-radius:4px;flex-shrink:0}.original-portrait{object-position:50% 22%}.message-content{max-width:76%;min-width:0}.message-target{width:fit-content;max-width:100%;touch-action:pan-y;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;border-radius:5px}.message-target.pressed .bubble{filter:brightness(.93)}.bubble{position:relative;background:#fff;padding:10px 12px;border-radius:4px;line-height:1.55;font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere;min-height:40px;text-align:left}.bubble:before{content:"";position:absolute;width:8px;height:8px;background:inherit;left:-4px;top:15px;transform:rotate(45deg)}.message.user{flex-direction:row-reverse}.message.user .message-content{display:flex;flex-direction:column;align-items:flex-end}.message.user .bubble{background:var(--chat-green)}.message.user .bubble:before{left:auto;right:-4px}.message.user .chat-avatar{order:0}.message-tools{display:flex;align-items:center;margin-top:1px}.draw-from-message{display:flex;align-items:center;gap:5px;min-height:31px;font-size:11px;color:#777;padding-inline:3px}.retry{display:flex;align-items:center;gap:5px;color:#c54b4b;font-size:12px;min-height:32px}.source-links{font-size:11px;color:#999;margin-top:8px}.source-links summary{padding:7px 0;cursor:pointer}.source-links a{display:flex;gap:5px;padding:6px 0}.typing{display:flex;align-items:center;gap:5px;min-height:40px;background:#fff;border-radius:4px;padding:12px}.typing i{width:5px;height:5px;background:#999;border-radius:50%;animation:typing 1.4s ease-in-out infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}.typing span{font-size:11px;color:#999;margin-left:7px}@keyframes typing{0%,70%,to{opacity:.4;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}.composer-area{background:#f7f7f7;border-top:1px solid #ddd;flex-shrink:0}.composer{padding:8px 12px;display:flex;gap:10px;align-items:flex-end}.composer>button{width:34px;height:40px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.composer>button:first-child svg{border:1.5px solid #444;border-radius:50%;padding:2px;width:27px;height:27px}.composer textarea{background:#fff;flex:1;width:0;max-height:100px;min-height:40px;border:0;border-radius:5px;font-size:16px;line-height:22px;resize:none;padding:9px 10px}.composer .send{background:#07b75c;color:#fff;width:56px;border-radius:5px;height:36px;font-size:14px;margin-bottom:2px}.composer .send:disabled{background:#e4e4e4;color:#a4a4a4;opacity:1}.stop span{width:11px;height:11px;background:#fff;border-radius:2px}.scene-mode{display:flex;justify-content:space-between;align-items:center;padding:10px 18px;background:#e5eee7;font-size:12px;color:#50745e}.scene-mode button{display:flex;align-items:center;gap:4px}.suggestions{display:flex;gap:8px;overflow-x:auto;padding:10px 12px 2px;scrollbar-width:none}.suggestions button{white-space:nowrap;font-size:12px;background:#fff;border:1px solid #e5e5e5;padding:9px;border-radius:4px;color:#666}.load-older{display:block;text-align:center;margin:12px auto 24px;font-size:12px;color:var(--link);min-height:38px}.selection-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;gap:16px;border-top:1px solid #ddd;background:#f7f7f7;flex-shrink:0}.selection-footer>span{font-size:13px;color:#777}.selection-footer .primary-button{width:auto;min-height:40px;margin:0}.message.selectable{align-items:flex-start;cursor:pointer}.message-check{width:22px;height:22px;min-width:22px;margin:9px 0 0;order:-1}.message.user .message-check{order:3;margin-right:auto}.message.selectable .message-content{max-width:calc(100% - 94px);pointer-events:none}.message.selectable .message-content input{pointer-events:auto}.primary-button,.outline-button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:6px;min-height:46px;padding:11px 20px;font-size:15px;font-weight:500;text-decoration:none;width:100%;margin-top:12px}.primary-button{background:#07ad56;color:#fff}.outline-button{background:#f2f2f2;color:#168344}.text-button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:14px;padding:14px;margin:6px auto 0}.small-note,.privacy-note,.page-note{font-size:12px;line-height:1.8;color:#888;margin:14px 0}.page-note{padding:0 18px}.privacy-note{text-align:center}.modal-intro{font-size:14px;color:#666;line-height:1.8;margin-bottom:20px}.sheet{border:none;border-radius:12px;background:#fff;width:calc(100% - 40px);max-width:520px;max-height:calc(var(--app-height, 100dvh) - 40px);padding:0;color:#191919;box-shadow:0 20px 70px #0003;overflow:hidden}.sheet[open]{display:flex;flex-direction:column}.sheet::backdrop{background:#0006}.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:12px 12px 12px 22px;border-bottom:1px solid #eee;flex-shrink:0}.sheet-head h2{font-size:17px;font-weight:600}.sheet-body{padding:20px 22px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.sheet.wide{max-width:720px}.stack-form,.draw-form{display:flex;flex-direction:column;gap:16px}.stack-form label,.draw-form label,.field-label{display:flex;flex-direction:column;gap:9px;font-size:14px}.stack-form input,.stack-form textarea,.field-label input{width:100%}.inline-form{display:flex;gap:10px}.inline-form input{flex:1;width:0}.inline-form button{padding:10px 14px;background:#e9f2ec;color:#12833f;border-radius:5px;flex-shrink:0}.form-error,.avatar-error{font-size:13px;line-height:1.7;color:#bb3e3e;background:#fff0f0;padding:10px;border-radius:5px}.form-error button{margin-left:10px;text-decoration:underline}.toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translate(-50%);display:flex;gap:9px;align-items:center;padding:14px 18px;width:max-content;max-width:88vw;font-size:13px;line-height:1.6;background:#222e;color:#fff;border-radius:8px;z-index:100}.auth-tabs{display:flex;margin-bottom:22px;border-bottom:1px solid #eee}.auth-tabs button{flex:1;padding:13px;color:#999}.auth-tabs button.selected{color:#059647;border-bottom:2px solid #07ad56}.message-action-grid,.chat-more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.message-action-grid button,.chat-more-grid button{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px 4px;font-size:13px}.message-action-grid button svg,.chat-more-grid button svg{color:#333}.chat-more-grid{grid-template-columns:repeat(3,1fr)}.chat-more-grid small{font-size:10px;color:#999}.story-notice{line-height:1.8;font-size:14px;color:#555}.story-notice>svg{color:#07a957}.story-notice h3{margin:12px 0;color:#222}.story-notice p{margin:12px 0}.story-notice strong{font-weight:500;color:#222}.scene-cards{display:flex;flex-direction:column;gap:10px}.scene-card{display:flex;align-items:center;gap:16px;text-align:left;background:#f5f5f5;padding:20px;border-radius:6px}.scene-card>div{flex:1}.scene-card small{display:none}.scene-card p{font-size:12px;color:#888;margin-top:6px}.scene-card>svg:first-child{color:#70957d}.danger{color:#c14c4c!important}.danger-bg{background:#d64e4e!important}.moments-page{background:#fff;min-height:100%;position:relative;padding-bottom:28px}.moments-cover{height:245px;position:relative;margin-bottom:35px;background:#617570}.moments-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,#0005);pointer-events:none}.moments-cover-photo{width:100%;height:100%;object-fit:cover;object-position:50% 0%}.moments-magic{position:absolute;z-index:1;top:14px;right:17px;display:flex;align-items:center;gap:7px;background:#0005;border:1px solid #ffffff3b;padding:9px 12px;border-radius:22px;color:#fff;font-size:12px}.moments-owner{position:absolute;z-index:1;right:20px;bottom:-23px;display:flex;align-items:center;gap:16px}.moments-owner h2{font-size:17px;color:#fff;align-self:flex-start;margin-top:16px;text-shadow:0 1px 5px #0007}.moments-owner img{width:70px;height:70px;border:3px solid white;border-radius:6px;object-fit:cover;object-position:center 25%;background:#f5f5f5}.moments-intro{padding:3px 20px 25px;display:flex;justify-content:space-between;align-items:center;color:#aaa;font-size:11px}.moments-intro button{display:flex;align-items:center;gap:6px;min-height:32px;color:var(--link);font-size:12px}.moment{display:flex;align-items:flex-start;gap:11px;padding:22px 20px;border-bottom:1px solid #f0f0f0;scroll-margin-block:30px}.moment.focused{background:#f6faf6}.moment-avatar{width:39px;height:39px;object-fit:cover;object-position:50% 25%;border-radius:4px;flex-shrink:0}.moment-body{min-width:0;flex:1}.moment-body h3{font-size:15px;color:#576b95;font-weight:600;margin:0 0 9px}.moment-note{font-size:15px;line-height:1.65;white-space:pre-line;margin-bottom:10px;overflow-wrap:anywhere}.moment-media{position:relative;width:fit-content;max-width:100%}.moment-drawing{width:270px;display:block;max-width:100%;border-radius:2px;overflow:hidden}.moment .chat-photo{max-width:270px;border-radius:2px;margin:0}.moment footer{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#aaa;font-size:11px;margin-top:12px;max-width:270px}.moment footer>span{background:#f5f5f5;color:#8d9590;padding:3px 6px;border-radius:3px}.moment-pending{width:270px;max-width:100%;padding:25px 20px;background:#f6f7f5;display:flex;flex-direction:column;align-items:center;gap:12px;color:#7e8c80;text-align:center;min-height:180px}.moment-pending p{font-size:13px;line-height:1.7}.moment-pending small{font-size:10px;color:#999}.moment-pending button{display:flex;align-items:center;gap:5px;font-size:12px;min-height:32px}.pending-remove{color:#999}.moment-select{position:absolute;inset:0;z-index:2;background:#0001;border:2px solid transparent}.moment-select>span{position:absolute;top:9px;right:9px;border:1px solid #ddd;width:24px;height:24px;background:#fff;border-radius:50%;display:grid;place-items:center}.moment-select.checked{border-color:#07ad56;background:#07ad5610}.moment-select.checked>span{background:#07ad56;color:#fff;border-color:#07ad56}.picking>button:not(.moment-select){opacity:1;pointer-events:none}.collage-instruction{text-align:center;font-size:12px;color:#57775e;background:#edf5ef;padding:13px}.collage-toolbar{position:sticky;bottom:-28px;background:#fff;box-shadow:0 -2px 16px #00000009;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 18px;z-index:3}.collage-toolbar>button:first-child{font-size:14px;color:#777;padding:10px}.collage-toolbar>span{font-size:13px;color:#777;margin-left:auto}.collage-toolbar .primary-button{width:auto;min-height:40px;margin:0;padding:10px 14px}.collage-preview-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:22px}.collage-preview-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:3px}.drawing-detail{display:block;width:100%;border-radius:5px;overflow:hidden}.empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:46px 26px;color:#a0a7a1;text-align:center}.empty h3{font-size:16px;color:#666;font-weight:400}.empty p{font-size:13px;line-height:1.8;color:#999;max-width:260px}.empty .outline-button{width:auto;min-width:120px;margin-top:10px;font-size:13px}.drawing-image{position:relative;display:block;aspect-ratio:1;width:100%;overflow:hidden;background:#f1f3ef}.drawing-image img{display:block;width:100%;height:100%;object-fit:contain;opacity:0}.drawing-image.ready img{opacity:1}.drawing-image-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#909b8f;font-size:11px;padding:20px}.spin{animation:spin 1.6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.fragment-chat{margin-top:10px;width:245px;max-width:100%;background:#fff;border-radius:5px;overflow:hidden}.fragment-preview{display:block;width:100%}.fragment-preview>span:last-child{display:flex;align-items:center;gap:6px;padding:11px;font-size:11px;color:#718276;background:#fff}.drawing-state{display:flex;gap:12px;align-items:center;padding:18px;font-size:13px}.drawing-state p{font-size:11px;color:#999;margin-top:7px;line-height:1.7}.drawing-state svg{flex-shrink:0;color:#91a896}.paper-styles{display:flex;gap:10px}.paper-styles button{border:1px solid #eee;background:#f8f8f8;display:flex;align-items:center;gap:9px;flex:1;padding:13px;border-radius:6px;font-size:13px;text-align:left}.paper-styles button.selected{background:#eff6ef;border-color:#85c298}.paper-styles small{display:block;font-size:10px;color:#999;margin-top:5px}.draw-turn-preview{margin-bottom:20px;font-size:13px;color:#777}.draw-turn-preview summary{padding:5px 0;cursor:pointer}.draw-turn-preview div{border-left:2px solid #bcd8c3;padding-left:12px;max-height:160px;overflow:auto;margin-top:10px}.draw-turn-preview p{padding:4px 0;font-size:12px;line-height:1.8}.chat-photo{display:block;max-width:235px;width:100%;border-radius:4px;overflow:hidden;margin-top:8px;padding:0;line-height:0}.chat-photo img{width:100%;height:auto;max-height:340px;object-fit:cover}.photo-viewer{border:0;padding:0;margin:0;max-width:none;max-height:none;width:100vw;height:100dvh;background:#111;color:#fff;overflow:hidden}.photo-viewer[open]{display:flex;align-items:center;justify-content:center;flex-direction:column}.photo-viewer::backdrop{background:#111}.photo-viewer>img{max-width:100%;width:auto;max-height:calc(100% - 130px - env(safe-area-inset-bottom));height:auto;object-fit:contain}.photo-viewer-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:12px;width:44px;height:44px;display:grid;place-items:center;background:#0007;border-radius:50%;z-index:1}.photo-viewer-actions{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:0;right:0;display:flex;gap:24px;justify-content:center}.photo-viewer-actions button,.photo-viewer-actions a{display:flex;align-items:center;gap:7px;min-height:44px;font-size:14px;color:#eee;padding:9px 14px;border:1px solid #666;border-radius:5px}.profile-page{min-height:100%;padding-bottom:30px;background:#ededed}.profile-identity{display:flex;align-items:center;gap:18px;padding:27px 24px;width:100%;background:#fff;text-align:left}.profile-identity>img{width:62px;height:62px;object-fit:cover;border-radius:7px}.profile-identity>span{flex:1;min-width:0}.profile-identity strong{display:block;font-size:21px;overflow-wrap:anywhere;font-weight:600}.profile-identity small{display:block;color:#aaa;font-size:12px;margin-top:9px}.profile-identity>svg{color:#c5c5c5}.relationship-cover{display:flex;align-items:center;justify-content:space-between;padding:23px 25px;background:#f8fbf7;margin:0 0 9px;gap:15px;border-top:1px solid #edf0ec}.relationship-names{font-size:12px;color:#6c7e6e;overflow-wrap:anywhere}.relationship-cover h2{font-size:15px;font-weight:400;color:#778979;margin-top:7px}.relationship-cover h2 strong{font-weight:500;font-size:38px;letter-spacing:-2px;color:#3e5b42;font-variant-numeric:tabular-nums;margin:0 4px}.relationship-date{display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-size:11px;color:#809183;min-height:44px;justify-content:center;flex-shrink:0}.relationship-date>span{display:flex;gap:5px;align-items:center;font-size:10px}.relationship-cover .outline-button{width:auto;font-size:13px}.profile-group{background:#fff;margin-bottom:9px}.profile-row{display:flex;width:100%;align-items:center;gap:15px;padding:0 18px;min-height:57px;text-align:left}.profile-row+.profile-row{border-top:1px solid #f0f0f0}.row-icon{width:25px;display:flex;align-items:center;justify-content:center;color:#577667}.profile-row>span:nth-child(2){font-size:16px;flex:1}.profile-row small{font-size:12px;color:#aaa}.profile-row>svg{color:#c9c9c9}.about-link{display:block;margin:22px auto 5px;color:#999;min-height:38px;font-size:12px}.detail-content{padding:16px}.profile-group.detail-content{padding:23px}.detail-content>.page-note{padding:0;margin-top:0}.keepsake{background:#fff;margin-bottom:12px;padding:16px;border-radius:4px}.item-meta{display:flex;align-items:center;gap:7px;color:#aaa;font-size:11px;margin-bottom:8px}.item-meta .icon-button{margin-left:auto;width:32px;height:32px}.keepsake p{font-size:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.keepsake>small{display:block;color:#aaa;font-size:11px;margin-top:15px}.memory-item{padding:18px;background:#fff;margin-bottom:10px;border-radius:4px}.memory-item p{font-size:15px;line-height:1.8}.memory-item>div{display:flex;justify-content:flex-end;gap:12px;margin-top:9px}.memory-item button{width:32px;height:32px;color:#999;display:grid;place-items:center}.memory-disabled{padding:14px;color:#8c8755;font-size:12px;background:#faf8e9;margin-bottom:12px}.reminder-item{display:flex;align-items:center;gap:13px;padding:18px 14px;background:#fff;border-bottom:1px solid #eee}.reminder-item>svg{color:#81998b;flex-shrink:0}.reminder-item>div{flex:1;min-width:0}.reminder-item h3{font-size:15px;line-height:1.6;overflow-wrap:anywhere}.reminder-item p{font-size:11px;color:#999;line-height:1.7;margin-top:5px}.setting-group{padding-inline:20px;margin-top:10px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 0}.setting-row+.setting-row{border-top:1px solid #eee}.setting-row h3{font-size:15px}.setting-row p{font-size:11px;line-height:1.7;color:#aaa;margin-top:6px}.switch{width:45px;height:27px;min-width:45px;border-radius:20px;background:#ddd;padding:3px;transition:background .18s}.switch span{display:block;width:21px;height:21px;background:#fff;box-shadow:0 1px 3px #0002;border-radius:50%;transition:transform .18s}.switch.on{background:#06bd5b}.switch.on span{transform:translate(18px)}.profile-signout{width:100%;background:#fff;margin-top:12px;min-height:55px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px}.relationship-preview{font-size:14px;text-align:center;color:#658770;background:#f1f6f2;padding:20px;border-radius:5px}.relationship-preview strong{font-size:24px}.relationship-reset{color:var(--link);text-align:left;font-size:12px;min-height:40px}.postcard-inbox{padding:22px 22px 40px}.page-title{display:none}.postcard-mailbox{display:flex;align-items:center;gap:20px;padding:22px;background:#fafbf8;border:1px solid #e1e7de;border-radius:6px}.mailbox-stamp{display:flex;flex-direction:column;align-items:center;gap:10px;padding:15px 12px;border:1px dashed #acb9a9;color:#829b7c;flex-shrink:0}.mailbox-stamp small{font-size:9px}.postcard-mailbox>div>span{font-size:10px;color:#99a391;letter-spacing:1px}.postcard-mailbox h2{font-size:15px;font-weight:500;margin:8px 0 7px}.postcard-mailbox p{font-size:11px;color:#999;line-height:1.8}.letter-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 4px}.letter-setting h3{font-size:14px}.letter-setting p{font-size:11px;color:#999;margin-top:7px}.postcard-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mail-postcard{background:#fff;overflow:hidden;border-radius:5px;display:block;text-align:left;box-shadow:0 3px 8px #00000006}.postcard-caption{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px;font-size:13px}.postcard-caption strong{display:block;font-size:13px;font-weight:500;line-height:1.6;margin-top:6px}.postcard-caption small{font-size:10px;color:#aaa}.postcard-caption>svg{color:#adb6ab;flex-shrink:0}.mail-postcard.unread .postcard-caption small{color:#209c52}.envelope{background:#fff;padding:20px;display:flex;gap:14px;align-items:center;text-align:left;border-radius:5px;grid-column:1/-1}.envelope>span{flex:1}.envelope strong{display:block;font-weight:500;margin-top:8px;font-size:14px}.envelope small{color:#999;font-size:10px}.envelope>svg{color:#8aaa8c}.postcard-empty{display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;padding:70px 20px;color:#91a28d}.postcard-empty p{font-size:13px;color:#999;line-height:1.8;max-width:250px}.postcard-empty button{font-size:13px;color:var(--link);padding:12px}.letter-art{width:100%;border-radius:4px;overflow:hidden}.letter-note{padding:24px 8px}.letter-note>span{font-size:10px;letter-spacing:1px;color:#8aa083}.letter-note h2{font-size:20px;font-weight:500;margin:14px 0}.letter-note p{font-size:15px;line-height:2;white-space:pre-wrap}.letter-note footer{text-align:right;font-size:11px;color:#999;margin-top:30px}.letter-actions{display:flex;justify-content:space-between;border-top:1px solid #eee;padding-top:15px;gap:15px}.letter-actions button,.letter-actions a{display:flex;gap:6px;align-items:center;color:#74866e;font-size:12px;min-height:40px}.site-share-preview{display:flex;align-items:center;gap:15px;background:#f7f8f5;padding:20px;border-radius:7px;margin-bottom:20px}.site-share-preview img{width:56px;height:56px;border-radius:8px}.site-share-preview h3{font-size:17px}.site-share-preview p{font-size:12px;color:#999;line-height:1.7;margin-top:6px}.share-site input{width:100%;font-size:14px}.postcard-photos{display:flex;gap:12px;margin-bottom:20px}.postcard-photos button{border:2px solid transparent;padding:4px;flex:1;border-radius:5px}.postcard-photos button.selected{border-color:#0ba855;background:#f0f7ef}.postcard-photos img{height:90px;width:100%;object-fit:cover;object-position:center 25%;border-radius:3px}.postcard-photos span{display:block;font-size:11px;margin-top:7px}.postcard-preview{max-height:550px;width:auto;max-width:100%;margin:auto;box-shadow:0 5px 20px #0002}.avatar-studio>section{margin-top:28px}.avatar-current{display:flex;align-items:center;gap:18px;margin-bottom:20px}.avatar-current>img{width:64px;height:64px;object-fit:cover;border-radius:8px}.avatar-current p{color:#999;font-size:12px;margin-top:8px}.avatar-actions{display:flex;gap:10px;align-items:center;margin:15px 0}.avatar-actions>button{flex:1;display:flex;gap:6px;align-items:center;justify-content:center;min-height:42px;font-size:12px}.avatar-actions .primary-button,.avatar-actions .outline-button{margin:0}.avatar-reset{color:#999}.avatar-style-options{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.avatar-style-options button{padding:10px 14px;border:1px solid #eee;border-radius:5px;font-size:12px}.avatar-style-options .selected{color:#1f8741;background:#eff6ed;border-color:#a1c796}.avatar-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.avatar-section-title h3{font-size:16px}.avatar-section-title>span{font-size:10px;color:#999}.avatar-section-title>button{width:36px;height:36px}.avatar-look,.avatar-idea{display:flex;flex-direction:column;gap:10px;font-size:13px;margin:15px 0}.avatar-consent{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:12px}.avatar-consent input{margin:0}.avatar-consent span{color:#999;font-size:10px;width:100%;line-height:1.7}.avatar-job-status{background:#f4f5f2;padding:24px 18px;font-size:13px;line-height:1.8;color:#929b8e;margin-top:15px}.avatar-ready-link{width:100%;padding:14px;background:#eef6eb;color:#34864a;font-size:12px;border-radius:4px}.avatar-pair{border-top:1px solid #eee;padding-top:20px}.avatar-pair-images{display:flex;gap:12px;margin-top:15px}.avatar-pair-images figure{margin:0;flex:1;min-width:0}.avatar-pair-images img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}.avatar-pair-images figcaption{text-align:center;font-size:12px;color:#999;padding:10px}.avatar-upload-list{display:flex;gap:12px;flex-wrap:wrap;margin-top:15px}.avatar-upload-list>div{width:72px;text-align:center}.avatar-upload-list img{width:72px;aspect-ratio:1;object-fit:cover;border-radius:5px}.avatar-upload-list>div>button:last-child{width:36px;height:36px;color:#999}.avatar-crop canvas{display:block;max-width:100%;margin:18px auto;border-radius:9px}.avatar-crop label{display:flex;align-items:center;gap:20px;font-size:12px;margin:18px 0}.avatar-crop input{flex:1;min-width:0}.avatar-quota{background:#f6f7f5;padding:10px}@media(min-width:601px){.chat-content{padding-inline:32px}.message-content{max-width:70%}.moments-page{max-width:720px;margin:auto}.moments-cover{height:300px}.moment{padding-inline:30px}.profile-page{max-width:720px;margin:auto}.main>.page-scroll{background:#ededed}.postcard-inbox{max-width:760px;margin:auto}.photo-viewer>img{max-width:900px}}@media(max-width:600px){.app-shell{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;border:0}.main{grid-row:1}.sidebar{grid-row:2;padding:0 0 env(safe-area-inset-bottom);border:0;border-top:1px solid #dcdcdc;background:#f7f7f7;gap:0;z-index:10}.sidebar .brand,.side-profile,.sidebar-foot{display:none}.sidebar nav{flex-direction:row;gap:0;height:56px;justify-content:space-around;align-items:stretch}.sidebar nav button{flex:1;flex-direction:column;justify-content:center;gap:4px;padding:6px 0;border-radius:0;font-size:10px;color:#626262}.sidebar nav button.active{color:#07a64b;background:none}.sidebar nav button.active svg{stroke-width:2.2}.sidebar nav svg{width:23px;height:23px}.topbar,.chat-heading,.page-header{min-height:51px;padding-top:max(6px,env(safe-area-inset-top))}.chat-content{padding:4px 12px 15px}.message{gap:10px;margin-bottom:17px}.message-content{max-width:calc(100% - 88px)}.chat-avatar{width:39px;height:39px}.bubble{font-size:16px;padding:9px 12px}.chat-photo{max-width:220px}.composer{padding:8px;gap:7px}.composer>button:first-child{width:31px}.sheet{width:100%;max-width:none;max-height:calc(var(--app-height, 100dvh) - 24px);margin:auto 0 0;border-radius:14px 14px 0 0}.sheet-body{padding:18px 20px calc(22px + env(safe-area-inset-bottom))}.sheet-head{padding:10px 12px 10px 20px}.postcard-inbox{padding:18px 16px 30px}.postcard-collection{grid-template-columns:1fr;gap:20px}.postcard-mailbox{padding:18px;gap:16px}.postcard-mailbox h2{font-size:14px}.postcard-mailbox p{font-size:10px}.moments-cover{height:214px}.moment{padding:20px 17px;gap:10px}.moment-drawing{width:240px}.moment .chat-photo{max-width:240px}.moment footer{max-width:240px}.moment-pending{width:240px}.profile-identity{padding:26px 23px}.relationship-cover{padding:22px 24px}.page-header{z-index:7}.toast{bottom:calc(84px + env(safe-area-inset-bottom))}.photo-viewer>img{max-width:100%}}:root[data-keyboard=open] .sidebar{display:none}:root[data-keyboard=open] .app-shell{grid-template-rows:minmax(0,1fr)}:root[data-keyboard=open] .composer{padding-bottom:8px}:root[data-keyboard=open] .suggestions{display:none}:root[data-keyboard=open] .toast{bottom:70px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
