*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.shell{width:min(1120px,100% - 32px);margin:0 auto;padding:28px 0}.topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.brand{font-size:22px;font-weight:700}.nav{color:var(--muted);gap:12px;display:flex}.grid{grid-template-columns:360px 1fr;align-items:start;gap:20px;display:grid}.panel,.card{background:var(--panel);border:1px solid var(--line);border-radius:8px}.stack{gap:14px;display:grid}.field{gap:6px;display:grid}.form-section{border-top:1px solid var(--line);gap:4px;padding-top:14px;display:grid}.form-section:first-of-type{border-top:0;padding-top:0}.form-section h3{margin:0;font-size:14px}.form-section p{margin:0;font-size:13px}.form-section .privacy-hint{border-left:3px solid var(--accent);color:var(--ink);margin-top:6px;padding-left:10px;line-height:1.4}.label{color:var(--muted);font-size:13px}.input,.textarea,.select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:8px;padding:10px 12px}.textarea{resize:vertical;min-height:84px}.biography-textarea{min-height:132px}.field>small.muted{line-height:1.5}.biography-variants{gap:10px;display:grid}.biography-variant{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px}.biography-variant p{white-space:pre-wrap;margin:8px 0 12px;line-height:1.5}.trait-equalizer{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.trait-equalizer.compact{grid-template-columns:1fr}.trait-control{border:1px solid var(--line);background:#fff;border-radius:8px;gap:7px;padding:11px 12px;display:grid}.trait-heading,.trait-endpoints{justify-content:space-between;gap:12px;display:flex}.trait-heading{color:var(--ink);font-size:13px}.trait-heading>span{color:var(--accent-dark);font-weight:700}.trait-control small,.trait-endpoints{color:var(--muted);font-size:11px;line-height:1.35}.trait-slider{width:100%;accent-color:var(--accent)}.button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;padding:11px 14px;font-weight:700}.button:hover{background:var(--accent-dark)}.button:disabled{cursor:not-allowed;opacity:.65}.cards{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;display:grid}.card{gap:10px;padding:16px;display:grid}.card-title{font-size:18px;font-weight:700}.panel-title{margin:0;font-size:16px}.chat-layout{grid-template-columns:1fr 300px;gap:20px;display:grid}.chat-window{border:1px solid var(--line);background:#fffdf8;border-radius:8px;flex-direction:column;gap:12px;height:62vh;min-height:420px;padding:18px;display:flex;overflow-y:auto}.bubble{border:1px solid var(--line);border-radius:8px;max-width:min(680px,86%);padding:12px 14px;line-height:1.45}.bubble.user{background:var(--user);align-self:flex-end}.bubble.assistant{background:var(--assistant);align-self:flex-start}.chat-generated-image{border-radius:6px;width:min(100%,420px);height:auto;margin-bottom:8px;display:block}.chat-message-text{white-space:pre-wrap}.chat-action,.chat-scene-note{font-style:italic}.chat-scene-note{color:var(--muted)}.chat-thought{opacity:.8;font-style:italic}.chat-image-open{cursor:zoom-in;background:0 0;border:0;padding:0;display:block}.chat-image-open .chat-generated-image{margin-bottom:0}.chat-image-wrap{max-width:100%;margin-bottom:8px;display:inline-block;position:relative}.chat-animate-overlay{color:#fff;cursor:pointer;background:#000000c2;border:1px solid #ffffffb3;border-radius:6px;padding:7px 10px;position:absolute;bottom:8px;right:8px}.chat-generated-video{background:#111;border-radius:6px;width:min(100%,420px);max-height:540px;margin-bottom:8px;display:block}.chat-video-toolbar{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.chat-scenario-ideas{flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;display:flex}.chat-scenario-card{text-align:left;gap:4px;max-width:250px;display:grid}.chat-scenario-card span{color:var(--ink);font-weight:400}.chat-scenario-ideas small{color:var(--muted);flex-basis:100%}.chat-guide{border:1px solid var(--line);border-radius:8px;margin-top:10px;padding:10px 12px}.chat-guide summary{cursor:pointer;font-weight:600}.chat-guide p{margin:10px 0 0;line-height:1.45}.chat-media-backdrop{z-index:1200;background:#000000e0;place-items:center;padding:12px;display:grid;position:fixed;inset:0}.chat-media-viewer{flex-direction:column;align-items:center;gap:10px;width:100%;height:100%;display:flex}.chat-media-viewer-actions{justify-content:flex-end;align-items:center;gap:8px;width:100%;display:flex}.chat-media-counter{color:#fff;margin-right:auto;font-size:13px;font-weight:700}.chat-media-stage{flex:1;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:10px;width:100%;min-height:0;display:grid}.chat-media-frame{justify-content:center;align-items:center;min-width:0;height:100%;min-height:0;display:flex}.chat-media-nav{color:#fff;cursor:pointer;background:#ffffff24;border:1px solid #fff6;border-radius:12px;width:48px;height:54px;font-size:38px;line-height:1}.chat-media-nav:hover:not(:disabled){background:#ffffff47}.chat-media-nav:disabled{cursor:default;opacity:.3}.chat-media-viewer img,.chat-media-viewer video{object-fit:contain;max-width:100%;max-height:calc(100vh - 84px);display:block}.chat-media-viewer video{background:#111;width:auto}.video-dialog-backdrop{z-index:1100;background:#0000009e;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.video-dialog{background:#fffdf8;border-radius:12px;gap:10px;width:min(100%,620px);max-height:94vh;padding:22px;display:grid;overflow-y:auto;box-shadow:0 18px 60px #00000040}.video-dialog h2,.video-dialog p,.video-dialog figure{margin:0}.video-dialog-heading,.video-dialog-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.video-dialog-heading .secondary-button{min-width:40px}.video-dialog textarea{resize:vertical;width:100%}.video-dialog select{width:100%}.video-dialog label{font-weight:600}.video-dialog small{color:#5e5a56}.video-source-preview{object-fit:cover;object-position:center;border-radius:6px;max-width:min(100%,260px);max-height:240px}.video-reference-row{gap:12px;display:flex}.video-reference-row figure{text-align:center;width:92px}.video-reference-row img{object-fit:cover;border-radius:6px;width:92px;height:92px}.video-price{background:#f4efe5;border-radius:6px;padding:10px}.video-dialog-warning{color:#a32727}@media (max-width:600px){.video-dialog{padding:16px}.video-dialog-actions{flex-wrap:wrap}.video-dialog-actions button{flex:1}}.typing-indicator{border:1px solid var(--line);background:var(--assistant);color:var(--muted);border-radius:8px;align-self:flex-start;padding:10px 12px;font-size:13px}.chat-error{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;display:flex}.chat-error p{margin:0}.context-error{border:1px solid var(--line);color:var(--muted);background:#fff;border-radius:8px;margin:0;padding:10px 12px}.character-settings{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}.character-settings summary{color:var(--accent-dark);cursor:pointer;font-size:14px;font-weight:700}.character-settings-primary,.profile-settings-primary{background:#f8f5fc;border:1px solid #dcd0ed;border-radius:14px;padding:15px}.character-settings-primary>summary,.profile-settings-primary>summary{font-size:17px;line-height:1.35;display:list-item}.character-settings-primary>summary small,.profile-settings-primary>summary small{color:var(--muted);margin:4px 0 0 18px;font-size:12px;font-weight:400;display:block}.character-settings-primary[open]>summary,.profile-settings-primary[open]>summary,.character-settings-primary .appearance-panel{margin-bottom:16px}.character-settings-form{gap:12px;padding-top:14px;display:grid}.character-settings-form>p{margin:0;font-size:12px;line-height:1.4}.settings-subheading{gap:3px;display:grid}.settings-subheading strong{font-size:13px}.settings-subheading small{color:var(--muted);font-size:11px}.composer{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.photo-charge-hint{color:var(--muted);flex-basis:100%}.composer input{flex:1}.voice-button{white-space:nowrap}.voice-selector{gap:8px;display:grid}.voice-selector-row{gap:8px;display:flex}.voice-selector-row .select{flex:1;min-width:0}.voice-preview{width:100%;height:36px}.voice-selector-error{color:#8f2929}.voice-recorder{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;display:flex}.voice-recorder strong{flex:1;font-size:14px}.voice-limit-hint{color:var(--muted);white-space:nowrap;font-size:12px}.recording-dot{background:#b83232;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 4px #f7dddd}.voice-message{gap:7px;min-width:min(320px,64vw);display:grid}.voice-message>span{color:var(--muted);font-size:12px;font-weight:700}.voice-message audio{width:100%;height:36px;display:block}.voice-message p,.voice-message small{margin:0}.voice-transcript{border-top:1px solid color-mix(in srgb, var(--line) 75%, transparent);padding-top:7px;font-size:13px;line-height:1.4}.voice-transcription-error{color:#8f2929}.voice-generation-error{color:#8f2929;gap:6px;margin-top:8px;display:grid}.bubble>.text-button{margin-top:8px;display:block}.voice-processing-indicator{padding-left:30px;position:relative}.voice-processing-indicator:before{background:var(--accent);content:"";border-radius:50%;width:8px;height:8px;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.mood-row{border-bottom:1px solid var(--line);color:var(--ink);gap:5px;padding-bottom:8px;font-size:14px;display:grid}.mood-row strong{color:var(--ink);font-size:16px}.mood-row small{color:var(--muted);font-size:12px;line-height:1.35}.stat-row{gap:6px;display:grid}.stat-label{color:var(--muted);justify-content:space-between;gap:12px;font-size:13px;display:flex}.stat-label strong{color:var(--ink)}.label-with-hint{align-items:center;gap:6px;width:fit-content;display:inline-flex}.info-hint{border:1px solid var(--muted);width:17px;height:17px;color:var(--muted);cursor:help;border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:700;line-height:1;display:inline-flex;position:relative}.info-hint:focus{outline:2px solid var(--accent);outline-offset:2px}.info-tooltip{z-index:5;border:1px solid var(--line);background:var(--ink);color:#fff;opacity:0;pointer-events:none;visibility:hidden;border-radius:8px;width:230px;padding:9px 10px;font-size:12px;font-weight:400;line-height:1.4;transition:opacity .12s,transform .12s;position:absolute;top:calc(100% + 7px);left:0;transform:translateY(-3px)}.info-hint:hover .info-tooltip,.info-hint:focus .info-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.stat-track{background:#eee5d6;border-radius:8px;height:8px;overflow:hidden}.stat-fill{border-radius:inherit;background:var(--accent);height:100%}.context-list{gap:8px;display:grid}.context-list div{border-bottom:1px solid var(--line);gap:3px;padding-bottom:8px;display:grid}.context-list div:last-child{border-bottom:0;padding-bottom:0}.context-list span{color:var(--muted);font-size:13px}.context-list strong{color:var(--ink);overflow-wrap:anywhere;font-size:14px}.memory-list{gap:8px;display:grid}.scene-form{gap:10px;display:grid}.scene-form .textarea{min-height:72px}.scene-memory-field{border-top:1px solid var(--line);padding-top:10px}.scene-memory-field small{color:var(--muted);font-size:11px;line-height:1.4}.scene-actions{gap:8px;display:grid}.secondary-button{border:1px solid var(--accent);color:var(--accent-dark);cursor:pointer;background:#fff;border-radius:8px;padding:10px 12px;font-weight:700}.secondary-button:disabled{cursor:not-allowed;opacity:.65}.data-controls{gap:8px;padding-top:12px;display:grid}.danger-button{color:#8f2929;cursor:pointer;background:#fff7f5;border:1px solid #a53a3a;border-radius:8px;padding:10px 12px;font-weight:700}.danger-button:hover{background:#fce7e3}.danger-button:disabled{cursor:not-allowed;opacity:.65}.data-success{color:#2e6b3d;margin:0;font-size:13px}.memory-groups{gap:14px;display:grid}.memory-summary{border:1px solid var(--line);background:#fff;border-radius:8px;gap:6px;padding:10px;display:grid}.memory-summary p{margin:0;font-weight:700}.memory-summary small,.memory-counts{color:var(--muted);font-size:12px;line-height:1.35}.memory-counts{gap:3px;display:grid}.memory-group{gap:8px;display:grid}.memory-group h3{color:var(--muted);margin:0;font-size:13px;font-weight:700}.memory-item{border:1px solid var(--line);background:#fff;border-radius:8px;gap:8px;padding:10px;line-height:1.35;display:grid}.memory-meta{color:var(--muted);font-size:12px}.memory-actions{flex-wrap:wrap;gap:12px;display:flex}.memory-edit-form{gap:8px;display:grid}.memory-form{border-top:1px solid var(--line);gap:8px;padding-top:12px;display:grid}.memory-form .textarea{min-height:72px}.text-button{width:fit-content;color:var(--accent-dark);cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:700}@media (max-width:820px){.grid,.chat-layout,.trait-equalizer{grid-template-columns:1fr}.topbar{flex-direction:column;align-items:flex-start}.composer,.voice-recorder{flex-wrap:wrap}.composer input,.voice-recorder strong{flex-basis:100%}.composer .button,.composer .voice-button,.voice-recorder .button,.voice-recorder .secondary-button{touch-action:manipulation;flex:1;min-height:48px}.voice-limit-hint{flex-basis:100%}.voice-message{width:100%;min-width:0}}.appearance-panel{border-top:1px solid var(--line);padding-top:16px}.appearance-intro{border:1px solid color-mix(in srgb, var(--accent) 35%, var(--line));background:color-mix(in srgb, var(--accent) 7%, white);border-radius:8px;gap:6px;padding:12px;line-height:1.4;display:grid}.appearance-intro p{margin:0}.appearance-fields{border:1px solid var(--line);border-radius:8px;min-width:0;margin:0;padding:12px}.appearance-face-adjustment{border:1px solid var(--line);border-radius:8px;padding:12px}.appearance-face-adjustment p{margin:0}.appearance-face-adjustment label{align-items:flex-start;gap:8px;display:flex}.appearance-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.appearance-stages .secondary-button{text-align:center;white-space:normal;width:100%;min-width:0;min-height:52px;padding:10px 6px}.appearance-stages [aria-pressed=true],.appearance-candidate[aria-current=true]{outline:2px solid var(--accent);outline-offset:2px}.appearance-candidates{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:10px;display:grid}.appearance-history{border-top:1px solid var(--line);padding-top:10px}.appearance-history summary{cursor:pointer;font-weight:700}.appearance-candidate{border:1px solid var(--line);background:#fff;border-radius:8px;gap:6px;padding:6px;display:grid}.appearance-image-button,.appearance-preview-button{color:var(--accent-dark);cursor:zoom-in;background:0 0;border:0;gap:5px;padding:0;font-weight:700;display:grid}.appearance-image-button:disabled{cursor:default;opacity:.7}.appearance-preview,.appearance-candidate img{object-fit:contain;border-radius:6px;width:100%;max-height:360px;display:block}.appearance-lightbox{z-index:1000;background:#000000c7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.appearance-lightbox-content{max-width:min(94vw,1100px);max-height:94vh;position:relative}.appearance-lightbox-content img{object-fit:contain;border-radius:8px;max-width:100%;max-height:90vh;display:block}.appearance-lightbox-close{z-index:1;color:#fff;cursor:pointer;background:#000000b8;border:0;border-radius:50%;width:38px;height:38px;font-size:28px;line-height:1;position:absolute;top:8px;right:8px}@media (max-width:480px){.shell{width:min(100% - 20px,1120px);padding:14px 0}.chat-window{min-height:360px;padding:12px}.bubble{max-width:94%}}:root{--bg:#f5f2ec;--panel:#fffdfa;--ink:#29233a;--muted:#716d79;--line:#e5dfd9;--accent:#765cce;--accent-dark:#5940b0;--user:#ebe5ff;--assistant:#fffdfa}html{scroll-behavior:smooth}body{background:var(--bg);min-height:100vh;color:var(--ink);-webkit-font-smoothing:antialiased;font-family:Segoe UI,Inter,Arial,sans-serif}button,input,textarea,select{font-family:inherit}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:3px;outline:3px solid #aa8cff}h1,h2,h3,p{margin-top:0}.shell{width:min(1280px,100% - 64px);padding:44px 0 80px}.panel,.card{border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 38px #24183a0a}.panel{padding:24px}.button,.secondary-button,.danger-button{border-radius:12px;justify-content:center;align-items:center;gap:18px;min-height:46px;padding:11px 19px;transition:transform .2s,background .2s,box-shadow .2s;display:inline-flex}.button{background:#7055c8;box-shadow:0 8px 20px #654abc2b}.button:hover{background:#5c42b3;transform:translateY(-2px);box-shadow:0 12px 24px #654abc3d}.secondary-button:hover,.danger-button:hover{transform:translateY(-2px)}.input,.textarea,.select{background:#fff;border-color:#ded8df;border-radius:11px;outline:none;padding:12px 14px;transition:border-color .2s,box-shadow .2s}.input:focus,.textarea:focus,.select:focus{border-color:#977cde;box-shadow:0 0 0 4px #977cde24}.label{color:#605a6b;font-size:13px;font-weight:650}.muted{color:var(--muted)}.eyebrow{color:#8d72d7;letter-spacing:.16em;text-transform:uppercase;align-items:center;gap:8px;font-size:11px;font-weight:800;display:inline-flex}.eyebrow-line{background:currentColor;width:22px;height:1px}.form-error{color:#a13a49;background:#fff1f0;border:1px solid #ebb0b3;border-radius:11px;padding:12px 15px}.site-header{z-index:20;border-bottom:1px solid #e7e1dc;justify-content:space-between;align-items:center;gap:24px;width:min(1344px,100% - 64px);height:82px;margin:auto;display:flex;position:relative}.site-logo{letter-spacing:-.055em;white-space:nowrap;align-items:center;gap:9px;font-size:24px;font-weight:780;display:flex}.logo-mark{color:#6d4cc8;background:#e9e1fa;border-radius:11px;place-items:center;width:34px;height:34px;font-size:23px;font-weight:400;display:grid}.logo-dot{color:#9a7ae2}.site-nav{background:#fffdfa;border:1px solid #e6e0de;border-radius:14px;align-items:center;gap:6px;padding:5px;display:flex}.site-nav a{color:#706b77;border-radius:9px;padding:9px 16px;font-size:13px;font-weight:650;transition:background .2s,color .2s}.site-nav a:hover,.site-nav a.active{color:#5b3fad;background:#efe9fb}.site-header-end{align-items:center;gap:12px;display:flex}.account-chip{color:#fff;background:#3b2f54;border-radius:50%;place-items:center;width:32px;height:32px;font-size:13px;font-weight:700;display:grid}.header-link{color:#5a5364;cursor:pointer;background:0 0;border:0;font-size:13px;font-weight:700}.header-link:hover{color:var(--accent)}.header-login{color:#fff;background:#3d3058;border-radius:12px;justify-content:center;align-items:center;gap:15px;min-height:46px;padding:11px 21px;font-size:15px;transition:background .2s,transform .2s;display:inline-flex;box-shadow:0 8px 20px #30274324}.header-login:hover{color:#fff;background:#7055c8;transform:translateY(-2px)}.header-login span{font-size:19px;font-weight:400}.landing{width:min(1344px,100% - 64px);margin:auto}.landing-hero{color:#fff;background:#302743;border-radius:23px;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);min-height:570px;margin-top:34px;display:grid;overflow:hidden}.hero-copy{flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(42px,6vw,90px);display:flex}.hero-copy .eyebrow{color:#d1b2fc}.hero-copy h1,.auth-intro h1,.dashboard-heading h1{letter-spacing:-.052em;font-family:Georgia,Times New Roman,serif;font-weight:400;line-height:1.06}.hero-copy h1{max-width:690px;margin:26px 0;font-size:clamp(46px,5vw,76px)}.hero-copy h1 em{color:#e0b5c7;font-weight:400}.hero-copy p{color:#d6cfdf;max-width:555px;font-size:16px;line-height:1.75}.hero-actions{flex-wrap:wrap;align-items:center;gap:25px;margin-top:23px;display:flex}.hero-button{color:#281d3c;min-height:53px;box-shadow:none;background:#c3a1e7;padding:14px 22px}.hero-button:hover{background:#d2b9ef}.hero-button span{font-size:20px;font-weight:400}.quiet-link{color:#e6d8f5;font-size:13px;font-weight:650}.quiet-link span{margin-left:6px}.hero-footnote{color:#b9b0c6;align-items:center;gap:9px;margin-top:48px;font-size:12px;display:flex}.sparkle{color:#cbaaed;font-size:19px}.hero-art{background:#302743;position:relative;overflow:hidden}.hero-art:after{content:"";pointer-events:none;background:linear-gradient(90deg,#302743 0%,#3027431a 24%,#0000 52%),linear-gradient(#0000 72%,#241b36c7);position:absolute;inset:0}.hero-art img{object-fit:cover;object-position:center 43%;width:100%;height:100%;position:absolute;inset:0}.art-caption{z-index:1;color:#f1e5f1;letter-spacing:.12em;text-transform:uppercase;font-size:11px;position:absolute;bottom:31px;right:35px}.landing-features{grid-template-columns:repeat(3,1fr);gap:35px;padding:62px 12px 74px;display:grid}.landing-features>div{border-right:1px solid #ded8d8;padding:8px 26px 8px 6px}.landing-features>div:last-child{border-right:0}.feature-index{color:#8565cb;letter-spacing:.14em;font-size:11px;font-weight:800}.landing-features h2{letter-spacing:-.03em;margin:16px 0 10px;font-family:Georgia,serif;font-size:26px;font-weight:400}.landing-features p{color:var(--muted);font-size:14px;line-height:1.6}.auth-page{grid-template-columns:1fr minmax(340px,440px);align-items:center;gap:clamp(45px,8vw,130px);width:min(1160px,100% - 64px);min-height:calc(100vh - 130px);margin:auto;padding:60px 0;display:grid}.auth-intro h1{max-width:670px;margin:24px 0;font-size:clamp(52px,6vw,82px)}.auth-intro h1 em,.dashboard-heading h1 em{color:#9a77cf;font-weight:400}.auth-intro p{max-width:500px;color:var(--muted);font-size:17px;line-height:1.75}.auth-accent{color:#8d70c6;align-items:center;gap:13px;margin-top:64px;font-size:26px;display:flex}.auth-accent span{color:var(--muted);font-size:13px}.auth-card{background:#fffdfa;border:1px solid #e9e2e2;border-radius:21px;gap:20px;padding:40px;display:grid;box-shadow:0 30px 80px #3a2a4b14}.auth-card h2{margin:0 0 7px;font-family:Georgia,serif;font-size:30px;font-weight:400}.password-control{position:relative}.password-control .input{padding-right:104px}.password-toggle{color:#6d50b5;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:7px 8px;font-size:12px;font-weight:700;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle:hover{background:#f1ebf8}.password-toggle:focus-visible{outline-offset:2px;outline:2px solid #6d50b5}.auth-card .button{justify-content:space-between;width:100%;margin-top:8px}.auth-switch{color:var(--muted);text-align:center;margin:0;font-size:13px}.auth-switch a{color:#6d50b5;font-weight:700}.dashboard-heading{justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:48px;display:flex}.dashboard-heading h1{margin:18px 0 12px;font-size:clamp(42px,4.7vw,67px)}.dashboard-heading p{color:var(--muted);margin:0;font-size:15px;line-height:1.6}.dashboard-heading>.button,.dashboard-heading>.secondary-button{white-space:nowrap;margin-bottom:9px}.dashboard-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:9px;display:flex}.section-heading{justify-content:space-between;margin-bottom:20px;display:flex}.section-heading h2{margin:11px 0 0;font-family:Georgia,serif;font-size:32px;font-weight:400}.count-badge{color:#7052b5;vertical-align:middle;background:#ebe4f9;border-radius:50%;place-items:center;width:29px;height:29px;font:700 12px Segoe UI,sans-serif;display:inline-grid}.create-drawer{max-width:800px;margin:0 0 50px}.create-drawer .panel{padding:32px}.create-drawer h2{font-family:Georgia,serif;font-size:29px;font-weight:400}.creation-finish-actions{border-top:1px solid var(--line);flex-wrap:wrap;gap:10px;padding-top:10px;display:flex}.character-appearance-step>h2{margin-bottom:0}.character-grid{grid-template-columns:repeat(auto-fill,minmax(275px,1fr));gap:20px}.character-card{gap:0;padding:0;transition:transform .25s,box-shadow .25s;overflow:hidden}.character-card:hover{transform:translateY(-5px);box-shadow:0 25px 48px #3a2a4b1f}.character-card-art{color:#fff;background:radial-gradient(circle at 45% 38%,#d9b5c4,#a98eae 43%,#645778 100%);place-items:center;height:198px;font-family:Georgia,serif;font-size:95px;font-style:italic;display:grid;position:relative;overflow:hidden}.character-card-art img{object-fit:cover;object-position:center 22%;width:100%;height:100%;display:block}.character-card:nth-child(3n+2) .character-card-art{background:radial-gradient(circle at 45% 38%,#e1cdb5,#bb9ba1 48%,#806b83 100%)}.character-card:nth-child(3n+3) .character-card-art{background:radial-gradient(circle at 45% 38%,#c1c8db,#9d9fc3 48%,#646789 100%)}.character-card-orbit{border:1px solid #ffffff61;border-radius:50%;width:210px;height:210px;position:absolute;transform:rotateX(60deg)}.character-card-content{gap:9px;padding:22px;display:grid}.character-card-type{color:#8a6acd;letter-spacing:.13em;font-size:10px;font-weight:800}.character-card .card-title{font-family:Georgia,serif;font-size:29px;font-weight:400}.character-card p{min-height:42px;max-height:43px;color:var(--muted);margin:0;font-size:13px;line-height:1.6;overflow:hidden}.character-card-link{border-top:1px solid var(--line);color:#6549b1;justify-content:space-between;margin-top:10px;padding-top:15px;font-size:13px;font-weight:800;display:flex}.empty-state{text-align:center;background:#fffdfa;border:1px dashed #d6cbdc;border-radius:19px;flex-direction:column;justify-content:center;align-items:center;min-height:360px;padding:42px 20px;display:flex}.empty-orbit{color:#9878cf;background:#eee6f9;border-radius:50%;place-items:center;width:76px;height:76px;margin-bottom:22px;font-size:37px;display:grid}.empty-state h3{margin-bottom:10px;font-family:Georgia,serif;font-size:29px;font-weight:400}.empty-state p{max-width:400px;color:var(--muted);font-size:14px;line-height:1.6}.empty-state .button{margin-top:14px}.chat-page{padding-top:28px}.chat-page-heading{grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px 16px;margin-bottom:20px;display:grid}.back-link{color:#7c7284;grid-column:1/-1;font-size:12px;font-weight:700}.back-link:hover{color:var(--accent)}.chat-heading-avatar{color:#fff;background:linear-gradient(145deg,#d0aebe,#8e7ca8);border-radius:17px;flex:0 0 52px;place-items:center;width:52px;height:52px;font-family:Georgia,serif;font-size:30px;display:grid}.chat-page-heading h1{margin:5px 0 2px;font-family:Georgia,serif;font-size:31px;font-weight:400}.chat-page-heading p{max-width:350px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:12px;overflow:hidden}.chat-layout{grid-template-columns:minmax(0,1fr) 453px;gap:22px}.chat-window{background:#fffdfa;border-radius:18px;height:min(52vh,580px);min-height:340px;box-shadow:0 14px 44px #24183a0d}.bubble{border-radius:16px;line-height:1.6;box-shadow:0 3px 12px #2b223c0a}.bubble.user{border-bottom-right-radius:4px}.bubble.assistant{border-bottom-left-radius:4px}.composer{padding-top:16px}.chat-layout>aside{height:156vh;overflow-y:auto}.chat-layout>aside .info-tooltip{width:150px}.chat-layout>.companion-sidebar{padding:0}.companion-sidebar-hero{z-index:2;border-bottom:1px solid var(--line);background:#fffdfa;gap:10px;padding:16px 16px 14px;display:grid;position:sticky;top:0;box-shadow:0 7px 18px #24183a12}.companion-sidebar-portrait{background:linear-gradient(145deg,#ddd0e7,#a993bf);border-radius:12px;place-items:center;height:180px;display:grid;overflow:hidden}.companion-portrait-open{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:relative}.companion-portrait-open span{color:#fff;background:#22192ec7;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:700;position:absolute;bottom:9px;right:9px}.companion-portrait-open:hover span{background:#22192ef0}.companion-sidebar-portrait img{object-fit:contain;width:100%;height:100%;display:block}.companion-sidebar-placeholder{color:#fff;font:italic 100px Georgia,serif}.companion-sidebar-hero .panel-title{margin-bottom:3px;font-family:Georgia,serif;font-size:24px;font-weight:400}.companion-sidebar-hero p,.companion-sidebar-hero small{margin:0;font-size:12px;line-height:1.4}.companion-menu{display:grid}.companion-menu-item{border-bottom:1px solid var(--line);background:#fffdfa;min-width:0}.companion-menu-item:last-child{border-bottom:0}.companion-menu-item>summary{color:var(--ink);cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 10px;padding:17px 18px;font-size:15px;font-weight:750;list-style:none;display:grid}.companion-menu-item>summary::-webkit-details-marker{display:none}.companion-menu-item>summary:after{content:"⌄";color:var(--accent-dark);grid-area:1/2/span 2;font-size:22px;font-weight:400;transition:transform .2s}.companion-menu-item[open]>summary:after{transform:rotate(180deg)}.companion-menu-item>summary small{color:var(--muted);grid-column:1;font-size:11px;font-weight:400;line-height:1.35}.companion-menu-item>summary:hover,.companion-menu-item[open]>summary{background:#f7f2fb}.companion-menu-content{gap:12px;padding:0 18px 20px;display:grid}.companion-menu-content>.appearance-panel{border-bottom:1px solid var(--line);padding-bottom:15px}.companion-menu-content>p{margin:0}.library-toolbar{color:var(--muted);justify-content:space-between;align-items:center;margin:3px 0 24px;font-size:13px;display:flex}.gallery-character-groups{gap:44px;display:grid}.gallery-character-section{border-top:1px solid var(--line);gap:18px;padding-top:24px;display:grid}.gallery-character-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.gallery-character-identity{align-items:center;gap:13px;min-width:0;display:flex}.gallery-character-avatar{color:#fff;background:linear-gradient(145deg,#d0aebe,#8e7ca8);border-radius:14px;flex:0 0 48px;place-items:center;width:48px;height:48px;font:italic 29px Georgia,serif;display:grid}.gallery-character-heading h2{margin:0 0 4px;font-family:Georgia,serif;font-size:27px;font-weight:400}.gallery-character-heading span:not(.gallery-character-avatar){color:var(--muted);font-size:12px}.gallery-character-heading>a{color:var(--accent-dark);white-space:nowrap;font-size:13px;font-weight:700}.filter-tabs{border:1px solid var(--line);background:#fffdfa;border-radius:12px;gap:5px;padding:4px;display:flex}.filter-tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:9px 17px;font-weight:700}.filter-tabs button.active{color:#6246b4;background:#ede6fa}.media-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:20px;display:grid}.media-card{border:1px solid var(--line);background:#fffdfa;border-radius:16px;overflow:hidden;box-shadow:0 14px 32px #24183a0d}.media-card-preview{background:#e8e1ed;height:250px;position:relative}.media-card-preview img,.media-card-preview video{object-fit:cover;width:100%;height:100%;display:block}.media-card-open{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;display:block;position:relative}.media-card-open span,.media-card-expand{color:#fff;background:#22192ec9;border:1px solid #ffffffa6;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700;position:absolute;top:10px;right:10px}.media-card-expand{cursor:zoom-in}.media-card-open:hover span,.media-card-expand:hover{background:#22192ef2}.media-card-caption{justify-content:space-between;align-items:center;gap:12px;padding:15px 17px;display:flex}.media-card-caption div{gap:4px;display:grid}.media-card-caption strong{font-size:14px}.media-card-caption span{color:var(--muted);font-size:12px}.media-card-caption a{color:var(--accent);font-size:20px}.dashboard-examples{margin:0 0 52px}.dashboard-examples .section-heading{flex-wrap:wrap;align-items:end;gap:16px}.dashboard-examples-intro{max-width:760px;color:var(--muted);margin:0 0 20px;font-size:14px;line-height:1.6}.dashboard-example-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;display:grid}.dashboard-example-card{border:1px solid var(--line);background:#fffdfa;border-radius:15px;text-decoration:none;transition:transform .2s,box-shadow .2s;overflow:hidden;box-shadow:0 10px 25px #24183a0d}.dashboard-example-card:hover{transform:translateY(-3px);box-shadow:0 16px 30px #24183a1a}.dashboard-example-card img{object-fit:cover;object-position:center 22%;background:#e7e0eb;width:100%;height:185px;display:block}.dashboard-example-copy{gap:5px;padding:13px;display:grid}.dashboard-example-copy strong{color:var(--ink);font-family:Georgia,serif;font-size:20px;font-weight:400}.dashboard-example-copy>span{color:var(--muted);font-size:11px;line-height:1.4}.dashboard-example-copy .dashboard-example-link{color:var(--accent-dark);margin-top:6px;font-size:12px;font-weight:700}.example-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));align-items:stretch;gap:22px;display:grid}.example-card{border:1px solid var(--line);background:#fffdfa;border-radius:20px;flex-direction:column;scroll-margin-top:24px;display:flex;overflow:hidden;box-shadow:0 14px 40px #24183a0d}.example-cover{cursor:zoom-in;background:#e7e0eb;border:0;width:100%;height:320px;padding:0;display:block;position:relative}.example-cover img{object-fit:cover;object-position:center top;width:100%;height:100%;display:block}.example-cover span{color:#fff;background:#22192ec7;border-radius:8px;padding:7px 10px;font-size:11px;font-weight:700;position:absolute;bottom:12px;right:12px}.example-card-content{flex-direction:column;flex:1;gap:12px;padding:22px;display:flex}.example-card-content h2{margin:0;font-family:Georgia,serif;font-size:29px;font-weight:400}.example-card-content>p{color:var(--muted);margin:0;font-size:13px;line-height:1.55}.example-card-content .example-role{color:var(--accent-dark);font-weight:700}.example-card-content>.button{width:100%;margin-top:auto}.example-stage-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.example-stage-gallery.two-images{grid-template-columns:repeat(2,minmax(0,1fr))}.example-stage-gallery button{cursor:zoom-in;background:#eee8f0;border:0;border-radius:9px;height:96px;padding:0;position:relative;overflow:hidden}.example-stage-gallery img{object-fit:cover;width:100%;height:100%;display:block}.example-stage-gallery button.clothing img{object-position:center top}.example-stage-gallery span{color:#fff;text-align:center;background:#22192eba;padding:5px;font-size:10px;font-weight:700;position:absolute;bottom:0;left:0;right:0}.example-details{border-top:1px solid var(--line);padding-top:12px}.example-details summary{color:var(--accent-dark);cursor:pointer;font-size:13px;font-weight:700}.example-details dl{gap:5px;margin:13px 0 0;font-size:12px;line-height:1.5;display:grid}.example-details dt{margin-top:7px;font-weight:750}.example-details dd{color:var(--muted);margin:0}.catalog-heading{justify-content:space-between;align-items:flex-end;gap:26px;margin-bottom:36px;display:flex}.catalog-heading h1,.catalog-heading h2{letter-spacing:-.045em;margin:15px 0 12px;font-family:Georgia,serif;font-size:clamp(38px,4.5vw,61px);font-weight:400;line-height:1.1}.catalog-heading em{color:#785cc2;font-weight:400}.catalog-heading p{max-width:650px;color:var(--muted);margin:0;font-size:15px;line-height:1.65}.landing-catalog{margin-top:64px}.landing-join{color:#fff;background:#302743;border-radius:22px;justify-content:space-between;align-items:center;gap:28px;margin:36px 0 80px;padding:38px clamp(28px,5vw,64px);display:flex}.landing-join .eyebrow{color:#c8a8eb}.landing-join h2{letter-spacing:-.035em;max-width:640px;margin:12px 0 0;font-family:Georgia,serif;font-size:clamp(28px,3vw,43px);font-weight:400;line-height:1.14}.landing-join .button{color:#281d3c;min-height:56px;box-shadow:none;background:#c3a1e7;flex:none;padding:15px 27px;font-size:16px}.landing-join .button:hover{background:#d2b9ef}.account-layout{grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:24px;display:grid}.account-profile,.account-quotas{border:1px solid var(--line);background:#fffdfa;border-radius:19px;padding:32px}.profile-avatar{color:#fff;background:linear-gradient(145deg,#cfafdc,#876bbb);border-radius:27px;place-items:center;width:84px;height:84px;margin-bottom:30px;font-family:Georgia,serif;font-size:48px;display:grid}.account-profile h2,.account-quotas h2{margin:12px 0 7px;font-family:Georgia,serif;font-size:31px;font-weight:400}.account-profile p,.account-quotas>p{color:var(--muted);font-size:14px;line-height:1.6}.quota-list{gap:10px;margin-top:25px;display:grid}.quota-item{border:1px solid #ece6e9;border-radius:13px;align-items:center;gap:16px;padding:15px;display:flex}.quota-icon{color:#815fc6;background:#f0eafa;border-radius:11px;flex:0 0 40px;place-items:center;width:40px;height:40px;font-size:20px;display:grid}.quota-copy{flex:1;gap:4px;display:grid}.quota-copy strong{font-size:13px}.quota-copy span{color:var(--muted);font-size:11px}.quota-item b{color:#6549b1;font-size:18px}.quota-track{background:#eee9f2;border-radius:4px;height:4px;margin-top:6px;overflow:hidden}.quota-track span{background:#8f6bd2;border-radius:4px;height:100%;display:block}.page-loading{min-height:260px;color:var(--muted);justify-content:center;align-items:center;gap:16px;font-size:14px;display:flex}.loading-orb{border:3px solid #dfd2f6;border-top-color:#7957c0;border-radius:50%;width:26px;height:26px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:1150px){.chat-layout{grid-template-columns:minmax(0,1fr)}.chat-layout>aside{height:auto}.companion-sidebar-hero{position:static}}@media (max-width:1000px){.landing-hero{min-height:510px}.hero-copy{padding:50px}.hero-copy h1{font-size:55px}}@media (max-width:720px){.site-header,.landing,.shell,.auth-page{width:min(100% - 32px,620px)}.site-header{flex-wrap:wrap;gap:6px;height:68px}.site-logo{font-size:21px}.site-nav{order:3;justify-content:space-around;width:100%;margin-bottom:-50px;padding:3px}.site-nav a{padding:7px 10px;font-size:11px}.site-header:has(.site-nav){margin-bottom:46px}.landing-hero{grid-template-columns:1fr;margin-top:20px}.hero-copy{min-height:510px;padding:42px 30px}.hero-copy h1{font-size:clamp(46px,9vw,66px)}.hero-art{min-height:350px}.hero-art:after{background:linear-gradient(#0000 70%,#241b36c7)}.hero-art img{object-position:center 39%}.art-caption{bottom:18px;right:20px}.catalog-heading,.landing-join{flex-direction:column;align-items:flex-start}.landing-features{grid-template-columns:1fr;gap:18px;padding:35px 4px 55px}.landing-features>div{border-right:0;border-bottom:1px solid var(--line);padding:10px 0 20px}.auth-page{grid-template-columns:1fr;gap:26px;padding:42px 0 70px}.auth-intro h1{font-size:55px}.auth-intro p{font-size:15px}.auth-accent{display:none}.auth-card{padding:27px}.dashboard-heading{gap:20px;margin-bottom:35px;display:grid}.dashboard-heading h1{font-size:46px}.dashboard-heading>.button{justify-self:start}.account-layout{grid-template-columns:1fr}.chat-window{height:46vh}.library-toolbar,.gallery-character-heading{flex-wrap:wrap}}@media (max-width:480px){.shell{padding-top:27px}.hero-copy{min-height:500px}.hero-copy h1{font-size:46px}.hero-footnote{margin-top:35px}.hero-actions{flex-direction:column;align-items:flex-start;gap:18px}.auth-intro h1{font-size:47px}.account-profile,.account-quotas{padding:23px}.chat-window{min-height:300px}.create-drawer .panel{padding:20px}.creation-finish-actions .button,.creation-finish-actions .secondary-button{width:100%}.chat-media-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:3px}.chat-media-nav{width:34px;height:46px;font-size:30px}.chat-media-viewer-actions .secondary-button{min-height:36px;padding:6px 9px;font-size:11px}.header-login{min-height:42px;padding:8px 14px;font-size:14px}.hero-art{min-height:310px}.landing-catalog{margin-top:48px}.example-grid{grid-template-columns:minmax(0,1fr)}.catalog-heading h1,.catalog-heading h2{font-size:40px}.landing-join{padding:30px 24px}.landing-join .button{width:100%}}.site-footer{color:#77707d;border-top:1px solid #e3dce2;justify-content:space-between;gap:18px;width:min(1344px,100% - 64px);margin:30px auto 0;padding:23px 0 34px;font-size:12px;display:flex}.site-footer nav{flex-wrap:wrap;gap:18px;display:flex}.site-footer a:hover{color:#6549b1;text-decoration:underline}.consent-field{color:#514b57;align-items:flex-start;gap:11px;font-size:12px;line-height:1.55;display:flex}.consent-field input{accent-color:#7054b8;flex:none;width:17px;height:17px;margin:2px 0 0}.consent-field a,.legal-page a:not(.legal-back){color:#6549b1;text-underline-offset:2px;text-decoration:underline}.legal-page{background:#fffdfa;border:1px solid #e9e2e2;border-radius:22px;width:min(860px,100% - 40px);margin:40px auto 90px;padding:clamp(28px,6vw,64px);box-shadow:0 24px 65px #3a2a4b0f}.legal-back{color:#6549b1;width:fit-content;margin-bottom:32px;font-size:13px;font-weight:700;display:block}.legal-page h1{letter-spacing:-.035em;margin:14px 0 8px;font-family:Georgia,serif;font-size:clamp(35px,5vw,54px);font-weight:400;line-height:1.12}.legal-date{color:#77707d;margin:0 0 42px;font-size:13px}.legal-page section{border-top:1px solid #ebe4e6;padding:22px 0}.legal-page h2{margin:0 0 12px;font-family:Georgia,serif;font-size:25px;font-weight:400}.legal-page p,.legal-page li{color:#4f4b52;font-size:14px;line-height:1.75}.legal-page p{margin:0 0 12px}.legal-page p:last-child{margin-bottom:0}.legal-page ul{margin:0 0 14px;padding-left:20px}.legal-page li+li{margin-top:7px}.legal-page .legal-end{margin-top:24px}@media (max-width:720px){.site-footer{flex-direction:column;width:min(100% - 32px,620px)}.legal-page{width:min(100% - 32px,620px);margin:24px auto 55px}}
