.toast-viewport{position:fixed;top:calc(env(safe-area-inset-top,0px) + 12px);left:50%;transform:translate(-50%);z-index:1000;display:flex;flex-direction:column;gap:8px;pointer-events:none;width:min(92vw,480px)}.toast{pointer-events:auto;display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:10px;box-shadow:0 4px 16px #0000001f;background:#fff;border-left:3px solid #BAC2F9;font-size:14px;line-height:1.4;animation:toast-in .18s ease-out}@keyframes toast-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.toast-error{border-left-color:#e88a8a}.toast-warning{border-left-color:#e9c46a}.toast-info{border-left-color:#bac2f9}.toast-success{border-left-color:#94c9a9}.toast-body{flex:1;min-width:0}.toast-msg{color:#1a1a1a;word-break:break-word}.toast-detail{margin-top:4px;font-size:12px;color:#6b6b6b;word-break:break-word}.toast-close{border:none;background:transparent;color:#999;font-size:18px;line-height:1;cursor:pointer;padding:0 4px}.toast-close:hover{color:#444}.poke-card{display:flex;flex-direction:column;justify-content:center;align-items:stretch;min-height:0;padding:10px 12px}.poke-btn{background:transparent;border:0;padding:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:100%;cursor:pointer;font-family:inherit;text-align:left;transition:transform .12s ease}.poke-btn:active,.poke-btn.is-pressing{transform:scale(.97)}.poke-btn:disabled{opacity:.7;cursor:wait}.poke-emoji{width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(123,111,212,.32);border-radius:9px;font-size:19px;line-height:1;transition:transform .2s ease}.poke-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.poke-sub{font-size:11.5px;line-height:1.4;color:var(--text-mid);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.poke-btn.is-pressing .poke-emoji{transform:rotate(-12deg) scale(1.15)}.poke-label{font-size:14px;font-weight:700;color:var(--text-dark)}.poke-last{margin-top:8px;font-size:11px;color:#6f7bc4;text-align:center;font-style:italic;line-height:1.4}.diary-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;padding:14px 16px;cursor:pointer;background:linear-gradient(135deg,#fefcee,#fff 60%,#e4ebfd);border:1px solid rgba(0,0,0,.05);transition:transform .15s,box-shadow .15s}.diary-card:active{transform:scale(.99)}.diary-card-head{display:flex;align-items:center;justify-content:space-between}.diary-card-title{font-size:14px;font-weight:600;letter-spacing:.02em;color:#4a4357}.diary-card-cta{font-size:12px;color:#7b6fd4;font-weight:500}.diary-card-empty{font-size:12.5px;color:#00000073;padding:6px 0 2px}.diary-card-preview{padding:8px 10px;border-radius:10px;font-size:13px;line-height:1.55}.diary-card-preview.author-aki{background:#fefcee;border-left:3px solid #E6DD9F}.diary-card-preview.author-precious{background:#e4ebfd;border-left:3px solid #BAC2F9;color:#3d4587}.diary-card-author{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;opacity:.7;display:block;margin-bottom:2px}.diary-card-draft{font-weight:400;letter-spacing:0;text-transform:none;font-size:10px;opacity:.8}.diary-card-text{white-space:pre-wrap;word-wrap:break-word}.home-page:not(.has-page-bg){background:radial-gradient(circle at 90% 2%,rgba(203,190,244,.5),transparent 30%),radial-gradient(circle at 0% 22%,rgba(228,222,250,.7),transparent 34%),radial-gradient(circle at 82% 58%,rgba(255,239,222,.32),transparent 28%),#f5f3fb}.home-page{padding-bottom:112px}.home-page .card{background:#ffffffe0;border:0;border-left:1.5px solid rgba(123,111,212,.3);border-bottom:1.5px solid rgba(123,111,212,.3);border-radius:6px 6px 6px 16px;box-shadow:-12px 16px 26px -16px #55488e52}.hero{position:relative;padding:calc(54px + env(safe-area-inset-top,24px)) var(--space-lg) 10px;display:flex;align-items:flex-start;gap:var(--space-md);overflow:visible}.hero-text{flex:1;position:relative;z-index:2;padding-top:14px;padding-left:16px}.hero-title{font-size:33px;font-weight:600;color:var(--text-dark);line-height:1.15;letter-spacing:-.3px;margin-bottom:10px}.amp{color:var(--text-dark)}.precious{background:linear-gradient(95deg,var(--lavender-500),var(--lavender-400));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--lavender-500)}.hero-greeting{font-size:17px;font-weight:var(--text-title-weight);line-height:var(--text-title-lh);color:var(--text-dark);margin-bottom:6px}.hero-moon{font-size:14px}.hero-sub{font-size:13px;font-weight:var(--text-body-weight);line-height:var(--text-body-lh);color:var(--text-mid)}.hero-window{position:absolute;right:18px;bottom:-35px;width:128px;z-index:3}.hero-window-img{width:100%;height:auto;display:block;filter:drop-shadow(0 10px 16px rgba(76,61,126,.14))}.hero-sky{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1}.hero-sky svg{position:absolute}.hero-sky-moon{right:74px;top:calc(44px + env(safe-area-inset-top,0px));width:30px;height:30px;stroke:#8d81dd}.hero-sky-star{right:136px;top:calc(112px + env(safe-area-inset-top,0px));width:20px;height:20px;fill:var(--lavender-500);opacity:.92}.hero-sky-spark{right:46px;bottom:62px;width:10px;height:10px;fill:var(--lavender-500);opacity:.75}.cards-area{padding:0 var(--space-lg);display:flex;flex-direction:column;gap:var(--space-lg)}.home-band{display:grid;grid-template-columns:1.08fr 1fr;align-items:stretch;background:#ffffffe0;border-left:1.5px solid rgba(123,111,212,.3);border-bottom:1.5px solid rgba(123,111,212,.3);border-radius:6px 6px 6px 16px;box-shadow:-12px 16px 26px -16px #55488e52}.home-band .card{background:transparent;border:0;box-shadow:none;border-radius:0;padding:13px 15px}.home-band .quote-card{border-left:1px solid rgba(123,111,212,.16);min-height:0}.mood-card{display:flex;flex-direction:column;gap:9px}.card-header{display:flex;align-items:center;gap:8px;font-size:var(--text-body-size);font-weight:var(--text-title-weight);color:var(--text-dark)}.mood-tags{display:flex;flex-wrap:wrap;gap:6px}.mood-tag{border:0;background:transparent;color:var(--text-mid);border-radius:var(--radius-full);padding:5px 10px;font-size:var(--text-caption-size);font-weight:var(--text-caption-weight);line-height:var(--text-caption-lh);cursor:pointer;font-family:inherit;transition:all var(--motion-base) var(--easing-soft)}.mood-tag.active{background:var(--lavender-400);color:#fff;box-shadow:0 4px 12px #7b6fd44d}.quote-card{display:flex;flex-direction:column;justify-content:center;position:relative;min-height:110px}.quote-mark{font-size:34px;color:var(--lavender-300);font-weight:800;line-height:1;margin-bottom:4px}.quote-text{font-size:13px;font-weight:var(--text-body-weight);line-height:1.6;color:var(--text-mid)}.quote-sparkle{position:absolute;top:12px;right:14px;color:var(--purple-mid);font-size:14px}.stagger-grid{display:flex;gap:var(--space-md);align-items:flex-start}.stagger-grid{gap:20px}.stagger-col{flex:1;min-width:0;display:flex;flex-direction:column;gap:24px}.stagger-col--offset{padding-top:58px}.stagger-grid .card{height:92px;min-height:0;padding:15px 16px;overflow:hidden}.stagger-grid .diary-card{gap:8px;justify-content:center}.stagger-grid .diary-card-preview{display:flex;align-items:baseline;gap:6px;padding:6px 9px;font-size:12px}.stagger-grid .diary-card-author{margin-bottom:0;white-space:nowrap}.stagger-grid .diary-card-text{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stagger-grid .diary-card-empty{padding:0}.stagger-grid .bottom-quote-card{padding-right:80px;justify-content:center}.stagger-grid .bottom-quote-mark{display:none}.stagger-grid .bottom-quote-text{font-size:12.5px;line-height:1.55}.stagger-grid .feature-desc{font-size:11.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stagger-grid .feature-desc+.feature-desc{display:none}.feature-card{display:flex;flex-direction:row;align-items:center;gap:12px;padding:13px 14px;text-decoration:none;color:inherit;position:relative;cursor:pointer;transition:transform var(--motion-fast) var(--easing-soft),box-shadow var(--motion-fast) var(--easing-soft);min-height:0}.feature-card:active{transform:scale(.97)}.feature-icon{width:38px;height:38px;background:transparent;border:1.5px solid rgba(123,111,212,.32);border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.feature-info{flex:1;min-width:0}.feature-title{font-size:var(--text-body-size);font-weight:var(--text-title-weight);line-height:var(--text-body-lh);color:var(--text-dark);margin-bottom:2px}.feature-desc{font-size:var(--text-caption-size);font-weight:var(--text-caption-weight);line-height:var(--text-caption-lh);color:var(--text-mid)}.feature-arrow{flex-shrink:0;border:0;color:var(--purple-mid);display:flex;align-items:center;justify-content:center;font-size:15px}.bottom-quote-card{display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden;min-height:128px;padding-right:96px}.bottom-quote-mark{font-size:28px;color:var(--purple-main);font-weight:800;line-height:1}.bottom-quote-text{font-size:var(--text-body-size);font-weight:var(--text-body-weight);line-height:var(--text-body-lh);color:var(--purple-dark)}.bottom-cat-img{position:absolute;bottom:-5px;right:-6px;width:82px;mix-blend-mode:multiply;opacity:.92;pointer-events:none}.home-more-pill{align-self:center;margin-top:4px;border:1px solid rgba(123,111,212,.18);border-radius:var(--radius-full);background:#ffffffbf;color:var(--text-mid);font-family:inherit;font-size:15px;font-weight:700;letter-spacing:2px;line-height:1;padding:9px 26px 12px;cursor:pointer;transition:transform var(--motion-fast) var(--easing-soft),background var(--motion-fast) var(--easing-soft)}.home-more-pill:active{transform:scale(.95);background:#ffffffd9}.home-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#2d2a4a47;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.home-sheet{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:100%;max-width:480px;z-index:201;background:#fbfaff;border-radius:26px 26px 0 0;padding:16px 22px calc(22px + env(safe-area-inset-bottom,0px));max-height:72vh;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 -18px 60px #4c3d7e40;animation:home-sheet-up var(--motion-slow) var(--easing-soft)}@keyframes home-sheet-up{0%{transform:translate(-50%,40px);opacity:0}to{transform:translate(-50%);opacity:1}}.home-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 10px;font-size:15px;font-weight:700;color:var(--text-dark)}.home-sheet-close{border:0;background:transparent;color:var(--text-light);font-size:24px;line-height:1;cursor:pointer;padding:2px 6px}.home-sheet-row{display:flex;align-items:center;gap:12px;padding:13px 2px;border-top:1px solid rgba(123,111,212,.08);text-decoration:none;color:inherit}.home-sheet-icon{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(123,111,212,.28);border-radius:9px}.home-sheet-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.home-sheet-title{font-size:13.5px;font-weight:700;color:var(--text-dark)}.home-sheet-desc{font-size:11px;color:var(--text-mid);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-sheet-pin{flex-shrink:0;border:1px solid var(--purple-mid);border-radius:var(--radius-full);background:transparent;color:var(--purple-main);font-family:inherit;font-size:11px;font-weight:700;padding:5px 10px;cursor:pointer;transition:all var(--motion-fast) var(--easing-soft)}.home-sheet-pin.is-pinned{background:var(--lavender-400);border-color:var(--lavender-400);color:#fff}.home-page .bottom-nav{width:auto;max-width:none;bottom:calc(5px + env(safe-area-inset-bottom,8px));padding:10px 24px;gap:26px;justify-content:center;border:1px solid rgba(123,111,212,.16);border-radius:18px;background:#faf8ff80;backdrop-filter:blur(20px) saturate(1.15);-webkit-backdrop-filter:blur(20px) saturate(1.15);box-shadow:0 12px 30px #4c3d7e24}.chat-page{position:fixed;top:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;height:var(--chat-h, 100dvh);display:flex;flex-direction:column;background:var(--bg, #fafaff);padding:0;min-height:0;overscroll-behavior:contain}.chat-header{display:flex;align-items:center;gap:12px;padding:calc(16px + env(safe-area-inset-top,0)) 20px 16px;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--purple-light);position:sticky;top:0;z-index:10}.back-btn{text-decoration:none;font-size:20px;color:var(--purple-main);font-weight:700;padding:4px 8px;border-radius:10px;transition:background .2s}.back-btn:hover{background:var(--purple-light)}.chat-header-info{flex:1;display:flex;flex-direction:column}.chat-header-name{font-size:16px;font-weight:800;color:var(--text-dark)}.chat-header-info{position:relative}.chat-header-status{font-size:11px;color:var(--purple-main);display:inline-flex;align-items:center;gap:5px;transition:color .3s ease;background:transparent;border:none;padding:2px 4px;margin-left:-4px;cursor:pointer;border-radius:6px;align-self:flex-start}.chat-header-status:hover{background:#8c97e014}.chat-header-status:active{background:#8c97e029}.presence-emoji{font-family:-apple-system,"Segoe UI Emoji",Noto Sans CJK SC,sans-serif}.presence-caret{opacity:.5;margin-left:2px;font-size:10px}.presence-popover{position:absolute;top:100%;left:0;margin-top:6px;width:min(86vw,320px);background:#fff;border-radius:12px;box-shadow:0 8px 24px #0000001f;padding:12px 14px;z-index:30;font-size:12px;color:#1a1a1a;animation:pp-in .15s ease-out}@keyframes pp-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.pp-head{display:flex;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.06);margin-bottom:8px}.pp-emoji{font-family:-apple-system,"Segoe UI Emoji",Noto Sans CJK SC,sans-serif}.pp-label{font-weight:600;font-size:14px}.pp-tag{margin-left:auto;font-size:10px;background:#bac2f9;color:#1a1a40;padding:1px 6px;border-radius:8px}.pp-line-note{margin-bottom:8px;padding:7px 9px;border-radius:8px;background:#faf5ffdb;color:#6d6188;font-size:12px;line-height:1.35}.pp-loading,.pp-error{color:#888;padding:4px 0}.pp-error{color:#b03a3a}.pp-section-title{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#888;margin:8px 0 4px}.pp-groups-compact{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:8px}.pp-grp{display:flex;flex-direction:column;align-items:center;gap:4px}.pp-grp-bar{width:100%;height:34px;background:#eef0f8;border-radius:4px;overflow:hidden;display:flex;align-items:flex-end}.pp-grp-fill{width:100%;background:#bac2f9;transition:height .4s ease}.pp-grp.is-dom .pp-grp-fill{background:#6f7bc4}.pp-grp-label{font-size:10px;color:#888}.pp-grp.is-dom .pp-grp-label{color:#1a1a40;font-weight:600}.pp-meta{font-size:11px;color:#777;margin-bottom:6px}.pp-meta span+span{margin-left:4px}.pp-more-toggle{width:100%;background:transparent;border:1px dashed rgba(140,151,224,.4);color:#6f7bc4;padding:4px;border-radius:6px;cursor:pointer;font-size:11px;margin-top:4px}.pp-more-toggle:hover{background:#8c97e00f}.pp-dims{display:grid;grid-template-columns:repeat(4,1fr);gap:4px 8px;margin-top:6px;padding-top:8px;border-top:1px solid rgba(0,0,0,.05)}.pp-dim{display:flex;justify-content:space-between;font-size:11px}.pp-dim-label{color:#666}.pp-dim-num{color:#1a1a1a;font-variant-numeric:tabular-nums}.pp-lust{background:linear-gradient(135deg,#fff5f8,#fef0f5);border-radius:10px;padding:10px 12px;margin-bottom:10px}.pp-lust-head{display:flex;align-items:center;gap:6px;margin-bottom:6px}.pp-lust-icon{color:#e36a9b;font-size:14px}.pp-lust-title{font-weight:600;font-size:13px;color:#8a3f5e}.pp-lust-mood{margin-left:auto;font-size:11px;color:#b06080;background:#fff;padding:1px 8px;border-radius:8px}.pp-lust-bar{position:relative;height:12px;background:#ffffffb3;border-radius:6px;overflow:hidden}.pp-lust-fill{height:100%;border-radius:6px;transition:width .5s ease,background .5s ease}.pp-lust-num{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;color:#5a2a3e;font-variant-numeric:tabular-nums}.pp-lust-sub{margin-top:8px;display:flex;flex-direction:column;gap:6px}.pp-lust-stat{display:grid;grid-template-columns:40px 1fr 28px;align-items:center;gap:6px;font-size:11px}.pp-lust-stat-label{color:#8a3f5e}.pp-lust-stat-val{color:#5a2a3e;text-align:right;font-variant-numeric:tabular-nums}.pp-frust-bar{height:5px;background:#ffffffb3;border-radius:3px;overflow:hidden}.pp-frust-fill{height:100%;background:linear-gradient(90deg,#f0b06a,#d97a4a)}.pp-lust-tags{display:flex;flex-wrap:wrap;gap:4px}.pp-lust-tag{font-size:10px;padding:1px 7px;border-radius:8px;background:#fff;color:#b06080}.tag-pending{background:#ffd6e2;color:#8a2a4e}.tag-streak{background:#ffe1cf;color:#8a4a20}.tag-last{background:#fff;color:#8a3f5e}.tag-quiet{background:#ffffffb3;color:#b08fa0}.pp-whim,.pp-sleep{margin-top:8px;padding-top:8px;border-top:1px solid rgba(0,0,0,.05);color:#555;font-size:11px}.presence-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#bac2f9;box-shadow:0 0 0 0 currentColor;transition:background .3s ease}.chat-header-status.state-online{color:#6f7bc4}.chat-header-status.state-online .presence-dot{background:#8c97e0;animation:presence-pulse 2.4s ease-in-out infinite}.chat-header-status.state-sleeping{color:#8c93b8}.chat-header-status.state-sleeping .presence-dot{background:#c0c5d8}.chat-header-status.state-interrupted{color:#b07ab5}.chat-header-status.state-interrupted .presence-dot{background:#c89dcc;animation:presence-pulse 1s ease-in-out infinite}.chat-header-status.state-waking{color:#d28f4a}.chat-header-status.state-waking .presence-dot{background:#f0b06a;animation:presence-pulse 1.6s ease-in-out infinite}.chat-header-status.state-mood{color:#6f7bc4}.chat-header-status.state-mood .presence-dot{background:#8c97e0;animation:presence-pulse 2.4s ease-in-out infinite}@keyframes presence-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.75)}}.chat-header-avatar{width:38px;height:38px;border:none;background:var(--purple-light);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;padding:0;cursor:pointer;transition:box-shadow .18s,transform .18s}.chat-header-avatar.open{box-shadow:0 0 0 3px #9188db2e}.chat-header-avatar:active{transform:scale(.96)}.chat-header-diary{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;text-decoration:none;opacity:.75;transition:background .2s,opacity .2s}.chat-header-diary:hover{background:var(--purple-light);opacity:1}.chat-date-panel{flex:0 1 auto;min-height:0;max-height:clamp(120px,calc(100% - 230px),560px);box-sizing:border-box;margin:8px 12px 0;padding:10px 10px 12px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fffffff5;border:1px solid rgba(186,194,249,.58);border-radius:12px;box-shadow:0 8px 28px #2d2a4a1f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:8}.chat-tool-tabs{position:sticky;top:-10px;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:-2px -2px 0;padding:2px 2px 8px;background:#fffffff5}.chat-tool-tabs button{min-width:0;border:0;border-radius:9px;padding:8px 4px;background:#f0f2ffb8;color:#746c94;font:800 12px/1.1 inherit;cursor:pointer}.chat-tool-tabs button.active{background:#9188db;color:#fff;box-shadow:0 3px 10px #594c9f2e}.chat-tool-module{min-width:0;touch-action:pan-y;will-change:transform,opacity}.chat-tool-module.slide-next{animation:chat-tool-next .18s ease-out}.chat-tool-module.slide-prev{animation:chat-tool-prev .18s ease-out}@keyframes chat-tool-next{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes chat-tool-prev{0%{opacity:0;transform:translate(-16px)}to{opacity:1;transform:translate(0)}}.chat-tool-swipe-hint{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;color:#a19ab8;font-size:9.5px;line-height:1;-webkit-user-select:none;user-select:none}.chat-tool-swipe-hint span{font-size:15px}.chat-date-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#514a72;font-size:12px;font-weight:800}.chat-date-head.compact{margin-top:10px;padding-top:9px;border-top:1px solid rgba(186,194,249,.32)}.chat-date-head input{min-width:0;border:1px solid rgba(186,194,249,.7);border-radius:8px;padding:5px 7px;color:#3a3357;background:#fff;font-size:16px}.chat-tool-section{margin-top:10px}.chat-tool-section.module-section{margin-top:4px}.chat-tool-label{margin-bottom:6px;color:#81799d;font-size:11px;font-weight:800}.send-mode-segment{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:10px;background:#f0f2ffdb}.send-mode-segment button{border:none;border-radius:8px;padding:8px 6px;background:transparent;color:#665f86;font-size:12px;font-weight:800;cursor:pointer}.send-mode-segment button.active{background:#9188db;color:#fff}.chat-layout-segment{grid-template-columns:repeat(3,minmax(0,1fr))}.model-route-segment{grid-template-columns:repeat(4,1fr)}.chat-tool-copy,.chat-model-hint{margin:8px 3px 0;color:#81799d;font-size:11px;line-height:1.45}.chat-reader-bg-control{display:grid;gap:7px;margin-top:10px;padding:10px 11px;border:1px solid rgba(145,136,219,.22);border-radius:11px;background:#f8f7fdd1}.chat-reader-bg-control-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-reader-bg-control-head strong{color:#5f5878;font-size:11px}.chat-reader-bg-control-head output{min-width:38px;color:#756bb0;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums;text-align:right}.chat-reader-bg-control input[type=range]{width:100%;height:20px;margin:0;accent-color:#9188db;cursor:ew-resize;touch-action:pan-x}.chat-reader-bg-control small{color:#918aa6;font-size:9.5px;line-height:1.4}.chat-reader-bg-control.is-disabled{opacity:.58}.chat-reader-bg-control.is-disabled input[type=range]{cursor:not-allowed}.chat-model-hint.is-warning{color:#a76845}.chat-model-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin-top:9px;color:#81799d;font-size:11px;font-weight:800}.chat-model-select{min-width:0;width:100%;border:1px solid rgba(145,136,219,.42);border-radius:9px;padding:8px 30px 8px 9px;background:#fff;color:#4a3c7a;font:700 12px/1.2 inherit}.chat-model-select:disabled{opacity:.62}.codex-limit-card{display:flex;flex-direction:column;gap:3px;margin-top:8px;padding:8px 10px;border-radius:9px;background:#f0f2ffbf;color:#766e94;font-size:10px;line-height:1.35}.codex-limit-card strong{color:#514a72;font-size:11px}.claude-usage-card{gap:8px}.claude-usage-head,.claude-usage-copy{display:flex;align-items:baseline}.claude-usage-head{justify-content:space-between}.claude-usage-head button{border:0;padding:2px 0 2px 8px;background:transparent;color:#756bb0;font:700 10px/1.2 inherit;cursor:pointer}.claude-usage-head button:disabled{opacity:.55}.claude-usage-row{display:grid;gap:4px}.claude-usage-copy{gap:7px}.claude-usage-copy span{width:38px;color:#625a82;font-weight:800}.claude-usage-copy b{color:#4f4771;font-size:10px}.claude-usage-copy small{margin-left:auto;color:#918aa8;font-size:9px}.claude-usage-track{height:5px;overflow:hidden;border-radius:999px;background:#9188db2e}.claude-usage-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9188db,#b59ee7);transition:width .24s ease}.claude-usage-error{color:#a76845}.chat-workbench-link{width:100%;margin-top:7px;background:#ffffffd6;color:#5d5684;cursor:pointer}.export-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.export-btn{border:1px solid rgba(145,136,219,.4);border-radius:10px;padding:10px 8px;background:#f0f2ffdb;color:#4a3c7a;font-size:12px;font-weight:700;cursor:pointer}.export-btn:active{background:#9188db;color:#fff}.chat-date-list{display:flex;gap:8px;overflow-x:auto;padding-top:9px;overscroll-behavior-x:contain;touch-action:pan-x}.chat-date-chip{flex:0 0 auto;min-width:86px;border:1px solid rgba(186,194,249,.58);border-radius:8px;padding:7px 9px;background:#fafaffeb;color:#3a3357;text-align:left;cursor:pointer}.chat-date-chip span{display:block;font-size:12px;font-weight:800}.chat-date-chip small{display:block;margin-top:2px;color:#81799d;font-size:10px;white-space:nowrap}.chat-date-empty{padding-top:8px;color:#81799d;font-size:12px}@media (prefers-reduced-motion: reduce){.chat-tool-module.slide-next,.chat-tool-module.slide-prev{animation:none}}.chat-header-avatar{overflow:hidden}.chat-header-avatar-img,.msg-avatar-img{width:100%;height:100%;object-fit:cover;display:block}.msg-avatar{overflow:hidden}.chat-page.has-chat-bg{background:transparent!important}.push-bell{width:34px;height:34px;border:none;background:transparent;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer;transition:background .2s,opacity .2s;opacity:.75}.push-bell:hover{background:var(--purple-light);opacity:1}.push-bell-granted{opacity:1}.push-bell-denied,.push-bell-unsupported{opacity:.35;cursor:not-allowed}.messages-list{flex:1;overflow-y:auto;padding:20px 16px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.chat-load-older{align-self:center;margin:4px auto 16px;padding:8px 14px;border:1px solid rgba(112,95,165,.18);border-radius:999px;color:#746a96;font:inherit;font-size:12px;background:#ffffffc2;cursor:pointer}.msg-row{display:flex;align-items:flex-end;gap:8px}.msg-row.user{flex-direction:row-reverse}.msg-row.assistant-segment{margin-top:-4px}.msg-row.assistant.ordered-message{align-items:flex-end}.ordered-message-parts{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;max-width:100%}.ordered-part{min-width:0;max-width:100%}.ordered-part-thinking,.ordered-part-heart{display:flex;flex-direction:column;align-items:flex-start}.ordered-part-thinking .thinking-body,.ordered-part-heart .heart-body{max-width:100%}.ordered-part-tool{width:100%;min-width:min(240px,100%)}.ordered-part-tool .tool-call-card{width:100%}.msg-avatar{width:32px;height:32px;border-radius:50%;background:var(--purple-light);color:var(--purple-main);font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.msg-avatar-spacer{width:32px;height:1px;flex-shrink:0}.msg-bubble-wrap{position:relative;display:flex;flex-direction:column;gap:4px;max-width:72%}.msg-bubble.is-active{outline:1.5px solid rgba(145,136,219,.65);outline-offset:2px}.msg-row.is-jump-target .msg-bubble{animation:msg-jump-flash 1.2s ease-out}@keyframes msg-jump-flash{0%{box-shadow:0 0 0 3px #9188db42,var(--shadow)}to{box-shadow:var(--shadow)}}.message-action-bar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fffffff5;border-top:1px solid rgba(186,194,249,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.message-action-bar button{flex:1;border:none;border-radius:8px;padding:8px 6px;background:#f0f2ff;color:#3a3357;font-size:13px;cursor:pointer}.message-action-bar button:active{background:var(--purple-light)}.message-action-bar button.danger{background:#fff0f0;color:#b94c4c}.msg-bubble+.msg-bubble{margin-top:2px}.msg-row.user .msg-bubble-wrap{align-items:flex-end}.msg-bubble{padding:10px 14px;border-radius:18px;font-size:14px;line-height:1.6;word-break:break-word}.dating-meta-card{width:fit-content;max-width:100%;margin:0 0 8px;padding:11px 12px;border-radius:8px;border:1px solid #eceaf0;background:linear-gradient(135deg,#fdfcfe,#f5f3f7);box-shadow:0 4px 16px #7b6fd414;color:#78737e}.dating-meta-card.is-round{background:#f5f3f7;border-color:#dfdbe5}.dating-meta-title{margin-bottom:8px;font-size:12px;font-weight:800;color:#6b6890}.dating-meta-grid{display:flex;flex-wrap:wrap;gap:6px}.dating-meta-grid span{border-radius:999px;background:#eceaf0c7;color:#78737e;padding:5px 8px;font-size:11px;font-weight:800;line-height:1}.dating-meta-line{margin-top:8px;color:#78737e;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.dating-meta-action{width:100%;margin-top:10px;border:none;border-radius:8px;background:#d2cdd8;color:#5f5a66;padding:9px 10px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.dating-meta-action:disabled{opacity:.65;cursor:default}.chat-md{display:flow-root;white-space:normal}.chat-md>:first-child{margin-top:0}.chat-md>:last-child{margin-bottom:0}.chat-md-p{margin:.45em 0;white-space:pre-wrap}.chat-md-authored-line{display:block}.chat-md-heading{margin:.55em 0 .35em;line-height:1.35;font-weight:800}.chat-md-h1{font-size:16px}.chat-md-h2{font-size:15px}.chat-md-h3{font-size:14px}.chat-md-list{margin:.45em 0;padding-left:1.25em}.chat-md-list li{margin:.2em 0;padding-left:.1em}.chat-md-quote{margin:.55em 0;padding:6px 10px;border-left:3px solid rgba(123,111,212,.38);border-radius:0 7px 7px 0;background:#7b6fd414;color:#514a72;white-space:pre-wrap}.chat-md-hr{margin:.7em 0;border:none;border-top:1px solid rgba(82,73,120,.16)}.chat-md-inline-code{padding:1px 5px;border-radius:5px;background:#2d2a4a14;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88em}.chat-md-link{color:#5d56b5;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.chat-md-action{font-style:italic;font-weight:600;color:inherit}.msg-row.assistant .chat-md-action{color:#5f568d}.chat-code-fold{overflow:hidden;margin:.65em 0;border:1px solid rgba(65,59,92,.14);border-radius:8px;background:#f6f7fb;color:#252236}.chat-code-fold summary{display:flex;align-items:center;gap:8px;min-height:32px;padding:6px 10px;cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none;border-bottom:1px solid rgba(65,59,92,.1)}.chat-code-fold summary::-webkit-details-marker{display:none}.chat-code-fold summary:before{content:"▸";color:#746ba4;font-size:11px}.chat-code-fold[open] summary:before{content:"▾"}.chat-code-lang{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:800}.chat-code-meta{margin-left:auto;color:#7d7890;font-size:11px;white-space:nowrap}.chat-code-copy{flex-shrink:0;border:1px solid rgba(116,107,164,.22);border-radius:6px;padding:3px 7px;background:#ffffffb8;color:#5f568d;font-size:11px;font-family:inherit;cursor:pointer}.chat-code-copy:active{background:#7b6fd424}.chat-code-fold pre{max-width:100%;max-height:48vh;margin:0;padding:10px;overflow:auto;overscroll-behavior:contain;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre}.chat-code-preview{max-height:48vh;overflow:auto;overscroll-behavior:contain;padding:10px;border-top:1px solid rgba(65,59,92,.1);background:#ffffff8c}.msg-row.user .chat-md-link,.msg-row.user .chat-md-action{color:#fff}.msg-row.user .chat-md-inline-code{background:#ffffff2e;color:#fff}.msg-row.user .chat-md-quote{border-left-color:#ffffff73;background:#ffffff1f;color:#fff}.msg-row.user .chat-md-hr{border-top-color:#ffffff38}.msg-row.user .chat-code-fold{border-color:#ffffff38;background:#ffffff24;color:#fff}.msg-row.user .chat-code-fold summary{border-bottom-color:#ffffff2e}.msg-row.user .chat-code-fold summary:before,.msg-row.user .chat-code-meta{color:#ffffffc7}.msg-row.user .chat-code-copy{border-color:#ffffff3d;background:#ffffff29;color:#fff}.msg-row.assistant .msg-bubble{background:#fff;color:var(--text-dark);border-bottom-left-radius:6px;box-shadow:var(--shadow)}.msg-row.user .msg-bubble{background:#9188db;color:#fff;border-bottom-right-radius:6px}.msg-row.user.is-queued .msg-bubble{opacity:.72;background:#aaa3d8}.msg-bubble.streaming{position:relative}.thinking-dots{display:inline-flex;gap:4px;padding:2px 0}.thinking-dots span{width:6px;height:6px;border-radius:50%;background:var(--purple-main);opacity:.4;animation:thinking-pulse 1.2s infinite ease-in-out}.thinking-dots span:nth-child(2){animation-delay:.15s}.thinking-dots span:nth-child(3){animation-delay:.3s}@keyframes thinking-pulse{0%,80%,to{opacity:.3;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}.msg-time{font-size:10px;color:var(--text-light);padding:0 4px}.thinking-toggle{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;background:#ffffff26;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);border:none;padding:3px 8px;border-radius:10px;font-size:11px;font-family:inherit;color:var(--purple-main);opacity:.85;cursor:pointer;text-align:left}.thinking-toggle:hover:not(:disabled){opacity:1}.thinking-toggle.pending{cursor:default;opacity:.7;animation:thinking-pulse-text 1.6s infinite ease-in-out}@keyframes thinking-pulse-text{0%,to{opacity:.45}50%{opacity:.85}}.thinking-toggle:disabled{cursor:default}.thinking-toggle.frozen{cursor:default;opacity:1;background:#ffffff47;transform-origin:left center;animation:thinking-freeze-pop 1.2s ease-out}@keyframes thinking-freeze-pop{0%{transform:scale(1);box-shadow:0 0 #9188db00}25%{transform:scale(1.07);background:#bac2f973;box-shadow:0 0 0 6px #9188db38}to{transform:scale(1);box-shadow:0 0 #9188db00}}.thinking-caret{display:inline-block;width:10px;font-size:9px}.thinking-body{margin:2px 0 4px;padding:8px 12px;font-size:12px;line-height:1.65;color:#5a4a76;font-style:italic;white-space:pre-wrap;word-break:break-word;background:#ffffff26;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border-left:2px solid rgba(160,130,200,.45);border-radius:6px}.heart-toggle{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;border:0;border-radius:10px;padding:3px 8px;color:#9a4f72;background:#ffeff7ad;font-family:inherit;font-size:11px;font-weight:600;line-height:1.35;cursor:pointer}.heart-toggle:hover{background:#ffe7f3e6}.heart-mark{font-size:13px;line-height:1}.heart-body{margin:2px 0 4px;padding:8px 12px;color:#74465f;background:#fff4f9ad;border-left:2px solid rgba(204,112,157,.46);border-radius:6px;font-size:12px;font-style:italic;line-height:1.65;white-space:pre-wrap;word-break:break-word}.msg-row.in-selection{cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.msg-row.is-selected .msg-bubble{outline:2px solid var(--purple-main);outline-offset:2px}.msg-row.is-selected{background:#bac2f92e;border-radius:12px}.msg-select-mark{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--purple-main);background:#fff;color:var(--purple-main);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;align-self:flex-start;margin-top:6px}.msg-row.is-selected .msg-select-mark{background:var(--purple-main);color:#fff}.msg-row.user.in-selection{flex-direction:row-reverse}.msg-row.user.in-selection .msg-select-mark{margin-left:8px}.msg-row.assistant.in-selection .msg-select-mark{margin-right:4px}.selection-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px calc(16px + env(safe-area-inset-bottom,0));background:#fff;border-top:1px solid var(--purple-light)}.sel-btn{border:none;border-radius:18px;padding:10px 22px;font-size:15px;font-family:inherit;font-weight:600;cursor:pointer;transition:opacity .15s,transform .1s}.sel-btn:active{transform:scale(.95)}.sel-cancel{background:var(--bg);color:var(--text-dark)}.sel-delete{background:#d96b6b;color:#fff}.sel-delete:disabled{background:#cfcfcf;cursor:not-allowed}.sel-count{font-size:14px;color:var(--purple-main);font-weight:600}.chat-input-bar{display:flex;align-items:flex-end;gap:10px;padding:12px 16px calc(16px + env(safe-area-inset-bottom,0));background:#fff;border-top:1px solid var(--purple-light)}.chat-input{flex:1;border:1.5px solid var(--purple-light);border-radius:22px;padding:10px 16px;font-size:16px;font-family:inherit;resize:none;outline:none;max-height:120px;background:var(--bg);color:var(--text-dark);transition:border-color .2s;line-height:1.5}.chat-input:focus{border-color:var(--purple-main)}.send-btn{width:42px;height:42px;border-radius:50%;background:var(--purple-main);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background .2s,opacity .2s}.send-btn:disabled{opacity:.4;cursor:not-allowed}.send-btn:not(:disabled):hover{background:var(--purple-dark)}.tool-approval-card{margin-top:6px;padding:10px 12px;background:#fff8e8;border:1px solid #f0d68a;border-radius:10px;font-size:13px;color:#6a5008}.tool-approval-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.tool-approval-tag{background:#f5b733;color:#fff;padding:1px 8px;border-radius:6px;font-size:11px;font-weight:600}.tool-approval-name{font-weight:600;color:#4a3700}.tool-approval-note{margin:-1px 0 7px;font-size:11px;line-height:1.45;color:#6a5008c7}.tool-approval-cmd{margin:0 0 8px;padding:8px 10px;background:#fff9;border-radius:6px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;white-space:pre-wrap;word-break:break-all;max-height:160px;overflow-y:auto;color:#4a3700}.tool-approval-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.ta-btn{padding:6px 10px;border-radius:6px;border:1px solid transparent;font-size:12px;cursor:pointer;font-weight:500;transition:opacity .15s,transform .05s}.ta-btn:disabled{opacity:.5;cursor:not-allowed}.ta-btn:not(:disabled):active{transform:scale(.97)}.ta-allow{background:#e8f5e8;color:#2e5c2e;border-color:#b8d8b8}.ta-always-allow{background:#2e7c2e;color:#fff;border-color:#2e7c2e}.ta-deny{background:#fde8e8;color:#842020;border-color:#e8b8b8}.ta-always-deny{background:#842020;color:#fff;border-color:#842020}.tool-approval-error{margin-top:6px;padding:6px 8px;background:#fde8e8;color:#842020;border-radius:4px;font-size:11px}.tool-live-card{display:flex;align-items:center;gap:10px;margin-top:7px;padding:8px 10px;border:1px solid rgba(126,136,211,.35);border-radius:10px;background:#e2e8ff7a;color:#414b8b;font-size:11px}.tool-live-spinner{width:14px;height:14px;flex:0 0 auto;border:2px solid rgba(92,104,184,.22);border-top-color:#6e78c7;border-radius:50%;animation:tool-live-spin .8s linear infinite}@keyframes tool-live-spin{to{transform:rotate(360deg)}}.tool-live-body{min-width:0;display:flex;align-items:baseline;gap:7px}.tool-live-body strong{flex:0 0 auto}.tool-live-body code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#30396f}.tool-progress-chip{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:4px 10px;background:#bac2f938;color:#4a5290;border:1px solid rgba(186,194,249,.55);border-radius:999px;font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;width:fit-content}.tool-progress-dot{width:6px;height:6px;border-radius:50%;background:#bac2f9;animation:tool-progress-pulse 1.2s ease-in-out infinite}.tool-progress-label:after{content:"…";margin-left:1px;animation:tool-progress-dots 1.2s steps(4,end) infinite}@keyframes tool-progress-pulse{0%,to{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}@keyframes tool-progress-dots{0%{content:""}25%{content:"·"}50%{content:"··"}75%{content:"···"}to{content:""}}.stage-chip{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:4px 10px;border-radius:999px;border:1px solid transparent;font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;width:fit-content}.stage-chip-dot{width:6px;height:6px;border-radius:50%;animation:tool-progress-pulse 1.2s ease-in-out infinite}.stage-chip.stage-thinking{background:#baacf033;color:#6a5a9e;border-color:#baacf08c}.stage-chip.stage-thinking .stage-chip-dot{background:#b7a8ea}.stage-chip.stage-tool{background:#bac2f938;color:#4a5290;border-color:#bac2f98c}.stage-chip.stage-tool .stage-chip-dot{background:#bac2f9}.stage-chip.stage-typing{background:#e6be8233;color:#7a5a2a;border-color:#e6be828c}.stage-chip.stage-typing .stage-chip-dot{background:#e6be82;animation:tool-progress-pulse 2s ease-in-out infinite}.stage-chip.stage-retrying{background:#eeb8702e;color:#91612f;border-color:#dc97478c}.stage-chip.stage-retrying .stage-chip-dot{background:#dd984a}.stage-chip.stage-stopping{background:#e8a3a32e;color:#9b5555;border-color:#ca6f6f73}.stage-chip.stage-stopping .stage-chip-dot{background:#c86d6d}.msg-outputs{display:flex;flex-direction:column;gap:6px;margin-top:8px}.msg-output-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;background:#b7a8ea24;border:1px solid rgba(183,168,234,.45);border-radius:12px;color:#4a3c7a;width:min(100%,520px);max-width:100%;box-sizing:border-box;transition:background .15s}.msg-output-card:hover{background:#b7a8ea38}.msg-output-icon{font-size:22px;line-height:1}.msg-output-body{display:flex;flex-direction:column;gap:2px;min-width:0}.msg-output-name{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg-output-path{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;color:#4a3c7aad;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.msg-output-meta{font-size:11px;color:#6a5a9e}.msg-output-actions{display:flex;align-items:center;gap:5px}.msg-output-action{padding:4px 7px;border:1px solid rgba(93,79,149,.3);border-radius:7px;color:#51438a;background:#ffffff80;text-decoration:none;font-size:11px;white-space:nowrap}.msg-output-action.is-download{color:#fff;background:#6759a4;border-color:#6759a4}.tool-call-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}.tool-call-card{border:1px solid rgba(186,194,249,.55);border-radius:8px;background:#e4ebfd73;overflow:hidden;transition:background .12s}.tool-call-card.is-err{border-color:#d04b4b66;background:#fde8e880}.tool-call-card.is-pending{border-color:#daa4417a;background:#fff6db94}.tool-call-head{width:100%;display:flex;align-items:center;gap:8px;padding:6px 10px;background:transparent;border:none;cursor:pointer;text-align:left;color:inherit;font:inherit;font-size:12px}.tool-call-head:hover{background:#00000008}.tool-call-status{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;font-size:10px;font-weight:700;flex-shrink:0}.tool-call-status.is-ok{background:#bac2f9;color:#2a3270}.tool-call-status.is-err{background:#d04b4b;color:#fff}.tool-call-status.is-pending{background:#e2ae45;color:#fff}.tool-call-name{font-weight:600;color:#3d4587;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;flex-shrink:0}.tool-call-card.is-err .tool-call-name{color:#8a1f1f}.tool-call-summary{flex:1;min-width:0;color:#0000008c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.tool-call-state{flex-shrink:0;font-size:10px;color:#00000073}.tool-call-chevron{flex-shrink:0;font-size:10px;color:#0006;transition:transform .15s}.tool-call-chevron.is-open{transform:rotate(90deg)}.tool-call-body{padding:0 10px 10px;display:flex;flex-direction:column;gap:8px;border-top:1px solid rgba(0,0,0,.05)}.tool-call-section{display:flex;flex-direction:column;gap:4px;margin-top:8px}.tool-call-label{font-size:10px;font-weight:600;color:#00000073;text-transform:uppercase;letter-spacing:.05em}.tool-call-pre{margin:0;padding:8px 10px;background:#ffffffb3;border:1px solid rgba(0,0,0,.05);border-radius:6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.5;color:#000000c7;white-space:pre-wrap;word-break:break-all;max-height:320px;overflow-y:auto}.tool-call-pre.is-err{color:#8a1f1f}.plus-btn{width:42px;height:42px;flex-shrink:0;border-radius:50%;border:1.5px solid var(--purple-light);background:#fff;color:var(--purple-main);font-size:24px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .18s ease}.plus-btn.open{transform:rotate(45deg);background:var(--purple-light)}.plus-panel{position:relative;order:30;flex:0 0 calc(100% + 32px);width:calc(100% + 32px);max-height:min(310px,46dvh);margin:4px -16px calc(-16px - env(safe-area-inset-bottom,0px));padding:13px 12px calc(14px + env(safe-area-inset-bottom,0px));overflow:hidden auto;background:#f7f6fcfa;border-top:1px solid rgba(186,194,249,.52);box-shadow:inset 0 12px 28px -26px #2d2a4a66;animation:plus-keyboard-in .22s ease-out;overscroll-behavior:contain}@keyframes plus-keyboard-in{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}.plus-carousel{display:flex;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;touch-action:pan-x}.plus-carousel::-webkit-scrollbar{display:none}.tool-page{flex:0 0 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(74px,1fr));gap:8px;padding:1px 2px;scroll-snap-align:start;scroll-snap-stop:always}.tool-tile{min-width:0;min-height:74px;border:0;background:transparent;border-radius:14px;padding:8px 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;color:#3a3357;text-align:center}.tool-tile:active,.tool-tile.active{background:#bac2f959;transform:scale(.97)}.tool-tile-active{background:#ba82c859;box-shadow:inset 0 0 0 1.5px #ba82c899}.tool-tile:disabled{opacity:.5;cursor:not-allowed}.tool-tile-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#ffffffeb;box-shadow:0 3px 12px #49407014;font-size:19px;line-height:1}.tool-tile-label{max-width:100%;overflow:hidden;font-size:12px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.tool-tile-desc{max-width:100%;color:#8a82a8;font-size:9.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plus-page-dots{height:17px;display:flex;align-items:flex-end;justify-content:center;gap:6px}.plus-page-dots button{width:6px;height:6px;padding:0;border:0;border-radius:999px;background:#61588838;cursor:pointer;transition:width .18s ease,background .18s ease}.plus-page-dots button.active{width:17px;background:#7b6fd4b8}.plus-subpanel{min-height:177px;animation:plus-subpanel-in .18s ease-out}@keyframes plus-subpanel-in{0%{opacity:0;transform:translate(14px)}to{opacity:1;transform:translate(0)}}.plus-subpanel-head{display:flex;align-items:center;gap:10px;padding:0 4px 10px}.plus-subpanel-head>button{width:32px;height:32px;flex:0 0 32px;border:0;border-radius:50%;background:#ffffffe6;color:var(--purple-main);font:25px/1 inherit;cursor:pointer}.plus-subpanel-head>div{display:flex;flex-direction:column;gap:1px}.plus-subpanel-head strong{color:#3a3357;font-size:14px}.plus-subpanel-head span{color:#8a82a8;font-size:10.5px}.cry-choices{display:flex;flex-direction:column;gap:7px;padding:0 3px}.cry-choices>button{position:relative;min-height:48px;padding:8px 38px 8px 14px;border:1px solid rgba(151,161,225,.24);border-radius:13px;background:#ffffffc2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#3a3357;font-family:inherit;text-align:left;cursor:pointer}.cry-choices>button:active{background:#bac2f94d}.cry-choices>button:disabled{opacity:.52;cursor:wait}.cry-choices>button.is-sending{opacity:1;border-color:var(--purple-main)}.cry-choices>button.is-custom-open{border-color:#7b6fd48c;background:#ebe8fdb8}.cry-choice-label{font-size:15px;font-weight:700;line-height:1.3}.cry-choice-hint{margin-top:1px;color:#8a82a8;font-size:10px}.cry-choice-arrow{position:absolute;top:50%;right:14px;color:var(--purple-mid);font-size:22px;transform:translateY(-52%)}.cry-custom-editor{padding:2px 1px 4px}.cry-custom-editor textarea{display:block;width:100%;min-height:76px;padding:10px 11px;border:1px solid rgba(123,111,212,.38);border-radius:11px;outline:none;resize:vertical;box-sizing:border-box;background:#ffffffeb;color:#2d2a4a;font-family:inherit;font-size:16px;line-height:1.45}.cry-custom-editor textarea:focus{border-color:var(--purple-main);box-shadow:0 0 0 2px #7b6fd41a}.cry-custom-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px}.cry-custom-actions span{color:#8a82a8;font-size:10px}.cry-custom-actions button{flex:0 0 auto;min-width:76px;padding:7px 12px;border:0;border-radius:999px;background:var(--purple-main);color:#fff;font:700 12px/1.2 inherit;cursor:pointer}.cry-custom-actions button:disabled{opacity:.45;cursor:default}.plus-section{padding:0;margin-top:0;border-top:0}.plus-scene-row{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:0 4px}.plus-scene-btn{display:flex;align-items:center;justify-content:center;padding:10px 4px;border:1px solid transparent;background:#bac2f91f;border-radius:10px;cursor:pointer;color:#3a3357;font-size:13px;font-weight:500;line-height:1.2;white-space:nowrap}.plus-scene-btn:active{background:var(--purple-light);border-color:var(--purple-main)}.plus-scene-btn:disabled{opacity:.5}.plus-note-toggle{display:block;width:100%;margin-top:6px;padding:6px 8px;border:none;background:transparent;color:#7a72a3;font-size:12px;text-align:center;cursor:pointer;border-radius:6px}.plus-note-toggle:active{background:var(--purple-light)}.plus-note-wrap{position:relative;margin:7px 4px 0}.plus-note-input{display:block;width:100%;padding:8px 30px 8px 10px;border:1px solid var(--purple-light);border-radius:8px;font-size:16px;background:#fff;color:#2d2a4a;outline:none;box-sizing:border-box}.plus-note-input:focus{border-color:var(--purple-main)}.plus-note-close{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:22px;height:22px;border:none;background:transparent;color:#8a82a8;font-size:18px;line-height:1;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center}.plus-note-close:active{background:var(--purple-light);color:var(--purple-main)}@media (max-width: 360px){.plus-panel{padding-left:8px;padding-right:8px}.tool-page{gap:5px}.tool-tile{padding-left:2px;padding-right:2px}.tool-tile-desc{font-size:9px}}@media (prefers-reduced-motion: reduce){.plus-panel,.plus-subpanel{animation:none}.plus-carousel{scroll-behavior:auto}}.chat-input-bar{position:relative}.stream-status{flex-basis:100%;order:-2;display:inline-flex;align-items:center;gap:6px;color:#6f68a0;font-size:12px;padding:0 2px 2px 42px}.batch-status{flex-basis:100%;order:-3;display:inline-flex;align-items:center;gap:7px;color:#6f68a0;font-size:12px;padding:0 2px 2px 42px}.batch-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.batch-status button{margin-left:auto;border:none;border-radius:999px;padding:4px 10px;background:#f0f2fff2;color:#5d548d;font-size:12px;cursor:pointer}.batch-status button:active{background:var(--purple-light)}.stream-status-label{flex:1;min-width:0}.stream-status.is-paused{color:#b0794a}.stream-status.is-retrying{color:#a86b32}.stream-status.is-stopping{color:#ad5a5a}.stream-status.is-armed{color:#9b4e4e}.stream-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;animation:presence-pulse 1.2s ease-in-out infinite}.stream-stop-btn{border:none;border-radius:999px;padding:4px 10px;background:#fff0f0f2;color:#b94c4c;font-size:12px;cursor:pointer}.stream-stop-btn:active{background:#ffdede}.stream-stop-btn.is-armed{background:#bd5c5c;color:#fff;font-weight:600}.stream-stop-btn.is-armed:active{background:#a94e4e}.stream-stop-btn:disabled{cursor:wait;opacity:.65}.plus-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:none;background:transparent;border-radius:10px;cursor:pointer;font-size:14px;color:#3a3357;text-align:left}.plus-item:active{background:var(--purple-light)}.plus-item:disabled{opacity:.5}.plus-item-icon{font-size:18px}.plus-item-label{font-weight:600}.plus-item-desc{font-size:12px;color:#8a82a8}.thinking-body.is-streaming{opacity:.92}.thinking-cursor{display:inline-block;width:7px;height:13px;margin-left:2px;vertical-align:-2px;background:#8a7fb8;border-radius:1.5px;animation:thinking-cursor-blink .9s steps(1) infinite}@keyframes thinking-cursor-blink{0%,55%{opacity:1}56%,to{opacity:.15}}.msg-atts{display:flex;flex-wrap:wrap;gap:6px}.msg-row.user .msg-atts{justify-content:flex-end}.msg-att-img{max-width:200px;max-height:240px;border-radius:14px;display:block;box-shadow:0 2px 8px #2d2a4a1a}.msg-att-file{display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border-radius:12px;background:#ffffffd9;border:1px solid var(--purple-light);font-size:13px;color:#3a3357;text-decoration:none;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-atts{flex-basis:100%;order:-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:8px}.chat-input-bar{flex-wrap:wrap}.pending-att{position:relative;display:inline-flex;align-items:center}.pending-att-thumb{width:54px;height:54px;object-fit:cover;border-radius:10px;border:1px solid var(--purple-light);display:block}.pending-att-file{font-size:12px;padding:8px 10px;border-radius:10px;background:var(--purple-light);color:#3a3357;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pending-att-remove{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;border:none;background:#6b6390;color:#fff;font-size:10px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center}.pending-att-loading{font-size:12px;color:#8a82a8}.coread-context-badge{display:flex;width:fit-content;max-width:min(430px,100%);align-items:baseline;gap:8px;margin:2px 0 7px;padding:5px 8px;border:1px solid rgba(117,151,130,.24);border-radius:999px;background:#eef7f0cc;color:#4f6958;font-size:10px;line-height:1.3}.coread-context-badge small{color:#829087;font-size:9px;white-space:nowrap}.intimacy-route-badge{width:fit-content;max-width:min(100%,360px);margin:0 0 7px;border:1px solid rgba(137,113,160,.2);border-radius:10px;background:#ffffffb8;color:#756882;font-size:10px;line-height:1.4}.intimacy-route-badge.is-loaded{border-color:#b0537a47;background:#ffeff6c7;color:#8d4967}.intimacy-route-badge summary{padding:4px 8px;cursor:pointer;-webkit-user-select:none;user-select:none;list-style-position:inside;font-weight:700}.intimacy-route-detail{display:grid;gap:2px;padding:0 9px 7px 20px;color:inherit;opacity:.86}.chat-route-display-setting{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(186,194,249,.42)}.chat-route-display-setting>div{display:grid;gap:3px;color:#514a72;font-size:11px}.chat-route-display-setting small{color:#918aa6;font-size:9.5px;font-weight:500}.chat-setting-switch{display:flex;align-items:center;gap:6px;flex:none;border:0;border-radius:999px;padding:5px 9px 5px 6px;background:#eeedf5;color:#827b99;font:700 10px/1 inherit;cursor:pointer}.chat-setting-switch span{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #372e5c2e}.chat-setting-switch.is-on{background:#9188db;color:#fff}.chat-route-status-card{margin-top:10px;padding:9px 10px 2px;border-radius:10px;background:#f5f4fbc2}.chat-route-status-card .intimacy-route-badge{margin-top:6px}.chat-route-empty{margin-top:10px}.line-status-panel,.api-usage-panel{min-width:0;border:1px solid rgba(186,194,249,.5);background:#ffffffc7;border-radius:8px;padding:9px 10px}.line-status-label,.api-usage-title{font-size:11px;font-weight:800;color:#514a72}.line-status-main{display:flex;align-items:center;gap:6px;margin-top:6px;color:#2f2a45;font-size:12px;font-weight:700}.line-status-dot{width:7px;height:7px;border-radius:50%;background:#79b67b;box-shadow:0 0 0 3px #79b67b24}.line-status-panel.is-limited .line-status-dot{background:#d28f4a;box-shadow:0 0 0 3px #d28f4a29}.line-status-sub,.api-usage-sub,.api-usage-empty,.api-usage-discount{margin-top:4px;color:#77708e;font-size:10.5px;line-height:1.35}.api-usage-head{display:flex;justify-content:space-between;gap:8px}.api-usage-total{font-size:13px;font-weight:800;color:#2f2a45;font-variant-numeric:tabular-nums}.api-usage-list{margin-top:8px;display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;overscroll-behavior-x:contain}.api-usage-item{flex:0 0 182px;border-radius:7px;border:1px solid rgba(0,0,0,.05);background:#fafaffe6;padding:8px}.api-usage-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.api-usage-model{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3b3652;font-size:11px;font-weight:700}.api-usage-cost{color:#22745a;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}.api-usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;margin-top:7px;color:#625b78;font-size:10.5px;font-variant-numeric:tabular-nums}.ops-drawer{display:contents}.msg-bubble.msg-failed{background:#f0eef8e6;color:#8a82a8;font-size:13px;font-style:italic;border:1px dashed var(--purple-light)}.msg-bubble.msg-interrupted{background:#f4efe6eb;color:#967457;font-size:13px;font-style:italic;border:1px dashed rgba(187,143,95,.48)}.msg-via{color:#a89fd0}@media (max-width: 430px){.api-usage-item{flex-basis:170px}}.mic-btn{width:40px;height:40px;border-radius:12px;border:1px solid var(--purple-light);background:#fff;color:#6a5ec9;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s,border-color .15s,transform .1s}.mic-btn:hover{background:var(--purple-light)}.mic-btn:active{transform:scale(.94)}.mic-btn:disabled{opacity:.45;cursor:default}.mic-btn.recording{background:#9188db;border-color:#9188db;color:#fff;animation:mic-pulse 1.4s ease-in-out infinite}@keyframes mic-pulse{0%,to{box-shadow:0 0 #9188db80}50%{box-shadow:0 0 0 8px #9188db00}}.voice-recorder-strip{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:6px 0;background:#bac2f929;border:1px solid rgba(145,136,219,.35);border-radius:14px;font-size:13px;color:#4d456a}.voice-rec-cancel{width:26px;height:26px;border-radius:50%;border:none;background:#4a3c7a1f;color:#4a3c7a;font-size:16px;line-height:1;cursor:pointer;flex-shrink:0;display:flex;align-items:center;justify-content:center}.voice-rec-cancel:hover{background:#4a3c7a38}.voice-rec-dot{width:10px;height:10px;border-radius:50%;background:#d24d5f;flex-shrink:0;animation:voice-rec-pulse 1s ease-in-out infinite}.voice-recorder-strip.is-singing .voice-rec-dot{background:#c05a87}.voice-rec-mode{display:flex;align-items:center;padding:2px;border:1px solid rgba(74,60,122,.2);border-radius:7px;background:#ffffff80;flex-shrink:0}.voice-rec-mode button{min-width:34px;height:23px;padding:0 5px;border:none;border-radius:5px;background:transparent;color:#6e658a;font-size:11px;line-height:1;cursor:pointer}.voice-rec-mode button.is-active{background:#9188db;color:#fff}.voice-recorder-strip.is-singing .voice-rec-mode button.is-active{background:#b75b82}.voice-rec-mode button:disabled{cursor:default;opacity:.65}@keyframes voice-rec-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}.voice-rec-wave{flex:1;display:flex;align-items:center;gap:2px;height:26px;overflow:hidden;min-width:0}.voice-rec-bar{flex:1;max-width:4px;min-width:2px;border-radius:2px;background:linear-gradient(180deg,#9188db,#bac2f9);transition:height .08s ease}.voice-rec-timer{font-variant-numeric:tabular-nums;color:#5a5074;flex-shrink:0;min-width:34px;text-align:right}.voice-rec-stop{width:34px;height:34px;border-radius:50%;border:none;background:#9188db;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s,transform .1s}.voice-rec-stop:hover{background:#7f75d0}.voice-rec-stop:active{transform:scale(.94)}.voice-rec-stop:disabled{opacity:.6}.voice-rec-spin{width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:voice-spin .7s linear infinite}@keyframes voice-spin{to{transform:rotate(360deg)}}.voice-rec-err{flex:1;color:#a0435a;font-size:13px}.voice-uploading{display:flex;align-items:center;gap:8px;padding:6px 12px;margin:4px 0;color:#5a5074;font-size:12px}.voice-uploading-dot{width:8px;height:8px;border-radius:50%;background:#9188db;animation:voice-rec-pulse 1s ease-in-out infinite}@media (max-width: 430px){.voice-recorder-strip{gap:7px;padding:9px 10px}.voice-rec-mode button{min-width:31px;padding:0 4px}.voice-rec-wave{gap:1px}}.voice-bar-wrap{display:flex;flex-direction:column;gap:6px;max-width:320px;margin:2px 0}.voice-bar-wrap.voice-user{align-self:flex-end}.voice-bar-wrap.voice-assistant{align-self:flex-start}.voice-bar{display:flex;align-items:center;gap:10px;background:#bac2f933;border:1px solid rgba(145,136,219,.35);border-radius:18px;padding:8px 12px;min-width:200px}.voice-play-loading{width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:voice-spin .65s linear infinite}.voice-user .voice-bar{background:#9188db;border-color:transparent;color:#fff}.voice-speaker-hint{align-self:flex-start;padding:1px 3px;color:#7b739b;font-size:10px;line-height:1.35}.voice-user .voice-speaker-hint{align-self:flex-end;color:#594f84c7}.voice-speaker-hint.verified{color:#4f7c65}.voice-speaker-hint.likely_match{color:#5e7590}.voice-speaker-hint.unknown{color:#a26945}.voice-speaker-hint.unavailable{color:#8a7894}.voice-play-btn{width:32px;height:32px;border-radius:50%;border:none;background:#9188db;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background .15s,transform .1s}.voice-user .voice-play-btn{background:#ffffffd9;color:#4a3c7a}.voice-play-btn:hover{background:#7f75d0}.voice-user .voice-play-btn:hover{background:#fff}.voice-play-btn:active{transform:scale(.94)}.voice-play-btn:disabled{opacity:.5;cursor:default}.voice-track{flex:1;display:flex;align-items:center;gap:2px;height:24px;cursor:pointer;min-width:0}.voice-bar-tick{flex:1;max-width:3px;min-width:2px;border-radius:2px;background:#4a3c7a59;transition:background .1s}.voice-user .voice-bar-tick{background:#ffffffc7;box-shadow:0 0 0 1px #ffffff14}.voice-bar-tick.played{background:#4a3c7a}.voice-user .voice-bar-tick.played{background:#fff;box-shadow:0 0 5px #ffffff8c}.voice-meta{display:flex;align-items:center;gap:6px;flex-shrink:0}.voice-dur{font-size:12px;font-variant-numeric:tabular-nums;color:#5a5074;min-width:32px;text-align:right}.voice-user .voice-dur{color:#ffffffd9}.voice-text-btn{font-size:11px;font-weight:600;padding:2px 7px;border-radius:8px;border:1px solid rgba(74,60,122,.22);background:transparent;color:#4a3c7a;cursor:pointer;transition:background .15s;line-height:1.4}.voice-user .voice-text-btn{border-color:#ffffff59;color:#fff}.voice-text-btn:hover{background:#4a3c7a1a}.voice-user .voice-text-btn:hover{background:#ffffff26}.voice-text-btn.on{background:#4a3c7a26}.voice-user .voice-text-btn.on{background:#fff3}.voice-transcript{font-size:13px;line-height:1.55;color:#4a3c7a;background:#bac2f924;padding:8px 12px;border-radius:10px;border-left:3px solid #9188DB}.voice-transcript.voice-aligned{display:flex;flex-wrap:wrap;gap:1px 2px}.voice-alignment-token{min-width:0;padding:0 1px;border:none;border-radius:3px;background:transparent;color:inherit;font:inherit;line-height:inherit;cursor:pointer;transition:background .12s,color .12s}.voice-alignment-token:hover{background:#4a3c7a1a}.voice-alignment-token.is-played{opacity:.7}.voice-alignment-token.is-current{background:#6e62c2;color:#fff;opacity:1}.voice-user .voice-alignment-token:hover{background:#ffffff24}.voice-user .voice-alignment-token.is-current{background:#fff;color:#5d5199}.voice-pitch{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-height:34px;padding:4px 8px;border-left:3px solid #b75b82;background:#c05a8714;color:#67496a;font-size:10px}.voice-pitch-label,.voice-pitch-range{white-space:nowrap}.voice-pitch-chart{display:block;width:100%;height:28px;overflow:visible}.voice-pitch-path{fill:none;stroke:#b75b82;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.voice-pitch-cursor{stroke:#6e62c2;stroke-width:1.5}.voice-melody-summary{margin:0;padding:0 2px;color:#75647a;font-size:11px;line-height:1.45}.voice-singing-processing{margin:0;padding:0 2px;font-size:10px;line-height:1.35}.voice-singing-processing.is-ready{color:#5f8b74}.voice-singing-processing.is-fallback{color:#9a6873}.voice-song-card{display:flex;flex-direction:column;gap:6px;width:fit-content;max-width:100%;align-self:flex-start;padding:10px 12px 8px;border-radius:14px;background:#ffffff8c;-webkit-backdrop-filter:blur(14px) saturate(1.5);backdrop-filter:blur(14px) saturate(1.5);border:1px solid rgba(255,255,255,.65);box-shadow:0 4px 16px #5d51991f}.voice-user .voice-song-card{align-self:flex-end}.voice-song-lyrics-btn{margin-left:4px}.voice-song-listen-btn{flex:0 0 auto;border:0;border-radius:8px;padding:3px 7px;background:#9188db24;color:#685aa6;font-family:inherit;font-size:11px;font-weight:700;cursor:pointer}.voice-song-listen-btn:active{background:#9188db47}.voice-song-head{display:flex;align-items:baseline;gap:6px;min-width:0}.voice-song-icon{font-size:14px;line-height:1;color:#9188db;flex-shrink:0}.voice-song-title{font-size:13px;font-weight:600;color:#453a6b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voice-song-artist{font-size:11px;color:#7a7096;flex-shrink:0}.voice-song-guess{font-size:12px;color:#7a7096}.voice-song-lyrics{font-size:13px;line-height:1.65;color:#4a3c7a}.voice-song-card .voice-pitch,.voice-user .voice-song-card .voice-pitch{border-left:none;background:transparent;padding:0;color:#75647a;min-height:30px;min-width:200px}.voice-rec-note{font-size:12px;font-variant-numeric:tabular-nums;color:#67496a66;min-width:44px;text-align:center;white-space:nowrap;transition:color .2s}.voice-rec-note.is-on{color:#b75b82;font-weight:600}.voice-user .voice-pitch{border-left:none;background:transparent;color:#75647a;padding:2px 3px}.voice-user .voice-pitch-path{stroke:#a84e78}.voice-user .voice-pitch-cursor{stroke:#6457af}.voice-user .voice-transcript{align-self:flex-end;padding:2px 3px 0;border-left:none;border-radius:0;background:transparent;color:#625b78;font-size:12px;text-align:right}.voice-user .voice-transcript.voice-aligned{justify-content:flex-end}.voice-error-hint{display:inline-flex;align-items:center;padding:4px 10px;margin:4px 0;background:#d24d5f1a;border:1px solid rgba(210,77,95,.35);color:#a0435a;border-radius:10px;font-size:12px}.chat-page.chat-layout-reader{max-width:640px;--reader-meta-size: 11.5px}.app-shell.chat-reader-shell{max-width:640px}.chat-reader-exit{flex:0 0 auto;width:30px;height:30px;border:0;border-radius:8px;padding:0;background:transparent;color:#8c869a;font-family:Georgia,Times New Roman,serif;font-size:14px;font-weight:600;letter-spacing:-.08em;line-height:1;cursor:pointer;opacity:.72}.chat-reader-exit:hover,.chat-reader-exit:active{background:#7f75a314;opacity:1}.chat-layout-reader .chat-header,.chat-layout-reader .chat-input-bar{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .22))}.chat-layout-reader .back-btn,.chat-layout-reader .chat-header-status,.chat-layout-reader .chat-reader-exit{color:var(--reader-control-color, #62566c)}.chat-layout-reader .back-btn:hover,.chat-layout-reader .back-btn:active,.chat-layout-reader .chat-header-status:hover,.chat-layout-reader .chat-header-status:active,.chat-layout-reader .chat-reader-exit:hover,.chat-layout-reader .chat-reader-exit:active{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1))}.chat-layout-reader .plus-btn,.chat-layout-reader .mic-btn{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .24));background:var(--reader-control-surface-color, rgba(255, 255, 255, .9));color:var(--reader-control-color, #62566c)}.chat-layout-reader .plus-btn.open,.chat-layout-reader .mic-btn:hover{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1))}.chat-layout-reader .mic-btn.recording,.chat-layout-reader .send-btn{border-color:var(--reader-control-fill-color, #756778);background:var(--reader-control-fill-color, #756778);color:var(--reader-control-on-fill-color, #fff)}.chat-layout-reader .send-btn:not(:disabled):hover,.chat-layout-reader .send-btn:not(:disabled):active{background:var(--reader-control-fill-hover-color, #62566c)}.chat-layout-reader .chat-input{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .24))}.chat-layout-reader .chat-input:focus{border-color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-recorder-strip{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .24));background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1));color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-rec-cancel{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .12));color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-rec-cancel:hover{background:var(--reader-control-border-color, rgba(95, 82, 108, .22))}.chat-layout-reader .voice-rec-mode{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .22));background:var(--reader-control-surface-color, rgba(255, 255, 255, .74))}.chat-layout-reader .voice-rec-mode button{color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-rec-mode button.is-active,.chat-layout-reader .voice-recorder-strip.is-singing .voice-rec-mode button.is-active,.chat-layout-reader .voice-rec-stop{background:var(--reader-control-fill-color, #756778);color:var(--reader-control-on-fill-color, #fff)}.chat-layout-reader .voice-rec-stop:hover{background:var(--reader-control-fill-hover-color, #62566c)}.chat-layout-reader .voice-rec-bar{background:linear-gradient(180deg,var(--reader-control-fill-color, #756778),var(--reader-control-color, #62566c))}.chat-layout-reader .voice-rec-dot,.chat-layout-reader .voice-recorder-strip.is-singing .voice-rec-dot,.chat-layout-reader .voice-uploading-dot{background:var(--reader-heart-color, #806b76)}.chat-layout-reader .voice-rec-timer,.chat-layout-reader .voice-rec-note,.chat-layout-reader .voice-rec-note.is-on,.chat-layout-reader .voice-uploading{color:var(--reader-control-color, #62566c)}.chat-layout-reader .mic-btn.recording{animation-name:reader-mic-pulse}@keyframes reader-mic-pulse{0%,to{box-shadow:0 0 0 0 var(--reader-control-border-color, rgba(95, 82, 108, .26))}50%{box-shadow:0 0 0 8px transparent}}.chat-layout-reader .thinking-dots span{background:var(--reader-control-color, #62566c)}.chat-layout-reader .thinking-toggle{background:transparent;color:var(--reader-note-color, #6f687c);-webkit-backdrop-filter:none;backdrop-filter:none}.chat-layout-reader .thinking-toggle.frozen{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1));animation-name:reader-thinking-freeze-pop}.chat-layout-reader .chat-header-status .presence-dot,.chat-layout-reader .stage-chip.stage-thinking .stage-chip-dot,.chat-layout-reader .tool-progress-dot{background:var(--reader-control-color, #62566c)}.chat-layout-reader .stage-chip.stage-thinking,.chat-layout-reader .stage-chip.stage-tool,.chat-layout-reader .tool-progress-chip{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .24));background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1));color:var(--reader-control-color, #62566c)}@keyframes reader-thinking-freeze-pop{0%{transform:scale(1);box-shadow:0 0 0 0 transparent}25%{transform:scale(1.05);background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .12));box-shadow:0 0 0 5px var(--reader-control-border-color, rgba(95, 82, 108, .2))}to{transform:scale(1);box-shadow:0 0 0 0 transparent}}.chat-layout-reader .voice-bar-wrap{width:min(100%,320px);max-width:320px;gap:4px;margin:1px 0}.chat-layout-reader .voice-bar,.chat-layout-reader .voice-user .voice-bar{min-width:190px;gap:9px;padding:3px 0;border:0;border-radius:0;background:transparent;color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-play-btn,.chat-layout-reader .voice-user .voice-play-btn{width:28px;height:28px;background:var(--reader-control-fill-color, #756778);color:var(--reader-control-on-fill-color, #fff)}.chat-layout-reader .voice-play-btn:hover,.chat-layout-reader .voice-user .voice-play-btn:hover{background:var(--reader-control-fill-hover-color, #62566c)}.chat-layout-reader .voice-bar-tick,.chat-layout-reader .voice-user .voice-bar-tick{background:var(--reader-control-border-color, rgba(95, 82, 108, .28));box-shadow:none}.chat-layout-reader .voice-bar-tick.played,.chat-layout-reader .voice-user .voice-bar-tick.played{background:var(--reader-control-color, #62566c);box-shadow:none}.chat-layout-reader .voice-dur,.chat-layout-reader .voice-user .voice-dur,.chat-layout-reader .voice-speaker-hint,.chat-layout-reader .voice-user .voice-speaker-hint{color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-text-btn,.chat-layout-reader .voice-user .voice-text-btn{border-color:var(--reader-control-border-color, rgba(95, 82, 108, .24));background:transparent;color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-text-btn:hover,.chat-layout-reader .voice-user .voice-text-btn:hover,.chat-layout-reader .voice-text-btn.on,.chat-layout-reader .voice-user .voice-text-btn.on{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1))}.chat-layout-reader .voice-transcript{padding:2px 0 2px 10px;border-left:1px solid var(--reader-note-rule-color, rgba(95, 82, 108, .28));border-radius:0;background:transparent;color:var(--reader-note-text-color, var(--reader-text-color, #302b3d))}.chat-layout-reader .voice-alignment-token:hover{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1))}.chat-layout-reader .voice-alignment-token.is-current,.chat-layout-reader .voice-user .voice-alignment-token.is-current{background:var(--reader-control-fill-color, #756778);color:var(--reader-control-on-fill-color, #fff)}.chat-layout-reader .voice-song-card{padding:4px 0 2px 10px;border:0;border-left:1px solid var(--reader-note-rule-color, rgba(95, 82, 108, .28));border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.chat-layout-reader .voice-song-icon,.chat-layout-reader .voice-song-title,.chat-layout-reader .voice-song-artist,.chat-layout-reader .voice-song-guess,.chat-layout-reader .voice-song-lyrics,.chat-layout-reader .voice-melody-summary,.chat-layout-reader .voice-pitch{color:var(--reader-note-text-color, var(--reader-text-color, #302b3d))}.chat-layout-reader .voice-song-listen-btn{background:var(--reader-control-soft-bg-color, rgba(98, 86, 108, .1));color:var(--reader-control-color, #62566c)}.chat-layout-reader .voice-pitch{border-left-color:var(--reader-heart-color, #806b76);background:transparent}.chat-layout-reader .voice-pitch-path,.chat-layout-reader .voice-pitch-cursor{stroke:var(--reader-heart-color, #806b76)}.chat-layout-reader .chat-header-diary,.chat-layout-reader .push-bell{display:none}.chat-layout-reader .messages-list{gap:18px;padding:20px clamp(18px,4.5vw,36px) 28px;background:var( --reader-paper-color, rgba(253, 252, 255, var(--chat-reader-bg-transparency, .86)) )}.chat-layout-reader .msg-row{display:block;width:100%;min-width:0}.chat-layout-reader .msg-row.assistant-segment{margin-top:0}.chat-layout-reader .msg-avatar,.chat-layout-reader .msg-avatar-spacer{display:none}.chat-layout-reader .msg-bubble-wrap,.chat-layout-reader .ordered-message-parts,.chat-layout-reader .ordered-part{width:100%;max-width:none}.chat-layout-reader .msg-bubble-wrap,.chat-layout-reader .msg-row.user .msg-bubble-wrap{align-items:stretch;gap:5px}.chat-layout-reader .msg-bubble-wrap:before{content:none;display:none}.chat-layout-reader .msg-row.user{display:flex;flex-direction:row;justify-content:flex-end;padding:2px 0}.chat-layout-reader .msg-row.user:before{content:none;display:none}.chat-layout-reader .msg-row.user .msg-bubble-wrap:before{content:none;display:none}.chat-layout-reader .msg-row.user .msg-bubble-wrap{width:fit-content;max-width:84%;padding:0;border:0;align-items:flex-end}.chat-layout-reader .ordered-message-parts{gap:7px}.chat-layout-reader .msg-bubble,.chat-layout-reader .msg-row.assistant .msg-bubble,.chat-layout-reader .msg-row.user .msg-bubble{max-width:none;padding:0;border-radius:0;background:transparent;box-shadow:none;color:var(--reader-text-color, #302b3d);font-size:15px;line-height:1.63;letter-spacing:0;text-align:left}.chat-layout-reader .msg-row.user .msg-bubble{color:var(--reader-user-text-color, #493d4b);width:fit-content;max-width:100%;padding:7px 12px;border-radius:14px 14px 4px;background:var(--reader-user-bg-color, rgba(184, 142, 186, .14));font-size:14.5px;font-weight:400;line-height:1.55}.chat-layout-reader .chat-md-h1{font-size:1.12em}.chat-layout-reader .chat-md-h2{font-size:1.06em}.chat-layout-reader .chat-md-h3{font-size:1em}.chat-layout-reader .chat-md-p{margin:0;white-space:normal}.chat-layout-reader .chat-md-authored-line+.chat-md-authored-line{margin-top:.1em}.chat-layout-reader .chat-md-authored-line.is-action-line:not(:first-child),.chat-layout-reader .chat-md-authored-line.is-action-line+.chat-md-authored-line:not(.is-action-line){margin-top:.3em}.chat-layout-reader .chat-md-authored-line.is-action-line+.chat-md-authored-line.is-action-line{margin-top:.1em}.chat-layout-reader .chat-md-p+.chat-md-p{margin-top:.46em}.chat-layout-reader .chat-md-action,.chat-layout-reader .msg-row.assistant .chat-md-action,.chat-layout-reader .msg-row.user .chat-md-action{color:var(--reader-action-color, #5f526c);font-style:normal;font-size:.94em;font-weight:520;letter-spacing:.006em}.chat-layout-reader .chat-md-action.is-short-action{font-style:normal}.chat-layout-reader .msg-row.user .chat-md-link{color:var(--reader-user-link-color, #5d56b5)}.chat-layout-reader .msg-row.user .chat-md-action{color:inherit;font-style:normal;font-weight:520}.chat-layout-reader .msg-row.user strong{color:inherit;font-weight:600}.chat-layout-reader .msg-row.user .chat-md-inline-code{background:var(--reader-note-surface-color, rgba(45, 42, 74, .08));color:var(--reader-user-text-color, #4d465e)}.chat-layout-reader .msg-row.user .chat-md-quote{border-left-color:var(--reader-note-rule-color, rgba(123, 111, 212, .32));background:var(--reader-note-surface-color, rgba(123, 111, 212, .06));color:var(--reader-user-text-color, #5d566d)}.chat-layout-reader .msg-row.user .chat-md-hr{border-top-color:var(--reader-note-rule-color, rgba(82, 73, 120, .16))}.chat-layout-reader .msg-row.user .chat-code-fold{border-color:#413b5c24;background:#f6f7fb;color:#252236}.chat-layout-reader .msg-row.user .chat-code-fold summary{border-bottom-color:#413b5c1a}.chat-layout-reader .msg-row.user .chat-code-fold summary:before,.chat-layout-reader .msg-row.user .chat-code-meta{color:#746ba4}.chat-layout-reader .msg-row.user .chat-code-copy{border-color:#746ba438;background:#ffffffb8;color:#5f568d}.chat-layout-reader .msg-bubble+.msg-bubble{margin-top:12px}.chat-layout-reader .msg-time{display:none}.chat-layout-reader .reader-note-cluster{width:100%;margin:-1px 0 1px}.chat-layout-reader .reader-note-actions{display:flex;align-items:center;flex-wrap:wrap;min-height:18px}.chat-layout-reader .reader-note-toggle{display:inline-flex;align-items:center;gap:3px;border:0;padding:1px 0;background:transparent;color:var(--reader-meta-color, #96909f);font-family:inherit;font-size:var(--reader-meta-size);font-weight:500;line-height:1.45;cursor:pointer}.chat-layout-reader .reader-note-toggle+.reader-note-toggle:before{content:"·";margin:0 7px;color:var(--reader-meta-soft-color, #c1bdc7)}.chat-layout-reader .reader-note-toggle:disabled{cursor:default;opacity:.72}.chat-layout-reader .reader-note-toggle:hover:not(:disabled),.chat-layout-reader .reader-note-toggle:active:not(:disabled){color:var(--reader-note-color, #6f687c)}.chat-layout-reader .reader-note-caret{color:var(--reader-meta-soft-color, #b2acb9);font-size:9px;line-height:1}.chat-layout-reader .reader-note-body{margin:5px 0 4px;padding:1px 0 1px 11px;border-left:1px solid var(--reader-note-rule-color, rgba(119, 108, 146, .2));background:transparent;color:var(--reader-note-color, #716a7d);font-size:11.5px;font-style:normal;line-height:1.65;white-space:pre-wrap;word-break:break-word}.chat-layout-reader .reader-note-body.note-heart{color:var(--reader-heart-color, #806b76)}.chat-layout-reader .thinking-body,.chat-layout-reader .heart-body{background:var(--reader-note-surface-color, rgba(255, 255, 255, .48))}.chat-layout-reader .msg-row.in-selection{position:relative;padding-left:34px}.chat-layout-reader .msg-select-mark{position:absolute;top:4px;left:2px}@media (max-width: 360px){.chat-layout-reader .chat-header-diary,.chat-layout-reader .push-bell{display:none}.chat-layout-reader .chat-header{gap:9px;padding-left:14px;padding-right:14px}}@media (min-width: 700px){.chat-layout-reader .messages-list{padding-left:44px;padding-right:44px}}.login-page{min-height:100dvh;display:grid;place-items:center;padding:28px;color:#343052;background:radial-gradient(circle at 18% 14%,rgba(209,195,247,.8),transparent 31%),radial-gradient(circle at 92% 80%,rgba(250,221,230,.72),transparent 35%),linear-gradient(145deg,#f8f6ff,#eeebfa)}.login-card{width:min(100%,390px);padding:38px 30px 30px;border:1px solid rgba(115,95,177,.18);border-radius:28px;background:#ffffffbd;box-shadow:0 24px 60px #4c3d7e29;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.login-mark{display:grid;place-items:center;width:44px;height:44px;margin-bottom:22px;border-radius:14px;color:#fff;font-size:21px;background:linear-gradient(135deg,#7b6fd4,#aa96e8);box-shadow:0 10px 20px #5c4ca63d}.login-kicker{margin-bottom:8px;color:#8c82b7;font-size:11px;font-weight:800;letter-spacing:.15em}.login-card h1{margin:0;color:#322d51;font-size:30px;letter-spacing:-.04em}.login-copy{margin:14px 0 24px;color:#766f94;font-size:14px;line-height:1.7}.login-form{display:grid}.login-label{margin-bottom:8px;color:#56506f;font-size:13px;font-weight:700}.login-input{width:100%;height:48px;padding:0 14px;border:1px solid rgba(99,84,156,.22);border-radius:13px;outline:none;color:#322d51;font:inherit;font-size:16px;background:#ffffffd1;transition:border-color .16s ease,box-shadow .16s ease}.login-input:focus{border-color:#7b6fd4;box-shadow:0 0 0 4px #7b6fd421}.login-error{margin:10px 0 0;color:#b34a61;font-size:13px}.login-submit{height:48px;margin-top:22px;border:0;border-radius:13px;color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer;background:linear-gradient(135deg,#7568cd,#9284df);box-shadow:0 10px 20px #6150b238}.login-submit:disabled{cursor:wait;opacity:.55;box-shadow:none}.login-setup-note{margin-top:22px;padding:15px;border-radius:15px;color:#675d87;font-size:13px;line-height:1.7;background:#f5f1ffd1}.login-setup-note p{margin:0 0 9px}.login-setup-note p:last-child{margin-bottom:0}.login-setup-note code{display:block;overflow-wrap:anywhere;margin:8px 0;color:#564a88;font-size:12px}:root{--space-2xs: 4px;--space-xs: 8px;--space-sm: 12px;--space-md: 16px;--space-lg: 24px;--space-xl: 32px;--space-2xl: 48px;--space-3xl: 64px;--lavender-50: #F4F2FB;--lavender-100: #ECE9F7;--lavender-200: #DDD7F0;--lavender-300: #C5BCE6;--lavender-400: #9B8EE0;--lavender-500: #7B6FD4;--lavender-600: #5E51B8;--lavender-700: #3F3589;--ink-900: #2D2A4A;--ink-600: #6B6890;--ink-400: #A8A5C0;--accent-warm: #F5C842;--color-bg: var(--lavender-50);--color-surface: var(--lavender-100);--color-surface-hover:var(--lavender-200);--color-border: var(--lavender-300);--color-brand: var(--lavender-500);--color-brand-strong: var(--lavender-600);--color-text: var(--ink-900);--color-text-muted: var(--ink-600);--color-text-faint: var(--ink-400);--color-on-brand: #FFFFFF;--text-display-size: 32px;--text-display-lh: 1.2;--text-display-weight: 800;--text-title-size: 18px;--text-title-lh: 1.3;--text-title-weight: 700;--text-body-size: 14px;--text-body-lh: 1.55;--text-body-weight: 500;--text-caption-size: 12px;--text-caption-lh: 1.4;--text-caption-weight: 600;--radius-sm: 8px;--radius-md: 16px;--radius-lg: 20px;--radius-xl: 28px;--radius-full: 999px;--elevation-0: none;--elevation-1: 0 2px 8px rgba(123, 111, 212, .06);--elevation-2: 0 6px 20px rgba(123, 111, 212, .1);--elevation-3: 0 16px 40px rgba(123, 111, 212, .14);--motion-fast: .12s;--motion-base: .2s;--motion-slow: .4s;--easing-soft: cubic-bezier(.4, 0, .2, 1);--easing-spring: cubic-bezier(.34, 1.56, .64, 1);--purple-main: var(--color-brand);--yellow: var(--accent-warm);--text-dark: var(--color-text);--text-mid: var(--color-text-muted);--text-light: var(--color-text-faint);--radius: var(--radius-lg);--bg: #f0eff8;--bg-card: #ffffff;--purple-light: #e8e6f8;--purple-mid: #b8b0e8;--purple-dark: #4a3fa0;--shadow: 0 4px 20px rgba(123, 111, 212, .1)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Nunito,PingFang SC,Microsoft YaHei,sans-serif;background:var(--color-bg);color:var(--text-dark);min-height:100vh}.app-shell{width:100%;max-width:480px;margin:0 auto;min-height:100vh;background:var(--color-bg);position:relative;overflow-x:hidden}.auth-loading{display:grid;min-height:100dvh;place-items:center;color:var(--text-mid);font-size:14px;background:var(--bg)}.page{padding:0 0 90px;min-height:100vh}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:480px;background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--purple-light);display:flex;justify-content:space-around;align-items:center;padding:10px 0 16px;z-index:100}.nav-item{display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;text-decoration:none;color:var(--text-light);font-size:var(--text-caption-size);font-weight:var(--text-caption-weight);transition:color .2s}.nav-item.active{color:var(--purple-main)}.nav-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:10px;transition:background .2s}.nav-item.active .nav-icon{background:var(--purple-light)}.card{border-radius:var(--radius-lg);padding:var(--space-lg)}.card--surface{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--elevation-1)}.card--ghost{background:transparent;border:1px solid var(--color-border);box-shadow:none}.card--feature{background:var(--color-surface);box-shadow:var(--elevation-1)}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--purple-mid);border-radius:4px}.page-bg-layer{position:fixed;top:0;left:0;right:0;bottom:0;z-index:-1;background-size:cover;background-position:center;pointer-events:none}.has-page-bg{position:relative;z-index:0;background:transparent!important}
