.y-screen{--y-bg:var(--bg);--y-panel:var(--panel);--y-raised:var(--raised);--y-ink:var(--ink);--y-muted:var(--muted);--y-accent:var(--accent);--y-accent-ink:var(--accent-ink);--y-line:var(--line);--y-decor:var(--decor);--y-danger:var(--danger);--y-danger-bg:var(--danger-bg);--y-focus:var(--focus);--y-ok:#bfe8c9;--y-ok-bg:#1f3a2a;background:var(--y-bg);height:100dvh;color:var(--y-ink);flex-direction:column;display:flex;overflow:hidden}.y-screen a{color:inherit;text-decoration:none}.y-screen button:disabled{cursor:not-allowed;opacity:.5}.y-screen svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:22px;height:22px}.y-screen button:focus-visible,.y-screen a:focus-visible,.y-screen input:focus-visible,.y-screen select:focus-visible{outline:3px solid var(--y-focus);outline-offset:3px}.y-heading{flex-shrink:0;padding:2px 22px 0}.y-heading h1{letter-spacing:-.6px;font-size:24px}.y-heading p{color:var(--y-muted);margin-top:3px;font-size:13px}@media (width>=900px){.y-heading{padding-left:max(52px,50% - 360px);padding-right:max(52px,50% - 360px)}}.y-top{flex-shrink:0;align-items:center;gap:10px;min-height:74px;padding:13px 20px;display:flex}.y-top-title{flex:1;min-width:0}.y-top-title h1{letter-spacing:-.5px;font-size:21px}.y-top-title p{color:var(--y-muted);margin-top:3px;font-size:13px}.y-screen .y-icon-btn{width:44px;min-width:44px;height:44px;color:var(--y-ink);background:0 0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.y-scroll{scrollbar-width:thin;flex:1;min-height:0;padding:10px 22px 24px;overflow:auto}.y-intro{margin-bottom:20px}.y-intro p{color:var(--y-muted);margin-top:12px;font-size:16px;line-height:1.6}.y-sub{color:var(--y-muted);font-size:14px;line-height:1.6}.y-tiny{font-size:12px;line-height:1.5;display:block}.y-muted{color:var(--y-muted)}.y-bottom-note{color:var(--y-muted);margin-top:18px;font-size:12px;line-height:1.5}.y-screen .y-primary,.y-screen .y-secondary,.y-screen .y-danger,.y-screen .y-text-action{text-align:center;border-radius:24px;justify-content:center;align-items:center;gap:9px;width:100%;min-width:44px;min-height:48px;padding:11px 16px;font-size:16px;font-weight:650;display:flex}.y-screen .y-primary{background:var(--y-accent);color:var(--y-accent-ink)}.y-screen .y-secondary{background:var(--y-panel);color:var(--y-ink);border:1px solid var(--y-line)}.y-screen .y-danger{background:var(--y-danger-bg);color:var(--y-danger);border:1px solid var(--y-danger)}.y-screen .y-text-action{color:var(--y-accent);text-underline-offset:3px;background:0 0;font-size:14px;font-weight:500;text-decoration:underline}.y-footer{background:var(--y-bg);border-top:1px solid var(--y-decor);flex-shrink:0;gap:8px;padding:12px 22px 20px;display:grid}.y-tabs{gap:9px;margin:4px 0 22px;display:flex}.y-tabs>a{border:1px solid var(--y-line);border-radius:24px;flex:1;justify-content:center;align-items:center;min-height:44px;font-size:15px;display:flex}.y-tabs .active{color:var(--y-accent-ink);background:var(--y-accent);border-color:var(--y-accent)}.y-form{gap:16px;display:grid}.y-form.compact{gap:14px;margin-bottom:8px}.y-field{gap:7px;display:grid}.y-field>span{font-size:14px;font-weight:600}.y-field small{color:var(--y-muted);font-size:12px;line-height:1.5}.y-field small.y-error-text{color:var(--y-danger);font-size:13px}.y-screen input[type=text],.y-screen input[type=number],.y-screen input[type=password],.y-screen select{background:var(--y-panel);border:1px solid var(--y-line);width:100%;min-width:0;min-height:48px;color:var(--y-ink);border-radius:12px;padding:10px 12px;font-size:16px;line-height:1.4}.y-screen input::placeholder{color:var(--y-muted);opacity:.75}.y-screen input.invalid{border-color:var(--y-danger)}.y-password-wrap{display:block;position:relative}.y-password-wrap input{padding-right:56px}.y-screen .y-password-wrap button{width:44px;height:44px;position:absolute;top:2px;right:3px}.y-switch{align-items:flex-start;gap:12px;min-height:44px;padding:5px 0;font-size:14px;line-height:1.6;display:flex}.y-switch input{width:44px;height:26px;min-height:26px;accent-color:var(--y-accent);flex-shrink:0;margin:3px 0 0}.y-explicit-note{color:var(--y-muted);background:var(--y-panel);border-radius:12px;padding:12px 14px;font-size:14px;line-height:1.6}.y-explicit-note strong{color:var(--y-ink);font-weight:600}.y-notice{background:var(--y-panel);border-radius:15px;margin:0 0 14px;padding:15px 16px;font-size:14px;line-height:1.65}.y-notice p{margin-top:6px;font-size:14px;line-height:1.6}.y-notice.error{border:1px solid var(--y-danger);background:var(--y-danger-bg);color:var(--y-danger)}.y-notice.ok{background:var(--y-ok-bg);color:var(--y-ok);border:1px solid #4b7b5a}.y-look-avatar{align-items:center;gap:15px;margin:4px 0 20px;display:flex}.y-look-avatar .y-field{flex:1}.y-avatar-letter{background:var(--y-raised);border-radius:50%;flex-shrink:0;place-items:center;width:64px;height:64px;font-size:27px;display:grid}.y-choices{gap:7px;display:flex}.y-screen .y-choices button{border:1px solid var(--y-line);background:0 0;border-radius:24px;flex:1;min-height:44px;padding:8px 10px;font-size:14px}.y-screen .y-choices .selected{color:var(--y-accent-ink);background:var(--y-accent);border-color:var(--y-accent)}.y-two-col{grid-template-columns:1fr 1fr;gap:12px;display:grid}.y-menu-row{border-bottom:1px solid var(--y-decor);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 0;font-size:16px;display:flex}.y-menu-row.y-menu-button{text-align:left;border-bottom:1px solid var(--y-decor);background:0 0;width:100%}.y-menu-row.y-menu-danger{color:var(--y-danger)}.y-menu-row svg{width:20px;height:20px}.y-center-main{flex-direction:column;justify-content:center;min-height:100%;padding-bottom:30px;display:flex}.y-empty{text-align:center;padding:24px 4px}.y-empty h1{font-size:28px}.y-empty p{color:var(--y-muted);margin:14px 0 22px;font-size:16px;line-height:1.7}.y-empty p.y-sub{margin:0;font-size:14px}@media (width<=380px){.y-two-col{grid-template-columns:1fr}}@font-face{font-family:DM Sans;src:url(/media/fonts/DM-Sans.ttf)format("truetype");font-weight:100 1000;font-display:block}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#19161f;--panel:#28222e;--raised:#342c3a;--ink:#fbf5ed;--muted:#c9becd;--accent:#ffe4ac;--accent-ink:#352614;--line:#a18fa6;--decor:#55475d;--danger:#ffb9b9;--danger-bg:#492d36;--focus:#b9d6ff;--photo-bg:#211924;--photo-ink:#fff7ee}*{box-sizing:border-box}html,body{scrollbar-width:thin;width:100%;height:100%;margin:0}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;font:16px/1.5 DM Sans,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus)}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}h1,h2,h3,p,figure{margin:0}h1{letter-spacing:-1px;font-size:29px;font-weight:650;line-height:1.15}h2{letter-spacing:-.5px;font-size:21px;font-weight:650;line-height:1.3}h3{font-size:18px;font-weight:600;line-height:1.35}svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:22px;height:22px}.screen{flex-direction:column;height:100dvh;display:flex;overflow:hidden}.top{flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;min-height:74px;padding:13px 20px;display:flex}.top-title{flex:1;min-width:0}.top-title h1{letter-spacing:-.5px;font-size:21px}.top-title p{color:var(--muted);margin-top:3px;font-size:13px}.brand{letter-spacing:-1.4px;align-items:center;min-height:44px;font-size:26px;font-weight:750;display:inline-flex}.brand span{color:var(--accent)}.chip18{border:1px solid var(--line);border-radius:30px;margin-left:10px;padding:9px 11px;font-size:13px;line-height:1}.brand-group{align-items:center;display:flex}.icon-btn{width:44px;min-width:44px;height:44px;color:var(--ink);background:0 0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-btn.fill{background:var(--panel)}.scroll{scrollbar-width:thin;flex:1;min-height:0;padding:10px 22px 24px;overflow:auto}.scroll.edge{padding-left:0;padding-right:0}.padded{padding:20px 22px}.intro{margin-bottom:20px}.intro p{color:var(--muted);margin-top:12px;font-size:16px;line-height:1.6}.sub{color:var(--muted);font-size:14px;line-height:1.6}.tiny{font-size:12px;line-height:1.5}.muted{color:var(--muted)}.disclosure{color:var(--muted);font-size:13px;line-height:1.5}.disclosure strong{color:var(--ink);font-weight:600}.bottom-note{color:var(--muted);margin-top:18px;font-size:12px;line-height:1.5}.primary,.secondary,.danger,.text-action{text-align:center;border-radius:24px;justify-content:center;align-items:center;gap:9px;min-width:44px;min-height:48px;padding:11px 16px;font-size:16px;font-weight:650;display:flex}.primary{background:var(--accent);color:var(--accent-ink)}.secondary{background:var(--panel);color:var(--ink);border:1px solid var(--line)}.danger{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger)}.text-action{color:var(--accent);text-underline-offset:3px;background:0 0;font-size:14px;font-weight:500;text-decoration:underline}.button-row{gap:10px;display:flex}.button-row>*{flex:1}.full{width:100%}.footer{background:var(--bg);border-top:1px solid var(--decor);flex-shrink:0;gap:8px;padding:12px 22px 20px;display:grid}.footer .disclosure{font-size:12px}.nav{border-top:1px solid var(--decor);background:var(--bg);flex-shrink:0;justify-content:space-evenly;align-items:center;min-height:77px;padding-bottom:8px;display:flex}.nav a{min-width:88px;min-height:56px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:13px;display:flex}.nav a.active{color:var(--accent);font-weight:600}.nav svg{width:21px;height:21px}.tabs{gap:9px;margin:4px 0 22px;display:flex}.tabs>a{border:1px solid var(--line);border-radius:24px;flex:1;justify-content:center;align-items:center;min-height:44px;font-size:15px;display:flex}.tabs .active{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.search{margin:18px 0 12px;position:relative}.search svg{width:20px;color:var(--muted);position:absolute;top:13px;left:14px}input,select,textarea{background:var(--panel);border:1px solid var(--line);border-radius:12px;width:100%;min-width:0;min-height:48px;padding:10px 12px;font-size:16px;line-height:1.4}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}.search input{border-radius:26px;padding-left:43px}.filters{scrollbar-width:thin;flex-shrink:0;gap:8px;margin-bottom:16px;padding-bottom:8px;display:flex;overflow-x:auto}.filter{border:1px solid var(--line);min-width:44px;min-height:44px;color:var(--muted);white-space:nowrap;background:0 0;border-radius:25px;padding:9px 15px;font-size:14px}.filter.active{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:650}.catalogue-count{color:var(--muted);margin-bottom:14px;font-size:14px}.grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.character{background:var(--panel);border-radius:20px;min-width:0;display:block;overflow:hidden}.character .portrait{aspect-ratio:3/4;background:#565158;position:relative;overflow:hidden}.character img{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.character .scene-label{background:var(--photo-bg);color:var(--photo-ink);border-radius:8px;padding:6px 8px;font-size:12px;line-height:1.5;position:absolute;bottom:10px;left:10px;right:10px}.card-copy{padding:13px 12px 15px}.card-copy strong{font-size:20px;font-weight:650;line-height:1.3;display:block}.card-copy .age{color:var(--muted);margin-left:4px;font-size:14px;font-weight:400}.card-copy .ai{color:var(--accent);margin-top:4px;font-size:12px;display:block}.card-copy p{color:var(--muted);margin-top:8px;font-size:14px;line-height:1.55}.card-copy .open{color:var(--accent);align-items:center;gap:5px;min-height:24px;margin-top:11px;font-size:14px;display:flex}.card-copy .open svg{width:16px;height:16px}.missing-portrait{aspect-ratio:3/4;text-align:center;color:var(--muted);background:repeating-linear-gradient(135deg,#33293b 0 12px,#3c3044 12px 24px);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex}.missing-portrait svg{width:38px;height:38px}.missing-portrait span{font-size:14px}.draft{border:1px dashed var(--line);border-radius:18px;margin-top:18px;padding:18px}.draft p{color:var(--muted);margin-top:8px;font-size:14px}.section-head{justify-content:space-between;align-items:center;gap:10px;margin:22px 0 12px;display:flex}.section-head span{color:var(--muted);font-size:13px}.hero-photo{background:#514c52;position:relative}.hero-photo img{object-fit:contain;width:100%;height:365px;display:block}.solid-overlay{color:var(--photo-ink);flex-direction:column;align-items:flex-start;gap:5px;display:flex;position:absolute;bottom:15px;left:20px;right:20px}.photo-line{background:var(--photo-bg);color:var(--photo-ink);border-radius:8px;padding:7px 11px;font-size:14px;line-height:1.5}.photo-line.name{letter-spacing:-.8px;font-size:29px;font-weight:650}.details-body{padding:20px 22px}.details-body p{color:var(--muted);font-size:16px;line-height:1.7}.tags{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.tag{background:var(--raised);border-radius:18px;padding:7px 10px;font-size:13px;line-height:1.5}.scene-row{border-top:1px solid var(--decor);align-items:center;gap:12px;min-height:56px;padding:11px 0;font-size:15px;display:flex}.scene-row small{color:var(--muted);margin-top:3px;font-size:13px;display:block}.welcome-art{background:#514c52;border-radius:0 0 30px 30px;flex-shrink:0;height:300px;position:relative;overflow:hidden}.welcome-art img{object-fit:cover;object-position:50% 25%;width:50%;height:100%;display:block}.welcome-art .duo{height:100%;display:flex}.welcome-art .solid-overlay{bottom:20px}.welcome-copy{padding:23px 23px 15px}.welcome-copy h1{max-width:325px;font-size:31px}.welcome-copy>p{color:var(--muted);margin-top:14px;font-size:16px;line-height:1.65}.welcome-copy .disclosure{background:var(--panel);color:var(--ink);border-radius:12px;margin-top:16px;padding:12px 14px;font-size:14px}.form{gap:16px;display:grid}.field{gap:7px;display:grid}.field>span,.field>label{font-size:14px;font-weight:600}.field small{color:var(--muted);font-size:12px;line-height:1.5}.field.two{grid-template-columns:1fr 1fr;gap:12px;display:grid}.password-wrap{position:relative}.password-wrap button{width:44px;height:44px;position:absolute;top:2px;right:3px}.check{align-items:flex-start;gap:10px;min-height:44px;padding:5px 0;font-size:14px;line-height:1.6;display:flex}.check input{width:23px;height:23px;min-height:23px;accent-color:var(--accent);flex-shrink:0;margin:4px 0 0}.check a{text-underline-offset:3px;min-height:44px;color:var(--accent);align-items:center;text-decoration:underline;display:inline-flex}.step{color:var(--accent);margin-bottom:9px;font-size:13px}.form-notice,.state-card{background:var(--panel);border-radius:15px;margin:0 0 14px;padding:15px 16px}.form-notice{font-size:14px;line-height:1.65}.form-notice.error,.state-card.error{border:1px solid var(--danger);background:var(--danger-bg);color:var(--danger)}.form-notice p{margin-top:6px;font-size:14px;line-height:1.6}.error-text{color:var(--danger)!important;font-size:13px!important}.invalid{border-color:var(--danger)}.state-card h2,.state-card h3{margin-bottom:8px}.state-card p{color:var(--muted);font-size:15px;line-height:1.65}.state-card.error p{color:var(--danger)}.state-card .secondary,.state-card .text-action{margin-top:12px}.stack{gap:14px;display:grid}.empty{text-align:center;padding:24px 4px}.empty>svg{width:46px;height:46px;color:var(--accent);margin-bottom:18px}.empty h1{font-size:28px}.empty p{color:var(--muted);margin:14px 0 22px;font-size:16px;line-height:1.7}.center-main{flex-direction:column;justify-content:center;min-height:100%;padding-bottom:30px;display:flex}.danger-zone{border-top:1px solid var(--danger);margin-top:20px;padding-top:18px}.danger-zone h2{color:var(--danger);margin-bottom:9px;font-size:18px}.danger-zone p{color:var(--muted);margin-bottom:12px;font-size:14px}.menu-row{border-bottom:1px solid var(--decor);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 0;font-size:16px;display:flex}.menu-row small{color:var(--muted);margin-top:4px;font-size:13px;display:block}.menu-row svg{width:20px;height:20px}.preferences{gap:14px;display:grid}.compact-form .field{gap:6px}.account-section{color:var(--accent);margin:16px 0 10px;font-size:13px;font-weight:650}.look-avatar{align-items:center;gap:15px;margin:4px 0 20px;display:flex}.avatar-letter{background:var(--raised);border-radius:50%;flex-shrink:0;place-items:center;width:64px;height:64px;font-size:27px;display:grid}.look-avatar .field{flex:1}.choices{gap:7px;display:flex}.choices button{border:1px solid var(--line);background:0 0;border-radius:24px;flex:1;min-height:44px;padding:8px 10px;font-size:14px}.choices .selected{color:var(--accent-ink);background:var(--accent);border-color:var(--accent)}.age-control{align-items:center;gap:13px;display:flex}.age-control input{min-height:44px;accent-color:var(--accent);background:0 0;border:0;padding:0}.age-control output{min-width:28px;font-size:18px}.two-col{grid-template-columns:1fr 1fr;gap:12px;display:grid}.chat-shell{height:100dvh;display:flex;overflow:hidden}.presence{display:none}.chat{background:var(--bg);flex-direction:column;flex:1;min-width:0;height:100%;display:flex}.chat-head{background:var(--panel);flex-shrink:0;min-height:101px;padding:10px 12px 8px}.chat-head-top{align-items:center;gap:5px;display:flex}.chat-head .icon-btn{width:44px}.chat-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:40px;height:40px}.chat-who{flex:1;min-width:0;margin-left:6px}.chat-who h1{letter-spacing:-.5px;font-size:20px;line-height:1.2}.chat-who p{color:var(--muted);margin-top:3px;font-size:12px}.quota{color:var(--muted);justify-content:center;gap:14px;margin-top:8px;font-size:12px;line-height:1.35;display:flex}.quota strong{color:var(--ink);font-weight:650}.thread{scrollbar-width:thin;overscroll-behavior:contain;aria-live:polite;flex-direction:column;flex:1;align-items:flex-start;gap:14px;min-height:0;padding:16px 20px 20px;display:flex;overflow:auto}.thread>*{flex-shrink:0}.day{color:var(--muted);align-self:center;font-size:12px}.bubble{background:var(--panel);border-radius:20px 20px 20px 5px;max-width:92%;padding:13px 16px;font-size:16px;line-height:1.65}.bubble.user{background:var(--accent);color:var(--accent-ink);border-radius:20px 20px 5px;align-self:flex-end;max-width:88%}.message-photo{background:var(--panel);width:260px;max-width:100%;color:var(--ink);cursor:pointer;border:0;border-radius:18px;align-self:flex-start;padding:0;display:block;overflow:hidden}.message-photo img{aspect-ratio:1248/1824;object-fit:contain;width:100%;height:auto;display:block}.message-photo .caption{justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;font-size:12px;display:flex}.message-photo svg{width:18px;height:18px}.camera-state{border:1px solid var(--line);background:var(--panel);border-radius:17px;align-items:center;gap:10px;width:100%;padding:14px 15px;font-size:14px;line-height:1.5;display:flex}.camera-state svg{color:var(--accent)}.camera-state strong{font-weight:600;display:block}.camera-state small{color:var(--muted);font-size:12px}.composer-wrap{background:var(--bg);border-top:1px solid var(--decor);flex-shrink:0;padding:10px 12px 12px}.composer{border:1px solid var(--line);background:var(--panel);border-radius:28px;align-items:center;gap:5px;min-height:56px;padding:4px;display:flex}.composer input{background:0 0;border:0;border-radius:0;width:100%;min-width:0;min-height:44px;padding:7px 2px;font-size:16px}.composer .send{background:var(--accent);color:var(--accent-ink)}.composer-disclosure{color:var(--muted);padding:8px 6px 0;font-size:12px;line-height:1.45}.typing{color:var(--muted);align-items:center;gap:9px;min-height:44px;font-size:14px;display:flex}.dots{gap:4px;display:flex}.dots i{background:var(--accent);border-radius:50%;width:5px;height:5px}.notice{background:var(--danger-bg);color:var(--danger);align-items:center;gap:8px;padding:12px 14px;font-size:14px;display:flex}.notice .icon-btn{color:var(--danger);margin-left:auto}.starter{border:1px solid var(--line);background:var(--panel);text-align:left;border-radius:15px;align-items:center;min-height:48px;padding:11px 14px;font-size:16px;line-height:1.6;display:flex}.starters{gap:12px;width:100%;display:grid}.zero-input{color:var(--muted);background:var(--panel);border-radius:13px;padding:10px 12px;font-size:14px;line-height:1.6}.chat-state-list{padding:16px 22px}.chat-state-list .bubble{max-width:100%;margin-bottom:18px}.state-label{color:var(--accent);margin:10px 0 12px;font-size:13px;font-weight:600}.chat-state-list .camera-state{margin-bottom:16px}.chat-state-list .typing{margin-bottom:15px}.chat-row{border-bottom:1px solid var(--decor);align-items:center;gap:13px;min-height:104px;padding:16px 0;display:flex}.chat-row img{object-fit:contain;background:#514c52;border-radius:12px;flex-shrink:0;width:57px;height:75px}.chat-row .row-copy{flex:1;min-width:0}.chat-row strong{font-size:19px;font-weight:600}.chat-row .ai{color:var(--accent);margin-top:2px;font-size:12px;display:block}.chat-row p{color:var(--muted);margin-top:6px;font-size:14px;line-height:1.5}.chat-row time{color:var(--muted);align-self:flex-start;margin-top:4px;font-size:12px}.memory-section{margin-top:23px}.memory-section>h2{color:var(--accent);margin-bottom:10px;font-size:17px}.memory-item{border-bottom:1px solid var(--decor);padding:15px 0}.memory-item p{font-size:16px;line-height:1.6}.memory-actions{justify-content:flex-start;gap:15px;margin-top:5px;display:flex}.memory-actions .text-action{min-width:65px;padding:8px 4px;font-size:14px}.gallery-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid}.gallery-item{background:var(--panel);border-radius:17px;display:block;overflow:hidden}.gallery-item img{aspect-ratio:1248/1824;object-fit:contain;width:100%;height:auto;display:block}.gallery-item p{padding:10px 11px;font-size:12px;line-height:1.5}.viewer{background:#100e13;flex-direction:column;height:100dvh;display:flex}.viewer .top{min-height:74px}.viewer-stage{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.viewer-stage img{object-fit:contain;width:100%;height:100%}.viewer-caption{color:var(--muted);padding:15px 22px 23px;font-size:14px}.skeleton-grid{grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;display:grid}.skeleton{aspect-ratio:3/4;border:1px solid var(--decor);background:linear-gradient(120deg,#302837,#41364a,#302837);border-radius:18px}.screen-state-link{min-height:44px;color:var(--accent);text-underline-offset:3px;justify-content:center;align-items:center;font-size:14px;text-decoration:underline;display:flex}.desktop-nav{display:none}.progress-steps{gap:8px;margin-bottom:16px;display:flex}.progress-steps i{background:var(--line);border-radius:3px;flex:1;height:3px}.progress-steps .done{background:var(--accent)}.keyframe{background:#141116;flex-direction:column;width:390px;height:844px;display:flex}.system-top{flex-shrink:0;justify-content:space-between;align-items:center;height:64px;padding:18px 24px;font:600 16px DM Sans,sans-serif;display:flex}.keyframe iframe{border:0;flex-shrink:0;width:390px;height:330px;display:block}.browser-chrome{background:#27242b;flex-shrink:0;justify-content:center;align-items:center;gap:12px;height:88px;padding:17px 20px;font-size:14px;display:flex}.browser-chrome span{background:#3c3841;border-radius:14px;padding:13px 48px}.keyboard-art{background:#35313b;flex-shrink:0;gap:9px;height:330px;padding:15px 5px 12px;display:grid}.keyrow{justify-content:center;gap:5px;display:flex}.keyrow span{background:#615b68;border-radius:6px;justify-content:center;align-items:center;min-width:32px;height:43px;font-size:19px;display:flex;box-shadow:0 1px #111}.keyrow .wide{min-width:46px}.keyrow .space{width:175px;font-size:16px}.keyrow .return{color:#352614;background:#f1d49b;width:85px;font-size:14px}.system-home{background:#35313b;flex-shrink:0;place-items:center;height:32px;display:grid}.system-home:after{content:"";background:#fbf5ed;border-radius:4px;width:130px;height:5px}@media (height<=500px){.chat-head{min-height:81px;padding-top:5px;padding-bottom:5px}.chat-who h1{font-size:18px}.chat-who p{font-size:12px}.quota{gap:9px;margin-top:3px;font-size:12px}.composer-wrap{padding:5px 10px 6px}.composer{min-height:52px}.composer-disclosure{padding-top:4px;font-size:12px;line-height:1.35}.thread{gap:10px;padding:10px 16px}.camera-state{padding:10px 12px;font-size:13px}.camera-state small{font-size:12px}.bubble{padding:10px 13px;font-size:16px}.presence{display:none!important}}.filter{flex-shrink:0}.check a,.desktop-nav a{min-width:44px}.chat{min-height:0}@media (width>=900px){.chat-shell{grid-template-rows:minmax(0,1fr)}.catalogue-scroll .grid.two-items{grid-template-columns:repeat(2,minmax(0,316px));justify-content:center}.top{min-height:91px;padding:17px 52px}.desktop-nav{align-items:center;gap:33px;display:flex}.desktop-nav a{min-height:44px;color:var(--muted);align-items:center;font-size:16px;display:flex}.desktop-nav .active{color:var(--accent)}.scroll.catalogue-scroll{padding:20px 52px 40px}.catalogue-scroll .intro{max-width:720px}.catalogue-scroll h1{font-size:39px}.catalogue-scroll .intro p{max-width:620px}.catalogue-scroll .search{width:350px;margin:0;position:absolute;top:111px;right:52px}.catalogue-scroll .filters{margin-top:24px;margin-bottom:18px}.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.character .scene-label{padding:8px 10px;font-size:14px}.card-copy{padding:18px}.card-copy strong{font-size:25px}.card-copy .ai{font-size:13px}.card-copy p{font-size:16px}.card-copy .open{min-height:32px;font-size:16px}.nav{display:none}.catalogue-count{font-size:15px}.chat-shell{grid-template-columns:38% 62%;display:grid}.presence{background:#514c52;height:100dvh;display:block;position:relative;overflow:hidden}.presence>img{object-fit:contain;width:100%;height:100%;display:block}.presence-brand{justify-content:space-between;align-items:center;gap:10px;display:flex;position:absolute;top:28px;left:27px;right:27px}.presence-brand .brand{background:var(--photo-bg);color:var(--photo-ink);border-radius:25px;padding:6px 13px;font-size:29px}.presence-brand>a:last-child{background:var(--photo-bg);color:var(--photo-ink);border-radius:24px;align-items:center;min-height:44px;padding:10px 13px;font-size:14px;display:flex}.presence-copy{flex-direction:column;align-items:flex-start;gap:8px;display:flex;position:absolute;bottom:33px;left:28px;right:28px}.presence-copy .photo-line.name{font-size:37px}.presence-copy .photo-line{font-size:16px}.chat-head{min-height:111px;padding:20px 28px 12px}.chat-who h1{font-size:23px}.chat-who p{font-size:14px}.quota{justify-content:flex-end;margin-top:9px;font-size:13px}.chat-avatar{width:44px;height:44px}.thread{gap:16px;padding:23px max(28px,50% - 360px) 25px}.bubble{max-width:85%;font-size:16px;line-height:1.7}.message-photo{width:280px}.message-photo .caption{padding:12px 14px;font-size:13px}.camera-state{max-width:380px;font-size:15px}.camera-state small{font-size:13px}.composer-wrap{padding:13px 28px 23px}.composer{max-width:720px;margin:auto}.composer-disclosure{max-width:720px;margin:0 auto;font-size:13px}.keyframe{margin:auto}}#root{height:100%}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.splash{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;height:100dvh;padding:0 22px;display:flex}.splash p{color:var(--muted)}.spinner{border:2px solid var(--decor);border-top-color:var(--accent);border-radius:50%;flex:none;width:16px;height:16px;animation:.9s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,80%,to{opacity:.3;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}@keyframes shimmer{0%{background-position:180% 0}to{background-position:-60% 0}}@keyframes fade{0%{opacity:0}to{opacity:1}}.dots i{animation:1.2s ease-in-out infinite both pulse}.dots i:nth-child(2){animation-delay:.16s}.dots i:nth-child(3){animation-delay:.32s}.fade-in{animation:.38s ease-out both fade}.skeleton{background-size:220% 100%;animation:2.2s linear infinite shimmer}@media (prefers-reduced-motion:reduce){.fade-in,.skeleton,.dots i,.spinner{animation:none}}.btn{border-radius:22px;flex:none;min-width:44px;min-height:44px;padding:9px 16px;font-size:15px;font-weight:600}.btn-accent{background:var(--accent);color:var(--accent-ink)}.btn-quiet{background:var(--panel);color:var(--ink);border:1px solid var(--line)}.btn-danger{background:var(--danger-bg);color:var(--danger);border:1px solid var(--danger)}.link-btn{color:var(--accent);text-underline-offset:3px;background:0 0;min-width:44px;min-height:44px;padding:3px 4px;font-size:14px;text-decoration:underline}.link-btn.danger{color:var(--danger)}button:disabled{cursor:not-allowed;opacity:.5}.empty-line,.empty:not(section){color:var(--muted);text-align:center;padding:20px 0;font-size:15px}.banner{background:var(--panel);color:var(--muted);border-bottom:1px solid var(--decor);flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:14px;display:flex}.banner strong{color:var(--accent);margin-right:8px;font-weight:600}.banner-ended,.banner-unreachable,.banner-stale{background:var(--danger-bg);color:var(--danger)}.banner-ended strong,.banner-unreachable strong,.banner-stale strong{color:var(--danger)}.hero-photo{background:var(--photo-bg)}.hero-photo img{object-fit:cover;object-position:50% 18%;height:400px}.character .portrait{background:var(--photo-bg)}.character .portrait img{object-position:50% 18%}.character .card-loop{object-fit:cover;object-position:50% 18%;opacity:0;pointer-events:none;width:100%;height:100%;transition:opacity .2s;position:absolute;inset:0}.character .card-loop.playing{opacity:1}.character .loop-trigger{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.character .loop-trigger:focus-visible,.character .card-copy:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.character .scene-label{pointer-events:none}.character a.card-copy{color:inherit;text-decoration:none;display:block}.welcome-art{background:var(--photo-bg)}.welcome-art-text{text-align:center;justify-content:center;align-items:center;height:100%;padding:0 28px;font-size:21px;font-weight:650;display:flex}.chat-row img{object-fit:cover;object-position:50% 18%}.presence{background:var(--photo-bg)}.presence>img{object-fit:cover;object-position:50% 18%}.bubble.user{color:var(--ink);background:#3e3426}.bubble p+p{margin-top:.75em}.bubble em{color:var(--muted);font-style:italic}.bubble{overflow-wrap:anywhere;white-space:pre-wrap}.bubble.reply p{white-space:pre-wrap}.starters{flex-wrap:wrap;gap:8px;display:flex}.starter{border:1px solid var(--line);min-height:44px;color:var(--ink);text-align:left;background:0 0;border-radius:25px;padding:9px 15px;font-size:15px;line-height:1.4}.starters-label{width:100%;color:var(--muted);font-size:13px}.chat-head{min-height:0}.chat-head .quota{min-height:18px}@media (width<=899px){.chat.is-typing .quota,.chat.is-typing .composer-disclosure{display:none}.chat.is-typing .chat-head{padding-bottom:4px}}.chat-head-top .icon-btn.on{background:var(--raised);color:var(--accent)}.composer textarea{resize:none;background:0 0;border:0;border-radius:0;width:100%;min-width:0;min-height:44px;max-height:160px;padding:11px 2px;font-size:16px;line-height:1.4}.composer textarea:focus-visible{outline:none}.composer:focus-within{border-color:var(--focus)}.composer .send:disabled{opacity:.45}.composer .stop{background:var(--raised);color:var(--ink)}.picture-sheet{background:var(--panel);border:1px solid var(--line);border-radius:18px;gap:8px;max-width:720px;margin-bottom:8px;margin-left:auto;margin-right:auto;padding:12px 14px;display:grid}.picture-sheet label{font-size:14px;font-weight:600}.picture-sheet p{color:var(--muted);font-size:13px}.sheet-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.message-photo[aria-busy]{cursor:progress}.photo-failed-card{align-self:stretch}.msg-note{color:var(--muted);margin-top:6px;font-size:13px}.thread .notice{align-self:stretch}.notice{flex-shrink:0}.load-earlier{align-self:center}.message-photo .caption span{align-items:center;gap:6px;display:inline-flex}.quota .reset{color:var(--muted)}.quota-zero{color:var(--accent)}.search input{padding-left:43px}.search-clear{position:absolute;top:2px;right:2px}.filters button{flex-shrink:0}.character{text-align:left;color:inherit;border:0;padding:0}.character:focus-visible{outline:3px solid var(--focus)}.card-copy .open{color:var(--accent)}.load-more-row{justify-content:center;padding:22px 0 8px;display:flex}.catalogue-foot{margin-top:22px}.missing-portrait .text-action{margin-top:2px}.screen-footnote{padding-top:14px}.nav a{text-decoration:none}.top .desktop-nav{margin-left:auto;margin-right:18px}.nav-you-link{display:inline-flex}@media (width>=900px){.top .icon-btn.you-icon{display:none}.screen>.top .brand-group{margin-right:20px}}.details-body .tags{margin:16px 0}.scene-row{align-items:flex-start}.scene-row svg{margin-top:3px}.password-wrap input{padding-right:56px}.form-notice h2,.form-notice strong{display:block}.field input[aria-invalid=true],.field select[aria-invalid=true]{border-color:var(--danger)}.step-row{align-items:baseline;gap:8px;display:flex}.empty{text-align:center}section.empty{padding:24px 4px}.center-main .empty{padding:0 4px}.legal-draft{border:1px solid var(--line,var(--decor,currentColor));color:var(--muted);border-radius:12px;margin:0 0 14px;padding:10px 14px;font-size:14px}.legal-doc{max-width:680px}.legal-doc .legal-lead{margin:0 0 18px;font-size:17px;line-height:1.55}.legal-doc h2{margin:22px 0 6px;font-size:18px;line-height:1.3}.legal-doc p{color:var(--muted);margin:0 0 10px;font-size:16px;line-height:1.6}.legal-other,.legal-links{color:var(--muted);text-align:center;margin:10px 0 4px;font-size:14px}.legal-links{justify-content:center;align-items:center;gap:2px;display:flex}.legal-links .text-action,.legal-other .text-action{justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0 12px;display:inline-flex}.legal{white-space:pre-wrap;color:var(--muted);background:var(--panel);border-radius:12px;max-height:40vh;padding:12px 14px;font-size:14px;line-height:1.6;overflow:auto}.viewer-stage{background:#100e13}.viewer-stage img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%}@media (width>=900px){.screen>.scroll:not(.catalogue-scroll):not(.edge),.screen>.footer{padding-left:max(52px,50% - 360px);padding-right:max(52px,50% - 360px)}.screen>.scroll.edge .details-body{max-width:720px;margin:0 auto}.hero-photo{border-radius:0 0 24px 24px;max-width:720px;margin:0 auto;overflow:hidden}}span.chat-avatar{background:var(--raised);display:inline-block}.chat-row-blank{background:var(--photo-bg);border-radius:12px;flex-shrink:0;width:57px;height:75px}.overlay{z-index:30;background:var(--bg);position:fixed;inset:0}.card-copy p,.chat-row .row-copy p{-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (width>=900px){.catalogue-head{justify-content:space-between;align-items:flex-start;gap:40px;display:flex}.catalogue-scroll .search{flex-shrink:0;width:350px;margin:6px 0 0;position:relative;top:auto;right:auto}.catalogue-scroll .intro{margin-bottom:8px}}.detail-description{margin-top:12px}.stack-gap{margin-top:20px}.gallery-item:not(a){align-self:start;min-height:96px}.welcome-only{justify-content:center;align-items:center;padding:24px}.welcome-only .primary{width:100%;max-width:360px}.character-detail .detail-scroll{padding-top:0;padding-bottom:160px}.character-detail .detail-column{max-width:720px;margin:0 auto}.character-detail .details-body{max-width:none!important}.detail-group{margin-top:30px}.detail-group h3{margin-bottom:12px;font-size:20px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.detail-card{background:var(--raised);border-radius:14px;min-width:0;padding:16px}.detail-card h4{font-size:15px;line-height:1.4}.detail-card p{margin-top:6px;font-size:13px;line-height:1.45}@media (width>=700px){.detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=900px){.character-detail>.top{width:100%;max-width:720px;margin:0 auto;padding-left:22px;position:relative}.character-detail>.top>.icon-btn{position:absolute;left:-44px}}.memory{flex-direction:column;flex:1;gap:26px;padding:12px 16px 40px;display:flex;overflow-y:auto}.mem-scope{color:var(--muted);margin-bottom:-14px;font-size:13px}.mem-message{z-index:1;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:7px 12px;font-size:14px;position:sticky;top:-12px}.mem-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.mem-head h3{font-size:18px;font-weight:650;line-height:1.3}.mem-head span{color:var(--muted);font-size:13px}.mem-hint{color:var(--muted);margin:3px 0 9px;font-size:13px;line-height:1.4}.mem-card,.fact{border-top:1px solid var(--decor);padding:9px 0}.mem-section>.mem-card:first-of-type{border-top:0}.mem-flagged p{color:var(--muted);font-style:italic}.fact-key{color:var(--accent);margin-bottom:1px;font-size:12.5px;display:block}.fact-key:first-letter{text-transform:uppercase}.mem-unknown{color:var(--muted);font-size:14px}.editable p{overflow-wrap:anywhere;font-size:15px;line-height:1.45}.row-actions{flex-wrap:wrap;align-items:center;gap:14px;margin-top:3px;display:flex}.edit-form{flex-direction:column;gap:4px;display:flex}.edit-form input,.edit-form textarea{background:var(--raised);border:1px solid var(--line);resize:vertical;border-radius:9px;width:100%;padding:7px 9px;font-size:16px;line-height:1.4}.edit-form .row-actions{margin-top:5px}.mem-sub{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin:14px 0 2px;font-size:13px;font-weight:600}.portrait-card{align-items:flex-start;gap:12px;display:flex}.portrait-card img{object-fit:cover;background:var(--decor);border-radius:8px;flex:none}.scene{gap:0;display:grid}.scene>div{border-top:1px solid var(--decor);grid-template-columns:96px minmax(0,1fr);gap:8px;padding:7px 0;display:grid}.scene>div:first-child{border-top:0}.scene dt{color:var(--muted);text-transform:capitalize;padding-top:2px;font-size:13px}.scene .editable{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.scene .row-actions{flex:none;margin-top:0}.fact-history{color:var(--muted);margin-top:6px;font-size:13.5px}.fact-history summary{cursor:pointer;color:var(--muted);font-size:13px}.fact-history ul{flex-direction:column;gap:4px;padding:6px 0 2px 2px;display:flex}.fact-history small{color:var(--muted)}.quarantine{flex-direction:column;gap:6px;display:flex}.quarantine li{flex-wrap:wrap;align-items:baseline;gap:8px;font-size:14px;display:flex}.quarantine strong{text-transform:capitalize;font-weight:600}.quarantine span{color:var(--muted);overflow-wrap:anywhere;min-width:0}.quarantine small{color:var(--muted);margin-left:auto}.forget p{color:var(--muted);margin:6px 0;font-size:14px}.chat-head{min-height:0;position:relative}.chat-subtitle{align-items:center;gap:4px;display:flex}.daily-charge{z-index:20;flex-shrink:0;width:44px;height:44px;position:static}.charge-button{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--accent);cursor:pointer;background:0 0;border:0;border-radius:14px;padding:0;display:block;position:relative}.charge-button:hover,.charge-button[aria-expanded=true]{background:var(--raised)}.charge-battery{border:2px solid var(--accent);background:var(--bg);border-radius:4px;flex-shrink:0;width:34px;height:19px;padding:2px;display:block;position:relative}.charge-battery:after{content:"";background:var(--accent);border-radius:0 2px 2px 0;width:3px;height:7px;position:absolute;top:4px;right:-5px}.charge-fill{background:var(--accent);border-radius:1px;min-width:0;max-width:100%;height:100%;display:block}.charge-state-icon{stroke-width:1.8px;fill:none;stroke:currentColor;flex-shrink:0;width:16px;height:16px}.charge-popover{z-index:1000;background:var(--panel);border:1px solid var(--accent);width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);color:var(--ink);border-radius:18px;padding:12px 16px 18px;position:fixed;overflow:auto;box-shadow:0 12px 36px #0007}.charge-popover[hidden]{display:none!important}.charge-popover-heading{justify-content:space-between;align-items:center;gap:10px;min-height:44px;display:flex}.charge-popover-heading strong{font-size:17px;font-weight:650;line-height:1.4}.charge-close{width:44px;min-width:44px;height:44px;min-height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;font-size:27px;line-height:1;display:grid}.charge-details{color:var(--muted);margin:6px 0 0;font-size:14px;line-height:1.7}.charge-details>span{white-space:nowrap}.charge-empty-link{border:1px solid var(--line);min-height:48px;color:var(--accent);border-radius:14px;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding:11px 12px;font-size:14px;line-height:1.5;display:flex}@media (height<=500px){.chat-head{min-height:0}.daily-charge{flex-shrink:0;width:44px;height:44px;position:static}.charge-button{width:44px;min-width:44px;padding:0;display:block;position:relative;background:0 0!important}.charge-battery{width:29px;height:17px;position:absolute;top:7px;left:3px}.charge-state-icon{background:var(--panel);border-radius:50%;position:absolute;bottom:3px;right:0}}@media (prefers-reduced-motion:reduce){.daily-charge *{scroll-behavior:auto}}.charge-battery{width:29px;height:17px;position:absolute;top:7px;left:3px}.charge-state-icon{background:var(--panel);border-radius:50%;position:absolute;bottom:3px;right:0}@media (height<=500px){.chat-subtitle .daily-charge{position:absolute;top:4px;right:100px}.chat-who{padding-right:44px}}.charge-battery{width:24px;height:17px;top:13px;left:0}.charge-state-icon{width:13px;height:13px;top:14px;bottom:auto;right:0}
/*$vite$:1*/