:root{--color-primary: #FDD152;--color-secondary: #CCB11F;--color-accent: #2B7AB3;--color-light: #B0DCE6;--color-dark: #000000;--color-bg: #FFFFFF;--color-bg-light: #F5F5F5;--surface: #ffffff;--surface-soft: #f7f8fa;--surface-elevated: #fffdf8;--text-primary: #20252d;--text-muted: #69717e;--border-color: #d9dde4;--app-height: 100vh;--viewport-offset-top: 0px;--keyboard-inset-height: 0px;--safe-area-top: env(safe-area-inset-top, 0px);--safe-area-right: env(safe-area-inset-right, 0px);--safe-area-bottom: env(safe-area-inset-bottom, 0px);--safe-area-left: env(safe-area-inset-left, 0px);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;line-height:1.6;font-weight:400;color:var(--color-dark);background-color:var(--color-bg)}html.native-app{--safe-area-bottom: max(env(safe-area-inset-bottom, 0px), 44px)}:root[data-theme=dark]{--color-primary: #d8aa2e;--color-secondary: #f0c84e;--color-accent: #79bfff;--color-light: #294752;--color-dark: #f3efe7;--color-bg: #14171c;--color-bg-light: #20242b;--surface: #1b1f25;--surface-soft: #14171c;--surface-elevated: #22272f;--text-primary: #f3efe7;--text-muted: #abb3bf;--border-color: #3b424d}html{height:100%;height:100dvh;background:var(--color-bg);overflow:hidden}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100dvh;min-height:var(--app-height);overflow-x:hidden;overflow-y:hidden;background:var(--color-bg);-webkit-text-size-adjust:100%;overscroll-behavior-y:none;touch-action:manipulation}a{color:var(--color-accent);text-decoration:none}a:hover{text-decoration:underline}button{border-radius:8px;border:none;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:var(--color-primary);color:var(--color-dark);cursor:pointer;transition:all .3s}button:hover{background-color:var(--color-secondary);transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}button:active{transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}input,textarea{border:1px solid #ddd;border-radius:8px;padding:.6em 1em;font-size:1em;font-family:inherit;transition:border-color .3s}input:focus,textarea:focus{outline:none;border-color:var(--color-primary)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:var(--color-secondary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--color-primary)}#app{width:100%;max-width:100%;min-height:100vh;min-height:100dvh;min-height:var(--app-height);margin:0;padding:0}.card{padding:2em}h1{font-size:3.2em;line-height:1.1}html[data-theme=dark] body,html[data-theme=dark] #app,html[data-theme=dark] .chat-page,html[data-theme=dark] .chat-messages,html[data-theme=dark] .settings-page,html[data-theme=dark] .about-page,html[data-theme=dark] .login-page,html[data-theme=dark] .register-page,html[data-theme=dark] .home-page{background:var(--color-bg);color:var(--text-primary)}html[data-theme=dark] input,html[data-theme=dark] textarea,html[data-theme=dark] select{background:var(--surface);border-color:var(--border-color);color:var(--text-primary)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#8e97a4}html[data-theme=dark] .login-card,html[data-theme=dark] .register-card,html[data-theme=dark] .settings-page .band,html[data-theme=dark] .about-page .info-card,html[data-theme=dark] .permission-panel,html[data-theme=dark] .rationale-panel,html[data-theme=dark] .memory-drawer,html[data-theme=dark] .gallery-drawer{background:var(--surface);border-color:var(--border-color);color:var(--text-primary)}html[data-theme=dark] .chat-header,html[data-theme=dark] .sidebar-header,html[data-theme=dark] .settings-page .topbar,html[data-theme=dark] .about-page .topbar,html[data-theme=dark] .home-header,html[data-theme=dark] .chat-header button,html[data-theme=dark] .sidebar-header button,html[data-theme=dark] .settings-page .topbar button,html[data-theme=dark] .about-page .topbar button,html[data-theme=dark] .home-header button{color:#17140c}html[data-theme=dark] .sidebar,html[data-theme=dark] .chat-input-area,html[data-theme=dark] .message-content,html[data-theme=dark] .message-content.loading,html[data-theme=dark] .new-message-indicator,html[data-theme=dark] .pending-image,html[data-theme=dark] .message-input,html[data-theme=dark] .input-container .icon-btn,html[data-theme=dark] .attachment-panel>button>span{background:var(--surface);color:var(--text-primary);border-color:#59616d}html[data-theme=dark] .sidebar-nav a,html[data-theme=dark] .attachment-panel>button{color:var(--text-primary)}html[data-theme=dark] .sidebar-nav a:hover{background:var(--color-bg-light)}html[data-theme=dark] .intro,html[data-theme=dark] .safety-note,html[data-theme=dark] .typing-indicator{color:var(--text-muted)}html[data-theme=dark] .message-content pre,html[data-theme=dark] .message-content code,html[data-theme=dark] .message-content th{background:#262b33}html[data-theme=dark] .message-content blockquote{color:var(--text-muted);border-color:#56606d}html[data-theme=dark] .message-content th,html[data-theme=dark] .message-content td{border-color:#4b535f}html[data-theme=dark] .more-btn.active{background:#3a3424}html[data-theme=dark] .settings-page .section-head p,html[data-theme=dark] .settings-page .status-row small,html[data-theme=dark] .settings-page .toggle small,html[data-theme=dark] .about-page .hero-card p,html[data-theme=dark] .about-page .info-card p,html[data-theme=dark] .about-page .version-card span,html[data-theme=dark] .about-page .version-card small{color:var(--text-muted)}html[data-theme=dark] .settings-page .section-icon{background:#3a321d;border-color:#756937}html[data-theme=dark] .settings-page .secondary,html[data-theme=dark] .settings-page .icon-btn{background:var(--surface-elevated);color:var(--text-primary);border-color:#59616d}html[data-theme=dark] .settings-page .field select,html[data-theme=dark] .settings-page .field select option{background:var(--surface-elevated);color:var(--text-primary);border-color:#59616d;color-scheme:dark}html[data-theme=dark] .settings-page .field,html[data-theme=dark] .settings-page .toggle+.toggle,html[data-theme=dark] .settings-page .delivery-status,html[data-theme=dark] .settings-page .realtime-channel{border-color:#343b45}html[data-theme=dark] .about-page .hero-card{background:#292516;color:var(--text-primary);border-color:#756937}html[data-theme=dark] .notice-inbox .inbox-panel{background:var(--surface);color:var(--text-primary)}html[data-theme=dark] .notice-inbox .panel-header{background:linear-gradient(to right,#332c18,var(--surface));border-color:#343b45}html[data-theme=dark] .notice-inbox .panel-title,html[data-theme=dark] .notice-inbox .item-title{color:var(--text-primary)}html[data-theme=dark] .notice-inbox .notice-item{border-color:#303640}html[data-theme=dark] .notice-inbox .notice-item:hover{background:#252a32}html[data-theme=dark] .notice-inbox .notice-item.unread{background:#2a2619}html[data-theme=dark] .notice-inbox .item-preview,html[data-theme=dark] .notice-inbox .item-time,html[data-theme=dark] .notice-inbox .item-content-markdown{color:var(--text-muted)}html[data-theme=dark] .permission-panel .steps li,html[data-theme=dark] .rationale-panel li{background:var(--surface-elevated);border-color:var(--border-color)}html[data-theme=dark] .permission-panel .summary,html[data-theme=dark] .rationale-panel .summary{color:var(--text-muted)}html[data-theme=dark] .permission-panel .later,html[data-theme=dark] .rationale-panel .later{background:var(--surface);border-color:var(--border-color);color:var(--text-primary)}html[data-theme=dark] .home-page .room{background:#292a27;border-color:#59616d}html[data-theme=dark] .home-page .room:after{background:#29443e;border-color:#59616d}html[data-theme=dark] .home-page .room-detail{background:var(--surface-elevated);color:var(--text-primary);border-color:#59616d}html[data-theme=dark] .home-page .detail-content dt,html[data-theme=dark] .home-page .room-detail header p{color:var(--text-muted)}html[data-theme=dark] .home-page .furniture{color:#20262e}html[data-theme=dark] .memory-body,html[data-theme=dark] .gallery-drawer main,html[data-theme=dark] .memory-actions{background:var(--surface);color:var(--text-primary);border-color:var(--border-color)}html[data-theme=dark] ::-webkit-scrollbar-track{background:#191d22}.toast-container[data-v-e6a571fc]{position:fixed;top:calc(12px + var(--safe-area-top));right:max(12px,var(--safe-area-right));width:min(400px,calc(100vw - 24px - var(--safe-area-left) - var(--safe-area-right)));z-index:10000;display:flex;flex-direction:column;align-items:stretch;gap:10px;pointer-events:none}.toast[data-v-e6a571fc]{display:flex;align-items:center;gap:10px;padding:14px 20px;background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;border-left:4px solid;width:100%;min-width:0;max-width:none;box-sizing:border-box;position:relative;overflow:hidden;pointer-events:auto}.toast.success[data-v-e6a571fc]{border-color:#10b981;background:linear-gradient(135deg,#ecfdf5,#fff)}.toast.error[data-v-e6a571fc]{border-color:#ef4444;background:linear-gradient(135deg,#fef2f2,#fff)}.toast.warning[data-v-e6a571fc]{border-color:#f59e0b;background:linear-gradient(135deg,#fffbeb,#fff)}.toast.info[data-v-e6a571fc]{border-color:var(--color-accent);background:linear-gradient(135deg,#eff6ff,#fff)}.toast-icon[data-v-e6a571fc]{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0}.toast.success .toast-icon[data-v-e6a571fc]{background:#10b981;color:#fff}.toast.error .toast-icon[data-v-e6a571fc]{background:#ef4444;color:#fff}.toast.warning .toast-icon[data-v-e6a571fc]{background:#f59e0b;color:#fff}.toast.info .toast-icon[data-v-e6a571fc]{background:var(--color-accent);color:#fff}.toast-message[data-v-e6a571fc]{flex:1;min-width:0;font-size:14px;color:#333;font-weight:500;overflow-wrap:anywhere}html[data-theme=dark]{background:var(--surface-elevated)}.toast-progress[data-v-e6a571fc]{position:absolute;bottom:0;left:0;height:3px;background:currentColor;animation:progress-e6a571fc linear forwards;opacity:.3}.toast.success .toast-progress[data-v-e6a571fc]{background:#10b981}.toast.error .toast-progress[data-v-e6a571fc]{background:#ef4444}.toast.warning .toast-progress[data-v-e6a571fc]{background:#f59e0b}.toast.info .toast-progress[data-v-e6a571fc]{background:var(--color-accent)}@keyframes progress-e6a571fc{0%{width:100%}to{width:0%}}.toast-enter-active[data-v-e6a571fc]{animation:slideIn-e6a571fc .3s ease-out}.toast-leave-active[data-v-e6a571fc]{animation:slideOut-e6a571fc .3s ease-in}@keyframes slideIn-e6a571fc{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOut-e6a571fc{0%{transform:translate(0);opacity:1}to{transform:translate(100%);opacity:0}}.modal-overlay[data-v-e6a571fc]{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10001;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal-content[data-v-e6a571fc]{background:#fff;border-radius:16px;padding:24px;width:min(420px,calc(100vw - 32px - var(--safe-area-left) - var(--safe-area-right)));min-width:0;max-width:none;box-sizing:border-box;box-shadow:0 20px 60px #0000004d;border:3px solid var(--color-primary)}html[data-theme=dark]{background:var(--surface-elevated);color:var(--text-primary)}html[data-theme=dark]{color:var(--text-primary)}.modal-header[data-v-e6a571fc]{display:flex;align-items:center;gap:12px;margin-bottom:16px}.modal-icon[data-v-e6a571fc]{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;background:var(--color-primary);color:#333}.modal-icon.danger[data-v-e6a571fc]{background:#fee2e2;color:#dc2626}.modal-header h3[data-v-e6a571fc]{margin:0;font-size:18px;color:#333}.modal-message[data-v-e6a571fc]{color:#666;line-height:1.6;margin:0 0 24px}.modal-actions[data-v-e6a571fc]{display:flex;gap:12px;justify-content:flex-end}.modal-btn[data-v-e6a571fc]{padding:10px 24px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;border:2px solid}.modal-btn.cancel[data-v-e6a571fc]{background:#fff;border-color:#ddd;color:#666}.modal-btn.cancel[data-v-e6a571fc]:hover{background:#f5f5f5;border-color:#ccc}.modal-btn.confirm[data-v-e6a571fc]{background:var(--color-primary);border-color:#333;color:#333}.modal-btn.confirm[data-v-e6a571fc]:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.modal-btn.confirm.danger[data-v-e6a571fc]{background:#dc2626;border-color:#991b1b;color:#fff}.modal-btn.confirm.danger[data-v-e6a571fc]:hover{background:#b91c1c}.modal-enter-active[data-v-e6a571fc],.modal-leave-active[data-v-e6a571fc]{transition:opacity .2s}.modal-enter-active .modal-content[data-v-e6a571fc],.modal-leave-active .modal-content[data-v-e6a571fc]{transition:transform .2s}.modal-enter-from[data-v-e6a571fc],.modal-leave-to[data-v-e6a571fc]{opacity:0}.modal-enter-from .modal-content[data-v-e6a571fc],.modal-leave-to .modal-content[data-v-e6a571fc]{transform:scale(.9)}.sheet-backdrop[data-v-a1114819]{position:fixed;inset:0;z-index:9500;background:#14181e75;display:flex;align-items:flex-end;justify-content:center;padding:1rem max(1rem,var(--safe-area-right)) calc(1rem + var(--safe-area-bottom)) max(1rem,var(--safe-area-left));overflow-y:auto}.sheet[data-v-a1114819]{width:min(480px,100%);max-height:calc(var(--app-height,100dvh) - var(--safe-area-top) - var(--safe-area-bottom) - 2rem);overflow-y:auto;background:#fff;border:2px solid #20252d;border-radius:16px 16px 6px 6px;padding:1.4rem;box-shadow:6px 7px #f6c744}.sheet header[data-v-a1114819]{display:flex;justify-content:space-between;gap:1rem}.sheet h2[data-v-a1114819]{margin:.2rem 0;font-size:1.25rem}.sheet small[data-v-a1114819]{color:#8b6b00;font-weight:700}.sheet header button[data-v-a1114819],.text[data-v-a1114819]{border:0;background:transparent;cursor:pointer}.sheet>p[data-v-a1114819]{color:#5d6470;line-height:1.65}.sheet label[data-v-a1114819]{display:grid;gap:.45rem;font-weight:700}.sheet input[data-v-a1114819]{font:inherit;border:1.5px solid #c9ced7;border-radius:7px;padding:.8rem}.primary[data-v-a1114819]{width:100%;margin-top:1rem;border:2px solid #20252d;border-radius:7px;background:#f6c744;padding:.78rem;font-weight:800;cursor:pointer}.primary[data-v-a1114819]:disabled{opacity:.55}.text[data-v-a1114819]{width:100%;padding:.7rem;color:#586170}.hint[data-v-a1114819]{font-size:.86rem}.error[data-v-a1114819]{color:#a1262f!important;font-weight:700}@media(min-width:700px){.sheet-backdrop[data-v-a1114819]{align-items:center}.sheet[data-v-a1114819]{border-radius:10px}}.permission-overlay[data-v-830cafb8]{position:fixed;z-index:2400;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:1rem max(1rem,var(--safe-area-right)) calc(1rem + var(--safe-area-bottom)) max(1rem,var(--safe-area-left));background:#181c2280;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.permission-panel[data-v-830cafb8]{width:min(520px,100%);padding:1.25rem;border:2px solid #20252d;border-radius:8px;background:#fffdf8;box-shadow:7px 8px #20252d47;color:#20252d}header[data-v-830cafb8]{display:grid;grid-template-columns:46px 1fr 38px;align-items:center;gap:.75rem}.permission-symbol[data-v-830cafb8]{width:44px;height:44px;display:grid;place-items:center;border:2px solid #20252d;border-radius:50%;background:#f6c744}header small[data-v-830cafb8]{font-size:.65rem;font-weight:850;letter-spacing:.12em;color:#7c661b}header h2[data-v-830cafb8]{margin:.1rem 0 0;font-size:1.2rem;letter-spacing:0}.close-button[data-v-830cafb8]{width:36px;height:36px;padding:0;display:grid;place-items:center;border:1.5px solid #20252d;border-radius:50%;background:#fff;color:#20252d}.summary[data-v-830cafb8]{margin:1rem 0;color:#565f6c;line-height:1.65}.steps[data-v-830cafb8]{display:grid;gap:.65rem;margin:0;padding:0;list-style:none}.steps li[data-v-830cafb8]{display:grid;grid-template-columns:28px 1fr;align-items:start;gap:.65rem;padding:.72rem;border:1px solid #dce0e6;border-radius:6px;background:#fff}.steps b[data-v-830cafb8]{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#20252d;color:#fff;font-size:.78rem}.steps span[data-v-830cafb8]{padding-top:.1rem;line-height:1.5}.note[data-v-830cafb8]{display:flex;gap:.55rem;margin:.85rem 0 0;padding:.72rem;border-left:3px solid #d6a000;background:#fff6d8;color:#66531b;font-size:.84rem;line-height:1.55}.note svg[data-v-830cafb8]{flex:none;margin-top:.1rem}footer[data-v-830cafb8]{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.65rem;margin-top:1rem}footer button[data-v-830cafb8]{min-height:42px;padding:.62rem .9rem;border-radius:6px;font-weight:800}.later[data-v-830cafb8]{border:1px solid #cdd2da;background:#fff;color:#4f5864}.retry[data-v-830cafb8]{display:flex;align-items:center;gap:.45rem;border:2px solid #20252d;background:#f6c744;color:#20252d}.permission-sheet-enter-active[data-v-830cafb8],.permission-sheet-leave-active[data-v-830cafb8]{transition:opacity .18s ease}.permission-sheet-enter-active .permission-panel[data-v-830cafb8],.permission-sheet-leave-active .permission-panel[data-v-830cafb8]{transition:transform .18s ease}.permission-sheet-enter-from[data-v-830cafb8],.permission-sheet-leave-to[data-v-830cafb8]{opacity:0}.permission-sheet-enter-from .permission-panel[data-v-830cafb8],.permission-sheet-leave-to .permission-panel[data-v-830cafb8]{transform:translateY(18px)}@media(min-width:640px){.permission-overlay[data-v-830cafb8]{align-items:center}.permission-panel[data-v-830cafb8]{padding:1.4rem}}.backdrop[data-v-ea06136c]{position:fixed;z-index:9600;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:1rem max(1rem,var(--safe-area-right)) calc(1rem + var(--safe-area-bottom)) max(1rem,var(--safe-area-left));background:#161b2285;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sheet[data-v-ea06136c]{width:min(560px,100%);max-height:min(760px,calc(100dvh - 2rem));overflow:auto;padding:1.25rem;border:2px solid #20252d;border-radius:10px 10px 5px 5px;background:#fffdf8;box-shadow:7px 8px #e6b92f;color:#20252d}header[data-v-ea06136c]{display:grid;grid-template-columns:44px 1fr 36px;align-items:center;gap:.75rem}.mail-icon[data-v-ea06136c]{width:42px;height:42px;display:grid;place-items:center;border:2px solid #20252d;border-radius:7px;background:#f6c744}header small[data-v-ea06136c]{font-size:.68rem;font-weight:850;color:#8b6b00}h2[data-v-ea06136c]{margin:.12rem 0 0;font-size:1.25rem;letter-spacing:0}.close[data-v-ea06136c]{width:34px;height:34px;padding:0;display:grid;place-items:center;border:1.5px solid #20252d;border-radius:50%;background:#fff;color:#20252d}.lead[data-v-ea06136c]{margin:1rem 0;color:#606875;line-height:1.6}dl[data-v-ea06136c]{display:grid;margin:0;border:1px solid #d9dde4;border-radius:7px;background:#fff}dl>div[data-v-ea06136c]{display:grid;grid-template-columns:84px minmax(0,1fr);gap:.75rem;padding:.8rem .9rem;border-bottom:1px solid #e8ebef}dl>div[data-v-ea06136c]:last-child{border-bottom:0}dt[data-v-ea06136c]{font-size:.82rem;font-weight:800;color:#737b87}dd[data-v-ea06136c]{min-width:0;margin:0;overflow-wrap:anywhere;line-height:1.55}dd strong[data-v-ea06136c],dd span[data-v-ea06136c]{display:block}dd span[data-v-ea06136c]{margin-top:.1rem;color:#646d79}.content dd[data-v-ea06136c]{white-space:pre-wrap}.guard[data-v-ea06136c]{display:flex;align-items:flex-start;gap:.5rem;margin:.85rem 0 0;padding:.7rem;border-left:3px solid #d6a000;background:#fff4ce;color:#67551b;font-size:.84rem;line-height:1.5}.guard svg[data-v-ea06136c]{flex:none;margin-top:.1rem}.error[data-v-ea06136c]{color:#a1262f;font-weight:750}footer[data-v-ea06136c]{display:flex;justify-content:flex-end;gap:.65rem;margin-top:1rem}footer button[data-v-ea06136c]{min-height:43px;padding:.66rem .9rem;border-radius:6px;font-weight:800}.secondary[data-v-ea06136c]{border:1px solid #c9ced6;background:#fff;color:#4f5864}.primary[data-v-ea06136c]{display:flex;align-items:center;gap:.45rem;border:2px solid #20252d;background:#f6c744;color:#20252d}.primary[data-v-ea06136c]:disabled,.secondary[data-v-ea06136c]:disabled{opacity:.55}@media(min-width:640px){.backdrop[data-v-ea06136c]{align-items:center}.sheet[data-v-ea06136c]{padding:1.4rem}}@media(max-width:430px){dl>div[data-v-ea06136c]{grid-template-columns:1fr;gap:.25rem}footer[data-v-ea06136c]{display:grid;grid-template-columns:1fr 1.5fr}.primary[data-v-ea06136c]{justify-content:center}}.network-banner[data-v-341fec28]{position:fixed;z-index:10000;top:calc(env(safe-area-inset-top) + .45rem);left:50%;width:min(92vw,560px);transform:translate(-50%);padding:.62rem .85rem;border:1.5px solid #20252d;border-radius:7px;background:#fff2bd;color:#43370c;box-shadow:3px 4px #20252d33;font-size:.84rem;font-weight:750;text-align:center}.network-banner-enter-active[data-v-341fec28],.network-banner-leave-active[data-v-341fec28]{transition:opacity .18s ease,transform .18s ease}.network-banner-enter-from[data-v-341fec28],.network-banner-leave-to[data-v-341fec28]{opacity:0;transform:translate(-50%,-12px)}#app[data-v-0f92f3dd]{width:100%;min-height:100vh}
