.measurement-consent{position:fixed;left:20px;bottom:20px;z-index:10000;width:min(420px,calc(100vw - 40px));padding:18px;border:1px solid var(--line-strong);border-radius:var(--radius-banner);background:color-mix(in srgb,var(--card) 96%,transparent);color:var(--ink);box-shadow:var(--shadow);font:400 var(--type-control)/1.5 var(--font-ui);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.measurement-consent strong{display:block;font-size:16px;font-weight:750;line-height:1.3}.measurement-consent p{margin:7px 0 16px;color:var(--muted)}.measurement-consent a{color:var(--accent-dark);text-underline-offset:3px}.measurement-actions{display:flex;gap:8px;justify-content:flex-end}.measurement-actions button{min-height:var(--button-height-compact);padding:0 16px;border:1px solid transparent;border-radius:var(--radius-pill);background:color-mix(in srgb,var(--ink) 14%,var(--card));color:var(--ink);font-weight:700;cursor:pointer;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}.measurement-actions button:hover{border-color:transparent;background:color-mix(in srgb,var(--ink) 20%,var(--card))}.measurement-actions button:active{transform:scale(.98)}.measurement-actions button.measurement-decline{display:grid;place-items:center;flex:0 0 auto;width:var(--button-height-compact);min-width:0;padding:0;border-radius:50%}.measurement-actions button.measurement-accept{min-width:144px;border-color:var(--action-bg);background:var(--action-bg);color:var(--action-fg)}.measurement-actions button.measurement-accept:hover{border-color:var(--action-hover);background:var(--action-hover)}@media(max-width:600px){.measurement-consent{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;padding:16px}.measurement-actions{display:grid;grid-template-columns:auto 1fr}.measurement-actions:has(>:only-child){display:flex;justify-content:flex-end}.measurement-actions button{padding-inline:12px}}@font-face{font-family:Mona Sans Variable;font-style:normal;font-display:swap;font-weight:200 900;font-stretch:75% 125%;src:url(/assets/mona-sans-vietnamese-standard-normal-Rd0aZl9c.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Mona Sans Variable;font-style:normal;font-display:swap;font-weight:200 900;font-stretch:75% 125%;src:url(/assets/mona-sans-latin-ext-standard-normal-CQ1tG6In.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Mona Sans Variable;font-style:normal;font-display:swap;font-weight:200 900;font-stretch:75% 125%;src:url(/assets/mona-sans-latin-standard-normal-BMVx8nn_.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-ext-wght-normal-D8xHCTEw.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-wght-normal-bOs07Rf4.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-ext-wght-normal-Bm9CHu9r.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-wght-normal-8neIfJ3r.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-hebrew-wght-normal-BjjtG49P.woff2) format("woff2-variations");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-math-wght-normal-C1FvUlkR.woff2) format("woff2-variations");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-symbols-wght-normal-BAf6-sld.woff2) format("woff2-variations");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-vietnamese-wght-normal-UygKeDyW.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-ext-wght-normal-DPNHYqvY.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Open Sans Variable;font-style:normal;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-wght-normal-CWNzRldh.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-ext-wght-italic-C5caDWkv.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-cyrillic-wght-italic-BHGTCMtU.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-ext-wght-italic-ZJN3QSAr.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-greek-wght-italic-Dymqxqgx.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-hebrew-wght-italic-CN0_AmM6.woff2) format("woff2-variations");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-math-wght-italic-fnaShVx0.woff2) format("woff2-variations");unicode-range:U+0302-0303,U+0305,U+0307-0308,U+0310,U+0312,U+0315,U+031A,U+0326-0327,U+032C,U+032F-0330,U+0332-0333,U+0338,U+033A,U+0346,U+034D,U+0391-03A1,U+03A3-03A9,U+03B1-03C9,U+03D1,U+03D5-03D6,U+03F0-03F1,U+03F4-03F5,U+2016-2017,U+2034-2038,U+203C,U+2040,U+2043,U+2047,U+2050,U+2057,U+205F,U+2070-2071,U+2074-208E,U+2090-209C,U+20D0-20DC,U+20E1,U+20E5-20EF,U+2100-2112,U+2114-2115,U+2117-2121,U+2123-214F,U+2190,U+2192,U+2194-21AE,U+21B0-21E5,U+21F1-21F2,U+21F4-2211,U+2213-2214,U+2216-22FF,U+2308-230B,U+2310,U+2319,U+231C-2321,U+2336-237A,U+237C,U+2395,U+239B-23B7,U+23D0,U+23DC-23E1,U+2474-2475,U+25AF,U+25B3,U+25B7,U+25BD,U+25C1,U+25CA,U+25CC,U+25FB,U+266D-266F,U+27C0-27FF,U+2900-2AFF,U+2B0E-2B11,U+2B30-2B4C,U+2BFE,U+3030,U+FF5B,U+FF5D,U+1D400-1D7FF,U+1EE00-1EEFF}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-symbols-wght-italic-BIea8-3l.woff2) format("woff2-variations");unicode-range:U+0001-000C,U+000E-001F,U+007F-009F,U+20DD-20E0,U+20E2-20E4,U+2150-218F,U+2190,U+2192,U+2194-2199,U+21AF,U+21E6-21F0,U+21F3,U+2218-2219,U+2299,U+22C4-22C6,U+2300-243F,U+2440-244A,U+2460-24FF,U+25A0-27BF,U+2800-28FF,U+2921-2922,U+2981,U+29BF,U+29EB,U+2B00-2BFF,U+4DC0-4DFF,U+FFF9-FFFB,U+10140-1018E,U+10190-1019C,U+101A0,U+101D0-101FD,U+102E0-102FB,U+10E60-10E7E,U+1D2C0-1D2D3,U+1D2E0-1D37F,U+1F000-1F0FF,U+1F100-1F1AD,U+1F1E6-1F1FF,U+1F30D-1F30F,U+1F315,U+1F31C,U+1F31E,U+1F320-1F32C,U+1F336,U+1F378,U+1F37D,U+1F382,U+1F393-1F39F,U+1F3A7-1F3A8,U+1F3AC-1F3AF,U+1F3C2,U+1F3C4-1F3C6,U+1F3CA-1F3CE,U+1F3D4-1F3E0,U+1F3ED,U+1F3F1-1F3F3,U+1F3F5-1F3F7,U+1F408,U+1F415,U+1F41F,U+1F426,U+1F43F,U+1F441-1F442,U+1F444,U+1F446-1F449,U+1F44C-1F44E,U+1F453,U+1F46A,U+1F47D,U+1F4A3,U+1F4B0,U+1F4B3,U+1F4B9,U+1F4BB,U+1F4BF,U+1F4C8-1F4CB,U+1F4D6,U+1F4DA,U+1F4DF,U+1F4E3-1F4E6,U+1F4EA-1F4ED,U+1F4F7,U+1F4F9-1F4FB,U+1F4FD-1F4FE,U+1F503,U+1F507-1F50B,U+1F50D,U+1F512-1F513,U+1F53E-1F54A,U+1F54F-1F5FA,U+1F610,U+1F650-1F67F,U+1F687,U+1F68D,U+1F691,U+1F694,U+1F698,U+1F6AD,U+1F6B2,U+1F6B9-1F6BA,U+1F6BC,U+1F6C6-1F6CF,U+1F6D3-1F6D7,U+1F6E0-1F6EA,U+1F6F0-1F6F3,U+1F6F7-1F6FC,U+1F700-1F7FF,U+1F800-1F80B,U+1F810-1F847,U+1F850-1F859,U+1F860-1F887,U+1F890-1F8AD,U+1F8B0-1F8BB,U+1F8C0-1F8C1,U+1F900-1F90B,U+1F93B,U+1F946,U+1F984,U+1F996,U+1F9E9,U+1FA00-1FA6F,U+1FA70-1FA7C,U+1FA80-1FA89,U+1FA8F-1FAC6,U+1FACE-1FADC,U+1FADF-1FAE9,U+1FAF0-1FAF8,U+1FB00-1FBFF}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-vietnamese-wght-italic-CLM9MVT0.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-ext-wght-italic-CT8UZlj2.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Open Sans Variable;font-style:italic;font-display:swap;font-weight:300 800;src:url(/assets/open-sans-latin-wght-italic-Bf1Hxpwk.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.chat-panel{isolation:isolate}.chat-panel .message-row .world-character-turn .world-character-bubble{background:var(--chat-character-bubble, #202024)}.chat-panel .message-row .world-player-turn .world-character-bubble{background:var(--chat-player-bubble, #252d43)}.chat-wallpaper{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;overflow:hidden;pointer-events:none;background:#17181c}.chat-wallpaper-image{position:absolute;top:-24px;right:-24px;bottom:-24px;left:-24px;transition:transform .16s ease-out;will-change:transform}.chat-wallpaper-image img{width:100%;height:100%;object-fit:cover}.chat-wallpaper-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:#080a10a6}.chat-panel.chat-has-wallpaper .messages{background:transparent}.chat-panel.chat-has-wallpaper .message-row .world-narration{color:#eee;text-shadow:0 1px 4px #000}.chat-panel.chat-has-wallpaper .world-narration p{color:#eee}.chat-panel.chat-has-wallpaper .world-character-bubble{box-shadow:0 4px 20px #0002}.chat-layout-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:220;background:#0008;display:flex;align-items:flex-end;justify-content:center}.chat-layout-sheet{width:min(100%,560px);max-height:90%;overflow:auto;overscroll-behavior:contain;padding:20px 20px max(20px,env(safe-area-inset-bottom));background:var(--card, #1e1f24);color:#f5f5f6;border-radius:24px 24px 0 0;box-shadow:0 -8px 40px #0003}.chat-layout-sheet header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.chat-layout-sheet h2{margin:0;font-size:24px}.chat-layout-sheet h3,.chat-layout-sheet legend{font-size:16px;font-weight:650;margin:18px 0 10px}.chat-layout-sheet p,.chat-layout-sheet small{color:#b7b7c0;font-size:13px;line-height:1.5}.chat-layout-sheet fieldset{padding:0;border:0;margin:18px 0 0}.chat-layout-sheet legend{margin:0 0 10px}.chat-color-options{display:flex;flex-wrap:wrap;gap:10px;padding:3px}.chat-color-options button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;border:0}.chat-color-options button[aria-pressed=true]{outline:2px solid #fff;outline-offset:2px}.chat-wallpaper-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.chat-wallpaper-options button{position:relative;padding:0 0 9px;color:inherit;border:2px solid transparent;background:#292a30;border-radius:14px;overflow:hidden;text-align:left}.chat-wallpaper-options button[aria-pressed=true]{border-color:#fff}.chat-wallpaper-thumbnail{display:block;width:100%;aspect-ratio:3/4;padding:0!important;background:#17181c}.chat-wallpaper-options img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block;background:#17181c}.chat-wallpaper-options span{display:block;padding:7px 7px 0;font-size:12px}.chat-wallpaper-options svg{position:absolute;top:6px;right:6px;background:#15151c;border-radius:50%;padding:2px;width:24px;height:24px}.chat-motion-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 12px}.chat-motion-toggle small{display:block;margin-top:4px}.chat-motion-toggle input{width:22px;height:22px;accent-color:#ef9abd}.chat-layout-sheet footer{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:12px}.chat-layout-sheet footer>button{flex:1}.chat-layout-sheet button:focus-visible{outline:2px solid #f5abc9;outline-offset:3px}@media(prefers-reduced-motion:reduce){.chat-wallpaper-image{transition:none;will-change:auto}}.chat-model-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:20px;margin:12px 0;background:#292a30;color:inherit;border:0;border-radius:18px;font:inherit}.chat-model-option{cursor:pointer}.chat-model-option.is-selected{background:#3c3d43}.chat-model-option:hover{background:#34343a}.chat-model-option strong{display:block;font-size:19px}.chat-model-option small{display:block;margin-top:8px}.chat-model-option>svg{flex:0 0 22px}.chat-model-option:disabled{color:#b7b7c0;cursor:not-allowed}.chat-model-badge{display:inline-block;margin-top:8px;padding:4px 8px;border-radius:8px;background:#3b3c42;font-size:12px}.chat-model-icon{flex:0 0 64px;width:64px;height:64px}.chat-model-copy{flex:1;min-width:0}.chat-model-copy small{line-height:1.5;color:#c7c7cc}@media(max-width:360px){.chat-model-option{gap:12px;padding:16px}.chat-model-icon{flex-basis:52px;width:52px;height:52px}}.chat-model-title,.chat-model-benefits{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.chat-model-premium{padding:3px 7px;border-radius:6px;background:#e2dbbc;color:#393526;font-size:11px;font-weight:650}.chat-model-benefits{margin-top:12px}.chat-model-memory{padding:4px 8px;border-radius:7px;background:#354537;color:#deebc8;font-size:12px;font-weight:600}.chat-model-access{color:#d8e6c4;font-size:12px}.for-you-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.25rem}.view-home .for-you{padding-top:1.25rem}@media(min-width:761px){.view-home .for-you{padding-top:2rem}}.view-home .for-you.home-for-you-feed{padding-top:0}.for-you-heading h1,.for-you-heading h2{margin:0}.for-you-actions,.for-you-interests{display:flex;flex-wrap:wrap;gap:.5rem}.for-you-heading button,.for-you-preferences button,.for-you-actions button,.for-you-next{font:inherit;color:inherit;background:var(--card, #242426);border:0;border-radius:999px;padding:.55rem .9rem;cursor:pointer}.for-you button[aria-pressed=true],.recommendation-settings button[aria-pressed=true]{background:var(--ink, #eee);color:var(--paper, #171719)}.recommendation-settings-row{display:flex;align-items:center;gap:1rem;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}.recommendation-settings-row>span:first-of-type{flex:1}.recommendation-settings .for-you-preferences{margin:1rem 0 0;padding:0;border:0}.for-you-preferences fieldset{display:grid;gap:1rem;padding:0;margin:0;border:0;min-width:0}.plot-card.story-card-skeleton,.recommendation-settings-skeleton{position:relative;overflow:hidden;background:color-mix(in srgb,var(--ink, #fff) 8%,var(--paper, #171719));pointer-events:none}.plot-card.story-card-skeleton{width:100%;aspect-ratio:.74}.story-card-skeleton:after,.recommendation-settings-skeleton:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(100deg,transparent 20%,#ffffff0b 45%,#ffffff12 50%,transparent 80%);transform:translate(-100%);animation:story-card-shimmer 1.6s ease-in-out infinite}.story-card-skeleton-copy{position:absolute;inset:auto 1rem 1.2rem;display:grid;gap:.6rem}.story-card-skeleton-copy span{display:block;height:.85rem;width:85%;border-radius:5px;background:#8882}.story-card-skeleton-copy span:first-child{width:70%;height:1.4rem}.story-card-skeleton-copy span:last-child{width:50%}.recommendation-settings-skeleton{height:120px;margin-top:1rem;border-radius:12px}@keyframes story-card-shimmer{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.story-card-skeleton:after,.recommendation-settings-skeleton:after{animation:none;transform:none}}.for-you button:disabled{opacity:.5;cursor:wait}.for-you-preferences{display:grid;gap:1rem;padding:1rem;border:1px solid #7776;border-radius:16px;margin-bottom:1rem}.for-you-preferences label{display:flex;gap:.6rem;align-items:center}.for-you-continue{display:grid;gap:.5rem;padding:1rem;margin:1rem 0;border:1px solid #7776;border-radius:16px;color:inherit;text-decoration:none}.for-you-continue span{font-size:.85rem;opacity:.75}.for-you-item{position:relative;min-width:0}.for-you-item>.plot-card{height:100%}.for-you-item>.plot-card:hover{transform:none;box-shadow:none}.for-you-item>.plot-card:hover .card-image img{transform:none}.for-you-item .card-overlay>span{padding-right:36px}.for-you-feedback{position:absolute;right:12px;bottom:13px;z-index:4;opacity:0;transform:scale(.94);pointer-events:none;transition:opacity .18s ease,transform .18s ease}.for-you-item:hover .for-you-feedback,.for-you-item:focus-within .for-you-feedback,.for-you-feedback[open]{opacity:1;transform:scale(1);pointer-events:auto}.for-you-feedback summary{width:28px;height:28px;display:grid;place-items:center;padding:0;color:#f4f4f5;background:#131316b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:0;border-radius:50%;cursor:pointer;list-style:none}.for-you-feedback summary::-webkit-details-marker{display:none}.for-you-feedback>div{position:absolute;right:0;bottom:100%;display:grid;gap:.3rem;min-width:210px;padding:.5rem;background:#202024;border:0;border-radius:14px;color:#fff}.for-you-feedback>div>button{width:100%;min-height:36px;padding:8px 10px;color:#d6d6da;text-align:left;background:transparent;border:0;border-radius:8px;cursor:pointer;transition:color .16s ease,background-color .16s ease}.for-you-feedback>div>button:hover,.for-you-feedback>div>button:focus-visible{color:#fff;background:#2a2c32;outline:none}.for-you-next{display:block;margin:1.5rem auto}.for-you button:focus-visible,.for-you-feedback summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(prefers-reduced-motion:reduce){.for-you-feedback{transform:none;transition:opacity .12s ease}}.home-public-item{min-width:0}.home-public-item>.plot-card{height:100%}.home-infinite-sentinel{width:100%;height:1px}:root{--font-ui: "Mona Sans Variable", "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;--font-story: var(--font-ui);--font-chat: "Open Sans Variable", "Helvetica Neue", Arial, sans-serif;font-family:var(--font-ui);color:#252422;background:#fbfaf8;font-synthesis:none;--ink: #252422;--muted: #706f73;--paper: #fbfaf8;--card: #ffffff;--card-hover: color-mix(in srgb, var(--ink) 10%, var(--card));--line: #e2e1de;--line-strong: #cbc9c5;--control-outline: rgba(37, 36, 34, .26);--control-outline-hover: rgba(37, 36, 34, .42);--control-outline-bg: rgba(37, 36, 34, .04);--control-outline-bg-hover: rgba(37, 36, 34, .07);--accent: #ea4c89;--accent-dark: #b82e64;--accent-solid: #c32361;--accent-hover: #a91f54;--accent-soft: #fceef4;--accent-border: #f3bfd2;--accent-contrast: #ffffff;--like: var(--accent);--like-soft: #fce9f0;--support: #6484d8;--support-soft: #edf2fc;--action-bg: #252422;--action-fg: #ffffff;--action-hover: #3b3937;--forest: var(--action-bg);--shadow: 0 18px 50px rgba(55, 45, 35, .09);--composer-font-size: 14px;--type-meta: 12px;--type-secondary: 13px;--type-control: 14px;--type-body: 16px;--type-page-title: clamp(34px, 3.4vw, 48px);--radius-pill: 999px;--radius-field: 18px;--radius-card: 12px;--radius-banner: 16px;--button-height: 44px;--button-height-compact: 40px;--button-padding: 20px;--motion-fast: .16s;--motion-medium: .28s;--motion-slow: .42s;--ease-out: cubic-bezier(.22, 1, .36, 1);--ease-spring: cubic-bezier(.34, 1.56, .64, 1);--scrollbar-thumb: rgba(255, 255, 255, .2);--scrollbar-thumb-hover: rgba(255, 255, 255, .34);--app-height: 100svh;--app-top-inset: 0px;--app-bottom-inset: 0px;--mobile-nav-height: 0px;--mobile-bottom-chrome: 0px}.studio-tip[role=alert]{display:block}.studio-tip[role=alert] ul{margin:6px 0 0;padding-left:18px}.studio-relationship-fields{display:grid!important;align-items:stretch!important;gap:0;margin:12px 0}.studio-relationship-fields>small{color:#7e7770;font-size:12px;font-weight:600}*{box-sizing:border-box;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border:2px solid transparent;border-radius:999px;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:padding-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--paper);font-weight:400}h1,h2,h3{font-stretch:125%}button,input,textarea,select{font:inherit}@media(max-width:1024px),(hover:none)and (pointer:coarse){:root{--composer-font-size: 16px}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]):not([type=hidden]),textarea,select,[contenteditable=true]{font-size:16px!important}}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(206,111,88,.25);outline-offset:2px}img{display:block;width:100%;height:100%;object-fit:cover}.app-shell{display:flex;min-height:100vh}.sidebar{width:300px;position:fixed;inset:0 auto 0 0;z-index:20;display:flex;flex-direction:column;padding:26px 18px 18px;background:#eeebe4;border-right:1px solid var(--line)}.sidebar-top{position:relative;display:flex;justify-content:space-between;align-items:center;padding:0}.sidebar-top .brand-link{min-width:0}.sidebar-top .sidebar-close{position:absolute;top:50%;right:-8px;align-items:center;justify-content:center;transform:translateY(-50%);color:#b8b8c0;background:transparent;border:0;border-radius:0}.sidebar-top .sidebar-close:hover{color:#fff;background:transparent}.brand{display:flex;align-items:center;gap:9px;font-size:25px;letter-spacing:-.5px}.brand-mark{display:inline-block;flex:0 0 auto;width:30px;height:30px;background:currentColor;mask:url(/images/teasa-mark-ghost.svg) center / contain no-repeat;-webkit-mask:url(/images/teasa-mark-ghost.svg) center / contain no-repeat}.brand-tld{color:var(--accent)}.brand-beta{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;height:14px;margin:-4px 0 0 -8px;padding:0 5px;border-radius:var(--radius-pill);background:var(--accent);color:var(--accent-contrast);font-size:.5625rem;font-weight:700;font-stretch:100%;letter-spacing:.08em;line-height:1;text-transform:uppercase}.brand-link{display:flex;padding:0;border:0;background:transparent;border-radius:12px}.icon-button{width:38px;height:38px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent}.icon-button:hover{background:#372d230f}.sidebar-close,.mobile-logo,.bottom-nav,.mobile-search,.mobile-topbar-search{display:none}.primary-nav{display:grid;gap:8px;margin-top:37px}.nav-item{width:100%;height:45px;display:flex;align-items:center;gap:13px;padding:0 13px;border:0;border-radius:12px;color:#6e6963;background:transparent;text-align:left;transition:color .18s ease}.nav-item span{font-weight:600;font-size:14px;white-space:nowrap}.nav-item:hover{color:var(--ink);background:#fffaf3;box-shadow:0 2px 12px #40322a0a}.nav-item.active{color:var(--ink);background:transparent;box-shadow:none}.nav-item.active span{font-weight:700}.nav-item.active svg,.nav-item.active .product-gem-icon{color:var(--accent)}.nav-item .nav-new{margin-left:auto;padding:2px 6px;color:#a85642;font-size:12px;text-transform:uppercase;letter-spacing:.08em;background:#f5d8ce;border-radius:10px}.sidebar-create-row{position:relative;width:100%;display:flex;align-items:center;gap:6px}.sidebar-create-wrap{position:relative;min-width:0;flex:0 0 auto}.sidebar-create{width:auto;height:43px;display:flex;align-items:center;gap:8px;padding:0 21px 0 17px;color:var(--action-fg);background:var(--action-bg);border:0;border-radius:var(--radius-pill);text-align:left}.sidebar-create:hover{background:var(--action-hover)}.sidebar-create span{font-size:14px;font-weight:600;white-space:nowrap}.sidebar-create>svg{flex:0 0 16px;width:16px;height:16px}.sidebar-create-menu{position:absolute;z-index:60;top:0;left:calc(100% + 8px);width:220px;display:grid;gap:4px;box-sizing:border-box;padding:8px;color:var(--ink);background:var(--card);border-radius:18px;box-shadow:0 20px 48px #00000052;transform-origin:top left;animation:sidebar-create-menu-in .14s ease-out}.sidebar-create-menu>button{width:100%;min-height:52px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:12px;padding:8px 12px;color:var(--ink);background:transparent;border:0;border-radius:11px;font-size:15px;text-align:left}.sidebar-create-menu>button:hover,.sidebar-create-menu>button:focus-visible{background:color-mix(in srgb,var(--ink) 7%,transparent)}.sidebar-create-menu svg{color:var(--muted)}.sidebar-create-tools{display:flex;align-items:center;gap:2px;flex:1;min-width:0}.sidebar-create-tools .notification-wrap{margin-left:auto}.sidebar-create-tools .icon-button{width:38px;height:38px;color:var(--muted);border-radius:9px}.sidebar-create-tools .icon-button:hover,.sidebar-create-tools .icon-button[aria-expanded=true]{color:var(--ink);background:color-mix(in srgb,var(--ink) 7%,transparent)}.sidebar-create-tools .notification-panel{top:0;right:auto;left:calc(100% + 8px)}@keyframes sidebar-create-menu-in{0%{opacity:0;transform:translate(-4px)}to{opacity:1;transform:translate(0)}}.recent-wrap{flex:1 1 auto;min-height:0;width:calc(100% + 32px);margin:28px -16px 0;padding:0 16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.eyebrow{margin:0;color:#938b82;font-size:12px;font-weight:700;letter-spacing:.115em;text-transform:uppercase}.eyebrow.warm{color:var(--accent-dark)}.recent-group>.eyebrow{padding:0;margin-bottom:9px;color:var(--muted);font-size:10px;font-weight:600}.recent-group+.recent-group{margin-top:18px}.recent-row{position:relative;display:flex;align-items:center;width:calc(100% + 32px);margin-inline:-16px;padding-inline:16px;border-radius:0}.recent-row.dragging{opacity:.55}.recent-row.drag-over{box-shadow:inset 2px 0 var(--accent)}.recent-row:hover,.recent-row.active{background:#ffffff8c}.recent-more{position:absolute;z-index:2;right:5px;bottom:5px;width:22px;height:22px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:color-mix(in srgb,var(--ink) 18%,var(--card));color:var(--muted);opacity:0;pointer-events:none}.recent-row:hover .recent-more,.recent-more:focus-visible,.recent-more[aria-expanded=true]{opacity:1;pointer-events:auto}.recent-more:hover,.recent-more:focus-visible,.recent-more[aria-expanded=true]{color:var(--ink);background:color-mix(in srgb,var(--ink) 26%,var(--card))}.recent-menu{position:absolute;z-index:30;top:calc(100% - 3px);right:0;display:grid;width:148px;padding:6px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 36px #0000004d}.recent-menu>button{display:flex;align-items:center;gap:9px;min-height:36px;padding:7px 9px;color:inherit;background:transparent;border:0;border-radius:8px;font-size:12px;text-align:left}.recent-menu>button:hover,.recent-menu>button:focus-visible{background:color-mix(in srgb,var(--ink) 7%,transparent)}@media(hover:none){.recent-more{opacity:1;pointer-events:auto}}.recent-item{position:relative;display:flex;align-items:flex-start;gap:10px;min-width:0;flex:1;padding:9px 0;border:0;background:transparent;border-radius:0;text-align:left;cursor:grab}.recent-item:active{cursor:grabbing}.recent-avatar{position:relative;flex:0 0 48px;display:flex}.recent-unread{position:absolute;top:-2px;right:-2px;min-width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;background:var(--accent);color:#fff;border:2px solid var(--card);border-radius:999px;font-size:10px;font-weight:650;line-height:1}.recent-unread-dot{min-width:11px;width:11px;height:11px;padding:0}.chats-list-unread-dot{min-width:10px;width:10px;height:10px;padding:0}.recent-chat-art{flex:0 0 48px;width:48px;height:48px;margin-top:1px;overflow:hidden;background:color-mix(in srgb,var(--ink) 7%,var(--card));border-radius:50%}.recent-chat-art img{width:100%;height:100%;object-fit:cover}.recent-chat-art.recent-chat-art-skeleton{background:linear-gradient(90deg,color-mix(in srgb,var(--ink) 6%,var(--card)),color-mix(in srgb,var(--ink) 10%,var(--card)),color-mix(in srgb,var(--ink) 6%,var(--card)));background-size:200% 100%;animation:chats-skeleton-shimmer 1.2s ease-in-out infinite}.recent-copy-skeleton{display:grid;gap:4px;padding-top:1px}.recent-skeleton-line{display:block;height:12px;border-radius:999px;background:linear-gradient(90deg,color-mix(in srgb,var(--ink) 6%,var(--card)),color-mix(in srgb,var(--ink) 10%,var(--card)),color-mix(in srgb,var(--ink) 6%,var(--card)));background-size:200% 100%;animation:chats-skeleton-shimmer 1.2s ease-in-out infinite}.recent-skeleton-line-speaker{width:42%;height:13px}.recent-skeleton-line-preview{width:84%}.avatar{position:relative;flex:0 0 auto;width:42px;height:42px;overflow:visible;border-radius:50%}.avatar img{border-radius:inherit}.avatar.small{width:34px;height:34px}.avatar.tiny{width:30px;height:30px;margin-top:3px}.recent-item>.recent-copy{flex:1;min-width:0;display:grid;gap:1px;font-family:var(--font-chat)}.recent-copy-top{display:flex;align-items:center;gap:8px;min-width:0}.recent-item strong{flex:1;min-width:0;overflow:hidden;max-width:100%;font-size:13px;font-weight:500;line-height:16px;white-space:nowrap;text-overflow:ellipsis}.recent-item small{overflow:hidden;max-width:100%;color:var(--muted);font-size:13px;line-height:16px;white-space:nowrap;text-overflow:ellipsis}.recent-item .recent-preview{color:var(--muted);font-weight:400}.recent-item .recent-preview-typing,.chats-list-preview-typing{font-style:italic}.recent-item .recent-preview-multi{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden}.recent-item .recent-speaker{display:flex;align-items:center;gap:6px;min-width:0;color:var(--ink);font-weight:400}.recent-speaker-art{flex:0 0 auto;width:14px;height:14px;overflow:hidden;border-radius:50%;background:color-mix(in srgb,var(--ink) 6%,var(--card))}.recent-speaker-art img{width:100%;height:100%;object-fit:cover}.recent-item .recent-time{flex:0 0 auto;color:color-mix(in srgb,var(--muted) 72%,transparent);font-size:12px;font-weight:500;line-height:16px;font-variant-numeric:tabular-nums}.recent-item>i{position:absolute;right:12px;width:6px;height:6px;border-radius:50%;background:var(--accent)}.sidebar-footer{position:relative;display:grid;flex:0 0 auto;gap:4px;margin-top:auto}.sidebar-account{position:relative}.sidebar-footer .profile-row{box-sizing:border-box;margin-inline:-16px;margin-bottom:-16px;width:calc(100% + 32px);padding:8px 16px 12px;border-radius:0}.profile-row{display:flex;align-items:center;gap:4px;width:100%;padding:8px;border:0;border-top:1px solid var(--line);background:transparent;text-align:left}.profile-row-main{min-width:0;display:flex;flex:1;align-items:center;gap:9px;padding:0;color:inherit;border:0;background:transparent;text-align:left}.profile-row-main>span:nth-child(2){display:grid;flex:1;min-width:0}.profile-row-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:8px}.profile-row-actions .language-control{display:flex;align-items:center}.profile-row-actions .language-trigger{width:32px;height:32px;border-radius:9px}.profile-row-actions .language-popover{top:auto;right:auto;bottom:0;left:calc(100% + 8px)}.profile-row strong{font-size:12px}.profile-row small{color:var(--muted);font-size:12px}.profile-row-main strong,.profile-row-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-avatar{width:32px;height:32px;display:grid;place-items:center;overflow:hidden;color:#fff;background:#536d67;border-radius:50%}.user-avatar img{width:100%;height:100%;object-fit:cover}.main-area{min-width:0;min-height:100vh;margin-left:300px;flex:1}.topbar{position:sticky;top:0;z-index:10;height:72px;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 38px;background:#f6f4efe0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:0}.top-search{width:min(405px,45vw);height:42px;margin-right:auto;display:flex;align-items:center;gap:10px;padding:0 13px;color:#918b84;background:#fffdf9bf;border:1px solid var(--line);border-radius:12px}.top-search input{min-width:0;flex:1;border:0;outline:none;color:var(--ink);background:transparent;font-size:13px}.top-search kbd{padding:2px 6px;font-size:12px;background:#efebe4;border:1px solid #dfd9cf;border-radius:5px}.top-search>button{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.top-search>button:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 6%,transparent)}.top-cta{flex:0 0 auto;height:38px;display:flex;align-items:center;gap:7px;padding:0 15px;color:#fff;border:0;border-radius:11px;background:var(--forest);font-size:12px;font-weight:600;white-space:nowrap}.top-cta:hover{background:#253b37}.notification-wrap{position:relative}.notification-wrap>.icon-button{position:relative}.notification-wrap>.icon-button>span{position:absolute;top:4px;right:4px;min-width:16px;height:16px;display:grid;place-items:center;padding:0 4px;color:#fff;background:#b64e3d;border:2px solid var(--paper);border-radius:9px;font-size:12px;font-weight:800}.notification-panel{position:absolute;z-index:30;top:calc(100% + 8px);right:0;width:min(350px,calc(100vw - 25px));overflow:hidden;padding:8px;color:var(--ink);background:var(--card);border:0;border-radius:18px;box-shadow:0 20px 48px #00000052}.notification-panel>header{display:flex;align-items:center;justify-content:space-between;padding:8px 12px 12px;border:0}.notification-panel>header strong{font-size:18px;font-weight:700}.notification-panel>header .icon-button{width:32px;height:32px;border-radius:9px}.notification-panel>div{max-height:390px;display:grid;gap:4px;overflow-y:auto}.notification-panel>div>button{position:relative;width:100%;min-height:52px;display:flex;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);background:color-mix(in srgb,var(--ink) 7%,transparent);border:0;border-radius:11px;text-align:left}.notification-panel>div>button.read{background:transparent}.notification-panel>div>button:hover{background:color-mix(in srgb,var(--ink) 7%,transparent)}.notification-panel>div>button>span{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:#718981;border-radius:50%;font-size:12px;font-weight:800}.notification-panel>div>button p{display:block;margin:0;font-size:12px;line-height:1.45}.notification-panel>div>button p strong{font-size:12px}.notification-panel>div>button small{display:block;margin-top:2px;color:#958c84;font-size:12px}.notification-panel>div>button i{width:6px;height:6px;margin-left:auto;flex:0 0 auto;background:var(--accent);border-radius:50%}.notification-status{margin:0;padding:30px 12px;color:#817971;font-size:12px;text-align:center}.page-content{max-width:1240px;margin:0 auto;padding:47px 50px 90px}.welcome-row{display:flex;justify-content:space-between;align-items:center;padding-top:32px}.welcome-row h1,.page-heading h1,.create-copy h1,.chats-header h1,.discover-section-head h2,.creator-library h1{margin:8px 0 7px;font-weight:700;letter-spacing:-.025em;font-size:var(--type-page-title);line-height:1.05}.welcome-row p:not(.eyebrow),.page-heading>p:not(.eyebrow),.create-copy>p:not(.eyebrow){margin:0;color:var(--muted);font-size:14px}.continue-card{position:relative;display:grid;grid-template-columns:130px 1fr auto;align-items:center;gap:23px;min-height:153px;margin-top:31px;padding:13px 24px 13px 13px;overflow:hidden;color:#faf6f0;background:radial-gradient(circle at 10% 10%,#735b5b,transparent 26%),linear-gradient(110deg,#293a3a,#3b5050 58%,#5e6257);border-radius:var(--radius-banner);box-shadow:var(--shadow);cursor:pointer}.continue-card:after{content:"";position:absolute;inset:auto -30px -60px auto;width:190px;height:190px;opacity:.13;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 25px transparent,0 0 0 26px #fff,0 0 0 51px transparent,0 0 0 52px #fff}.continue-portrait{position:relative;height:127px;border-radius:10px;overflow:hidden}.continue-portrait:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent 60%,#14191840)}.continue-copy{z-index:1;min-width:0}.continue-copy .eyebrow{color:#cbbfb5}.continue-copy h2{margin:5px 0;font-size:25px;font-weight:700}.continue-copy>p{margin:0;max-width:570px;color:#d8d3cc;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.relationship-line{display:flex;align-items:center;gap:9px;margin-top:14px;color:#dbc1b7}.relationship-line span{display:flex;align-items:center;gap:5px;font-size:12px}.relationship-line i{width:3px;height:3px;background:#aea8a1;border-radius:50%}.relationship-line small{color:#b9b5af;font-size:12px}.round-action{z-index:1;width:44px;height:44px;display:grid;place-items:center;color:#334c47;border:0;background:#f8f3eb;border-radius:50%}.section-title{display:flex;align-items:end;justify-content:space-between;margin:39px 0 17px}.section-title h2{margin:0 0 4px;font-size:24px;font-weight:700}.section-title p{margin:0;color:var(--muted);font-size:13px}.section-title>button{display:flex;align-items:center;gap:6px;padding:6px 0;border:0;color:#836b60;background:transparent;font-size:13px;font-weight:600}.plot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.plot-grid.large{grid-template-columns:repeat(4,minmax(0,1fr))}.plot-card{position:relative;min-width:0;overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card);transition:transform .2s,box-shadow .2s}.plot-card:hover{box-shadow:var(--shadow)}.card-image{position:relative;width:100%;aspect-ratio:.87;padding:0;overflow:hidden;border:0;background:#ddd}.card-image img{transition:transform .5s}.plot-card:hover .card-image img{transform:scale(1.025)}.card-gradient{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent 55%,#141211ab)}.heart-button{position:absolute;z-index:2;top:10px;right:10px;display:inline-flex;align-items:center;justify-content:center;width:auto;height:auto;padding:0;line-height:0;color:#fff;border:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0}.heart-button svg{display:block}.heart-button.liked{color:#f2a28e}.card-tags{position:absolute;left:10px;bottom:10px;display:flex;gap:5px}.card-tags i,.active-label{padding:4px 7px;color:#fff;background:#211f1e5c;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);border-radius:8px;font-size:12px;font-style:normal}.active-label{position:absolute;top:10px;left:10px;display:flex;align-items:center;gap:5px}.active-label i{width:5px;height:5px;background:#9cd2b2;border-radius:50%}.card-copy{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;padding:12px}.card-copy button{min-width:0;padding:0;border:0;background:transparent;text-align:left}.card-copy h3{display:flex;align-items:center;gap:4px;margin:0;font-size:17px;font-weight:700}.card-copy h3 svg{color:#fff;padding:2px;background:var(--accent);border-radius:50%}.card-copy p{margin:3px 0 0;overflow:hidden;color:#746f69;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.card-copy>span{flex:0 0 auto;margin-top:4px;color:#aaa39b;font-size:12px}.mood-section{display:flex;align-items:center;gap:13px;margin-top:18px}.mood-prompt{flex:0 0 auto;margin:0;color:var(--muted);font-size:14px;font-weight:600}.mood-grid{display:flex;flex-wrap:wrap;gap:6px}.mood-section+.plot-grid{margin-top:24px}.mood-card{width:auto;min-height:38px;padding:0 15px;color:#d7d7dc;border:0;background:#ffffff0e;border-radius:var(--radius-pill);font-size:14px;text-align:center}.mood-section+.section-title{margin-top:25px}.page-heading{max-width:690px;margin-bottom:29px}.page-heading h1{line-height:1.08}.page-heading>p:not(.eyebrow){max-width:590px;line-height:1.6}.category-pills{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px}.category-pills button{flex:0 0 auto;padding:8px 14px;color:#736d66;border:0;background:var(--card);border-radius:20px;font-size:13px}.category-pills button.active{color:#fff;background:var(--forest);border-color:var(--forest)}.discover-meta{display:flex;justify-content:space-between;align-items:center;margin:25px 0 13px}.discover-meta strong{font-size:19px;font-weight:700}.discover-meta button{display:flex;align-items:center;border:0;background:transparent;color:var(--muted);font-size:12px}.discover-meta>span{color:var(--muted);font-size:12px}.discovery-controls{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(220px,1.3fr);gap:10px;margin-top:12px}.discovery-controls label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.discovery-controls select,.discovery-controls input{width:100%;min-height:40px;padding:8px 10px;color:var(--ink);border:1px solid var(--line);background:var(--card);border-radius:10px;font:inherit;text-transform:none}.match-reason{display:block;margin-top:6px;color:var(--forest)!important;font-weight:700}.load-more{display:flex;margin:18px auto 6px}.empty-state{display:grid;justify-items:center;gap:5px;padding:80px;color:#aaa098;text-align:center}.empty-state h3{margin:8px 0 0;color:var(--ink)}.empty-state p{margin:0;font-size:12px}.feed-page{width:min(760px,100%);margin:0 auto}.feed-page .page-heading{margin-bottom:22px}.feed-composer,.feed-card{overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:0 10px 30px #372d230b}.feed-composer{display:grid;gap:13px;padding:18px}.feed-composer-head{display:flex;align-items:center;gap:10px}.feed-composer-head>div{display:grid;gap:2px}.feed-composer-head strong{font-size:12px}.feed-composer-head small{color:var(--muted);font-size:12px}.feed-composer>textarea{width:100%;resize:vertical;padding:12px;color:var(--ink);background:#faf8f4;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.55}.feed-composer-options{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.feed-tool,.feed-composer-options>label{min-height:35px;display:flex;align-items:center;gap:6px;padding:7px 9px;color:#5f6f69;background:#edf2ef;border:0;border-radius:9px;font-size:12px;font-weight:700}.feed-tool span{color:#86918d}.feed-composer-options select{padding:0;color:#40534e;background:transparent;border:0;font-size:12px}.feed-check input{accent-color:var(--forest)}.feed-publish{min-height:35px;display:flex;align-items:center;gap:6px;margin-left:auto;padding:0 13px;color:#fff;background:var(--forest);border:0;border-radius:9px;font-size:12px;font-weight:700}.feed-publish:disabled,.feed-tool:disabled{opacity:.5}.feed-integrity{display:flex;align-items:center;gap:6px;color:#7b8782;font-size:12px;line-height:1.45}.feed-draft-images{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.feed-draft-images>div{position:relative;display:grid;gap:5px}.feed-draft-images img{aspect-ratio:1;border-radius:10px}.feed-draft-images button{position:absolute;top:5px;right:5px;width:25px;height:25px;display:grid;place-items:center;padding:0;color:#fff;background:#1e1c1aa6;border:0;border-radius:50%}.feed-draft-images input{min-width:0;padding:7px;border:1px solid var(--line);border-radius:8px;font-size:12px}.feed-switch{width:fit-content;display:flex;gap:3px;margin:25px 0 12px;padding:3px;background:#ebe7e0;border-radius:11px}.feed-switch button{padding:8px 16px;color:#79736d;background:transparent;border:0;border-radius:8px;font-size:12px;font-weight:700}.feed-switch button.active{color:#344c47;background:#fffdf9;box-shadow:0 2px 7px #322a2514}.feed-list{display:grid;gap:15px}.feed-card>header{display:flex;align-items:center;gap:9px;padding:15px 16px 6px}.feed-avatar{width:36px;height:36px;display:grid;place-items:center;color:#fff;background:#637d75;border-radius:50%}.feed-card>header>div{min-width:0;flex:1;display:grid;gap:2px}.feed-card>header strong{font-size:13px}.feed-card>header small{color:var(--muted);font-size:12px}.feed-card>header>button{padding:7px 11px;color:#fff;background:var(--forest);border:0;border-radius:9px;font-size:12px;font-weight:700}.feed-card>header>button.following{color:#4f625c;background:#e6ece8}.feed-owner{padding:5px 8px;color:#8a5b4f;background:#f6e7e1;border-radius:9px;font-size:12px;font-weight:700}.feed-body{margin:0;padding:10px 16px 14px;color:#4f4a45;font-size:12px;line-height:1.65;white-space:pre-wrap}.feed-images{display:grid;grid-template-columns:repeat(2,1fr);gap:2px;background:#e8e3dc}.feed-images.count-1{grid-template-columns:1fr}.feed-images figure{position:relative;min-height:180px;margin:0;overflow:hidden}.feed-images.count-1 figure{min-height:320px;max-height:560px}.feed-images figure:nth-child(5){grid-column:1 / -1}.feed-images figcaption{position:absolute;right:7px;bottom:7px;padding:4px 6px;color:#fff;background:#1f1d1b91;border-radius:7px;font-size:12px;text-transform:capitalize}.feed-meta{display:flex;gap:10px;padding:10px 16px 7px;color:#918982;font-size:12px;text-transform:capitalize}.feed-meta span:first-child{margin-right:auto;padding:3px 6px;color:#735b52;background:#f4e6df;border-radius:7px}.feed-actions{display:flex;gap:4px;padding:7px 10px 10px;border-top:1px solid #eee9e2}.feed-actions button{min-height:32px;display:flex;align-items:center;justify-content:center;gap:5px;flex:1;padding:5px 7px;color:#706a64;background:transparent;border:0;border-radius:8px;font-size:12px;font-weight:700}.feed-actions button:hover{background:#f4f0ea}.feed-actions button.active{color:var(--accent-dark)}.feed-actions button.danger{color:#9b4b3e}.feed-actions button:disabled{opacity:.48}.feed-report{display:grid;gap:8px;margin:0 14px 12px;padding:12px;background:#faf2ed;border-radius:10px}.feed-report strong{font-size:12px}.feed-report select,.feed-report textarea{padding:8px;background:#fff;border:1px solid #ded4ca;border-radius:8px;font-size:12px}.feed-report textarea{min-height:65px;resize:vertical}.feed-report>div{display:flex;justify-content:flex-end;gap:5px}.feed-report button{padding:7px 9px;border:0;border-radius:7px;font-size:12px}.feed-report button[type=submit]{color:#fff;background:#994c3e}.feed-comments{padding:12px 15px 15px;background:#f8f5f0;border-top:1px solid #ebe5dc}.feed-comments>div>p{color:var(--muted);font-size:12px;text-align:center}.feed-comment-thread{display:grid;gap:7px;margin-bottom:11px}.feed-comment{display:flex;align-items:flex-start;gap:8px}.feed-comment.reply{margin-left:33px}.feed-comment>span{width:26px;height:26px;display:grid;place-items:center;flex:0 0 auto;color:#fff;background:#82928c;border-radius:50%;font-size:12px;font-weight:700}.feed-comment>div{min-width:0;flex:1}.feed-comment p{margin:0;font-size:12px;line-height:1.45}.feed-comment p:first-child{display:flex;align-items:center;gap:5px;margin-bottom:2px}.feed-comment small{color:var(--muted);font-size:12px}.feed-comment button{padding:3px 0;color:#7c5d52;background:transparent;border:0;font-size:12px;font-weight:700}.feed-comments>form{display:grid;gap:5px;margin-top:10px}.feed-comments>form>span{display:flex;align-items:center;gap:4px;color:#756b64;font-size:12px}.feed-comments>form>span button{display:grid;place-items:center;padding:2px;border:0;background:transparent}.feed-comments>form>div{display:flex;gap:6px}.feed-comments input{min-width:0;flex:1;padding:9px 10px;background:#fff;border:1px solid #ded8cf;border-radius:10px;font-size:12px}.feed-comments form>div>button{width:35px;display:grid;place-items:center;color:#fff;background:var(--forest);border:0;border-radius:9px}.feed-comments form button:disabled{opacity:.5}.feed-notice,.feed-status{margin:0;padding:10px 16px;color:#756e68;font-size:12px;text-align:center}.feed-more{display:block;margin:16px auto 0;padding:9px 15px;color:#435d56;background:#e5ece8;border:0;border-radius:10px;font-size:12px;font-weight:700}.detail-overlay{position:fixed;z-index:60;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:25px}.detail-scrim{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;border:0;background:#1c1a1891;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.detail-sheet{position:relative;width:min(900px,96vw);max-height:min(780px,94vh);display:grid;grid-template-columns:minmax(290px,.83fr) minmax(410px,1.17fr);overflow:hidden;background:#fffdf9;border-radius:24px;box-shadow:0 30px 90px #1916144d;animation:detailIn .22s ease-out}@keyframes detailIn{0%{opacity:0;transform:translateY(12px) scale(.985)}}.detail-close{position:absolute;z-index:3;top:13px;right:13px;background:#ffffffde;box-shadow:0 2px 10px #281e191a}.detail-art{position:relative;min-height:610px;overflow:hidden}.detail-art:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent 50%,#151413bf)}.detail-art>span{position:absolute;z-index:1;inset:14px auto auto 14px;padding:5px 8px;color:#fff;background:#231e1c59;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.25);border-radius:9px}.detail-art>div{position:absolute;z-index:2;left:24px;right:24px;bottom:25px;color:#fff}.detail-art>div p{margin:0 0 5px;color:#dccfc7;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.detail-art>div strong{font-size:27px;font-weight:700;line-height:1.1}.detail-body{overflow-y:auto;padding:35px 35px 28px}.detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.detail-title h2{display:flex;align-items:center;gap:6px;margin:5px 0 3px;font-size:34px;font-weight:700}.detail-title h2 svg{padding:2px;color:#fff;background:var(--accent);border-radius:50%}.detail-title p{margin:0;color:var(--muted);font-size:12px}.detail-favorite{width:38px;height:38px;display:grid;place-items:center;padding:0;color:var(--accent);border:1px solid var(--line);background:#fff;border-radius:50%}.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.detail-tags span{padding:6px 9px;color:#7a645b;background:#f6e9e1;border-radius:12px;font-size:12px;font-weight:600}.detail-description{margin:17px 0;color:#5f5a55;font-size:13px;line-height:1.6}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.detail-grid>div{min-width:0;display:flex;align-items:center;gap:9px;padding:11px;background:#f6f3ed;border:1px solid #ebe5dc;border-radius:11px}.detail-icon{flex:0 0 auto;width:32px;height:32px;display:grid;place-items:center;color:#49655e;background:#e1eae5;border-radius:9px}.detail-grid p{min-width:0;display:grid;gap:2px;margin:0}.detail-grid small{color:#999188;font-size:12px}.detail-grid strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.detail-expect{display:grid;gap:4px;margin-top:16px;padding:13px;color:#eaf0ed;background:#3d5650;border-radius:12px}.detail-expect .eyebrow{color:#b8c9c3}.detail-expect strong{margin-top:4px;font-size:12px}.detail-expect span{color:#c6d2ce;font-size:12px;line-height:1.5}.example-exchange{margin-top:16px;padding-left:12px;border-left:2px solid #d68a74}.example-exchange p{margin:6px 0 0;color:#5e5550;font-size:13px;line-height:1.55}.example-exchange strong{font-family:inherit;font-size:inherit}.detail-actions{display:grid;grid-template-columns:.8fr 1.2fr;gap:8px;margin-top:18px}.detail-actions button{height:43px;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:11px;font-size:12px;font-weight:600}.detail-actions .secondary{border:1px solid var(--line);background:#fff}.detail-actions .primary{color:#fff;border:0;background:var(--forest)}.cast-roster{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:7px 0 14px}.cast-roster article{padding:10px;background:#f7f4ee;border:1px solid #e7e0d8;border-radius:10px}.cast-roster strong,.cast-roster small{display:block}.cast-roster strong{font-size:14px;font-weight:700}.cast-roster small{margin-top:2px;color:#8a8179;font-size:12px;text-transform:capitalize}.cast-roster p{margin:6px 0 0;color:#68615b;font-size:12px;line-height:1.45}.create-layout{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(400px,1fr);gap:65px;padding-top:18px}.create-copy h1{max-width:400px}.create-copy>p:not(.eyebrow){max-width:400px;line-height:1.65}.advanced-link{display:flex;align-items:center;gap:7px;margin-top:20px;padding:9px 12px;color:#49655e;border:1px solid #cbd8d1;background:#e9f0ec;border-radius:10px;font-size:12px;font-weight:600}.step-list{display:grid;gap:15px;margin-top:38px}.step-list>div{display:flex;align-items:center;gap:12px;opacity:.42}.step-list>div.active,.step-list>div.done{opacity:1}.step-list>div>span{width:29px;height:29px;display:grid;place-items:center;border:1px solid #cfc8bd;border-radius:50%;font-size:13px}.step-list>div.active>span{color:#fff;background:var(--accent);border-color:var(--accent)}.step-list>div.done>span{color:#fff;background:var(--forest);border-color:var(--forest)}.step-list p{display:grid;gap:1px;margin:0}.step-list strong{font-size:13px}.step-list small{color:var(--muted);font-size:12px}.creator-card{min-height:600px;display:flex;flex-direction:column;padding:31px;background:var(--card);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.creator-progress{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:12px}.creator-progress>i{height:4px;overflow:hidden;flex:1;background:#ede8e0;border-radius:3px}.creator-progress b{display:block;height:100%;background:var(--accent);border-radius:inherit;transition:width .25s}.form-step{padding-top:45px}.form-icon{width:48px;height:48px;display:grid;place-items:center;color:#ad5743;background:#f5ddd3;border-radius:15px}.form-step h2{margin:18px 0 5px;font-size:29px;font-weight:700}.form-step>p{margin:0 0 27px;color:var(--muted);font-size:13px}.form-step label{display:grid;gap:7px;margin:18px 0;color:#5e5953;font-size:12px;font-weight:600}.form-step input:not([type=range]),.form-step textarea,.form-step select{width:100%;padding:12px 13px;border:1px solid #ded8cf;outline:none;resize:none;background:#fff;border-radius:10px;font-size:12px}.form-step input:focus,.form-step textarea:focus,.form-step select:focus{border-color:#c47b67;box-shadow:0 0 0 3px #c47b671a}.prompt-chips{display:flex;gap:7px;flex-wrap:wrap}.prompt-chips button{padding:7px 10px;border:0;background:#f8f4ed;border-radius:15px;font-size:12px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice-grid button{min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid #e2dcd3;background:#fbf9f5;border-radius:11px;font-size:13px;text-align:left}.choice-grid button.selected{color:#9d4c38;border-color:#d99380;background:#f9e9e2}.form-step .tip{display:flex;align-items:center;gap:6px;margin-top:10px;padding:10px;color:#7f675d;background:#faf0e8;border-radius:9px;font-size:12px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-top:1px solid var(--line)}.setting-row span{display:grid;gap:2px}.setting-row strong{font-size:13px}.setting-row small{color:var(--muted);font-size:12px}.switch{width:37px;height:21px;padding:2px;border:0;background:#ccc;border-radius:15px}.switch i{display:block;width:17px;height:17px;background:#fff;border-radius:50%;transition:transform .2s}.switch.on{background:var(--forest)}.switch.on i{transform:translate(16px)}.creator-actions{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:25px}.creator-actions button{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;border-radius:10px;font-size:13px;font-weight:600}.creator-actions .secondary{border:1px solid var(--line);background:#fff}.creator-actions .secondary:disabled{visibility:hidden}.creator-actions .primary{margin-left:auto;color:#fff;border:0;background:var(--forest)}.advanced-studio{margin:-18px -18px 0}.studio-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid var(--line)}.studio-header>div:first-child{display:grid;gap:4px}.studio-header>div:first-child>button{width:fit-content;display:flex;align-items:center;gap:5px;padding:0 0 7px;color:#756e68;border:0;background:transparent;font-size:12px}.studio-header h1{margin:1px 0 0;font-size:30px;font-weight:700}.studio-save{display:flex;align-items:center;gap:8px}.studio-save>span{display:flex;align-items:center;gap:4px;margin-right:4px;color:#71837c;font-size:12px}.studio-save button,.studio-save .story-file-button{min-height:38px;display:flex;align-items:center;gap:6px;padding:0 12px;border-radius:10px;font-size:12px;font-weight:600;cursor:pointer}.studio-save .story-file-button input{display:none}.studio-save .secondary{border:1px solid var(--line);background:#fff}.studio-save .primary{color:#fff;border:0;background:var(--forest)}.studio-workspace{display:grid;grid-template-columns:150px minmax(350px,1fr) 250px;gap:14px;margin-top:16px}.studio-nav{display:grid;align-content:start;gap:4px}.studio-nav button{min-height:40px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px;padding:0 9px;color:#77706a;border:0;background:transparent;border-radius:10px;text-align:left;font-size:12px}.studio-nav button>span{width:21px;height:21px;display:grid;place-items:center;border:1px solid #d6cfc6;border-radius:50%;font-size:12px}.studio-nav button>svg{color:#6f897f}.studio-nav button.active{color:#fff;background:#3d5650}.studio-nav button.active>span{border-color:#ffffff80}.studio-nav button.active>svg{color:#f0c7b9}.studio-editor{min-height:590px;padding:23px;background:#fffdf9;border:1px solid var(--line);border-radius:17px}.studio-section-title{display:flex;align-items:center;gap:11px}.studio-section-title>span{width:42px;height:42px;display:grid;place-items:center;color:#a85440;background:#f4dfd6;border-radius:12px}.studio-section-title h2{margin:0;font-size:23px;font-weight:700}.studio-section-title p{margin:3px 0 0;color:var(--muted);font-size:12px}.studio-fields{margin-top:22px}.studio-fields>label,.studio-inline label,.lore-entry label{display:grid;gap:6px;margin:14px 0;color:#5e5852;font-size:12px;font-weight:600}.field-hint{display:block;margin-top:14px;color:#5e5852;font-size:12px;font-weight:600}.studio-fields input:not([type=range]),.studio-fields textarea,.studio-fields select{width:100%;padding:10px 11px;border:1px solid #ded7ce;outline:none;resize:vertical;background:#fff;border-radius:9px;font-size:12px}.studio-fields input:focus,.studio-fields textarea:focus,.studio-fields select:focus{border-color:#cb806b;box-shadow:0 0 0 3px #cb806b1a}.studio-inline{display:grid;grid-template-columns:1fr 1fr;gap:9px}.studio-rule{min-height:56px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin:8px 0;padding:10px;background:#f6f3ed;border:1px solid #e7e0d8;border-radius:10px}.studio-rule>svg{color:#526d65}.studio-rule>span{display:grid;gap:2px}.studio-rule strong{font-size:12px}.studio-rule small{color:#7e7770;font-size:12px}.lore-entry{padding:13px;background:#f7f4ee;border:1px solid #e5ded5;border-radius:11px}.lore-entry>div{display:flex;justify-content:space-between;align-items:center}.lore-entry>div>div{display:grid;gap:3px}.lore-entry>div strong{font-size:16px;font-weight:700}.lore-entry>div button{width:32px;height:32px;display:grid;place-items:center;border:0;background:transparent}.add-entry{min-height:39px;width:100%;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:9px;color:#516b63;border:1px dashed #b9c8c1;background:#edf2ef;border-radius:10px;font-size:12px;font-weight:600}.studio-tip{display:flex;align-items:center;gap:5px;margin:12px 0 0;padding:9px;color:#63776f;background:#edf2ef;border-radius:9px;font-size:12px}.style-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.style-chips button{padding:7px 10px;color:#6f6862;border:0;background:#faf7f2;border-radius:15px;font-size:12px}.style-chips button.active{color:#fff;background:#775c76;border-color:#775c76}.publish-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.publish-options>button{min-height:67px;display:flex;align-items:center;gap:9px;padding:11px;color:#66605a;border:1px solid #ded7ce;background:#faf8f4;border-radius:11px;text-align:left}.publish-options>button.active{color:#3f5e55;border-color:#9fb7ad;background:#e9f0ec}.publish-options span{display:grid;gap:2px}.publish-options strong{font-size:12px}.publish-options small{color:#817a73;font-size:12px}.publish-checks{display:grid;gap:7px;margin:15px 0}.publish-checks span{display:flex;align-items:center;gap:7px;color:#5e6f69;font-size:12px}.publish-checks svg{padding:2px;color:#fff;background:#658078;border-radius:50%}.publish-button{min-height:42px;width:100%;display:flex;align-items:center;justify-content:center;gap:7px;color:#fff;border:0;background:var(--forest);border-radius:10px;font-size:12px;font-weight:600}.studio-preview{align-self:start;padding:14px;background:#efebe4;border:1px solid #e0d9d0;border-radius:15px}.preview-phone{margin-top:10px;overflow:hidden;background:#fffdf9;border-radius:13px;box-shadow:0 7px 22px #372d231a}.preview-art{position:relative;height:235px}.preview-art>span{position:absolute;top:8px;left:8px;padding:5px 6px;color:#fff;background:#1e1b1980;border-radius:7px;font-size:12px;font-weight:700}.preview-copy{padding:12px}.preview-copy>small{color:#90877f;font-size:12px}.preview-copy h3{margin:3px 0;font-size:21px;font-weight:700}.preview-copy>p{min-height:28px;margin:0;color:#635d57;font-size:12px;line-height:1.4}.preview-copy>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:9px}.preview-copy i{padding:4px 5px;color:#785c52;background:#f6e5de;border-radius:7px;font-size:12px;font-style:normal}.preview-copy button{width:100%;min-height:35px;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px;color:#fff;border:0;background:var(--forest);border-radius:8px;font-size:12px;font-weight:600}.studio-preview>p{display:flex;align-items:center;gap:5px;margin:10px 2px 0;color:#747e79;font-size:12px;line-height:1.4}.persona-manager{margin-bottom:18px;padding:18px;background:var(--card);border:1px solid var(--line);border-radius:16px}.persona-manager h2{margin:3px 0;font-size:24px;font-weight:700}.persona-manager>div>small{color:var(--muted);font-size:12px}.persona-list{display:grid;gap:7px;margin:0 0 22px}.persona-list article{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px;background:#f8f5ef;border:1px solid #e7e0d7;border-radius:11px}.persona-list article>span{width:36px;height:36px;display:grid;place-items:center;overflow:hidden;color:#fff;background:#627d75;border-radius:50%;font-weight:700}.persona-list img{width:100%;height:100%;object-fit:cover}.persona-list article>div{display:grid;gap:2px}.persona-list small,.persona-list p{margin:0;color:var(--muted);font-size:12px}.persona-list em{color:#8d5547;font-size:12px;font-style:normal;font-weight:700}.persona-list button{padding:8px 10px;color:#fff;border:0;background:var(--forest);border-radius:8px;font-size:12px;font-weight:700}.persona-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.persona-form label{display:grid;gap:8px}.persona-form .persona-label{display:block;color:var(--muted);font-size:12px;font-weight:600}.persona-form .persona-label small{color:var(--muted);font-size:12px;font-weight:500}.persona-form .wide{grid-column:1 / -1}.persona-form-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:7px}.persona-form input,.persona-form textarea{padding:8px;color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:8px;font:inherit}.plan-center{margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px}.plan-center header{display:flex;align-items:center;gap:11px}.plan-center header>span{width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.plan-center h2{margin:2px 0;font-size:24px;font-weight:700}.plan-center small{color:var(--muted);font-size:12px}.plan-perks{display:grid;gap:6px;margin:16px 0 0;padding:0;list-style:none}.plan-perks li{padding-left:18px;color:var(--ink);font-size:13px;font-weight:600;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23658f7d' stroke-width='3'><path d='M20 6 9 17l-5-5'/></svg>") no-repeat left 4px}.plan-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.plan-actions button{padding:10px 12px;color:var(--forest);background:#edf2ef;border:0;border-radius:9px;font-size:12px;font-weight:700}.plan-actions button.primary{color:#fff;background:var(--forest)}.plan-actions button:disabled{opacity:.45}.plan-packs{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:9px;margin-top:14px}.plan-packs button{display:grid;gap:2px;padding:13px 10px;color:var(--ink);background:#f8f5ef;border:1px solid #e7e0d7;border-radius:16px}.plan-packs strong{font-size:17px;font-weight:800}.plan-packs small{color:var(--muted);font-size:12px}.plan-packs em{color:var(--accent-dark);font-size:12px;font-style:normal;font-weight:800}.plan-packs button:disabled{opacity:.45}.privacy-center{margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px}.privacy-title{display:flex;align-items:center;gap:11px}.privacy-title>span{width:42px;height:42px;display:grid;place-items:center;color:var(--forest);background:#e2ebe6;border-radius:12px}.privacy-title h2{margin:2px 0;font-size:24px;font-weight:700}.privacy-title small{color:var(--muted);font-size:12px}.privacy-controls{display:grid;gap:7px;margin:16px 0}.privacy-controls>label{min-height:58px;display:flex;align-items:center;gap:14px;padding:10px 12px;background:#f8f5ef;border:1px solid #e8e1d8;border-radius:11px}.privacy-controls label>span{flex:1;display:grid;gap:3px}.privacy-controls strong{font-size:13px}.privacy-controls small{color:var(--muted);font-size:12px;line-height:1.4}.profile-field-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;min-height:36px;padding:0 32px 0 12px;color:var(--ink);background-color:var(--control-outline-bg);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a847d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:14px;border:1px solid var(--line-strong);border-radius:9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 1px 2px #19141b0a}.profile-field-select:hover:not(:disabled){background-color:var(--control-outline-bg-hover);border-color:var(--control-outline-hover)}.profile-field-select:disabled{opacity:.45;cursor:not-allowed}.profile-field-select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.privacy-controls .profile-field-select{flex:0 0 auto;min-width:11rem}.privacy-actions{display:flex;flex-wrap:wrap;gap:7px}.privacy-actions button{padding:9px 11px;color:var(--forest);background:#edf2ef;border:0;border-radius:9px;font-size:12px;font-weight:700}.privacy-actions button.primary{color:#fff;background:var(--forest)}.privacy-warning{margin:12px 0 0;padding:9px 11px;color:#79564c;background:#f7ebe6;border-radius:9px;font-size:12px;line-height:1.5}.profile-page{width:min(760px,100%);margin:0 auto;min-width:0}.profile-theme{margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px}.profile-theme-row{display:flex;align-items:center;gap:11px}.profile-theme-row>span{width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.profile-theme-row h2{margin:2px 0;font-size:22px}.profile-theme-row small{color:var(--muted)}.profile-theme-toggle{margin-left:auto;display:flex;align-items:center;padding:6px;color:var(--muted);background:transparent;border:0;border-radius:12px}.profile-theme-toggle[aria-checked=true] .theme-switch{background:transparent;border-color:var(--line)}.profile-theme-toggle .theme-switch i{color:var(--action-fg);background:var(--action-bg);box-shadow:0 1px 4px #0000002e}.profile-theme-toggle[aria-checked=true] .theme-switch i{transform:translate(22px)}.profile-overview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;gap:15px;margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px}.profile-overview-avatar{align-self:center;width:52px;height:52px;display:grid;place-items:center;color:#fff;background:var(--forest);border-radius:50%;font-size:20px;font-weight:800}.profile-overview-main{align-self:center;min-width:0}.profile-overview h2{margin:2px 0;font-size:22px}.profile-overview p:not(.eyebrow){margin:0;color:var(--muted);overflow-wrap:anywhere}.profile-overview-aside{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:10px;min-width:max-content}.profile-overview-aside small{color:var(--muted);font-size:12px;text-align:right}.profile-overview-handle,.profile-overview-bio{margin:4px 0 0;color:var(--muted)}.profile-overview-bio{font-size:13px;line-height:1.4}.profile-overview-stats{display:flex;gap:18px;margin-top:12px}.profile-overview-stat{display:grid;gap:2px}.profile-overview-stat small{color:var(--muted);font-size:12px;font-weight:600}.profile-overview-stat strong{font-size:16px}.profile-overview-form{display:grid;gap:10px}.profile-overview-form label{display:grid;gap:4px}.profile-overview-form span{color:var(--muted);font-size:12px;font-weight:600}.profile-overview-form-actions{display:flex;gap:8px}.profile-overview-status{margin:0;font-size:13px}.profile-overview-edit,.profile-overview-signout{display:flex;align-items:center;gap:7px;padding:9px 12px;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:9px;font:inherit;font-weight:700;cursor:pointer}.persona-manager>header{display:flex;align-items:center;gap:11px;margin-bottom:22px}.persona-manager>header>span{width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.persona-manager>header small{color:var(--muted)}.persona-status{margin:-10px 0 18px;color:var(--muted);font-size:13px}.privacy-actions button{display:inline-flex;align-items:center;gap:6px}.profile-danger{margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.profile-danger summary{width:fit-content;display:flex;align-items:center;gap:7px;color:var(--muted);cursor:pointer;font-size:12px;font-weight:700;list-style:none}.profile-danger summary::-webkit-details-marker{display:none}.profile-danger>p{max-width:620px;color:var(--muted);font-size:12px;line-height:1.55}.profile-danger>button,.profile-danger .delete-everywhere{padding:9px 11px;border:0;border-radius:9px;font-size:12px;font-weight:700}.profile-danger>button{color:#9e5e52;background:var(--accent-soft)}.profile-danger>label{display:grid;gap:5px;margin-top:10px;color:var(--muted);font-size:12px}.profile-danger input{max-width:360px;padding:9px;border:1px solid var(--line);border-radius:8px}.profile-danger .delete-everywhere{margin-top:11px;color:#fff;background:#a33f32}.profile-danger .delete-everywhere:disabled{opacity:.45}.profile-danger>small{display:block;margin-top:8px;color:var(--muted)}.gems-center{display:grid;gap:12px;margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px;overflow-x:clip;min-width:0;container-type:inline-size}.gems-center>header{display:flex;align-items:center;gap:11px;margin-bottom:0}.gems-center>header>span{width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.gems-center h2{margin:3px 0;font-size:24px;font-weight:700}.gems-center>p{color:var(--muted)}.billing-balance-value{color:var(--accent-dark)}.billing-gem-balance{background:linear-gradient(145deg,color-mix(in srgb,var(--accent-soft) 85%,var(--card)),color-mix(in srgb,var(--accent-soft) 35%,var(--card)));border:1px solid color-mix(in srgb,var(--accent-border) 65%,var(--line));border-radius:16px;overflow:hidden;min-width:0;max-width:100%;box-sizing:border-box}.billing-gem-balance-merged{display:grid;gap:0}.billing-gem-balance-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;row-gap:10px;align-items:start;padding:16px 18px}.billing-gem-balance-pass{display:grid;gap:4px;padding:12px 18px 14px;border-top:1px solid color-mix(in srgb,var(--accent-border) 35%,var(--line));background:color-mix(in srgb,var(--card) 50%,transparent)}.billing-gem-balance-pass-detail{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.billing-gem-balance-pass .billing-active-pass-title strong{font-size:14px;font-weight:700}.billing-gem-balance-main{grid-column:1;grid-row:1 / span 2;display:grid;gap:4px}.billing-gem-balance-value{margin:0;color:var(--accent-dark);font-size:clamp(2.4rem,7vw,3rem);font-weight:800;letter-spacing:-.04em;line-height:1}.billing-gem-balance-label{margin:0;color:var(--ink);font-size:14px;font-weight:700}.billing-gem-refill{grid-column:2;grid-row:1;align-self:start;justify-self:end;margin:0;min-width:0;color:var(--muted);font-size:12px;line-height:1.35;text-align:right}.billing-gem-balance-foot{grid-column:2;grid-row:2;align-self:end;justify-self:end}.billing-gem-balance-foot .billing-cta-secondary{width:auto}.billing-plans{display:grid;grid-template-columns:1fr;gap:10px;overflow:visible}.billing-plan{display:flex;flex-direction:column;gap:12px;height:100%;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:14px}.billing-plan-featured{position:relative;overflow:visible;border-color:color-mix(in srgb,var(--accent-border) 70%,var(--line));background:linear-gradient(160deg,color-mix(in srgb,var(--accent-soft) 72%,var(--card)),var(--card) 72%)}.billing-plan-offer-badge{align-self:flex-start;max-width:100%;padding:7px 12px;color:var(--accent-contrast);background:var(--accent-solid);border:2px solid var(--card);border-radius:var(--radius-pill);box-shadow:0 4px 14px #00000029;font-size:12px;font-weight:800;letter-spacing:.02em;line-height:1.35;pointer-events:none}.billing-plan-featured .billing-plan-head{align-items:end;padding-top:6px}.billing-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.billing-plan h3{margin:0;font-size:20px;font-weight:800;letter-spacing:-.02em}.billing-plan-tagline{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.35}.billing-plan-price{display:grid;justify-items:end;gap:2px;margin:0;color:var(--ink);font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1;white-space:nowrap;text-align:right}.billing-plan-featured .billing-plan-price{font-size:26px}.billing-plan-price-period{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:0}.billing-perks{display:grid;gap:7px;margin:0;padding:0;list-style:none}.billing-perks li{padding-left:18px;color:var(--ink);font-size:13px;font-weight:600;line-height:1.35;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ea4c89' stroke-width='3'><path d='M20 6 9 17l-5-5'/></svg>") no-repeat left 2px}.billing-active-pass{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;background:color-mix(in srgb,var(--accent-soft) 55%,var(--card));border:1px solid var(--accent-border);border-radius:14px}.billing-active-pass>div{display:grid;gap:4px}.billing-active-pass-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.billing-active-badge{display:inline-flex;align-items:center;padding:3px 8px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent-soft) 80%,var(--card));border:1px solid color-mix(in srgb,var(--accent-border) 70%,var(--line));border-radius:var(--radius-pill);font-size:12px;font-weight:800;letter-spacing:.03em;line-height:1;text-transform:uppercase}.billing-active-renewal{color:var(--ink);font-weight:600}.billing-active-pass strong{font-size:16px}.billing-active-pass small{color:var(--muted);font-size:13px}.billing-cta{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:var(--button-height-compact);margin-top:auto;padding:10px 18px;color:var(--action-fg);background:var(--action-bg);border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:750;cursor:pointer}.billing-active-pass .billing-cta{margin-top:0;flex-shrink:0;width:auto;min-width:9rem}.billing-active-pass-secondary{padding:12px 14px;background:color-mix(in srgb,var(--card) 88%,var(--accent-soft));border-color:var(--line)}.billing-active-pass-info{display:block}.billing-active-pass-secondary strong{font-size:14px;font-weight:700}.billing-active-pass-secondary small{font-size:12px}.billing-cta-secondary{min-height:36px;padding:8px 14px;font-size:13px;font-weight:650;color:var(--text);background:transparent;border:1px solid var(--line)}.billing-cta-secondary:hover:not(:disabled){background:color-mix(in srgb,var(--card) 70%,var(--accent-soft))}.billing-cta-primary{color:var(--accent-contrast);background:var(--accent-solid)}.billing-cta-primary:hover:not(:disabled){background:var(--accent-hover)}.billing-cta:hover:not(:disabled){background:var(--action-hover)}.billing-offer-pricing .billing-plan-price{justify-items:start;text-align:left;white-space:normal;gap:6px}.billing-offer-pricing .billing-plan-price-major{font-size:clamp(32px,4vw,42px);overflow-wrap:anywhere;line-height:1.1}.billing-plan-original{color:var(--muted);font-size:15px;font-weight:500;letter-spacing:0}.billing-offer-renewal{margin:10px 0 4px;color:var(--ink);font-size:14px;line-height:1.5}.billing-offer-terms{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.billing-offer-cta{min-height:50px;font-size:16px;line-height:1.4;white-space:normal;box-shadow:0 5px 18px color-mix(in srgb,var(--accent-solid) 20%,transparent)}.billing-offer-cta:hover:not(:disabled){background:var(--accent-hover)}.billing-offer-cta:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.billing-offer-cta:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.billing-gem-packs{display:grid;gap:12px;min-width:0;max-width:100%}.billing-gem-packs-head{display:grid;gap:2px}.billing-gem-packs-head h3{margin:0;font-size:15px;font-weight:700}.billing-gem-packs-head small{color:var(--muted);font-size:12px}.billing-footnote,.billing-status{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.billing-status{color:var(--ink)}.purchase-history{display:grid;gap:12px;margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px}.purchase-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.purchase-history-title{display:flex;align-items:center;gap:11px;min-width:0}.purchase-history-filter{display:flex;align-items:center;gap:8px;margin-left:auto}.purchase-history-filter label{display:block;min-width:7.25rem}.purchase-history-filter .profile-field-select{width:100%}.purchase-history-title>span{width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.purchase-history h2{margin:3px 0;font-size:24px;font-weight:700}.purchase-history-status{margin:0;color:var(--muted);font-size:13px}.purchase-history-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.purchase-history-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 14px;color:var(--ink);background:color-mix(in srgb,var(--ink) 4%,var(--card));border:1px solid var(--line);border-radius:12px}.purchase-history-aside{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:8px}.purchase-history-list article>div{display:grid;gap:2px;min-width:0}.purchase-history-list strong{font-size:14px}.purchase-history-list small{margin:0;color:var(--muted);font-size:12px}.purchase-status{color:var(--accent-dark);font-size:12px;font-style:normal;font-weight:700;text-align:right;white-space:nowrap}.purchase-status-refunded,.purchase-status-pending,.purchase-status-failed,.purchase-status-chargeback{color:var(--muted)}.purchase-history-price{color:var(--ink);font-size:13px;font-weight:700;text-align:right;white-space:nowrap}.purchase-invoice-link{display:inline-flex;align-items:center;gap:4px;padding:0;color:var(--muted);background:none;border:0;font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;text-decoration:underline;text-underline-offset:2px}.purchase-invoice-link:hover:not(:disabled){color:var(--accent-dark)}.purchase-invoice-link:disabled{opacity:.45;cursor:default}.purchase-history-more{justify-self:start;padding:9px 12px;color:var(--ink);background:transparent;border:1px solid var(--line);border-radius:9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.purchase-history-more:hover:not(:disabled){background:var(--control-outline-bg)}.purchase-history-more:disabled{opacity:.45;cursor:default}.gem-packs-scroll{position:relative;min-width:0;max-width:100%}.gem-packs-scroll:after{content:"";position:absolute;top:0;right:0;bottom:0;z-index:2;width:2.75rem;pointer-events:none;opacity:0;transition:opacity .16s ease;background:linear-gradient(to right,transparent,var(--card) 85%)}.gem-packs-scroll.is-fade-right:after{opacity:1}.gem-packs-scroll.is-fade-right .gem-packs{mask-image:linear-gradient(to right,#000 calc(100% - 2.75rem),transparent);-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 2.75rem),transparent)}.gem-packs{display:flex;gap:10px;width:100%;min-width:0;max-width:100%;overflow-x:auto;padding:8px 0 6px;scroll-snap-type:x proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.gem-packs button{position:relative;display:grid;flex:0 0 6.75rem;gap:2px;min-height:5.25rem;padding:14px 12px 12px;color:var(--ink);background:var(--control-outline-bg);border:1px solid var(--line-strong);border-radius:14px;font:inherit;cursor:pointer;text-align:center;scroll-snap-align:start;transition:border-color .12s ease,background .12s ease}.gem-pack-add{position:absolute;top:-7px;right:-7px;width:20px;height:20px;display:grid;place-items:center;color:var(--accent-contrast);background:var(--accent-solid);border:2px solid var(--card);border-radius:var(--radius-pill);box-shadow:0 2px 8px #0000002e;pointer-events:none}.gem-packs button:hover:not(:disabled){background:var(--control-outline-bg-hover);border-color:var(--control-outline-hover)}.gem-packs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gem-pack-amount{font-size:22px;font-weight:800;letter-spacing:-.03em;line-height:1}.gem-pack-unit{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.gem-pack-price{margin-top:6px;padding-top:8px;border-top:1px solid var(--line);color:var(--ink);font-size:13px;font-weight:700}@container (min-width: 640px){.gem-packs-scroll:after{content:none}.gem-packs-scroll.is-fade-right .gem-packs{mask-image:none;-webkit-mask-image:none}.gem-packs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;padding-inline:0}.gem-packs button{flex:unset}}.gems-center button:disabled{cursor:not-allowed;opacity:.45}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top,#f6e8df 0,#f6f4ef 42%,#e8efeb)}.auth-card{width:min(430px,100%);display:grid;gap:14px;padding:34px;background:#fffdf9f5;border:1px solid var(--line);border-radius:22px;box-shadow:0 24px 70px #30494321}.auth-card h1{margin:0;font-size:38px;font-weight:700}.auth-limit{display:grid;gap:10px;margin:0 -10px 2px;padding:16px 10px 18px;border-radius:16px;background:color-mix(in srgb,var(--ink) 6%,transparent)}.auth-limit h1{font-size:30px;line-height:1.15}.auth-limit p{margin:0;color:var(--muted);line-height:1.55}.auth-limit-meter{height:6px;margin-top:4px;overflow:hidden;border-radius:999px;background:color-mix(in srgb,var(--ink) 14%,transparent)}.auth-limit-meter>span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.auth-limit-count{color:var(--ink);font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.auth-card>p{margin:0;color:var(--muted);line-height:1.55}.auth-card form{display:grid;gap:10px}.auth-card label{display:grid;gap:5px;color:var(--muted);font-size:12px;font-weight:700}.auth-card input{min-height:44px;padding:10px 12px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px;font:inherit}.auth-card form button{min-height:44px;color:#fff;background:var(--forest);border:0;border-radius:10px;font-weight:700}.auth-mode{color:var(--forest);background:transparent;border:0;font-size:12px;font-weight:700}.auth-card>small{color:var(--muted);font-size:12px;line-height:1.45}.auth-error{padding:9px;color:#8e4034!important;background:#f7e8e3;border-radius:8px;font-size:12px}.auth-logout{width:100%;padding:8px;color:#815347;background:transparent;border:0;font-size:12px}.access-card{width:min(560px,100%)}.auth-card .consent-choice{grid-template-columns:22px 1fr;align-items:start;gap:10px;padding:12px;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:12px;cursor:pointer}.auth-card .consent-choice input{width:18px;min-height:18px;margin:2px 0 0;accent-color:var(--forest)}.consent-choice span{display:grid;gap:4px}.consent-choice strong{font-size:12px}.consent-choice small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.45}.auth-card form button:disabled{cursor:not-allowed;opacity:.5}.privacy-step-up{display:flex;align-items:end;gap:8px;margin:0 0 12px;padding:11px;background:#f7ebe6;border-radius:10px}.privacy-step-up label{flex:1;display:grid;gap:4px;color:#79564c;font-size:12px;font-weight:700}.privacy-step-up input{min-height:36px;padding:7px;border:1px solid #d7c2b8;border-radius:8px}.privacy-step-up button{min-height:36px;padding:0 11px;color:#fff;background:var(--forest);border:0;border-radius:8px;font-size:12px;font-weight:700}.chat-panel{position:fixed;z-index:40;inset:0 0 0 auto;width:480px;max-width:100vw;display:flex;flex-direction:column;background:#f7f4ee;box-shadow:-20px 0 60px #2523212e;animation:slideIn .28s ease-out}@keyframes slideIn{0%{transform:translate(100%)}}@keyframes slideOut{to{transform:translate(100%)}}@keyframes exploreScrimOut{to{opacity:0}}.chat-header{min-height:70px;display:flex;align-items:center;gap:9px;padding:10px 14px;background:#fffdf9e6;border-bottom:1px solid var(--line)}.chat-header .avatar{width:39px;height:39px}.chat-header .avatar i{position:absolute;right:0;bottom:1px;width:9px;height:9px;background:#7cbe99;border:2px solid white;border-radius:50%}.chat-header>div{flex:1;min-width:0;display:grid}.chat-header strong{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-header small{color:#6e8b80;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.persona-trigger{padding:7px 9px;color:#405c55;border:1px solid #cedbd5;background:#edf3ef;border-radius:9px;font-size:12px;font-weight:700;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:0 1 auto}.persona-trigger:disabled{opacity:.55}.persona-tray{position:absolute;z-index:8;top:70px;right:14px;width:min(320px,calc(100vw - 28px));display:grid;gap:4px;padding:14px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 17px 40px #231d1926}.persona-tray-head{display:grid;gap:4px;padding:0 4px 10px}.persona-tray-head .eyebrow{font-size:12px;letter-spacing:.08em}.persona-tray-head small{color:var(--muted);font-size:12px;line-height:1.4}.persona-options{display:grid;gap:4px}.persona-option{min-height:52px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 10px;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:12px;text-align:left}.persona-option:hover{background:color-mix(in srgb,var(--ink) 5%,transparent)}.persona-option[aria-checked=true]{background:var(--accent-soft);border-color:var(--accent-border)}.persona-option-avatar{width:36px;height:36px;display:grid;place-items:center;overflow:hidden;color:var(--accent-dark);background:var(--accent-soft);border-radius:50%;font-size:14px;font-weight:700}.persona-option-avatar img{width:100%;height:100%;object-fit:cover}.persona-option-copy{min-width:0;display:grid;gap:1px}.persona-option-copy strong,.persona-option-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.persona-option-copy strong{font-size:14px;line-height:1.25}.persona-option-copy small{color:var(--muted);font-size:12px;line-height:1.35}.persona-option>svg{color:var(--accent-dark)}.persona-option-create{margin-top:6px;padding-top:14px;border-top:1px solid var(--line);border-radius:0 0 12px 12px}.persona-option-create .persona-option-avatar{color:var(--muted);background:transparent;border:1px dashed var(--line-strong)}.persona-option-create>svg{color:var(--muted)}.chat-ai-badge{display:flex;align-items:center;gap:4px;padding:7px 8px;color:#4f6d64;background:#e7efea;border-radius:9px;font-size:12px;font-weight:700}.context-strip{min-height:36px;display:flex;align-items:center;gap:7px;padding:0 17px;color:#766d64;background:#efeae1;border-bottom:1px solid #e1dbd1;font-size:12px}.context-strip i{width:3px;height:3px;background:#afa59c;border-radius:50%}.context-strip button{display:flex;align-items:center;gap:3px;padding:0;color:#9e5b49;border:0;background:transparent;font-size:12px;font-weight:600}.context-strip button:first-of-type{margin-left:auto}.branch-tray{position:absolute;z-index:8;top:106px;left:14px;right:14px;display:grid;gap:6px;padding:12px;background:#fffdf9fa;border:1px solid var(--line);border-radius:14px;box-shadow:0 17px 40px #231d1926}.branch-tray>div{display:flex;justify-content:space-between;align-items:center;padding:2px 3px 6px}.branch-tray>div button{display:flex;align-items:center;gap:5px;padding:6px 8px;color:#fff;border:0;background:var(--forest);border-radius:8px;font-size:12px}.branch-tray>button{min-height:45px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 7px;padding:8px 10px;color:#625b55;border:1px solid #e8e2d9;background:#f9f6f1;border-radius:10px;text-align:left}.branch-tray>button.active{color:#36554c;border-color:#bfcfc7;background:#eaf1ed}.branch-tray>button span{display:flex;align-items:center;gap:6px}.branch-tray>button strong{font-size:12px}.branch-tray>button small{grid-column:1;margin-left:20px;color:#9b938a;font-size:12px}.branch-tray>button>svg{grid-column:2;grid-row:1 / span 2}.context-drawer{position:absolute;z-index:7;top:106px;left:14px;right:14px;padding:14px;color:#edf3f0;background:#344c46;border-radius:14px;box-shadow:0 17px 40px #231d192e}.context-drawer-head{display:flex;justify-content:space-between;align-items:center}.context-drawer-head>div{display:grid;gap:3px}.context-drawer-head .eyebrow{color:#b8c8c2}.context-drawer-head strong{font-size:17px;font-weight:700}.context-drawer-head .icon-button{color:#dce7e3}.state-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.state-grid>div{display:grid;gap:2px;padding:9px;background:#ffffff12;border:1px solid rgba(255,255,255,.1);border-radius:9px}.state-grid small{color:#adbfba;font-size:12px}.state-grid strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.context-summary{display:flex;align-items:center;gap:8px;margin-top:9px;padding:9px;color:#e8c8bb;background:#ffffff0f;border-radius:9px}.context-summary p{display:grid;gap:2px;margin:0}.context-summary strong{color:#f4ede9;font-size:12px}.context-summary small{color:#b8c7c2;font-size:12px}.branch-tray>.branch-item{min-height:45px;display:flex;align-items:center;gap:5px;padding:3px 5px 3px 9px;color:#625b55;border:1px solid #e8e2d9;background:#f9f6f1;border-radius:10px}.branch-tray>.branch-item.active{color:#36554c;border-color:#bfcfc7;background:#eaf1ed}.branch-tray>.branch-item.archived{opacity:.62}.branch-item .branch-select{min-width:0;min-height:38px;flex:1;display:grid;grid-template-columns:1fr auto;gap:2px 7px;padding:5px;color:inherit;background:transparent;text-align:left}.branch-item .branch-select span{display:flex;align-items:center;gap:6px}.branch-item .branch-select strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.branch-item .branch-select small{grid-column:1;margin-left:20px;color:#9b938a;font-size:12px}.branch-item .branch-select>svg{grid-column:2;grid-row:1 / span 2}.branch-item .branch-actions{display:flex;gap:2px}.branch-tray .branch-item .branch-actions button{width:28px;height:28px;justify-content:center;padding:0;color:#6b7772;background:#e8eeea}.branch-item form{width:100%;display:grid;grid-template-columns:1fr auto auto;gap:5px}.branch-item form input{min-width:0;padding:7px;border:1px solid #cfc7bd;border-radius:7px}.branch-tray .branch-item form button{color:#fff}.branch-tray .branch-item form button[type=button]{color:#6b625b;background:#eee8e0}.state-grid label{display:grid;gap:3px;padding:8px;background:#ffffff12;border:1px solid rgba(255,255,255,.1);border-radius:9px}.state-grid input{min-width:0;padding:5px 6px;color:#fff;border:1px solid rgba(255,255,255,.18);background:#0000001f;border-radius:6px;font-size:12px}.context-actions{display:flex;gap:7px;margin-top:9px}.context-actions button{flex:1;padding:8px;color:#334c46;border:0;background:#e5ede9;border-radius:8px;font-size:12px;font-weight:700}.context-actions button:disabled{opacity:.5}.messages{flex:1;min-height:0;overflow-y:auto;overflow-anchor:auto;padding:20px 18px;-ms-overflow-style:none;scrollbar-width:none}.messages::-webkit-scrollbar{display:none;width:0;height:0}.messages.messages-streaming{overflow-anchor:none}.messages.messages-positioning{overflow-y:hidden;visibility:hidden}.chapter-marker{display:grid;justify-items:center;gap:3px;margin:2px 0 24px}.chapter-marker span{color:#a5968a;font-size:12px;text-transform:uppercase;letter-spacing:.12em}.chapter-marker strong{color:#746a62;font-size:14px;font-weight:700}.message-row{display:flex;align-items:flex-start;gap:8px;margin:12px 0}.message-row>div{max-width:76%}.message-row p,.typing{margin:0;width:fit-content;max-width:100%;padding:11px 13px;background:#fff;border:1px solid #e7e0d8;border-radius:15px;box-shadow:0 3px 10px #372d2308;font-size:12px;line-height:1.55}.message-row small{display:block;margin:4px 5px 0;color:#aaa29a;font-size:12px}.message-row.user{justify-content:flex-end}.message-row.user>div{display:grid;justify-items:end}.message-row.user p{color:#fff;background:#405c55;border:0;border-radius:15px;font-family:var(--font-ui)}.world-action strong,.world-dialogue strong,.world-narration strong{font-weight:700;font-style:normal;font-size:1.06em;color:#fff}.world-narration-collapsed{margin:4px 0}.world-narration-collapsed>summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:11px;font-family:var(--font-ui);font-size:12px;color:var(--muted, #8e867e);background:var(--card, rgba(255, 255, 255, .05))}.world-narration-collapsed>summary::-webkit-details-marker{display:none}.world-narration-collapsed>summary:before{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s}.world-narration-collapsed[open]>summary:before{transform:rotate(45deg)}.world-narration-collapsed>summary:hover{background:var(--card-hover, rgba(255, 255, 255, .09))}.world-narration-collapsed>summary:focus-visible{outline:2px solid var(--accent, #a9523e);outline-offset:1px}.world-narration-collapsed[open]>p{margin-top:8px}.plot-cast-chat{display:inline-flex;align-items:center;gap:6px;margin-top:10px}.plot-cast-chat-locked{display:inline-flex;margin-top:10px;cursor:not-allowed}.plot-cast-chat-locked .plot-cast-chat{margin-top:0;opacity:.6;pointer-events:none}.reply-grounding{display:flex;align-items:center;gap:6px;margin:6px 0 2px;font-family:var(--font-ui);font-size:12px;line-height:1.3;color:var(--muted, #8e867e)}.reply-grounding.is-searching svg{animation:reply-grounding-spin 1.6s linear infinite}@keyframes reply-grounding-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.reply-grounding.is-searching svg{animation:none}}.reply-sources{margin:8px 0 2px;font-family:var(--font-ui)}.reply-sources-title{display:block;margin-bottom:4px;font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--muted, #8e867e)}.reply-sources ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}.reply-sources a{display:inline-flex;flex-direction:column;gap:1px;max-width:260px;padding:6px 10px;border-radius:11px;background:var(--card, rgba(255, 255, 255, .05));color:inherit;text-decoration:none;font-size:12px;line-height:1.3}.reply-sources a:hover{background:var(--card-hover, rgba(255, 255, 255, .09))}.reply-sources a:focus-visible{outline:2px solid var(--accent, #a9523e);outline-offset:1px}.reply-source-site{font-size:12px;color:var(--muted, #8e867e)}.reply-source-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.message-actions{display:flex;gap:1px;margin-top:2px;opacity:0;transition:opacity .15s}.message-row:hover .message-actions,.message-actions:focus-within{opacity:1}.message-actions button{width:25px;height:25px;display:grid;place-items:center;padding:0;color:#8e867e;border:0;background:transparent;border-radius:6px}.message-actions button:hover,.message-actions button.active{color:#a9523e;background:#f2e6df}.message-row.user .message-actions{justify-content:flex-end}.message-row:has(.speaker-segments)>.avatar{display:none}.speaker-segments{display:grid;gap:15px;width:100%}.speaker-segments section{min-width:0}.speaker-segments section>small{margin:0 0 5px;color:#817a74;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}.speaker-segments section.narration{display:grid;gap:7px;padding:8px 0}.speaker-segments section.narration>small{display:none}.speaker-segments section.narration p{padding:0;color:#777178;border:0;background:transparent;border-radius:0;box-shadow:none;font-family:inherit;font-size:13px;font-style:italic;line-height:1.6}.speaker-segments section.dialogue,.speaker-segments section.action{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:8px}.speaker-segments section.dialogue .segment-speaker,.speaker-segments section.action .segment-speaker{grid-column:1;grid-row:1 / span 2;align-self:start;margin:0}.speaker-segments section.dialogue>small,.speaker-segments section.action>small{grid-column:2}.speaker-segments section.dialogue p,.speaker-segments section.action p{grid-column:2;width:fit-content;max-width:100%;min-width:0;justify-self:start;margin:0;padding:12px 14px;border:1px solid #e7e0d8;background:#fff;border-radius:15px;box-shadow:0 3px 10px #372d2308;font-family:inherit;font-size:13px;line-height:1.55}.speaker-segments section.action p{color:#777178;background:#f7f5f2;font-style:italic}.message-row:has(.world-reply)>.avatar{display:none}.world-reply{display:grid;gap:18px;width:100%}.world-narration{display:grid;gap:7px;padding:8px 0}.message-row .world-narration p{padding:0;color:#777178;border:0;background:transparent;border-radius:0;box-shadow:none;font-family:inherit;font-size:13px;font-style:italic;line-height:1.6}.world-character-turn{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:8px;row-gap:3px;align-items:start;width:100%}.world-character-turn header{display:contents;color:#817a74}.world-character-turn header strong{grid-column:2;font-size:12px;font-weight:600;line-height:1.2;padding-top:1px}.world-character-avatar{position:relative;width:30px;height:30px;grid-row:1 / span 2;display:grid;flex:0 0 auto;place-items:center;overflow:hidden;color:#fff;background:var(--accent-soft);border-radius:50%;font-size:12px;font-weight:800}.story-avatar-placeholder{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:var(--card)}.world-character-avatar img{width:100%;height:100%;object-fit:cover}.world-character-avatar.story-avatar-silhouette{color:var(--muted);background:var(--card)}.world-character-bubble{display:grid;gap:11px;grid-column:2;width:fit-content;max-width:100%;min-width:0;justify-self:start;padding:13px 15px;border:1px solid #e7e0d8;background:#fff;border-radius:15px 15px 15px 5px;box-shadow:0 3px 10px #372d2308}.message-row .world-character-bubble p{padding:0;color:#2f2b28;border:0;background:transparent;border-radius:0;box-shadow:none;font-family:inherit;font-size:13px;line-height:1.55}.message-row .world-character-bubble p.world-action,.message-row .world-character-bubble em{color:#777178;font-style:italic}@keyframes story-fade-in{0%{opacity:0}to{opacity:1}}.world-reply.story-reveal-ready,.plot-intro.story-reveal-ready{animation:story-fade-in .15s ease-out both}.world-reply .typing,.world-character-bubble>.typing,.world-narration>.typing{display:flex;flex-direction:row;align-items:center;padding:4px 0;background:transparent;border:0;box-shadow:none}.variant-picker{width:fit-content;display:flex;align-items:center;gap:5px;margin:5px 4px 0;padding:2px 4px;color:#857d75;background:#eee9e2;border-radius:10px;font-size:12px}.variant-picker button{width:18px;height:18px;display:grid;place-items:center;padding:0;color:#5a716a;border:0;background:transparent;border-radius:50%}.variant-picker button:disabled{color:#bbb3ab}.report-dialog{display:grid;gap:10px;margin:5px 14px;padding:13px;color:#463f39;background:#fffaf6;border:1px solid #dfd4ca;border-radius:12px;box-shadow:0 8px 22px #372d2314}.report-dialog>div:first-child{display:grid;gap:3px}.report-dialog strong{font-size:13px}.report-dialog small{color:#7e746c;font-size:12px;line-height:1.4}.report-dialog label{display:grid;gap:4px;color:#675e56;font-size:12px;font-weight:700}.report-dialog label span{font-weight:400}.report-dialog select,.report-dialog textarea{width:100%;padding:7px 8px;color:#3f3934;background:#fff;border:1px solid #d9cfc5;border-radius:8px;font:inherit}.report-dialog textarea{resize:vertical}.report-dialog>div:last-child{display:flex;justify-content:flex-end;gap:7px}.report-dialog button{padding:7px 10px;border:0;background:transparent;border-radius:8px;font-size:12px;font-weight:700}.report-dialog button.submit-report{color:#fff;background:#a45140}.report-dialog button:disabled{opacity:.45}.message-actions button.danger-action{color:#a45140}.deletion-dialog{position:absolute;z-index:12;top:82px;right:14px;left:14px;border-color:#c98777;box-shadow:0 16px 38px #4d231b38}.deletion-counts{display:grid!important;grid-template-columns:repeat(2,1fr);gap:6px!important}.deletion-counts span{padding:7px;background:#f6ebe6;border-radius:7px;color:#755043;font-size:12px}.deletion-counts strong{display:block;font-size:14px}.report-dialog button.delete-everywhere{color:#fff;background:#a33f32}.edit-notice{display:flex;align-items:center;gap:8px;padding:7px 15px;color:#604f47;background:#f6eae3;border-top:1px solid #e7d6cc}.edit-notice>span{flex:1;display:grid;gap:1px}.edit-notice strong{font-size:12px}.edit-notice small{color:#8c756a;font-size:12px}.edit-notice button{width:28px;height:28px;display:grid;place-items:center;padding:0;color:#725d54;background:transparent;border:0;border-radius:7px}.persona-message-avatar{width:28px;height:28px;display:grid;place-items:center;align-self:flex-start;overflow:hidden;color:#fff;background:#718c84;border-radius:50%;font-size:12px;font-weight:700}.persona-message-avatar img{width:100%;height:100%;object-fit:cover}.message-row .persona-message-name{margin-bottom:3px;color:#667e77;font-weight:700}.typing{display:flex;gap:3px;padding:14px 16px}.typing i{width:4px;height:4px;background:#9b8f86;border-radius:50%;animation:blink 1s infinite alternate}.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}@keyframes blink{to{opacity:.25;transform:translateY(-2px)}}.suggestions{display:flex;gap:6px;overflow-x:auto;padding:7px 16px}.suggestions button{flex:0 0 auto;padding:7px 10px;color:#8d594b;border:0;background:#fbf0e9;border-radius:14px;font-size:12px}.sync-notice{display:flex;align-items:center;gap:8px;margin:5px 14px;padding:10px;color:#425d56;background:#e8f0eb;border:1px solid #d0dfd6;border-radius:12px}.sync-notice>span{width:31px;height:31px;display:grid;place-items:center;color:#496a60;background:#ffffffa6;border-radius:9px}.sync-notice>div{min-width:0;flex:1;display:grid;gap:2px}.sync-notice strong{overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.sync-notice small{color:#6e837a;font-size:12px}.sync-notice>button{padding:6px 7px;border:0;background:transparent;border-radius:8px;font-size:12px;font-weight:600}.sync-notice>button.retry-button{color:#fff;background:#405c55}.composer{display:grid;gap:7px;padding:9px 13px 8px}.composer>div:not(.composer-rail){min-height:43px;display:flex;align-items:flex-end;flex:1;padding:5px 7px 5px 12px;background:#fff;border:1px solid #ded7ce;border-radius:14px}.composer>div:not(.composer-rail) textarea{field-sizing:content;min-height:24px;max-height:min(40vh,280px);overflow-x:hidden;overflow-y:auto;flex:1;padding:5px 0;border:0;outline:none;resize:none;background:transparent;font-size:12px}.composer>div:not(.composer-rail) button{width:32px;height:32px;display:grid;place-items:center;padding:0;color:#918981;border:0;background:transparent}.composer .action-marker-button{flex:0 0 auto;border-radius:9px;color:#7555d9;font-size:22px;font-weight:700;line-height:1}.composer .action-marker-button:hover,.composer .action-marker-button:focus-visible{color:var(--accent);background:#ea4c891a;outline:none}.send-button{width:42px;height:42px;display:grid;place-items:center;padding:0;color:#fff;border:0;background:var(--accent);border-radius:13px}.send-button:disabled{color:#aaa39b;background:#e3ded6}.send-button.sending:disabled{color:#fff;background:var(--accent);opacity:.72;animation:sendPulse 1.2s ease-in-out infinite}.chat-footer{display:flex;justify-content:center;align-items:center;gap:4px;padding:0 0 8px;color:#aaa29a;font-size:12px}.suggestion-tray{margin:0 13px 6px;display:grid;gap:6px;padding:10px;background:#fff;border:0;border-radius:14px}.suggestion-tray-head{display:flex;align-items:center;gap:8px}.suggestion-tray-head small{margin-left:auto;color:#9b938a;font-size:12px}.suggestion-tray-head .icon-button{width:28px;height:28px}.suggestion-card{padding:9px 11px;color:#3a3531;border:1px solid #e8e2d9;background:#f9f6f1;border-radius:10px;font-size:13px;line-height:1.45;text-align:left}.suggestion-card:hover,.suggestion-card:focus-visible{border-color:var(--accent);outline:none}.suggestion-card em{color:#7a7269}.suggestion-refresh{justify-self:end;padding:6px 10px;color:var(--accent-dark);border:0;background:transparent;font-size:12px;font-weight:600}.suggestion-refresh:disabled{color:#aaa39b}.suggestion-error{margin:0;color:#9e5b49;font-size:12px}.composer .suggest-button{flex:0 0 auto;border-radius:9px;color:var(--accent-dark)}.composer .suggest-button:hover,.composer .suggest-button:focus-visible{color:var(--accent);background:var(--accent-soft);outline:none}.composer .suggest-button:disabled{color:#aaa39b;background:transparent}.chat-model-switch{min-height:38px;display:flex;align-items:center;gap:3px;padding:4px;color:#f2b8cf;background:#3a2430;border:1px solid #704052;border-radius:12px}.chat-model-switch>svg{margin:0 3px 0 2px}.chat-model-switch button{min-height:28px;padding:0 9px;color:#c793aa;background:transparent;border:0;border-radius:8px;font-size:12px;font-weight:800;letter-spacing:.2px}.chat-model-switch button.active{color:#fff;background:#ea4c89;box-shadow:0 3px 10px #ea4c894d}.chat-model-switch button:disabled{opacity:.55}@keyframes sendPulse{50%{opacity:.42}}.scrim{position:fixed;z-index:15;top:0;right:0;bottom:0;left:0;padding:0;border:0;background:#1c1a1859}@media(max-width:760px){.plot-grid,.plot-grid.large{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:560px)and (max-width:767px){.plot-grid,.plot-grid.large{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:768px)and (max-width:896px){.plot-grid,.plot-grid.large{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:897px)and (max-width:1050px){.plot-grid,.plot-grid.large{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1050px){.mood-grid{grid-template-columns:1fr 1fr}.create-layout{gap:30px}.create-copy h1{font-size:var(--type-page-title)}}@media(max-width:640px){:root{--type-page-title: 35px}.app-shell{--mobile-gutter: 17px;--mobile-topbar-height: 58px}.sidebar{transform:translate(-105%);width:270px;transition:transform .25s}.sidebar.sidebar-open{transform:none}.sidebar-close,.mobile-logo,.bottom-nav,.mobile-search{display:flex}.mobile-topbar-search{display:grid;width:20px;height:20px;padding:0;place-items:center;border:0;border-radius:0;color:var(--ink);background:transparent}.explore-drawer-scrim{position:fixed;z-index:34;top:0;right:0;bottom:0;left:0;padding:0;border:0;background:#1c1a1873;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.explore-drawer-scrim.is-closing{animation:exploreScrimOut .2s ease-in forwards}.explore-drawer{position:fixed;z-index:35;inset:0 0 0 auto;width:100vw;max-width:100vw;display:flex;flex-direction:column;color:var(--ink);background:var(--paper);box-shadow:-20px 0 60px #2523212e;animation:slideIn .28s ease-out}.explore-drawer.is-closing{animation:slideOut .2s ease-in forwards}.mobile-chat-drawer-scrim{position:fixed;z-index:34;top:0;right:0;bottom:0;left:0;padding:0;border:0;background:#1c1a1873;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.mobile-chat-drawer-scrim.is-closing{animation:exploreScrimOut .2s ease-in forwards}.mobile-chat-drawer{position:fixed;z-index:35;inset:0 0 0 auto;width:100vw;max-width:100vw;display:flex;flex-direction:column;color:#f4f4f5;background:#101012;box-shadow:-20px 0 60px #0000008c;animation:slideIn .28s ease-out}.mobile-chat-drawer.is-closing{animation:slideOut .2s ease-in forwards}.mobile-chat-drawer .chat-panel{position:relative;inset:auto;width:100%;max-width:none;height:100%;min-height:0;flex:1;box-shadow:none;animation:none}.explore-drawer-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--mobile-topbar-height, 58px);padding:0 var(--mobile-gutter, 17px);border-bottom:1px solid var(--line)}.explore-drawer-head h2{margin:0;font-size:18px;font-weight:700}.explore-drawer-head .icon-button{width:20px;height:20px;border-radius:0}.explore-drawer-body{flex:1;min-height:0;overflow-y:auto;padding:8px var(--mobile-gutter, 17px) calc(24px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.main-area{margin-left:0}.topbar{height:var(--mobile-topbar-height, 48px);min-height:var(--mobile-topbar-height, 48px);justify-content:space-between;gap:8px;padding:0 var(--mobile-gutter);background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;box-shadow:none}.topbar .top-search,.topbar .top-cta{display:none}.mobile-logo{align-items:center;flex:0 0 auto}.mobile-logo .brand-tld{display:none}.mobile-logo .brand{font-size:20px}.mobile-logo .brand-mark{width:24px;height:24px}.mobile-logo .brand-beta{display:inline-flex;align-items:center;justify-content:center;height:12px;margin:-2px 0 0 -10px;padding:0 4px;font-size:.5rem;line-height:1}.topbar-actions{flex:0 0 auto;margin-left:auto}.page-content{padding:29px var(--mobile-gutter) calc(88px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;z-index:25;inset:auto 0 0;height:auto;justify-content:space-around;padding:8px 8px max(12px,env(safe-area-inset-bottom,0px));background:var(--paper);border-top:1px solid var(--line)}.bottom-nav button{min-width:55px;min-height:44px;display:grid;place-items:center;gap:2px;padding:2px;color:#8e8780;border:0;background:transparent;font-size:12px}.bottom-nav button.active{color:var(--accent-dark)}.welcome-row{align-items:flex-start;padding-top:20px}.welcome-row h1{line-height:1.05}.welcome-row p:not(.eyebrow){font-size:12px}.ambient-orb{width:44px;height:44px}.continue-card{grid-template-columns:83px 1fr;min-height:126px;gap:14px;margin-top:24px;padding:10px}.continue-portrait{height:106px}.continue-copy h2{font-size:20px}.continue-copy>p{max-width:48vw;font-size:12px}.relationship-line small,.round-action{display:none}.relationship-line{margin-top:9px}.section-title{margin-top:31px}.plot-grid,.plot-grid.large{gap:10px}.card-copy{display:block;padding:10px}.card-copy>span{display:none}.card-copy p{font-size:12px}.card-tags i:nth-child(2){display:none}.mood-section{align-items:flex-start;flex-direction:column;gap:9px}.mood-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;overflow:visible}.mood-card{min-height:38px;min-width:0}.page-heading h1{font-size:var(--type-page-title)}.page-heading{margin-bottom:20px}.feed-composer{padding:14px}.feed-composer-options{align-items:stretch}.feed-composer-options>label,.feed-tool{flex:1;justify-content:center}.feed-publish{width:100%;justify-content:center;margin-left:0}.feed-draft-images{grid-template-columns:repeat(2,1fr)}.feed-images figure,.feed-images.count-1 figure{min-height:250px}.feed-actions{overflow-x:auto}.feed-actions button{flex:0 0 auto}.feed-card>header{padding-inline:13px}.mobile-search{align-items:center;gap:9px;height:43px;margin:18px 0 12px;padding:0 12px;color:#8d8780;border:1px solid var(--line);background:var(--card);border-radius:12px}.mobile-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:12px}.create-layout{display:block;padding-top:0}.create-copy h1{font-size:var(--type-page-title)}.create-copy>p:not(.eyebrow),.step-list{display:none}.creator-card{min-height:535px;margin-top:23px;padding:22px 18px}.form-step{padding-top:31px}.choice-grid{grid-template-columns:1fr}.advanced-studio{margin:0}.studio-header{align-items:flex-start}.studio-save>span,.studio-save .secondary{display:none}.studio-workspace{display:block}.studio-nav{display:flex;overflow-x:auto;margin-bottom:10px}.studio-nav button{flex:0 0 auto;padding:0 10px}.studio-nav button svg,.studio-nav button span{display:none}.studio-editor{min-height:550px;padding:18px}.studio-preview{margin-top:12px}.preview-phone{display:grid;grid-template-columns:130px 1fr}.preview-art{height:180px}.studio-inline{grid-template-columns:1fr}.chat-header{min-height:56px;gap:7px;padding:8px 10px}.ai-badge-label{display:none}.persona-trigger{max-width:92px}.chat-model-switch{min-height:36px}.chat-model-switch>svg{display:none}.chat-model-switch button{min-height:26px;padding:0 7px;font-size:12px}.chat-panel{width:100vw}.chat-header{min-height:56px;gap:8px;padding:8px 10px}.chat-header .avatar{width:34px;height:34px}.chat-header strong{font-size:15px}.chat-ai-badge{display:none}.persona-trigger{max-width:110px}.messages{padding:16px 12px}.message-row>div{max-width:80%}.detail-overlay{padding:0}.detail-sheet{width:100vw;max-height:100vh;height:100%;display:block;overflow-y:auto;border-radius:0}.detail-art{min-height:370px;height:45vh}.detail-body{overflow:visible;padding:24px 18px 32px}.detail-grid{grid-template-columns:1fr}.detail-title h2{font-size:31px}}.agency-badge{padding:5px 7px;color:#fff;background:#49675f;border-radius:8px;font-size:12px;font-weight:700;letter-spacing:.08em}.cast-entry{margin-top:10px}@media(max-width:400px){.card-image{aspect-ratio:1.15}.ambient-orb{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}.auth-overlay{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:18px}.auth-scrim{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#000000b8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.auth-overlay .auth-card{position:relative;z-index:1;max-height:calc(100vh - 36px);overflow-y:auto;border:0}.auth-close{position:absolute;top:12px;right:12px;color:var(--muted)}.google-auth{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;padding:0 12px;color:#e3e3e3;border:1px solid #8e918f;background:#131314;border-radius:10px;font:500 14px/20px Arial,sans-serif}.google-auth:hover{border-color:#aeb1af;background:#1c1c1e}.google-mark{flex:0 0 20px;padding:1px;background:#fff;border-radius:50%}.auth-divider{display:flex;align-items:center;gap:10px;margin:15px 0 2px;color:#77747f;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#343239}.legal-links{display:flex;gap:12px;padding:2px 10px 11px}.legal-links a{color:#777780;font-size:12px;text-decoration:none}.legal-links a:hover{color:var(--accent-dark)}.legal-page{width:min(790px,100%);margin:0 auto}.legal-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:28px;padding:0;color:var(--muted);border:0;background:transparent;font-size:12px;font-weight:700}.legal-back:hover{color:var(--accent-dark)}.legal-hero{padding-bottom:28px;border-bottom:1px solid var(--line)}.legal-hero>span{width:45px;height:45px;display:grid;place-items:center;margin-bottom:19px;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.legal-hero h1{margin:7px 0 8px;font-size:clamp(36px,5vw,56px);line-height:1.05}.legal-hero>p:last-child{margin:0;color:var(--muted);font-size:12px}.legal-body{padding:12px 0 32px}.legal-body section{padding:20px 0;border-bottom:1px solid var(--line)}.legal-body h2{margin:0 0 10px;font-size:15px}.legal-body p{margin:8px 0 0;color:#c8c8cf;font-size:12px;line-height:1.75}.legal-body a,.legal-footer a{color:var(--accent-dark)}.legal-body code{padding:2px 4px;color:var(--accent-dark);background:var(--accent-soft);border-radius:4px;font-size:.92em}.legal-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0 12px;color:var(--muted);font-size:12px}.legal-footer nav{display:flex;gap:14px}.legal-footer p{margin:0}.recent-empty{margin:0;padding:2px 12px;color:var(--muted);font-size:13px}.top-login{height:38px;padding:0 14px;color:#dedce5;border:1px solid var(--line);background:#202024;border-radius:9px;font-size:13px;font-weight:800}.top-login:hover{color:#fff;border-color:var(--accent-border);background:var(--accent-soft)}:root{color:#f7f7f8;background:#0d0d0f;color-scheme:dark;--ink: #f7f7f8;--muted: #92929d;--paper: #0d0d0f;--card: #19191d;--card-hover: color-mix(in srgb, var(--ink) 10%, var(--card));--line: rgba(255, 255, 255, .07);--line-strong: rgba(255, 255, 255, .14);--control-outline: rgba(255, 255, 255, .24);--control-outline-hover: rgba(255, 255, 255, .38);--control-outline-bg: rgba(255, 255, 255, .045);--control-outline-bg-hover: rgba(255, 255, 255, .08);--accent: #ea4c89;--accent-dark: #f39abd;--accent-solid: #c32361;--accent-hover: #a91f54;--accent-soft: #3a2430;--accent-border: #704052;--accent-contrast: #ffffff;--like: var(--accent);--like-soft: #412731;--support: #8fa9f5;--support-soft: #252d43;--action-bg: #f7f7f8;--action-fg: #17181c;--action-hover: #dedee3;--forest: var(--action-bg);--shadow: 0 18px 55px rgba(0, 0, 0, .42)}body{color:var(--ink);background:var(--paper)}.product-gem-icon{display:inline-block;flex:0 0 auto;background:currentColor;-webkit-mask:url(/images/gem-icon.svg) center / contain no-repeat;mask:url(/images/gem-icon.svg) center / contain no-repeat}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:color-mix(in srgb,var(--accent) 35%,transparent)}.brand,.auth-card h1,.notification-panel>header strong,.chat-header strong,.feed-avatar,.user-avatar{font-family:var(--font-ui);font-weight:700}.welcome-row h1,.page-heading h1,.create-copy h1,.chats-header h1,.discover-section-head h2,.creator-library h1,.detail-title h2{font-family:var(--font-story);font-weight:600;letter-spacing:normal;line-height:1.2}.continue-copy h2,.card-copy h3,.card-overlay h3,.section-title h2,.discover-meta strong,.chapter-marker strong{font-family:var(--font-ui);font-weight:600;letter-spacing:normal}.brand{font-weight:600;font-stretch:125%;letter-spacing:normal}.sidebar{width:300px;padding:22px 16px 16px;background:#111114;border-color:var(--line)}.main-area{margin-left:300px;background:var(--paper)}.primary-nav{margin-top:24px}.nav-item{height:43px;color:#8f8f99;border-radius:9px}.nav-item:hover{color:#fff;background:#242429;box-shadow:none}.nav-item.active{color:#fff;background:transparent;box-shadow:none}.nav-item.active svg,.nav-item.active .product-gem-icon{color:var(--accent-dark)}.nav-item .nav-new{color:var(--accent-dark);background:var(--accent-soft)}.recent-item,.recent-row{border-radius:0}.recent-row:hover,.recent-row.active{background:#202024}.recent-item small,.profile-row small{color:var(--muted)}.user-avatar{background:var(--accent)}.auth-logout{color:#817f89}@media(min-width:641px){.topbar{height:62px;padding:0 28px;background:#0d0d0fe6;border-color:var(--line)}}@media(min-width:641px)and (max-width:767px){.sidebar:not(.sidebar-open){width:56px;padding:20px 8px 12px}.main-area{margin-left:56px}.sidebar:not(.sidebar-open) .sidebar-top{justify-content:center;padding:0}.sidebar:not(.sidebar-open) .brand-wordmark{display:none}.sidebar:not(.sidebar-open) .brand{position:relative;gap:0}.sidebar:not(.sidebar-open) .brand-beta{position:absolute;top:-8px;right:-8px;margin:0;padding:1px 4px;font-size:.5rem;letter-spacing:.06em;line-height:1.2}.sidebar:not(.sidebar-open) .primary-nav{margin-top:20px}.sidebar:not(.sidebar-open) .nav-item{width:40px;height:40px;justify-content:center;gap:0;padding:0;margin-inline:auto}.sidebar:not(.sidebar-open) .sidebar-create{width:40px;height:40px;justify-content:center;gap:0;margin-inline:auto;padding:0}.sidebar:not(.sidebar-open) .sidebar-create-wrap{width:40px;flex:0 0 40px;margin-inline:auto}.sidebar:not(.sidebar-open) .nav-item>span,.sidebar:not(.sidebar-open) .sidebar-create>span{display:none}.sidebar:not(.sidebar-open) .recent-group .eyebrow,.sidebar:not(.sidebar-open) .recent-item .recent-copy,.sidebar:not(.sidebar-open) .recent-more{display:none}.sidebar:not(.sidebar-open) .recent-row{justify-content:center;width:100%;margin-inline:0;padding-inline:0}.sidebar:not(.sidebar-open) .recent-row:hover,.sidebar:not(.sidebar-open) .recent-row.active,.theme-dark .sidebar:not(.sidebar-open) .recent-row:hover,.theme-dark .sidebar:not(.sidebar-open) .recent-row.active,.theme-light .sidebar:not(.sidebar-open) .recent-row:hover,.theme-light .sidebar:not(.sidebar-open) .recent-row.active{background:transparent}.sidebar:not(.sidebar-open) .recent-row.active .recent-chat-art{box-shadow:0 0 0 2px var(--accent)}.sidebar:not(.sidebar-open) .recent-row:hover .recent-chat-art{box-shadow:0 0 0 2px color-mix(in srgb,var(--ink) 22%,transparent)}.sidebar:not(.sidebar-open) .recent-item{flex:0 0 auto;justify-content:center;gap:0;padding:5px 0}.sidebar:not(.sidebar-open) .recent-avatar,.sidebar:not(.sidebar-open) .recent-chat-art{flex:0 0 34px;width:34px;height:34px}.sidebar:not(.sidebar-open) .recent-unread{top:-3px;right:-3px}.sidebar:not(.sidebar-open) .sidebar-footer .profile-row{justify-content:center;gap:0;margin-inline:-8px;margin-bottom:-12px;width:calc(100% + 16px);padding:8px}.sidebar:not(.sidebar-open) .sidebar-footer .profile-row-main>span:nth-child(2){display:none}.sidebar:not(.sidebar-open) .sidebar-footer .profile-row-main{justify-content:center}.sidebar.sidebar-open .sidebar-close{display:flex}}@media(max-width:640px){.sidebar-create-menu{top:calc(100% + 8px);left:0;width:100%}}.top-search{height:38px;color:var(--muted);background:#202024;border:0;border-radius:9px;transition:background-color .14s ease}.top-search:hover{background:#29292e}.top-search kbd{display:inline-flex;align-items:center;gap:3px;color:#aaa8b1;background:#29292e;border-color:var(--line);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1}.top-search kbd .shortcut-command{font-size:1em;line-height:1}.top-cta{color:var(--action-fg);background:var(--action-bg);border-radius:9px;font-weight:800}.top-cta:hover{background:var(--action-hover)}.icon-button:hover{background:#25252a}[data-theme=dark] .notification-panel,[data-theme=dark] .notification-panel>div>button.read{color:var(--ink);background:var(--card);border-color:transparent}[data-theme=dark] .notification-panel>div>button.read{background:transparent}[data-theme=dark] .notification-panel>div>button{color:#dedee3;background:color-mix(in srgb,var(--ink) 7%,transparent);border-color:transparent}[data-theme=dark] .notification-panel>div>button:hover{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-theme=dark] .notification-panel>header,[data-theme=dark] .notification-panel footer{color:var(--ink);background:transparent;border-color:transparent}[data-theme=dark] .notification-panel>header strong,[data-theme=dark] .notification-panel>header .icon-button{color:var(--ink)}[data-theme=dark] .notification-panel footer,[data-theme=dark] .notification-status{color:#aaaab2}.page-content{max-width:1180px;padding:30px 36px 88px}.eyebrow,.eyebrow.warm{color:var(--accent-dark)}.welcome-row h1{margin-top:5px}.welcome-row h1 span{color:var(--accent)}.welcome-row p:not(.eyebrow),.page-heading>p:not(.eyebrow),.create-copy>p:not(.eyebrow){color:var(--muted)}.continue-card{display:block;min-height:350px;margin-top:24px;padding:0;border:0;border-radius:var(--radius-banner);background:#17171a;box-shadow:var(--shadow)}.continue-card:before{content:"";position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#000000c7,#0000003b 70%),linear-gradient(0deg,rgba(0,0,0,.72),transparent 65%)}.continue-card:after{display:none}.continue-portrait{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border-radius:0}.continue-portrait:after{background:linear-gradient(0deg,rgba(0,0,0,.55),transparent 60%)}.continue-copy{position:absolute;z-index:2;left:28px;bottom:28px;max-width:610px}.continue-copy .eyebrow{display:inline-flex;padding:6px 9px;color:var(--accent);background:#0c0c0e9e;border:1px solid color-mix(in srgb,var(--accent) 55%,transparent);border-radius:7px}.continue-copy h2{margin:10px 0 5px;font-size:34px;letter-spacing:-.8px}.continue-copy>p{max-width:520px;color:#eeeef2;font-family:inherit;font-size:13px;font-style:normal}.relationship-line{color:#dfdfe5}.relationship-line small{color:#b8b6c0}.round-action{position:absolute;z-index:3;right:28px;bottom:28px;color:var(--action-fg);background:var(--action-bg);border:1px solid rgba(255,255,255,.18);border-radius:10px}.section-title{margin:30px 0 13px}.section-title h2{font-size:20px}.section-title p{color:var(--muted)}.section-title>button{color:var(--accent)}.plot-grid,.plot-grid.large{gap:20px}.plot-card{background:transparent;border:0;border-radius:var(--radius-card)}.plot-card:hover{background:#17171a}.card-image{aspect-ratio:.78;border-radius:var(--radius-card);background:#202024}.card-gradient{background:linear-gradient(transparent 55%,#000000b8)}.card-copy{padding:9px 3px 10px}.card-copy h3{color:#fff;font-size:14px}.card-copy p{color:#b4b4bd;font-size:12px}.card-copy>span{color:#73737d}.heart-button.liked{color:var(--like)}.card-copy h3 svg{background:var(--accent)}.plot-card.media-card{aspect-ratio:.74;overflow:hidden;background:#202024;border:0;border-radius:var(--radius-card)}.plot-card.media-card:hover{background:#202024}.media-card .card-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;aspect-ratio:auto;border-radius:inherit}.media-card .card-image>img{width:100%;height:100%;object-fit:cover}.media-card .card-gradient{background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,transparent 25%),linear-gradient(0deg,rgba(7,7,9,.99) 0%,rgba(7,7,9,.93) 22%,rgba(7,7,9,.68) 42%,rgba(7,7,9,.26) 58%,transparent 72%)}.card-hit-area{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;display:block;width:100%;padding:0;border:0;background:transparent}.plot-card.media-card>.heart-button{z-index:4}.card-stat-item,.card-stat-new{position:absolute;z-index:2;top:10px;left:10px;pointer-events:none;max-width:calc(100% - 20px);overflow:hidden;white-space:nowrap;line-height:1}.card-stat-item{display:inline-flex;align-items:center;gap:4px;padding:0;color:#eeeef2;background:transparent;font-size:14px;font-weight:600;text-shadow:0 1px 4px rgba(0,0,0,.8)}.card-stat-item b{font-weight:600}.card-stat-item svg{flex:0 0 auto;opacity:.72}.card-stat-new{display:inline-block;padding:2px 6px;color:#131316;background:#eeeef2;border-radius:var(--radius-pill);font-size:10.2px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.card-overlay{position:absolute;z-index:2;right:12px;bottom:13px;left:12px;display:grid;align-content:start;gap:5px;height:83px;color:#fff;text-align:left;pointer-events:none}.card-overlay h3{display:-webkit-box;margin:0;overflow:hidden;font-size:15px;font-weight:600;line-height:1.2;letter-spacing:normal;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}.card-overlay p{display:-webkit-box;min-height:2.8em;margin:0;overflow:hidden;color:#ededf1;font-size:13px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:2}.card-overlay>span{overflow:hidden;color:#aaaab3;font-size:12px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}.mood-card{min-height:38px;color:#d7d7dc;background:#ffffff0e;border:0;border-radius:var(--radius-pill)}.page-heading{margin-bottom:22px}.page-heading h1{font-size:var(--type-page-title)}.mobile-search,.category-pills button,.discovery-controls select,.discovery-controls input{color:#d8d8de;background:#19191d;border-color:var(--line)}.category-pills button.active{background:#f1f1f3;border-color:#f1f1f3;color:#111114}.discover-meta strong{font-size:17px}.match-reason{color:var(--accent-dark)!important}.empty-state{color:var(--muted)}.feed-composer,.feed-card,.creator-card,.studio-editor,.studio-preview,.settings-card,.privacy-card,.auth-card{color:var(--ink);background:#17171a;border-color:var(--line);box-shadow:none}.feed-composer>textarea,.feed-draft-images input,.report-dialog select,.report-dialog textarea,.studio-editor input,.studio-editor textarea,.studio-editor select,.creator-card input,.creator-card textarea,.profile-page input,.profile-page textarea{color:var(--ink);background:#202024;border-color:var(--line)}.feed-tool,.feed-composer-options>label,.feed-card>header>button.following{color:var(--accent-dark);background:var(--accent-soft)}.feed-publish,.sync-notice>button.retry-button{background:var(--action-bg)!important}.feed-switch{background:#202024}.feed-switch button{color:var(--muted)}.feed-switch button.active{color:#fff;background:#34343a;box-shadow:none}.feed-body{color:#d1d1d7}.feed-owner{color:var(--accent-dark);background:var(--accent-soft)}.create-layout{gap:52px}.create-copy h1{font-size:var(--type-page-title)}.creator-card{border-radius:14px}.step-list li.active,.choice.active,.choice-button.active{color:var(--accent-dark);border-color:var(--accent-border);background:var(--accent-soft)}.form-progress span,.studio-progress span{background:var(--accent)}.studio-nav{background:#151518;border-color:var(--line)}.studio-nav button{color:var(--muted)}.studio-nav button.active{color:#fff;background:#29292e}.preview-phone{background:#111114;border-color:var(--line)}.detail-overlay{background:#000000c7}.detail-sheet{color:var(--ink);background:#111114;border-color:var(--line);border-radius:16px 0 0 16px;box-shadow:-20px 0 70px #0000008c}.detail-art:after{background:linear-gradient(0deg,rgba(0,0,0,.78),transparent 60%)}.detail-body{background:#111114}.detail-body p,.detail-description,.detail-meta{color:#c2c2ca}.detail-tag,.detail-pill{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.detail-start,.enter-story{color:var(--action-fg);background:var(--action-bg)}.chat-panel{color:var(--ink);background:#0d0d0f;box-shadow:-20px 0 70px #0009}.chat-header{min-height:61px;background:#111114f5;border-color:var(--line)}.chat-header small{color:#65d7a7}.persona-trigger,.chat-ai-badge{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.context-strip{color:#aaa8b1;background:#17171a;border-color:var(--line)}.context-strip button{color:var(--accent-dark)}.branch-tray{background:#19191d;border-color:var(--line)}.branch-tray>button,.branch-tray>.branch-item{color:#d6d6dc;background:#202024;border-color:var(--line)}.branch-tray>button.active,.branch-tray>.branch-item.active{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.context-drawer{background:#30212a}.chapter-marker span,.chapter-marker strong{color:var(--muted)}.message-row p,.typing{color:#efeff2;background:#202024;border-color:var(--line);border-radius:5px 14px 14px;box-shadow:none;font-family:inherit}.message-row.user p{color:var(--action-fg);background:var(--action-bg)}.speaker-segments section.narration p{color:#aaa6b0;background:transparent}.speaker-segments section.dialogue p,.speaker-segments section.action p{color:#f2f1f4;border-color:var(--line);background:#202024;box-shadow:none}.speaker-segments section.action p{color:#aaa6b0}.speaker-segments section>small{color:#b8b4bd}.message-row .world-narration p{color:#aaa6b0;background:transparent}.world-character-turn header{color:#b8b4bd}.world-character-bubble{border-color:var(--line);background:#202024;box-shadow:none}.message-row .world-character-bubble p{color:#f2f1f4;background:transparent}.message-row .world-character-bubble p.world-action,.message-row .world-character-bubble em{color:#aaa6b0;font-style:italic}.variant-picker,.message-actions button:hover,.message-actions button.active{color:var(--accent-dark);background:var(--accent-soft)}.suggestions button{color:var(--accent-dark);border-color:var(--accent-border);background:var(--accent-soft)}.sync-notice,.edit-notice,.report-dialog{color:#d7d7dc;background:#19191d;border-color:var(--line)}.generation-failure{display:flex;align-items:center;gap:10px;margin:10px 14px 0;padding:11px 12px;color:#f9eef2;background:#2f2026;border:1px solid #6b3d4e;border-radius:12px}.auto-retry-notice{display:flex;align-items:center;gap:10px;padding:11px 12px;color:#f9eef2;background:#2f2026;border:1px solid #6b3d4e;border-radius:12px}.auto-retry-notice>span{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;color:#ffc2d7;background:#3d2634;border-radius:9px;animation:auto-retry-spin 1.1s linear infinite}@keyframes auto-retry-spin{to{transform:rotate(360deg)}}.auto-retry-notice>div{min-width:0;flex:1;display:grid;gap:3px}.auto-retry-notice strong{font-size:12px}.auto-retry-notice small{color:#c6b6c1;font-size:12px;line-height:1.4}.generation-failure>span{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;color:#ffc2d7;background:#3d2634;border-radius:9px}.generation-failure>div{min-width:0;flex:1;display:grid;gap:3px}.generation-failure strong{font-size:12px}.generation-failure small{color:#c6b6c1;font-size:12px;line-height:1.4}.generation-failure>button{flex:0 0 auto;padding:7px 10px;color:#17181c;background:#ffc2d7;border:0;border-radius:8px;font-size:12px;font-weight:750}.composer{background:#0d0d0f}.suggestion-tray{background:#202024;border-color:var(--line)}.suggestion-card{color:#ececec;background:#2a2a2f;border-color:var(--line)}.suggestion-card em{color:#b5b0aa}.composer>div:not(.composer-rail){background:#202024;border-color:var(--line)}.composer>div:not(.composer-rail) textarea{color:#fff}.composer .action-marker-button{color:var(--accent-dark)}.send-button{color:var(--action-fg);background:var(--action-bg)}.send-button:disabled{color:#777780;background:#29292e}.chat-footer{color:#73737d}.auth-screen{color:var(--ink);background:radial-gradient(circle at top,#3a1f2c 0,#0d0d0f 48%)}.auth-card{border-radius:15px}.auth-card input,.auth-card .consent-choice{color:var(--ink);background:#202024;border-color:var(--line)}.auth-mode{color:var(--accent-dark)}.auth-error,.privacy-step-up{color:#ffaaa2!important;background:#391f25}input::placeholder,textarea::placeholder{color:#777780;opacity:1}.auth-card .consent-choice strong{color:#f7f7f8}.auth-card .consent-choice small{color:#a9a9b3}.feed-report,.feed-comments{color:var(--ink);background:#17171a;border-color:var(--line)}.feed-report select,.feed-report textarea,.feed-comments input{color:var(--ink);background:#202024;border-color:var(--line)}.feed-report label,.feed-comments>form>span,.feed-notice,.feed-status{color:#aaaab4}.feed-report small,.feed-comment small{color:var(--muted)}.feed-actions{border-color:var(--line)}.feed-actions button:hover,.feed-meta span:first-child,.feed-more{color:var(--accent-dark);background:var(--accent-soft)}.detail-close,.detail-favorite,.detail-actions .secondary{color:var(--ink);background:var(--control-outline-bg);border-color:var(--control-outline)}.detail-tags span,.detail-grid>div,.cast-roster article{color:var(--ink);background:#19191d;border-color:var(--line)}.detail-icon{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.detail-grid small,.cast-roster small{color:var(--muted)}.cast-roster p,.example-exchange p{color:#c8c8cf}.form-step label,.studio-fields>label,.studio-inline label,.lore-entry label,.field-hint{color:#c8c8cf}.form-step input:not([type=range]),.form-step textarea,.form-step select,.studio-fields input:not([type=range]),.studio-fields textarea,.studio-fields select,.persona-form input,.persona-form textarea,.profile-field-select{color:var(--ink);background-color:#202024;border-color:var(--line)}.prompt-chips button,.choice-grid button,.creator-actions .secondary,.studio-save .secondary,.style-chips button,.publish-options>button{color:#d6d6dc;background:var(--control-outline-bg);border-color:var(--control-outline)}.choice-grid button.selected,.style-chips button.active,.publish-options>button.active{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.form-icon,.studio-section-title>span{color:var(--accent-dark);background:var(--accent-soft)}.form-step .tip,.studio-rule,.lore-entry,.studio-tip{color:#c8c8cf;background:#19191d;border-color:var(--line)}.studio-rule small,.studio-preview>p,.preview-copy>small,.preview-copy>p{color:var(--muted)}.add-entry{color:var(--accent-dark);background:var(--accent-soft)}.studio-preview{color:var(--ink);background:#17171a;border-color:var(--line)}.preview-phone{color:var(--ink);background:#111114;border-color:var(--line)}.preview-copy i{color:var(--accent-dark);background:var(--accent-soft)}.privacy-title>span{color:var(--accent-dark);background:var(--accent-soft)}.persona-list article,.privacy-controls>label{color:var(--ink);background:#19191d;border-color:var(--line)}.privacy-actions button{color:var(--accent-dark);background:var(--accent-soft)}.plan-actions{display:grid;gap:10px}.plan-actions button{min-height:var(--button-height);width:100%;padding:0 var(--button-padding);color:var(--ink);background:transparent;border:1.5px solid var(--ink);border-radius:var(--radius-pill);font-size:var(--type-control)}.plan-actions button.primary{color:var(--action-fg);background:var(--action-bg);border-color:var(--action-bg)}.plan-packs button{color:var(--ink);background:#29292e;border-color:var(--line-strong)}.profile-overview-avatar{color:var(--action-fg);background:var(--action-bg)}.privacy-warning{color:#ffb5ac;background:#391f25}.branch-item form input{color:var(--ink);background:#202024;border-color:var(--line)}.branch-tray .branch-item .branch-actions button,.branch-tray .branch-item form button[type=button]{color:#d6d6dc;background:#29292e}.report-dialog small,.report-dialog label,.edit-notice small{color:#aaaab4}.deletion-counts span{color:#ffb5ac;background:#391f25}.sync-notice>span{color:var(--accent-dark);background:var(--accent-soft)}.world-cast-stack{position:absolute;z-index:3;right:10px;bottom:10px;display:flex;align-items:center;padding-left:8px}.world-cast-stack img,.world-cast-stack i{width:29px;height:29px;display:grid;place-items:center;margin-left:-8px;overflow:hidden;color:var(--accent-dark);background:var(--accent-soft);border:2px solid #111114;border-radius:50%;object-fit:cover;font-size:12px;font-style:normal;font-weight:800}.card-copy>span{display:flex;align-items:center;gap:4px}.world-cast-heading{margin-top:18px}.world-roster{grid-template-columns:1fr}.world-roster article{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:start}.world-roster article>img,.world-roster article>span{width:42px;height:42px;display:grid;place-items:center;object-fit:cover;color:var(--accent-dark);background:var(--accent-soft);border-radius:50%;font-weight:800}.world-roster article>div{min-width:0}.segment-speaker{float:left;width:24px;height:24px;display:grid;place-items:center;margin:-2px 7px 2px 0;overflow:hidden;color:var(--accent-dark);background:var(--accent-soft);border-radius:50%;font-size:12px;font-weight:800}.segment-speaker img{width:100%;height:100%;object-fit:cover}.context-strip span{display:inline-flex;align-items:center;gap:4px}.chat-header .chat-ai-badge{flex:0 0 auto}@media(max-width:640px){.main-area{margin-left:0}.sidebar{width:286px;background:#111114}.topbar{height:58px;background:#0d0d0ff5}.page-content{padding:18px 12px calc(88px + env(safe-area-inset-bottom))}.legal-page{padding:4px 5px 28px}.legal-back{margin-bottom:20px}.legal-body p{font-size:13px}.legal-footer{align-items:flex-start;flex-direction:column}.bottom-nav{height:auto;background:var(--paper);border-color:var(--line)}.bottom-nav button{color:#696972}.bottom-nav button.active{color:#fff}.continue-card{min-height:385px;margin-top:3px}.continue-copy{left:17px;right:17px;bottom:17px}.continue-copy h2{font-size:29px}.continue-copy>p{max-width:82vw;font-size:13px;white-space:normal}.round-action{display:grid;right:17px;bottom:17px}.relationship-line{padding-right:55px}.plot-grid,.plot-grid.large{gap:14px}.card-copy{padding:8px 2px 9px}.mood-grid{grid-template-columns:1fr 1fr}.mood-card{min-width:0}.page-heading h1{font-size:var(--type-page-title)}.detail-sheet{background:#111114;border-radius:0}.detail-art{min-height:480px;height:58vh}.chat-panel{background:#0d0d0f}}.world-page{display:grid;gap:14px;max-width:760px}.world-page .page-head{margin:0}.world-page .page-head h1{margin:0;font-size:clamp(29px,3.2vw,42px);line-height:1.15;font-weight:600}.chats-shell{--chats-column-max: 512px;display:flex;flex-direction:column;width:100%;max-width:var(--chats-column-max);margin-inline:auto;min-height:100%;color:var(--ink);background:var(--paper)}.chats-header{display:flex;align-items:center;min-height:52px;padding:20px 17px 0}.chats-header h1{margin:0}.chats-body{flex:1;display:flex;flex-direction:column;min-height:0}.chats-loading{flex:1;display:grid;justify-items:center;align-content:center;gap:14px;padding:48px 20px;color:var(--muted);font-size:13px}.chats-loading strong{color:var(--ink);font-size:14px;font-weight:700}.chats-section{display:grid;gap:12px}.chats-section>h2{margin:0;color:var(--ink);font-size:var(--type-body);font-weight:650}.chats-section-label{display:inline-flex;align-items:center;gap:4px}.chats-section-label svg{color:var(--muted)}.chats-empty{margin:0;padding:8px 0 4px;color:var(--muted);font-size:var(--type-secondary);text-align:center}.chats-status{margin:0;padding:24px 20px;color:var(--muted);font-size:13px;text-align:center}.chats-status-error{color:color-mix(in srgb,var(--accent-solid) 70%,var(--ink))}.chats-empty-state{flex:1;display:grid;justify-items:center;align-content:center;gap:18px;padding:32px 20px calc(96px + env(safe-area-inset-bottom));text-align:center}.chats-empty-logo{width:64px;height:64px;pointer-events:none}.chats-empty-state h2{margin:0;color:var(--ink);font-size:22px;font-weight:500;letter-spacing:-.02em;line-height:1.2}.chats-empty-action{margin-top:2px;white-space:nowrap}.chats-list{display:grid;gap:9px;padding:12px 14px calc(96px + env(safe-area-inset-bottom))}.chats-active-row{display:block}.chats-archive-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:16px;padding:10px 4px 2px;color:var(--muted)}.chats-archive-heading h2{margin:0;color:inherit;font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.chats-archive-heading>span{min-width:24px;padding:3px 7px;color:var(--ink);background:color-mix(in srgb,var(--ink) 7%,transparent);border-radius:999px;font-size:12px;font-weight:700;text-align:center}.chats-archived-row{position:relative}.chats-archived-row .chats-list-item{padding-right:54px}.chats-archived-row .chats-list-go{display:none}.chats-restore{position:absolute;z-index:2;top:50%;right:12px;width:32px;height:32px;display:grid;place-items:center;padding:0;color:var(--muted);background:color-mix(in srgb,var(--ink) 7%,transparent);border:0;border-radius:50%;transform:translateY(-50%)}.chats-restore:hover,.chats-restore:focus-visible{color:var(--ink);background:color-mix(in srgb,var(--ink) 12%,transparent)}.chats-list-item{--chats-row: var(--card);position:relative;display:flex;align-items:center;gap:12px;width:100%;padding:12px;overflow:hidden;text-align:left;color:inherit;border:0;background:var(--chats-row);border-radius:var(--radius-card);transition:background-color var(--motion-fast) var(--ease-out)}.chats-list-item:hover,.chats-list-item:focus-visible{--chats-row: var(--card-hover)}.chats-list-go{position:absolute;top:0;right:0;bottom:0;z-index:1;display:flex;align-items:center;justify-content:flex-end;width:92px;padding-right:12px;color:var(--ink);background:linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--chats-row) 58%,transparent) 36%,var(--chats-row) 68%);opacity:0;pointer-events:none;transition:opacity var(--motion-fast) var(--ease-out)}.chats-list-go svg{flex:0 0 auto;opacity:0;transform:translate(10px);filter:drop-shadow(0 0 12px var(--chats-row));transition:opacity var(--motion-fast) var(--ease-out),transform var(--motion-medium) var(--ease-spring)}@media(hover:hover)and (pointer:fine){.chats-list-item:hover .chats-list-go,.chats-list-item:hover .chats-list-go svg{opacity:1}.chats-list-item:hover .chats-list-go svg{transform:translate(0)}.chats-list-item:hover .chats-list-when{max-width:0;opacity:0}}.chats-list-item:focus-visible .chats-list-go,.chats-list-item:focus-visible .chats-list-go svg{opacity:1}.chats-list-item:focus-visible .chats-list-go svg{transform:translate(0)}.chats-list-item:focus-visible .chats-list-when{max-width:0;opacity:0}.chats-list-art{align-self:flex-start;flex:0 0 auto;width:40px;aspect-ratio:1;overflow:hidden;border-radius:50%;background:color-mix(in srgb,var(--ink) 6%,var(--card))}.chats-list-art img{width:100%;height:100%;object-fit:cover}.chats-list-art>.chats-list-art-skeleton,.chats-list-item-skeleton>.chats-list-art-skeleton{display:block;border-radius:50%;background:linear-gradient(90deg,color-mix(in srgb,var(--ink) 6%,var(--card)),color-mix(in srgb,var(--ink) 10%,var(--card)),color-mix(in srgb,var(--ink) 6%,var(--card)));background-size:200% 100%;animation:chats-skeleton-shimmer 1.2s ease-in-out infinite}.chats-list-art>.chats-list-art-skeleton{width:100%;height:100%}.chats-list-item-skeleton>.chats-list-art-skeleton{flex:0 0 40px;width:40px;height:40px}.chats-list-item-skeleton{pointer-events:none}.chats-list-skeleton-line{display:block;height:12px;border-radius:999px;background:color-mix(in srgb,var(--ink) 8%,var(--card))}.chats-list-skeleton-line-title{width:62%;height:14px;margin-bottom:8px}.chats-list-item-skeleton .chats-list-copy{display:grid;gap:8px;flex:1;min-width:0}@keyframes chats-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.chats-list-copy{flex:1;min-width:0;display:grid;gap:4px}.chats-list-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0}.chats-list-copy strong{overflow:hidden;font-size:14px;font-weight:500;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}.chats-list-speaker{display:flex;align-items:center;gap:6px;min-width:0;overflow:hidden;color:var(--ink);font-size:14px;font-weight:400;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}.chats-list-speaker-art{flex:0 0 auto;width:14px;height:14px;overflow:hidden;border-radius:50%;background:color-mix(in srgb,var(--ink) 6%,var(--card))}.chats-list-speaker-art img{width:100%;height:100%;object-fit:cover}.chats-list-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.chats-list-preview{flex:1;min-width:0;overflow:hidden;color:var(--muted);font-size:14px;font-weight:400;line-height:1.35;white-space:nowrap;text-overflow:ellipsis}.chats-list-when{flex:0 1 auto;max-width:12em;overflow:hidden;color:var(--muted);font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;transition:opacity var(--motion-fast) var(--ease-out),max-width var(--motion-medium) var(--ease-out)}.chats-list-unread{flex:0 0 auto;min-width:18px;height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;border-radius:999px;background:#fff;color:#17181c;font-size:10px;font-weight:650;line-height:1;text-align:center}.world-back{justify-self:start}.world-hero{display:grid;gap:14px;min-width:0}.world-copy{display:grid;gap:12px;align-content:start;min-width:0}.world-copy .detail-tags{margin-top:2px}.plot-hashtags{margin:0;overflow:hidden;color:var(--muted);font-size:var(--type-meta);line-height:1.35;white-space:nowrap;text-overflow:ellipsis}.detail-tags span{padding:2px 8px;color:var(--muted);background:transparent;border:1px solid var(--line-strong);border-radius:6px;font-weight:500}.world-copy .feed-notice{padding:0;text-align:left}.world-head{display:grid;gap:6px;min-width:0}.world-head h1{margin:0;font-size:26px}.world-head p{margin:0;color:var(--muted)}.world-actions{display:flex;gap:9px;flex-wrap:wrap}.view-plot .page-content{--plot-page-max: 512px;padding:0 0 28px}.plot-loading,.plot-loading-error{position:relative;display:grid;place-items:center;width:100%;min-height:calc(100dvh - 160px);justify-items:center;gap:16px}.plot-loading-error{padding:72px 24px 32px;text-align:center}.plot-loading-error h1{margin:0;font-family:var(--font-story);font-size:var(--type-page-title);font-weight:600}.plot-loading-error p{margin:0;color:var(--muted);max-width:36ch}.plot-loading-back{position:absolute;top:16px;left:16px;z-index:2}@media(max-width:640px){.view-plot .plot-loading,.view-plot .plot-loading-error{min-height:100dvh}}.view-home .page-content{padding-top:0}.world-page-poster{max-width:none;width:100%;gap:0}.world-page-mobile{--plot-page-gutter: 20px;--plot-hero-art-width: min(300px, 100%);--plot-section-gap: 48px;--plot-section-title-gap: 14px;width:min(100%,var(--plot-page-max, 512px));max-width:var(--plot-page-max, 512px);margin:0 auto}.world-page-mobile .world-hero.has-art{position:relative;display:grid;gap:16px;height:auto;padding:max(12px,env(safe-area-inset-top)) var(--plot-page-gutter) 0;overflow:visible}.world-page-mobile .world-hero-art{position:relative;width:var(--plot-hero-art-width);max-height:380px;margin:0 auto;aspect-ratio:3 / 4;overflow:hidden;border-radius:14px}.world-page-mobile .world-hero-art:after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:42%;border-radius:0 0 14px 14px;background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--paper) 30%,transparent) 48%,color-mix(in srgb,var(--paper) 68%,transparent) 100%);pointer-events:none}.world-page-mobile .world-hero:not(.has-art){position:relative;min-height:120px;padding-top:max(12px,env(safe-area-inset-top))}.world-page-mobile .world-hero-cover{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center top}.world-page-mobile .world-hero-title{position:relative;left:auto;right:auto;bottom:auto;z-index:2}.world-page-mobile .world-hero-title h1{margin:0;color:var(--ink);font-size:28px;line-height:1.28;font-weight:700}.world-page-mobile .world-hero:not(.has-art) .world-hero-title{padding:56px var(--plot-page-gutter) 0}.world-page-mobile .world-hero:not(.has-art) .world-hero-title h1{color:var(--ink);text-shadow:none}.world-page-mobile .world-back{position:absolute;z-index:3;top:max(12px,env(safe-area-inset-top));left:var(--plot-page-gutter);color:var(--ink);background:transparent;border:0}.world-page-mobile .world-hero.has-art .world-back{color:#fff;filter:drop-shadow(0 1px 6px rgba(0,0,0,.45))}.world-page-mobile .world-body{width:100%;max-width:none;margin:12px 0 0;padding:0 var(--plot-page-gutter) 88px;gap:var(--plot-section-gap);box-sizing:border-box}.world-intro{display:grid;gap:10px}.world-page-mobile .world-enter{width:100%;max-width:none;margin:0;padding:14px var(--plot-page-gutter) 16px;box-sizing:border-box}.world-page-poster.world-page-mobile .world-body,.world-page-poster.world-page-mobile .world-enter{width:100%;max-width:none;margin-left:0;margin-right:0}.world-page-mobile .world-hero:not(.has-art) .world-back{color:var(--ink)}.world-page-mobile .world-premise{margin:0;font-size:15px;line-height:1.45}.world-page-mobile .plot-hashtags{margin:0;color:var(--muted);font-size:13px;line-height:1.35}.plot-author-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:center}.plot-author-avatar{width:36px;height:36px;display:block;flex:0 0 36px;object-fit:cover;border-radius:50%;background:var(--accent-deep, #6a7ff0)}.plot-author-copy{display:grid;gap:2px;min-width:0}.plot-author-copy strong{font-size:14px;font-weight:800;line-height:1.2}.profile-avatar-image{position:relative;display:grid;place-items:center;width:100%;height:100%;overflow:hidden;border-radius:inherit}.profile-avatar-image>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.profile-avatar-image>svg{width:60%;height:60%}.plot-author-copy span{color:var(--muted);font-size:12px;line-height:1.2}.plot-conversation-stat{margin:0;color:var(--muted);font-size:13px}.plot-cast-list{display:grid;gap:10px}.plot-cast-card{container-type:inline-size;display:grid;gap:10px;padding:12px;border-radius:12px;background:var(--card)}@container (min-width: 420px){.plot-cast-card{grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:0;align-items:start}.plot-cast-card>.cast-gallery,.plot-cast-card>.plot-cast-portrait-fallback{grid-column:1;grid-row:1}.plot-cast-card>.plot-cast-copy{grid-column:2;grid-row:1;display:grid;gap:6px;min-width:0;align-self:start}}.plot-cast-copy{display:grid;gap:6px;min-width:0}.plot-cast-card strong{font-size:14px;font-weight:800;line-height:1.3}.plot-cast-card .story-markdown{color:var(--muted);font-size:13px;line-height:1.45}.plot-cast-card .cast-gallery{width:fit-content}.plot-cast-card .cast-gallery-main{display:block;width:96px;aspect-ratio:3 / 4;height:auto;max-height:128px;object-fit:cover;border-radius:10px}.plot-cast-portrait-fallback{display:grid;place-items:center;overflow:hidden;width:96px;aspect-ratio:3 / 4;max-height:128px;border-radius:10px;color:var(--accent-dark);background:var(--accent-soft);font-size:32px;font-weight:800}.plot-you-name{display:block;font-size:14px;font-weight:800;line-height:1.3}.world-page-mobile .world-section{margin:0;font-size:17px;font-weight:700;line-height:1.2}.world-page-mobile .world-block{display:grid;gap:var(--plot-section-title-gap)}.world-page-mobile .world-block:has(.plot-intro){gap:var(--plot-section-title-gap)}.plot-intro{--chat-prose-size: 14px;display:grid;gap:12px;width:100%;margin:0}.world-page-poster .world-hero{position:relative;gap:0}.world-page-poster .world-hero:not(.has-art){padding:16px 20px 0}.world-page-poster .world-stage{position:relative;display:grid;justify-items:center;padding:24px 20px 28px;overflow:hidden}.world-page-poster .world-wash{position:absolute;top:0;right:0;bottom:0;left:0}.world-page-poster .world-wash img{width:100%;height:100%;object-fit:cover;filter:blur(32px) saturate(1.15);transform:scale(1.14)}.world-page-poster .world-wash:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#08080a75}.world-page-poster .world-hero.has-art .world-art{position:relative;z-index:1;width:min(280px,64vw);max-width:280px;aspect-ratio:.82;overflow:hidden;border-radius:16px;box-shadow:0 22px 56px #00000073}.world-page-poster .world-hero.has-art .world-art img{display:block;width:100%;height:100%;object-fit:cover}.world-page-poster .world-hero.has-art .world-back{position:absolute;z-index:2;top:16px;left:16px;color:#fff;background:#0000006b}.world-page-poster .world-copy,.world-page-poster .world-body{width:min(560px,calc(100% - 40px));margin:22px auto 0}.world-page-poster .world-copy{display:grid;gap:12px}.world-page-poster .world-head h1{font-size:30px;line-height:1.15;font-weight:600}.world-page-poster .world-body{display:grid;gap:20px;padding-bottom:88px}.world-page-poster.world-page-mobile .world-body{gap:var(--plot-section-gap)}.world-block{display:grid;gap:6px}.world-block .world-section,.world-block .world-about{margin:0}.world-page-poster .world-head p,.world-page-poster .world-about,.world-page-poster .feed-notice,.world-page-poster .cast-roster article p{font-size:var(--type-control);line-height:1.45}.world-page-poster .world-section,.world-page-poster .cast-roster strong{font-size:var(--type-body);line-height:1.35}.world-page-poster .world-description,.world-page-poster .teaser-prompts-copy,.world-page-poster .cast-feature-copy p{font-size:var(--type-body);line-height:1.55}.world-page-poster .teaser-prompt-grid button{font-size:var(--type-control)}.world-page-poster .teaser-prompts{margin:8px 0 0}.world-page-poster .world-remix{width:fit-content;padding:0;color:var(--muted);background:transparent;border:0;font-size:13px}.world-page-poster .world-enter{position:sticky;bottom:0;z-index:9;width:min(560px,calc(100% - 40px));margin:0 auto;padding:14px 0 16px;background:linear-gradient(180deg,transparent,var(--paper) 38%)}.world-page-poster .world-enter .enter-story{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border:0;font-size:15px;font-weight:700}.world-page-poster .world-enter .enter-story.secondary{color:var(--ink);background:var(--card);border:1.5px solid var(--ink)}.world-chat-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.world-chat-actions>.enter-story:only-child{grid-column:1 / -1}.enter-story.secondary{color:var(--ink);background:var(--control-outline-bg);border:1.5px solid var(--control-outline)}.enter-story.secondary:hover:not(:disabled){border-color:var(--control-outline-hover);background:var(--control-outline-bg-hover)}@media(max-width:640px){:root{--mobile-nav-height: calc(53px + max(12px, env(safe-area-inset-bottom))) ;--mobile-bottom-chrome: calc(var(--mobile-nav-height) + 16px)}.app-shell.view-plot .topbar{display:none}.view-plot .page-content{padding:0 0 var(--mobile-bottom-chrome)}.world-page-poster .world-stage{padding:0;justify-items:stretch}.world-page-poster .world-hero.has-art .world-art{position:relative;width:100%;max-width:none;aspect-ratio:auto;height:min(42vh,360px);max-height:42vh;border-radius:0;box-shadow:none}.world-page-poster .world-hero.has-art .world-art:after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:58%;background:linear-gradient(180deg,transparent 0%,color-mix(in srgb,var(--paper) 72%,transparent) 52%,var(--paper) 100%);pointer-events:none}.world-page-poster .world-hero.has-art .world-art img{object-position:top center}.world-page-poster .world-hero.has-art .world-back{top:max(12px,env(safe-area-inset-top));left:var(--mobile-gutter, 17px)}.world-page-poster .world-copy{position:relative;z-index:2;margin-top:-56px}.world-page-poster .world-head h1{font-size:24px;line-height:1.2;font-weight:600}.world-page-poster .world-head p{color:#ededf1}.world-page-poster .plot-hashtags{font-size:var(--type-meta)}.world-page-poster .world-enter .enter-story{font-size:var(--type-control)}.world-page-poster .world-copy,.world-page-poster .world-body,.world-page-poster .world-enter{width:min(560px,calc(100% - 32px))}.world-page-poster.world-page-mobile .world-body,.world-page-poster.world-page-mobile .world-enter{width:100%;max-width:none}.world-page-poster .world-enter{bottom:var(--mobile-nav-height);padding-bottom:max(10px,env(safe-area-inset-bottom))}.creator-hub-drafts{max-height:none;padding-bottom:calc(76px + var(--mobile-bottom-chrome))}}@media(prefers-reduced-motion:reduce){.creator-library .creator-hub-drafts>.creator-story-card:hover:after,.creator-library .creator-hub-drafts>.creator-story-card:focus-visible:after{animation:none}.creator-story-cover>img{transition:none}.creator-story-card:hover .creator-story-cover>img,.creator-story-card:focus-visible .creator-story-cover>img{transform:none}.world-page-poster .world-wash img{filter:saturate(1.05);transform:none;opacity:.55}}.world-section{margin:10px 0 0;font-size:15px;font-weight:800}.world-page-poster .world-section{font-weight:600}.world-hint{margin:0;color:var(--muted);font-size:12px}.world-thread{display:flex;align-items:center;gap:11px;width:100%;padding:11px 13px;text-align:left;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:12px}.world-thread:hover{border-color:var(--accent-border)}.world-thread>span:nth-child(2){flex:1;min-width:0;display:grid;gap:2px}.world-thread strong{font-size:13px}.world-thread small{color:var(--muted);font-size:12px}.world-thread-icon{display:grid;place-items:center;width:34px;height:34px;color:var(--accent-dark);background:var(--accent-soft);border-radius:10px}.chats-row{padding:0;display:flex;align-items:stretch}.chats-row.dragging{opacity:.55}.chats-row.drag-over{border-color:var(--accent-dark);box-shadow:inset 3px 0 var(--accent)}.chat-drag-handle,.chat-favorite{align-self:stretch;display:grid;place-items:center;padding:0;color:#74747e;background:transparent;border:0}.chat-drag-handle{width:34px;cursor:grab;border-right:1px solid var(--line)}.chat-drag-handle:active{cursor:grabbing}.chat-drag-handle:hover,.chat-drag-handle:focus-visible{color:var(--accent-dark)}.chat-favorite:hover,.chat-favorite:focus-visible,.chat-favorite.active{color:var(--like)}.chats-row .chats-open{flex:1;min-width:0;display:flex;align-items:center;gap:11px;padding:11px 13px;text-align:left;color:inherit;background:transparent;border:0}.chats-row .chats-open>span:nth-child(2){flex:1;min-width:0;display:grid;gap:2px}.chats-row .chats-open:disabled{opacity:.55}.chat-row-actions{display:flex;align-items:stretch;padding-right:7px}.chat-row-actions>button{width:34px;min-height:42px}.chat-row-actions>.icon-button{align-self:center}.world-art{max-width:340px;aspect-ratio:.82;overflow:hidden;border-radius:14px}.world-about{margin:4px 0 0;color:var(--muted);line-height:1.55}.world-description{margin:0;color:var(--ink);line-height:1.6}.story-markdown{min-width:0;overflow-wrap:anywhere;white-space:normal;font-synthesis:style}.story-markdown>:first-child{margin-top:0}.story-markdown>:last-child{margin-bottom:0}.world-page .story-markdown p{margin:0 0 .75em}.world-page .story-markdown>:last-child{margin-bottom:0}.story-markdown h3,.story-markdown h4,.story-markdown h5,.story-markdown h6{margin:1.2em 0 .45em;font-size:1.05em;color:var(--ink)}.story-markdown ul,.story-markdown ol{padding-left:1.5em}.story-markdown blockquote{margin-inline:0;padding-left:1em;border-left:3px solid var(--muted)}.story-markdown pre,.story-markdown-table{overflow-x:auto}.story-markdown a{color:var(--accent);text-decoration:underline}.story-markdown th,.story-markdown td{padding:.4em .7em;text-align:start}.world-description .story-markdown.world-action{color:var(--muted);font-style:italic}.opening-notice,.plot-translation-notice{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid color-mix(in srgb,var(--accent) 20%,transparent);border-radius:18px;background:var(--card);color:var(--ink)}.opening-notice{position:relative;overflow:hidden;padding-bottom:19px}.opening-notice-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--accent)}.opening-notice>div{display:grid;gap:4px;min-width:0}.opening-notice strong{font-size:14px;line-height:1.4}.opening-notice small{font-size:13px;line-height:1.45;color:var(--muted)}.opening-notice-progress{position:absolute;bottom:0;left:0;height:3px;width:35%;background:var(--accent);border-radius:3px;animation:opening-progress 1.8s ease-in-out infinite}@keyframes opening-progress{0%{transform:translate(-110%)}to{transform:translate(390%)}}@media(prefers-reduced-motion:reduce){.opening-notice-progress{animation:none;width:100%;opacity:.45}}.plot-translation-notice{align-items:flex-start}.plot-translation-notice p{margin:0;flex:1;color:var(--muted);font-size:14px}.plot-translation-notice button{flex:0 0 auto;border:0;border-radius:20px;padding:8px 12px;color:var(--ink);background:color-mix(in srgb,var(--accent) 15%,transparent)}.world-intro-line{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start}.world-intro-avatar{width:36px;height:36px;object-fit:cover;border-radius:50%}.world-intro-avatar-fallback{display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);font-size:13px;font-weight:700}.world-description-toggle{width:fit-content;margin-top:-3px;padding:0;color:var(--accent);border:0;background:transparent;font-size:13px;font-weight:650}.world-page .detail-expect,.world-page .example-exchange{margin-top:4px}.cast-roster{grid-template-columns:1fr;gap:12px}.cast-roster article{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:start;padding:14px}.cast-roster article p{display:block;overflow:visible;-webkit-line-clamp:unset;margin:0;color:var(--muted);line-height:1.45}.cast-roster article>div{min-width:0;display:grid;gap:4px;align-content:start}.cast-roster strong{font-weight:700;line-height:1.3}.cast-avatar{flex:0 0 auto;width:92px;height:92px;object-fit:cover;border-radius:12px}.cast-avatar-fallback{display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);font-size:17px;font-weight:700}.world-actions button{height:46px;display:inline-flex;align-items:center;gap:8px;padding:0 20px;border:0;border-radius:12px;font-size:14px;font-weight:700}.world-actions .primary{color:var(--action-fg);background:var(--action-bg)}.world-actions .primary:hover{background:var(--action-hover)}.world-actions .secondary{color:var(--ink);background:var(--control-outline-bg);border:1.5px solid var(--control-outline)}.world-actions .secondary:hover:not(:disabled){border-color:var(--control-outline-hover);background:var(--control-outline-bg-hover)}.cast-roster article{cursor:pointer;transition:border-color .15s ease}.cast-roster article:hover{border-color:var(--accent-border)}.cast-roster article.active{border-color:var(--accent);background:var(--accent-soft)}.cast-roster article.cast-you{cursor:default}.cast-feature{display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:16px;margin:2px 0 14px;padding:16px;background:var(--card);border:1px solid var(--accent-border);border-radius:14px}.cast-feature-copy{min-width:0;display:grid;gap:8px;align-content:start}.cast-feature-copy h3{margin:0;font-size:20px;font-weight:800}.cast-feature-copy p{margin:0;color:var(--ink);font-size:13px;line-height:1.6}.cast-gallery{display:grid;gap:8px;align-content:start}.cast-gallery-main{width:100%;aspect-ratio:.82;object-fit:cover;border-radius:12px}.cast-gallery-thumbs{display:flex;gap:6px}.cast-gallery-thumbs button{width:46px;height:46px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:9px;background:none}.cast-gallery-thumbs button.active{border-color:var(--accent)}.cast-gallery-thumbs img{width:100%;height:100%;object-fit:cover}.cast-feature-fallback{width:100%;aspect-ratio:.82;border-radius:12px;font-size:44px}@media(max-width:640px){.cast-feature{grid-template-columns:1fr}}.chat-panel{--chat-thread-max: 512px;--chat-prose-size: 14px;width:min(680px,100vw);height:var(--app-height);color:#f4f4f5;background:#101012;box-shadow:-24px 0 70px #0000008c;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell.view-chat{height:var(--app-height);max-height:var(--app-height);min-height:0;overflow:hidden}.app-shell.view-chat .main-area{overflow:hidden;height:100%;min-height:0;display:flex;flex-direction:column}@media(min-width:641px){.chat-sidebar-scrim{display:none}.app-shell.view-chat>.sidebar,.app-shell.view-chat>.main-area{transition:transform .2s var(--ease-out),margin-left .2s var(--ease-out)}.app-shell.view-chat:not(.chat-sidebar-open)>.sidebar{transform:translate(-100%)}.app-shell.view-chat:not(.chat-sidebar-open)>.main-area{margin-left:0}.app-shell.view-chat.chat-sidebar-open>.sidebar .sidebar-close{display:flex}}@media(min-width:1300px){.app-shell.view-chat>.sidebar{transform:none}.app-shell.view-chat>.main-area{margin-left:300px}.app-shell.view-chat.chat-sidebar-open>.sidebar .sidebar-close,.app-shell.view-chat>.sidebar .sidebar-close,.app-shell.view-chat .chat-sidebar-trigger{display:none}}.app-shell.view-chat .topbar{display:none}.app-shell.view-chat .page-content{display:flex;flex:1;flex-direction:column;min-height:0;max-width:none;margin:0;padding:0}.app-shell.view-chat .chat-panel{position:relative;inset:auto;z-index:auto;width:100%;max-width:none;height:100%;min-height:0;flex:1;box-shadow:none;animation:none}.app-shell.view-chat .chat-header-floating{position:absolute;z-index:15;inset:12px 12px auto;min-height:44px;justify-content:space-between;padding:0;background:transparent;border:0;pointer-events:none}.app-shell.view-chat .chat-header-floating>button{color:#f4f4f5;background:#18181bc7;box-shadow:0 4px 18px #0003;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto}.app-shell.view-chat .chat-info-open{--chat-info-width: clamp(320px, 27vw, 390px)}.chat-header>.chat-responsive-story,.chat-tools-responsive,.chat-info-responsive-close{display:none}@media(min-width:1300px){.app-shell.view-chat .chat-info-open .chat-header-floating{right:calc(var(--chat-info-width) + 12px)}.app-shell.view-chat .chat-info-open .messages,.app-shell.view-chat .chat-info-open .chat-dock{width:calc(100% - var(--chat-info-width))}.app-shell.view-chat .chat-info-open .messages{padding-left:max(22px,calc((100% - var(--chat-info-width) - var(--chat-thread-max)) / 2));padding-right:max(22px,calc((100% - var(--chat-info-width) - var(--chat-thread-max)) / 2))}.app-shell.view-chat .chat-info-open .chat-dock{padding-left:max(8px,calc((100% - var(--chat-info-width) - var(--chat-thread-max)) / 2));padding-right:max(8px,calc((100% - var(--chat-info-width) - var(--chat-thread-max)) / 2))}}.chat-info-sidebar{position:absolute;z-index:18;inset:0 0 0 auto;width:var(--chat-info-width);overflow-y:auto;padding:0 22px 32px;color:#f4f4f5;background:#151517;border-left:1px solid #2b2b2f;overscroll-behavior:contain}.chat-info-sidebar>header{position:sticky;z-index:2;top:0;min-height:64px;display:flex;align-items:center;justify-content:space-between;background:#151517}.chat-info-sidebar>header strong{font-size:15px}.chat-info-sidebar h2,.chat-info-sidebar h3,.chat-info-sidebar p{margin:0}.chat-info-sidebar h3{margin-bottom:14px;color:#b8b8c0;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.chat-info-identity{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:14px;padding:14px 0 22px}.chat-info-avatar{width:68px;height:68px;overflow:hidden;display:grid;place-items:center;background:#252529;border-radius:20px}.chat-info-avatar img{object-position:center 22%}.chat-info-identity h2{font-size:20px;line-height:1.2}.chat-info-identity p{margin-top:6px;color:#9999a2;font-size:13px}.chat-info-about,.chat-info-cast,.chat-info-settings{padding:22px 0;border-top:1px solid #2b2b2f}.chat-info-about>p{display:-webkit-box;overflow:hidden;color:#c5c5cb;font-size:14px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:5}.chat-info-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.chat-info-stats>div{display:grid;gap:4px;padding:12px;background:#202024;border-radius:12px}.chat-info-stats span,.chat-info-warnings>span,.chat-info-settings small{color:#92929b;font-size:12px;font-weight:600}.chat-info-stats strong{font-size:14px;text-transform:capitalize}.chat-info-warnings{display:grid;gap:9px;margin-top:16px}.chat-info-warnings>div{display:flex;flex-wrap:wrap;gap:7px}.chat-info-warnings>div>span{padding:5px 9px;color:#c8c8ce;background:#202024;border-radius:999px;font-size:12px}.chat-info-cast>div{display:grid;gap:8px}.chat-info-cast article{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px}.chat-info-cast article>span,.chat-info-cast article>.chat-info-cast-portrait{width:40px;height:40px;overflow:hidden;display:grid;place-items:center;color:#9999a2;background:#252529;border-radius:50%}.chat-info-cast article>div,.chat-info-settings button>span:nth-child(2),.chat-info-setting-row>span:nth-child(2){min-width:0;display:grid;gap:3px}.chat-info-cast article strong,.chat-info-cast article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-info-cast article strong{font-size:13px}.chat-info-cast article small{color:#92929b;font-size:12px}.chat-info-settings button,.chat-info-setting-row{width:100%;min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:8px 4px;color:inherit;text-align:left;background:transparent;border:0}.chat-info-settings button:hover{background:#202024;border-radius:11px}.chat-info-setting-icon{width:38px;height:38px;display:grid;place-items:center;color:#c7c7ce;background:#242428;border-radius:50%}.chat-info-settings strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.chat-info-setting-row>span:last-child,.chat-info-settings button>svg{color:#85858e}.chat-info-scrim{display:none}.chat-info-sidebar.chat-info-dm>header strong{font-size:15px}.chat-info-profile{display:grid;justify-items:center;gap:12px;padding:10px 0 22px;text-align:center}.chat-info-profile-portrait{width:116px;height:116px;overflow:hidden;display:grid;place-items:center;padding:0;color:#9999a2;background:#252529;border:0;border-radius:50%;cursor:pointer}.chat-info-profile-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 18%}.chat-info-profile-portrait:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.chat-info-profile h2{font-size:22px;line-height:1.2}.chat-info-profile p{max-width:30ch;color:#9999a2;font-size:13px;line-height:1.45}.chat-info-profile-actions{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;width:100%;margin-top:6px}.chat-info-profile-actions button{min-height:62px;display:grid;justify-items:center;gap:6px;padding:10px 6px;color:#e4e4e8;background:#202024;border:0;border-radius:14px;font-size:12px;font-weight:600}.chat-info-profile-actions button:hover{background:#2a2a2f}.chat-info-profile-actions button>svg{color:#c7c7ce}.chat-info-dm-about,.chat-info-photos,.chat-info-dm-settings{padding:22px 0;border-top:1px solid #2b2b2f}.chat-info-dm-about>p{color:#c5c5cb;font-size:14px;line-height:1.55}.chat-info-photos>div{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.chat-info-photo{aspect-ratio:1;overflow:hidden;display:block;padding:0;background:#202024;border:0;border-radius:12px;cursor:pointer}.chat-info-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%}.chat-info-photo:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-info-dm-settings button,.chat-info-dm-settings .chat-info-setting-row{width:100%;min-height:58px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:8px 4px;color:inherit;text-align:left;background:transparent;border:0}.chat-info-dm-settings button:hover{background:#202024;border-radius:11px}.chat-info-dm-settings button>span:nth-child(2),.chat-info-dm-settings .chat-info-setting-row>span:nth-child(2){min-width:0;display:grid;gap:3px}.chat-info-dm-settings small{color:#92929b;font-size:12px;font-weight:600}.chat-info-dm-settings strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.chat-info-dm-settings button>svg{color:#85858e}.theme-light.app-shell.view-chat .chat-header-floating>button{color:var(--ink);background:#ffffffd1}.theme-light .chat-info-sidebar{color:var(--ink);background:#fff;border-left-color:var(--line)}.theme-light .chat-info-sidebar>header{background:#fff}.theme-light .chat-info-about,.theme-light .chat-info-cast,.theme-light .chat-info-settings{border-top-color:var(--line)}.theme-light .chat-info-stats>div,.theme-light .chat-info-warnings>div>span,.theme-light .chat-info-setting-icon{color:var(--ink);background:#f2f1ee}.theme-light .chat-info-settings button:hover{background:#f5f4f1}@media(max-width:1299px){.app-shell.view-chat>.main-area{width:100%;margin-left:0}.app-shell.view-chat .chat-header-floating{position:relative;inset:auto;min-height:64px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px;padding:9px 14px;background:#111114f5;border-bottom:1px solid #2b2b2f;pointer-events:auto;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.app-shell.view-chat .chat-header-floating>button{background:#202024;box-shadow:none}.chat-header>.chat-responsive-story{min-width:0;display:flex;align-items:center;gap:11px}.chat-responsive-story>span{flex:0 0 40px;width:40px;height:40px;overflow:hidden;border-radius:50%;background:#252529}.chat-responsive-story>div{min-width:0;display:grid;gap:3px}.chat-responsive-story strong,.chat-responsive-story small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-responsive-story strong{font-size:15px}.chat-responsive-story small{color:#9999a2;font-size:12px}.chat-tools-responsive,.chat-info-responsive-close{display:grid}.app-shell.view-chat .chat-info-open .messages,.app-shell.view-chat .chat-info-open .chat-dock{width:100%}.app-shell.view-chat .messages{padding-top:22px}.chat-info-sidebar{display:none;width:min(390px,calc(100% - 24px));box-shadow:-24px 0 60px #0000006b}.chat-info-drawer-open .chat-info-sidebar{display:block}.chat-info-drawer-open .chat-info-scrim{position:absolute;z-index:17;top:0;right:0;bottom:0;left:0;display:block;padding:0;background:#00000061;border:0}}@media(min-width:641px)and (max-width:1299px){.theme-light.app-shell.view-chat .chat-header-floating{background:#fffffff5;border-bottom-color:var(--line)}.theme-light.app-shell.view-chat .chat-header-floating>button{background:#f2f1ee}}.app-shell.view-chat .messages{max-width:none;margin:0;padding-top:72px;padding-left:max(22px,calc((100% - var(--chat-thread-max)) / 2));padding-right:max(22px,calc((100% - var(--chat-thread-max)) / 2));display:flex;flex-direction:column;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.app-shell.view-chat .messages:before{content:"";flex:1 1 auto}.app-shell.view-chat .chat-dock{flex:0 0 auto;width:100%;display:grid;gap:8px;padding:0 max(8px,calc((100% - var(--chat-thread-max)) / 2)) max(8px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,#101012 38%)}.app-shell.view-chat .chat-dock .suggestions,.app-shell.view-chat .chat-dock .edit-notice,.app-shell.view-chat .chat-dock .sync-notice{max-width:none;width:100%;margin:0;padding:0}.app-shell.view-chat .chat-dock .auto-retry-notice{max-width:none;width:100%;margin:0}.app-shell.view-chat .composer{--composer-rail-border: #303034;--composer-shell-bg: #22242a;--composer-shell-inset-y: 4px;--composer-shell-inset-x: 4px;--composer-field-inset-x: 6px;--composer-field-inset-y-top: 8px;--composer-field-inset-y-bottom: 4px;--composer-control-size: 32px;--composer-content-inset-x: calc( 1px + var(--composer-shell-inset-x) + var(--composer-field-inset-x) );max-width:none;width:100%;margin:0;padding:0;display:grid;gap:7px;background:transparent;border:0}.chat-panel .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.chat-header{min-height:68px;flex:0 0 auto;gap:10px;padding:8px 16px;background:#121214;border-color:#2b2b2f}.chat-header>.icon-button{width:44px;height:44px;flex:0 0 auto;color:#f4f4f5}.chat-header .chat-title{min-width:0;flex:1;display:block}.chat-header .chat-title strong{display:block;overflow:hidden;font-family:inherit;font-size:18px;font-weight:700;letter-spacing:-.2px;text-overflow:ellipsis;white-space:nowrap}.chat-model-select{position:relative;min-width:0;height:auto;display:inline-flex;align-items:center;gap:1px;padding:5px 10px 5px 12px;color:#f4f4f5;background:#242426;border:1px solid #303034;border-radius:999px}.chat-model-select>span{padding:0;font-size:14px;font-weight:700;line-height:1.2}.chat-model-select select{width:100%;height:100%;padding:0;color:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;outline:0;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.chat-model-select svg{position:static;flex:0 0 auto;pointer-events:none;color:#aaa8ae;transform:rotate(90deg)}.chat-model-select:focus-within{outline:2px solid var(--accent);outline-offset:2px}.chat-tools-trigger{border-radius:50%}.chat-sidebar-trigger{border-radius:10px}.app-shell.chat-sidebar-open .chat-sidebar-trigger{visibility:hidden}.chat-tools-menu{position:absolute;z-index:14;top:62px;right:16px;width:min(300px,calc(100vw - 32px));display:grid;gap:3px;padding:7px;background:#1a1a1d;border:1px solid #303034;border-radius:14px;box-shadow:0 18px 45px #0000006b}.chat-tools-menu button{min-height:52px;display:flex;align-items:center;gap:12px;padding:9px 11px;color:#f4f4f5;text-align:left;background:transparent;border:0;border-radius:9px}.chat-tools-menu button:hover{background:#242426}.chat-tools-menu button>span{min-width:0;flex:1;display:grid;gap:1px}.chat-tools-menu small{color:#77777f;font-size:12px}.chat-tools-menu strong{overflow:hidden;font-size:13px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.chat-tools-menu svg{color:#77777f}.chat-model-menu{position:absolute;z-index:14;top:62px;right:74px;width:190px;display:grid;gap:3px;padding:7px;background:#1a1a1d;border:1px solid #303034;border-radius:14px;box-shadow:0 18px 45px #0000006b}.chat-model-menu button{min-height:52px;display:flex;align-items:center;gap:10px;padding:9px 11px;color:#f4f4f5;text-align:left;background:transparent;border:0;border-radius:9px}.chat-model-menu button:hover,.chat-model-menu button[aria-checked=true]{background:#242426}.chat-model-menu button>span{min-width:0;flex:1;display:grid;gap:2px}.chat-model-menu small{color:#888890;font-size:12px}.chat-drawer-scrim{position:absolute;z-index:6;top:68px;right:0;bottom:0;left:0;width:100%;padding:0;border:0;background:#0000006b}.context-strip{display:none}.branch-tray,.persona-tray{top:72px;max-height:calc(100dvh - 90px);overflow-y:auto;color:#e8e8eb;background:#1a1a1d;border-color:#303034;box-shadow:0 18px 45px #0000006b}.context-drawer{top:72px;max-height:calc(100dvh - 90px);overflow-y:auto;color:#e8e8eb;background:#1a1a1d;border:1px solid #303034;box-shadow:0 18px 45px #0000006b}.branch-tray>button.active,.branch-tray>.branch-item.active{color:#f4f4f5;background:#29292d;border-color:#444449}.branch-tray>div button,.branch-tray .branch-item .branch-actions button{color:#d6d6da;background:#29292d}.persona-tray>.cast-tray-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.cast-tray-head>span{min-width:0;display:grid;gap:3px}.branch-tray>.cast-tray-head>.icon-button{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;padding:0}.branch-item .branch-select small,.persona-tray small{color:#888890}.context-drawer .eyebrow,.state-grid small,.context-summary,.context-summary strong,.context-summary small{color:#aaa8ae}.context-summary,.state-grid>div,.state-grid label{background:#222225;border-color:#343438}.context-actions button{color:#f4f4f5;background:#2a2a2e}.messages{width:100%;max-width:var(--chat-thread-max, 512px);margin:0 auto;padding:28px 22px 42px}.chapter-marker{gap:4px;margin:4px 0 30px}.chapter-marker span,.chapter-marker strong{color:#66666d}.conversation-day-marker{margin:8px 0 18px;color:#8e8e96;font-size:12px;font-weight:500;letter-spacing:.01em;text-align:center}.message-row{position:relative;gap:10px;margin:0 0 30px}.message-row:has(.world-reply){margin:0 0 12px}.message-row>div{position:relative;max-width:min(78%,540px)}.message-row:has(.world-reply)>div{flex:1;min-width:0;width:100%;max-width:none}.message-row>.avatar.tiny,.persona-message-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%}.message-row p,.typing{padding:14px 16px;color:#f4f4f5;background:#202023;border:0;border-radius:22px;box-shadow:none;font-size:16px;line-height:1.52}.message-row:has(.world-reply) p,.message-row:has(.world-reply) .typing{padding:0;color:inherit;background:transparent;border-radius:0}.message-row p,.world-narration p,.world-character-bubble p{white-space:pre-wrap;overflow-wrap:anywhere}.message-row.user p{color:#f4f4f5;background:#202023;border-radius:22px;font-family:inherit}.message-row.user:has(.world-reply) p{color:inherit;background:transparent;border-radius:0}.message-row.user p em{color:var(--user-action-ink, #7d3054);font-style:italic;font-weight:500}.message-row .persona-message-name{margin:0 3px 7px;color:#aaa8ae;font-size:12px;font-weight:600}.message-failure{margin:5px 4px 0!important;color:#aaa8ae!important;font-size:12px!important}.message-row:has(.speaker-segments)>div{flex:1;min-width:0;width:100%;max-width:none}.world-reply,.speaker-segments{gap:26px}.world-narration,.speaker-segments section.narration{gap:14px;padding:20px 0}.world-character-avatar,.segment-speaker{width:36px;height:36px;flex-basis:36px;align-self:end}:is(.message-row,.plot-intro) .world-reply{gap:12px;width:100%}.message-row .world-narration{position:relative}.message-row .world-narration p,.speaker-segments section.narration p{padding:0;color:#bbb8c1;background:transparent;font-size:var(--chat-prose-size, 14px);font-style:italic;line-height:1.58}:is(.message-row,.plot-intro) .world-character-turn{display:grid;grid-template-columns:36px minmax(0,max-content);column-gap:8px;align-items:start;width:fit-content;max-width:82%}:is(.message-row,.plot-intro) .world-character-turn .world-character-avatar{grid-column:1;grid-row:1;align-self:end}:is(.message-row,.plot-intro) .world-character-turn.world-player-turn{grid-template-columns:minmax(0,max-content) 36px;margin-left:auto}:is(.message-row,.plot-intro) .world-player-turn .world-character-avatar{grid-column:2;grid-row:1;background:#8fa9f5;color:#fff}:is(.message-row,.plot-intro) .world-character-turn .world-character-bubble{grid-column:2;grid-row:1}:is(.message-row,.plot-intro) .world-character-turn>.message-actions{grid-column:2;grid-row:2;justify-self:end;position:relative;right:auto;bottom:auto;height:auto;margin-top:2px}:is(.message-row,.plot-intro) .world-player-turn>.message-actions{grid-column:1}:is(.message-row,.plot-intro) .world-player-turn .world-character-bubble{grid-column:1;justify-self:end;border-radius:16px 16px 4px;background:#252d43}:is(.message-row,.plot-intro) .world-player-turn .world-character-bubble:after{left:auto;right:-6px;clip-path:polygon(0 15%,100% 100%,0 100%)}:is(.message-row,.plot-intro) .world-speaker-label{display:block;margin:0 0 4px;font-size:13px;font-weight:600;line-height:1.2}:is(.message-row,.plot-intro) .world-character-bubble>.world-speaker-label+*{margin-top:0}:is(.message-row,.plot-intro) .world-character-bubble>.world-speaker-label+.typing{margin-top:8px}:is(.message-row,.plot-intro) .world-character-bubble>div:not(.typing),:is(.message-row,.plot-intro) .world-character-bubble .story-markdown{display:flex;flex-direction:column;gap:1.15em}:is(.message-row,.plot-intro) .world-character-bubble>div+div{margin-top:1.15em}:is(.message-row,.plot-intro) .world-character-bubble{position:relative;display:grid;gap:0;width:fit-content;max-width:100%;min-width:0;padding:8px 12px 10px;color:#f2f1f4;background:#202024;border:0;border-radius:16px 16px 16px 4px;box-shadow:none;overflow:visible}:is(.message-row,.plot-intro) .world-character-bubble:after{content:"";position:absolute;left:-6px;bottom:0;width:6px;height:10px;background:inherit;clip-path:polygon(100% 15%,0 100%,100% 100%)}:is(.message-row,.plot-intro) .world-character-bubble p,:is(.message-row,.plot-intro) .world-character-bubble .story-markdown{margin:0;padding:0;color:#f2f1f4;background:transparent;font-size:var(--chat-prose-size, 14px);line-height:1.55}:is(.message-row,.plot-intro) .world-character-bubble p.world-action,:is(.message-row,.plot-intro) .world-character-bubble .story-markdown.world-action,:is(.message-row,.plot-intro) .world-character-bubble em{color:#bbb8c1;font-style:italic;line-height:1.58}.world-page .plot-intro .world-narration{gap:10px;padding:0;width:100%;max-width:none}.world-page .plot-intro .world-narration p,.world-page .plot-intro .world-narration .story-markdown,.world-page .plot-intro .world-narration .story-markdown p{margin:0;padding:0;color:var(--muted);font-size:15px;line-height:1.55;font-style:italic}.world-page .plot-intro .world-narration .story-markdown p+p{margin-top:.75em}.speaker-segments section.dialogue,.speaker-segments section.action{grid-template-columns:36px minmax(0,1fr);column-gap:10px}.speaker-segments section.dialogue p,.speaker-segments section.action p{padding:14px 16px;color:#f4f4f5;background:#202023;border:0;border-radius:22px;box-shadow:none;font-size:16px;line-height:1.52;width:fit-content;max-width:100%;min-width:0}.speaker-segments section.action p{color:#aaa8ae}.speaker-segments section>small{margin-bottom:7px;color:#aaa8ae;font-size:12px}.variant-picker{margin:7px 4px 0;color:#aaa8ae;background:transparent;font-size:12px}.variant-picker button{color:#aaa8ae}.message-actions{position:absolute;z-index:5;right:0;bottom:-28px;height:28px;display:flex;justify-content:flex-end;gap:6px;margin:0;color:color-mix(in srgb,var(--muted) 82%,transparent)}.message-row.user .message-actions{right:0}.message-actions .message-share-button,.message-actions .message-more-button{opacity:0;pointer-events:none;transition:opacity .15s,color .15s,background .15s}.message-row:hover .message-actions .message-share-button,.message-row:hover .message-actions .message-more-button,.message-actions.open .message-share-button,.message-actions.open .message-more-button,.message-actions:focus-within .message-share-button,.message-actions:focus-within .message-more-button{opacity:1;pointer-events:auto}.message-actions .message-share-button,.message-actions .message-more-button{width:28px;height:28px;color:var(--muted);background:var(--card);border-radius:50%}.message-actions .message-share-button:hover,.message-actions .message-more-button:hover,.message-actions.open .message-more-button{color:var(--ink);background:var(--card-hover)}.message-action-list{position:absolute;z-index:2;right:0;bottom:32px;width:196px;display:grid;gap:2px;padding:6px;color:#e8e8eb;background:#1a1a1d;border:1px solid #303034;border-radius:12px;box-shadow:0 16px 38px #0000006b}.message-actions .message-action-list button{width:100%;height:auto;min-height:36px;display:flex;justify-content:flex-start;gap:9px;padding:8px 9px;color:#d6d6da;background:transparent;border-radius:7px;font-size:12px;white-space:nowrap}.message-actions .message-action-list button:hover{color:#fff;background:#242426}.message-actions .message-action-list button.danger-action{color:#aaa8ae}.suggestions{max-width:var(--chat-thread-max, 512px);width:100%;margin:0 auto;padding:6px 18px}.suggestions button{color:#c8c8cf;background:var(--card);border:0}.sync-notice,.edit-notice,.report-dialog,.generation-failure{max-width:var(--chat-thread-max, 512px);width:calc(100% - 28px);margin:7px auto;color:#d6d6da;background:#1a1a1d;border-color:#303034}.chat-modal-scrim{position:absolute;z-index:16;top:0;right:0;bottom:0;left:0;display:flex;align-items:flex-end;justify-content:center;padding:18px;background:#000000a8}.chat-modal-scrim .report-dialog{width:min(430px,100%);max-width:430px;margin:0;padding:18px;color:#e8e8eb;background:#1a1a1d;border:0;border-radius:18px}.chat-modal-scrim .report-dialog label{color:#aaa8ae}.chat-modal-scrim .report-dialog small{color:#888890}.chat-modal-scrim .report-dialog select,.chat-modal-scrim .report-dialog textarea{color:#f4f4f5;background:#202023;border-color:#3a3a3f}.chat-modal-scrim .report-dialog button.submit-report{color:#f4f4f5;background:#303034}.response-drawer-scrim{position:fixed;z-index:30;top:0;right:0;bottom:0;left:0;border:0;background:#00000094}.response-action-drawer{position:fixed;z-index:31;left:50%;bottom:0;width:min(620px,100%);max-height:min(82dvh,720px);display:grid;gap:14px;padding:10px 20px max(22px,env(safe-area-inset-bottom));overflow-y:auto;color:#e8e8eb;background:#1a1a1d;border:0;border-radius:24px 24px 0 0;box-shadow:0 -20px 60px #0000006b;transform:translate(-50%);animation:response-drawer-in .2s ease-out}.response-drawer-handle{justify-self:center;width:42px;height:4px;background:#53535a;border-radius:999px}.response-action-drawer>div:first-of-type{display:grid;gap:4px}.response-action-drawer strong{font-size:17px}.response-action-drawer small{color:#96969e;font-size:12px;line-height:1.45}.response-action-drawer label{display:grid;gap:7px;color:#b6b4bc;font-size:12px;font-weight:700}.response-action-drawer textarea{width:100%;min-height:96px;padding:12px 13px;resize:vertical;color:#f4f4f5;background:#202023;border:1px solid #3a3a3f;border-radius:14px;font:inherit;line-height:1.5}.response-action-drawer>div:last-child{display:flex;justify-content:flex-end;gap:8px}.response-action-drawer button{min-height:40px;padding:8px 14px;color:#d4d4d9;background:#26262a;border:1px solid #343439;border-radius:999px;font-size:12px;font-weight:750}.response-action-drawer button.submit-report{color:#fff;background:var(--accent);border-color:var(--accent)}.response-action-drawer button:disabled{opacity:.48}.chat-options-scrim{position:fixed;z-index:30;top:0;right:0;bottom:0;left:0;border:0;background:#00000094}.chat-options-drawer{position:fixed;z-index:31;left:50%;bottom:0;width:min(620px,100%);max-height:min(88dvh,780px);display:grid;gap:16px;padding:10px 16px max(22px,env(safe-area-inset-bottom));overflow-y:auto;color:var(--ink);background:var(--card);border:0;border-radius:24px 24px 0 0;box-shadow:0 -20px 60px #0000006b;transform:translate(-50%);animation:response-drawer-in .2s ease-out}.chat-options-head{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:4px 4px 0}.chat-options-head>img{width:48px;height:48px;object-fit:cover;background:var(--line);border-radius:12px}.chat-options-identity{min-width:0;display:grid;gap:2px}.chat-options-identity strong{overflow:hidden;font-size:18px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.chat-options-identity small{color:var(--muted);font-size:13px}.chat-options-actions{display:flex;gap:8px}.chat-options-action{width:40px;height:40px;display:grid;place-items:center;padding:0;color:var(--ink);background:color-mix(in srgb,var(--ink) 8%,transparent);border:0;border-radius:50%}.chat-options-action:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 14%,transparent)}.chat-options-action:disabled{opacity:.4}.chat-options-action.is-liked{color:var(--accent)}.chat-options-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.chat-options-tile{position:relative;min-height:156px;display:grid;grid-template-rows:auto 1fr auto;gap:6px;padding:14px 14px 12px;overflow:hidden;color:var(--ink);background:color-mix(in srgb,var(--ink) 6%,transparent);border:1px solid var(--line);border-radius:18px;text-align:left}.chat-options-tile:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 11%,transparent)}.chat-options-tile-label{overflow:hidden;font-size:16px;font-weight:700;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.chat-options-tile-art{display:grid;place-items:center;color:var(--ink)}.chat-options-tile-art svg{width:100%;max-width:116px;height:auto}.chat-options-tile>small{justify-self:start;padding:2px 8px;color:var(--muted);background:color-mix(in srgb,var(--ink) 8%,transparent);border-radius:var(--radius-pill);font-size:12px;font-weight:600;white-space:nowrap}.chat-options-tile.is-unavailable{color:var(--muted);cursor:not-allowed}.chat-options-tile.is-unavailable .chat-options-tile-art{opacity:.4}@media(max-width:640px){.chat-options-tile{min-height:138px;padding:12px 12px 10px}.chat-options-tile-label{font-size:14px}}@media(max-width:400px){.chat-options-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.chat-memory-drawer{gap:20px}.chat-memory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 0}.chat-memory-head h2{margin:0;font-size:20px;line-height:1.2}.chat-memory-status,.chat-memory-empty{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.chat-memory-error{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;color:#ffacba;background:color-mix(in srgb,#9f243c 24%,var(--card));border-radius:12px;font-size:14px}.chat-memory-error button,.chat-memory-forget,.chat-memory-confirm button,.chat-memory-sources-toggle{min-height:34px;padding:0 12px;color:var(--ink);background:color-mix(in srgb,var(--ink) 8%,transparent);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:650}.chat-memory-error button:hover,.chat-memory-forget:hover,.chat-memory-confirm button:hover:not(:disabled),.chat-memory-sources-toggle:hover{background:color-mix(in srgb,var(--ink) 14%,transparent)}.chat-memory-settings{display:grid;gap:8px;padding:12px 14px;background:color-mix(in srgb,var(--ink) 6%,transparent);border:1px solid var(--line);border-radius:16px}.chat-memory-switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.chat-memory-switch-row>span{min-width:0;display:grid;gap:3px}.chat-memory-switch-row strong{font-size:15px;line-height:1.3}.chat-memory-switch-row small{color:var(--muted);font-size:13px;line-height:1.45}.chat-memory-inline-error{margin:0;color:#ffacba;font-size:13px}.chat-memory-section{display:grid;gap:10px}.chat-memory-section h3{margin:0;font-size:15px;font-weight:750;line-height:1.3}.chat-memory-character-head{display:flex;align-items:center;gap:10px}.chat-memory-character-head img{width:32px;height:32px;flex:0 0 32px;object-fit:cover;background:var(--line);border-radius:50%}.chat-memory-list,.chat-memory-source-list,.chat-memory-markers{margin:0;padding:0;list-style:none;display:grid;gap:8px}.chat-memory-item{display:grid;gap:10px;padding:14px;background:color-mix(in srgb,var(--ink) 6%,transparent);border:1px solid var(--line);border-radius:16px}.chat-memory-item[data-kind=boundary]{border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.chat-memory-statement{margin:0;font-size:15px;line-height:1.45}.chat-memory-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.chat-memory-kind{padding:3px 10px;color:var(--accent-dark);background:var(--accent-soft);border-radius:var(--radius-pill);font-size:12px;font-weight:700;letter-spacing:.02em}.chat-memory-stat{display:inline-flex;align-items:baseline;gap:6px}.chat-memory-stat small{color:var(--muted);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.chat-memory-stat strong{font-size:14px;font-variant-numeric:tabular-nums}.chat-memory-sources{display:grid;gap:8px}.chat-memory-sources-toggle{justify-self:start;display:inline-flex;align-items:center;gap:6px}.chat-memory-sources-toggle svg{transition:transform .16s ease}.chat-memory-sources-toggle svg.open{transform:rotate(180deg)}.chat-memory-source-list>li{display:grid;gap:4px;padding-left:12px;border-left:2px solid var(--line-strong)}.chat-memory-source-list blockquote{margin:0;color:var(--ink);font-size:14px;font-style:italic;line-height:1.45}.chat-memory-source-list time,.chat-memory-markers time{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.chat-memory-item-actions{display:flex;justify-content:flex-end}.chat-memory-confirm{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px}.chat-memory-confirm>span{margin-right:auto;color:var(--muted)}.chat-memory-confirm-yes{color:#fff!important;background:#9f243c!important}.chat-memory-confirm button:disabled{opacity:.5}.chat-history-lede{margin:-6px 0 14px;color:#9999a2;font-size:13px;line-height:1.5}.chat-history-cards{display:grid;gap:16px}.chat-history-card{display:grid;gap:18px;padding:20px;background:#202024;border-radius:22px}.chat-history-card.is-full{background:#202024}.chat-history-card-head{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px}.chat-history-portrait{width:56px;height:56px;overflow:hidden;display:grid;place-items:center;color:#c7c7ce;background:#2a2a2f;border-radius:18px;font-weight:700}.chat-history-portrait img{width:100%;height:100%;object-fit:cover;object-position:center 18%}.chat-history-identity{min-width:0;display:grid;gap:3px}.chat-history-identity strong{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:normal;overflow-wrap:anywhere}.chat-history-stage{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-size:12px;font-weight:650}.chat-history-badge{grid-column:2;justify-self:start;padding:5px 10px;color:#fff;background:var(--accent);border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.02em}.chat-history-bond{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.chat-history-segments{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:4px;height:9px}.chat-history-segments>span{display:block;background:color-mix(in srgb,var(--ink) 14%,transparent);border-radius:999px;transition:background .3s ease}.chat-history-segments>span.is-lit{background:var(--accent)}.chat-history-percent{color:#f4f4f5;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.chat-history-percent>span{margin-left:2px;font-size:13px;color:#a9a9b3;letter-spacing:0}.chat-history-bond-help>summary{list-style:none;padding:10px 0;cursor:pointer;border-radius:8px;-webkit-tap-highlight-color:transparent}.chat-history-bond-help>summary::-webkit-details-marker{display:none}.chat-history-bond-help>summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.chat-history-bond-help>summary:hover{background:#28282d}.chat-history-bond-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.chat-history-bond-heading>span:first-child{display:inline-flex;align-items:center;gap:7px;color:#b7b7c2;font-size:13px}.chat-history-explanation{padding:14px;margin-top:8px;border-radius:12px;background:#2a2a30;color:#c9c9d2;font-size:13px;line-height:1.6}.chat-history-explanation p{margin:0}.chat-history-explanation p+p{margin-top:10px}.chat-history-quiet{margin:0;color:#9999a2;font-size:13px;line-height:1.5}.chat-history-moments{margin:0;padding:0;list-style:none;display:grid;gap:0}.chat-history-moments>li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:13px;min-height:36px}.chat-history-moment-dot{width:8px;height:8px;background:var(--accent);border-radius:50%}.chat-history-moments time{color:#9999a2;font-size:12px}.chat-history-message{justify-self:stretch;justify-content:center;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;color:#f4f4f5;background:#2a2a2f;border:0;border-radius:11px;font-size:13px;font-weight:650}.chat-history-message:hover{background:#34343a}.chat-memory-relationship{display:grid;gap:10px;padding:14px;background:color-mix(in srgb,var(--accent) 10%,transparent);border:1px solid color-mix(in srgb,var(--accent) 35%,var(--line));border-radius:16px}.chat-memory-relationship-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.chat-memory-label{font-size:14px;font-weight:750}.chat-memory-progress{height:8px;overflow:hidden;background:color-mix(in srgb,var(--ink) 12%,transparent);border-radius:999px}.chat-memory-progress>span{display:block;height:100%;background:var(--accent);border-radius:inherit;transition:width .3s ease}.chat-memory-markers>li{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:14px}.chat-memory-marker-check{width:20px;height:20px;display:grid;place-items:center;color:#fff;background:var(--accent);border-radius:50%}.chat-memory-marker-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes response-drawer-in{0%{transform:translate(-50%,18px);opacity:.65}to{transform:translate(-50%);opacity:1}}.sync-notice>span,.generation-failure>span{color:#aaa8ae;background:#242426}.sync-notice small,.generation-failure small,.edit-notice small{color:#888890}.sync-notice>button.retry-button,.generation-failure>button{color:#f4f4f5;background:#2a2a2e!important}.composer{width:100%;max-width:var(--chat-thread-max, 512px);margin:0 auto;padding:0 8px 8px;gap:7px;display:grid;background:transparent;border:0}.app-shell.view-chat .composer>.composer-rail{min-height:0;display:block;flex:none;align-items:unset;border:0}.composer-rail{width:100%;min-width:0;overflow:hidden;padding:0;border:1px solid var(--composer-rail-border, #303034);border-radius:999px;background:transparent;transition:border-radius .16s cubic-bezier(.33,1,.68,1)}.composer-rail-expanded{border-radius:18px}.composer-shell{display:flex;flex-direction:row;align-items:center;width:100%;min-width:0;overflow:hidden;padding:var(--composer-shell-inset-y, 4px) var(--composer-shell-inset-x, 8px);border-radius:998px;background:var(--composer-shell-bg, #22242a);transition:border-radius .16s cubic-bezier(.33,1,.68,1)}.composer-rail-expanded .composer-shell{flex-direction:column;align-items:stretch;gap:var(--composer-shell-inset-y, 4px);border-radius:17px}.composer .composer-field{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:0;background:transparent;box-shadow:none}.composer .composer-field:focus,.composer .composer-field:focus-visible{outline:none;border:0;border-radius:0;background:transparent;box-shadow:none}.composer-field{flex:1 1 auto;min-width:0;width:100%;height:40px;min-height:40px;line-height:40px;max-height:calc(var(--composer-font-size, 14px) * 1.55 * 4 + 12px);overflow-x:hidden;overflow-y:auto;margin:0;padding:0 var(--composer-field-inset-x, 10px);color:#f4f4f5;border:0;border-radius:0;background:transparent;resize:none;font-size:var(--composer-font-size, 14px);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;box-sizing:border-box}.composer-rail-expanded .composer-field{flex:0 0 auto;height:auto;min-height:0;line-height:1.55;padding:var(--composer-field-inset-y-top, 8px) var(--composer-field-inset-x, 10px) var(--composer-field-inset-y-bottom, 4px)}.composer-controls{display:contents}.composer-rail-expanded .composer-controls{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box}.composer-rail-expanded .composer-controls .send-button{margin-left:auto}.composer-suggest-button{flex:0 0 auto}.composer-suggest-button{width:var(--composer-control-size, 24px);height:var(--composer-control-size, 24px);flex:0 0 var(--composer-control-size, 24px);display:grid;place-items:center;padding:0;color:#f7f7f8;border:0;background:#2a2c32;border-radius:50%}.composer-rail-expanded .composer-controls .composer-suggest-button{margin-right:auto}.suggestion-loading{margin:0;padding:12px 14px 4px;color:#8a8a93;font-size:12px;text-align:center}.composer-suggest-button:hover,.composer-suggest-button:focus-visible{background:#34363d}.composer-suggest-button:disabled{color:#aaaab2;opacity:.55}.composer-hint{margin:0;padding:0 var(--composer-content-inset-x, 15px);color:#8a8a93;font-size:12px;line-height:1.35;text-align:center}.composer-hint button{min-height:0;padding:0;color:#b7b7c0;border:0;background:transparent;font:inherit;font-style:italic}.composer-hint button:hover,.composer-hint button:focus-visible{color:#f4f4f5;outline:none}.composer .send-button{width:var(--composer-control-size, 24px);height:var(--composer-control-size, 24px);flex:0 0 var(--composer-control-size, 24px);display:grid;place-items:center;padding:0;color:#17181c;background:#fff;border:0;border-radius:50%}.composer .send-button svg{fill:none;stroke:currentColor;stroke-width:2}.composer .send-button:disabled{color:#aaaab2;background:#2a2c32}.composer .send-button.sending:disabled{color:#aaaab2;background:#2a2c32}.chat-footer{display:none}.teaser-prompts{display:grid;gap:10px;margin:8px 0 22px}.teaser-prompts-copy{margin:0;color:var(--muted);font-size:14px;line-height:1.45}.teaser-prompt-grid{display:flex;flex-wrap:wrap;gap:8px}.teaser-prompt-grid button{max-width:100%;padding:10px 14px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font-size:14px;line-height:1.35;text-align:left}.teaser-prompt-grid button:hover,.teaser-prompt-grid button:focus-visible{background:color-mix(in srgb,var(--ink) 5%,transparent);outline:none}html:has(.app-shell.view-chat),html:has(.app-shell.view-chat) body,html:has(.app-shell.view-chat) #root{height:var(--app-height);overflow:hidden}@media(max-width:640px){html:has(.app-shell.view-chat),html:has(.app-shell.view-chat) body,html:has(.app-shell.view-chat) #root{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:var(--app-height);overflow:hidden}.app-shell.view-chat{position:fixed;top:var(--app-top-inset);right:0;bottom:auto;left:0;width:100%;height:var(--app-height);max-height:var(--app-height);min-height:0}.app-shell.view-chat .chat-dock{padding-top:8px}.app-shell.view-chat .messages{padding-bottom:16px}html[data-keyboard=open] .app-shell.view-chat .chat-dock,html[data-keyboard=open] .composer{padding-bottom:8px}html[data-keyboard=open] .composer-field{max-height:min(22vh,128px)}.chat-panel{width:100vw}.chat-header{min-height:64px;padding:7px 12px}.chat-header>.icon-button{width:42px;height:42px}.chat-header .chat-title strong{font-size:18px}.chat-model-select{padding:4px 8px 4px 10px}.chat-model-select>span{font-size:13px}.chat-model-select select{font-size:13px}.chat-tools-menu{top:58px;right:12px}.chat-model-menu{top:58px;right:62px}.branch-tray,.persona-tray,.context-drawer{top:68px;right:10px;left:10px}.messages{padding:24px 17px 38px}.message-row{gap:9px;margin-bottom:30px}.message-row>div{max-width:82%}.message-row:has(.world-reply)>div,.message-row:has(.speaker-segments)>div{flex:1;min-width:0;width:100%;max-width:none}.message-row p,.typing,.message-row .world-character-bubble p,.message-row .world-narration p,.speaker-segments section.narration p,.speaker-segments section.dialogue p,.speaker-segments section.action p{font-size:16px}.message-row:hover .message-actions .message-share-button,.message-row:hover .message-actions .message-more-button{opacity:0;pointer-events:none}.message-row.latest-plot .message-actions .message-share-button,.message-row.latest-plot .message-actions .message-more-button,.message-row.selected-message .message-actions .message-share-button,.message-row.selected-message .message-actions .message-more-button,.message-actions.open .message-share-button,.message-actions.open .message-more-button,.message-actions:focus-within .message-share-button,.message-actions:focus-within .message-more-button{opacity:1;pointer-events:auto}.composer-hint{padding-inline:12px;text-align:center}}body{font-size:var(--type-body)}.nav-item span,.top-search input{font-size:15px}.eyebrow,.nav-item .nav-new,.top-search kbd{font-size:var(--type-meta)}.profile-row strong{font-size:var(--type-control)}.profile-row small,.legal-links a,.auth-logout{font-size:var(--type-meta);line-height:1.45}.top-cta,.top-login{font-size:var(--type-control)}.notification-panel>div>button p,.notification-panel>div>button p strong{font-size:var(--type-secondary)}.notification-panel>div>button small,.notification-panel footer,.notification-status{font-size:var(--type-meta)}.welcome-row p:not(.eyebrow),.page-heading>p:not(.eyebrow),.create-copy>p:not(.eyebrow){font-size:var(--type-body);line-height:1.55}.continue-copy>p{font-size:var(--type-body);line-height:1.5}.relationship-line span,.relationship-line small{font-size:var(--type-secondary)}.section-title p,.section-title>button{font-size:var(--type-control)}.card-tags i,.active-label,.card-copy>span{font-size:var(--type-meta)}.card-copy h3{font-size:17px}.card-copy p{font-size:var(--type-secondary);line-height:1.45;white-space:normal}.mood-card strong{font-size:var(--type-control)}.mood-card small{font-size:var(--type-secondary);line-height:1.4}.category-pills button{font-size:var(--type-control)}.discover-meta button,.discover-meta>span,.discovery-controls label{font-size:var(--type-secondary)}.discovery-controls select,.discovery-controls input,.mobile-search input{font-size:var(--type-control)}.feed-composer>textarea,.feed-comments input,.feed-report select,.feed-report textarea{font-size:var(--type-control)}.feed-body{font-size:15px;line-height:1.65}.feed-comment p{font-size:var(--type-control);line-height:1.55}.feed-actions button,.feed-tool,.feed-composer-options>label,.feed-publish,.feed-more{font-size:var(--type-secondary)}.detail-description,.example-exchange p,.cast-feature-copy p,.world-description{font-size:15px;line-height:1.65}.detail-grid strong,.detail-expect strong,.detail-expect span,.detail-actions button{font-size:var(--type-secondary)}.detail-grid small,.cast-roster small{font-size:var(--type-meta)}.form-step label,.studio-fields>label,.studio-inline label,.lore-entry label,.field-hint{font-size:var(--type-secondary)}.form-step input:not([type=range]),.form-step textarea,.form-step select,.studio-fields input:not([type=range]),.studio-fields textarea,.studio-fields select,.creator-card input,.creator-card textarea,.profile-page input,.profile-page textarea{font-size:var(--type-control)}.studio-nav button,.studio-save button,.studio-save .story-file-button,.style-chips button,.publish-button{font-size:var(--type-secondary)}.auth-card>p,.auth-card input,.auth-card form button{font-size:15px}.auth-card label,.auth-mode,.auth-card>small{font-size:var(--type-secondary)}.legal-body p{font-size:15px;line-height:1.75}.message-row p,.typing,.speaker-segments section.narration p,.speaker-segments section.dialogue p,.speaker-segments section.action p,.message-row .world-narration p,.message-row .world-character-bubble p{font-size:var(--chat-prose-size, 14px);line-height:1.55}.message-row .world-character-bubble p.world-action,.message-row .world-character-bubble em{line-height:1.58}.speaker-segments section>small,.world-character-turn header strong,.message-row small{font-size:var(--type-meta)}.suggestions button,.report-dialog label,.report-dialog button,.sync-notice>button{font-size:var(--type-secondary)}.chat-footer{font-size:var(--type-meta)}@media(max-width:640px){.continue-copy>p{font-size:15px}.legal-body p{font-size:15px}}[data-theme=light]{color-scheme:light;--ink: #252422;--muted: #706f73;--paper: #fbfaf8;--card: #ffffff;--card-hover: color-mix(in srgb, var(--ink) 10%, var(--card));--line: #e2e1de;--line-strong: #cbc9c5;--control-outline: rgba(37, 36, 34, .26);--control-outline-hover: rgba(37, 36, 34, .42);--control-outline-bg: rgba(37, 36, 34, .04);--control-outline-bg-hover: rgba(37, 36, 34, .07);--accent: #ea4c89;--accent-dark: #b82e64;--accent-solid: #c32361;--accent-hover: #a91f54;--accent-soft: #fceef4;--accent-border: #f3bfd2;--accent-contrast: #ffffff;--like: var(--accent);--like-soft: #fce9f0;--support: #6484d8;--support-soft: #edf2fc;--action-bg: #252422;--action-fg: #ffffff;--user-action-ink: #f3bfd2;--action-hover: #3b3937;--forest: var(--action-bg);--shadow: 0 15px 38px rgba(48, 50, 61, .08);--scrollbar-thumb: rgba(37, 36, 34, .22);--scrollbar-thumb-hover: rgba(37, 36, 34, .38)}[data-theme=dark]{color-scheme:dark;--ink: #f7f7f8;--muted: #aaaab2;--paper: #17181c;--card: #22242a;--card-hover: color-mix(in srgb, var(--ink) 10%, var(--card));--line: rgba(255, 255, 255, .07);--line-strong: rgba(255, 255, 255, .14);--control-outline: rgba(255, 255, 255, .24);--control-outline-hover: rgba(255, 255, 255, .38);--control-outline-bg: rgba(255, 255, 255, .045);--control-outline-bg-hover: rgba(255, 255, 255, .08);--accent: #ea4c89;--accent-dark: #f39abd;--accent-solid: #c32361;--accent-hover: #a91f54;--accent-soft: #3a2430;--accent-border: #704052;--accent-contrast: #ffffff;--like: var(--accent);--like-soft: #412731;--support: #8fa9f5;--support-soft: #252d43;--action-bg: #f7f7f8;--action-fg: #17181c;--user-action-ink: #7d3054;--action-hover: #dedee3;--forest: var(--action-bg);--shadow: 0 18px 46px rgba(0, 0, 0, .35)}[data-theme=light] body,[data-theme=dark] body{color:var(--ink);background:var(--paper)}.top-cta,.round-action,.feed-publish,.feed-card>header>button:not(.following),.detail-actions .primary,.creator-actions .primary,.studio-save .primary,.publish-button,.preview-copy button,.privacy-actions button.primary,.plan-actions button.primary,.profile-overview-avatar,.persona-list button,.persona-form-actions button,.auth-card form button,.privacy-step-up button,.branch-tray>div button,.send-button,.detail-start,.enter-story,.world-actions .primary,.message-row.user p{color:var(--action-fg);background:var(--action-bg)}.step-list>div.active>span,.step-list>div.done>span{color:#fff;background:var(--accent-solid)}.topbar-actions{display:flex;align-items:center;gap:10px}.topbar-icon-actions{display:flex;align-items:center;gap:2px}.topbar-icon-actions>.language-control,.topbar-icon-actions>.notification-wrap,.topbar-actions>.language-control,.topbar-actions>.notification-wrap{display:flex;align-items:center;flex:0 0 auto}.locale-picker{display:inline-flex;align-items:center;gap:.28rem;color:var(--muted)}.locale-picker select{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:0;background:transparent;color:var(--ink);cursor:pointer;font:inherit;font-size:.72rem;font-weight:700;letter-spacing:.08em;line-height:1;min-width:0;padding:0;text-transform:uppercase}.localization-status{color:var(--muted);font-size:.85rem;margin:.65rem 0 0}.translation-shimmer{color:transparent;background-image:linear-gradient(100deg,color-mix(in srgb,var(--ink) 35%,transparent) 35%,var(--ink) 50%,color-mix(in srgb,var(--ink) 35%,transparent) 65%);background-position:100% 50%;background-size:250% 100%;background-clip:text;-webkit-background-clip:text;animation:translation-shimmer 2s linear infinite}.card-translation-retry{justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #ffffff60;border-radius:8px;background:#17181de6;color:#fff;font-size:12px;pointer-events:auto}.media-card .translation-shimmer,.continue-card .translation-shimmer{color:transparent;background-image:linear-gradient(100deg,#ffffff61 35%,#fff,#ffffff61 65%)}@keyframes translation-shimmer{to{background-position:-150% 50%}}@media(prefers-reduced-motion:reduce),(forced-colors:active){.translation-shimmer,.media-card .translation-shimmer,.continue-card .translation-shimmer{color:inherit;background:none;animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.profile-theme-toggle:hover,.theme-light .profile-theme-toggle:hover,.theme-dark .profile-theme-toggle:hover{color:var(--ink)}.sidebar-utility-row{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:0 4px}.sidebar-theme-toggle{width:fit-content;display:flex;align-items:center;padding:6px;color:var(--muted);background:transparent;border:0;border-radius:12px}.theme-switch{position:relative;width:52px;height:30px;flex:0 0 auto;padding:3px;background:transparent;border:1px solid var(--line);border-radius:999px}.theme-switch i{width:22px;height:22px;display:grid;place-items:center;color:var(--accent);background:var(--card);border-radius:50%;box-shadow:0 1px 4px #231f2e33;transition:transform .2s}.theme-switch i svg{width:13px;height:13px}.sidebar-theme-toggle[aria-checked=true] .theme-switch{background:transparent;border-color:var(--line)}.sidebar-theme-toggle[aria-checked=true] .theme-switch i{color:var(--accent);transform:translate(22px)}.theme-light .sidebar-theme-toggle:hover{color:var(--ink);background:#2524220a}.theme-dark .sidebar-theme-toggle:hover{color:#fff;background:#ffffff0d}.theme-dark .sidebar-theme-toggle[aria-checked=true] .theme-switch{background:transparent;border-color:var(--line)}.app-shell.theme-light{color:var(--ink);background:var(--paper);--scrollbar-thumb: rgba(37, 36, 34, .22);--scrollbar-thumb-hover: rgba(37, 36, 34, .38)}.theme-light .main-area{background:var(--paper)}.theme-light .sidebar{color:var(--ink);background:var(--paper);border-color:var(--line)}.theme-light .brand{color:var(--ink)}.theme-light .nav-item{color:var(--muted)}.theme-light .nav-item:hover{color:var(--ink);background:#2524220a;box-shadow:none}.theme-light .nav-item.active{color:var(--ink);background:transparent;box-shadow:none}.theme-light .nav-item.active svg,.theme-light .nav-item.active .product-gem-icon{color:var(--ink)}.theme-light .nav-item .nav-new{color:var(--accent-dark);background:var(--accent-soft)}.theme-light .recent-wrap .eyebrow{color:var(--muted)}.theme-light .recent-empty,.theme-light .recent-item small,.theme-light .profile-row small,.theme-light .legal-links a,.theme-light .auth-logout{color:#85818e}.theme-light .recent-item,.theme-light .profile-row{color:#373540}.theme-light .recent-row:hover,.theme-light .recent-row.active{background:#2524220a}.theme-light .user-avatar{color:#fff;background:var(--accent-solid)}.theme-light .legal-links a:hover{color:var(--accent-dark)}.theme-light .topbar{background:#fbfaf8f0;border-color:#e2e1def2;box-shadow:none}.theme-light .top-search{color:#77767b;background:#fff;border-color:var(--line)}.theme-light .top-search:hover{background:#f1f1f3}.theme-light .top-search input{color:var(--ink)}.theme-light .top-search kbd{color:#77767b;background:#f5f4f1;border-color:var(--line)}.theme-light .top-login{color:#4f4e52;background:#fff;border-color:var(--line)}.theme-light .top-login:hover{color:var(--ink);background:var(--accent-soft);border-color:var(--line)}.theme-light .top-cta{color:var(--action-fg);background:var(--action-bg);box-shadow:0 6px 15px #25242224}.theme-light .top-cta:hover{background:var(--action-hover)}.theme-light .icon-button{color:#666371}.theme-light .icon-button:hover{background:#2524220a}.theme-light .notification-panel,.theme-light .notification-panel>div>button.read{color:var(--ink);background:var(--card);border-color:transparent}.theme-light .notification-panel>div>button.read{background:transparent}.theme-light .notification-panel>header,.theme-light .notification-panel footer{color:var(--ink);background:transparent;border-color:transparent}.theme-light .notification-panel>header strong{color:var(--ink)}.theme-light .notification-panel>header .icon-button{color:#666371}.theme-light .notification-panel>header .icon-button:hover{background:#2524220f}.theme-light .notification-panel>div>button{color:#4d4843;background:color-mix(in srgb,var(--ink) 7%,transparent);border-bottom-color:transparent}.theme-light .notification-panel footer{background:transparent}.theme-light .notification-panel footer,.theme-light .notification-status{color:#817971}.theme-light .eyebrow,.theme-light .eyebrow.warm{color:var(--accent-dark)}.theme-light.view-home .welcome-row .eyebrow{color:var(--accent)}.theme-light .welcome-row h1,.theme-light .page-heading h1,.theme-light .section-title h2,.theme-light .discover-meta strong,.theme-light .create-copy h1{color:var(--ink)}.theme-light .welcome-row p:not(.eyebrow),.theme-light .page-heading>p:not(.eyebrow),.theme-light .section-title p,.theme-light .create-copy>p:not(.eyebrow){color:var(--muted)}.theme-light .section-title>button{color:var(--accent)!important}.theme-light .match-reason{color:var(--accent-dark)!important}.theme-light .feed-composer,.theme-light .feed-card,.theme-light .creator-card,.theme-light .studio-editor,.theme-light .studio-preview,.theme-light .settings-card,.theme-light .privacy-card,.theme-light .auth-card,.theme-light .chat-list,.theme-light .legal-body{color:var(--ink);background:#fff;border-color:var(--line);box-shadow:0 10px 28px #30323d0e}.theme-light .feed-composer>textarea,.theme-light .feed-draft-images input,.theme-light .report-dialog select,.theme-light .report-dialog textarea,.theme-light .studio-editor input,.theme-light .studio-editor textarea,.theme-light .studio-editor select,.theme-light .creator-card input,.theme-light .creator-card textarea,.theme-light .profile-page input,.theme-light .profile-page textarea,.theme-light .form-step input:not([type=range]),.theme-light .form-step textarea,.theme-light .form-step select,.theme-light .studio-fields input:not([type=range]),.theme-light .studio-fields textarea,.theme-light .studio-fields select,.theme-light .persona-form input,.theme-light .persona-form textarea,.theme-light .profile-field-select{color:var(--ink);background-color:#fcfcfb;border-color:var(--line);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777381' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.theme-light .feed-body,.theme-light .form-step label,.theme-light .studio-fields>label,.theme-light .studio-inline label,.theme-light .lore-entry label,.theme-light .field-hint{color:#4d4a56}.theme-light .studio-nav,.theme-light .persona-list article,.theme-light .privacy-controls>label,.theme-light .form-step .tip,.theme-light .studio-rule,.theme-light .lore-entry,.theme-light .studio-tip{color:var(--ink);background:#f7f7f5;border-color:var(--line)}.theme-light .studio-nav button{color:#777381}.theme-light .studio-nav button.active{color:var(--accent-dark);background:var(--accent-soft)}.theme-light .prompt-chips button,.theme-light .choice-grid button,.theme-light .creator-actions .secondary,.theme-light .studio-save .secondary,.theme-light .style-chips button,.theme-light .publish-options>button{color:#56535f;background:var(--control-outline-bg);border-color:var(--control-outline)}.theme-light .choice-grid button.selected,.theme-light .style-chips button.active,.theme-light .publish-options>button.active,.theme-light .step-list li.active,.theme-light .choice.active,.theme-light .choice-button.active{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.theme-light .form-icon,.theme-light .studio-section-title>span,.theme-light .privacy-title>span{color:var(--accent-dark);background:var(--accent-soft)}.theme-light .feed-switch{background:#f0efec}.theme-light .feed-switch button{color:var(--muted)}.theme-light .feed-switch button.active{color:var(--ink);background:#fff;box-shadow:0 2px 8px #25242212}.theme-light .feed-report,.theme-light .feed-comments{color:var(--ink);background:#f8f7f5;border-color:var(--line)}.theme-light .feed-report select,.theme-light .feed-report textarea,.theme-light .feed-comments input{color:var(--ink);background:#fff;border-color:var(--line)}.theme-light .feed-report label,.theme-light .feed-comments>form>span,.theme-light .feed-notice,.theme-light .feed-status,.theme-light .feed-comment small{color:var(--muted)}.theme-light .detail-overlay{background:#25242259}.theme-light .detail-sheet,.theme-light .detail-body{color:var(--ink);background:#fff;border-color:var(--line)}.theme-light .detail-body p,.theme-light .detail-description,.theme-light .detail-meta,.theme-light .cast-roster p,.theme-light .example-exchange p{color:var(--muted)}.theme-light .detail-close,.theme-light .detail-favorite,.theme-light .detail-actions .secondary{color:var(--ink);background:#fff;border-color:var(--line)}.theme-light .detail-tags span,.theme-light .detail-grid>div,.theme-light .cast-roster article{color:var(--ink);background:#f7f7f5;border-color:var(--line)}.theme-light .detail-tags span{color:var(--muted);background:transparent;border:1px solid var(--line-strong)}.theme-light .chat-panel{color:var(--ink);background:var(--paper);box-shadow:-20px 0 60px #25242229}.theme-light .chat-header{background:#fffffff5;border-color:var(--line)}.theme-light .context-strip{color:var(--muted);background:#f2f1ee;border-color:var(--line)}.theme-light .branch-tray{color:var(--ink);background:#fff;border-color:var(--line)}.theme-light .branch-tray>button,.theme-light .branch-tray>.branch-item{color:var(--ink);background:#f7f7f5;border-color:var(--line)}.theme-light .persona-tray{color:var(--ink);background:var(--card);border-color:var(--line);box-shadow:0 17px 40px #231d1926}.theme-light .persona-tray small{color:var(--muted)}.theme-light .context-drawer{color:var(--ink);background:#fff;border:1px solid var(--line)}.theme-light .conversation-day-marker{color:#8a8278}.theme-light .message-row .world-character-bubble{color:var(--ink);background:#f7f6f3;border-color:transparent}.theme-light .message-row .world-player-turn .world-character-bubble{background:#edf2fc}.theme-light .message-row .world-narration p,.theme-light .speaker-segments section.narration p,.theme-light .speaker-segments section.action p,.theme-light .message-row .world-character-bubble p.world-action,.theme-light .message-row .world-character-bubble em{color:#68636c;background:transparent}.theme-light .message-row .world-character-bubble p{color:#29272b;background:transparent}.theme-light .sync-notice,.theme-light .edit-notice,.theme-light .report-dialog,.theme-light .response-action-drawer{color:var(--ink);background:#fff;border-color:var(--line)}.theme-light .response-drawer-handle{background:#cbc7c3}.theme-light .response-action-drawer small,.theme-light .response-action-drawer label{color:var(--muted)}.theme-light .response-action-drawer textarea{color:var(--ink);background:#fcfcfb;border-color:var(--line)}.theme-light .response-action-drawer button{color:var(--ink);background:#f3f1f0;border-color:var(--line)}.theme-light .response-action-drawer button.submit-report{color:#fff;background:var(--accent);border-color:var(--accent)}.theme-light .generation-failure{color:#71364e;background:#fff0f5;border-color:#efbfd0}.theme-light .generation-failure>span{color:#a73562;background:#f9dbe6}.theme-light .generation-failure small{color:#865c6c}.theme-light .auto-retry-notice{color:#71364e;background:#fff0f5;border-color:#efbfd0}.theme-light .auto-retry-notice>span{color:#a73562;background:#f9dbe6}.theme-light .auto-retry-notice small{color:#865c6c}.theme-light .composer-rail{--composer-rail-border: var(--line)}.theme-light .composer-shell{--composer-shell-bg: var(--card)}.theme-light .composer-field{color:var(--ink)}.theme-light .composer-suggest-button{color:var(--ink);background:#eeece8}.theme-light .composer-suggest-button:hover,.theme-light .composer-suggest-button:focus-visible{background:#e4e2de}.theme-light .composer .send-button:disabled,.theme-light .composer .send-button.sending:disabled{color:#706f73;background:#eeece8}.theme-light .composer-hint{color:#8a8680}.theme-light .composer-hint button{color:var(--muted)}.theme-light .composer-hint button:hover,.theme-light .composer-hint button:focus-visible{color:var(--ink)}.app-shell.theme-light.view-chat .chat-dock{background:linear-gradient(180deg,transparent,var(--paper) 38%)}.app-shell.theme-light.view-chat .composer{background:transparent}.theme-light .chat-footer{color:var(--muted)}.theme-light .privacy-warning{color:#8a4038;background:#fff0ed}.theme-light .plan-actions button{color:var(--ink);background:transparent;border-color:var(--ink)}.theme-light .plan-actions button.primary{color:var(--action-fg);background:var(--action-bg);border-color:var(--action-bg)}.theme-light .plan-packs button{color:var(--ink);background:#f8f5ef;border-color:#e7e0d7}.theme-light .profile-overview-avatar{color:var(--action-fg);background:var(--action-bg)}.theme-light .branch-item form input{color:var(--ink);background:#fff;border-color:var(--line)}[data-theme=light] .auth-card .consent-choice{color:var(--ink);background:#fafafa;border-color:var(--line)}[data-theme=light] .auth-card .consent-choice strong{color:var(--ink)}[data-theme=light] .auth-card .consent-choice small{color:var(--muted)}[data-theme=light] .auth-error,[data-theme=light] .privacy-step-up{color:#8a4038!important;background:#fff0ed}.theme-light.view-home .continue-card{border:0;box-shadow:0 18px 42px #30323d1c}.theme-light.view-home .continue-copy .eyebrow{color:var(--accent);background:#0c0c0e9e;border-color:color-mix(in srgb,var(--accent) 55%,transparent)}.theme-light.view-home .round-action{color:var(--action-fg);background:var(--action-bg)}.theme-light.view-home .plot-card.media-card,.theme-light.view-discover .plot-card.media-card{background:var(--card);border:0;box-shadow:0 8px 20px #30323d11}.theme-light.view-home .plot-card.media-card:hover,.theme-light.view-discover .plot-card.media-card:hover{background:var(--card);border:0;box-shadow:0 13px 28px #2222221a}.theme-light.view-home .heart-button.liked,.theme-light.view-discover .heart-button.liked{color:var(--like)}.theme-light.view-home .mood-card,.theme-light.view-discover .mood-card{color:#55515d;background:#f0eff2;border:0;border-radius:var(--radius-pill);box-shadow:none}.theme-light.view-home .mood-card.peach,.theme-light.view-discover .mood-card.peach,.theme-light.view-home .mood-card.violet,.theme-light.view-discover .mood-card.violet,.theme-light.view-home .mood-card.rose,.theme-light.view-discover .mood-card.rose,.theme-light.view-home .mood-card.sage,.theme-light.view-discover .mood-card.sage{background:var(--card);border-color:var(--line)}.theme-light .mood-card>.mood-number{color:transparent;background:var(--accent)}.theme-light.view-home .mood-card small,.theme-light.view-discover .mood-card small{color:#625f6a}.theme-light.view-discover .category-pills button{color:#64616e;background:#fff;border-color:var(--line)}.theme-light.view-discover .category-pills button.active{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}.theme-light.view-discover .mobile-search,.theme-light.view-discover .discovery-controls select,.theme-light.view-discover .discovery-controls input{color:var(--ink);background:#fff;border-color:var(--line)}.theme-light.view-discover .discover-meta>span,.theme-light.view-discover .discovery-controls label{color:#777381}.app-shell.theme-dark{color:var(--ink);background:var(--paper)}.theme-dark .main-area{background:var(--paper)}.theme-dark .sidebar{background:var(--paper);border-color:var(--line)}.theme-dark .nav-item{color:#aaa6b2}.theme-dark .nav-item:hover{color:#fff;background:#ffffff0d}.theme-dark .nav-item.active{color:#fff;background:transparent}.theme-dark .nav-item.active svg,.theme-dark .nav-item.active .product-gem-icon{color:#fff}.theme-dark .nav-item .nav-new{color:var(--accent-dark);background:var(--accent-soft)}.theme-dark .recent-wrap .eyebrow{color:var(--muted)}.theme-dark .recent-row:hover,.theme-dark .recent-row.active{background:#ffffff0d}.theme-dark .topbar{background:#17181cf0;border-color:var(--line)}.theme-dark .top-search{background:var(--card);border-color:var(--line)}.theme-dark .top-search:hover{background:#29292e}.theme-dark .top-search kbd{color:#b0b0b0;background:#2b2d33;border-color:var(--line)}.theme-dark .top-cta{color:var(--action-fg);background:var(--action-bg);box-shadow:none}.theme-dark .top-cta:hover{background:var(--action-hover)}.theme-dark .eyebrow,.theme-dark .eyebrow.warm{color:var(--accent-dark)}.theme-dark.view-home .welcome-row .eyebrow{color:var(--accent)}.theme-dark .continue-copy .eyebrow{color:var(--accent);background:#0c0c0e9e;border-color:color-mix(in srgb,var(--accent) 55%,transparent)}.theme-dark .round-action{color:var(--action-fg);background:var(--action-bg)}.theme-dark .heart-button.liked{color:var(--like)}.theme-dark.view-home .mood-card,.theme-dark.view-discover .mood-card{color:#d7d7dc;background:#ffffff0e;border:0}.theme-dark.view-home .mood-card.peach,.theme-dark.view-discover .mood-card.peach,.theme-dark.view-home .mood-card.violet,.theme-dark.view-discover .mood-card.violet,.theme-dark.view-home .mood-card.rose,.theme-dark.view-discover .mood-card.rose,.theme-dark.view-home .mood-card.sage,.theme-dark.view-discover .mood-card.sage{color:var(--ink);background:var(--card);border-color:var(--line)}.theme-dark .mood-card>.mood-number{color:transparent;background:var(--accent)}.theme-dark.view-home .mood-card small,.theme-dark.view-discover .mood-card small{color:#bcb7c2}.theme-dark.view-discover .category-pills button.active{color:var(--accent-dark);background:var(--accent-soft);border-color:var(--accent-border)}[data-theme=light] .auth-overlay .auth-card{color:var(--ink);background:#fff;border-color:var(--line)}[data-theme=light] .auth-overlay .auth-card input,[data-theme=light] .auth-overlay .auth-card>p,[data-theme=light] .auth-overlay .auth-card>small,[data-theme=light] .auth-overlay .auth-card label{color:#6d6a78}[data-theme=light] .auth-overlay .auth-divider:before{border-color:#e8e5ec}[data-theme=light] .auth-overlay .auth-divider span{color:#817d89;background:#fff}@media(max-width:640px){.view-home,.view-discover{width:100%;overflow-x:hidden}.view-home .main-area,.view-discover .main-area{width:100%;max-width:100vw}.view-home .topbar,.view-discover .topbar{width:100vw}.view-home .page-content,.view-discover .page-content,.view-chats .page-content,.view-create .page-content,.view-profile .page-content{width:100%;max-width:100%;overflow-x:hidden}.view-home .page-content{padding-top:0}.view-home .continue-card{display:none}.view-chats .page-content{padding:0}.view-create .page-content,.view-profile .page-content{padding-top:12px}.view-chats .page-transition,.view-chats .chats-shell{min-height:calc(100dvh - var(--mobile-topbar-height) - var(--mobile-bottom-chrome))}.topbar{height:var(--mobile-topbar-height, 48px);min-height:var(--mobile-topbar-height, 48px);padding-inline:var(--mobile-gutter, 17px);background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;box-shadow:none}.topbar-actions{gap:12px}.theme-light .topbar{background:var(--paper)}.theme-light .bottom-nav{background:var(--paper);border-color:var(--line)}.theme-light .bottom-nav button{color:#85818e}.theme-light .bottom-nav button.active{color:var(--accent-dark)}.theme-light .sidebar{background:#fff}.theme-dark .topbar{background:var(--paper)}.theme-dark .bottom-nav{background:var(--paper);border-color:var(--line)}.theme-dark .bottom-nav button{color:#817d89}.theme-dark .bottom-nav button.active{color:var(--accent-dark)}}.app-shell button:not(.card-hit-area),.auth-overlay button{font-weight:600;font-stretch:100%}.app-shell button strong,.auth-overlay button strong{font-weight:600}.nav-item,.top-cta,.top-login,.sidebar-theme-toggle,.section-title>button,.category-pills button,.load-more,.feed-tool,.feed-publish,.feed-switch,.feed-switch button,.feed-card>header>button,.feed-actions button,.feed-more,.detail-actions button,.creator-actions button,.studio-save button,.publish-button,.preview-copy button,.prompt-chips button,.style-chips button,.privacy-actions button,.persona-form-actions button,.auth-card form button,.google-auth,.auth-mode,.privacy-step-up button,.suggestions button,.report-dialog button,.sync-notice>button,.legal-back,.persona-trigger,.context-strip button,.context-actions button,.branch-tray>div button,.generation-failure>button,.world-actions button,.add-entry,.enter-story,.detail-start,.creator-library-masthead button,.creator-library>header>button,.blueprint-editor button.primary,.blueprint-editor button.secondary,.creator-review-toolbar button,.wizard-primary,.wizard-outline,.wizard-dashed,.app-shell button.primary,.app-shell button.secondary,.auth-overlay button.primary,.auth-overlay button.secondary{border-radius:var(--radius-pill)}.icon-button,.heart-button,.round-action,.send-button,.chat-favorite,.recent-more,.chat-row-actions .icon-button,.feed-draft-images button{border-radius:50%}.nav-item .nav-new,.continue-copy .eyebrow,.card-tags i,.active-label,.card-stat-item,.card-stat-new,.feed-owner,.feed-meta span:first-child,.agency-badge,.chat-ai-badge{border-radius:var(--radius-pill)}.app-shell input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.auth-overlay input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.app-shell select,.auth-overlay select,.top-search,.mobile-search,.app-shell textarea,.auth-overlay textarea{border-radius:var(--radius-field)}.top-cta,.top-login,.auth-card form button,.google-auth,.detail-actions button,.creator-actions button,.studio-save button,.publish-button,.privacy-actions button.primary,.persona-form-actions button.primary,.plan-actions button,.world-actions button,.enter-story,.detail-start{min-height:var(--button-height);padding-right:var(--button-padding);padding-left:var(--button-padding);font-size:var(--type-control);line-height:1}.topbar .top-cta,.topbar .top-login{height:38px;min-height:38px}.app-shell button.primary,.auth-overlay button.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--button-height);padding-right:var(--button-padding);padding-left:var(--button-padding);color:var(--action-fg);background:var(--action-bg);border:0;border-radius:var(--radius-pill);font-size:var(--type-control);font-weight:650;line-height:1}.app-shell button.primary:hover:not(:disabled),.auth-overlay button.primary:hover:not(:disabled){background:var(--action-hover)}.app-shell button.primary:disabled,.auth-overlay button.primary:disabled{opacity:.55;cursor:not-allowed}.app-shell button.secondary,.auth-overlay button.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--button-height);padding-right:var(--button-padding);padding-left:var(--button-padding);color:var(--ink);background:var(--control-outline-bg);border:1.5px solid var(--control-outline);border-radius:var(--radius-pill);font-size:var(--type-control);font-weight:650;line-height:1}.app-shell button.secondary:hover:not(:disabled),.auth-overlay button.secondary:hover:not(:disabled){border-color:var(--control-outline-hover);background:var(--control-outline-bg-hover)}.app-shell button.secondary:disabled,.auth-overlay button.secondary:disabled{opacity:.55;cursor:not-allowed}.category-pills button,.prompt-chips button,.style-chips button,.feed-tool,.feed-publish,.feed-more,.load-more,.add-entry{min-height:var(--button-height-compact);padding-right:16px;padding-left:16px;line-height:1.2}.prompt-chips button,.style-chips button{background:var(--card);border:0}.prompt-chips button:hover,.prompt-chips button:focus-visible,.style-chips button:hover,.style-chips button:focus-visible{color:var(--ink);background:color-mix(in srgb,var(--ink) 5%,transparent)}.page-transition{min-width:0}.route-loading{display:grid;place-items:center;width:100%;min-height:calc(100dvh - 160px);color:var(--ink)}.route-loading .boot-ring{color:var(--ink)}.admin-standalone>.route-loading{min-height:100dvh}@keyframes heart-pop{0%{transform:scale(.72)}55%{transform:scale(1.22) rotate(-7deg)}to{transform:scale(1)}}.app-shell button,.auth-overlay button,.app-shell a,.app-shell input,.app-shell textarea,.app-shell select{transition:color var(--motion-fast) ease,background-color var(--motion-fast) ease,border-color var(--motion-fast) ease,box-shadow var(--motion-medium) var(--ease-out),opacity var(--motion-fast) ease,transform var(--motion-fast) var(--ease-out)}.app-shell button:not(:disabled):active,.auth-overlay button:not(:disabled):active{transform:scale(.97)}.app-shell .sidebar-close:not(:disabled):active{transform:translateY(-50%)}.nav-item svg,.nav-item .product-gem-icon,.section-title>button svg,.round-action svg,.world-thread>svg,.chats-open>svg{transition:transform var(--motion-medium) var(--ease-out)}.section-title>button:hover svg,.round-action:hover svg,.world-thread:hover>svg,.chats-open:hover>svg{transform:translate(3px)}.plot-card,.mood-card,.world-thread,.chats-row,.publish-options>button,.cast-roster article,.studio-rule{transition:color var(--motion-fast) ease,background-color var(--motion-medium) ease,border-color var(--motion-fast) ease,box-shadow var(--motion-medium) var(--ease-out),transform var(--motion-medium) var(--ease-out)}.mood-card:hover,.world-thread:hover,.publish-options>button:hover,.cast-roster article:hover{box-shadow:var(--shadow)}.cast-roster article.cast-you:hover{transform:none;border-color:var(--line)}.heart-button.liked svg{animation:heart-pop .44s var(--ease-spring)}.sidebar,.topbar,.main-area,.bottom-nav,.plot-card,.studio-editor,.studio-preview,.auth-card{transition:color var(--motion-medium) ease,background-color var(--motion-medium) ease,border-color var(--motion-medium) ease,box-shadow var(--motion-medium) ease}@media(prefers-reduced-motion:reduce){.page-transition,.world-reply.story-reveal-ready,.plot-intro.story-reveal-ready,.boot-screen,.boot-ring,.boot-ring-track,.boot-stage,.boot-status i{opacity:1;transform:none;filter:none;animation:none}.explore-drawer.is-closing,.explore-drawer-scrim.is-closing,.mobile-chat-drawer.is-closing,.mobile-chat-drawer-scrim.is-closing{animation:none!important}}.home-landing{display:grid;gap:6px}.home-search{width:min(560px,100%);height:44px;display:flex;align-items:center;gap:10px;box-sizing:border-box;padding:0 14px;color:var(--muted);background:var(--card);border:0;border-radius:var(--radius-pill)}.home-search:focus-within{outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:2px}.home-search input{min-width:0;flex:1;padding:0;color:var(--ink);background:transparent;border:0;outline:none;font:inherit;font-size:var(--type-control)}.home-search>svg{flex:0 0 auto}.home-search>button{width:30px;height:30px;display:grid;flex:0 0 30px;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.home-search>button:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 7%,transparent)}.home-search kbd{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;color:var(--muted);background:var(--control-outline-bg);border-radius:6px;font:inherit;font-size:12px}.app-shell.guest-home .main-area,.app-shell.guest-home .page-content{background:#080a10}.app-shell.guest-home .main-area{margin-left:0}.app-shell.guest-home .sidebar,.theme-light.app-shell.guest-home .sidebar,.theme-dark.app-shell.guest-home .sidebar{width:300px;transform:translate(-105%);transition:transform .25s;color:#f7f3ee;background:#080a10;border-right-color:#ffffff14}.app-shell.guest-home .sidebar.sidebar-open{transform:none}.app-shell.guest-home .sidebar.sidebar-open .sidebar-close{display:flex}.app-shell.guest-home .sidebar .brand,.app-shell.guest-home .sidebar .brand-tld,.theme-light.app-shell.guest-home .sidebar .brand{color:#f7f3ee}.app-shell.guest-home .nav-item{color:#f7f3eeb8}.app-shell.guest-home .nav-item:hover,.app-shell.guest-home .nav-item.active{color:#f7f3ee}.app-shell.guest-home .mobile-logo{display:flex;align-items:center;margin-right:auto}.app-shell.guest-home .mobile-logo .brand,.app-shell.guest-home .mobile-logo .brand-tld,.theme-light.app-shell.guest-home .mobile-logo .brand{color:#f7f3ee}.app-shell.guest-home .topbar{--guest-nav-motion: 1.2s;--guest-nav-ease: cubic-bezier(.22, .72, .26, 1);position:fixed;inset:0 0 auto;z-index:10;box-sizing:border-box;width:100%;margin-inline:auto;background:transparent;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:top var(--guest-nav-motion) var(--guest-nav-ease),width var(--guest-nav-motion) var(--guest-nav-ease),height var(--guest-nav-motion) var(--guest-nav-ease),min-height var(--guest-nav-motion) var(--guest-nav-ease),padding var(--guest-nav-motion) var(--guest-nav-ease),background-color var(--guest-nav-motion) var(--guest-nav-ease),border-radius var(--guest-nav-motion) var(--guest-nav-ease),box-shadow var(--guest-nav-motion) var(--guest-nav-ease),backdrop-filter var(--guest-nav-motion) var(--guest-nav-ease)}.app-shell.guest-home.guest-header-scrolled .topbar{top:12px;width:min(680px,calc(100% - 32px));height:58px;min-height:58px;padding:0 14px 0 20px;background:#11131ac7;border-bottom:0;border-radius:var(--radius-pill);box-shadow:0 12px 38px #00000052;-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%)}.app-shell.guest-home .top-search,.app-shell.guest-home .mobile-topbar-search{display:none}.app-shell.guest-home .page-content,.app-shell.guest-home .page-transition{padding:0;min-height:100dvh;max-width:none;width:100%}.app-shell.guest-home .top-cta{color:#111318;background:#fff;border-color:#fff;box-shadow:0 2px 10px #00000024}.app-shell.guest-home .top-cta:hover{color:#111318;background:#f1f1f3;border-color:#f1f1f3}.app-shell.guest-home .topbar-actions .language-control>button{color:#fff;background:#080a106b;border-color:#ffffff29;box-shadow:none}.app-shell.guest-home .topbar-actions .language-control>button:hover{color:#fff;background:#080a1094;border-color:#ffffff29}.guest-landing{position:relative;min-height:70dvh;max-height:none;display:grid;align-items:end;justify-items:end;padding:88px 20px 28px;color:#f7f3ee;background:#080a10;overflow:hidden}.guest-landing-media{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:20% 50%}.guest-landing-media.is-waiting,.guest-landing-media.is-spent{visibility:hidden;pointer-events:none}.guest-landing-veil{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:#080a1040}.guest-landing-card{position:relative;z-index:2;width:min(420px,100%);display:grid;gap:16px;justify-items:start;padding:28px 24px 24px;border:0;border-radius:24px;background:#080a10b8;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-sizing:border-box}.guest-landing-brand{margin-bottom:8px;color:#f7f3ee}.guest-landing-brand .brand{gap:8px;font-size:24px}.guest-landing-brand .brand-mark{width:27px;height:27px}.guest-landing-card h1{margin:0;font-family:var(--font-story);font-size:clamp(32px,4vw,44px);line-height:1.08}.guest-landing-card p{margin:0;max-width:34ch;color:#f7f3eec7;font-size:clamp(16px,1.4vw,20px);line-height:1.45}.guest-landing-actions{display:flex;flex-wrap:wrap;gap:10px;width:100%}.app-shell .guest-landing-actions .google-auth{width:100%;min-height:48px;margin-top:0;color:#1f1f1f;background:#fff;border:0;border-radius:var(--radius-pill);font:600 16px/20px var(--font-ui)}.app-shell .guest-landing-actions .google-auth:hover{color:#1f1f1f;background:#f2f2f2;border-color:transparent}.guest-landing-actions .google-mark{background:transparent}.app-shell button.guest-landing-email{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;color:#f7f3ee;background:#ffffff1f;border:0;border-radius:var(--radius-pill)}.app-shell button.guest-landing-email:hover{color:#fff;background:#ffffff2e;border-color:transparent}@media(max-width:720px){.app-shell.guest-home .topbar{background:linear-gradient(180deg,rgba(8,10,16,.72) 0%,rgba(8,10,16,.3) 62%,transparent 100%)}.app-shell.guest-home.guest-header-scrolled .topbar{top:8px;width:calc(100% - 24px);height:52px;min-height:52px;padding-inline:14px 10px;background:#11131ad1}.guest-landing{padding:88px 20px 24px}.guest-landing-veil{bottom:-1px;background:#080a1099}.guest-landing:after{content:"";position:absolute;right:0;bottom:0;left:0;z-index:1;height:2px;background:#080a10;pointer-events:none}.guest-landing-card{width:100%;gap:12px;padding:0;border-radius:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.guest-landing-brand{display:none}.guest-landing-card h1{max-width:18ch;font-size:clamp(34px,10vw,44px);text-shadow:0 2px 18px rgba(0,0,0,.4)}.guest-landing-actions{margin-top:4px}.guest-explore-stories>h2{display:none}}@media(min-width:721px){.guest-landing{min-height:80dvh;max-height:none;padding:96px 48px 56px}.guest-landing-media{object-position:30% center}.guest-landing-veil{background:#080a1040}.guest-landing-card{width:min(400px,42vw);padding:32px 28px 28px}}@media(prefers-reduced-motion:reduce){.guest-landing-media{animation:none}}.guest-home-page{background:#080a10;color:#f7f3ee}.guest-explore{position:relative;z-index:2;display:grid;gap:48px;width:min(1120px,calc(100% - 40px));margin:0 auto;padding:28px 0 calc(96px + var(--mobile-nav-height))}.featured-story-rail{display:none}.guest-feature-showcase{display:grid;gap:28px}.guest-feature-showcase>header{max-width:620px}.guest-feature-showcase>header h2,.home-catalog-heading h2{margin:0 0 12px;font-family:var(--font-story);font-size:clamp(28px,3.6vw,44px);line-height:1.08}.guest-feature-showcase>header>p:last-child{color:#f7f3eeb8;line-height:1.65}.guest-product-preview{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:620px;overflow:hidden;color:#f4f4f5;background:#151517;border-radius:28px;box-shadow:0 34px 90px #00000047}.guest-preview-chat{min-width:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#111114}.guest-preview-topbar{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:70px;padding:10px 20px;background:#171719}.guest-preview-story-art,.guest-preview-avatar,.guest-preview-cast article>span,.guest-preview-role>span{display:grid;place-items:center;overflow:hidden;background:#29292d}.guest-preview-story-art{width:42px;height:42px;border-radius:50%}.guest-preview-story-art img,.guest-preview-avatar img,.guest-preview-cast img,.guest-preview-cover-art img{width:100%;height:100%;object-fit:cover}.guest-preview-topbar>span:nth-child(2){min-width:0;display:grid;gap:2px}.guest-preview-topbar strong,.guest-preview-topbar small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guest-preview-topbar strong{font-size:14px}.guest-preview-topbar small{color:#8f8f98;font-size:12px}.guest-preview-topbar>svg{color:#8f8f98}.guest-preview-messages{align-self:end;display:grid;gap:18px;width:min(100%,620px);max-height:470px;overflow:hidden;margin:0 auto;padding:42px 34px 28px}.guest-preview-narration{max-width:520px;margin:0 auto;color:#aaa8b0;font-family:var(--font-chat);font-size:14px;font-style:italic;line-height:1.58;text-align:center}.guest-preview-turn{display:grid;grid-template-columns:36px minmax(0,max-content);align-items:end;gap:9px;max-width:84%}.guest-preview-avatar{width:36px;height:36px;color:#9999a2;border-radius:50%}.guest-preview-bubble{position:relative;width:fit-content;padding:9px 13px 11px;background:#202024;border-radius:16px 16px 16px 4px}.guest-preview-bubble:after{content:"";position:absolute;left:-6px;bottom:0;width:6px;height:10px;background:#202024;clip-path:polygon(100% 15%,0 100%,100% 100%)}.guest-preview-bubble strong{display:block;margin-bottom:4px;font-size:13px}.guest-preview-bubble p{margin:0;color:#f2f1f4;font-family:var(--font-chat);font-size:14px;line-height:1.55;white-space:pre-wrap}.guest-preview-composer{--composer-rail-border: #303034;--composer-shell-bg: #22242a;--composer-shell-inset-y: 4px;--composer-shell-inset-x: 8px;--composer-field-inset-x: 10px;--composer-control-size: 24px;width:100%;max-width:512px;margin:0 auto;padding:0 8px 18px;text-align:left;font:inherit;background:transparent;border:0;cursor:text}.guest-preview-composer .composer-field{display:block;color:#92929b;font-family:var(--font-chat);cursor:default}.guest-preview-composer .send-button{color:#aaaab2;background:#2a2c32}.guest-feature-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.guest-feature-points article{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:14px;padding:22px;background:#171719;border-radius:18px}.guest-feature-points article>span{display:grid;place-items:center;width:40px;height:40px;color:#d7d7dc;background:#252529;border-radius:13px}.guest-feature-points h3{margin:1px 0 6px;color:#f7f3ee;font-size:16px}.guest-feature-points p{margin:0;color:#f7f3ee9e;font-size:13px;line-height:1.5}.guest-preview-info{min-width:0;padding:24px;background:#151517}.guest-preview-info>section{padding:22px 0;border-top:1px solid #2b2b2f}.guest-preview-info h3{margin:0 0 13px;color:#9b9ba4;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.guest-preview-info p{display:-webkit-box;overflow:hidden;margin:0;color:#c5c5cb;font-size:13px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:4}.guest-preview-cover{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:14px;padding:0 0 22px}.guest-preview-cover-art{display:grid;place-items:center;overflow:hidden;width:64px;height:78px;color:#9999a2;background:#29292d;border-radius:16px}.guest-preview-cover>span,.guest-preview-cast article>div,.guest-preview-role>div{min-width:0;display:grid;gap:4px}.guest-preview-cover strong{font-size:17px;line-height:1.2}.guest-preview-cover small,.guest-preview-cast small,.guest-preview-role small{color:#92929b;font-size:12px;line-height:1.35}.guest-preview-cast{display:grid;gap:12px}.guest-preview-cast article,.guest-preview-role{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px}.guest-preview-cast article>span,.guest-preview-role>span{width:40px;height:40px;color:#9999a2;border-radius:50%}.guest-preview-cast strong,.guest-preview-role strong{font-size:13px}.guest-preview-cast strong,.guest-preview-cast small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-catalog-heading{margin-bottom:20px}@media(max-width:720px){.guest-product-preview{grid-template-columns:1fr;min-height:560px;border-radius:22px}.guest-preview-info{display:none}.guest-preview-messages{max-height:430px;padding:34px 18px 24px}.guest-preview-turn{max-width:92%}.guest-preview-topbar{padding-inline:16px}.guest-feature-points{grid-template-columns:1fr}}.app-shell.guest-home .guest-explore .home-public{margin:0}.app-shell.guest-home .home-catalog-filters{position:static;isolation:auto;margin:-2px 0 22px;background:transparent}.app-shell.guest-home .home-catalog-filters:before{content:none}.app-shell.guest-home .home-catalog-filters .category-pills{gap:8px;padding-bottom:2px}.app-shell.guest-home .home-catalog-filters .category-pills button{min-height:38px;padding:0 18px;color:#f7f3eeb8;background:#ffffff14;border:0}.app-shell.guest-home .home-catalog-filters .category-pills button:hover{color:#fff;background:#ffffff24}.app-shell.guest-home .home-catalog-filters .category-pills button.active{color:#111318;background:#fff}.app-shell.guest-home .plot-card.media-card{background:transparent;box-shadow:none}@media(min-width:721px){.guest-explore{padding:36px 0 120px;gap:72px}.featured-story-rail{position:relative;display:grid;gap:20px;min-width:0}.featured-story-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}.featured-story-heading h2{margin:0;font-family:var(--font-story);font-size:clamp(32px,4vw,48px);line-height:1.05}.featured-story-controls{display:flex;gap:8px}.featured-story-controls button{display:grid;place-items:center;width:42px;height:42px;padding:0;color:#fff;background:#ffffff14;border:0;border-radius:50%}.featured-story-controls button:disabled{opacity:.28}.featured-story-viewport{overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;scroll-snap-type:inline mandatory}.featured-story-viewport::-webkit-scrollbar{display:none}.featured-story-track{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(205px,21vw,254px);gap:16px;width:max-content}.featured-story-item{min-width:0;scroll-snap-align:start}.featured-story-rail:before,.featured-story-rail:after{content:"";position:absolute;z-index:5;top:70px;bottom:0;width:14px;opacity:0;pointer-events:none;transition:opacity .18s ease}.featured-story-rail:before{left:0;background:#080a10;box-shadow:12px 0 22px #080a10db}.featured-story-rail:after{right:0;background:#080a10;box-shadow:-12px 0 22px #080a10db}.featured-story-rail.can-scroll-left:before,.featured-story-rail.can-scroll-right:after{opacity:1}}.home-public{min-width:0}.home-catalog-filters{margin-bottom:18px}.home-catalog-toolbar.is-sticky{position:sticky;top:0;z-index:10;display:grid;gap:12px;padding:12px 0;background:var(--paper)}.home-catalog-toolbar.is-sticky .home-catalog-filters{position:static;isolation:auto;margin:0;padding:0;background:transparent}.home-catalog-toolbar.is-sticky .home-catalog-filters:before{content:none}.home-filter-empty{display:grid;justify-items:start;gap:12px;min-height:180px;align-content:center;color:var(--muted)}.home-filter-empty p{margin:0}.home-filter-empty button{min-height:36px;padding:0 16px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill)}.home-promo-banners{position:relative;overflow:hidden;width:100%;height:clamp(160px,calc((100vw - 120px)/8),240px);border-radius:var(--radius-banner);margin-top:clamp(24px,3vw,44px)}.home-promo-track{display:flex;height:100%;transition:transform .42s cubic-bezier(.65,0,.35,1)}.home-promo-banner{position:relative;box-sizing:border-box;flex:0 0 100%;min-width:0;height:100%;display:flex;align-items:center;padding:26px 30px;overflow:hidden;color:#fff;background-position:center right;background-size:cover;border:0;border-radius:var(--radius-banner);box-shadow:none;text-decoration:none;isolation:isolate}.home-promo-banner:before{content:"";position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(7,11,31,.98) 0%,rgba(7,11,31,.88) 38%,rgba(7,11,31,.22) 76%,transparent 100%)}.home-promo-story{background-image:url(/images/landing/brutalist-cartographer.webp);background-position:center 32%}.home-promo-story:before{background:linear-gradient(90deg,rgba(8,9,9,.98) 0%,rgba(8,9,9,.9) 32%,rgba(8,9,9,.3) 50%,rgba(8,9,9,.04) 67%,transparent 100%)}.home-promo-creator{background-image:url(/assets/home-creator-banner-web-v2-Bn_Qcljt.png)}.home-promo-copy{display:grid;gap:8px;max-width:58%}.home-promo-copy strong{font-family:var(--font-story);font-size:clamp(30px,3vw,52px);line-height:1.02}.home-promo-copy em{color:#8ee4d8;font-style:normal}.home-promo-copy small{color:#ffffffc2;font-size:clamp(16px,1.25vw,22px);line-height:1.35}.home-promo-indicators{position:absolute;z-index:2;left:0;right:0;bottom:11px;display:flex;justify-content:center;gap:6px;pointer-events:none}.home-promo-indicators button{width:7px;height:6px;padding:0;border:0;border-radius:var(--radius-pill);background:#ffffff73;box-shadow:0 1px 4px #0006;cursor:pointer;pointer-events:auto;transition:width .18s ease,background-color .18s ease}.home-promo-indicators button.active{width:22px;background:#fff}@media(prefers-reduced-motion:reduce){.home-promo-track,.home-promo-indicators button,.home-promo-media{transition:none}}.discover-page{display:grid;gap:18px}.search-surface-layer{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:grid;place-items:start center;overflow:hidden;padding:clamp(42px,7vh,76px) 24px 28px;background:#0404069e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.search-surface{width:min(780px,100%);height:min(680px,calc(100dvh - clamp(78px,12vh,120px)));display:flex;flex-direction:column;overflow:hidden;color:var(--ink);background:#18181c;border:0;border-radius:14px;box-shadow:0 24px 70px #00000085;scrollbar-width:thin;overscroll-behavior:contain;animation:search-dialog-in .16s ease-out}@keyframes search-dialog-in{0%{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}.search-dialog-field{position:sticky;z-index:2;top:0;min-height:64px;display:flex;align-items:center;gap:11px;padding:10px 14px;background:#18181c;border-bottom:1px solid var(--line)}.search-dialog-progress{position:absolute;right:0;bottom:-1px;left:0;height:2px;overflow:hidden;pointer-events:none}.search-dialog-progress:after{content:"";display:block;width:32%;height:100%;background:var(--accent);border-radius:var(--radius-pill);animation:search-progress .9s ease-in-out infinite}@keyframes search-progress{0%{transform:translate(-110%)}to{transform:translate(325%)}}@media(prefers-reduced-motion:reduce){.search-dialog-progress:after{animation:none}}.search-dialog-field>svg{flex:0 0 auto;color:var(--muted)}.search-dialog-field input{min-width:0;height:42px;flex:1;padding:0;color:var(--ink);background:transparent;border:0;outline:none;font-size:var(--type-control)}.search-dialog-field input::placeholder{color:var(--muted)}.search-dialog-field input::-webkit-search-cancel-button,.home-search input::-webkit-search-cancel-button,.top-search input::-webkit-search-cancel-button{display:none;-webkit-appearance:none}.search-dialog-clear{width:32px;height:32px;display:grid;flex:0 0 auto;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:8px}.search-dialog-clear:hover{color:var(--ink);background:var(--control-outline-bg-hover)}.search-dialog-close{flex:0 0 auto;padding:0;color:var(--muted);background:transparent;border:0}.search-dialog-close kbd{display:inline-flex;min-width:32px;min-height:26px;align-items:center;justify-content:center;color:var(--muted);background:var(--control-outline-bg);border:1px solid var(--line-strong);border-radius:6px;font:inherit;font-size:12px}.search-dialog-close>span{display:none}.search-start-state,.search-live-results{flex:1;min-height:0;display:grid;align-content:start;gap:22px;overflow-y:auto;padding:22px;scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}.search-no-preview h3{margin:0;font-size:20px;line-height:1.25}.search-no-preview p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:1.45}.search-intent-chips,.search-theme-row{display:flex;flex-wrap:wrap;gap:8px}.search-intent-chips{flex-wrap:nowrap;gap:6px;overflow-x:auto;scrollbar-width:none}.search-intent-chips::-webkit-scrollbar{display:none}.search-intent-chips button,.search-theme-row button,.discover-empty-suggestions button{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font-size:13px;font-weight:650}.search-intent-chips button{min-height:28px;padding:0 14px;color:var(--muted);background:var(--card);border:0;font-size:14px;line-height:1}.search-intent-chips button:hover,.search-theme-row button:hover,.discover-empty-suggestions button:hover{background:var(--control-outline-bg-hover)}.search-intent-chips button:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 5%,transparent)}.search-group{display:grid;gap:9px}.search-group-title{min-height:22px;display:flex;align-items:center;gap:7px;color:var(--muted)}.search-group-title h3{margin:0;color:var(--ink);font-size:13px;font-weight:750}.search-group-title>button{margin-left:auto;padding:4px 0;color:var(--muted);background:transparent;border:0;font-size:12px}.search-creator-list{display:grid;gap:3px}.search-creator-list>button{width:100%;min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:38px;padding:6px 9px;color:var(--ink);background:transparent;border:0;border-radius:9px;text-align:left}.search-creator-list>button:hover,.search-creator-list>button:focus-visible,.search-people-grid>button:hover,.search-people-grid>button:focus-visible{background:#fff1;outline:none}.search-recents{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.search-recents-label{display:flex;align-items:center;gap:7px;color:var(--muted);white-space:nowrap}.search-recents-label h3{margin:0;color:var(--muted);font-size:12px;font-weight:650}.search-recent-chips{min-width:0;display:flex;gap:7px;overflow-x:auto;scrollbar-width:none}.search-recent-chips::-webkit-scrollbar{display:none}.search-recent-chips>button{flex:0 0 auto;min-height:28px;max-width:180px;overflow:hidden;padding:0 14px;color:var(--muted);background:var(--card);border:0;border-radius:var(--radius-pill);font-size:14px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.search-recent-chips>button:hover,.search-recent-chips>button:focus-visible{color:var(--ink);background:color-mix(in srgb,var(--ink) 5%,transparent);outline:none}.search-recents-clear{padding:5px 0;color:var(--muted);background:transparent;border:0;font-size:12px;font-weight:550}.search-recents-clear:hover,.search-recents-clear:focus-visible{color:var(--ink);outline:none}.search-creator-list>button>svg{color:var(--muted)}.search-popular-grid,.search-story-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.search-popular-card,.search-story-card{min-width:0}.search-popular-card .plot-card.media-card,.search-story-card .plot-card.media-card{width:100%}.search-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.search-people-grid>button{min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:7px;color:var(--ink);background:transparent;border:0;border-radius:9px;text-align:left}.search-people-grid>button>img,.search-people-grid>button>span,.search-creator-list>button>img,.search-creator-list>button>span{width:38px;height:38px;grid-row:1 / 3;display:grid;place-items:center;object-fit:cover;color:var(--accent-dark);background:var(--accent-soft);border-radius:50%;font-weight:800}.search-people-grid b,.search-people-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-people-grid b{align-self:end;font-size:13px}.search-people-grid small{align-self:start;color:var(--muted);font-size:12px}.search-creator-list>button{grid-template-columns:38px minmax(0,1fr) auto auto}.search-creator-list b{font-size:13px}.search-creator-list small{color:var(--muted)}.search-no-preview{display:grid;justify-items:start;gap:7px;padding:13px 4px 3px}.search-no-preview>svg{color:var(--muted)}.search-no-preview .search-intent-chips{margin-top:7px}.search-loading{padding:20px;color:var(--muted);text-align:center}.discover-query-context{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 2px}.discover-query-context>span{min-width:0;display:grid;gap:2px}.discover-query-context small{color:var(--muted);font-size:12px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.discover-query-context strong{overflow:hidden;text-overflow:ellipsis;font-size:20px;white-space:nowrap}.discover-query-context>button{flex:0 0 auto;display:inline-flex;align-items:center;gap:5px;padding:7px 10px;color:var(--muted);background:transparent;border:0;border-radius:8px}.discover-query-context>button:hover{color:var(--ink);background:var(--control-outline-bg-hover)}.discover-empty-suggestions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:13px}.discover-panel{position:sticky;top:0;z-index:10;isolation:isolate;display:grid;gap:18px;padding-bottom:0;background:var(--paper)}.view-home .discover-panel{padding-top:0}.discover-panel:before{content:"";position:absolute;z-index:-1;right:0;left:0;top:-120px;bottom:0;background:var(--paper)}.view-home .discover-panel:before{top:0}.view-home .discover-panel,.view-discover .discover-panel{top:62px}.explore-drawer-body .discover-panel{top:0}.explore-drawer-body .discover-section-head{display:none}.explore-drawer-body .discover-page{gap:16px}.discover-filter-row{min-width:0;display:flex;align-items:center;gap:8px}.discover-filter-row .category-pills{flex:1;gap:6px;padding:0;scrollbar-width:none}.discover-filter-row .category-pills::-webkit-scrollbar{display:none}.discover-filter-row .category-pills button{min-height:28px;padding:0 14px;color:var(--muted);background:var(--card);border:0;font-size:14px;line-height:1}.discover-filter-row .category-pills button:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 5%,transparent)}.discover-filter-row .category-pills button:focus,.discover-filter-row .category-pills button:focus-visible{outline:none;box-shadow:none}.discover-filter-row .category-pills button.active,.view-discover .discover-filter-row .category-pills button.active{color:#17171a;background:#fff;border-color:#fff}.discover-reset{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 5px 0 10px;color:var(--muted);background:transparent;border:0;white-space:nowrap}.discover-reset:disabled{visibility:hidden}.discover-reset>span{min-width:22px;height:22px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:50%;font-size:var(--type-meta)}.discover-results,.creator-discovery{display:grid;gap:15px}.discover-section-head{display:flex;align-items:end;justify-content:space-between;gap:22px}.discover-section-head h2{margin:0 0 4px}.discover-section-head p{margin:0;color:var(--muted);font-size:var(--type-secondary);line-height:1.45}.result-count{flex:0 0 auto;color:var(--muted);font-size:var(--type-secondary)}.discover-section-meta{display:flex;flex:0 0 auto;align-items:center;gap:12px}.discover-empty{min-height:220px;padding:38px 20px;background:var(--card);border:1px dashed var(--line-strong);border-radius:var(--radius-card)}.discover-empty p{font-size:var(--type-control)}.discover-empty button{min-height:var(--button-height-compact);margin-top:10px;padding:0 16px;color:var(--action-fg);background:var(--action-bg);border:0;border-radius:var(--radius-pill)}.creator-search-status{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:var(--type-secondary)}.creator-search-status>i{width:7px;height:7px;background:var(--accent);border-radius:50%;animation:discover-pulse 1s ease-in-out infinite alternate}@keyframes discover-pulse{to{opacity:.28}}.creator-result-card .card-copy{display:grid;gap:5px;padding:11px 3px}.creator-result-card .card-copy>span{margin:0;color:var(--muted)}.creator-result-card .card-copy>small{color:var(--muted);font-size:var(--type-meta);line-height:1.4}.creator-result-card .match-reason{margin-top:2px}.creator-empty{display:flex;gap:8px;padding:16px;color:var(--muted);background:var(--card);border:1px dashed var(--line);border-radius:var(--radius-card);font-size:var(--type-secondary)}.creator-empty strong{color:var(--ink)}.theme-light .creator-empty{background:#fff}@media(max-width:640px){.home-landing{gap:12px}.home-promo-banners{height:160px;margin-top:16px}.home-promo-banner{padding:18px 20px;border-radius:14px}.home-promo-creator{background-image:url(/assets/home-creator-banner-bg-CebbFQy3.webp)}.home-promo-copy{max-width:68%}.home-promo-story .home-promo-copy{max-width:48%}.home-promo-story .home-promo-copy small{display:none}.home-promo-copy strong{font-size:clamp(20px,6vw,27px)}.discover-page{gap:25px}.search-surface-layer{z-index:50;top:0;right:0;bottom:0;left:0;display:block;padding:0;background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none}.search-surface{width:100%;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none}.search-dialog-field{position:sticky;z-index:2;top:0;min-height:58px;display:flex;align-items:center;gap:9px;padding:8px 12px;background:#0d0d0ff5;border-bottom:1px solid var(--line)}.search-dialog-field>svg{color:var(--muted)}.search-dialog-field input{min-width:0;height:42px;flex:1;padding:0;color:var(--ink);background:transparent;border:0;border-radius:0;outline:none;font-size:16px}.search-dialog-close{flex:0 0 auto;padding:7px 0;color:var(--ink);background:transparent;border:0;font-size:13px;font-weight:700}.search-dialog-close kbd{display:none}.search-dialog-close>span{display:inline}.search-start-state,.search-live-results{gap:20px;padding:20px 14px calc(28px + env(safe-area-inset-bottom))}.search-recents{grid-template-columns:minmax(0,1fr) auto;gap:9px 12px}.search-recent-chips{grid-column:1 / -1;grid-row:2}.search-popular-grid,.search-story-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.search-people-grid{grid-template-columns:1fr}.discover-query-context{padding-inline:2px}.discover-query-context strong{font-size:18px}.view-home .discover-panel{top:var(--mobile-topbar-height, 58px);padding-top:0}.discover-filter-row{align-items:center;flex-direction:row;gap:8px}.view-discover .discover-panel{top:0;margin-inline:calc(-1 * var(--mobile-gutter, 17px));padding-inline:var(--mobile-gutter, 17px)}.view-discover .discover-panel:before{right:calc(-1 * var(--mobile-gutter, 17px));left:calc(-1 * var(--mobile-gutter, 17px))}.explore-drawer-body .discover-panel{margin-inline:calc(-1 * var(--mobile-gutter, 17px));padding-inline:var(--mobile-gutter, 17px)}.explore-drawer-body .discover-panel:before{right:calc(-1 * var(--mobile-gutter, 17px));left:calc(-1 * var(--mobile-gutter, 17px))}.discover-filter-row .category-pills{width:calc(100% + 22px);margin:0 -11px;padding:0 11px}.discover-reset{min-height:28px}.discover-section-head{align-items:flex-start}.discover-section-head h2{font-size:var(--type-page-title)}.result-count{padding-top:5px}.view-discover .discover-results>.discover-section-head{display:none}.creator-discovery .discover-section-head{flex-direction:column;gap:7px}}.theme-light .search-surface{background:#fffdf9;box-shadow:0 24px 70px #1f1b1738}.theme-light .search-dialog-field{background:#fffdf9}.theme-light .search-creator-list>button:hover,.theme-light .search-creator-list>button:focus-visible,.theme-light .search-people-grid>button:hover,.theme-light .search-people-grid>button:focus-visible{background:#1412100e}@media(max-width:640px){.theme-light .search-dialog-field{background:#fffdf9f5}}@media(prefers-reduced-motion:reduce){.search-surface{animation:none}}@media(max-width:680px){.profile-overview{grid-template-columns:auto minmax(0,1fr) auto;padding:16px}.profile-overview-aside{gap:8px}.profile-overview-signout{padding:8px 10px;font-size:13px}.persona-manager,.privacy-center,.gems-center,.purchase-history{padding:16px}.billing-plans,.billing-gem-balance-top{grid-template-columns:1fr}.billing-gem-balance-main{grid-column:1;grid-row:auto}.billing-gem-refill{grid-column:1;grid-row:auto;justify-self:stretch;text-align:left}.billing-gem-balance-foot{grid-column:1;grid-row:auto;justify-self:start}.gem-packs button{flex-basis:7.25rem;min-height:5.5rem}.billing-active-pass{align-items:stretch;flex-direction:column}.persona-form{grid-template-columns:1fr}.persona-form .wide{grid-column:auto}.persona-list article{grid-template-columns:auto minmax(0,1fr)}.persona-list article>em,.persona-list article>button{grid-column:2;width:fit-content}.purchase-history>header{align-items:flex-start}.purchase-history-filter{width:100%;margin-left:0}.purchase-history-filter label{flex:1 1 0;min-width:0}.privacy-controls>label{align-items:flex-start;flex-direction:column}.privacy-controls .profile-field-select{width:100%}}.app-shell.theme-light .enter-story.secondary{color:var(--ink);background:#fff}@keyframes boot-ring-travel{to{stroke-dashoffset:-100}}@keyframes boot-pulse{0%{opacity:.35}to{opacity:1}}.boot-screen{min-height:100vh;display:grid;place-items:center;padding:32px 22px;color:var(--ink);background:var(--paper)}.boot-stage{width:min(420px,100%);display:grid;justify-items:center;gap:28px}.boot-brand{position:relative;width:80px;height:80px;display:grid;place-items:center}.boot-ring{position:absolute;top:0;right:0;bottom:0;left:0;color:#fff;pointer-events:none}.boot-ring-track{animation:boot-ring-travel 1.15s linear infinite}.boot-mark{position:relative;z-index:1;width:72px;height:72px;border-radius:15%;background:currentColor;mask:url(/images/teasa-mark-ghost.svg) center / contain no-repeat;-webkit-mask:url(/images/teasa-mark-ghost.svg) center / contain no-repeat}.boot-screen.is-recovering .boot-ring-track{animation:none;opacity:.55}.boot-card{width:100%;display:grid;gap:14px;padding:28px 26px 24px;background:var(--card);border:1px solid var(--line);border-radius:16px}.boot-card>p.boot-status{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--accent-dark);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.boot-status i{width:6px;height:6px;border-radius:1.5px;background:var(--accent);animation:boot-pulse 1s ease-in-out infinite alternate}.boot-card h1{margin:2px 0 0;font-size:clamp(28px,6vw,36px);font-weight:750;letter-spacing:-.03em;line-height:1.12}.boot-card>p{margin:0;color:var(--muted);font-size:15px;line-height:1.55}.boot-error{padding-top:4px;color:var(--ink)!important;font-size:13px}.boot-retry{min-height:48px;margin-top:6px;padding:0 20px;color:#fff;background:var(--accent);border:0;border-radius:var(--radius-pill);font-size:15px;font-weight:700}.boot-retry:hover,.boot-retry:focus-visible{background:var(--accent-solid);outline:none}.story-media-card{width:min(100%,720px);margin-top:12px;overflow:hidden;background:#18181c;border:1px solid var(--line);border-radius:16px}.story-media-card img,.story-media-card video{display:block;width:100%;max-height:520px;object-fit:cover}.story-media-skeleton{position:relative;display:flex;align-items:flex-end;aspect-ratio:16 / 9;max-height:320px;overflow:hidden;background:linear-gradient(180deg,#202027,#17171c)}.story-media-skeleton-sheen{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.07) 42%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.07) 58%,transparent 80%);transform:translate(-100%);animation:story-media-sheen 1.9s ease-in-out infinite}.story-media-skeleton-progress{margin-left:2px;color:var(--muted);font-style:normal;font-variant-numeric:tabular-nums;font-weight:700}.story-media-skeleton-label{position:relative;display:flex;align-items:center;gap:8px;margin:14px 16px;padding:7px 12px;border-radius:999px;background:#0c0c0fb8;color:var(--muted);font-size:13px;font-weight:600}@keyframes story-media-sheen{to{transform:translate(100%)}}@media(prefers-reduced-motion:reduce){.story-media-skeleton-sheen{animation:none;opacity:.5;transform:none}}.character-drawer-backdrop,.character-page-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:64;display:flex;align-items:center;justify-content:center;padding:20px;background:#08080aa8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.character-drawer{position:relative;width:min(100%,360px);padding:26px 22px 20px;text-align:center;color:var(--ink);background:var(--card);border:1px solid var(--line-strong);border-radius:22px;box-shadow:0 24px 70px #00000080}.character-drawer-close,.character-page header button{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:999px;background:var(--control-outline-bg);color:var(--ink);cursor:pointer}.character-drawer-portrait{width:96px;height:96px;border-radius:24px;object-fit:cover}.character-drawer h2{margin:12px 0 2px;font-size:20px}.character-drawer-creator{margin:0;color:var(--muted);font-size:13px}.character-drawer-bio{margin:8px 0 18px;color:var(--muted);font-size:13px;line-height:1.5}.character-drawer-action{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin-top:8px;padding:0 14px;border:1px solid var(--line);border-radius:14px;background:transparent;color:var(--ink);font-size:15px;font-weight:600;cursor:pointer}.character-drawer-action:hover{background:var(--control-outline-bg-hover)}.character-page{position:relative;display:flex;flex-direction:column;width:min(100%,720px);max-height:min(88dvh,860px);padding:20px;color:var(--ink);background:var(--card);border:1px solid var(--line-strong);border-radius:22px;box-shadow:0 24px 70px #00000080}.character-page header{display:flex;align-items:center;gap:14px;padding-right:40px}.character-page header img{width:64px;height:64px;border-radius:18px;object-fit:cover}.character-page header h2{margin:0;font-size:20px}.character-page header p{margin:2px 0 0;color:var(--muted);font-size:13px}.character-page-tabs{display:flex;gap:8px;margin:16px 0 12px;border-bottom:1px solid var(--line)}.character-page-tabs button{display:inline-flex;align-items:center;gap:7px;padding:8px 14px 10px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font-size:14px;font-weight:600;cursor:pointer}.character-page-tabs button[data-active=true]{color:var(--ink);border-bottom-color:var(--accent)}.character-page-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;overflow-y:auto}.character-page-grid figure{position:relative;margin:0}.character-page-grid figure>button{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.character-page-grid img,.character-page-grid video{display:block;width:100%;aspect-ratio:16 / 9;object-fit:cover;border-radius:12px}.character-page-grid figcaption{margin-top:6px;color:var(--muted);font-size:12px}.character-page-share{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border:0;border-radius:999px;background:#0a0a0cb8;color:var(--muted);font-size:12px;font-weight:700;cursor:pointer}.character-page-share.on{color:var(--accent-dark)}.character-page-empty,.character-page-error{margin:24px 0;text-align:center;color:var(--muted);font-size:14px}.character-page-error{color:var(--accent-dark)}.story-video{position:relative;display:block;line-height:0}.story-video video{display:block;width:100%;max-height:520px;object-fit:cover;cursor:zoom-in}.story-video-controls{position:absolute;right:10px;bottom:10px;display:flex;gap:6px;opacity:0;transition:opacity .16s ease}.story-video:hover .story-video-controls,.story-video:focus-within .story-video-controls{opacity:1}.story-video-controls button,.story-video-play{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;border:0;color:#fff;background:#0a0a0ca8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);cursor:pointer}.story-video-play{position:absolute;top:0;right:0;bottom:0;left:0;width:54px;height:54px;margin:auto}@media(hover:none){.story-video-controls{opacity:1}}.story-video-stage{position:relative;display:flex;flex-direction:column;gap:10px;max-height:100%}.story-video-stage video{max-width:100%;max-height:calc(100dvh - 280px);border-radius:14px;cursor:pointer}.story-video-bar{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:#141418b8}.story-video-bar button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:999px;background:transparent;color:var(--ink);cursor:pointer}.story-video-bar button:hover{background:var(--control-outline-bg-hover)}.story-video-bar input[type=range]{flex:1;min-width:120px;accent-color:var(--accent)}.story-video-time{min-width:78px;text-align:right;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}.story-gallery-zoom-spacer{flex:0 0 auto}.story-gallery-strip video{width:100%;height:100%;object-fit:cover}.story-avatar-open,.chat-info-cast-portrait{display:block;padding:0;border:0;border-radius:50%;background:none;cursor:zoom-in}.story-avatar-open:focus-visible,.chat-info-cast-portrait:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.chat-info-cast-portrait img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.story-media-open{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.story-gallery{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:grid;grid-template-rows:auto 1fr auto}.story-gallery-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#060608d1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .22s ease}.story-gallery.open .story-gallery-backdrop{opacity:1}.story-gallery-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;color:var(--ink)}.story-gallery-count{font-size:14px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}.story-gallery-zoom{display:flex;align-items:center;gap:4px;padding:4px;border-radius:999px;border:1px solid var(--line);background:#141418b3}.story-gallery-zoom span{min-width:46px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--muted)}.story-gallery-zoom button,.story-gallery-close,.story-gallery-arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:999px;border:1px solid transparent;background:transparent;color:var(--ink);cursor:pointer}.story-gallery-zoom button:hover:not(:disabled),.story-gallery-close:hover,.story-gallery-arrow:hover:not(:disabled){background:var(--control-outline-bg-hover)}.story-gallery-zoom button:disabled,.story-gallery-arrow:disabled{opacity:.35;cursor:default}.story-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:0;padding:0 12px}.story-gallery-arrow{width:44px;height:44px;border-color:var(--line);background:#141418b3}.story-gallery-frame{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:min(1100px,100%);max-height:100%;margin:0;overflow:hidden;transition:transform .26s cubic-bezier(.2,.7,.2,1),opacity .2s ease}.story-gallery-frame img{max-width:100%;max-height:calc(100dvh - 240px);border-radius:14px;object-fit:contain;transition:transform .18s ease}.story-gallery-frame figcaption{color:var(--muted);font-size:13px}.story-gallery-strip{position:relative;display:flex;gap:8px;padding:12px 16px 18px;overflow-x:auto;scrollbar-width:none}.story-gallery-strip::-webkit-scrollbar{display:none}.story-gallery-strip button{flex:0 0 auto;width:72px;height:44px;padding:0;overflow:hidden;border-radius:8px;border:1px solid var(--line);background:none;opacity:.55;cursor:pointer;transition:opacity .14s ease,border-color .14s ease}.story-gallery-strip button[data-active=true]{opacity:1;border-color:var(--accent)}.story-gallery-strip img{width:100%;height:100%;object-fit:cover}@media(prefers-reduced-motion:reduce){.story-gallery-frame,.story-gallery-frame img,.story-gallery-backdrop{transition:none}}.premium-spend-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:20px;background:#08080a9e}.premium-spend{width:min(100%,380px);padding:22px;color:var(--ink);background:var(--card);border:1px solid var(--line-strong);border-radius:20px;box-shadow:0 24px 70px #00000080}.premium-spend h2{margin:0 0 14px;font-size:18px;font-weight:700}.premium-spend-lines{display:grid;gap:8px;margin:0 0 16px}.premium-spend-lines>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.premium-spend-lines dt{color:var(--muted);font-size:14px}.premium-spend-lines dd{display:flex;align-items:center;gap:6px;margin:0;font-size:15px;font-weight:600}.premium-spend-short{margin:0 0 16px;color:var(--muted);font-size:13px}.premium-spend-actions{display:flex;gap:10px}.premium-spend-actions button{flex:1;min-height:44px;border-radius:12px;border:1px solid var(--control-outline);background:var(--control-outline-bg);color:var(--ink);font-size:15px;font-weight:600}.premium-spend-actions button.primary{border-color:transparent;background:var(--accent-solid);color:#fff}.story-media-card>span{display:flex;align-items:center;gap:9px;min-height:62px;padding:14px 16px;color:var(--muted)}.story-media-card>button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;color:#fff;background:var(--accent-solid);border:0;font-weight:700;transition:background .12s ease}.story-media-animate:not(:disabled):active{background:var(--accent-hover)}.story-media-animate[data-busy=true]{background:var(--accent-hover);opacity:1}.story-media-price{padding:3px 9px;color:#fff;background:#ffffff2e;border-radius:999px;font-size:13px;font-weight:600}.story-media-card.failed>span{color:#ff9ca9}.media-generation-failure{z-index:9}.studio-character-art{display:block;width:min(100%,280px);aspect-ratio:3 / 4;margin:12px 0;object-fit:cover;border-radius:14px}.studio-character-media{align-items:end}.studio-character-media>button{margin:14px 0}[data-theme=light] .story-media-card{background:#fff}@media(max-width:640px){.studio-character-media{grid-template-columns:1fr}.studio-character-media>button{margin:0 0 12px}}.app-shell:not(.view-chat) .main-area{min-height:0;display:flex;flex-direction:column}.app-shell:not(.view-chat) .page-content{width:100%;flex:1 0 auto}@media(min-width:641px){.app-shell:not(.view-chat):not(.view-chats) .page-content{min-height:100dvh}}.language-control{position:relative;flex:0 0 auto;font-family:inherit}.language-control .language-trigger{color:var(--muted);cursor:pointer}.language-control .language-trigger:hover{color:var(--ink)}.language-trigger:focus-visible,.language-options button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.language-popover{position:absolute;z-index:80;top:calc(100% + 8px);right:0;width:220px;box-sizing:border-box;overflow:hidden;padding:8px;color:var(--ink);border:0;background:var(--card);border-radius:18px;box-shadow:0 20px 48px #00000052;transform-origin:top right;animation:language-popover-in .14s ease-out}@keyframes language-popover-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.language-options{display:grid;gap:4px}.language-options button{width:100%;min-height:52px;display:grid;grid-template-columns:28px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);border:0;background:transparent;border-radius:11px;font:inherit;text-align:left;cursor:pointer;transition:background .15s ease}.language-options button:hover,.language-options button.active{background:color-mix(in srgb,var(--ink) 7%,transparent)}.language-mark{width:28px;height:28px;display:grid;place-items:center;color:var(--muted);border:0;background:transparent;border-radius:0;font-size:14px;font-weight:700;line-height:1}.language-option-copy{min-width:0;display:grid;gap:2px}.language-option-copy strong{font-size:14px;font-weight:600}.language-option-copy small{overflow:hidden;color:#746e72;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.language-check{color:var(--accent);opacity:0;transition:opacity .15s ease}.language-options button.active .language-check{opacity:1}.site-footer{position:relative;z-index:4;width:100%;max-width:100%;box-sizing:border-box;overflow-x:clip;container-type:inline-size;margin-top:clamp(44px,7vw,92px);color:#f8f5f7;border-top:1px solid rgba(255,255,255,.08);background:var(--paper)}.site-footer-inner{width:min(1180px,calc(100% - clamp(24px,4vw,48px)));max-width:100%;min-width:0;margin:0 auto;padding:56px 0 26px;box-sizing:border-box}.site-footer-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,2fr);gap:clamp(24px,4vw,72px);padding-bottom:48px}.site-footer-brand{max-width:min(300px,100%);min-width:0}.site-footer-brand>a{display:inline-flex;color:#fff;text-decoration:none}.site-footer-brand .brand{color:#fff}.site-footer-brand .brand-mark{width:38px;height:38px}.site-footer-brand .brand-wordmark{font-size:25px}.site-footer-brand>p{margin:18px 0 7px;color:#aaa3ac;font-size:13px;line-height:1.65}.site-footer-brand>span{color:#77717a;font-size:12px}.site-footer-logo{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.site-footer-logo img{width:38px;height:38px}.site-footer-wordmark{font-size:25px;font-weight:830;letter-spacing:-.045em}.site-footer-wordmark span{color:#f05b94}.site-footer-tagline{margin:18px 0 0;color:#aaa3ac;font-size:13px;line-height:1.65}.site-footer-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:clamp(18px,2.5vw,30px);min-width:0}.site-footer-links nav{display:grid;align-content:start;gap:11px;min-width:0}.site-footer-links nav>strong{margin:0 0 5px;color:#77717a;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.site-footer-links nav>a{width:fit-content;max-width:100%;overflow-wrap:anywhere;color:#d8d2d7;font-size:12px;line-height:1.4;text-decoration:none;transition:color .15s ease,transform .15s ease}.site-footer-links nav>a:hover{color:#fff;transform:translate(2px)}.site-footer-column{display:grid;align-content:start;gap:11px}.site-footer-column h2{margin:0 0 5px;color:#77717a;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.site-footer-column a{width:fit-content;color:#d8d2d7;font-size:12px;line-height:1.4;text-decoration:none;transition:color .15s ease,transform .15s ease}.site-footer-column a:hover{color:#fff;transform:translate(2px)}.site-footer-bottom{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;padding-top:22px;color:#77717a;border-top:1px solid rgba(255,255,255,.08);font-size:12px}.site-footer-bottom>p{margin:0;min-width:0;overflow-wrap:anywhere}.site-footer-legal{display:flex;align-items:center;gap:9px}.site-footer-dot{color:#565158}.language-control-footer .language-popover{top:auto;right:0;bottom:calc(100% + 10px);transform-origin:bottom right}@container (max-width: 680px){.site-footer-main{grid-template-columns:1fr;gap:38px}.site-footer-brand{max-width:420px}}@media(max-width:820px){.site-footer-main{grid-template-columns:1fr;gap:38px}.site-footer-brand{max-width:min(420px,100%)}}@media(max-width:640px){.language-control-header .language-popover{position:fixed;top:66px;right:12px;left:12px;width:auto;max-width:360px;margin-left:auto}.site-footer{margin-top:52px}.app-shell:has(.bottom-nav) .site-footer{display:none}.site-footer-inner{width:min(100% - 32px,1180px);padding-top:42px;padding-bottom:96px}.site-footer-main{padding-bottom:34px}.site-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}.site-footer-bottom{align-items:flex-start;flex-direction:column-reverse}.site-footer-legal{flex-wrap:wrap}.language-control-footer .language-popover{right:auto;left:0;width:min(286px,calc(100vw - 32px));transform-origin:bottom left}}@media(prefers-reduced-motion:reduce){.language-popover{animation:none}.language-trigger,.language-options button,.language-check,.site-footer-column a{transition:none}}[data-theme=light] .notification-panel,[data-theme=light] .notification-panel>div>button.read{color:var(--ink);background:var(--card);border-color:transparent}[data-theme=light] .notification-panel>div>button.read{background:transparent}[data-theme=light] .notification-panel>header,[data-theme=light] .notification-panel footer{color:var(--ink);background:transparent;border-color:transparent}[data-theme=light] .notification-panel>header strong{color:var(--ink)}[data-theme=light] .notification-panel>header .icon-button{color:#666371}[data-theme=light] .notification-panel>header .icon-button:hover{background:#2524220f}[data-theme=light] .notification-panel>div>button{color:#4d4843;background:color-mix(in srgb,var(--ink) 7%,transparent);border-bottom-color:transparent}[data-theme=light] .notification-panel footer{background:transparent}[data-theme=light] .notification-panel footer,[data-theme=light] .notification-status{color:#817971}[data-theme=light] .language-popover{color:#252422;border-color:#ded9d7;background:#fffdf9;box-shadow:0 22px 55px #35262d29}[data-theme=light] .language-option-copy small{color:#746e72}[data-theme=light] .language-options button{color:#252422}[data-theme=light] .language-options button:hover{background:#43353c0e}[data-theme=light] .language-options button.active{background:#ee4f8d14}[data-theme=light] .language-mark{color:#3f3a3d;border-color:#ded9d7;background:#fff}[data-theme=light] .site-footer{color:#252422;border-top-color:#ded9d7;background:var(--paper)}[data-theme=light] .site-footer-brand>a,[data-theme=light] .site-footer-brand .brand{color:#252422}[data-theme=light] .site-footer-brand>p{color:#655f63}[data-theme=light] .site-footer-brand>span,[data-theme=light] .site-footer-links nav>strong,[data-theme=light] .site-footer-bottom{color:#7a7377}[data-theme=light] .site-footer-links nav>a{color:#4d474b}[data-theme=light] .site-footer-links nav>a:hover{color:#b82e64}[data-theme=light] .site-footer-bottom{border-top-color:#2a23271a}[data-theme=light] .site-footer-dot{color:#aaa3a7}[data-theme=dark] .language-trigger{color:#aaaab2}[data-theme=dark] .language-trigger:hover{color:var(--ink)}[data-theme=dark] .language-popover{color:var(--ink);background:var(--card);box-shadow:0 20px 48px #00000052}[data-theme=dark] .language-options button{color:#dedee3}[data-theme=dark] .language-options button:hover,[data-theme=dark] .language-options button.active{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-theme=dark] .language-mark{color:var(--muted);background:transparent}[data-theme=dark] .language-option-copy small{color:#aaaab2}[data-theme=dark] .site-footer .language-trigger{color:#aaa3a7}.app-shell.view-create:not(:has(.creator-library))>.main-area>.topbar{display:none}.app-shell.view-create>.sidebar{z-index:130}.app-shell.view-create:has(.creator-library) .creator-library-masthead{display:none}@media(min-width:641px){.app-shell.view-create>.main-area>.page-content{padding:0}.app-shell.view-create:not(:has(.creator-library))>.main-area>.page-content{min-height:100dvh}.app-shell.view-create:has(.creator-library)>.main-area>.page-content{min-height:calc(100dvh - 62px)}.app-shell.view-create .creator-launchpad-header{grid-template-columns:1fr 1fr}.app-shell.view-create .creator-launchpad-header>.brand{display:none}}@media(min-width:641px)and (max-width:767px){.app-shell.view-create :is(.creator-wizard-shell,.creator-editor-parity,.wizard-modal-backdrop){left:56px}}@media(min-width:768px){.app-shell.view-create :is(.creator-wizard-shell,.creator-editor-parity,.wizard-modal-backdrop){left:300px}}.app-shell.view-create>.main-area{min-height:100dvh}.app-shell.view-create .page-transition{min-height:100dvh}.app-shell.view-create:has(.creator-library) .page-transition{min-height:calc(100dvh - var(--mobile-topbar-height, 62px))}.app-shell.view-create:has(.character-studio-shell)>.main-area>.page-content,.app-shell.view-create:has(.character-studio-shell) .page-transition{box-sizing:border-box;width:100%;max-width:none;margin:0}.app-shell.view-create:has(.character-studio-shell)>.main-area>.page-content,.app-shell.view-create:has(.creator-wizard-shell)>.main-area>.page-content{max-width:none;padding:0}.creator-hub-shell{width:100%;min-height:100%;color:var(--ink);background:var(--paper)}.creator-hub{position:relative;width:100%;max-width:none;min-height:100%;overflow:hidden;background:var(--paper)}.creator-hub header{height:52px;display:flex;align-items:center;padding:0 14px;border-bottom:1px solid var(--line)}.creator-hub header nav{flex:1;display:flex;align-items:center;gap:18px}.creator-hub header nav b{color:var(--ink);font-size:17px}.creator-hub header nav span{color:var(--muted);font-size:16px;font-weight:650}.creator-hub-actions{display:flex;gap:4px}.creator-hub-actions button{width:34px;height:34px;display:grid;place-items:center;padding:0;color:var(--ink);border:0;background:transparent}.creator-hub-actions svg{width:20px}.creator-hub-types{height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid var(--line)}.creator-hub-types b,.creator-hub-types span{font-size:13px}.creator-hub-types b{color:var(--ink)}.creator-hub-types span{color:var(--muted)}.creator-hub-filters{height:48px;display:flex;align-items:center;gap:7px;padding:0 14px}.creator-hub-filters button{min-height:30px;padding:0 14px;color:var(--muted);border:0;background:var(--card);border-radius:var(--radius-pill);font-size:var(--type-meta)}.creator-hub-filters button.active{color:var(--accent-contrast);background:var(--accent);border-color:var(--accent)}.creator-hub-filters>span{margin-left:auto;color:var(--muted);font-size:13px}.creator-hub-empty{display:grid;justify-items:center;gap:18px;padding:48px 16px 96px;text-align:center}.creator-hub-empty strong{color:var(--ink);font-size:14px}.creator-hub-drafts{display:grid;gap:9px;max-height:calc(100dvh - 218px);overflow-y:auto;padding:4px 14px calc(88px + env(safe-area-inset-bottom))}.creator-hub-drafts>button{display:grid;gap:5px;padding:14px;color:var(--ink);border:1px solid var(--line);background:var(--card);border-radius:var(--radius-card);text-align:left}.creator-hub-drafts strong{font-size:13px}.creator-hub-drafts span{overflow:hidden;color:var(--muted);font-size:14px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.creator-hub-drafts small{color:var(--muted);font-size:13px}.creator-hub-fab{position:fixed;z-index:26;right:var(--mobile-gutter, 17px);bottom:calc(var(--mobile-bottom-chrome) + 16px);width:52px;height:52px;display:grid;place-items:center;padding:0;color:var(--accent-contrast);border:0;background:var(--accent);border-radius:50%;box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 30%,transparent)}.creator-hub-fab svg{width:28px}@media(min-width:641px){.creator-hub-fab{position:absolute;right:16px;bottom:max(24px,env(safe-area-inset-bottom));z-index:1}}@media(min-width:700px){.creator-hub-shell{display:grid;place-items:start center}.creator-hub{width:min(100%,430px);margin-top:20px;min-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:var(--radius-banner)}}@media(min-width:641px){.view-chats .page-content{max-width:none;padding:0 22px 48px}.chats-shell{width:100%;margin-top:0;min-height:100%;border:0;border-radius:0;overflow:visible;background:transparent}.chats-header{padding:32px 0 20px;min-height:0}.chats-header h1{font-size:var(--type-page-title)}.chats-list{grid-template-columns:1fr;gap:12px;padding:0 0 36px}.chats-empty-state{width:100%;padding:48px 20px}.chats-empty-state h2{font-size:24px}}.creator-wizard-shell{--wizard-bg: var(--paper);--wizard-panel: var(--card);--wizard-card: var(--card);--wizard-raised: color-mix(in srgb, var(--card) 88%, var(--ink));--wizard-line: var(--line);--wizard-muted: var(--muted);--wizard-text: var(--ink);--wizard-accent: var(--accent);--wizard-accent-strong: var(--accent-solid);min-height:100%;color:var(--ink);background:var(--paper)}.creator-wizard-shell :focus-visible{outline:2px solid var(--accent-solid);outline-offset:3px}.creator-wizard,.creator-wizard *{box-sizing:border-box}.creator-wizard{width:100%;display:flex;flex-direction:column;background:var(--paper)}.wizard-header{position:sticky;z-index:24;top:0;min-height:76px;display:flex;align-items:center;gap:16px;padding:12px max(24px,calc((100% - 760px)/2));background:var(--paper);border-bottom:1px solid var(--line)}.wizard-header button{min-width:0;min-height:44px;display:flex;align-items:center;gap:7px;padding:0;color:var(--ink);border:0;background:transparent;font:inherit;font-size:20px;font-weight:760}.wizard-header button:not(:disabled):hover{color:var(--ink);background:transparent}.wizard-header button svg{width:20px;height:20px;flex:0 0 auto;stroke-width:2}.wizard-header .wizard-back>span{max-width:min(42vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-progress{flex:0 0 49px;padding:7px 18px 0}.wizard-progress>div{display:flex;align-items:center;min-height:14px;gap:8px}.wizard-progress b{color:var(--accent-dark);font-size:13px;letter-spacing:.015em}.wizard-progress strong{flex:1;font-size:13px;line-height:1}.wizard-progress small{color:var(--wizard-muted);font-size:13px}.wizard-progress ol{display:flex;gap:4px;margin:8px 0 0;padding:0;list-style:none}.wizard-progress li{position:relative;height:5px;flex:1}.wizard-progress li button{display:block;width:100%;height:5px;padding:0;border:0;border-radius:4px;background:var(--wizard-line);cursor:pointer}.wizard-progress li button:before{content:"";position:absolute;top:-8px;right:0;bottom:-8px;left:0}.wizard-progress li.active button{background:var(--wizard-accent)}.wizard-progress li.available:not(.active) button:not(:disabled):hover{background:color-mix(in srgb,var(--wizard-accent) 55%,var(--wizard-line))}.wizard-scroll{width:min(calc(100% - 48px),760px);display:grid;gap:28px;margin:0 auto;padding:48px 0 88px}.wizard-step{display:grid;gap:12px;width:100%}.wizard-orb-lead{display:grid;justify-items:center;gap:18px;margin-bottom:2px}.wizard-orb-lead>p{position:relative;width:min(100%,282px);min-height:49px;display:grid;place-items:center;margin:0;padding:9px 17px;color:var(--wizard-text);background:var(--wizard-raised);border-radius:16px;font-size:14px;line-height:1.45;text-align:center}.wizard-orb-lead>p:before{content:"";position:absolute;top:-7px;left:calc(50% - 8px);border-width:0 8px 8px;border-style:solid;border-color:transparent transparent var(--wizard-raised)}.story-assistant{display:block;width:88px;height:115px;object-fit:contain;filter:drop-shadow(0 0 1px rgba(0,0,0,.72)) drop-shadow(0 13px 22px rgba(234,76,137,.2));animation:wizard-orb-float 2.6s ease-in-out infinite alternate}.story-assistant.thinking{animation-duration:1.4s}@keyframes wizard-orb-float{to{transform:translateY(-4px) rotate(1deg) scale(1.012)}}@media(prefers-reduced-motion:reduce){.story-assistant{animation:none}}.wizard-concept input,.wizard-concept textarea,.wizard-modal input,.wizard-modal textarea,.wizard-modal select{width:100%;color:var(--wizard-text);border:1px solid var(--wizard-line);outline:none;resize:none;background:var(--wizard-card);border-radius:18px;font:inherit}.wizard-concept-title{display:grid;gap:7px;color:var(--wizard-text)}.wizard-concept-title>span{padding-inline:2px;font-size:14px;font-weight:700}.wizard-concept-title small{margin-left:7px;color:var(--wizard-muted);font-size:13px;font-weight:500}.wizard-concept-title input{height:46px;padding:0 14px;font-size:13px}.wizard-concept-field{position:relative;width:100%}.wizard-concept textarea{height:102px;padding:10px 76px 10px 12px;font-size:14px;line-height:1.45}.wizard-history-actions{position:absolute;top:10px;right:12px;display:flex;align-items:center;gap:7px}.wizard-history-actions button{position:relative;display:grid;place-items:center;width:24px;height:24px;padding:0;color:var(--wizard-muted);background:transparent;border:0;border-radius:50%}.wizard-history-actions button:before{content:"";position:absolute;top:-5px;right:-5px;bottom:-5px;left:-5px;border-radius:50%}.wizard-history-actions button:not(:disabled):hover{color:var(--wizard-text);background:color-mix(in srgb,var(--wizard-text) 8%,transparent)}.wizard-history-actions button:disabled{opacity:.32}.wizard-history-actions svg{width:20px;height:20px}.wizard-concept input::placeholder,.wizard-concept textarea::placeholder,.wizard-modal textarea::placeholder,.wizard-modal input::placeholder{color:#777780}.wizard-concept input:focus,.wizard-concept textarea:focus,.wizard-modal textarea:focus,.wizard-modal input:focus,.wizard-modal select:focus{border-color:var(--wizard-accent);box-shadow:0 0 0 3px #ea4c891c}.wizard-counter{display:flex;align-items:center;justify-content:space-between;margin-top:-3px;color:var(--wizard-muted);font-size:13px}.wizard-counter .wizard-primary{width:99px;min-height:29px}.wizard-cast-size{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;color:var(--wizard-text)}.wizard-cast-size>span{display:grid;gap:2px}.wizard-cast-size strong{font-size:14px}.wizard-cast-size small{color:var(--wizard-muted);font-size:13px;font-weight:500}.wizard-cast-size select{min-width:142px;height:42px;padding:0 36px 0 13px;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:12px;background:var(--wizard-card);font:inherit;font-size:13px}.wizard-creative-direction{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;width:100%}.wizard-creative-direction label{display:grid;gap:7px;min-width:0;color:var(--wizard-text)}.wizard-creative-direction label>span{padding-inline:2px;font-size:14px;font-weight:700}.wizard-creative-direction label small{margin-left:7px;color:var(--wizard-muted);font-size:13px;font-weight:500}.wizard-creative-direction input{width:100%;height:44px;padding:0 14px;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:var(--radius-pill);outline:none;background:var(--wizard-card);font:inherit;font-size:13px}.wizard-creative-direction input:focus{border-color:var(--wizard-accent);box-shadow:0 0 0 3px #ea4c891c}.wizard-creative-direction>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;color:#17171b;border:1px solid #f7f5f7;border-radius:var(--radius-pill);background:#f7f5f7;box-shadow:0 5px 16px #00000029;font:inherit;font-size:13px;font-weight:750}.wizard-creative-direction>button:not(:disabled):hover{color:#0d0d0f;border-color:#fff;background:#fff;box-shadow:0 7px 20px #00000038}.wizard-creative-direction>button svg{width:17px;height:17px}.wizard-primary{width:100%;min-height:44px;display:grid;place-items:center;padding:9px 16px;color:#fff;border:0;border-radius:var(--radius-pill);background:linear-gradient(100deg,var(--wizard-accent),var(--wizard-accent-strong),#f04787);box-shadow:0 6px 18px #cb276824;font:inherit;font-size:13px;font-weight:740}.wizard-primary:disabled{color:var(--wizard-muted);background:var(--wizard-line);box-shadow:none;cursor:not-allowed}.wizard-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.wizard-step-actions .wizard-primary{width:auto;min-width:140px}.wizard-previous{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;color:var(--wizard-muted);border:0;border-radius:var(--radius-pill);background:transparent;font:inherit;font-size:13px;font-weight:650}.wizard-previous:hover{color:var(--wizard-text);background:color-mix(in srgb,var(--wizard-text) 7%,transparent)}.wizard-previous svg{width:18px;height:18px}.wizard-cast-setup{align-content:start}.wizard-cast-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wizard-cast-choice>button{min-height:180px;display:grid;align-content:start;gap:10px;padding:22px;color:var(--wizard-text);border:0;border-radius:20px;background:var(--wizard-card);text-align:left;font:inherit}.wizard-cast-choice>button:hover{background:color-mix(in srgb,var(--wizard-accent) 12%,var(--wizard-card))}.wizard-cast-choice>button>svg{width:24px;height:24px;color:var(--wizard-accent)}.wizard-cast-choice>button>strong{font-size:16px}.wizard-cast-choice>button>span{color:var(--wizard-muted);font-size:13px;line-height:1.55}.wizard-cast-choice>.wizard-cast-ai{background:color-mix(in srgb,var(--wizard-accent) 9%,var(--wizard-card))}.wizard-vibes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.wizard-vibes>button,.wizard-options>button{display:grid;align-content:start;gap:6px;color:var(--wizard-text);border:1px solid var(--wizard-line);background:var(--wizard-card);border-radius:16px;text-align:left;font:inherit}.wizard-vibes>button{min-height:72px;padding:12px}.wizard-vibes strong{font-size:14px;font-weight:400}.wizard-vibes span{color:var(--wizard-muted);font-size:14px;font-weight:400;line-height:1.5}.wizard-vibes>button.selected,.wizard-options>button.selected{border-color:var(--wizard-accent);background:#ea4c8924;box-shadow:inset 0 0 0 1px #ea4c8933}.wizard-dashed{position:relative;width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--wizard-muted);border:1px dashed #686870;background:transparent;border-radius:var(--radius-pill);font:inherit;font-size:14px}.wizard-dashed:disabled{opacity:.45}.wizard-options{display:grid;gap:8px;padding-inline:14px}.wizard-options>button{min-height:76px;padding:11px 12px}.wizard-options strong{font-size:14px;font-weight:400}.wizard-options span{color:#b4b2b9;font-size:14px;font-weight:400;line-height:1.55}.wizard-options+.wizard-dashed,.wizard-options~.wizard-primary{width:calc(100% - 28px);margin-inline:14px}.generation-indicator{display:flex;align-items:center;justify-content:center;gap:9px;color:var(--wizard-muted);font-size:13px}.generation-indicator>i{width:12px;height:12px;border:2px solid rgba(234,76,137,.28);border-top-color:var(--wizard-accent);border-radius:50%;animation:wizard-spin .8s linear infinite}@keyframes wizard-spin{to{transform:rotate(360deg)}}.wizard-summary{overflow:hidden;border:0;background:var(--wizard-panel);border-radius:14px}.wizard-summary>div{display:grid;gap:6px;padding:14px 16px;border-bottom:1px solid var(--wizard-line)}.wizard-summary>div:last-child{border-bottom:0}.wizard-summary small,.wizard-character-details small{color:var(--wizard-muted);font-size:13px}.wizard-summary strong{font-size:14px}.wizard-summary p{margin:0;color:var(--wizard-muted);font-size:14px;line-height:1.55}.wizard-character-management{display:grid;gap:14px;min-width:0}.wizard-character-selection{display:grid;align-content:start;gap:14px;min-width:0}.wizard-cast-list{display:none}.wizard-character-mobile-nav{min-height:60px;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;padding:7px;border:1px solid var(--wizard-line);border-radius:16px;background:var(--wizard-card)}.wizard-character-mobile-nav>button{width:44px;height:44px;display:grid;place-items:center;padding:0;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:12px;background:var(--wizard-raised)}.wizard-character-mobile-nav>button:disabled{color:var(--wizard-muted);opacity:.38}.wizard-character-mobile-nav>button svg{width:19px;height:19px}.wizard-character-mobile-nav>span{display:grid;justify-items:center;gap:3px;min-width:0}.wizard-character-mobile-nav small{color:var(--wizard-muted);font-size:13px;font-weight:400;letter-spacing:.05em}.wizard-character-mobile-nav strong{max-width:100%;overflow:hidden;color:var(--wizard-text);font-size:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.wizard-character-card{--wizard-character-portrait-width: clamp(190px, 32vw, 244px);--wizard-character-card-radius: 20px;display:grid;grid-template-columns:var(--wizard-character-portrait-width) minmax(0,1fr);align-items:start;gap:14px;width:100%}.wizard-character-art-panel{width:var(--wizard-character-portrait-width);display:grid;gap:12px;min-width:0;padding:0;border:0;border-radius:0;background:transparent}.wizard-character-hero{position:relative;display:grid;place-items:center;width:100%;height:auto;min-height:0;aspect-ratio:3 / 4;padding:0;overflow:hidden;border:0;border-radius:calc(var(--wizard-character-card-radius) - 8px);background-clip:padding-box}.wizard-character-hero:after{content:"";position:absolute;z-index:2;top:0;right:0;bottom:0;left:0;pointer-events:none;border:1px solid var(--line-strong);border-radius:inherit}.wizard-character-hero>svg{position:relative;z-index:1;width:30px;height:30px;color:#ffffff80}.wizard-character-hero>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.wizard-character-hero.generating>img{filter:brightness(.45)}.wizard-character-generating{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;justify-items:center;gap:8px;padding:20px;color:#fff;background:#0c0c108f;text-align:center}.wizard-character-generating strong,.wizard-character-generating small{font-size:13px;font-weight:400}.wizard-character-art-copy{display:grid;gap:4px}.wizard-character-art-copy small{color:var(--wizard-accent);font-size:13px;font-weight:400;letter-spacing:.06em}.wizard-character-art-copy p{margin:0;color:var(--wizard-muted);font-size:14px;line-height:1.5}.wizard-character-art-actions{display:grid;gap:8px}.wizard-image-primary,.wizard-image-secondary{min-height:40px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border-radius:12px;font:inherit;font-size:14px;font-weight:400}.wizard-image-primary{color:#fff;border:0;background:var(--wizard-accent-strong)}.wizard-image-primary:disabled{background:var(--wizard-line);color:var(--wizard-muted)}.wizard-image-secondary{position:relative;color:var(--wizard-text);border:1px solid var(--wizard-line);background:transparent;cursor:pointer}.wizard-image-primary svg,.wizard-image-secondary svg{width:16px;height:16px}.wizard-image-secondary input{position:absolute;width:1px;height:1px;opacity:0}.wizard-portrait-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.wizard-portrait-strip button{position:relative;aspect-ratio:3 / 4;overflow:hidden;padding:0;border:1px solid var(--wizard-line);border-radius:8px;background:var(--wizard-raised)}.wizard-portrait-strip button.selected{border-color:var(--wizard-accent);box-shadow:0 0 0 1px var(--wizard-accent)}.wizard-portrait-strip img{width:100%;height:100%;display:block;object-fit:cover}.wizard-portrait-strip svg{position:absolute;right:3px;bottom:3px;width:14px;height:14px;padding:2px;color:#fff;border-radius:50%;background:var(--wizard-accent)}.tone-0{background-color:#9b2f68;background-image:linear-gradient(#9b2f68,#111218)}.tone-1{background-color:#164c67;background-image:linear-gradient(#164c67,#111218)}.tone-2{background-color:#71304b;background-image:linear-gradient(#71304b,#111218)}.tone-3{background-color:#18554d;background-image:linear-gradient(#18554d,#111218)}.wizard-character-details>header h2,.wizard-portrait-loading h2{margin:0;color:#fff;font-size:25px;line-height:1}.wizard-character-details>header{min-width:0;overflow:hidden}.wizard-character-details>header p{display:-webkit-box;margin:5px 0 0;overflow:hidden;color:var(--wizard-muted);font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.wizard-character-details{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent}.wizard-character-details>div{padding:14px;color:var(--wizard-text);border:0;background:var(--wizard-raised);border-radius:16px;text-align:left}.wizard-character-details>div{padding:10px 12px}.wizard-character-details p{margin:8px 0 0;color:#e3e1e5;font-size:14px;line-height:1.55}.wizard-character-details>div p{margin-top:5px}.wizard-character-edit{min-height:40px;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:12px;background:transparent;font:inherit;font-size:14px;font-weight:400}.wizard-player-role-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px;border:0;border-radius:18px;background:var(--wizard-card)}.wizard-player-role-icon{width:46px;height:46px;display:grid;place-items:center;color:var(--wizard-muted);border-radius:14px;background:var(--wizard-raised)}.wizard-player-role-icon svg{width:22px;height:22px}.wizard-player-role-card>div{display:grid;gap:3px;min-width:0}.wizard-player-role-card small{color:var(--wizard-accent);font-size:13px;font-weight:400;letter-spacing:.06em}.wizard-player-role-card h2{margin:0;color:var(--wizard-text);font-size:19px;font-weight:400}.wizard-player-role-card p{margin:0;color:var(--wizard-muted);font-size:14px;line-height:1.5}.wizard-player-role-card button{min-height:38px;padding:0 14px;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:var(--radius-pill);background:transparent;font:inherit;font-size:14px;font-weight:400}.wizard-portrait-batch{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:0;border-radius:16px;background:var(--wizard-card)}.wizard-portrait-batch>div{display:grid;gap:3px}.wizard-portrait-batch strong{color:var(--wizard-text);font-size:13px;font-weight:400}.wizard-portrait-batch dl{display:flex;flex-wrap:wrap;gap:8px;margin:3px 0 0}.wizard-portrait-batch dl>div{display:inline-flex;align-items:baseline;gap:4px;padding:4px 7px;border-radius:var(--radius-pill);background:var(--wizard-raised)}.wizard-portrait-batch dt{color:var(--wizard-muted);font-size:13px;text-transform:uppercase;letter-spacing:.04em}.wizard-portrait-batch dd{margin:0;color:var(--wizard-text);font-size:13px}.wizard-portrait-batch>button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:var(--radius-pill);background:var(--wizard-raised);font:inherit;font-size:14px;font-weight:400}.wizard-portrait-batch>button svg{width:16px;height:16px}.wizard-look-section{display:grid;gap:28px;padding-top:8px}.wizard-style-picker{display:grid;gap:14px}.wizard-style-heading,.wizard-cover-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.wizard-style-heading>div,.wizard-cover-heading>div{display:grid;gap:4px}.wizard-style-heading small,.wizard-cover-heading small{color:var(--wizard-accent);font-size:13px;font-weight:400;letter-spacing:.06em}.wizard-style-heading h3,.wizard-cover-heading h3{margin:0;color:var(--wizard-text);font-size:18px;font-weight:400;line-height:1.25}.wizard-style-heading p{max-width:330px;margin:0;color:var(--wizard-muted);font-size:14px;line-height:1.5;text-align:right}.wizard-style-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wizard-style-grid button{position:relative;overflow:hidden;aspect-ratio:3 / 4;padding:0;color:#fff;border:0;background:#15161a;border-radius:14px;font:inherit;text-align:left}.wizard-style-grid button:after{content:"";position:absolute;top:35%;right:0;bottom:0;left:0;background:linear-gradient(transparent,#07070ae6);pointer-events:none}.wizard-style-grid button.selected{border-color:var(--wizard-accent);box-shadow:0 0 0 2px #ea4c893b}.wizard-style-grid img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .18s ease}.wizard-style-grid button:hover img{transform:scale(1.025)}.wizard-style-grid span{position:absolute;z-index:1;inset:auto 0 0;display:grid;gap:3px;padding:28px 12px 12px}.wizard-style-grid span strong{font-size:13px;font-weight:400;line-height:1.3}.wizard-style-grid span small{color:#ffffffb8;font-size:13px;font-weight:400;line-height:1.35}.wizard-style-grid>button>i{position:absolute;z-index:2;top:9px;right:9px;width:25px;height:25px;display:grid;place-items:center;color:#fff;background:var(--wizard-accent);border-radius:50%;box-shadow:0 3px 10px #00000040}.wizard-style-grid>button>i svg{width:14px;height:14px}.wizard-cover-panel{display:grid;gap:14px;padding-top:24px;border-top:1px solid var(--wizard-line)}.wizard-cover-heading>span{color:var(--wizard-accent);font-size:13px}.wizard-cover-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wizard-cover-options button{position:relative;overflow:hidden;aspect-ratio:3 / 4;padding:0;border:0;border-radius:14px;background:var(--wizard-card)}.wizard-cover-options button.selected{border-color:var(--wizard-accent);box-shadow:0 0 0 2px #ea4c893b}.wizard-cover-options img{display:block;width:100%;height:100%;object-fit:cover}.wizard-cover-options span{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:4px;padding:5px 8px;color:#fff;background:#0a0a0dd1;border-radius:var(--radius-pill);font-size:13px}.wizard-cover-options span svg{width:12px;height:12px}.wizard-cover-empty{min-height:160px;display:grid;place-content:center;justify-items:center;gap:6px;padding:24px;color:var(--wizard-muted);border:0;border-radius:18px;background:var(--wizard-card);text-align:center}.wizard-cover-empty svg{width:26px;height:26px;margin-bottom:4px;opacity:.65}.wizard-cover-empty strong{color:var(--wizard-text);font-size:14px;font-weight:400}.wizard-cover-empty span{font-size:14px;line-height:1.5}.wizard-cover-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px}.wizard-cover-preview-step{gap:22px}.wizard-final-heading{display:grid;gap:5px}.wizard-final-heading>small{color:var(--wizard-accent);font-size:13px;font-weight:400;letter-spacing:.06em}.wizard-final-heading h2{margin:0;color:var(--wizard-text);font-size:22px;font-weight:400;line-height:1.25}.wizard-final-heading p{margin:0;color:var(--wizard-muted);font-size:14px;line-height:1.5}.wizard-final-preview{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:14px;overflow:hidden;border:0;border-radius:20px;background:var(--wizard-card)}.wizard-final-art{display:grid;place-items:center;width:112px;aspect-ratio:3 / 4;overflow:hidden;color:color-mix(in srgb,var(--wizard-muted) 70%,transparent);border:1px solid var(--wizard-line);border-radius:14px;background:linear-gradient(155deg,color-mix(in srgb,var(--wizard-accent) 18%,var(--wizard-raised)),var(--wizard-bg))}.wizard-final-art img{display:block;width:100%;height:100%;object-fit:cover}.wizard-final-art svg{width:25px;height:25px}.wizard-final-copy{display:grid;align-content:start;gap:8px;min-width:0}.wizard-final-tags{display:flex;flex-wrap:wrap;gap:5px}.wizard-final-tags span{padding:4px 7px;color:var(--wizard-muted);border:1px solid var(--wizard-line);border-radius:var(--radius-pill);font-size:13px;line-height:1}.wizard-final-copy>h2{margin:0;color:var(--wizard-text);font-size:19px;font-weight:400;line-height:1.2}.wizard-final-premise{display:-webkit-box;margin:0;overflow:hidden;color:var(--wizard-muted);font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:4}.wizard-final-details{grid-column:1 / -1;display:grid;gap:14px;padding-top:14px;border-top:1px solid var(--wizard-line)}.wizard-final-opening{display:grid;gap:4px;min-width:0}.wizard-final-opening>small,.wizard-final-cast>small{color:var(--wizard-accent);font-size:13px;font-weight:400;letter-spacing:.06em}.wizard-final-opening>strong{color:var(--wizard-text);font-size:13px;font-weight:400}.wizard-final-opening>p{display:-webkit-box;margin:0;overflow:hidden;color:var(--wizard-muted);font-size:14px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.wizard-final-cast{display:grid;gap:8px;min-width:0}.wizard-final-cast ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.wizard-final-cast li{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:8px;min-width:0}.wizard-final-cast li>img,.wizard-final-cast li>span{width:34px;height:34px;display:grid;place-items:center;object-fit:cover;color:var(--wizard-muted);border:1px solid var(--wizard-line);border-radius:50%;background:var(--wizard-raised);font-size:13px}.wizard-final-cast li>div{display:grid;gap:2px;min-width:0}.wizard-final-cast li strong,.wizard-final-cast li small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-final-cast li strong{color:var(--wizard-text);font-size:14px;font-weight:400}.wizard-final-cast li small{color:var(--wizard-muted);font-size:13px}.wizard-outline{width:100%;min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--wizard-text);border:1px solid var(--wizard-line);background:transparent;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:700}.wizard-outline.accent{color:#ff76aa;border-color:#ea4c89a6}.wizard-outline svg{width:18px}.wizard-upload input{position:absolute;width:1px;height:1px;opacity:0}.wizard-portrait-loading{position:relative;height:470px;display:grid;place-content:center;justify-items:center;gap:18px;overflow:hidden;border:1px solid var(--wizard-line);border-radius:14px}.wizard-portrait-loading:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 38%,rgba(234,76,137,.28),transparent 43%)}.wizard-portrait-loading .story-assistant{width:72px;height:94px}.wizard-portrait-loading>*{z-index:1}.wizard-portrait-loading>small{color:var(--wizard-muted);font-size:13px}.wizard-portrait-loading>h2{position:absolute;left:20px;bottom:20px;font-size:27px}.wizard-error{margin:12px 14px 0;color:#ff8a8a;font-size:14px;line-height:1.45;text-align:center}.wizard-save-state{margin:9px 0 0;color:#777780;font-size:13px;text-align:center}.wizard-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;display:flex;align-items:flex-end;justify-content:center;background:#030305a1}.wizard-modal{width:min(100%,430px);max-height:92dvh;display:grid;gap:13px;overflow-y:auto;padding:20px 18px max(20px,env(safe-area-inset-bottom));color:var(--wizard-text);background:var(--wizard-panel);border-radius:24px 24px 0 0;box-shadow:0 -18px 60px #0000006b}.wizard-modal header{display:flex;align-items:center}.wizard-modal h2{flex:1;margin:0;font-size:21px}.wizard-modal header button{width:34px;height:34px;display:grid;place-items:center;color:var(--wizard-text);border:0;background:transparent}.wizard-modal header svg{width:21px}.wizard-modal label{display:grid;gap:7px;color:#d7d5da;font-size:14px;font-weight:650}.wizard-modal input,.wizard-modal textarea,.wizard-modal select{padding:12px 13px;font-size:13px;line-height:1.45}.wizard-modal select{min-height:46px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--wizard-muted) 50%),linear-gradient(135deg,var(--wizard-muted) 50%,transparent 50%);background-position:calc(100% - 18px) 19px,calc(100% - 13px) 19px;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.wizard-modal-identity{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.wizard-modal label small{margin-top:-5px;color:var(--wizard-muted);font-size:13px;text-align:right}.wizard-modal.wizard-confirm-modal{width:min(100%,460px)}.wizard-confirm-modal>p{margin:0;color:var(--wizard-muted);font-size:14px;line-height:1.55}.wizard-modal .wizard-confirm-checkbox{position:relative;display:flex;align-items:center;gap:10px;min-height:40px;color:var(--wizard-text);font-size:13px;font-weight:400;cursor:pointer}.wizard-modal .wizard-confirm-checkbox input{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;opacity:0;pointer-events:none}.wizard-checkbox-box{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;color:#fff;border:1px solid var(--wizard-line);border-radius:6px;background:var(--wizard-card);transition:border-color var(--motion-fast),background var(--motion-fast),box-shadow var(--motion-fast)}.wizard-checkbox-box svg{width:14px;height:14px;opacity:0;transform:scale(.7);transition:opacity var(--motion-fast),transform var(--motion-fast)}.wizard-confirm-checkbox input:checked+.wizard-checkbox-box{border-color:var(--wizard-accent);background:var(--wizard-accent)}.wizard-confirm-checkbox input:checked+.wizard-checkbox-box svg{opacity:1;transform:scale(1)}.wizard-confirm-checkbox input:focus-visible+.wizard-checkbox-box{box-shadow:0 0 0 3px #ea4c892e}.wizard-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}.wizard-confirm-cancel{min-height:44px;color:var(--wizard-text);border:1px solid var(--wizard-line);border-radius:var(--radius-pill);background:transparent;font:inherit;font-size:13px;font-weight:400}.wizard-confirm-cancel:hover{background:color-mix(in srgb,var(--wizard-text) 7%,transparent)}.wizard-token-note{display:flex;align-items:center;gap:7px;margin:0;color:var(--wizard-muted);font-size:13px}.wizard-token-note svg{width:16px}.wizard-token-note code{color:#ff85b3}@media(min-width:1000px){.creator-wizard{margin-top:20px;height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:var(--radius-banner);box-shadow:var(--shadow)}}.creator-editor-parity{position:fixed;top:0;right:0;bottom:0;left:0;z-index:119;display:flex;flex-direction:column;margin:0;overflow:hidden;color:#f7f5f7;background:#111218}.creator-editor-parity .studio-header{flex:0 0 76px;display:flex;align-items:center;padding:12px clamp(16px,3vw,48px);color:var(--ink);border-bottom:1px solid var(--line);background:var(--paper)}.creator-editor-parity .studio-header>div:first-child{min-width:0;display:flex;align-items:center;gap:7px}.creator-editor-parity .studio-header>div:first-child>button{min-width:0;min-height:44px;display:flex;align-items:center;gap:7px;padding:0;color:var(--ink);background:transparent;border:0;font:inherit;font-size:20px;font-weight:760}.creator-editor-parity .studio-document-title{max-width:min(42vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator-editor-parity .studio-autosave{display:flex;align-items:center;gap:4px;color:#8f8d95;font-size:13px}.creator-editor-parity .studio-save button{min-height:38px;padding:0 15px;border-radius:9px}.creator-editor-parity .studio-save .secondary{color:#d9d7dc;border-color:#43444a;background:#292a30}.creator-editor-parity .studio-save .primary,.creator-editor-parity .publish-button{color:#fff;background:linear-gradient(100deg,#ea4c89,#cb2768,#f04787)}.creator-editor-parity .studio-tabs{flex:0 0 44px;display:flex;align-items:stretch;overflow-x:auto;padding:0 18px;border-bottom:1px solid #292a2f;scrollbar-width:none}.creator-editor-parity .studio-tabs::-webkit-scrollbar{display:none}.creator-editor-parity .studio-tabs button{position:relative;flex:1 0 auto;min-width:75px;padding:0 12px;color:#9c9aa2;border:0;background:transparent;font:inherit;font-size:14px}.creator-editor-parity .studio-tabs button.active{color:#fff}.creator-editor-parity .studio-tabs button.active:after{content:"";position:absolute;inset:auto 8px 0;height:2px;background:#ea4c89;border-radius:2px}.creator-editor-parity .studio-body{min-height:0;flex:1;overflow-y:auto;padding:18px max(16px,calc((100vw - 620px)/2)) 50px}.creator-editor-parity .studio-canvas{display:grid;gap:18px;width:100%;max-width:590px;margin:0 auto}.creator-editor-parity .studio-section{padding:18px;border:1px solid #3d3e44;background:#202126;border-radius:16px}.creator-editor-parity .studio-section-title{align-items:flex-start}.creator-editor-parity .studio-section-title>span{width:38px;height:38px;color:#ff7cae;background:#ea4c8924}.creator-editor-parity .studio-section-title h2{color:#f7f5f7;font-size:20px}.creator-editor-parity .studio-section-title p{color:#9c9aa2;line-height:1.45}.creator-editor-parity .studio-fields>label,.creator-editor-parity .studio-inline label,.creator-editor-parity .lore-entry label,.creator-editor-parity .field-hint{color:#d4d2d7}.creator-editor-parity .studio-fields input:not([type=range]),.creator-editor-parity .studio-fields textarea,.creator-editor-parity .studio-fields select{color:#f7f5f7;border-color:#48494f;background:#292a30;border-radius:10px}.creator-editor-parity .studio-fields input:focus,.creator-editor-parity .studio-fields textarea:focus,.creator-editor-parity .studio-fields select:focus{border-color:#ea4c89;box-shadow:0 0 0 3px #ea4c891c}.creator-editor-parity .studio-fields small{color:#929099}.creator-editor-parity .lore-entry,.creator-editor-parity .studio-rule{color:#f7f5f7;border-color:#46474d;background:#292a30}.creator-editor-parity .studio-rule small{color:#929099}.creator-editor-parity .studio-tip{color:#d1cfd4;background:#ea4c891a}.creator-editor-parity .add-entry{color:#ff83b2;border-color:#715065;background:#ea4c8914}.creator-editor-parity .publish-options>button{color:#d4d2d7;border-color:#48494f;background:#292a30}.creator-editor-parity .publish-options>button.active{color:#fff;border-color:#ea4c89;background:#ea4c8921}.creator-editor-parity .publish-options small{color:#aaa8b0}.creator-editor-parity .publish-checks span{color:#d4d2d7}.creator-editor-parity .publish-checks svg{background:#ea4c89}.creator-editor-parity .switch.on{background:#ea4c89}.creator-tab-plot>.studio-section{display:none}.mobile-prompt-editor{display:grid;gap:14px}.studio-prompt-count{margin:-7px 0 1px;color:#aaa8b0;font-size:13px;text-align:center}.studio-prompt-count.invalid{color:#ff8383;font-weight:750}.studio-mobile-heading{margin:0;color:#f7f5f7;font-size:17px;line-height:1.25;font-weight:780}.studio-mobile-panel{display:grid;gap:16px;padding:16px;color:#f7f5f7;border:1px solid #414249;background:#202126;border-radius:14px}.studio-mobile-panel>label{position:relative;display:grid;gap:8px;color:#e8e6e9;font-size:14px}.studio-mobile-panel>label>span{display:flex;align-items:center}.studio-mobile-panel>label>span b{margin-right:1px;color:#ff76aa}.studio-mobile-panel>label>input,.studio-mobile-panel>label>textarea,.studio-mobile-panel>label>select,.studio-mobile-panel .studio-inline input,.studio-mobile-panel .studio-inline textarea,.studio-mobile-panel .studio-inline select{width:100%;padding:10px 12px;color:#f7f5f7;border:1px solid #494a50;outline:none;background:#292a30;border-radius:10px;font:inherit;font-size:14px;line-height:1.45;resize:vertical}.studio-mobile-panel>label>input{min-height:40px}.studio-mobile-panel>label>small{margin-top:-5px;color:#929099;font-size:13px;text-align:right}.studio-mobile-panel>label>small code{color:#ff7eaf}.studio-advanced-toggle{justify-self:center;min-height:38px;padding:0 18px;color:#f2eff2;border:1px solid #4a4b51;background:#292a30;border-radius:999px;font-size:14px;font-weight:700}.studio-advanced-fields{display:grid;gap:16px;padding-top:16px;border-top:1px solid #393a40}.studio-advanced-fields>label{display:grid;gap:8px;color:#e8e6e9;font-size:14px}.studio-character-profile{display:grid;gap:11px}.studio-image-gallery{display:flex;align-items:stretch;gap:10px}.studio-main-image,.studio-add-image{position:relative;width:112px;height:112px;flex:0 0 112px;display:grid;place-items:center;overflow:hidden;padding:10px;color:#ddd9df;border:1px dashed #ea4c89;background:#292a30;border-radius:12px;text-align:center;font-size:13px;line-height:1.35}.studio-main-image.has-image{padding:0;border-style:solid;border-width:1.5px}.studio-main-image img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.studio-main-image i{position:absolute;top:7px;left:7px;padding:3px 5px;color:#fff;background:#ea4c89;border-radius:5px;font-size:13px;font-style:normal}.studio-main-image>span:last-child{position:absolute;inset:auto 0 0;padding:7px 2px;color:#fff;background:#111114d1;font-weight:750}.studio-main-image>svg,.studio-add-image>svg{width:23px;color:#ff7eaf}.studio-add-image{cursor:pointer}.studio-add-image input{position:absolute;width:1px;height:1px;opacity:0}.studio-image-strip{display:flex;gap:8px;overflow-x:auto}.studio-image-strip button{position:relative;width:68px;height:86px;flex:0 0 68px;overflow:hidden;padding:0;border:1px solid #494a50;border-radius:9px}.studio-image-strip span{position:absolute;right:4px;bottom:4px;width:18px;height:18px;display:grid;place-items:center;color:#fff;background:#ea4c89;border-radius:50%;font-size:13px}.studio-media-action,.studio-remove-character,.studio-wide-add{min-height:46px;display:flex;align-items:center;justify-content:center;gap:7px;color:#f7f5f7;border:1px solid #4b4c52;background:#36373d;border-radius:11px;font:inherit;font-size:14px;font-weight:720}.studio-remove-character{color:#ff9baa;background:transparent}.studio-wide-add{width:100%;min-height:52px;border-style:solid;font-size:13px}.studio-policy{margin:0 2px;color:#929099;font-size:14px;line-height:1.5}.studio-player-profiles,.studio-examples{display:grid;gap:12px;margin-top:10px}.studio-player-profiles>p,.studio-examples>p{margin:-6px 0 0;color:#929099;font-size:14px;line-height:1.5}.creator-resume{align-self:center;display:grid;justify-items:center;gap:22px;margin-top:18vh;color:#f7f5f7}.creator-resume .story-assistant{display:block}.creator-studio-opening{width:min(calc(100% - 40px),320px);margin-top:0}.creator-studio-opening-progress{display:grid;gap:10px;width:100%}.creator-studio-opening-copy{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.creator-studio-opening-copy strong{font-size:15px;font-weight:600}.creator-studio-opening-copy number-flow-react{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums;font-weight:650}.creator-studio-opening-track{height:5px;overflow:hidden;background:var(--card);border-radius:var(--radius-pill)}.creator-studio-opening-track>span{display:block;height:100%;background:var(--accent-solid);border-radius:inherit;transition:width var(--motion-medium) var(--ease-out)}.creator-resource-opening-layer{min-height:60vh;display:grid;place-items:center}.creator-resource-opening-layer .creator-resume{margin-top:0}.creator-resume-error{width:min(calc(100% - 40px),420px);gap:18px;margin-top:0;text-align:center}.creator-resume-error>div{display:grid;gap:7px}.creator-resume-error h1{margin:0;font-size:23px;line-height:1.15;letter-spacing:-.015em}.creator-resume-error p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}.creator-resume-error .creator-resume-actions{display:flex;grid-auto-flow:column;gap:8px}.creator-resume-actions button{min-height:40px;padding:0 17px;border-radius:12px;font:inherit;font-size:13px;font-weight:650}.creator-library{min-width:0;padding:28px;width:min(100%,1120px);max-width:1120px;box-sizing:border-box}.app-shell .creator-library .creator-library-mobile-create{display:none}.creator-library p{color:var(--muted);line-height:1.5}.creator-library-resources{position:relative;display:flex;align-items:stretch;gap:clamp(18px,3vw,36px);border-bottom:1px solid var(--line)}.creator-library-resources>button{display:inline-flex;align-items:center;gap:8px;min-width:max-content;min-height:52px;padding:0 2px;color:var(--muted);text-align:left;background:transparent;border:0;border-radius:0;font-size:14px;font-weight:500}.creator-library-resources>button:hover{color:var(--ink)}.creator-library-resources>button:focus-visible{outline:2px solid var(--ink);outline-offset:-6px;border-radius:8px}.creator-library-resources>button.active{color:var(--ink);font-weight:600;background:transparent;box-shadow:none}.creator-plot-controls{display:grid;gap:9px;margin-top:12px}.creator-library-section-label{color:var(--muted);font-size:var(--type-meta);font-weight:800;letter-spacing:.12em}.creator-library .creator-hub-filters{display:flex;flex-wrap:wrap;height:auto;padding:0;gap:8px}.blueprint-preview .blueprint-wizard-heading{max-width:760px}.blueprint-preview .blueprint-guidance-fields>p{margin:0;color:var(--ink);font-size:15px;line-height:1.65}.blueprint-preview .blueprint-guidance-card>header>div>span{color:var(--muted);background:var(--paper)}.creator-library .creator-hub-empty{min-height:240px;padding:48px 0;gap:16px;align-content:center}.creator-library-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:20px 0 0}.creator-library-tools input,.creator-refinement input,.creator-refinement select{min-width:0;width:100%;box-sizing:border-box;background:var(--card);color:var(--ink);border:1px solid var(--line-strong);padding:12px 14px;font:inherit}.creator-library-tools input{border:0;border-radius:var(--radius-pill)}.creator-library-sort{position:relative;display:flex;align-items:center;color:var(--muted);font-size:13px;font-weight:400}.creator-library-sort-trigger{box-sizing:border-box;min-width:154px;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 15px 0 17px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font:inherit;font-weight:400;cursor:pointer}.creator-library-sort-trigger:hover{background:color-mix(in srgb,var(--card) 88%,white)}.creator-library-sort-trigger>svg{flex:0 0 auto;color:var(--muted)}.creator-library-tools input:focus-visible,.creator-library-sort-trigger:focus-visible{outline:2px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:2px}.creator-library-sort-menu{position:absolute;z-index:40;top:calc(100% + 8px);right:0;min-width:210px;display:grid;gap:4px;box-sizing:border-box;padding:8px;color:var(--ink);background:var(--card);border-radius:18px;box-shadow:0 20px 48px #00000052;transform-origin:top right;animation:sidebar-create-menu-in .14s ease-out}.creator-library-sort-menu>button{width:100%;min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);background:transparent;border:0;border-radius:11px;font:inherit;font-size:14px;text-align:left;cursor:pointer}.creator-library-sort-menu>button:hover,.creator-library-sort-menu>button:focus-visible,.creator-library-sort-menu>button.active{background:color-mix(in srgb,var(--ink) 7%,transparent)}.creator-library-sort-menu>button>svg{justify-self:end;color:var(--muted)}.creator-refinement input,.creator-refinement select{border-radius:12px}.creator-refinement button:not(.primary):not(.secondary),.wizard-revision-review button:not(.primary):not(.secondary){border:1px solid var(--line-strong);border-radius:var(--radius-pill);background:var(--card);color:var(--ink);min-height:44px;padding:10px 16px;font:inherit;cursor:pointer}.creator-library .creator-hub-drafts{display:grid;min-width:0;width:100%;gap:14px;max-height:none;margin:20px 0;padding:0;overflow:visible}.creator-library .creator-sourcebook-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.creator-library .creator-story-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));align-items:start;gap:18px}.creator-library-loading{min-width:0}.creator-library .creator-library-skeleton-grid{margin-block:20px}.creator-library-skeleton-card{position:relative;aspect-ratio:3 / 4;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--card) 82%,var(--paper)),color-mix(in srgb,var(--card) 96%,var(--paper)));border-radius:20px}.creator-library-skeleton-card:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.055) 45%,rgba(255,255,255,.09) 50%,transparent 70%);background-size:220% 100%;animation:creator-library-skeleton-shimmer 1.8s ease-in-out infinite}.creator-library-skeleton-chip{position:absolute;top:13px;left:13px;width:72px;height:25px;background:#ffffff13;border-radius:var(--radius-pill)}.creator-library-skeleton-copy{position:absolute;right:18px;bottom:18px;left:18px;display:grid;gap:9px}.creator-library-skeleton-copy>span{display:block;height:12px;background:#ffffff13;border-radius:var(--radius-pill)}.creator-library-skeleton-copy>span:first-child{width:68%;height:20px}.creator-library-skeleton-copy>span:nth-child(2){width:92%}.creator-library-skeleton-copy>span:nth-child(3){width:76%}.creator-library-skeleton-copy>span:last-child{width:48%;margin-top:16px}@keyframes creator-library-skeleton-shimmer{0%{background-position:180% 0}to{background-position:-180% 0}}@property --creator-card-ring-angle{syntax: "<angle>"; inherits: false; initial-value: 0deg;}@keyframes creator-card-ring-orbit{to{--creator-card-ring-angle: 360deg}}@media(prefers-reduced-motion:reduce){.creator-library-skeleton-card:after{animation:none}.creator-studio-opening-track>span{transition:none}}.creator-library .creator-hub-drafts>button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--card);color:var(--ink);min-height:184px}.creator-library .creator-hub-drafts>button:hover{border-color:var(--accent);box-shadow:0 8px 24px color-mix(in srgb,var(--accent) 8%,transparent)}.creator-library .creator-hub-drafts strong{font-size:18px}.creator-library .creator-sourcebook-card{display:flex;flex-direction:column;gap:15px;box-sizing:border-box;height:100%;min-height:226px;padding:20px}.creator-hub .creator-sourcebook-heading{display:grid;gap:8px;width:100%;height:auto;min-height:0;padding:0;border:0}.creator-library .creator-sourcebook-heading>strong{display:block;width:100%;min-height:0;overflow:hidden;font-size:16px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.creator-sourcebook-author{display:flex;align-items:baseline;gap:3px;min-width:0;overflow:hidden;color:var(--muted);font-size:13px;line-height:1.2;opacity:.72;white-space:nowrap}.creator-sourcebook-author b{min-width:0;overflow:hidden;color:inherit;font-weight:400;text-overflow:ellipsis}.creator-library .creator-sourcebook-card>p{display:-webkit-box;align-self:start;width:100%;max-height:4.5em;margin:0;overflow:hidden;color:var(--muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.creator-sourcebook-meta{display:grid;gap:10px;width:100%;margin-top:auto;padding-top:13px}.creator-sourcebook-stats{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:12px;min-width:0}.creator-sourcebook-stats>span:not(.creator-sourcebook-open){display:inline-flex;align-items:baseline;gap:4px;min-width:0;color:var(--muted)}.creator-sourcebook-stats>span:not(.creator-sourcebook-open)+span:not(.creator-sourcebook-open){padding-left:10px;border-left:1px solid var(--line)}.creator-sourcebook-stats strong{min-height:0!important;color:var(--ink);font-size:13px!important;font-weight:400;line-height:1!important}.creator-sourcebook-stats small{overflow:hidden;color:var(--muted);font-size:13px;line-height:1;text-overflow:ellipsis;white-space:nowrap}.creator-sourcebook-open{display:grid;place-items:center;width:32px;height:32px;color:var(--muted);border:1px solid var(--line-strong);border-radius:50%;transition:color .16s ease,border-color .16s ease,background .16s ease}.creator-sourcebook-stats .creator-sourcebook-open{justify-self:end}.creator-sourcebook-card:hover .creator-sourcebook-open{color:var(--ink);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,transparent)}.creator-library .creator-hub-drafts>button{min-width:0;white-space:normal;width:100%}.creator-library .creator-hub-drafts small{color:var(--muted)}.creator-library .creator-sourcebook-card .creator-resource-kind{color:var(--accent);font-size:var(--type-meta);font-weight:850;letter-spacing:.13em}.creator-library .creator-hub-drafts>.creator-story-card{--creator-story-card-radius: 20px;position:relative;display:block;box-sizing:border-box;width:100%;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;color:#fff;background:#202126;border:0;border-radius:var(--creator-story-card-radius);text-align:left;cursor:pointer;box-shadow:0 8px 24px #00000024;transition:box-shadow .18s ease}.creator-library .creator-hub-drafts>.creator-story-card.archived{cursor:default}.creator-story-open{position:absolute;z-index:7;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;background:transparent;border:0;border-radius:inherit;cursor:pointer}.creator-library .creator-hub-drafts>.creator-story-card:before{content:"";position:absolute;z-index:5;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;opacity:0;border:1px solid rgba(224,223,228,.24);border-radius:calc(var(--creator-story-card-radius) - 1px);transition:opacity .48s cubic-bezier(.2,.65,.25,1)}.creator-library .creator-hub-drafts>.creator-story-card:after{content:"";position:absolute;z-index:6;top:1px;right:1px;bottom:1px;left:1px;padding:1px;pointer-events:none;opacity:0;background:conic-gradient(from var(--creator-card-ring-angle),transparent 0 25%,rgba(246,245,248,.14) 32%,rgba(250,249,251,.72) 39%,rgba(176,174,183,.24) 47%,transparent 59% 100%);border-radius:calc(var(--creator-story-card-radius) - 1px);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;transition:opacity .48s cubic-bezier(.2,.65,.25,1)}.creator-library .creator-hub-drafts>.creator-story-card:hover:before,.creator-library .creator-hub-drafts>.creator-story-card:focus-within:before,.creator-library .creator-hub-drafts>.creator-story-card:hover:after,.creator-library .creator-hub-drafts>.creator-story-card:focus-within:after{opacity:1}.creator-library .creator-hub-drafts>.creator-story-card:hover:after,.creator-library .creator-hub-drafts>.creator-story-card:focus-within:after{animation:creator-card-ring-orbit 2.8s linear infinite}.creator-library .creator-hub-drafts>.creator-story-card.no-cover{grid-template-columns:minmax(0,1fr)}.creator-library .creator-hub-drafts>.creator-story-card:hover{background:color-mix(in srgb,var(--card) 88%,white);box-shadow:0 18px 42px #00000038}.creator-story-open:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:-3px}.creator-story-card span{min-width:0;white-space:normal;text-overflow:clip}.creator-story-cover{position:relative;display:grid!important;place-items:center;box-sizing:border-box;width:100%;min-height:0;aspect-ratio:3 / 4;overflow:hidden;color:#fff!important;background:radial-gradient(circle at 20% 12%,rgba(255,255,255,.11),transparent 34%),linear-gradient(145deg,#334757,#222536 55%,#1c1b2b)}.creator-story-cover.tone-1{background:radial-gradient(circle at 22% 15%,rgba(255,255,255,.14),transparent 32%),linear-gradient(145deg,#285269,#211c32)}.creator-story-cover.tone-2{background:radial-gradient(circle at 22% 15%,rgba(255,255,255,.14),transparent 32%),linear-gradient(145deg,#70442e,#2c1e34)}.creator-story-cover.tone-3{background:radial-gradient(circle at 22% 15%,rgba(255,255,255,.14),transparent 32%),linear-gradient(145deg,#315e51,#1e2934)}.creator-story-cover>img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;transform:scale(1);transition:transform .75s cubic-bezier(.2,.65,.25,1)}.creator-story-card:hover .creator-story-cover>img,.creator-story-card:focus-within .creator-story-cover>img{transform:scale(1.025)}.creator-story-cover:after{content:"";position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(5,6,9,.24) 0%,transparent 24%),linear-gradient(0deg,rgba(7,7,10,.98) 0%,rgba(7,7,10,.9) 24%,rgba(7,7,10,.58) 44%,rgba(7,7,10,.18) 62%,transparent 76%);pointer-events:none}.creator-story-card.no-cover .creator-story-cover{aspect-ratio:3 / 4;background:radial-gradient(circle at 16% 8%,rgba(255,255,255,.1),transparent 30%),radial-gradient(circle at 90% 8%,rgba(132,118,151,.12),transparent 34%),linear-gradient(150deg,#304655,#242a39 48%,#1c1b29)}.creator-story-cover-placeholder{position:absolute;z-index:0;top:0;right:0;bottom:0;left:0;display:block!important;overflow:hidden;color:#ffffffbd!important}.creator-story-placeholder-art{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;opacity:.82}.creator-story-cover-placeholder>span{position:absolute;top:27%;left:50%;display:flex!important;align-items:center;gap:8px;width:max-content;transform:translate(-50%)}.creator-story-cover-placeholder svg{opacity:.82}.creator-story-cover-placeholder small{color:inherit!important;font-size:13px;font-weight:650;letter-spacing:.01em}.creator-story-visibility{position:absolute;z-index:2;top:17px;left:19px;display:flex!important;align-items:center;gap:4px;width:auto!important}.creator-story-visibility>span{display:inline-flex!important;align-items:center;height:20px;padding:1px 10px 0;color:#ffffffdb!important;background:#0c0d1294;border-radius:var(--radius-pill);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);font-size:13px;font-weight:600;line-height:1;text-transform:capitalize}.creator-story-visibility>.status-approved{color:#bcebd4!important}.creator-story-visibility>.status-rejected{color:#ffc1cb!important}.creator-story-visibility>.status-pending{color:#f0cf99!important}.creator-story-actions{position:absolute;z-index:8;top:10px;right:10px;width:auto}.creator-story-action-trigger{display:grid;place-items:center;width:34px;height:34px;padding:0;color:#ffffffd1;background:#0c0d12ad;border:0;border-radius:10px;opacity:0;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);cursor:pointer;transition:opacity .14s ease,color .14s ease,background .14s ease}.creator-story-card:hover .creator-story-action-trigger,.creator-character-card:hover .creator-story-action-trigger,.creator-story-action-trigger:focus-visible,.creator-story-action-trigger[aria-expanded=true]{opacity:1}.creator-story-action-trigger:hover,.creator-story-action-trigger:focus-visible,.creator-story-action-trigger[aria-expanded=true]{color:#fff;background:#303136}.creator-story-action-trigger:disabled{opacity:.58;cursor:wait}.creator-story-actions-menu{position:absolute;z-index:9;top:calc(100% + 7px);right:0;display:grid;gap:4px;width:190px;padding:8px;color:var(--ink);background:var(--card);border-radius:18px;box-shadow:0 20px 48px #0000005c;transform-origin:top right;animation:sidebar-create-menu-in .14s ease-out}.creator-story-actions-menu>button{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:52px;padding:8px 12px;color:#dedee3;background:transparent;border:0;border-radius:11px;font:inherit;font-size:15px;text-align:left;cursor:pointer}.creator-story-actions-menu>button>span{color:inherit;font-size:inherit;line-height:normal}.creator-story-actions-menu>button:hover,.creator-story-actions-menu>button:focus-visible{background:color-mix(in srgb,var(--ink) 7%,transparent)}.creator-story-actions-menu>button>svg{color:var(--muted)}.creator-story-actions-menu>button.danger{color:#ff8daa}.creator-story-actions-menu>button.danger>svg{color:currentColor}.creator-story-actions-menu>button:disabled{opacity:.55;cursor:wait}@media(hover:none){.creator-story-action-trigger{opacity:1}}.creator-story-genres small{padding:0;font-size:13px;font-weight:600;line-height:1.2}.creator-story-cast{position:relative;z-index:3;display:flex!important;flex:0 0 30px;align-self:flex-start;width:auto!important;margin-bottom:-2px;margin-left:-1px;overflow:visible!important}.creator-story-cast.empty{width:30px!important;height:30px;visibility:hidden}.creator-story-cast>span{display:grid!important;place-items:center;flex:0 0 30px;box-sizing:border-box;width:30px!important;height:30px;margin-left:-6px;overflow:hidden!important;color:#fff!important;background:#312b34;border:0;border-radius:50%;box-shadow:none;font-size:13px;font-weight:750}.creator-story-cast>span:first-child{margin-left:0}.creator-story-cast img{width:100%;height:100%;object-fit:cover}.creator-library .creator-story-body{position:absolute;z-index:2;right:0;bottom:0;left:0;display:flex!important;flex-direction:column;justify-content:flex-end!important;gap:10px;box-sizing:border-box;width:100%;height:58%;min-width:0;min-height:0;padding:18px 19px 17px;overflow:hidden!important;color:#fff}.creator-library .creator-story-heading{display:flex!important;flex:0 0 auto;flex-direction:column;justify-content:flex-start!important;gap:4px!important;width:100%;height:auto!important;min-width:0;min-height:0!important;margin:0!important;padding:0!important}.creator-library .creator-story-title{display:flex!important;align-items:center;gap:16px;margin:0!important;padding:0!important;color:#fff!important}.creator-story-title>h2{flex:1;margin:0;overflow:hidden;font-size:18px;font-weight:600;line-height:1.2;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.creator-library .creator-story-premise{display:-webkit-box!important;min-height:0;max-height:3.2em;margin:0!important;padding:0!important;overflow:hidden!important;overflow-wrap:anywhere;color:#dfdfe4;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2!important;font-size:14px;line-height:1.5!important}.creator-story-genres{display:flex!important;flex-wrap:wrap;gap:4px 8px}.creator-story-genres small{color:#ffffffa8!important;background:transparent;border:0;text-transform:none;letter-spacing:0}.creator-story-meta{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;min-width:0;margin-top:auto;padding:0;background:transparent;border:0}.creator-story-meta>span{min-width:0;padding:0}.creator-story-progress{display:grid!important;gap:7px}.creator-story-progress-track{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.creator-story-progress-track i{height:3px;background:#fff3;border-radius:var(--radius-pill)}.creator-story-progress-track i.complete{background:#ffffffb8}.creator-story-edited{display:inline-flex!important;align-items:center;align-self:end;gap:5px;color:#ffffffad;white-space:nowrap}.creator-story-edited svg{flex:0 0 auto;opacity:.72}.creator-story-edited time{font-size:13px;font-weight:650;line-height:1.25}.creator-story-meta small{color:#ffffff94!important;font-size:13px;font-weight:650;letter-spacing:.04em}.creator-story-meta strong{overflow:hidden;color:#fff;font-size:13px!important;font-weight:650;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.creator-library-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:grid;place-items:center;padding:24px;background:#0008;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-shell.view-create:has(.blueprint-page)>.main-area>.page-content{max-width:none;padding:0}.blueprint-page{container:blueprint-page / inline-size;width:100%;min-height:100%;color:var(--ink);background:var(--paper)}.blueprint-editor{width:100%}.blueprint-editor-header{position:sticky;z-index:24;top:0;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(24px,calc((100% - 760px)/2));background:var(--paper);border-bottom:1px solid var(--line)}.blueprint-editor-back{min-width:0;min-height:44px;display:flex;align-items:center;gap:7px;padding:0;color:var(--ink);background:transparent;border:0;font:inherit;font-size:20px;font-weight:760}.studio-visibility-menu{position:relative;flex:0 0 auto}.studio-visibility-trigger{min-height:40px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600;cursor:pointer}.studio-visibility-trigger:hover{background:var(--card-hover)}.studio-visibility-trigger>svg:first-child{width:16px;height:16px;color:var(--muted)}.studio-visibility-trigger>svg:last-child{width:15px;height:15px;color:var(--muted);transition:transform .16s ease}.studio-visibility-trigger>svg:last-child.open{transform:rotate(180deg)}.studio-visibility-surface{position:absolute;z-index:60;top:calc(100% + 8px);right:0;width:min(340px,calc(100vw - 32px));display:grid;gap:4px;padding:8px;background:var(--card);border-radius:18px;box-shadow:0 20px 52px #00000061}.studio-visibility-surface [role=listbox]{display:grid;gap:4px}.studio-visibility-surface [role=option]{min-height:52px;display:grid;grid-template-columns:28px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);text-align:left;background:transparent;border:0;border-radius:11px;font:inherit;cursor:pointer}.studio-visibility-surface [role=option]:hover,.studio-visibility-surface [role=option]:focus-visible{background:var(--card-hover)}.studio-visibility-surface [role=option].selected{background:var(--card-hover)}.studio-visibility-surface [role=option]>svg:first-child{width:18px;height:18px;justify-self:center;color:var(--muted)}.studio-visibility-surface [role=option].selected>svg:first-child{color:var(--accent)}.studio-visibility-surface [role=option]>span{display:grid;gap:2px;min-width:0}.studio-visibility-surface [role=option] strong{font-size:14px;font-weight:600}.studio-visibility-surface [role=option] small{color:var(--muted);font-size:13px;font-weight:400;line-height:1.45}.studio-visibility-surface [role=option]>svg:last-child{width:17px;height:17px;justify-self:end;color:var(--accent)}.blueprint-visibility-connections{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:12px;padding:12px;border-radius:11px;cursor:pointer}.blueprint-visibility-connections:hover{background:var(--card-hover)}.blueprint-visibility-connections input{width:18px;height:18px;margin:1px 0 0;justify-self:center;accent-color:var(--accent)}.blueprint-visibility-connections>span{display:grid;gap:2px;min-width:0}.blueprint-visibility-connections strong{font-size:14px;font-weight:600}.blueprint-visibility-connections small{color:var(--muted);font-size:13px;font-weight:400;line-height:1.45}.blueprint-editor-back:hover{color:var(--ink);background:transparent}.blueprint-editor-document-title{max-width:min(42vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blueprint-editor-hero,.blueprint-editor-panel,.blueprint-editor-error{width:min(920px,100%);margin-right:auto;margin-left:auto}.blueprint-editor-hero{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:18px;margin-bottom:28px}.blueprint-editor-hero>span{display:grid;place-items:center;width:52px;height:52px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--card));border:1px solid color-mix(in srgb,var(--accent) 24%,var(--line));border-radius:16px}.blueprint-editor-hero h1{margin:5px 0 7px;font-size:clamp(26px,4vw,38px);letter-spacing:-.025em}.blueprint-editor-hero p{max-width:720px;margin:0;color:var(--muted);font-size:var(--type-body);line-height:1.55}.blueprint-editor-panel{margin-bottom:18px;padding:24px;background:var(--card);border:1px solid var(--line);border-radius:22px}.blueprint-editor-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.blueprint-editor-panel>header>div{display:flex;align-items:flex-start;gap:12px}.blueprint-editor-panel>header>div>small{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--paper));border-radius:9px;font-size:var(--type-meta);font-weight:800}.blueprint-editor-panel h2{margin:1px 0 3px;font-size:19px}.blueprint-editor-panel header p{margin:0;color:var(--muted);font-size:var(--type-secondary);line-height:1.45}.blueprint-wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:min(720px,100%);margin:0 auto 38px;padding:0;list-style:none}.blueprint-wizard-progress li{position:relative;display:grid;justify-items:center;gap:7px;color:var(--muted)}.blueprint-wizard-progress li:before{content:"";position:absolute;top:15px;right:50%;left:-50%;height:1px;background:var(--line-strong)}.blueprint-wizard-progress li:first-child:before{display:none}.blueprint-wizard-progress li>span{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;background:var(--paper);border:1px solid var(--line-strong);border-radius:50%;font-size:var(--type-meta);font-weight:750}.blueprint-wizard-progress li.active,.blueprint-wizard-progress li.complete{color:var(--ink)}.blueprint-wizard-progress li.active>span{color:var(--accent-contrast);background:var(--accent-solid);border-color:var(--accent-solid);box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 12%,transparent)}.blueprint-wizard-progress li.complete>span{color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--paper));border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}.blueprint-wizard-progress li.complete:before,.blueprint-wizard-progress li.active:before{background:color-mix(in srgb,var(--accent) 58%,var(--line))}.blueprint-wizard-progress small{font-size:var(--type-meta);font-weight:650}.blueprint-wizard-step{width:min(920px,100%);margin:0 auto}.blueprint-wizard-heading{max-width:760px;margin:0 auto 24px;text-align:center}.blueprint-wizard-heading>small{color:var(--accent);font-size:var(--type-meta);font-weight:850;letter-spacing:.12em}.blueprint-wizard-heading h1{margin:7px 0 8px;font-size:clamp(28px,4vw,40px);letter-spacing:-.025em}.blueprint-wizard-heading p{margin:0;color:var(--muted);font-size:var(--type-body);line-height:1.55}.blueprint-wizard-step .blueprint-editor-panel{width:100%}.blueprint-guidance-section>header>div{display:grid;gap:2px}.blueprint-guidance-section>header>div>strong{font-size:var(--type-control)}.blueprint-wizard-step .blueprint-sharing{margin-top:0;padding-top:0;border-top:0}.blueprint-editor-fields,.blueprint-guidance-fields{display:grid;gap:18px}.blueprint-editor-fields>label,.blueprint-guidance-fields>label:not(.blueprint-check),.blueprint-guidance-behavior>label{display:grid;gap:8px;min-width:0}.blueprint-editor-fields label>span,.blueprint-guidance-fields label>span,.blueprint-field-label{display:flex;justify-content:space-between;gap:12px;font-size:var(--type-control);font-weight:700}.blueprint-editor-fields label>span small,.blueprint-guidance-fields label>span small{color:var(--muted);font-size:var(--type-meta);font-weight:550}.blueprint-editor input:not([type=checkbox]),.blueprint-editor textarea,.blueprint-editor select{width:100%;min-width:0;padding:13px 14px;color:var(--ink);background:var(--paper);border:1px solid var(--line-strong);border-radius:13px;resize:vertical;font-size:var(--type-body)}.blueprint-editor input:not([type=checkbox]):focus,.blueprint-editor textarea:focus,.blueprint-editor select:focus{border-color:var(--accent);outline:3px solid color-mix(in srgb,var(--accent) 16%,transparent)}.blueprint-sharing{display:grid;gap:10px;margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}.blueprint-sharing-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.blueprint-sharing-options>button{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;padding:13px;color:var(--muted);text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:14px}.blueprint-sharing-options>button.active{color:var(--ink);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 7%,var(--paper))}.blueprint-sharing-options strong,.blueprint-sharing-options small{display:block}.blueprint-sharing-options strong{margin-bottom:3px;font-size:var(--type-control)}.blueprint-sharing-options small{color:var(--muted);font-size:var(--type-secondary);line-height:1.4}.blueprint-check{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px 13px;background:var(--paper);border:1px solid var(--line);border-radius:13px;cursor:pointer}.blueprint-check input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--accent)}.blueprint-check span{display:grid!important;justify-content:stretch!important;gap:2px!important}.blueprint-check strong{font-size:var(--type-control)}.blueprint-check small{color:var(--muted);font-size:var(--type-secondary);font-weight:500;line-height:1.45}.blueprint-guidance-list{display:grid;gap:14px}.blueprint-guidance-card{overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:17px}.blueprint-guidance-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--line)}.blueprint-guidance-card>header>div{display:flex;align-items:center;gap:10px;min-width:0}.blueprint-guidance-card>header>div>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;color:var(--accent);background:color-mix(in srgb,var(--accent) 10%,var(--card));border-radius:9px;font-size:var(--type-meta);font-weight:800}.blueprint-guidance-card>header strong,.blueprint-guidance-card>header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blueprint-guidance-card>header strong{font-size:var(--type-control)}.blueprint-guidance-card>header small{margin-top:2px;color:var(--muted);font-size:var(--type-meta)}.blueprint-guidance-card>header>button{display:grid;place-items:center;width:36px;height:36px;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.blueprint-guidance-card>header>button:hover{color:var(--danger);background:color-mix(in srgb,var(--danger) 8%,transparent)}.blueprint-guidance-fields{padding:18px 16px}.blueprint-guidance-behavior{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.blueprint-guidance-empty{display:grid;justify-items:center;gap:9px;padding:38px 20px;color:var(--muted);text-align:center;background:var(--paper);border:1px dashed var(--line-strong);border-radius:16px}.blueprint-guidance-empty strong{color:var(--ink)}.blueprint-guidance-empty p{max-width:470px;margin:0 0 6px;font-size:var(--type-secondary)}.blueprint-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.blueprint-review>article{min-width:0;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:18px}.blueprint-review>article:nth-child(2){grid-row:span 2}.blueprint-review article>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.blueprint-review article>header>span{color:var(--muted);font-size:var(--type-meta);font-weight:800;letter-spacing:.08em;text-transform:uppercase}.blueprint-review article>header>button{padding:4px 0;color:var(--accent);background:transparent;border:0;font-size:var(--type-control);font-weight:650}.blueprint-review article>strong{display:block;overflow-wrap:anywhere;font-size:18px}.blueprint-review article>p{margin:5px 0 0;color:var(--muted);font-size:var(--type-secondary);line-height:1.5}.blueprint-review ul{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}.blueprint-review li{display:grid;gap:2px;padding:10px 12px;background:var(--paper);border-radius:11px}.blueprint-review li span{overflow-wrap:anywhere;font-size:var(--type-control);font-weight:650}.blueprint-review li small{overflow-wrap:anywhere;color:var(--muted);font-size:var(--type-meta)}.blueprint-editor-error{margin-top:16px;padding:14px 16px;color:var(--danger);background:color-mix(in srgb,var(--danger) 7%,var(--card));border:1px solid color-mix(in srgb,var(--danger) 30%,var(--line));border-radius:14px}.blueprint-wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.blueprint-wizard-actions>div{display:flex;align-items:center;gap:12px}.blueprint-wizard-actions>div:last-child{margin-left:auto}.blueprint-wizard-actions>div>small{max-width:260px;color:var(--muted);font-size:var(--type-meta);line-height:1.35;text-align:right}.blueprint-editor button.primary,.blueprint-editor button.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--button-height);padding:0 var(--button-padding);border-radius:var(--radius-pill);font-size:var(--type-control);font-weight:650;line-height:1}.blueprint-editor button.primary{color:var(--action-fg);background:var(--action-bg);border:0}.blueprint-editor button.primary:hover:not(:disabled){background:var(--action-hover)}.blueprint-editor button.secondary{color:var(--ink);background:var(--control-outline-bg);border:1.5px solid var(--control-outline)}.blueprint-editor button.secondary:hover:not(:disabled){border-color:var(--control-outline-hover);background:var(--control-outline-bg-hover)}.blueprint-editor button.primary:disabled,.blueprint-editor button.secondary:disabled{opacity:.55;cursor:not-allowed}.blueprint-editor :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.creator-create-sheet{box-sizing:border-box;width:min(520px,100%);max-height:92dvh;overflow-y:auto;color:var(--ink);background:var(--paper);border:0;border-radius:24px;padding:22px;box-shadow:var(--shadow)}.creator-create-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;height:auto;min-height:0;margin-bottom:18px;padding:0 0 18px;overflow:visible;border-bottom:1px solid var(--line)}.creator-create-sheet>header small{display:block;margin-bottom:5px;color:var(--accent);font-size:13px;font-weight:800;letter-spacing:.12em}.creator-create-sheet>header h2{margin:0;font-size:22px;letter-spacing:-.02em}.creator-create-sheet>header>button{display:grid;place-items:center;width:38px;height:38px;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.creator-create-actions,.creator-type-actions{display:grid;gap:9px}.creator-create-actions>button,.creator-type-actions>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;width:100%;min-height:72px;padding:12px 14px;color:var(--ink);text-align:left;background:var(--card);border:1px solid var(--line);border-radius:15px}.creator-create-actions>button:hover,.creator-type-actions>button:not(:disabled):hover{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 6%,var(--card))}.creator-create-actions>button>span:first-child{display:grid;place-items:center;width:42px;height:42px;color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,transparent);border-radius:12px}.creator-create-actions strong,.creator-type-actions strong{display:block;font-size:15px}.creator-create-actions small,.creator-type-actions small{display:block;margin-top:4px;color:var(--muted);font-size:14px;line-height:1.45}.creator-type-actions>button{min-height:96px}.creator-type-actions>button>svg:first-child{color:var(--accent)}.creator-type-actions em{display:inline-block;margin-top:7px;padding:3px 7px;color:var(--muted);background:var(--paper);border-radius:999px;font-size:13px;font-style:normal;font-weight:700}.creator-type-actions>button:disabled{opacity:.68}.creator-creation-error{margin:16px 0;color:var(--danger)}.studio-plugin-list{display:grid;gap:10px}.enter-story,.detail-start,.app-shell button.primary,.app-shell button.secondary,.auth-overlay button.primary,.auth-overlay button.secondary{border-radius:var(--radius-pill)}.creator-refinement label{display:grid;gap:8px;font-size:14px;font-weight:600;margin-bottom:16px}.creator-refinement,.wizard-revision-review{margin:28px 16px 0;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--card)}.creator-refinement p,.wizard-revision-review p{font-size:14px;line-height:1.55;color:var(--muted)}.creator-refinement button+button,.wizard-revision-review button+button{margin-left:8px}.creator-library :focus-visible,.creator-refinement :focus-visible{outline:2px solid var(--accent);outline-offset:3px}.creator-review-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line);background:var(--paper)}.creator-review-stats{display:flex;align-items:center;gap:18px;margin-right:auto}.creator-review-stats>span{display:grid;gap:1px}.creator-review-stats strong{color:var(--ink);font-size:13px}.creator-review-stats small{color:var(--muted);font-size:13px;letter-spacing:.06em;text-transform:uppercase}.creator-review-toolbar button{min-height:40px;padding:10px 14px}.creator-readiness{padding:12px 20px;border-bottom:1px solid var(--line);font-size:14px;background:var(--paper)}.creator-readiness summary{cursor:pointer;font-weight:600}.creator-readiness-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;padding-top:16px}.creator-readiness button{display:grid;gap:8px;text-align:left}.creator-readiness small,.creator-readiness p{color:var(--muted)}.creator-readiness li{line-height:1.6;color:var(--accent)}.portrait-comparison{padding:16px;background:var(--card);border:1px solid var(--line);border-radius:16px;margin-block:16px}.portrait-comparison summary{cursor:pointer;font-weight:650}.portrait-comparison p{font-size:13px;line-height:1.5;color:var(--muted)}.portrait-comparison>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portrait-comparison figure{margin:0;min-width:0}.portrait-comparison img{width:100%;aspect-ratio:2 / 3;object-fit:cover;border-radius:12px}.portrait-comparison button{width:100%;min-height:44px;padding:8px;margin-top:8px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:12px}.portrait-comparison button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}@media(max-width:980px){.creator-library .creator-sourcebook-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.app-shell .creator-library .creator-library-mobile-create{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;min-height:44px;padding:0 20px}}@media(max-width:640px){.creator-library{padding:20px 16px}.creator-library-tools{grid-template-columns:minmax(0,1fr)}.creator-library-sort-trigger,.creator-library-sort-menu{width:100%;min-width:0}.creator-library-resources{gap:20px;overflow-x:auto}.creator-library .creator-sourcebook-grid{grid-template-columns:1fr}.creator-library-resources>button{flex:0 0 auto;padding:0 2px}.app-shell .creator-library .creator-library-mobile-create{width:100%;margin-bottom:16px}.creator-library-overlay{padding:0;align-items:end}.blueprint-editor-header{padding:0 14px}.blueprint-editor-hero{gap:12px;margin-bottom:20px}.blueprint-editor-hero>span{width:44px;height:44px}.blueprint-editor-hero h1{font-size:25px}.blueprint-editor-panel{padding:17px 14px;border-radius:18px}.blueprint-editor-panel>header{align-items:stretch;flex-direction:column}.blueprint-editor-panel>header>button{width:100%}.blueprint-sharing-options,.blueprint-guidance-behavior{grid-template-columns:1fr}.blueprint-wizard-progress{margin-bottom:28px}.blueprint-wizard-progress small{display:none}.blueprint-wizard-heading{text-align:left}.blueprint-wizard-heading h1{font-size:28px}.blueprint-review{grid-template-columns:1fr}.blueprint-review>article:nth-child(2){grid-row:auto}.blueprint-wizard-actions{align-items:stretch;flex-direction:column-reverse}.blueprint-wizard-actions>div,.blueprint-wizard-actions>div:last-child{width:100%;margin:0}.blueprint-wizard-actions>div:last-child{align-items:stretch;flex-direction:column}.blueprint-wizard-actions button{width:100%}.blueprint-wizard-actions>div>small{max-width:none;text-align:left}.creator-create-overlay{align-items:end;padding:0}.creator-create-sheet{width:100%;border:0;border-radius:24px 24px 0 0;padding:20px 16px max(22px,env(safe-area-inset-bottom))}.creator-library .creator-hub-drafts{grid-template-columns:1fr}.creator-library .creator-hub-drafts>.creator-story-card,.creator-library .creator-hub-drafts>.creator-story-card.no-cover{grid-template-columns:minmax(0,1fr);min-height:0}.creator-story-cover{width:100%;min-height:0;aspect-ratio:3 / 4}.creator-story-card.no-cover .creator-story-cover{width:100%;height:auto;min-height:0;aspect-ratio:3 / 4}.creator-library .creator-story-body{gap:9px;height:auto;min-height:48%;padding:16px}.creator-story-title>h2{font-size:18px}.creator-story-premise{-webkit-line-clamp:2!important}.creator-story-genres{gap:4px}.creator-story-genres small{padding:0;font-size:13px}.creator-story-meta{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;padding:0;border:0}.creator-story-meta>span{min-height:0;padding:0}.creator-story-visibility{top:16px;left:16px}.creator-story-cast>span{flex-basis:30px;width:30px!important;height:30px}}@media(max-width:640px){.creator-editor-parity .studio-header{padding-inline:14px}.creator-editor-parity .studio-header>div:first-child{gap:7px}.creator-editor-parity .studio-autosave{display:none}.creator-editor-parity .studio-save{display:flex;gap:6px}.creator-editor-parity .studio-save .secondary{display:flex}.creator-editor-parity .studio-save button{min-height:38px;padding:0 9px;font-size:14px}.creator-editor-parity .studio-tabs{padding-inline:8px}.creator-editor-parity .studio-tabs button{min-width:0;padding-inline:4px;font-size:14px}.creator-editor-parity .studio-body{padding:14px 16px 42px}.creator-editor-parity .studio-section{padding:14px}.creator-editor-parity .studio-inline{grid-template-columns:1fr;gap:0}}.persona-onboarding{width:min(440px,calc(100vw - 32px));padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--card);color:var(--ink)}.persona-onboarding::backdrop{background:#000000a6}.persona-onboarding form{display:grid;gap:16px}.persona-onboarding h2,.persona-onboarding p{margin:0}.persona-onboarding label{display:grid;gap:8px}.persona-onboarding input{width:100%;min-height:48px;padding:12px;font:inherit;color:inherit;background:var(--card);border:1px solid var(--line);border-radius:12px}.persona-onboarding button{min-height:44px}@media(max-width:640px){.explore-drawer,.explore-drawer-scrim,.creator-wizard-shell,.creator-editor-parity{bottom:var(--mobile-nav-height)}.mobile-chat-drawer{top:var(--app-top-inset);bottom:0;height:auto}.creator-wizard{height:100%;margin-top:0}}.conversation-loading{display:grid;place-content:center;justify-items:center;gap:16px;min-height:50vh;padding:24px;text-align:center}.messages{position:relative}.chat-conversation-skeleton{visibility:visible;width:100%;padding:16px 14px 38px;overflow:hidden;pointer-events:none}.messages>.chat-conversation-skeleton{position:absolute;top:72px;right:0;bottom:0;left:0}@media(max-width:1299px){.messages>.chat-conversation-skeleton{top:0}}.conversation-loading.conversation-loading-skeleton{display:block;padding:16px 0;text-align:initial}.chat-skeleton-beats{width:100%;max-width:var(--chat-thread-max, 512px);margin:0 auto}.chat-skeleton-fill{display:block;background:linear-gradient(100deg,#25272d 18%,#30333b,#25272d 82%);background-size:250% 100%;animation:chat-conversation-shimmer 1.45s linear infinite}.chat-skeleton-date{width:132px;height:10px;margin:0 auto 28px;border-radius:5px}.chat-skeleton-turn{display:flex;align-items:flex-end;gap:8px}.chat-skeleton-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%}.chat-skeleton-bubble{width:56%;height:76px;border-radius:18px 18px 18px 4px}.chat-skeleton-narration{margin:12px 0 20px}.chat-skeleton-narration>span{width:76%;height:10px;border-radius:5px}.chat-skeleton-narration>span+span{width:62%;margin-top:10px}.chat-skeleton-player{flex-direction:row-reverse;margin-bottom:12px}.chat-skeleton-player .chat-skeleton-bubble{width:43%;height:54px;border-radius:18px 18px 4px}.chat-skeleton-last .chat-skeleton-bubble{width:48%}@keyframes chat-conversation-shimmer{0%{background-position:150% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.chat-skeleton-fill{animation:none;background:#25272d}}.growth-card{display:grid;gap:14px;margin-bottom:18px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px;min-width:0;container-type:inline-size}.growth-card>header{display:flex;align-items:center;gap:11px}.growth-card>header>span{flex:none;width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:12px}.growth-card>header>div{flex:1;min-width:0}.growth-card h2{margin:3px 0;font-size:24px;font-weight:700}.growth-card>header p{margin:0;color:var(--muted);font-size:14px}.growth-card h3{display:flex;align-items:baseline;gap:8px;margin:6px 0 0;font-size:16px;font-weight:700}.growth-card h3 small{color:var(--muted);font-weight:500}.growth-card-status{margin:0;color:var(--muted);font-size:14px}.growth-card-status-ok{color:var(--accent-dark)}.growth-card-status-error{color:#a45140}.growth-card-footnote{margin:0;color:var(--muted);font-size:13px}.growth-card-link{display:inline-flex;align-items:center;gap:5px;justify-self:start;color:var(--accent-dark);font-weight:600;text-decoration:none}.growth-card-link:hover{text-decoration:underline}.growth-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:0}.growth-stats>div{display:grid;gap:4px;padding:12px 14px;background:color-mix(in srgb,var(--accent-soft) 45%,var(--card));border:1px solid var(--line);border-radius:12px}.growth-stats dt{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.growth-stats dd{margin:0;font-size:22px;font-weight:700;color:var(--ink)}.growth-stats .growth-stat-empty{font-size:14px;font-weight:500;color:var(--muted)}.growth-rewards{display:grid;gap:6px;margin:0;padding-left:18px;color:var(--ink);font-size:14px}.growth-status{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-style:normal;font-weight:600;color:var(--muted);background:var(--control-outline-bg)}.growth-status-qualified,.growth-status-converted,.growth-status-active,.growth-status-approved,.growth-status-paid{color:var(--accent-dark);background:var(--accent-soft)}.growth-status-clawed_back,.growth-status-rejected,.growth-status-removed,.growth-status-void{color:#a45140;background:#f6e7e2}.growth-table{width:100%;border-collapse:collapse;font-size:14px}.growth-table th,.growth-table td{padding:8px 10px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}.growth-table th{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.growth-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.growth-table td small{display:block;color:var(--muted)}.invite-code-row{display:grid;gap:12px;padding:16px;border:1px solid color-mix(in srgb,var(--accent-border) 65%,var(--line));border-radius:14px;background:linear-gradient(145deg,color-mix(in srgb,var(--accent-soft) 85%,var(--card)),color-mix(in srgb,var(--accent-soft) 35%,var(--card)))}.invite-code{display:grid;gap:2px}.invite-code span,.invite-link>span,.invite-claim label>span,.creator-programme-form label>span{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.invite-code strong{font-size:30px;font-weight:800;letter-spacing:.18em;color:var(--accent-dark);font-variant-numeric:tabular-nums}.invite-link{display:grid;gap:4px}.invite-link input,.share-dialog-link input,.invite-claim input,.creator-programme-form input[type=email]{width:100%;min-width:0;padding:10px 12px;font:inherit;color:var(--ink);background:var(--card);border:1px solid var(--line-strong);border-radius:10px}.invite-actions,.share-dialog-actions,.creator-programme-actions,.share-page-actions{display:flex;flex-wrap:wrap;gap:8px}.invite-actions button,.share-dialog-actions button,.share-dialog-download,.invite-claim button,.creator-programme-actions button,.share-page-actions button{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;font:inherit;font-weight:600;color:var(--ink);background:var(--control-outline-bg);border:1px solid var(--control-outline);border-radius:10px;text-decoration:none;cursor:pointer}.invite-actions button.primary,.share-dialog-actions button.primary,.invite-claim button,.creator-programme-actions button.primary,.share-page-actions button.primary{color:var(--accent-contrast);background:var(--accent-solid);border-color:transparent}.invite-actions button.primary:hover,.share-dialog-actions button.primary:hover,.creator-programme-actions button.primary:hover:not(:disabled),.share-page-actions button.primary:hover{background:var(--accent-hover)}.invite-claim button:disabled,.creator-programme-actions button:disabled{opacity:.55;cursor:not-allowed}.invite-referred-by{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:14px}.invite-claim{display:flex;flex-wrap:wrap;align-items:end;gap:8px}.invite-claim label{display:grid;gap:4px;flex:1 1 200px}.invite-claim input{letter-spacing:.14em;text-transform:uppercase;font-weight:600}.creator-programme-form{display:grid;gap:10px}.creator-programme-form label{display:grid;gap:4px}.creator-programme-form .creator-programme-terms{display:flex;position:relative;align-items:center;gap:11px;width:max-content;max-width:100%;font-size:14px;cursor:pointer}.creator-programme-form .creator-programme-terms input{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;opacity:0;pointer-events:none}.creator-programme-checkbox{flex:0 0 auto;width:22px;height:22px;display:grid;place-items:center;color:#fff;background:var(--control-outline-bg);border-radius:6px;box-shadow:inset 0 0 0 1.5px var(--control-outline);transition:background-color var(--motion-fast),box-shadow var(--motion-fast),transform var(--motion-fast)}.creator-programme-checkbox svg{width:15px;height:15px;stroke-width:3;opacity:0;transform:scale(.65);transition:opacity var(--motion-fast),transform var(--motion-fast)}.creator-programme-terms:hover .creator-programme-checkbox{box-shadow:inset 0 0 0 1.5px var(--control-outline-hover)}.creator-programme-terms input:focus-visible+.creator-programme-checkbox{outline:3px solid color-mix(in srgb,var(--accent) 26%,transparent);outline-offset:2px}.creator-programme-terms input:checked+.creator-programme-checkbox{background:var(--accent);box-shadow:none}.creator-programme-terms input:checked+.creator-programme-checkbox svg{opacity:1;transform:scale(1)}.creator-programme-form .creator-programme-terms>span:last-child{color:var(--ink);font-size:14px;font-weight:500;letter-spacing:normal;text-transform:none}.share-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:grid;place-items:center;padding:24px;background:#0008;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.share-dialog{display:grid;gap:14px;width:min(560px,100%);max-height:calc(100dvh - 48px);overflow:auto;padding:20px;background:var(--card);border:0;border-radius:18px;box-shadow:0 24px 60px #00000047}.share-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.share-dialog h2{margin:0;font-size:20px;font-weight:700}.share-dialog-preview{display:grid;place-items:center;aspect-ratio:1200 / 630;overflow:hidden;background:#171429;border-radius:12px}.share-dialog-preview img{display:block;width:100%;height:auto}.share-dialog-placeholder{margin:0;padding:16px;color:#d9d4e8;font-size:14px;text-align:center}.share-dialog-link{display:grid;gap:10px}.share-dialog-link label{display:grid;gap:4px}.share-dialog-link label>span{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.share-dialog-status{margin:0;color:var(--muted);font-size:13px}.share-page{display:grid;gap:20px;width:min(880px,100%);margin:0 auto;padding:24px 16px 48px}.share-page-head{display:flex;align-items:center;gap:16px}.share-page-art{flex:none;width:72px;height:72px;object-fit:cover;border-radius:16px;border:1px solid var(--line)}.share-page-head .eyebrow{margin:0 0 4px}.share-page-head h1{margin:0;font-size:clamp(24px,4vw,34px);line-height:1.15}.share-page-card{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--line);background:#171429}.share-page-excerpt{display:grid;gap:12px}.share-page-line{margin:0;padding:16px 18px;border-radius:14px;background:var(--card);border:1px solid var(--line);border-left:4px solid var(--accent)}.share-page-line.user{border-left-color:var(--support)}.share-page-line strong{display:block;margin-bottom:6px;font-size:13px;letter-spacing:.02em;text-transform:uppercase;color:var(--accent-dark)}.share-page-line.user strong{color:var(--support)}.share-page-line p{margin:0;font-family:var(--font-story);font-size:17px;line-height:1.6;white-space:pre-wrap}.share-missing{text-align:center}.leaderboard-page{display:grid;gap:22px;width:min(1080px,100%);margin:0 auto;padding:clamp(20px,4vw,48px) 18px 64px}.leaderboard-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px;min-height:210px;padding:clamp(26px,5vw,52px);overflow:hidden;color:#fff;background:radial-gradient(circle at 88% 20%,rgba(234,76,137,.32),transparent 30%),linear-gradient(135deg,#242126,#3b2733);border-radius:28px;box-shadow:0 24px 64px #2f232a24}.leaderboard-hero-copy{display:flex;align-items:flex-start;gap:18px;max-width:650px}.leaderboard-hero h1{margin:4px 0 10px;color:#fff;font-size:clamp(34px,5vw,56px);line-height:1;letter-spacing:-.045em}.leaderboard-hero-copy>div>p:last-child{margin:0;max-width:560px;color:#ffffffb3;font-size:16px;line-height:1.55}.leaderboard-eyebrow{margin:0;color:#f8a7c6;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.leaderboard-icon{flex:none;width:48px;height:48px;display:grid;place-items:center;color:#fff;background:#ffffff1f;border:1px solid rgba(255,255,255,.14);border-radius:16px}.leaderboard-status{margin:0;padding:44px 22px;color:var(--muted);text-align:center;background:var(--card);border-radius:18px}.leaderboard-preview-note{width:max-content;margin:-8px 0 -10px;padding:6px 10px;color:var(--accent-dark);background:var(--accent-soft);border:1px solid var(--accent-border);border-radius:999px;font-size:12px;font-weight:750}.leaderboard-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--card);border-radius:18px}.leaderboard-summary>div{display:grid;gap:5px;padding:18px 22px}.leaderboard-summary>div+div{border-left:1px solid var(--line)}.leaderboard-summary span{color:var(--muted);font-size:12px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.leaderboard-summary strong{overflow:hidden;font-size:22px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.leaderboard-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.leaderboard-podium-card{position:relative;display:grid;gap:22px;min-height:240px;padding:22px;overflow:hidden;background:var(--card);border-radius:20px;box-shadow:0 12px 36px #372d230f}.leaderboard-podium-card.rank-1{color:#fff;background:linear-gradient(145deg,#b82e64,#7f244a)}.leaderboard-place{display:inline-flex;align-items:center;gap:7px;width:max-content;min-width:42px;padding:7px 10px;color:var(--accent-dark);background:var(--accent-soft);border-radius:999px;font-size:13px;font-weight:850}.rank-1 .leaderboard-place{color:#fff;background:#ffffff29}.leaderboard-creator{display:flex;align-items:center;gap:12px;min-width:0}.leaderboard-avatar{flex:none;width:42px;height:42px;display:grid;place-items:center;color:var(--accent-dark);background:var(--accent-soft);border-radius:50%;font-size:12px;font-weight:850;letter-spacing:.03em}.leaderboard-podium-card .leaderboard-avatar{width:54px;height:54px}.rank-1 .leaderboard-avatar{color:#fff;background:#ffffff29}.leaderboard-creator>span:last-child{min-width:0}.leaderboard-creator strong,.leaderboard-creator small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-creator strong{font-size:15px}.leaderboard-podium-card .leaderboard-creator strong{font-size:18px}.leaderboard-creator small{margin-top:3px;color:var(--muted);font-size:12px}.rank-1 .leaderboard-creator small{color:#ffffffa8}.leaderboard-podium-stats{align-self:end;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:17px;border-top:1px solid var(--line)}.rank-1 .leaderboard-podium-stats{border-color:#ffffff2e}.leaderboard-podium-stats div{display:grid;gap:3px}.leaderboard-podium-stats strong{font-size:18px;font-variant-numeric:tabular-nums}.leaderboard-podium-stats span{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase}.rank-1 .leaderboard-podium-stats span{color:#fff9}.leaderboard-list-section{overflow:hidden;background:var(--card);border-radius:20px}.leaderboard-list-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 24px 18px}.leaderboard-list-heading>div>span{color:var(--accent-dark);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.leaderboard-list-heading h2{margin:3px 0 0;font-size:24px;letter-spacing:-.025em}.leaderboard-list-heading p{display:flex;align-items:center;gap:6px;margin:0;color:var(--muted);font-size:13px}.leaderboard-list-heading p span{margin-left:-2px}.leaderboard-table-wrap{overflow-x:auto}.leaderboard-table{width:100%;border-collapse:collapse}.leaderboard-table th,.leaderboard-table td{padding:15px 24px;text-align:left;border-top:1px solid var(--line)}.leaderboard-table th{color:var(--muted);background:color-mix(in srgb,var(--paper) 65%,var(--card));font-size:12px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.leaderboard-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.leaderboard-rank{width:72px;font-variant-numeric:tabular-nums}.leaderboard-rank span{display:grid;place-items:center;width:32px;height:32px;color:var(--accent-dark);background:var(--accent-soft);border-radius:9px;font-weight:800}.leaderboard-join{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;background:color-mix(in srgb,var(--support-soft) 55%,var(--card));border-radius:18px}.leaderboard-join strong{display:block;margin-bottom:3px}.leaderboard-join p{margin:0;color:var(--muted);font-size:14px}.leaderboard-join a{display:inline-flex;flex:none;align-items:center;gap:7px;min-height:42px;padding:0 16px;color:var(--action-fg);background:var(--action-bg);border-radius:11px;font-size:13px;font-weight:750;text-decoration:none}.leaderboard-join a:hover{background:var(--action-hover)}@media(max-width:760px){.leaderboard-hero{align-items:stretch}.leaderboard-hero-copy{width:100%}.leaderboard-summary{grid-template-columns:1fr}.leaderboard-summary>div+div{border-top:1px solid var(--line);border-left:0}.leaderboard-podium{grid-template-columns:1fr}.leaderboard-podium-card{min-height:0}}@media(max-width:520px){.leaderboard-page{padding-inline:12px}.leaderboard-hero{padding:24px 20px;border-radius:22px}.leaderboard-icon{display:none}.leaderboard-table th,.leaderboard-table td{padding:13px 14px}.leaderboard-table th:nth-child(4),.leaderboard-table td:nth-child(4){display:none}.leaderboard-join{align-items:stretch;flex-direction:column}.leaderboard-join a{justify-content:center}}.leaderboard-page{gap:0;width:min(920px,100%);padding-top:clamp(34px,7vw,76px)}.leaderboard-header{margin-bottom:42px}.leaderboard-header>div{max-width:650px}.leaderboard-header h1{margin:7px 0 12px;font-size:clamp(36px,5vw,58px);line-height:1;letter-spacing:-.045em}.leaderboard-eyebrow{color:var(--accent)}.leaderboard-subtitle{max-width:560px;margin:0;color:var(--muted);font-size:16px;line-height:1.55}.leaderboard-preview-note{margin:0 0 22px;padding:0;color:var(--muted);background:transparent;border:0;border-radius:0;font-weight:650}.leaderboard-summary{display:flex;gap:clamp(34px,7vw,80px);margin:0 0 44px;background:transparent;border-radius:0}.leaderboard-summary>div{display:flex;flex-direction:column-reverse;gap:5px;padding:0}.leaderboard-summary>div+div{border:0}.leaderboard-summary dt{color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.leaderboard-summary dd{margin:0;color:var(--ink);font-size:28px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums}.leaderboard-ranking{margin-bottom:42px}.leaderboard-ranking-head{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:end;gap:24px;padding:0 18px 12px 72px;color:var(--muted)}.leaderboard-ranking-head h2{margin:0;color:var(--ink);font-size:18px;letter-spacing:-.015em}.leaderboard-ranking-head>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;text-align:right}.leaderboard-ranking-head span{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.leaderboard-ranking ol{margin:0;padding:0;list-style:none}.leaderboard-ranking li{display:grid;grid-template-columns:38px minmax(0,1fr) 137px 137px;align-items:center;gap:8px 16px;min-height:74px;padding:12px 18px;border-top:1px solid color-mix(in srgb,var(--line) 74%,transparent)}.leaderboard-ranking li:last-child{border-bottom:1px solid color-mix(in srgb,var(--line) 74%,transparent)}.leaderboard-ranking li.rank-1{background:color-mix(in srgb,var(--accent) 7%,transparent)}.leaderboard-ranking .leaderboard-rank{width:auto;color:var(--muted);font-size:15px;font-weight:700}.leaderboard-ranking li.rank-1 .leaderboard-rank{color:var(--accent)}.leaderboard-ranking .leaderboard-creator{display:block;min-width:0}.leaderboard-ranking .leaderboard-creator strong{display:block;overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.leaderboard-ranking .leaderboard-creator small{display:block;margin-top:2px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.leaderboard-value{text-align:right;font-variant-numeric:tabular-nums}.leaderboard-value strong{display:block;font-size:16px}.leaderboard-value span{display:none;color:var(--muted);font-size:12px}.leaderboard-join{padding:20px 0;background:transparent;border-radius:0}.leaderboard-join a{border-radius:8px}@media(max-width:700px){.leaderboard-header,.leaderboard-summary{margin-bottom:34px}.leaderboard-ranking-head{display:block;padding:0 0 10px}.leaderboard-ranking-head>div{display:none}.leaderboard-ranking li{grid-template-columns:28px minmax(0,1fr) auto;padding-inline:0}.leaderboard-ranking .leaderboard-value:last-child{display:none}.leaderboard-value span{display:block;margin-top:2px}}@media(max-width:640px){.growth-card{padding:16px}.invite-code strong{font-size:26px}.share-dialog{padding:16px}}.creator-launchpad-shell{min-height:100dvh;color:var(--ink);background:var(--paper)}.creator-launchpad-header{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:72px;padding:0 clamp(18px,4vw,56px);background:color-mix(in srgb,var(--paper) 88%,transparent);border:0;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.creator-launchpad-header>:last-child{justify-self:end}.creator-launchpad-back,.creator-launchpad-private{display:inline-flex;align-items:center;gap:8px;color:var(--muted)}.creator-launchpad-back{width:max-content;padding:9px 0;background:transparent;border:0}.creator-launchpad-private{font-size:13px;font-weight:700}.creator-launchpad{width:min(1120px,calc(100% - 36px));margin:0 auto;padding:clamp(48px,8vw,96px) 0 80px}.creator-launchpad-character-seed{width:min(860px,100%);display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start;gap:14px 16px;margin:0 auto 30px;padding:18px;background:var(--card);border-radius:20px}.creator-launchpad-character-seed-icon{width:48px;height:48px;overflow:hidden;display:grid;place-items:center;color:var(--ink);background:color-mix(in srgb,var(--ink) 8%,transparent);border-radius:14px}.creator-launchpad-character-seed-icon img{width:100%;height:100%;object-fit:cover}.creator-launchpad-character-seed>div{display:grid;gap:4px}.creator-launchpad-character-seed>div>strong{font-size:17px}.creator-launchpad-character-seed>div>small{color:var(--muted);font-size:14px;line-height:1.5}.creator-launchpad-character-seed fieldset{grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 0;padding:0;border:0}.creator-launchpad-character-seed legend{margin-bottom:8px;color:var(--muted);font-size:13px;font-weight:700}.creator-launchpad-character-seed fieldset button{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;padding:11px 13px;color:var(--ink);text-align:left;background:var(--paper);border:2px solid transparent;border-radius:13px}.creator-launchpad-character-seed fieldset button:hover{background:var(--card-hover)}.creator-launchpad-character-seed fieldset button.selected{border-color:var(--ink)}.creator-launchpad-character-seed fieldset button>span{display:grid;gap:3px}.creator-launchpad-character-seed fieldset button small{color:var(--muted)}.creator-launchpad-entry{width:min(860px,100%);margin:0 auto}.creator-launchpad-entry h1{margin:0;font-size:clamp(38px,5vw,58px);line-height:1.02;letter-spacing:-.045em}.creator-launchpad-entry>p{max-width:650px;margin:16px 0 26px;color:var(--muted);font-size:17px;line-height:1.55}.creator-guided-start{width:100%;min-height:112px;display:grid;grid-template-columns:48px minmax(0,1fr) 24px;align-items:center;gap:16px;padding:20px 24px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:20px}.creator-guided-start:hover{background:var(--card-hover)}.creator-guided-icon{width:48px;height:48px;display:grid;place-items:center;color:var(--ink);background:color-mix(in srgb,var(--ink) 8%,transparent);border-radius:50%}.creator-guided-start>span:nth-child(2){display:grid;gap:5px}.creator-guided-start strong{font-size:18px}.creator-guided-start small{color:var(--muted);font-size:14px}.creator-character-start{margin-top:10px;overflow:hidden;background:var(--card);border-radius:20px}.creator-character-start-trigger{width:100%;min-height:96px;display:grid;grid-template-columns:48px minmax(0,1fr) 24px;align-items:center;gap:16px;padding:17px 24px;color:var(--ink);text-align:left;background:transparent;border:0}.creator-character-start-trigger:hover{background:var(--card-hover)}.creator-character-start-trigger>span:nth-child(2){display:grid;gap:5px}.creator-character-start-trigger strong{font-size:18px}.creator-character-start-trigger small{color:var(--muted);font-size:14px}.creator-character-start-trigger>svg{color:var(--muted);transition:transform .16s ease}.creator-character-start-trigger>svg.open{transform:rotate(90deg)}.creator-character-start-list{display:grid;gap:4px;padding:0 8px 8px}.creator-character-start-list>button{min-height:68px;display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:10px 12px;color:var(--ink);text-align:left;background:transparent;border:0;border-radius:12px}.creator-character-start-list>button:hover{background:var(--card-hover)}.creator-character-start-list>button>span:first-child{width:48px;height:48px;overflow:hidden;display:grid;place-items:center;color:var(--muted);background:var(--paper);border-radius:12px}.creator-character-start-list img{width:100%;height:100%;object-fit:cover}.creator-character-start-list>button>span:nth-child(2){min-width:0;display:grid;gap:3px}.creator-character-start-list small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.creator-character-start-list>button>svg{color:var(--muted)}.creator-character-start-empty{margin:0;padding:16px 14px 18px;color:var(--muted);font-size:14px;line-height:1.5}.creator-launchpad-hero{width:min(780px,100%);margin:0 auto;text-align:center}.creator-change-start{display:inline-flex;align-items:center;gap:6px;margin-bottom:24px;padding:8px 10px;color:var(--muted);background:transparent;border:0;border-radius:9px;font-size:13px}.creator-change-start:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 7%,transparent)}.creator-launchpad-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:18px;color:var(--accent-dark);font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.creator-launchpad-hero h1{max-width:720px;margin:0;color:var(--ink);font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.creator-launchpad-hero>p{max-width:650px;margin:10px 0 30px;color:var(--muted);font-size:14px;line-height:1.6}.creator-idea-field{display:block;padding:12px;text-align:left;background:var(--card);border:0;border-radius:20px;box-shadow:none;transition:background-color .18s ease}.creator-idea-field:focus-within{background:color-mix(in srgb,var(--card) 92%,var(--accent));box-shadow:none}.creator-idea-field>span:first-child{display:block;padding:5px 8px 3px;color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.creator-idea-field textarea{box-sizing:border-box;width:100%;min-height:170px;padding:13px 8px;resize:vertical;color:var(--ink);background:transparent;border:0;outline:0;font:inherit;font-size:19px;line-height:1.55}.creator-idea-field textarea::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.creator-template-notice{display:block;padding:0 8px 8px;color:var(--muted);font-size:14px;font-weight:650}.creator-idea-field>.creator-idea-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:5px 4px 3px 8px;color:var(--muted);letter-spacing:0;text-transform:none}.creator-idea-footer small{color:var(--muted);font-size:13px}.creator-idea-footer .creator-build-story{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 17px}.creator-spark-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px;text-align:left}.creator-spark-details label,.creator-spark-optional label{display:grid;gap:7px;color:var(--ink);font-size:14px;font-weight:750}.creator-spark-details label>span,.creator-spark-optional label>span{display:flex;justify-content:space-between;gap:8px}.creator-spark-details small,.creator-spark-tones small{color:var(--muted);font:inherit;font-weight:500}.creator-spark-details input,.creator-spark-optional :is(select,textarea){box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;color:var(--ink);background:var(--card);border:0;border-radius:14px;font:inherit}.creator-spark-tones{margin:22px 0 0;padding:0;text-align:left;border:0}.creator-spark-tones legend{display:flex;align-items:baseline;gap:7px;margin-bottom:10px;color:var(--ink);font-size:14px;font-weight:750}.creator-spark-tones>div{display:flex;flex-wrap:wrap;gap:8px}.creator-spark-tones button{min-height:38px;padding:0 14px;color:var(--muted);background:var(--card);border:0;border-radius:999px}.creator-spark-tones button.active{color:var(--accent-dark);background:color-mix(in srgb,var(--accent) 16%,var(--card));border:0}.creator-spark-details input:focus,.creator-spark-optional :is(select,textarea):focus{background:color-mix(in srgb,var(--card) 92%,var(--accent));border:0}.creator-spark-optional{margin-top:18px;text-align:left}.creator-spark-optional summary{width:max-content;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer}.creator-spark-optional>div{display:grid;grid-template-columns:minmax(160px,.45fr) 1fr;gap:10px;margin-top:12px}.creator-spark-optional textarea{min-height:78px;resize:vertical}.creator-launchpad-starters{margin-top:clamp(64px,10vw,104px)}.creator-launchpad-entry+.creator-launchpad-starters{width:min(860px,100%);margin:46px auto 0}.creator-launchpad-starters>div:first-child,.creator-launchpad-blueprints>div:first-child{margin-bottom:22px}.creator-launchpad-blueprints>div:first-child>span{display:flex;align-items:center;gap:7px;color:var(--accent-dark);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.creator-launchpad-starters h2,.creator-launchpad-blueprints h2{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.03em}.creator-launchpad-starters>div:first-child>p{margin:8px 0 0;color:var(--muted)}.creator-starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.creator-starter-grid button{display:flex;flex-direction:column;align-items:flex-start;min-height:330px;padding:14px;overflow:hidden;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:20px;transition:background-color .16s ease}.creator-starter-grid button.selected{box-shadow:inset 0 0 0 2px var(--accent)}.creator-template-art{position:relative;width:100%;height:142px;display:grid;place-items:center;margin-bottom:17px;overflow:hidden;color:#ffffffe6;background:#303239;border-radius:14px}.creator-template-art:before,.creator-template-art:after{content:"";position:absolute;border-radius:50%;filter:blur(1px)}.creator-template-art:before{width:150px;height:150px;right:-38px;bottom:-80px;background:#ffffff1f}.creator-template-art:after{width:90px;height:90px;top:-48px;left:-20px;background:#ffffff14}.creator-template-art>svg{position:relative;z-index:1}.creator-template-slow-burn .creator-template-art{background:#56303f}.creator-template-found-family .creator-template-art{background:#554531}.creator-template-mystery .creator-template-art{background:#2e414f}.creator-template-dangerous-journey .creator-template-art{background:#40395a}.creator-template-comfort .creator-template-art{background:#46503d}.creator-template-forbidden-power .creator-template-art{background:#5b352e}.creator-starter-grid strong{font-size:17px}.creator-template-summary{margin-top:12px;color:var(--muted);font-size:14px;line-height:1.55}.creator-template-meta{width:100%;display:flex;flex-wrap:wrap;gap:6px;margin-top:14px!important}.creator-template-meta small{padding:5px 8px;color:var(--muted);background:color-mix(in srgb,var(--ink) 7%,transparent);border-radius:999px;font-size:13px;font-style:normal;font-weight:700}.creator-starter-grid em{display:inline-flex;align-items:center;gap:5px;margin-top:auto;padding-top:16px;color:var(--ink);font-size:13px;font-style:normal;font-weight:750}.creator-launchpad-blank{display:grid;grid-template-columns:minmax(220px,.75fr) 1.25fr;align-items:center;gap:32px;margin-top:72px;padding-top:40px;border-top:1px solid var(--line)}.creator-launchpad-starters+.creator-launchpad-blank{width:min(860px,100%);margin-right:auto;margin-left:auto}.creator-launchpad-blank h2{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.03em}.creator-launchpad-blank p{margin:8px 0 0;color:var(--muted);line-height:1.55}.creator-launchpad-blank>button{min-height:96px;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:14px;padding:18px 22px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:20px}.creator-launchpad-blank>button:hover{background:var(--card-hover)}.creator-launchpad-blank>button>svg:first-child{width:42px;height:42px;padding:10px;box-sizing:border-box;color:var(--muted);background:color-mix(in srgb,var(--ink) 8%,transparent);border-radius:50%}.creator-launchpad-blank>button>span{display:grid;gap:4px}.creator-launchpad-blank>button strong{font-size:17px}.creator-launchpad-blank>button small{color:var(--muted);font-size:14px}.creator-launchpad-blueprints{display:grid;grid-template-columns:minmax(210px,.65fr) 1.35fr;gap:32px;margin-top:72px;padding-top:40px;border-top:1px solid var(--line)}.creator-launchpad-blueprints>div:first-child p{color:var(--muted);line-height:1.55}.creator-launchpad-blueprints>div:last-child{display:grid;gap:10px}.creator-launchpad-blueprints article{padding:17px 18px;background:var(--card);border:1px solid var(--line);border-radius:16px}.creator-launchpad-blueprints article>p{margin:6px 0 14px;color:var(--muted);font-size:14px;line-height:1.5}.creator-launchpad-blueprints dl,.creator-preview-meta,.creator-studio-stats{display:flex;flex-wrap:wrap;gap:8px;margin:0}.creator-launchpad-blueprints dl>div,.creator-preview-meta>div,.creator-studio-stats>div{min-width:92px;padding:8px 10px;background:color-mix(in srgb,var(--accent) 6%,var(--paper));border-radius:10px}.creator-launchpad-blueprints dt,.creator-preview-meta dt,.creator-studio-stats dt{color:var(--muted);font-size:13px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.creator-launchpad-blueprints dd,.creator-preview-meta dd,.creator-studio-stats dd{display:flex;align-items:center;gap:5px;margin:3px 0 0;font-size:13px;font-weight:750}@media(min-width:768px)and (max-width:1100px){.creator-launchpad{width:min(100% - 32px,720px);padding-top:52px}.creator-spark-details{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.creator-launchpad-header{grid-template-columns:1fr auto;min-height:62px;padding:0 16px}.creator-launchpad-header>.brand,.creator-launchpad-private{display:none}.creator-launchpad{width:min(100% - 28px,620px);padding-top:42px}.creator-launchpad-hero{text-align:left}.creator-launchpad-entry h1{font-size:clamp(36px,11vw,50px)}.creator-guided-start{grid-template-columns:42px minmax(0,1fr) 20px;min-height:104px;padding:17px}.creator-guided-icon{width:42px;height:42px}.creator-launchpad-character-seed{grid-template-columns:42px minmax(0,1fr);padding:15px}.creator-launchpad-character-seed-icon{width:42px;height:42px}.creator-launchpad-character-seed fieldset{grid-column:1 / -1;grid-template-columns:1fr}.creator-character-start-trigger{grid-template-columns:42px minmax(0,1fr) 20px;padding:15px 17px}.creator-launchpad-hero h1{margin:0;font-size:clamp(38px,12vw,54px)}.creator-launchpad-hero>p{margin-inline:0}.creator-idea-field textarea{min-height:190px;font-size:17px}.creator-idea-field>.creator-idea-footer{align-items:stretch;flex-direction:column}.creator-idea-footer .creator-build-story{width:100%}.creator-spark-details,.creator-spark-optional>div{grid-template-columns:1fr}.creator-starter-grid{grid-template-columns:1fr}.creator-starter-grid button{min-height:300px}.creator-launchpad-blank{grid-template-columns:1fr;gap:18px}.creator-launchpad-blueprints{grid-template-columns:1fr;gap:10px}}.creator-launchpad-header{position:sticky;z-index:20;top:0;min-height:76px;display:flex;align-items:center;gap:16px;padding:12px clamp(16px,3vw,48px);background:var(--paper);border-bottom:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none}.creator-launchpad-header>:last-child{justify-self:auto}.creator-launchpad-back{min-width:0;min-height:44px;display:flex;align-items:center;gap:7px;padding:0;color:var(--ink);background:transparent;border:0;font:inherit;font-size:20px;font-weight:760}.creator-launchpad-back:hover{color:var(--ink);background:transparent}.creator-launchpad-document-title{max-width:min(42vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator-launchpad-view-back{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;padding:0;color:var(--muted);background:transparent;border:0;border-radius:12px}.creator-launchpad-view-back:hover{color:var(--ink);background:var(--card-hover)}.creator-launchpad-header>strong{color:var(--ink);font-size:20px;font-weight:500}.creator-launchpad{box-sizing:border-box;width:min(calc(100% - 48px),760px);margin:0 auto;padding:48px 0 96px}.creator-launchpad.opening{padding-top:clamp(120px,17vh,220px)}.creator-launchpad-entry,.creator-launchpad-character-seed,.creator-launchpad-hero,.creator-launchpad-selection-page,.creator-launchpad-starters.standalone{box-sizing:border-box;width:100%;margin-right:auto;margin-left:auto}.creator-launchpad-entry{text-align:center}.creator-launchpad-entry h1{margin:0;font-size:clamp(27px,2vw,31px);font-weight:500;line-height:1.2;letter-spacing:-.025em}.creator-launchpad-entry>p{max-width:650px;margin:22px auto 0;color:var(--ink);font-size:clamp(16px,1.2vw,18px);font-weight:500;line-height:1.5}.creator-launchpad-tips{position:relative;min-height:106px;display:flex;align-items:center;margin-top:38px;padding:20px;overflow:hidden;color:var(--ink);text-align:left;background:var(--card);border-radius:14px}.creator-launchpad-tips strong{position:relative;z-index:2;font-size:17px;font-weight:550}.creator-launchpad-tips img{position:absolute;right:28px;bottom:-52px;width:116px;height:155px;object-fit:cover;border-radius:12px;transform:rotate(-4deg);opacity:.92}.creator-launchpad-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px;text-align:left}.creator-guided-start,.creator-character-start-trigger{width:100%;min-height:338px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:20px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:14px}.creator-guided-start:hover,.creator-character-start-trigger:hover{background:var(--card-hover)}.creator-guided-icon{width:52px;height:52px;display:grid;place-items:center;margin-top:76px;color:var(--muted);background:var(--card-hover);border-radius:50%}.creator-guided-icon>svg{width:22px;height:22px}.creator-guided-start>span:nth-child(2),.creator-character-start-trigger>span:nth-child(2){display:grid;gap:18px}.creator-guided-start strong,.creator-character-start-trigger strong{font-size:18px;font-weight:550}.creator-guided-start small,.creator-character-start-trigger small{max-width:280px;color:var(--muted);font-size:17px;line-height:1.5}.creator-launchpad-selection-page,.creator-launchpad-starters.standalone{padding:0;background:transparent}.creator-launchpad-selection-page>header,.creator-launchpad-starters.standalone>div:first-child{width:100%;max-width:none;margin:0 0 56px}.creator-launchpad-selection-page h1,.creator-launchpad-starters.standalone h1{margin:0;font-size:clamp(36px,4vw,48px);font-weight:500;line-height:1.15;letter-spacing:-.035em}.creator-launchpad-selection-page>header p,.creator-launchpad-starters.standalone>div:first-child>p{width:100%;max-width:none;margin:30px 0 0;color:var(--ink);font-size:clamp(19px,2vw,27px);font-weight:500;line-height:1.5}.creator-launchpad-selection-page .creator-character-start-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0}.creator-launchpad-selection-page .creator-character-start-list>button{min-height:92px;padding:12px;background:var(--card);border-radius:16px}.creator-launchpad-selection-page .creator-character-start-list>button:hover{background:var(--card-hover)}.creator-launchpad-starters.standalone{margin-top:0}.creator-starter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.creator-starter-grid button{position:relative;min-height:342px;display:flex;flex-direction:column;align-items:flex-start;padding:54px 20px 20px;overflow:hidden;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:16px;transition:background-color .16s ease}.creator-starter-grid button:hover{background:var(--card-hover)}.creator-starter-grid button.selected{box-shadow:inset 0 0 0 2px var(--ink)}.creator-template-art{position:absolute;right:-2px;bottom:-2px;width:60%;height:52%;display:grid;place-items:center;overflow:hidden;color:var(--ink);background:var(--paper);border-radius:16px 0;transform:rotate(-2deg);transform-origin:bottom right}.creator-template-art:before,.creator-template-art:after{content:none}.creator-template-art>img{width:100%;height:100%;display:block;object-fit:cover;opacity:.94}.creator-starter-blank{padding-top:20px!important}.creator-starter-blank .creator-template-art{position:static;width:52px;height:52px;margin:76px 0 0;color:var(--muted);background:var(--card-hover);border-radius:50%;transform:none}.creator-starter-blank>strong{margin-top:42px}.creator-starter-grid strong{position:relative;z-index:2;max-width:90%;font-size:25px;font-weight:500;line-height:1.35}.creator-template-summary{position:relative;z-index:2;max-width:88%;margin-top:12px;color:var(--muted);font-size:19px;line-height:1.55}.creator-template-meta{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:10px;margin-top:12px!important}.creator-template-meta small{padding:0;color:var(--muted);background:transparent;border-radius:0;font-size:20px;font-style:normal;font-weight:500}.creator-launchpad-select{position:relative;display:grid;gap:7px}.creator-launchpad-select>label{color:var(--ink);font-size:14px;font-weight:750}.creator-launchpad-select-trigger{width:100%;min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:12px;padding:0 14px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:14px;font:inherit}.creator-launchpad-select-trigger svg{width:17px;color:var(--muted);transition:transform .16s ease}.creator-launchpad-select-menu{position:absolute;z-index:20;top:calc(100% + 8px);right:0;left:0;display:grid;gap:4px;padding:8px;background:var(--card);border-radius:18px;box-shadow:0 20px 52px #00000061}.creator-launchpad-select-menu>button{min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);text-align:left;background:transparent;border:0;border-radius:11px;font:inherit}.creator-launchpad-header>strong{font-size:20px;font-weight:760}.creator-launchpad-entry h1,.creator-launchpad-hero h1,.creator-launchpad-selection-page h1,.creator-launchpad-starters.standalone h1{max-width:100%;font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.creator-launchpad-entry>p,.creator-launchpad-hero>p,.creator-launchpad-selection-page>header p,.creator-launchpad-starters.standalone>div:first-child>p{max-width:650px;color:var(--muted);font-size:14px;font-weight:400;line-height:1.6}.creator-launchpad-tips strong,.creator-launchpad-character-seed>div>strong{font-size:14px;font-weight:600}.creator-launchpad-character-seed>div>small{font-size:14px;font-weight:400;line-height:1.5}.creator-guided-start strong,.creator-character-start-trigger strong{font-size:18px;font-weight:650;line-height:1.35}.creator-guided-start small,.creator-character-start-trigger small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.creator-launchpad-selection-page .creator-character-start-list strong{font-size:14px;font-weight:600;line-height:1.35}.creator-launchpad-selection-page .creator-character-start-list small{font-size:13px;font-weight:400;line-height:1.45}.creator-starter-grid strong{font-size:14px;font-weight:650;line-height:1.3}.creator-template-summary{font-size:14px;font-weight:400;line-height:1.55}.creator-template-meta small{font-size:13px;font-weight:500;line-height:1.35}.creator-idea-field>span:first-child{color:var(--ink);font-size:14px;font-weight:600;letter-spacing:0;text-transform:none}.creator-idea-field textarea,.creator-spark-details input,.creator-spark-optional textarea,.creator-launchpad-select-trigger,.creator-launchpad-select-menu>button{font-size:15px;font-weight:400;line-height:1.55}.creator-spark-details label,.creator-spark-optional label,.creator-spark-tones legend,.creator-launchpad-select>label{font-size:14px;font-weight:600}.creator-spark-details small,.creator-spark-tones small{font-size:14px;font-weight:400}.creator-spark-tones button,.creator-spark-optional summary,.creator-build-story{font-size:14px;font-weight:600}.creator-idea-field:focus-within{background:var(--card);outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}.creator-spark-details input:focus,.creator-spark-optional :is(textarea,select):focus,.creator-launchpad-select-trigger:focus-visible{color:var(--ink);background:var(--card);border:0;outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}.creator-idea-field textarea::placeholder,.creator-spark-details input::placeholder,.creator-spark-optional textarea::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.creator-spark-tones button.active{color:var(--ink);background:var(--card-hover);border:0;box-shadow:none}@media(max-width:700px){.creator-launchpad-header{min-height:76px;gap:4px;padding:0 14px}.creator-launchpad-document-title{max-width:calc(100vw - 92px);font-size:16px}.creator-launchpad-header>strong{max-width:calc(100vw - 124px);overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.creator-launchpad{width:min(calc(100% - 28px),760px);padding-top:32px}.creator-launchpad.opening{padding-top:52px}.creator-launchpad-entry>p{margin-top:20px}.creator-launchpad-tips{min-height:96px;margin-top:32px;padding:18px}.creator-launchpad-tips strong{max-width:58%}.creator-launchpad-tips img{right:16px;bottom:-54px;width:112px;height:150px}.creator-launchpad-paths{grid-template-columns:1fr;gap:14px;margin-top:18px}.creator-guided-start,.creator-character-start-trigger{min-height:260px;padding:20px}.creator-guided-icon{width:48px;height:48px;margin-top:42px}.creator-launchpad-selection-page>header,.creator-launchpad-starters.standalone>div:first-child{margin-bottom:34px}.creator-launchpad-selection-page>header p,.creator-launchpad-starters.standalone>div:first-child>p{margin-top:18px}.creator-launchpad-selection-page .creator-character-start-list,.creator-starter-grid{grid-template-columns:1fr}.creator-starter-grid button{min-height:360px}}html[lang=en] .app-shell.view-chats .chats-shell,html[lang=en] .app-shell.view-chat .chat-panel,html[lang=en] .app-shell.view-chat .composer{font-family:var(--font-chat)}.character-studio-shell{min-height:100%;background:var(--paper);color:var(--ink)}.character-studio-shell :focus-visible{outline:2px solid var(--accent-solid);outline-offset:3px}.character-studio-header{position:sticky;z-index:24;top:0;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(24px,calc((100% - 760px)/2));background:var(--paper);border-bottom:1px solid var(--line)}.character-studio-header>button{min-width:0;min-height:44px;display:flex;align-items:center;gap:7px;padding:0;color:var(--ink);background:transparent;border:0;font:inherit;font-size:20px;font-weight:760}.character-studio-header>button:hover{color:var(--ink)}.character-studio-document-title{max-width:min(42vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-studio{width:min(calc(100% - 48px),760px);display:grid;gap:28px;margin:0 auto;padding:48px 0 148px}.character-studio-heading h1{margin:0;color:var(--ink);font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.character-studio-heading p{max-width:650px;margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.6}.character-studio-shell .character-studio-heading{min-height:104px;display:grid;align-content:center;padding:clamp(16px,2.2vw,22px) clamp(20px,2.6vw,26px);background:var(--card) url(/images/product/character-banner.webp) right center / cover no-repeat;border-radius:var(--radius-banner)}.character-studio-shell .character-studio-heading h1{max-width:55%;font-size:clamp(24px,2.6vw,30px)}.character-studio-shell .character-studio-heading p{max-width:55%;margin:6px 0 0}.character-editor-essentials{gap:18px}.character-studio-shell .studio-image-style-picker{min-width:0;display:grid;gap:14px}.character-studio-shell .studio-shared-style-picker>header{display:grid;gap:6px}.character-studio-shell .studio-shared-style-picker>header h2{margin:0;color:var(--ink);font-size:14px;font-weight:600}.character-studio-shell .studio-shared-style-picker>header p{max-width:620px;margin:0;color:var(--muted);font-size:14px;line-height:1.5}.character-studio-shell .studio-image-style-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.character-studio-shell .studio-image-style-picker button{position:relative;min-width:0;aspect-ratio:3 / 4;display:block;overflow:hidden;padding:0;color:#fff;background:var(--card);border:0;border-radius:16px;font:inherit;font-size:14px;font-weight:650;line-height:1.3;text-align:left}.character-studio-shell .studio-image-style-picker button:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(to top,#07080beb,#07080b7a 30%,#07080b00 62%)}.character-studio-shell .studio-image-style-picker button:hover:not(:disabled) img{transform:scale(1.025)}.character-studio-shell .studio-image-style-picker button.selected{box-shadow:0 0 0 2px var(--ink)}.character-studio-shell .studio-image-style-picker button img{width:100%;height:100%;display:block;object-fit:cover;transition:transform var(--motion-fast) var(--ease-out)}.character-studio-shell .studio-image-style-picker button>span{position:absolute;right:14px;bottom:14px;left:14px;z-index:2;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.72)}.character-studio-shell .studio-image-style-picker button>svg{position:absolute;top:13px;right:13px;z-index:2;width:18px;height:18px;padding:4px;color:var(--paper);background:var(--ink);border-radius:50%}.character-editor-grid{min-width:0;display:grid;gap:34px}.character-editor-portrait{width:100%;display:grid;justify-items:stretch;gap:10px;padding:0 0 12px}.character-portrait-section-head{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.character-portrait-section-head>div{width:100%;min-width:0;display:grid;gap:5px}.character-portrait-title-row{width:100%;display:flex;align-items:baseline;justify-content:space-between;gap:10px}.character-editor-portrait-label{width:100%;margin:0;color:var(--ink);font-size:18px;font-weight:650;line-height:1.35}.character-editor-portrait-guidance{width:100%;max-width:620px;margin:0;color:var(--muted);font-size:13px;line-height:1.5}.character-editor-upload-spinner{width:21px;height:21px;border:2px solid color-mix(in srgb,currentColor 30%,transparent);border-top-color:currentColor;border-radius:50%;animation:wizard-spin .8s linear infinite}.character-portrait-creator{width:100%;box-sizing:border-box;display:grid;gap:18px;padding:8px 0 2px}.character-portrait-creator>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.character-portrait-creator>header>div{display:grid;gap:4px}.character-portrait-creator>header h3{margin:0;color:var(--ink);font-size:17px;font-weight:650}.character-portrait-creator>header p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.character-portrait-creator>header>button{width:32px;height:32px;flex:0 0 auto;display:grid;place-items:center;padding:0;color:var(--muted);background:var(--card);border:0;border-radius:50%}.character-portrait-creator>header>button:hover{color:var(--ink);background:var(--card-hover)}.character-portrait-creator>header>button svg{width:16px}.character-editor-portrait-preview{position:relative;width:190px;aspect-ratio:3 / 4;overflow:hidden;background:var(--card);border-radius:16px}.character-editor-portrait-preview>img{width:100%;height:100%;display:block;object-fit:cover;opacity:.22}.character-editor-portrait-preview.has-image>img{opacity:1}.character-editor-portrait-preview.generating>img{opacity:.3}.character-editor-portrait-preview>i{position:absolute;top:8px;left:8px;padding:4px 6px;color:var(--paper);background:var(--ink);border-radius:6px;font-size:12px;font-style:normal;font-weight:600;letter-spacing:.04em}.character-editor-portrait-progress{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-content:center;justify-items:center;gap:9px;color:var(--ink);background:#17181c8c}.character-editor-portrait-progress>span{width:22px;height:22px;border:2px solid color-mix(in srgb,currentColor 30%,transparent);border-top-color:currentColor;border-radius:50%;animation:wizard-spin .8s linear infinite}.character-editor-portrait-progress>strong{font-size:13px;font-weight:600}.character-portrait-generation-controls{min-width:0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:stretch;gap:16px}.character-portrait-generation-controls>.studio-portrait-specifics,.character-portrait-generation-controls>.studio-image-flow-note{grid-column:1 / -1}.character-portrait-generation-footer{min-width:0;display:grid;justify-items:start;gap:10px}.character-portrait-generation-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.character-portrait-generation-actions>.character-editor-generate-image,.character-portrait-generation-actions>.character-editor-upload-image{width:auto}.character-editor-generate-image,.character-editor-upload-image{position:relative;width:100%;min-width:0;min-height:var(--button-height);display:inline-flex;align-items:center;justify-content:center;gap:8px;overflow:hidden;padding:0 var(--button-padding);border-radius:var(--radius-pill);font:inherit;font-size:var(--type-control);font-weight:650;line-height:1;text-align:center;cursor:pointer}.character-editor-upload-image{color:var(--ink);background:var(--control-outline-bg);border:0}.character-editor-upload-image:not([aria-disabled=true]):hover{background:var(--control-outline-bg-hover)}.character-editor-generate-image:disabled,.character-editor-upload-image[aria-disabled=true]{cursor:not-allowed;opacity:.5}.character-editor-generate-image>svg,.character-editor-upload-image>svg{width:18px;height:18px;flex:0 0 auto}.character-editor-generate-label{white-space:nowrap}.character-editor-generate-price{min-height:28px;display:inline-flex;align-items:center;gap:5px;margin-left:4px;padding:0 10px;color:currentColor;background:color-mix(in srgb,currentColor 10%,transparent);border-radius:var(--radius-pill);font-size:13px;font-weight:700;white-space:nowrap}.character-editor-generate-price>svg{width:14px;height:14px;stroke-width:2.2}.character-editor-generate-price.included{font-weight:650}.character-editor-generate-image .studio-field-generate-icon{width:18px;height:18px;display:block;flex:0 0 auto;background:currentColor;-webkit-mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat;mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat;transform-origin:center}.character-editor-generate-image:hover:not(:disabled) .studio-field-generate-icon,.character-editor-generate-image:focus-visible .studio-field-generate-icon{animation:character-portrait-sparkle .5s ease-out}.studio-image-flow footer .studio-field-generate-icon{width:18px;height:18px;display:block;background:currentColor;-webkit-mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat;mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat}.character-editor-upload-image input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}@keyframes character-portrait-sparkle{0%{transform:scale(1) rotate(0)}45%{transform:scale(1.18) rotate(-8deg)}to{transform:scale(1) rotate(0)}}@media(prefers-reduced-motion:reduce){.character-editor-generate-image:hover:not(:disabled) .studio-field-generate-icon,.character-editor-generate-image:focus-visible .studio-field-generate-icon{animation:none}}.character-editor-portrait-note{max-width:100%;color:var(--muted);font-size:14px;line-height:1.5;text-align:left}.character-portrait-reference{min-width:0;display:grid;align-content:start;gap:8px}.character-portrait-reference>span{color:var(--ink);font-size:14px;font-weight:600}.character-portrait-reference>div{min-height:52px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;padding:6px 10px;color:var(--muted);background:var(--card);border-radius:14px}.character-portrait-reference>div>img{width:28px;aspect-ratio:3 / 4;object-fit:cover;border-radius:6px}.character-portrait-reference>div>svg{width:18px;justify-self:center}.character-portrait-reference>div>strong{overflow:hidden;color:var(--ink);font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.character-portrait-reference:not(.has-reference)>div{grid-template-columns:24px minmax(0,1fr)}.character-portrait-reference button{width:32px;height:32px;display:grid;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.character-portrait-reference button:hover{color:var(--ink);background:var(--card-hover)}.character-portrait-reference button svg{width:16px}.character-portrait-generator{position:fixed;z-index:170;inset:0 0 0 auto;width:clamp(400px,30vw,460px);min-width:400px;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;color:var(--ink);background:var(--paper);box-shadow:-20px 0 60px #00000052;animation:character-portrait-generator-enter .24s var(--ease-out) both}@keyframes character-portrait-generator-enter{0%{opacity:0;transform:translate(28px)}to{opacity:1;transform:translate(0)}}.character-portrait-generator>header{min-height:76px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 20px}.character-portrait-generator>header>div{min-width:0;display:grid;gap:3px}.character-portrait-generator>header h2{overflow:hidden;margin:0;color:var(--ink);font-size:18px;font-weight:650;letter-spacing:-.015em;text-overflow:ellipsis;white-space:nowrap}.character-portrait-generator>header p{overflow:hidden;margin:0;color:var(--muted);font-size:12px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.character-portrait-generator>header>button{width:38px;height:38px;flex:0 0 auto;display:grid;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:11px}.character-portrait-generator>header>button:hover{color:var(--ink);background:var(--card-hover)}.character-portrait-generator>header svg{width:18px;height:18px}.character-portrait-generator-scroll{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:22px;overflow-x:hidden;overflow-y:auto;padding:20px 20px 52px;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block:20px 52px;-webkit-overflow-scrolling:touch}.character-portrait-generator-scroll>*{flex:0 0 auto}.character-portrait-mobile-manager{display:none}.character-portrait-generator-history{min-width:0;display:grid;gap:12px}.character-portrait-generator-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.character-portrait-generator-history>header strong{color:var(--ink);font-size:14px;font-weight:650}.character-portrait-generator-history>header small{min-width:24px;height:22px;display:grid;place-items:center;padding:0 6px;color:var(--muted);background:var(--card);border-radius:var(--radius-pill);font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.character-portrait-library-filter{width:fit-content;display:grid;grid-auto-flow:column;gap:3px;padding:4px;background:var(--card);border-radius:13px}.character-portrait-library-filter>button{min-height:36px;padding:0 13px;color:var(--muted);background:transparent;border:0;border-radius:9px;font:inherit;font-size:12px;font-weight:650;white-space:nowrap}.character-portrait-library-filter>button:hover{color:var(--ink);background:var(--card-hover)}.character-portrait-library-filter>button[aria-pressed=true]{color:var(--ink);background:var(--card-hover)}.character-portrait-library-filter>button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.character-portrait-library-error{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px;color:var(--muted);background:var(--card);border-radius:11px;font-size:12px}.character-portrait-library-error>button{min-height:30px;padding:0 10px;color:var(--ink);background:var(--card-hover);border:0;border-radius:8px;font:inherit;font-weight:650}.character-portrait-library-error>button:hover{background:color-mix(in srgb,var(--ink) 12%,var(--card))}.character-portrait-generator-history>p{margin:0;padding:18px;color:var(--muted);background:var(--card);border-radius:14px;font-size:13px;line-height:1.45;text-align:center}.character-portrait-generator-history-grid{min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px}.character-portrait-generator-history-grid>article{position:relative;min-width:0}.character-portrait-generator-history-grid>article>div:first-child{position:relative;aspect-ratio:3 / 4;overflow:hidden;background:var(--card);border-radius:14px}.character-portrait-generator-history-grid img{width:100%;height:100%;display:block;object-fit:cover}.character-portrait-generator-history-grid article small{position:absolute;top:8px;left:8px;padding:4px 7px;color:#17181c;background:#fafafcf0;border-radius:var(--radius-pill);box-shadow:0 2px 8px #0000002e;font-size:12px;font-weight:700}.character-portrait-generator-history-loading{aspect-ratio:3 / 4;display:grid;place-content:center;justify-items:center;gap:10px;padding:16px;color:var(--muted);background:var(--card);border-radius:14px;text-align:center}.character-portrait-generator-history-loading>span,.character-portrait-generator-history-more>span{width:22px;height:22px;border:2px solid color-mix(in srgb,currentColor 28%,transparent);border-top-color:currentColor;border-radius:50%;animation:wizard-spin .8s linear infinite}.character-portrait-generator-history-loading>strong{font-size:12px;font-weight:650}.character-portrait-generator-history-more{min-height:48px;display:grid;place-items:center;color:var(--muted)}.character-portrait-generator .character-portrait-generation-controls{display:flex;flex-direction:column;align-items:stretch;gap:20px}.character-portrait-generator .character-portrait-generation-controls>*{flex:0 0 auto}.character-studio-shell .character-portrait-generator .studio-portrait-style-trigger,.character-studio-shell .character-portrait-generator .studio-portrait-specifics textarea,.character-studio-shell .character-portrait-generator .character-portrait-reference>div{background:var(--card)}.character-studio-shell .character-portrait-generator .studio-portrait-style-trigger:hover{background:var(--card-hover)}.character-studio-shell .character-portrait-generator .studio-portrait-style-menu{background:var(--card)}.character-studio-shell .character-portrait-generator .studio-portrait-specifics{display:grid;grid-template-rows:auto 112px auto;align-items:stretch;gap:8px}.character-studio-shell .character-portrait-generator .studio-portrait-specifics textarea{flex:0 0 112px;height:112px;min-height:112px;max-height:112px;overflow-x:hidden;overflow-y:auto;resize:none;scrollbar-gutter:stable;overscroll-behavior:contain}.character-studio-shell .character-portrait-generator .character-portrait-appearance{grid-template-rows:auto 136px auto}.character-studio-shell .character-portrait-generator .character-portrait-appearance textarea{flex-basis:136px;height:136px;min-height:136px;max-height:136px}.character-portrait-generator .character-portrait-reference{margin-bottom:0}.character-portrait-context-fields{display:grid;gap:12px;padding:14px;background:var(--card);border-radius:14px}.character-portrait-context-fields>header{display:grid;gap:3px}.character-portrait-context-fields>header strong{color:var(--ink);font-size:13px;font-weight:650}.character-portrait-context-fields>header small{color:var(--muted);font-size:12px;line-height:1.4}.character-portrait-context-fields>label{min-width:0;display:grid;gap:7px;color:var(--ink);font-size:13px;font-weight:600}.character-portrait-context-fields :is(input,textarea){box-sizing:border-box;width:100%;padding:11px 12px;resize:vertical;color:var(--ink);background:var(--paper);border:0;border-radius:11px;outline:0;font:inherit;font-size:14px;font-weight:400;line-height:1.45}.character-portrait-context-fields :is(input,textarea):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.character-portrait-generator .character-portrait-generation-footer{position:relative;z-index:4;justify-items:stretch;gap:8px;margin:0;padding:14px 20px max(16px,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}.character-portrait-generator .character-portrait-generation-actions,.character-portrait-generator .character-editor-generate-image{width:100%}.character-portrait-generator .character-editor-generate-image{min-height:48px}.character-portrait-generator .character-editor-generate-price{position:absolute;right:10px;margin-left:0}.character-portrait-generator .character-editor-portrait-note{font-size:12px;text-align:center}@media(min-width:1440px){.character-studio-shell{height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 0;grid-template-rows:auto minmax(0,1fr);align-items:stretch;transition:grid-template-columns .24s var(--ease-out)}.character-studio-shell>.character-studio-header{grid-column:1;grid-row:1}.character-studio-shell>.character-studio{grid-column:1;grid-row:2;box-sizing:border-box;width:100%;min-height:0;overflow-x:hidden;overflow-y:auto;margin:0;padding:48px max(24px,calc((100% - 760px)/2)) 148px;overscroll-behavior:contain;scrollbar-gutter:stable}.character-studio-shell.portrait-generator-open{grid-template-columns:minmax(0,1fr) clamp(420px,28vw,500px)}.character-studio-shell.portrait-generator-open>.character-portrait-generator{position:relative;grid-column:2;grid-row:1 / span 2;inset:auto;width:auto;min-width:0;height:100dvh;box-shadow:none;border-left:1px solid var(--line)}.character-studio-shell .character-portrait-generator .character-portrait-appearance{display:none}}@media(prefers-reduced-motion:reduce){.character-portrait-generator{animation:none}.character-studio-shell{transition:none}}.character-portrait-library{width:100%;display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;padding:0 0 4px}.character-portrait-library>article{position:relative;width:142px;display:grid;gap:7px}.character-portrait-saved-library{position:relative;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,132px),1fr))}.character-portrait-saved-library>article{position:relative;padding-top:0}.character-portrait-saved-library>article,.character-portrait-saved-library>article.primary,.character-portrait-saved-library>article:not(.primary){width:100%;min-width:0}.character-portrait-group-label{position:absolute;top:0;left:2px;display:inline-flex;align-items:baseline;gap:7px;color:var(--ink);font-size:15px;font-weight:650;line-height:20px;white-space:nowrap}.character-portrait-group-label>strong{font:inherit}.character-portrait-capacity{flex:0 0 auto;color:var(--muted);font-size:18px;font-weight:650;line-height:1.35;font-variant-numeric:tabular-nums}.character-portrait-library-image{position:relative;aspect-ratio:3 / 4;overflow:hidden;background:var(--card);border-radius:14px;box-shadow:inset 0 0 0 2px transparent}.character-portrait-saved-library>article.primary .character-portrait-library-image{border-radius:16px}.character-portrait-library article.focused .character-portrait-library-image{box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ink) 62%,transparent)}.character-portrait-library-image>img,.character-portrait-reorder-surface,.character-portrait-reorder-surface>img{width:100%;height:100%;display:block}.character-portrait-library-image>img,.character-portrait-reorder-surface>img{object-fit:cover}.character-portrait-reorder-surface{padding:0;background:transparent;border:0;cursor:grab;touch-action:none}.character-portrait-reorder-surface:active{cursor:grabbing}.character-portrait-library-image>span{position:absolute;top:6px;left:6px;padding:2px 6px;color:#17181c;background:#fafafcf5;border-radius:var(--radius-pill);box-shadow:0 2px 8px #0003;font-size:12px;font-weight:750;line-height:1.1}.character-portrait-actions{position:absolute;z-index:2;right:7px;bottom:7px;display:flex;flex-direction:column;align-items:center;gap:4px;opacity:0;pointer-events:none;transform:translate(4px);transition:opacity var(--motion-fast) var(--ease-out),transform var(--motion-fast) var(--ease-out)}.character-portrait-library-image:hover>.character-portrait-actions,.character-portrait-library-image:focus-within>.character-portrait-actions,.character-portrait-generator-history-grid>article>div:hover>.character-portrait-actions,.character-portrait-generator-history-grid>article>div:focus-within>.character-portrait-actions{opacity:1;pointer-events:auto;transform:translate(0)}.character-portrait-actions>button{width:30px;height:30px;display:grid;place-items:center;padding:0;color:#fff;background:#0d0d0fdb;border:0;border-radius:50%;box-shadow:0 3px 10px #00000052}.character-portrait-actions>button:hover:not(:disabled),.character-portrait-actions>button:focus-visible{color:#17181c;background:#fafafcf5}.character-portrait-actions>button.active{color:#17181c;background:#fafafcf5}.character-portrait-actions>button:disabled{cursor:default;opacity:.45}.character-portrait-actions>button svg{width:14px;height:14px}@media(hover:none){.character-portrait-actions{opacity:1;pointer-events:auto;transform:none}}.character-portrait-selection-toggle{position:absolute;z-index:3;top:8px;right:8px;width:32px;height:32px;display:grid;place-items:center;padding:0;color:#17181c;background:#0d0d0f7a;border:2px solid rgba(250,250,252,.92);border-radius:50%;box-shadow:0 3px 12px #0000004d}.character-portrait-selection-toggle.selected{background:#fafafcf5}.character-portrait-selection-toggle:hover:not(:disabled),.character-portrait-selection-toggle:focus-visible{transform:scale(1.05)}.character-portrait-selection-toggle:disabled{cursor:default;opacity:.48}.character-portrait-selection-toggle>svg{width:17px;height:17px;stroke-width:2.4}.character-portrait-empty-slot.at-limit{padding-top:28px}.character-portrait-add-slot{position:relative;box-sizing:border-box;width:100%;aspect-ratio:3 / 4;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:6px;padding:8px 8px 18px;color:var(--muted);background:transparent;border:2px solid var(--line-strong);border-radius:14px}.character-portrait-add-slot>strong{position:absolute;right:auto;bottom:0;left:50%;width:max-content;max-width:calc(100% - 20px);overflow:hidden;padding:0 7px;color:var(--muted);background:var(--paper);font-size:12px;font-weight:650;line-height:20px;text-align:center;text-overflow:ellipsis;white-space:nowrap;transform:translate(-50%,50%)}.character-portrait-add-slot>button,.character-portrait-add-slot>label{position:relative;box-sizing:border-box;width:100%;min-height:58px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px;overflow:hidden;color:var(--ink);background:var(--card);border:0;border-radius:10px;font:inherit;font-size:12px;font-weight:600;line-height:1;cursor:pointer}.character-portrait-add-slot>button:hover,.character-portrait-add-slot>button:focus-visible,.character-portrait-add-slot>label:not([aria-disabled=true]):hover,.character-portrait-add-slot>label:focus-within{background:var(--card-hover)}.character-portrait-add-slot>.character-portrait-slot-generate{color:var(--paper);background:var(--ink)}.character-portrait-add-slot>.character-portrait-slot-generate:hover,.character-portrait-add-slot>.character-portrait-slot-generate:focus-visible{background:color-mix(in srgb,var(--ink) 88%,var(--paper))}.character-portrait-add-slot>.character-portrait-slot-upload{background:var(--card-hover)}.character-portrait-add-slot>.character-portrait-slot-upload:not([aria-disabled=true]):hover,.character-portrait-add-slot>.character-portrait-slot-upload:focus-within{background:color-mix(in srgb,var(--ink) 20%,var(--card))}.character-portrait-add-slot>label[aria-disabled=true]{cursor:not-allowed;opacity:.5}.character-portrait-add-slot svg,.character-portrait-add-slot .studio-field-generate-icon,.character-portrait-add-slot .character-editor-upload-spinner{width:18px;height:18px;flex:0 0 auto}.character-portrait-add-slot .studio-field-generate-icon{display:block;background:currentColor;-webkit-mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat;mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat}.character-portrait-add-slot input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.character-portrait-library article.dragging{position:relative;z-index:2}.character-portrait-library article.dragging .character-portrait-library-image{box-shadow:0 16px 34px #00000061;opacity:.82}.character-portrait-library article.pending .character-portrait-library-image>img{opacity:.18}.character-portrait-library article.pending>small{color:var(--muted);font-size:12px;text-align:center}.character-portrait-session{width:100%;box-sizing:border-box;display:grid;gap:8px;padding:16px;background:color-mix(in srgb,var(--card) 78%,var(--paper));border-radius:18px}.character-portrait-session>header{display:grid;gap:4px}.character-portrait-session>header h3{margin:0;color:var(--ink);font-size:15px;font-weight:650}.character-portrait-session>header p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.character-editor-thumbnails{width:min(100%,370px);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.character-editor-thumbnails>div{position:relative}.character-editor-thumbnails>div>button:first-child{position:relative;width:100%;aspect-ratio:1;overflow:hidden;display:grid;place-items:center;padding:0;background:var(--card);border:2px solid transparent;border-radius:10px}.character-editor-thumbnails>div>button:first-child.selected{border-color:var(--ink)}.character-editor-thumbnails img{width:100%;height:100%;object-fit:cover}.character-editor-thumbnails svg{position:absolute;right:4px;bottom:4px;width:14px;height:14px}.character-editor-thumbnails>div>button:last-child{position:absolute;top:3px;right:3px;width:24px;height:24px;display:grid;place-items:center;padding:0;color:var(--ink);background:#0c0c0fc7;border:0;border-radius:50%;opacity:0}.character-editor-thumbnails>div:hover>button:last-child,.character-editor-thumbnails>div:focus-within>button:last-child{opacity:1}.character-editor-fields{min-width:0;display:grid;gap:26px}.character-editor-fields>label,.character-editor-inline>label,.character-editor-subsection label,.character-select{min-width:0;display:grid;gap:9px;margin:0;color:var(--ink);font-size:14px;font-weight:600}.character-editor-fields input,.character-editor-fields textarea,.character-select-trigger{width:100%;box-sizing:border-box;padding:13px 15px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-field);outline:none;font:inherit;font-size:15px;font-weight:400;line-height:1.55}.character-editor-fields input{min-height:52px}.character-editor-fields textarea{resize:vertical}.character-editor-fields textarea::-webkit-scrollbar-corner{background:var(--card)}.character-editor-fields textarea::-webkit-resizer{border:0;outline:0;background-color:var(--card);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cg fill='%239897a0'%3E%3Ccircle cx='3.5' cy='2.5' r='1'/%3E%3Ccircle cx='8.5' cy='2.5' r='1'/%3E%3Ccircle cx='3.5' cy='6' r='1'/%3E%3Ccircle cx='8.5' cy='6' r='1'/%3E%3Ccircle cx='3.5' cy='9.5' r='1'/%3E%3Ccircle cx='8.5' cy='9.5' r='1'/%3E%3C/g%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:12px 12px;box-shadow:none}.character-editor-fields input:focus,.character-editor-fields textarea:focus,.character-select-trigger:focus-visible{outline:none;box-shadow:none}.character-editor-fields input:focus-visible,.character-editor-fields textarea:focus-visible,.character-select-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.character-editor-fields :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.character-editor-fields label>small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.character-name-samples{display:flex;flex-wrap:wrap;gap:7px}.character-name-samples>button{min-height:32px;padding:0 11px;color:var(--muted);background:var(--card);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:500}.character-name-samples>button:hover,.character-name-samples>button:focus-visible{color:var(--ink);background:var(--card-hover)}.character-name-samples>.character-name-refresh{width:32px;padding:0;display:inline-flex;align-items:center;justify-content:center}.character-name-refresh svg{width:13px;height:13px}.character-studio-shell .studio-example-field{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:9px 16px}.character-studio-shell .studio-example-title{position:relative;grid-column:1;display:flex;align-items:center;gap:6px;color:var(--ink);font-size:14px;font-weight:600}.character-studio-shell .studio-field-help{display:inline-flex}.character-studio-shell .studio-field-help>button{width:22px;height:22px;display:grid;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:7px}.character-studio-shell .studio-field-help>button:hover,.character-studio-shell .studio-field-help>button:focus-visible{color:var(--ink);background:var(--card-hover)}.character-studio-shell .studio-field-help svg{width:14px;height:14px}.character-studio-shell .studio-field-help>[role=tooltip]{position:absolute;z-index:10;top:calc(100% + 7px);left:0;width:min(300px,80vw);padding:10px 12px;visibility:hidden;opacity:0;color:var(--ink);background:var(--card-hover);border-radius:10px;box-shadow:0 10px 28px #00000047;font-size:13px;font-weight:400;line-height:1.5;pointer-events:none}.character-studio-shell .studio-field-help>button:hover+[role=tooltip],.character-studio-shell .studio-field-help>button:focus-visible+[role=tooltip]{visibility:visible;opacity:1}.character-studio-shell .studio-example-control{position:relative;min-width:0;height:100%;grid-column:1;grid-row:2}.character-studio-shell .studio-example-control>:is(input,textarea){height:100%}.character-studio-shell .studio-field-generate-wrap{position:absolute;z-index:3;top:-15px;right:12px;display:inline-flex}.character-studio-shell .studio-field-generate{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--ink);background:var(--card-hover);border:0;border-radius:8px;box-shadow:0 4px 12px #0000002e}.character-studio-shell .studio-field-generate:hover:not(:disabled),.character-studio-shell .studio-field-generate:focus-visible{background:color-mix(in srgb,var(--ink) 14%,var(--card));outline:none}.character-studio-shell .studio-field-generate:focus-visible{box-shadow:0 0 0 2px var(--ink),0 4px 12px #0000002e}.character-studio-shell .studio-field-generate:disabled{color:var(--muted);cursor:wait}.character-studio-shell .studio-field-generate-icon{width:13px;height:13px;display:block;background:currentColor;-webkit-mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat;mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat}.character-studio-shell .studio-field-generate[data-loading=true] .studio-field-generate-icon{animation:studio-writing 1.1s ease-in-out infinite alternate}.character-studio-shell .studio-field-generate-tooltip{box-sizing:border-box;position:absolute;top:calc(100% + 8px);right:0;width:max-content;max-width:min(240px,calc(100vw - 48px));padding:8px 10px;visibility:hidden;opacity:0;color:var(--ink);background:var(--card-hover);border-radius:9px;box-shadow:0 8px 22px #00000047;font-size:13px;font-weight:500;line-height:1.4;text-align:left;pointer-events:none;transform:translateY(-3px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.character-studio-shell .studio-field-generate:hover+.studio-field-generate-tooltip,.character-studio-shell .studio-field-generate:focus-visible+.studio-field-generate-tooltip{visibility:visible;opacity:1;transform:translateY(0)}.character-studio-shell .studio-field-example{min-width:0;grid-column:2;grid-row:2;display:flex;flex-direction:column;padding:13px 15px;color:var(--ink);background:var(--card);border-radius:14px}.character-studio-shell .studio-field-example strong{display:block;margin-bottom:4px;font-size:14px;font-weight:600}.character-studio-shell .studio-field-example p{margin:0;color:var(--muted);font-size:15px;line-height:1.6;white-space:pre-line}.character-studio-shell .studio-sample-slides{flex:1 1 auto;min-width:0;display:grid}.character-studio-shell .studio-sample-slide{grid-area:1 / 1;min-width:0}.character-studio-shell .studio-sample-slide[aria-hidden=true]{visibility:hidden}.character-studio-shell .studio-sample-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:34px;padding-top:12px}.character-studio-shell .studio-sample-actions{display:flex;flex-wrap:wrap;gap:8px}.character-studio-shell .studio-sample-actions>button{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;color:var(--ink);background:var(--card-hover);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:600}.character-studio-shell .studio-sample-actions svg{width:14px;height:14px}.character-studio-shell .studio-sample-pager{display:flex;align-items:center;gap:2px;margin-left:auto;color:var(--muted);font-size:12px;font-weight:600}.character-studio-shell .studio-sample-pager>span{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}.character-studio-shell .studio-sample-pager>button{width:34px;height:34px;display:grid;place-items:center;padding:0;color:var(--ink);background:transparent;border:0;border-radius:50%}.character-studio-shell .studio-sample-pager>button:hover{background:var(--card-hover)}.character-studio-shell .studio-sample-pager>button[aria-disabled=true]{color:var(--muted);opacity:.45;cursor:default}.character-studio-shell .studio-sample-pager svg{width:17px;height:17px}.character-editor-subsection{min-width:0;display:grid;gap:22px;padding-top:6px}.character-editor-subsection>header{display:grid;gap:7px}.character-editor-subsection>header h2{margin:0;color:var(--ink);font-size:20px;font-weight:600}.character-editor-subsection>header p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.character-field-meta{min-width:0;display:flex;justify-content:space-between;gap:20px;padding-inline:2px}.character-field-meta>span:first-child{min-width:0}.character-field-meta>span:last-child{flex:0 0 auto;margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}.character-editor-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.character-preset-custom-select{min-width:0;display:grid;align-content:start;gap:12px}.character-preset-custom-select>label{min-width:0;display:grid;gap:9px;margin:0;color:var(--ink);font-size:14px;font-weight:600}.character-select{position:relative}.character-select-trigger{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;cursor:pointer}.character-select-trigger:hover{background:var(--card-hover)}.character-select-trigger svg{width:18px;color:var(--muted);transition:transform .16s ease}.character-select-trigger svg.open{transform:rotate(180deg)}.character-select-menu,.character-context-menu{position:absolute;z-index:60;top:calc(100% + 8px);right:0;left:0;display:grid;gap:4px;max-height:310px;overflow-y:auto;padding:8px;background:var(--card);border-radius:18px;box-shadow:0 20px 52px #00000061}.character-select-menu>button,.character-context-menu>button{min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);background:transparent;border:0;border-radius:11px;font:inherit;text-align:left}.character-select-menu>button:hover,.character-select-menu>button:focus-visible,.character-context-menu>button:hover,.character-context-menu>button:focus-visible{background:color-mix(in srgb,var(--ink) 7%,transparent)}.character-select-menu>button svg{width:17px;justify-self:end}.character-editor-details{background:var(--card);border-radius:18px}.character-editor-details>summary{min-height:58px;display:flex;align-items:center;padding:0 18px;font-weight:750;cursor:pointer}.character-editor-details>div{display:grid;gap:20px;padding:0 18px 20px}.character-editor-footer{position:fixed;z-index:20;right:0;bottom:20px;left:300px;width:min(calc(100% - 348px),760px);margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 12px 12px 18px;background:var(--card);border-radius:var(--radius-pill);box-shadow:0 12px 32px #0006;animation:character-save-bar-in var(--motion-medium) var(--ease-out) both}.character-studio-shell .character-editor-footer .secondary{background:transparent;border:0}.character-studio-shell .character-editor-footer .secondary:hover{background:var(--card-hover)}@media(min-width:641px)and (max-width:767px){.character-editor-footer{left:56px;width:min(calc(100% - 104px),760px)}}@media(max-width:640px){.character-editor-footer{left:0;width:min(calc(100% - 28px),760px)}}.character-editor-footer-status{margin-right:auto;color:var(--muted);font-size:13px;font-weight:500}@keyframes character-save-bar-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.character-editor-footer{animation:none}}.character-markers{display:grid;gap:18px}.character-markers-head{display:grid;gap:7px}.character-markers-head h2{margin:0;font-size:18px;font-weight:650;line-height:1.25}.character-markers-head p{max-width:720px;margin:0;color:var(--muted);font-size:14px;font-weight:400;line-height:1.55}.character-markers-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}.character-marker-row{overflow:hidden;background:var(--card);border:0;border-radius:var(--radius-field)}.character-marker-row details{min-width:0}.character-marker-row summary{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:14px;padding:0 18px;color:var(--ink);cursor:pointer;list-style:none}.character-marker-row summary::-webkit-details-marker{display:none}.character-marker-row summary:hover{background:var(--card-hover)}.character-marker-row summary strong{overflow:hidden;font-size:15px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.character-marker-row summary svg{width:18px;height:18px;justify-self:end;color:var(--muted);transition:transform var(--motion-fast) var(--ease-out)}.character-marker-row details[open]>summary svg{transform:rotate(180deg)}.character-marker-body{display:grid;gap:18px;padding:2px 18px 18px}.character-marker-body>label,.character-marker-inline>label{min-width:0;display:grid;gap:9px;color:var(--ink);font-size:14px;font-weight:600}.character-marker-row input,.character-marker-row textarea{padding:13px 15px;background:color-mix(in srgb,var(--ink) 6%,var(--card));border:0;border-radius:var(--radius-field);font-size:15px;font-weight:400;line-height:1.55}.character-marker-row input{min-height:52px}.character-marker-row textarea{min-height:112px}.character-marker-row :is(input,textarea)[aria-invalid=true]{outline:2px solid #ff8fa3;outline-offset:2px}.character-marker-inline{width:min(100%,300px);display:grid}.world-quest-row-actions{display:flex;align-items:center;gap:8px}.world-quest-row-actions>button{width:40px;height:40px;display:grid;place-items:center;padding:0;color:var(--muted);background:color-mix(in srgb,var(--ink) 6%,var(--card));border:0;border-radius:11px}.world-quest-row-actions>button:not(:disabled):hover{color:var(--ink);background:var(--card-hover)}.world-quest-row-actions>button:disabled{cursor:not-allowed;opacity:.45}.world-quest-row-actions>button svg{width:17px;height:17px}.world-quest-row-actions>.character-marker-remove{margin-left:auto}.world-quest-incomplete{color:var(--muted);font-size:13px}.character-marker-row small{color:var(--muted);font-size:13px;font-weight:400;line-height:1.5}.character-marker-error{margin:0;color:#ffacba;font-size:13px;font-weight:600}.character-marker-remove{width:34px;height:34px;display:grid;place-items:center;justify-self:end;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.character-marker-remove:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 10%,transparent)}.character-marker-remove svg{width:16px;height:16px}.character-markers-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.character-markers-footer .character-markers-count{color:var(--muted);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.character-markers-add{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.character-markers-add:hover:not(:disabled){background:var(--card-hover)}.character-markers-add:disabled{opacity:.45;cursor:not-allowed}@media(max-width:640px){.character-marker-row summary{min-height:58px;padding:0 16px}.character-marker-body{padding:2px 16px 16px}.character-marker-inline{width:100%}}.character-editor-footer button,.reusable-character-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.character-studio-error{margin:0;padding:13px 15px;color:#ffacba;background:color-mix(in srgb,#9f243c 24%,var(--card));border-radius:12px}.character-studio-loading{min-height:60vh;display:grid;place-content:center;color:var(--muted)}.character-studio-loading .creator-resume{margin-top:0}.reusable-character-actions{display:flex;align-items:center;gap:8px}.character-context-actions{position:relative}.character-context-menu{right:0;left:auto;min-width:286px}.character-context-menu>button{grid-template-columns:22px minmax(0,1fr)}.character-studio-shell .studio-image-flow-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:160;display:grid;place-items:center;padding:24px;background:#050507b8}.character-studio-shell .studio-image-flow{box-sizing:border-box;width:min(920px,100%);max-height:min(860px,calc(100dvh - 48px));display:grid;gap:24px;padding:26px;overflow-y:auto;color:var(--ink);background:var(--card);border-radius:24px;box-shadow:0 24px 80px #0000007a}.character-studio-shell .character-portrait-workspace{width:100%;max-height:none;padding:24px;overflow:visible;border-radius:20px;box-shadow:none}.character-studio-shell .studio-image-flow>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.character-studio-shell .studio-image-flow>header h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.02em}.character-studio-shell .studio-image-flow>header p{margin:7px 0 0;color:var(--muted);font-size:14px}.character-studio-shell .studio-image-flow>header>button{width:38px;height:38px;display:grid;flex:0 0 auto;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:10px}.character-studio-shell .studio-image-flow>header>button:hover:not(:disabled){color:var(--ink);background:var(--card-hover)}.character-studio-shell .studio-image-flow>header>button svg{width:19px;height:19px}.character-studio-shell .studio-portrait-compact-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:start}.character-studio-shell .studio-portrait-compact-layout .studio-image-flow-preview{position:relative;top:auto;width:190px;min-height:0;aspect-ratio:3 / 4}.character-studio-shell .studio-portrait-compact-layout .studio-image-flow-preview>img{min-height:0}.character-studio-shell .studio-portrait-compact-layout .studio-image-flow-preview>div:not(.studio-image-flow-progress){padding:18px}.character-studio-shell .studio-portrait-compact-layout .studio-image-flow-preview>div>span{display:none}.character-studio-shell .studio-portrait-compact-controls{min-width:0;display:grid;gap:16px}.character-studio-shell .studio-portrait-style-select{position:relative;min-width:0;display:grid;gap:8px}.character-studio-shell .studio-portrait-style-select>label,.character-studio-shell .studio-portrait-specifics>span{color:var(--ink);font-size:14px;font-weight:600}.character-studio-shell .studio-portrait-style-trigger{min-height:66px;display:grid;grid-template-columns:42px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:8px 12px 8px 8px;color:var(--ink);background:var(--card);border:0;border-radius:14px;font:inherit;text-align:left}.character-studio-shell .studio-portrait-style-trigger:hover:not(:disabled){background:var(--card-hover)}.character-studio-shell .studio-portrait-style-trigger>img{width:42px;aspect-ratio:3 / 4;display:block;object-fit:cover;border-radius:8px}.character-studio-shell .studio-portrait-style-trigger>span{min-width:0;display:grid;gap:4px}.character-studio-shell .studio-portrait-style-trigger strong{overflow:hidden;color:var(--ink);font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.character-studio-shell .studio-portrait-style-trigger small{color:var(--muted);font-size:12px}.character-studio-shell .studio-portrait-style-trigger>svg{width:18px;color:var(--muted);transition:transform var(--motion-fast) var(--ease-out)}.character-studio-shell .studio-portrait-style-trigger>svg.open{transform:rotate(180deg)}.character-studio-shell .studio-portrait-style-menu{position:absolute;z-index:30;top:calc(100% + 8px);right:0;left:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;background:var(--card);border-radius:18px;box-shadow:0 20px 52px #00000061}.character-studio-shell .studio-portrait-style-menu>button{position:relative;min-width:0;display:grid;gap:7px;padding:6px;color:var(--muted);background:transparent;border:0;border-radius:11px;font:inherit;font-size:12px;font-weight:600;text-align:left}.character-studio-shell .studio-portrait-style-menu>button:hover,.character-studio-shell .studio-portrait-style-menu>button[aria-selected=true]{color:var(--ink);background:var(--card-hover)}.character-studio-shell .studio-portrait-style-menu img{width:100%;aspect-ratio:3 / 4;display:block;object-fit:cover;border-radius:8px}.character-studio-shell .studio-portrait-style-menu>button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.character-studio-shell .studio-portrait-style-menu>button>svg{position:absolute;top:10px;right:10px;width:16px;height:16px;padding:3px;color:var(--paper);background:var(--ink);border-radius:50%}.character-studio-shell .studio-portrait-specifics{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}.character-studio-shell .studio-portrait-specifics textarea{box-sizing:border-box;width:100%;height:100%;min-height:0;padding:12px 14px;resize:vertical;color:var(--ink);background:var(--card);border:0;border-radius:14px;outline:none;font:inherit;font-size:14px;font-weight:400;line-height:1.5}.character-studio-shell .studio-portrait-specifics textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.character-studio-shell .studio-portrait-specifics>small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.4}.character-studio-shell .studio-portrait-compact-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:2px}.character-studio-shell .studio-portrait-compact-actions>button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.character-studio-shell .studio-image-flow-layout{display:grid;grid-template-columns:minmax(250px,.76fr) minmax(0,1.24fr);gap:22px;align-items:start}.character-studio-shell .studio-image-flow-preview{position:sticky;top:0;min-height:430px;display:grid;place-items:center;overflow:hidden;background:var(--paper);border-radius:18px}.character-studio-shell .character-portrait-workspace .studio-image-flow-preview{top:92px}.character-studio-shell .studio-image-flow-preview>img{width:100%;height:100%;min-height:430px;object-fit:cover}.character-studio-shell .studio-image-flow-preview>div:not(.studio-image-flow-progress){max-width:230px;display:grid;place-items:center;gap:10px;padding:28px;color:var(--muted);text-align:center}.character-studio-shell .studio-image-flow-preview>div>svg{width:30px;height:30px}.character-studio-shell .studio-image-flow-preview>div>strong{color:var(--ink);font-size:15px;font-weight:600}.character-studio-shell .studio-image-flow-preview>div>span{font-size:13px;line-height:1.55}.character-studio-shell .studio-image-flow-preview.generating>:not(.studio-image-flow-progress){opacity:.35}.character-studio-shell .studio-image-flow-progress{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;justify-items:center;gap:12px;color:var(--ink);background:#17181cb8}.character-studio-shell .studio-image-flow-progress>span{width:24px;height:24px;border:2px solid var(--line-strong);border-top-color:var(--ink);border-radius:50%;animation:studio-image-spin .8s linear infinite}.character-studio-shell .studio-image-flow-progress>strong{font-size:14px;font-weight:600}.character-studio-shell .studio-image-flow-fields{display:grid;gap:18px}.character-studio-shell .studio-image-flow-fields .studio-image-style-picker{gap:10px}.character-studio-shell .studio-image-flow-fields .studio-shared-style-picker>header{gap:3px}.character-studio-shell .studio-image-flow-fields .studio-shared-style-picker>header p{font-size:13px}.character-studio-shell .studio-image-flow-fields .studio-image-style-picker>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.character-studio-shell .studio-image-flow-fields .studio-image-style-picker button{aspect-ratio:3 / 4;border-radius:11px;font-size:12px}.character-studio-shell .studio-image-flow-fields .studio-image-style-picker button>span{right:8px;bottom:8px;left:8px}.character-studio-shell .studio-image-flow-fields .studio-image-style-picker button>svg{top:7px;right:7px;width:14px;height:14px;padding:3px}.character-studio-shell .studio-image-flow-fields>label,.character-studio-shell .studio-portrait-customize-fields>label{display:grid;align-content:start;gap:8px;color:var(--ink);font-size:14px;font-weight:600}.character-studio-shell .studio-portrait-advanced{min-width:0;padding:0 14px;background:var(--paper);border-radius:14px}.character-studio-shell .studio-portrait-advanced>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;font-size:14px;font-weight:600}.character-studio-shell .studio-portrait-advanced>summary::-webkit-details-marker{display:none}.character-studio-shell .studio-portrait-advanced>summary>span{display:grid;gap:3px;padding:10px 0}.character-studio-shell .studio-portrait-advanced>summary strong{color:var(--ink);font-size:14px;font-weight:600}.character-studio-shell .studio-portrait-advanced>summary small{color:var(--muted);font-size:12px;font-weight:400;line-height:1.35}.character-studio-shell .studio-portrait-advanced>summary:after{content:"+";color:var(--muted);font-size:19px;font-weight:400}.character-studio-shell .studio-portrait-advanced[open]>summary:after{content:"−"}.character-studio-shell .studio-portrait-customize-fields{display:grid;gap:18px;padding:4px 0 14px}.character-studio-shell .studio-image-flow-fields textarea{box-sizing:border-box;width:100%;min-height:128px;padding:14px 15px;resize:vertical;color:var(--ink);background:var(--paper);border:0;border-radius:14px;outline:none;font:inherit;font-size:14px;font-weight:400;line-height:1.55}.character-studio-shell .studio-image-flow-fields textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.character-studio-shell .studio-image-flow-fields small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.character-studio-shell .studio-image-flow-style{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:14px 16px;background:var(--paper);border-radius:14px}.character-studio-shell .studio-image-flow-style>span{color:var(--muted);font-size:13px}.character-studio-shell .studio-image-flow-style>strong{color:var(--ink);font-size:14px;font-weight:600}.character-studio-shell .studio-image-flow-style>small{grid-column:1 / -1;color:var(--muted);font-size:14px;line-height:1.5}.character-studio-shell .studio-image-flow-note{display:flex;align-items:flex-start;gap:8px;margin:-2px 0 0;padding:0;color:#ffacba;background:transparent;font-size:13px;line-height:1.45}.character-studio-shell .studio-image-flow-note>svg{width:16px;height:16px;flex:0 0 auto;margin-top:1px}.character-studio-shell .studio-image-flow>footer{position:sticky;z-index:3;bottom:-26px;display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 -26px -26px;padding:14px 26px 26px;background:var(--card)}.character-studio-shell .character-portrait-workspace>footer{position:static;margin:0;padding:0;background:transparent}.character-studio-shell .studio-image-flow>footer button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.character-studio-shell .studio-image-flow>footer button:disabled{cursor:not-allowed;opacity:.5}.creator-library-resources .creator-library-archive-filter{margin-left:auto;color:var(--muted)}.creator-library-resources .creator-library-archive-filter.active{color:var(--ink)}.creator-library .creator-hub-drafts>button.creator-sourcebook-card{border:0;box-shadow:0 8px 24px #0000001a}.creator-library .creator-hub-drafts>button.creator-sourcebook-card:hover{border:0;background:var(--card-hover);box-shadow:0 10px 28px #00000026}.blueprint-workspace{min-height:0;padding:48px 24px 148px}.blueprint-settings,.blueprint-entries{width:min(760px,100%);margin-right:auto;margin-left:auto}.blueprint-settings{display:grid;gap:22px;padding:0 0 28px}.blueprint-settings-heading{min-height:104px;display:grid;align-content:center;padding:clamp(16px,2.2vw,22px) clamp(20px,2.6vw,26px);background:var(--card) url(/images/product/blueprint-banner.webp) right center / cover no-repeat;border-radius:var(--radius-banner)}.blueprint-settings-heading h1{margin:0;max-width:55%;color:var(--ink);font-size:clamp(24px,2.6vw,30px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.blueprint-settings-heading p{max-width:55%;margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.6}.blueprint-settings>label,.blueprint-entry-fields>label:not(.blueprint-toggle){display:grid;gap:9px;min-width:0}.blueprint-settings label>span,.blueprint-entry-fields label>span{display:flex;justify-content:space-between;gap:10px;color:var(--ink);font-size:14px;font-weight:600}.blueprint-settings label>span small,.blueprint-entry-fields label>span small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.blueprint-settings input:not([type=checkbox]),.blueprint-settings textarea,.blueprint-entry-fields input:not([type=checkbox]),.blueprint-entry-fields textarea{width:100%;min-width:0;box-sizing:border-box;padding:13px 15px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-field);outline:none;font:inherit;font-size:15px;font-weight:400;line-height:1.55;resize:vertical}.blueprint-entry-fields input:not([type=checkbox]),.blueprint-entry-fields textarea{background:color-mix(in srgb,var(--ink) 6%,var(--card))}.blueprint-settings input:not([type=checkbox]),.blueprint-entry-fields input:not([type=checkbox]){min-height:52px}.blueprint-settings :is(input,textarea)::placeholder,.blueprint-entry-fields :is(input,textarea)::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.blueprint-settings :is(input:not([type=checkbox]),textarea):focus,.blueprint-entry-fields :is(input:not([type=checkbox]),textarea):focus{outline:none;box-shadow:none}.blueprint-settings :is(input:not([type=checkbox]),textarea):focus-visible,.blueprint-entry-fields :is(input:not([type=checkbox]),textarea):focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.blueprint-settings :is(input,textarea)[aria-invalid=true],.blueprint-entry-fields :is(input,textarea)[aria-invalid=true]{outline:2px solid #ff8fa3;outline-offset:-2px}.blueprint-settings textarea::-webkit-scrollbar-corner,.blueprint-settings textarea::-webkit-resizer{background-color:var(--card)}.blueprint-entry-fields textarea::-webkit-scrollbar-corner,.blueprint-entry-fields textarea::-webkit-resizer{background-color:color-mix(in srgb,var(--ink) 6%,var(--card))}.blueprint-settings textarea::-webkit-resizer,.blueprint-entry-fields textarea::-webkit-resizer{border:0;outline:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cg fill='%239897a0'%3E%3Ccircle cx='3.5' cy='2.5' r='1'/%3E%3Ccircle cx='8.5' cy='2.5' r='1'/%3E%3Ccircle cx='3.5' cy='6' r='1'/%3E%3Ccircle cx='8.5' cy='6' r='1'/%3E%3Ccircle cx='3.5' cy='9.5' r='1'/%3E%3Ccircle cx='8.5' cy='9.5' r='1'/%3E%3C/g%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:12px 12px;box-shadow:none}.blueprint-settings .blueprint-field-error,.blueprint-entry-fields .blueprint-field-error{color:#ffacba;font-size:13px;font-weight:600;line-height:1.4}.blueprint-page .studio-example-field{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:9px 16px}.blueprint-page .studio-example-title{position:relative;grid-column:1;display:flex;align-items:center;gap:6px;color:var(--ink);font-size:14px;font-weight:600}.blueprint-page .studio-field-help{display:inline-flex}.blueprint-page .studio-field-help>button{width:22px;height:22px;display:grid;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:7px}.blueprint-page .studio-field-help>button:hover,.blueprint-page .studio-field-help>button:focus-visible{color:var(--ink);background:var(--card-hover)}.blueprint-page .studio-field-help svg{width:14px;height:14px}.blueprint-page .studio-field-help>[role=tooltip]{position:absolute;z-index:10;top:calc(100% + 7px);left:0;width:min(300px,80vw);padding:10px 12px;visibility:hidden;opacity:0;color:var(--ink);background:var(--card-hover);border-radius:10px;box-shadow:0 10px 28px #00000047;font-size:13px;font-weight:400;line-height:1.5;pointer-events:none}.blueprint-page .studio-field-help>button:hover+[role=tooltip],.blueprint-page .studio-field-help>button:focus-visible+[role=tooltip]{visibility:visible;opacity:1}.blueprint-page .studio-example-control{position:relative;min-width:0;height:100%;grid-column:1;grid-row:2}.blueprint-page .studio-example-control>textarea{height:100%}.blueprint-entry-fields textarea.studio-single-line{resize:none}.blueprint-page .studio-field-example{min-width:0;grid-column:2;grid-row:2;display:flex;flex-direction:column;padding:13px 15px;color:var(--ink);background:var(--card);border-radius:14px}.blueprint-entry .studio-field-example{background:color-mix(in srgb,var(--ink) 6%,var(--card))}.blueprint-page .studio-field-example strong{display:block;margin-bottom:4px;font-size:14px;font-weight:600}.blueprint-page .studio-field-example p{margin:0;color:var(--muted);font-size:15px;line-height:1.6;white-space:pre-line}.blueprint-page .studio-sample-slides{flex:1 1 auto;min-width:0;display:grid}.blueprint-page .studio-sample-slide{grid-area:1 / 1;min-width:0}.blueprint-page .studio-sample-slide[aria-hidden=true]{visibility:hidden}.blueprint-page .studio-sample-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:34px;padding-top:12px}.blueprint-page .studio-sample-actions{display:flex;flex-wrap:wrap;gap:8px}.blueprint-page .studio-sample-actions>button{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;color:var(--ink);background:var(--card-hover);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:600}.blueprint-page .studio-sample-actions svg{width:14px;height:14px}.blueprint-page .studio-sample-pager{display:flex;align-items:center;gap:2px;margin-left:auto;color:var(--muted);font-size:12px;font-weight:600}.blueprint-page .studio-sample-pager>span{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}.blueprint-page .studio-sample-pager>button{width:34px;height:34px;display:grid;place-items:center;padding:0;color:var(--ink);background:transparent;border:0;border-radius:50%}.blueprint-page .studio-sample-pager>button:hover{background:var(--card-hover)}.blueprint-page .studio-sample-pager>button[aria-disabled=true]{color:var(--muted);opacity:.45;cursor:default}.blueprint-page .studio-sample-pager svg{width:17px;height:17px}.blueprint-example-with-error{display:grid;gap:8px;min-width:0}.blueprint-activation{display:grid;gap:9px;margin:0;padding:0;border:0}.blueprint-activation-label{color:var(--ink);font-size:14px;font-weight:600}.blueprint-activation [role=radio]{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:10px 12px;color:var(--muted);text-align:left;background:color-mix(in srgb,var(--ink) 6%,var(--card));border:0;border-radius:12px;box-shadow:inset 0 0 0 1px transparent;cursor:pointer}.blueprint-activation [role=radio]:not(.selected):hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 11%,var(--card))}.blueprint-activation [role=radio].selected{color:var(--ink);background:color-mix(in srgb,var(--accent) 14%,var(--card));box-shadow:inset 0 0 0 1px var(--accent)}.blueprint-activation [role=radio] svg{color:color-mix(in srgb,var(--muted) 72%,transparent)}.blueprint-activation [role=radio].selected svg{color:var(--accent);fill:var(--accent)}.blueprint-activation [role=radio].selected svg path{stroke:var(--card)}.blueprint-activation svg{width:18px;height:18px}.blueprint-activation span{display:grid;gap:2px}.blueprint-activation strong{color:inherit;font-size:14px;font-weight:600}.blueprint-activation small{color:var(--muted);font-size:13px;font-weight:400;line-height:1.5}.blueprint-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;cursor:pointer}.blueprint-toggle>span{display:grid!important;justify-content:stretch!important;gap:2px!important}.blueprint-toggle strong{font-size:14px;font-weight:600}.blueprint-toggle small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.blueprint-toggle input{width:40px;height:24px;margin:0;padding:2px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:color-mix(in srgb,var(--ink) 22%,var(--card));border-radius:var(--radius-pill);box-sizing:border-box;cursor:pointer;transition:background-color var(--motion-fast) var(--ease-out)}.blueprint-toggle input:before{content:"";display:block;width:20px;height:20px;background:var(--card);border-radius:50%;box-shadow:0 1px 3px #0000004d;transition:transform var(--motion-fast) var(--ease-out)}.blueprint-toggle input:checked{background:var(--accent)}.blueprint-toggle input:checked:before{transform:translate(16px)}.blueprint-toggle input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.blueprint-entries{min-width:0;padding:24px 0 0}.blueprint-save-error{max-width:900px;margin:0 auto 18px;padding:13px 15px;color:#ffacba;background:color-mix(in srgb,#9f243c 24%,var(--card));border-radius:12px;font-size:14px;line-height:1.45}.blueprint-entries>header{max-width:900px;margin:0 auto 22px}.blueprint-entries>header h2{margin:0;color:var(--ink);font-size:20px;font-weight:600}.blueprint-entries>header p{max-width:650px;margin:7px 0 0;color:var(--muted);font-size:14px;line-height:1.55}.blueprint-entries .blueprint-guidance-empty strong{color:var(--ink);font-size:15px;font-weight:650}.blueprint-entries .blueprint-guidance-empty p{font-size:14px;font-weight:400;line-height:1.5}.blueprint-entry-list{display:grid;gap:10px;max-width:900px;margin:0 auto}.blueprint-entry{overflow:hidden;background:var(--card);border:0;border-radius:var(--radius-field);scroll-margin-top:20px}.blueprint-entry-collapse{width:100%;min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:14px;padding:0 18px;color:var(--ink);text-align:left;background:transparent;border:0;cursor:pointer}.blueprint-entry-collapse:hover{background:var(--card-hover)}.blueprint-entry-collapse>span{display:grid;gap:3px;min-width:0}.blueprint-entry-collapse strong,.blueprint-entry-collapse small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.blueprint-entry-collapse strong{font-size:15px;font-weight:650;line-height:1.35}.blueprint-entry-collapse small{color:var(--muted);font-size:13px;font-weight:400;line-height:1.45}.blueprint-entry-collapse small.needs-attention{color:#ffacba}.blueprint-entry-collapse svg{width:18px;height:18px;justify-self:end;color:var(--muted);transition:transform var(--motion-fast) var(--ease-out)}.blueprint-entry-collapse[aria-expanded=true] svg{transform:rotate(180deg)}.blueprint-entry-remove{width:34px;height:34px;display:grid;place-items:center;justify-self:end;padding:0;color:var(--muted);background:transparent;border:0;border-radius:50%}.blueprint-entry-remove:hover{color:var(--ink);background:color-mix(in srgb,var(--ink) 10%,transparent)}.blueprint-entry-remove svg{width:16px;height:16px}.blueprint-entry-fields{display:grid;gap:18px;padding:2px 18px 18px}.blueprint-entries-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:900px;margin:12px auto 0}.blueprint-entries-count{color:var(--muted);font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.blueprint-entries-add{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.blueprint-entries-add:hover:not(:disabled){background:var(--card-hover)}.blueprint-entries-add:disabled{opacity:.45;cursor:not-allowed}.blueprint-activation [role=radiogroup]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.blueprint-editor-footer{position:fixed;z-index:20;right:0;bottom:20px;left:300px;width:min(calc(100% - 348px),760px);margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 12px 12px 18px;background:var(--card);border-radius:var(--radius-pill);box-shadow:0 12px 32px #0006;animation:character-save-bar-in var(--motion-medium) var(--ease-out) both}@media(min-width:641px)and (max-width:767px){.blueprint-editor-footer{left:56px;width:min(calc(100% - 104px),760px)}}.blueprint-editor-footer>span{max-width:320px;margin-right:auto;overflow:hidden;color:var(--muted);font-size:13px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.blueprint-editor-footer>span.unsaved{color:var(--warning, #d7a94a)}.blueprint-editor-footer>span.saved{color:var(--success, #73b58d)}.blueprint-editor-footer>span.error{color:#ffacba}.blueprint-editor-footer button{min-height:44px;padding:0 18px;font-size:14px;font-weight:600}.blueprint-editor button.secondary{border:0}@container blueprint-page (max-width: 620px){.blueprint-workspace{padding:32px 24px 148px}.blueprint-settings{padding-bottom:24px}.blueprint-entries{padding-top:20px}.blueprint-entry-collapse{min-height:58px;padding:0 16px}.blueprint-entry-fields{padding:2px 16px 16px}.blueprint-activation [role=radiogroup]{grid-template-columns:1fr}}@media(max-width:700px){.character-studio-shell .studio-example-field{grid-template-columns:1fr}.character-studio-shell .studio-example-title,.character-studio-shell .studio-example-control,.character-studio-shell .studio-field-example{grid-column:1;grid-row:auto}.blueprint-workspace{padding:32px 14px 210px}.blueprint-settings{padding-bottom:20px}.blueprint-settings-heading{min-height:0;background-image:none}.blueprint-settings-heading :is(h1,p){max-width:none}.blueprint-entries{padding-top:18px}.blueprint-page .studio-example-field{grid-template-columns:1fr}.blueprint-page .studio-example-title,.blueprint-page .studio-example-control,.blueprint-page .studio-field-example{grid-column:1;grid-row:auto}.blueprint-activation [role=radiogroup]{grid-template-columns:1fr}}@media(max-width:640px){.blueprint-editor-header{padding:0 14px}.blueprint-editor-document-title{max-width:calc(100vw - 150px);font-size:16px}.blueprint-editor-footer{left:0;bottom:calc(var(--mobile-nav-height) + 12px);width:min(calc(100% - 28px),760px);padding:10px 10px 10px 14px}.blueprint-editor-footer>span{display:none}.blueprint-editor-footer>button{flex:1}}.creator-character-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:18px;margin-top:22px}.creator-character-card{position:relative;min-width:0;aspect-ratio:3 / 4;overflow:hidden;color:#fff;background:var(--card);border-radius:20px;box-shadow:0 10px 28px #0000002e}.creator-character-card:hover{box-shadow:0 18px 42px #0000003d}.creator-character-card.archived{opacity:.72}.creator-character-open{position:absolute;z-index:4;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;background:transparent;border:0;border-radius:inherit;cursor:pointer}.creator-character-open:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 55%,transparent);outline-offset:-3px}.creator-character-card-art{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;overflow:hidden;background:color-mix(in srgb,var(--card) 84%,white)}.creator-character-card-art:after{content:"";position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(180deg,rgba(5,6,9,.2) 0%,transparent 22%),linear-gradient(0deg,rgba(7,7,10,.98) 0%,rgba(7,7,10,.9) 24%,rgba(7,7,10,.55) 44%,rgba(7,7,10,.14) 64%,transparent 78%)}.creator-character-card-art img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}.creator-character-card:hover .creator-character-card-art img{transform:scale(1.025)}.creator-character-card-art>span{color:var(--muted)}.creator-character-card-art svg{width:42px;height:42px}.creator-character-card-copy{position:absolute;z-index:2;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:flex-end;gap:9px;box-sizing:border-box;height:52%;padding:18px;overflow:hidden;color:#fff}.creator-character-card-copy>div{display:grid;gap:4px;min-width:0}.creator-character-card-copy h2{margin:0;overflow:hidden;color:#fff;font-size:13px;font-weight:650;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.creator-character-card-copy small{display:-webkit-box;overflow:hidden;color:#dfdfe4;font-size:13px;line-height:1.4;-webkit-box-orient:vertical;-webkit-line-clamp:1}.creator-character-card-copy p{min-height:3em;margin:0;display:-webkit-box;overflow:hidden;color:#dfdfe4;overflow-wrap:anywhere;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px;line-height:1.5}.creator-character-visibility{top:16px;left:18px}.creator-character-visibility>span{height:19px;padding-inline:9px;font-size:12px}.creator-character-card>.creator-story-actions{z-index:5;top:10px;right:10px}.character-story-picker-backdrop,.story-cast-chooser-backdrop,.mobile-create-menu-backdrop{position:fixed;z-index:140;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#08080bbd;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.character-story-picker,.story-cast-chooser{width:min(100%,680px);max-height:min(82vh,820px);overflow-y:auto;padding:22px;color:var(--ink);background:var(--paper);border-radius:24px;box-shadow:0 28px 80px #0000008c}.character-story-picker>header,.story-cast-chooser>header{display:flex;align-items:start;justify-content:space-between;gap:18px}.character-story-picker h2,.story-cast-chooser h2{margin:0;font-size:25px}.character-story-picker header p,.story-cast-chooser header p{margin:7px 0 0;color:var(--muted);line-height:1.5}.character-story-picker header>button,.story-cast-chooser header>button{flex:0 0 auto;width:40px;height:40px;display:grid;place-items:center;padding:0;color:var(--muted);background:var(--card);border:0;border-radius:50%}.character-story-picker>div:last-child{display:grid;gap:8px;margin-top:18px}.character-story-picker>div:last-child>button{min-height:72px;display:grid;grid-template-columns:24px minmax(0,1fr) 20px;align-items:center;gap:14px;padding:12px 14px;color:var(--ink);background:var(--card);border:0;border-radius:14px;text-align:left}.character-story-picker>div:last-child>button:hover{background:color-mix(in srgb,var(--card) 88%,white)}.character-story-picker button span{min-width:0;display:grid;gap:4px}.character-story-picker button small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.character-story-picker-empty{margin-top:20px;padding:24px;background:var(--card);border-radius:16px;text-align:center}.studio-saved-character-picker{overflow:hidden;background:var(--card);border-radius:18px}.studio-saved-character-trigger{width:100%;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 18px;color:var(--ink);background:transparent;border:0;text-align:left}.studio-saved-character-trigger>span{display:grid;gap:5px}.studio-saved-character-trigger small{color:var(--muted);font-weight:450}.studio-saved-character-trigger svg{color:var(--muted);transition:transform .16s ease}.studio-saved-character-trigger svg.open{transform:rotate(180deg)}.studio-saved-character-picker>div{display:grid;gap:4px;padding:0 8px 8px}.studio-saved-character-picker>div>button{min-height:66px;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:9px 11px;color:var(--ink);background:transparent;border:0;border-radius:12px;text-align:left}.studio-saved-character-picker>div>button:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 7%,transparent)}.studio-saved-character-picker>div>button:disabled{opacity:.5}.studio-saved-character-picker>div>button>span:nth-child(2){min-width:0;display:grid;gap:3px}.studio-saved-character-picker small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.studio-saved-character-art{width:44px;height:44px;overflow:hidden;display:grid;place-items:center;background:var(--paper);border-radius:12px}.studio-saved-character-art img{width:100%;height:100%;object-fit:cover}.studio-linked-character-note{display:grid;gap:5px;margin:0;padding:14px 16px;color:var(--muted);background:color-mix(in srgb,var(--card) 88%,white);border-radius:13px;line-height:1.45}.studio-linked-character-note strong{color:var(--ink)}.studio-linked-character-note .studio-select{margin-top:10px;color:var(--ink)}.studio-linked-identity{display:flex;flex-wrap:wrap;gap:8px;margin:0;color:var(--muted);text-transform:capitalize}.studio-linked-identity span{padding:6px 9px;background:var(--card);border-radius:9px}.reusable-character-page{position:relative;min-height:100%;padding:52px max(24px,calc((100vw - 1120px)/2)) 80px;color:var(--ink);background:var(--paper)}.reusable-character-back{position:absolute;z-index:2;top:22px;left:max(20px,calc((100vw - 1200px)/2))}.reusable-character-hero{display:grid;grid-template-columns:minmax(260px,430px) minmax(0,1fr);align-items:center;gap:clamp(36px,6vw,84px);min-height:620px}.reusable-character-art{aspect-ratio:4 / 5;overflow:hidden;display:grid;place-items:center;background:var(--card);border-radius:28px;box-shadow:0 22px 58px #00000040}.reusable-character-art img{width:100%;height:100%;object-fit:cover}.reusable-character-art svg{width:56px;height:56px;color:var(--muted)}.reusable-character-intro{display:grid;gap:24px}.reusable-character-heading h1{margin:0;font-size:clamp(48px,7vw,84px);line-height:.95;letter-spacing:-.05em}.reusable-character-heading p{margin:14px 0 0;color:var(--muted);font-size:20px}.reusable-character-heading small{display:block;margin-top:10px;color:var(--muted)}.reusable-character-description{max-width:660px;margin:0;font-size:17px;line-height:1.7}.reusable-character-body{width:min(100%,760px);display:grid;gap:16px;margin:34px auto 0}.reusable-character-body>section{padding:22px 24px;background:var(--card);border-radius:18px}.reusable-character-body h2{margin:0 0 10px;font-size:19px}.reusable-character-body p{margin:0;color:var(--muted);line-height:1.7;white-space:pre-wrap}.reusable-character-stories{scroll-margin-top:28px}.reusable-character-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.reusable-character-story{min-width:0;display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:14px;padding:10px;color:var(--ink);background:var(--paper);border:0;border-radius:15px;font:inherit;text-align:left;cursor:pointer}.reusable-character-story:hover,.reusable-character-story:focus-visible{background:var(--card-hover)}.reusable-character-story:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.reusable-character-story-art{width:92px;aspect-ratio:4 / 5;display:grid;place-items:center;overflow:hidden;color:var(--muted);background:var(--card);border-radius:11px}.reusable-character-story-art img{width:100%;height:100%;object-fit:cover}.reusable-character-story-art svg{width:25px;height:25px}.reusable-character-story>span:last-child{min-width:0;display:grid;gap:6px}.reusable-character-story strong{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.reusable-character-story small{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:13px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.reusable-character-loading,.reusable-character-error{min-height:70vh;display:grid;place-content:center;justify-items:center;gap:12px;color:var(--muted)}.story-cast-chooser{width:min(100%,820px)}.story-cast-chooser-slots{display:grid;gap:18px;margin-top:24px}.story-cast-slot{display:grid;gap:12px;padding:18px;background:var(--card);border-radius:18px}.story-cast-slot h3{margin:0;font-size:19px}.story-cast-slot p{margin:5px 0;color:var(--muted);line-height:1.45}.story-cast-slot>div:first-child>small{color:var(--muted);font-size:12px;text-transform:uppercase}.story-cast-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.story-cast-options>button:not(.story-cast-clear){min-height:68px;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:10px;color:var(--ink);background:var(--paper);border:2px solid transparent;border-radius:13px;text-align:left}.story-cast-options>button:hover{background:color-mix(in srgb,var(--paper) 88%,white)}.story-cast-options>button.selected{border-color:var(--ink)}.story-cast-options>button>span:first-child{width:44px;height:44px;overflow:hidden;display:grid;place-items:center;background:var(--card);border-radius:10px}.story-cast-options img{width:100%;height:100%;object-fit:cover}.story-cast-options>button>span:nth-child(2){min-width:0;display:grid;gap:3px}.story-cast-options small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.story-cast-options em{color:var(--muted);font-size:13px;font-style:normal;line-height:1.35}.story-cast-clear{justify-self:start;padding:8px 0;color:var(--muted);background:transparent;border:0}.story-cast-chooser>footer{display:flex;justify-content:flex-end;gap:9px;padding-top:22px}.story-cast-chooser>footer button{min-height:46px;padding:0 18px;border-radius:13px;font:inherit;font-weight:750}.world-enter .world-chat-actions{width:100%}.world-thread-meta{display:flex;flex-wrap:wrap;gap:4px 12px}.mobile-create-menu{align-self:end;width:min(100%,560px);padding:18px;color:var(--ink);background:var(--card);border-radius:24px 24px 0 0;box-shadow:0 -20px 64px #00000073}.mobile-create-menu>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 4px 16px}.mobile-create-menu h2{margin:0;font-size:22px}.mobile-create-menu header button{width:40px;height:40px;display:grid;place-items:center;padding:0;color:var(--muted);background:var(--paper);border:0;border-radius:50%}.mobile-create-menu>div{display:grid;gap:6px}.mobile-create-menu>div>button{min-height:76px;display:grid;grid-template-columns:28px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:12px;color:var(--ink);background:transparent;border:0;border-radius:13px;text-align:left}.mobile-create-menu>div>button:hover{background:color-mix(in srgb,var(--ink) 7%,transparent)}.mobile-create-menu>div>button>span{display:grid;gap:4px}.mobile-create-menu small{color:var(--muted);line-height:1.35}@media(max-width:900px){.creator-character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reusable-character-hero{grid-template-columns:1fr}.reusable-character-hero{min-height:0;padding-top:36px}.reusable-character-art{width:min(100%,420px)}}@media(max-width:1439px){.character-portrait-generator{width:100%;min-width:0}.character-portrait-generator-scroll>*{box-sizing:border-box;width:min(100%,640px);margin-inline:auto}.character-portrait-mobile-manager{min-width:0;display:grid;gap:12px}.character-portrait-mobile-manager>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.character-portrait-mobile-manager>header strong{color:var(--ink);font-size:15px;font-weight:650}.character-portrait-mobile-manager>header small{color:var(--muted);font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}.character-portrait-manager-strip{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.character-portrait-manager-thumbnail,.character-portrait-manager-add,.character-portrait-manager-empty{position:relative;min-width:0;aspect-ratio:3 / 4;overflow:hidden;display:grid;place-items:center;padding:0;color:var(--muted);background:var(--card);border:0;border-radius:11px}.character-portrait-manager-thumbnail{cursor:grab;touch-action:none}.character-portrait-manager-thumbnail.cover{cursor:pointer;touch-action:auto}.character-portrait-manager-thumbnail:active{cursor:grabbing}.character-portrait-manager-thumbnail.selected{box-shadow:inset 0 0 0 2px var(--ink)}.character-portrait-manager-thumbnail.dragging{z-index:2;opacity:.72;box-shadow:0 12px 28px #0000005c}.character-portrait-manager-thumbnail img{width:100%;height:100%;object-fit:cover}.character-portrait-manager-thumbnail>span{position:absolute;top:5px;left:5px;padding:3px 5px;color:#17181c;background:#fafafcf0;border-radius:var(--radius-pill);font-size:12px;font-weight:700}.character-portrait-manager-add{gap:4px;font:inherit;font-size:12px;font-weight:650}.character-portrait-manager-add:hover,.character-portrait-manager-add:focus-visible{color:var(--ink);background:var(--card-hover)}.character-portrait-manager-add svg{width:17px;height:17px}.character-portrait-manager-empty{opacity:.42}.character-portrait-manager-tools{display:flex;align-items:center;gap:8px}.character-portrait-manager-tools>button,.character-portrait-manager-tools>label{position:relative;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.character-portrait-manager-tools>button:hover,.character-portrait-manager-tools>label:not([aria-disabled=true]):hover{background:var(--card-hover)}.character-portrait-manager-tools>label[aria-disabled=true]{cursor:not-allowed;opacity:.5}.character-portrait-manager-tools svg,.character-portrait-manager-tools .character-editor-upload-spinner{width:16px;height:16px}.character-portrait-manager-tools small{min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;color:var(--muted);background:var(--paper);border-radius:var(--radius-pill);font-size:12px;font-weight:650}.character-portrait-manager-tools input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}}@media(max-width:640px){.character-studio-header{padding:0 14px}.studio-visibility-trigger>span{display:none}.character-studio{width:min(calc(100% - 28px),760px);padding:32px 0 210px}.character-studio-shell .character-studio-heading{min-height:0;background-image:none}.character-studio-shell .character-studio-heading :is(h1,p){max-width:none}.character-portrait-section-head{align-items:stretch;flex-direction:column;gap:12px}.character-portrait-generation-controls{grid-template-columns:minmax(0,1fr)}.character-portrait-generation-controls>.studio-portrait-specifics,.character-portrait-generation-controls>.studio-image-flow-note{grid-column:1}.character-portrait-generator>header{min-height:68px;padding:max(10px,env(safe-area-inset-top)) 16px 10px}.character-portrait-generator>header h2{font-size:17px}.character-portrait-generator>header p{display:none}.character-portrait-generator-scroll{gap:16px;padding:16px 16px 48px;scroll-padding-block:16px 48px}.character-portrait-manager-strip{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;overflow:visible;padding:0}.character-portrait-manager-empty{display:none}.character-portrait-generator-history-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.character-portrait-generator-history-grid .character-portrait-actions{right:5px;bottom:5px;gap:3px}.character-portrait-generator-history-grid .character-portrait-actions>button{width:30px;height:30px}.character-portrait-generator-history-grid .character-portrait-actions>button svg{width:14px;height:14px}.character-portrait-generator .character-portrait-generation-footer{margin:0;padding:12px 16px max(16px,env(safe-area-inset-bottom))}.character-editor-portrait-preview{width:140px}.character-portrait-library>article{width:calc((100% - 28px) / 3)}.character-portrait-saved-library>article,.character-portrait-saved-library>article:not(.primary){width:100%}.character-portrait-empty-slot.at-limit{grid-column:auto}.character-studio-shell .studio-portrait-specifics textarea{height:auto;min-height:116px}.character-studio-shell .character-portrait-generator .studio-portrait-specifics{grid-template-rows:auto 108px auto}.character-studio-shell .character-portrait-generator .studio-portrait-specifics textarea{flex-basis:108px;height:108px;min-height:108px;max-height:108px}.character-studio-shell .character-portrait-generator .character-portrait-appearance{grid-template-rows:auto 124px auto}.character-studio-shell .character-portrait-generator .character-portrait-appearance textarea{flex-basis:124px;height:124px;min-height:124px;max-height:124px}.character-studio-shell .studio-image-style-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}.character-editor-inline{grid-template-columns:1fr}.character-field-meta{gap:12px}.character-field-meta>span:first-child{max-width:75%}.character-editor-footer{bottom:calc(var(--mobile-nav-height) + 12px);padding:10px 10px 10px 14px}.character-editor-footer-status{display:none}.character-editor-footer>button:last-child{flex:1}.character-studio-shell .studio-image-flow-backdrop{place-items:end center;padding:0}.character-studio-shell .studio-image-flow{width:100%;max-height:94dvh;gap:20px;padding:20px 16px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.character-studio-shell .character-portrait-workspace{width:calc(100% + 28px);max-height:none;margin-inline:-14px;padding:20px 16px;overflow:visible;border-radius:20px}.character-studio-shell .studio-portrait-compact-layout{grid-template-columns:minmax(0,1fr);gap:14px}.character-studio-shell .studio-portrait-compact-layout .studio-image-flow-preview{width:140px}.character-studio-shell .studio-portrait-style-trigger{grid-template-columns:34px minmax(0,1fr) 18px;gap:9px;min-height:56px}.character-studio-shell .studio-portrait-style-trigger>img{width:34px}.character-studio-shell .studio-portrait-style-menu{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:96px;overflow-x:auto}.character-studio-shell .studio-image-flow-layout{grid-template-columns:minmax(0,1fr)}.character-studio-shell .studio-image-flow-preview{position:relative;top:auto}.character-studio-shell .studio-image-flow-preview,.character-studio-shell .studio-image-flow-preview>img{min-height:280px;max-height:360px}.character-studio-shell .studio-image-flow-fields .studio-image-style-picker>div{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:112px;overflow-x:auto;padding-bottom:4px}.character-studio-shell .studio-image-flow>footer{position:sticky;bottom:calc(-1*max(20px,env(safe-area-inset-bottom)));margin:0 -16px calc(-1*max(20px,env(safe-area-inset-bottom)));padding:12px 16px max(16px,env(safe-area-inset-bottom));background:var(--card)}.character-studio-shell .character-portrait-workspace>footer{position:static;margin:0;padding:0;background:transparent}.character-studio-shell .studio-image-flow>footer button.primary{flex:1}.creator-library-resources .creator-library-archive-filter{margin-left:0}.creator-character-grid{grid-template-columns:1fr}.character-story-picker-backdrop,.story-cast-chooser-backdrop{align-items:end;padding:0}.character-story-picker,.story-cast-chooser{width:100%;max-height:88vh;box-sizing:border-box;border-radius:24px 24px 0 0}.reusable-character-page{padding:64px 18px 100px}.reusable-character-story-grid{grid-template-columns:1fr}.reusable-character-back{top:14px;left:14px}.reusable-character-art{width:100%;border-radius:22px}.reusable-character-heading h1{font-size:48px}.story-cast-options{grid-template-columns:1fr}.story-cast-chooser>footer{position:sticky;bottom:-22px;margin:0 -22px -22px;padding:14px 22px max(14px,env(safe-area-inset-bottom));background:var(--paper)}.mobile-create-menu-backdrop{align-items:end;padding:0}.mobile-create-menu{box-sizing:border-box;padding-bottom:max(18px,env(safe-area-inset-bottom))}}.chat-header .chat-gem-balance{display:none}@media(max-width:640px){.chat-header .chat-tools-trigger{display:none}.app-shell.view-chat .chat-header-floating{grid-template-columns:44px minmax(0,1fr) auto}.chat-header .chat-gem-balance{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;min-width:68px;min-height:40px;padding:6px 10px;border:0;border-radius:var(--radius-pill);background:var(--card);color:var(--ink);font:inherit;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer}.chat-header .chat-gem-balance:hover{background:#34343a}.chat-gem-balance img{flex:0 0 24px;width:24px;height:24px;object-fit:contain}}.messages.messages-positioning>.chat-startup-state{visibility:visible}.chat-startup-state{width:min(100%,480px);margin:auto;padding:28px 24px;display:grid;gap:16px;background:var(--card, #22242a);border-radius:18px;color:var(--ink, #f4f4f5)}.chat-startup-state h1,.chat-startup-state h2,.chat-startup-state p{margin:0}.chat-startup-state p{color:var(--muted, #aaaab2);line-height:1.5}.chat-startup-actions{display:flex;flex-wrap:wrap;gap:12px}.chat-startup-actions button,.chat-startup-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:var(--button-height, 44px);padding:0 var(--button-padding, 20px);border-radius:var(--radius-pill, 999px);font:inherit;font-size:var(--type-control, 14px);font-weight:650;line-height:1;text-decoration:none;cursor:pointer;transition:color var(--motion-fast, .16s) ease,background-color var(--motion-fast, .16s) ease}.chat-startup-actions .primary{color:var(--action-fg, #17181c);background:var(--action-bg, #f7f7f8);border:0}.chat-startup-actions .primary:hover{background:var(--action-hover, #dedee3)}.chat-startup-actions button.secondary,.chat-startup-actions a.secondary{color:var(--ink, #f7f7f8);background:var(--control-outline-bg, rgba(255, 255, 255, .045));border:0}.chat-startup-actions button.secondary:hover,.chat-startup-actions a.secondary:hover{background:var(--control-outline-bg-hover, rgba(255, 255, 255, .08))}.chat-startup-actions a:focus-visible{outline:3px solid rgba(206,111,88,.25);outline-offset:2px}.app-error-state{min-height:100svh;padding:24px;display:grid;background:#111113;color:#f4f4f5}.chat-info-cast article{align-items:start;padding-block:7px}.chat-info-cast .chat-info-cast-identity{padding-top:2px}.cast-relationship{position:relative;min-width:0;margin-top:4px}.cast-relationship-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:36px;padding:4px 0;border:0;border-radius:6px;background:transparent;text-align:left;cursor:pointer;color:#a9a9b3;font:inherit;font-size:12px;-webkit-tap-highlight-color:transparent}.cast-relationship-trigger:hover{background:#252529}.cast-relationship-trigger:focus-visible{outline:2px solid var(--accent, #ea4c89);outline-offset:3px}.cast-relationship-label{display:inline-flex;align-items:center;gap:5px}.cast-relationship-stage{color:#e8b3cb;text-align:right;font-weight:600}.cast-relationship-track{height:5px;overflow:hidden;border-radius:999px;background:#303037}.cast-relationship-track>span{display:block;height:100%;border-radius:inherit;background:#e56b9e;transition:width .3s ease}.cast-relationship-tooltip{position:absolute;z-index:8;top:100%;left:-51px;right:0;padding:14px 16px;border-radius:12px;background:#2c2c33;color:#eeeef2;box-shadow:0 8px 28px #0006;font-size:12px;line-height:1.55}.cast-relationship-tooltip p{margin:0}.cast-relationship-tooltip p+p{margin-top:8px;color:#bbbbc6}.cast-relationship-tooltip .cast-relationship-paused{color:#efc7a0}.cast-relationship-retry{margin-top:12px;padding:8px 0;border:0;background:transparent;color:#bdbdc7;font:inherit;font-size:12px;text-align:left;cursor:pointer}.cast-relationship-retry:hover{color:#fff}@media(pointer:coarse){.cast-relationship-trigger{min-height:44px}}@media(pointer:coarse){.blueprint-page .studio-sample-pager>button,.character-studio-shell .studio-sample-pager>button,.blueprint-entry-remove,.character-marker-remove{width:44px;height:44px}.blueprint-page .studio-sample-actions>button,.character-studio-shell .studio-sample-actions>button{min-height:44px}.blueprint-page .studio-field-help>button,.character-studio-shell .studio-field-help>button{position:relative}.blueprint-page .studio-field-help>button:after,.character-studio-shell .studio-field-help>button:after{content:"";position:absolute;top:50%;left:50%;width:44px;height:44px;transform:translate(-50%,-50%)}.character-studio-shell .studio-field-generate{width:34px;height:34px}.blueprint-toggle{min-height:44px;align-items:center}}@media(prefers-reduced-motion:reduce){.cast-relationship-track>span{transition:none}}[data-drawer-closing=true]{pointer-events:none}.memory-setting .profile-theme-toggle{flex:0 0 auto}.memory-setting label>span{min-width:0}.memory-setting>label{flex-direction:row;align-items:center;padding:16px;border:0}.memory-setting strong{font-size:14px}.memory-setting small{font-size:13px;line-height:1.45}.studio-marker-budget{padding:16px;border-radius:14px;background:var(--card)}.studio-marker-budget p{display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;margin:0 0 6px}.studio-marker-budget small{color:var(--muted)}.world-quest-editor{margin-block:24px;padding:20px;background:var(--card);border-radius:18px}.world-quest-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.world-quest-heading h3{display:flex;align-items:center;gap:8px;margin:0}.world-quest-heading>span,.world-quest-help,.world-quest-editor>p,.quest-progress>p{color:var(--muted);font-size:13px;line-height:1.6}.world-quest-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.world-quest-modes button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;padding:16px;border:0;border-radius:12px;background:#303036;color:inherit}.world-quest-modes button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #dc82ad}.world-quest-modes button span{font-size:12px;line-height:1.5;color:var(--muted)}.world-quest-editor button:hover{background:#46464e}.world-quest-editor button:disabled{opacity:.4;cursor:not-allowed}.quest-progress{padding-bottom:24px}.quest-progress progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:5px;margin-top:14px;border:0;border-radius:8px;overflow:hidden;background:#3c3c44}.quest-progress progress::-webkit-progress-bar{background:#3c3c44}.quest-progress progress::-webkit-progress-value{background:#dc82ad;border-radius:8px}.quest-progress progress::-moz-progress-bar{background:#dc82ad;border-radius:8px}.quest-progress-list>li{display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:16px;background:#303036;overflow-wrap:anywhere}.quest-progress-symbol{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#45404a;color:#efa4c8}.quest-progress-list h4{margin:6px 0;font-size:15px}.quest-progress-list p{margin:0;font-size:13px;line-height:1.65;white-space:pre-wrap}.quest-progress-status,.quest-progress-list time{font-size:12px;color:var(--muted)}.quest-progress-list time{display:block;margin-top:10px}@media(max-width:480px){.world-quest-modes{grid-template-columns:1fr}.world-quest-editor{padding:14px}}.chat-quest-trigger{position:absolute;z-index:14;top:80px;right:14px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:16px;background:#2b2b31;color:#f2abc9;box-shadow:0 4px 16px #0005;cursor:pointer}.chat-quest-trigger:hover{background:#393940}.chat-quest-trigger:focus-visible{outline:2px solid #f2abc9;outline-offset:3px}.chat-quest-drawer .quest-progress>.world-quest-heading h3{display:none}.chat-quest-drawer .quest-progress>.world-quest-heading{justify-content:flex-end}@media(min-width:1300px){.chat-info-open .chat-quest-trigger{top:12px;right:calc(var(--chat-info-width) + 14px)}}.story-template-picker{gap:24px}.story-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.story-template-grid>button{min-height:168px;display:grid;grid-template-rows:auto 1fr auto;align-items:start;gap:10px;padding:20px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:18px;font:inherit}.story-template-grid>button:not(:disabled):hover{background:var(--card-hover)}.story-template-grid>button:disabled{cursor:not-allowed;opacity:.6}.story-template-grid>button>strong{font-size:16px;font-weight:600;line-height:1.3}.story-template-summary{color:var(--muted);font-size:14px;line-height:1.55}.story-template-go{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:13px;font-weight:600}.story-template-grid>button:not(:disabled):hover .story-template-go{color:var(--ink)}.story-template-blank{display:flex;justify-content:center}.story-template-blank>button{min-height:44px;padding:0 8px;color:var(--muted);background:transparent;border:0;font:inherit;font-size:14px;font-weight:500;text-decoration:underline;text-underline-offset:3px}.story-template-blank>button:not(:disabled):hover{color:var(--ink);background:transparent}.story-template-blank>button:disabled{cursor:not-allowed;opacity:.6}@media(max-width:860px){.story-template-grid{grid-template-columns:minmax(0,1fr)}.story-template-grid>button{min-height:0}}.story-prompt-start{display:grid;gap:9px}.story-prompt-start h2{margin:0;color:var(--ink);font-size:14px;font-weight:600}.story-prompt-start>p{margin:-3px 0 0;color:var(--muted);font-size:14px;line-height:1.55}.story-prompt-start textarea{box-sizing:border-box;width:100%;padding:13px 15px;resize:vertical;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-field);outline:none;font:inherit;font-size:15px;line-height:1.55}.story-prompt-start textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.story-prompt-start textarea::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.story-prompt-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.story-prompt-actions>small{color:var(--muted);font-size:13px}.story-prompt-actions>button{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;color:var(--action-fg);background:var(--action-bg);border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.story-prompt-actions>button:not(:disabled):hover{background:var(--action-hover)}.story-prompt-actions>button:disabled{cursor:not-allowed;opacity:.6}@media(max-width:860px){.story-prompt-actions>button{width:100%;justify-content:center}}:is(.creator-wizard-shell,.creator-editor-parity,.creator-library){color:var(--ink);overflow-wrap:anywhere}:is(.creator-wizard-shell,.creator-editor-parity,.creator-library) :focus-visible{outline:2px solid var(--accent-solid);outline-offset:3px}:is(.creator-wizard-shell,.creator-editor-parity,.creator-library) :is(button,input,textarea,select){font-family:inherit}:is(.creator-wizard-shell,.creator-editor-parity,.creator-library) :is(button,label,input,textarea,select){min-width:0}:is(.creator-wizard-shell,.creator-editor-parity,.creator-library) button:disabled{cursor:not-allowed;opacity:.6}.creator-wizard-shell .brand-beta,.creator-library .brand-beta{height:18px;font-size:13px}.creator-workspace-brand{display:flex;align-items:center}.wizard-content{width:100%;min-width:0;margin-inline:auto}.wizard-options span,.wizard-save-state{color:var(--muted)}.wizard-outline.accent,.wizard-token-note code{color:var(--accent-dark)}[data-theme=light] .wizard-error,[data-theme=light] .creator-editor-parity .studio-remove-character{color:#b42344}.wizard-character-details p,.wizard-modal label{color:var(--ink)}.wizard-character-mobile-nav{border-color:var(--line);background:var(--card)}.wizard-character-mobile-nav>button{color:var(--ink);border-color:var(--line);background:var(--paper)}.wizard-counter .wizard-primary{width:auto;min-width:140px;min-height:44px}.wizard-concept-title input{height:52px;padding-inline:18px;font-size:16px}.wizard-concept-title>span{font-size:14px}.wizard-creative-direction input{height:48px;padding-inline:18px;font-size:16px}.wizard-creative-direction>button{min-height:48px}.wizard-concept textarea{height:clamp(260px,40dvh,360px);min-height:260px;max-height:60dvh;padding:18px 84px 18px 18px;font-size:16px;line-height:1.6;resize:vertical}.wizard-vibes>button{min-height:100px}.wizard-primary,.wizard-outline,.wizard-dashed{font-size:15px;min-height:48px}.wizard-primary:not(:disabled),.creator-editor-parity .studio-save .primary,.creator-editor-parity .publish-button{color:var(--action-fg);background:var(--action-bg)}.wizard-step{gap:16px}.wizard-options{padding:0;gap:12px}.wizard-options>button{padding:18px;min-height:120px}.wizard-options strong,.wizard-vibes strong{font-size:16px}.wizard-options span,.wizard-vibes span{font-size:14px;line-height:1.6}.wizard-options+.wizard-dashed,.wizard-options~.wizard-primary{width:100%;margin:0}.wizard-character-card{margin-inline:0}.wizard-character-details p{font-size:15px;line-height:1.7}.wizard-character-details{padding:0;gap:10px}.wizard-image-edit,.wizard-regenerate,.wizard-upload,.wizard-skip-action{min-height:44px;display:inline-flex;align-items:center;gap:8px;width:fit-content;padding:0;color:var(--muted);border:0;background:transparent;font:inherit;font-weight:650;cursor:pointer}.wizard-image-edit{margin-top:8px;color:var(--accent-dark)}.wizard-image-edit:hover,.wizard-regenerate:hover,.wizard-upload:hover,.wizard-skip-action:hover{color:var(--ink)}.wizard-image-utilities{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}.wizard-image-utilities svg{width:18px;height:18px}.wizard-character-art-copy p,.wizard-player-role-card p{font-size:13px}.wizard-image-primary,.wizard-image-secondary,.wizard-character-edit,.wizard-portrait-batch>button{min-height:44px;font-size:13px;font-weight:400}.creator-refinement.compact{margin:4px 0 0;padding:0;border:0;border-radius:0;background:transparent}.creator-refinement.compact button:not(.primary):not(.secondary){min-height:40px;padding:0;color:var(--muted);border:0;border-radius:0;background:transparent}.wizard-modal{width:min(100%,680px);gap:20px}.wizard-modal input,.wizard-modal textarea,.wizard-modal select{font-size:16px;font-weight:400;line-height:1.6}.wizard-modal header{position:sticky;top:-20px;z-index:1;padding-block:12px;background:var(--wizard-panel)}.wizard-modal label{font-size:14px}.wizard-modal header button{width:44px;height:44px;flex-shrink:0}.wizard-token-note{flex-wrap:wrap}.creator-refinement,.wizard-revision-review{margin-inline:0}.creator-context-tags{display:flex;flex-wrap:wrap;gap:7px}.creator-context-tags>span{padding:6px 10px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:13px;line-height:1.4}@media(max-width:999px){.wizard-character-card{grid-template-columns:minmax(0,1fr)}.wizard-character-art-panel{grid-template-columns:minmax(112px,34vw) minmax(0,1fr);align-items:start}.wizard-character-hero{grid-column:1;grid-row:1 / span 4;width:100%}.wizard-character-art-copy,.wizard-portrait-strip,.wizard-character-art-actions{grid-column:2}.wizard-character-art-actions{align-self:end}.wizard-player-role-card{grid-template-columns:42px minmax(0,1fr)}.wizard-player-role-card>button{grid-column:1 / -1;min-height:42px;color:var(--ink);border:1px solid var(--line);border-radius:12px;background:transparent;font:inherit;font-weight:400}.wizard-portrait-batch{align-items:stretch}.wizard-portrait-batch>button{width:100%;justify-content:center}}.creator-library{width:min(100%,1440px);min-height:100dvh;padding:clamp(20px,4vw,56px);margin:0 auto;border:0;border-radius:0}.creator-library-masthead{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:48px}.creator-library>header{margin-bottom:32px}.creator-library>header p{margin:10px 0 0;font-size:16px}.creator-library h1{font-size:clamp(28px,3vw,42px)}.creator-library .creator-hub-filters button{min-height:44px;font-size:14px}.creator-library .creator-hub-drafts{padding:0;max-height:none;overflow:visible;gap:20px}.creator-library .creator-hub-drafts>button:not(.creator-sourcebook-card){min-height:260px;padding:24px}.creator-library .creator-hub-drafts>button:not(.creator-sourcebook-card)>span{font-size:14px;line-height:1.6;flex:initial;min-height:4.8em;max-height:4.8em;margin-bottom:auto}.creator-library .creator-hub-empty{min-height:360px;border:1px dashed var(--line-strong);border-radius:24px;margin-top:24px}.creator-library .creator-hub-empty strong{font-size:24px}.creator-editor-parity{background:var(--paper);color:var(--ink)}.creator-editor-parity .studio-header{min-height:76px;flex-basis:auto;padding:12px clamp(16px,3vw,48px);background:var(--paper);color:var(--ink);border-color:var(--line);gap:16px}.creator-editor-parity .studio-header>div:first-child{min-width:0;flex-wrap:wrap;column-gap:20px;row-gap:4px}.creator-editor-parity .studio-header>div:first-child>button{min-width:0;max-width:100%;min-height:44px;color:var(--ink);font-size:20px}.studio-document-title{max-width:min(42vw,500px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creator-editor-parity .studio-autosave{color:var(--muted)}.creator-editor-parity .studio-save{flex-shrink:0}.creator-editor-parity .studio-save button{min-height:44px}.creator-editor-parity .studio-save .secondary{background:var(--card);color:var(--ink);border:0}.creator-editor-parity .studio-tabs{padding:0 clamp(16px,3vw,48px);gap:24px;min-height:54px;flex-basis:54px;background:var(--paper);border-color:var(--line);overflow-x:auto}.creator-editor-parity .studio-tabs button{flex:0 0 auto;min-height:48px;color:var(--muted);font-size:15px;padding-inline:4px}.creator-editor-parity .studio-tabs button.active{color:var(--accent-dark);border-color:var(--accent)}.creator-editor-parity .studio-tabs .studio-more-tabs{margin-left:auto;color:var(--accent-dark)}.creator-editor-parity .studio-tabs .studio-more-tabs:before{content:"+";margin-right:6px}.creator-editor-parity .studio-tabs .studio-more-tabs[aria-expanded=true]:before{content:"−"}.creator-editor-parity .creator-review-toolbar,.creator-editor-parity .creator-readiness{padding-inline:clamp(16px,3vw,48px)}.creator-editor-stats{display:flex;flex:1 1 240px;gap:8px;margin:0}.creator-editor-stats>div{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:7px;min-height:40px;padding:7px 11px;border:1px solid var(--line);border-radius:10px;background:var(--card)}.creator-editor-stats dt{color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.06em}.creator-editor-stats dd{margin:0;color:var(--ink);font-size:13px;font-weight:650}.creator-editor-parity .creator-readiness{flex-shrink:0;max-height:35dvh;overflow-y:auto}.creator-editor-parity .studio-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,900px);justify-content:center;align-items:start;gap:32px;padding:32px clamp(16px,3vw,48px) 64px;overflow-y:auto;background:var(--paper)}.creator-editor-parity .studio-canvas{width:100%;max-width:none;min-width:0;padding:0;overflow:visible}.creator-editor-parity .studio-section,.creator-editor-parity .studio-mobile-panel{background:var(--card);color:var(--ink);border:0;border-radius:20px;padding:clamp(18px,2vw,32px)}.creator-editor-parity :is(.studio-fields,.studio-advanced-fields) :is(input,textarea,select){background:var(--paper);color:var(--ink);border:0;border-radius:12px;font-size:15px;line-height:1.6;padding:13px 15px}.creator-editor-parity .studio-fields input:not([type=range]),.creator-editor-parity .studio-fields textarea,.creator-editor-parity .studio-fields select{background:var(--paper);color:var(--ink);border:0;border-radius:12px;font-weight:400}.creator-editor-parity .studio-section-title h2{color:var(--ink)}.creator-editor-parity .studio-section-title p,.creator-editor-parity .field-hint{color:var(--muted)}.creator-editor-parity .lore-entry{color:var(--ink);background:var(--paper);border-color:var(--line)}.creator-editor-parity .publish-options>button{color:var(--ink);background:var(--card);border:0}.creator-editor-parity .publish-options>button.active{color:var(--ink);background:var(--card-hover);border:0}.creator-editor-parity .publish-options small,.creator-editor-parity .publish-checks span{color:var(--muted)}.creator-editor-parity :is(.studio-fields,.studio-advanced-fields) label{color:var(--ink);font-size:14px;gap:9px}.creator-editor-parity :is(.studio-fields,.studio-advanced-fields) small{color:var(--muted)}.creator-editor-parity :is(.studio-mobile-heading,.studio-section h2){color:var(--ink);font-size:22px;scroll-margin-top:24px}.creator-editor-parity .studio-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.creator-editor-parity .studio-inline>*{min-width:0;width:100%}.creator-editor-parity .studio-progressive-details{min-width:0;padding:0 16px;background:var(--paper);border-radius:14px}.creator-editor-parity .studio-shared-image-direction{padding:0;background:transparent;border-radius:0}.creator-editor-parity .studio-shared-image-direction>.studio-progressive-content{padding-bottom:0}.creator-editor-parity .studio-cast-template-picker{min-width:0;background:var(--paper);border-radius:14px}.creator-editor-parity .studio-cast-template-picker>summary{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;cursor:pointer;list-style:none}.creator-editor-parity .studio-cast-template-picker>summary::-webkit-details-marker{display:none}.creator-editor-parity .studio-cast-template-picker>summary>span{min-width:0;display:grid;gap:3px}.creator-editor-parity .studio-cast-template-picker>summary strong{color:var(--ink);font-size:14px;font-weight:650}.creator-editor-parity .studio-cast-template-picker>summary small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.4}.creator-editor-parity .studio-cast-template-picker>summary:after{content:"+";flex:0 0 auto;color:var(--muted);font-size:19px;font-weight:400}.creator-editor-parity .studio-cast-template-picker[open]>summary:after{content:"−"}.creator-editor-parity .studio-cast-template-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 8px 8px}.creator-editor-parity .studio-cast-template-picker>div>button{min-height:92px;display:grid;align-content:center;gap:5px;padding:14px;color:var(--ink);background:var(--card);border:0;border-radius:11px;font:inherit;text-align:left}.creator-editor-parity .studio-cast-template-picker>div>button:hover:not(:disabled){background:var(--card-hover)}.creator-editor-parity .studio-cast-template-picker>div>button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.creator-editor-parity .studio-cast-template-picker>div>button strong{font-size:14px;font-weight:650}.creator-editor-parity .studio-cast-template-picker>div>button span{color:var(--muted);font-size:13px;font-weight:400;line-height:1.45}.creator-editor-parity .studio-progressive-details>summary,.creator-editor-parity .studio-portrait-advanced>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--ink);font-size:14px;font-weight:600;cursor:pointer;list-style:none}.creator-editor-parity .studio-progressive-details>summary::-webkit-details-marker,.creator-editor-parity .studio-portrait-advanced>summary::-webkit-details-marker{display:none}.creator-editor-parity .studio-progressive-details>summary:after,.creator-editor-parity .studio-portrait-advanced>summary:after{content:"+";flex:0 0 auto;color:var(--muted);font-size:19px;font-weight:400}.creator-editor-parity .studio-progressive-details[open]>summary:after,.creator-editor-parity .studio-portrait-advanced[open]>summary:after{content:"−"}.creator-editor-parity .studio-progressive-content{display:grid;gap:16px;padding:2px 0 16px}.creator-editor-parity .studio-progressive-content>p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.creator-editor-parity .studio-progressive-content>label,.creator-editor-parity .studio-portrait-advanced>label{display:grid;gap:9px;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-progressive-content label>small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.creator-editor-parity .studio-progressive-content :is(input,textarea){box-sizing:border-box;width:100%;padding:13px 15px;color:var(--ink);background:var(--card);border:0;border-radius:12px;outline:none;font:inherit;font-size:15px;font-weight:400;line-height:1.55}.creator-editor-parity .studio-progressive-content :is(input,textarea):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.creator-editor-parity .studio-add-custom-genre{justify-self:start}.creator-editor-parity :is(.studio-wide-add,.studio-media-action,.studio-advanced-toggle,.add-entry){min-height:44px;color:var(--ink);background:var(--studio-action-surface);border:0;border-radius:14px;font-size:14px;font-weight:600}.creator-editor-parity :is(.studio-wide-add,.studio-media-action,.studio-advanced-toggle,.add-entry):hover:not(:disabled){background:var(--studio-action-hover)}.creator-editor-parity .add-entry{width:fit-content;margin:0;padding-inline:17px;border-radius:var(--radius-pill)}.creator-editor-parity :is(.studio-policy,.studio-prompt-count,.studio-player-profiles>p,.studio-examples>p,.studio-tip,.studio-section>header p){color:var(--muted)}.creator-editor-parity .studio-tip{font-size:14px;line-height:1.5}.creator-editor-parity .studio-prompt-count{text-align:left;padding:0;border:0}.creator-editor-parity .studio-character-profile{scroll-margin-top:24px}.studio-essentials-heading{padding:4px 0 6px}.studio-essentials-heading>span{color:var(--accent-dark);font-size:13px;font-weight:750;letter-spacing:.11em}.studio-essentials-heading h2{margin:8px 0 6px;color:var(--ink);font-size:clamp(25px,4vw,34px);line-height:1.15;letter-spacing:-.03em}.studio-essentials-heading p{max-width:620px;margin:0;color:var(--muted);font-size:14px;line-height:1.65}.creator-editor-parity .studio-name-field{min-width:0;margin:0;display:grid;gap:14px}.creator-editor-parity .studio-name-field>label,.creator-editor-parity .studio-localized-names label{display:grid;gap:9px;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-localized-names{min-width:0;margin:0;padding:0;display:grid;gap:10px}.creator-editor-parity .studio-localized-names summary{min-height:30px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;font-weight:600;cursor:pointer;list-style:none}.creator-editor-parity .studio-localized-names summary::-webkit-details-marker{display:none}.creator-editor-parity .studio-localized-names summary:after{content:"+";color:var(--muted);font-size:18px;font-weight:400}.creator-editor-parity .studio-localized-names[open] summary:after{content:"−"}.creator-editor-parity .studio-localized-names>small{color:var(--muted);font-size:14px;line-height:1.5}.creator-editor-parity .studio-localized-names>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.creator-editor-parity .studio-image-field{display:grid;gap:9px;margin:0}.creator-editor-parity .studio-image-field>span{color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-image-requirement{max-width:340px;color:var(--muted);font-size:14px;line-height:1.5}.creator-editor-parity .studio-image-gallery{display:grid;grid-template-columns:repeat(2,124px);gap:10px}.creator-editor-parity :is(.studio-main-image,.studio-add-image){box-sizing:border-box;width:124px;height:124px;display:grid;align-content:center;justify-items:center;gap:9px;padding:14px;color:var(--muted);background:var(--card);border:0;border-radius:14px;font:inherit;font-size:13px;font-weight:600;line-height:1.35;cursor:pointer}.creator-editor-parity :is(.studio-main-image,.studio-add-image):before{content:"";position:absolute;z-index:3;top:1px;right:1px;bottom:1px;left:1px;pointer-events:none;opacity:0;border:1px solid rgba(224,223,228,.24);border-radius:13px;transition:opacity .48s cubic-bezier(.2,.65,.25,1)}.creator-editor-parity :is(.studio-main-image,.studio-add-image):after{content:"";position:absolute;z-index:4;top:1px;right:1px;bottom:1px;left:1px;padding:2px;pointer-events:none;opacity:0;background:conic-gradient(from var(--creator-card-ring-angle),transparent 0 25%,rgba(246,245,248,.14) 32%,rgba(250,249,251,.72) 39%,rgba(176,174,183,.24) 47%,transparent 59% 100%);border-radius:13px;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;transition:opacity .48s cubic-bezier(.2,.65,.25,1)}.creator-editor-parity .studio-main-image:hover:not(:disabled),.creator-editor-parity .studio-add-image:not([aria-disabled=true]):hover{color:var(--ink);background:var(--card-hover)}.creator-editor-parity .studio-main-image:hover:not(:disabled):before,.creator-editor-parity .studio-main-image:focus-visible:before,.creator-editor-parity .studio-add-image:not([aria-disabled=true]):hover:before,.creator-editor-parity .studio-add-image:focus-within:before,.creator-editor-parity .studio-main-image:hover:not(:disabled):after,.creator-editor-parity .studio-main-image:focus-visible:after,.creator-editor-parity .studio-add-image:not([aria-disabled=true]):hover:after,.creator-editor-parity .studio-add-image:focus-within:after{opacity:1}.creator-editor-parity .studio-main-image:hover:not(:disabled):after,.creator-editor-parity .studio-main-image:focus-visible:after,.creator-editor-parity .studio-add-image:not([aria-disabled=true]):hover:after,.creator-editor-parity .studio-add-image:focus-within:after{animation:creator-card-ring-orbit 2.8s linear infinite}.creator-editor-parity .studio-main-image:focus-visible,.creator-editor-parity .studio-add-image:focus-within{outline:none}.creator-editor-parity :is(.studio-main-image,.studio-add-image)>svg{width:21px;height:21px;color:var(--muted)}.creator-editor-parity .studio-main-image>.studio-field-generate-icon{width:21px;height:21px;color:var(--muted)}.creator-editor-parity .studio-main-image:not(.has-image)>span:last-child{position:static;padding:0;color:inherit;background:transparent;font-weight:600}.creator-editor-parity .studio-main-image.has-image{border:0}.creator-editor-parity .studio-main-image:disabled,.creator-editor-parity .studio-add-image[aria-disabled=true]{cursor:not-allowed;opacity:.5}.creator-editor-parity .studio-add-image>span{display:grid;gap:2px}.creator-editor-parity .studio-add-image>span>strong{color:var(--ink);font-size:13px;font-weight:600}.creator-editor-parity .publish-options{flex-wrap:wrap}.creator-editor-parity .publish-options>button{min-width:0}.creator-editor-parity .studio-publish-actions{display:grid;gap:10px}.creator-editor-parity .studio-publish-actions>button{width:100%;min-width:0;margin:0}.creator-editor-parity .studio-rule{background:var(--paper);color:var(--ink);border-color:var(--line)}.creator-editor-parity .studio-rule small{color:var(--muted)}.creator-editor-parity .studio-preview .preview-copy{padding:24px}.creator-editor-parity .studio-preview .preview-copy h3{margin:18px 0 12px;color:var(--ink);font-size:25px;line-height:1.25}.creator-editor-parity .studio-preview .preview-copy p{color:var(--muted);font-size:14px;line-height:1.7}.creator-editor-parity .studio-preview .preview-copy button{width:100%;min-height:44px;margin-top:20px;color:var(--accent-dark);background:color-mix(in srgb,var(--accent) 10%,var(--card));border:1px solid var(--line);border-radius:10px}.creator-story-card{margin-top:16px;border:1px solid var(--line);border-radius:20px;background:var(--card)}.creator-editor-outline{padding:22px 0;display:grid;gap:5px}.creator-editor-outline h3{margin:0 0 8px;font-size:14px}.creator-editor-outline button{display:flex;gap:10px;align-items:center;min-height:44px;padding:10px 12px;border:0;border-radius:10px;color:var(--muted);background:transparent;text-align:left}.creator-editor-outline button:hover{background:var(--card);color:var(--ink)}@media(min-width:1000px){.creator-editor-parity .mobile-prompt-editor>.studio-mobile-panel>label:nth-child(2) textarea{height:210px;min-height:150px;resize:vertical}.wizard-header{grid-template-columns:28px minmax(0,1fr) auto;gap:12px}.wizard-header strong{text-align:left;font-size:19px}.wizard-header-label{display:inline;color:var(--muted);font-size:13px;letter-spacing:.1em}.wizard-progress{padding:18px 28px 0}.wizard-progress strong{font-size:14px}.wizard-concept textarea{min-height:320px}.wizard-orb-lead{grid-template-columns:115px minmax(0,1fr);align-items:center;gap:28px;padding:8px 8px 28px;margin:0}.wizard-orb-lead>p{width:100%;min-height:78px;padding:18px 24px;font-size:16px;line-height:1.6;text-align:left}.wizard-orb-lead>p:before{top:calc(50% - 8px);left:-8px;border-width:8px 8px 8px 0;border-color:transparent var(--wizard-raised) transparent transparent}.wizard-vibes{gap:14px}.wizard-vibes>button{padding:20px;min-height:122px}.wizard-character-card{--wizard-character-portrait-width: 220px;--wizard-character-card-radius: 20px;gap:16px}.wizard-character-details>header h2{font-size:26px}.wizard-character-details>header p{font-size:14px}.wizard-summary>div{padding:22px}.wizard-summary strong,.wizard-summary p{font-size:15px;line-height:1.7}.wizard-style-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.wizard-final-heading h2{font-size:28px}.wizard-final-heading p{font-size:14px}.wizard-final-preview{grid-template-columns:200px minmax(0,1fr);gap:18px;padding:18px}.wizard-final-art{grid-row:1 / span 2;width:200px}.wizard-final-copy>h2{font-size:27px}.wizard-final-premise{font-size:14px;-webkit-line-clamp:3}.wizard-final-details{grid-column:2;padding-top:12px}.wizard-final-opening>strong{font-size:14px}.wizard-final-opening>p{font-size:13px;-webkit-line-clamp:2}.wizard-final-cast li{grid-template-columns:40px minmax(0,1fr)}.wizard-final-cast li>img,.wizard-final-cast li>span{width:40px;height:40px}.wizard-final-cast li strong,.wizard-final-cast li small{font-size:13px}.wizard-modal-backdrop{padding:24px;align-items:center}.wizard-modal{max-height:calc(100dvh - 48px);border-radius:24px;padding:28px}.wizard-modal header{top:-28px}}@media(min-width:1100px){.creator-editor-parity .studio-publish-actions{grid-template-columns:repeat(3,minmax(180px,1fr));max-width:980px}.creator-editor-parity .studio-publish-actions>button{min-height:44px}.wizard-progress{padding-inline:40px}.wizard-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wizard-options>button{min-height:168px;padding:22px}.wizard-character-management{grid-template-columns:minmax(0,1fr);align-items:start;gap:20px}.wizard-character-mobile-nav{display:none}.wizard-cast-list{position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-content:start;gap:8px;min-width:0;padding:0;border:0;border-radius:0;background:transparent}.wizard-cast-list>small{grid-column:1 / -1;padding:0 2px 3px;color:var(--muted);font-size:13px;font-weight:400;letter-spacing:.06em}.wizard-cast-list>button{min-height:56px;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;color:var(--muted);border:1px solid var(--line);border-radius:14px;background:var(--card);font:inherit;text-align:left}.wizard-cast-list>button:hover{color:var(--ink);background:var(--paper)}.wizard-cast-list>button[aria-current=true]{color:var(--ink);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--paper))}.wizard-cast-list>button>svg{display:none}.wizard-cast-list-avatar{position:relative;isolation:isolate;width:38px;height:38px;display:grid;place-items:center;overflow:hidden;contain:paint;border:0;border-radius:11px;background-clip:padding-box;box-shadow:inset 0 0 0 1px var(--line);clip-path:inset(0 round 11px)}.wizard-cast-list-avatar:before,.wizard-cast-list-avatar:after{content:none!important;display:none!important}.wizard-cast-tone-0{background:#523147}.wizard-cast-tone-1{background:#27485a}.wizard-cast-tone-2{background:#563744}.wizard-cast-tone-3{background:#285047}.wizard-cast-list-avatar img{width:100%;height:100%;display:block;object-fit:cover}.wizard-cast-list-avatar svg{width:18px;height:18px;opacity:.68}.wizard-cast-list-copy{display:grid;gap:3px;min-width:0}.wizard-cast-list-copy strong,.wizard-cast-list-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-cast-list-copy strong{color:inherit;font-size:13px;font-weight:400}.wizard-cast-list-copy small{color:var(--muted);font-size:13px;font-weight:400}}@media(min-width:1280px){.creator-editor-parity .studio-body{grid-template-columns:minmax(0,860px) clamp(350px,25vw,380px)}.creator-editor-parity .studio-preview{display:block;position:sticky;top:0;width:auto;min-width:0;max-height:calc(100dvh - 290px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0;background:none;border:0}.creator-editor-parity .studio-preview>p{color:var(--muted);font-size:14px;line-height:1.7}}@media(min-width:1400px){.creator-context-tip{border-top:1px solid var(--line);padding-top:24px;font-size:13px}}@media(max-width:999px){.creator-library-masthead{margin-bottom:32px}.creator-library-masthead button{font-size:14px}.creator-wizard{width:100%;border:0}.wizard-orb-lead>p{font-size:14px}.wizard-step-actions{flex-direction:column-reverse;gap:4px}.wizard-step-actions .wizard-primary,.wizard-step-actions .wizard-previous{width:100%}.wizard-cast-choice{grid-template-columns:minmax(0,1fr)}.wizard-cast-choice>button{min-height:132px}.wizard-creative-direction{grid-template-columns:1fr}.wizard-creative-direction>button{justify-self:start}.wizard-style-heading,.wizard-cover-heading{align-items:start;flex-direction:column;gap:6px}.wizard-style-heading p{max-width:none;text-align:left}.creator-editor-parity .studio-header{padding:10px 16px}.creator-editor-parity .studio-header>div:first-child>button{font-size:16px}.creator-editor-parity .studio-header>div:first-child{gap:0}.creator-editor-parity .studio-save{gap:6px}.creator-editor-parity .studio-save button{padding:0 10px;font-size:14px}.creator-editor-parity .studio-save .secondary{display:none}.creator-editor-parity .studio-tabs{gap:22px}.creator-editor-parity .creator-review-stats{flex:1 0 100%}.creator-editor-parity .creator-review-toolbar{gap:6px;padding-block:8px}.creator-editor-parity .creator-review-toolbar button{font-size:14px;padding-inline:10px}.creator-editor-parity .studio-body{padding-top:22px}.creator-editor-parity .studio-inline{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-localized-names>div{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-fields :is(input,textarea,select){font-size:16px}}@media(prefers-reduced-motion:reduce){.creator-wizard-shell *,.creator-editor-parity *{animation:none!important;scroll-behavior:auto!important}}:is(.creator-wizard-shell,.creator-editor-parity,.creator-library,.creator-launchpad-shell) :is(.creator-story-card,.creator-card,.creator-result-card,.creator-sourcebook-card,.wizard-cast-choice>button,.wizard-options>button,.wizard-vibes>button,.wizard-player-role-card,.wizard-summary,.wizard-character-hero,.wizard-character-details,.wizard-character-art-panel,.wizard-portrait-batch,.wizard-style-grid>button,.wizard-cast-library-grid>button,.wizard-cover-options>button,.wizard-cover-empty,.wizard-final-preview,.studio-section,.studio-mobile-panel,.studio-character-profile,.lore-entry,.creator-launchpad-blueprints article,.creator-starter-grid>button){border:0}.creator-library .creator-hub-drafts>button,.creator-library .creator-hub-empty{border:0}.wizard-options>button.selected,.wizard-vibes>button.selected{border:0;box-shadow:none}.creator-library .creator-hub-drafts>.creator-story-card:hover,.creator-library .creator-hub-drafts>.creator-story-card:focus-visible,.creator-library .creator-hub-drafts>button:hover{border-color:transparent}.creator-editor-parity{--studio-action-surface: color-mix(in srgb, var(--ink) 13%, var(--card));--studio-action-hover: color-mix(in srgb, var(--ink) 19%, var(--card));background:var(--paper)}.creator-editor-parity .studio-header{min-height:64px;flex:0 0 64px;padding:0 clamp(18px,3vw,40px);border-bottom:1px solid var(--line)}.creator-editor-parity .studio-header>div:first-child{flex-wrap:nowrap;gap:12px}.creator-editor-parity .studio-header>div:first-child>button{min-height:40px;gap:10px;font-size:18px;font-weight:600}.creator-editor-parity .studio-autosave{gap:5px;white-space:nowrap}.creator-editor-parity .studio-autosave>svg{width:16px;height:16px;flex:0 0 16px;color:var(--muted);stroke-width:2}.creator-editor-parity .studio-autosave.saved>svg{color:color-mix(in srgb,var(--ink) 82%,var(--muted))}.creator-editor-parity .studio-undo{min-height:32px;padding:0 8px;color:var(--muted);border:0;border-radius:8px;background:transparent;font:inherit;font-size:13px}.creator-editor-parity .studio-undo:hover:not(:disabled){color:var(--ink);background:var(--card-hover)}.creator-editor-parity .studio-undo:disabled{visibility:hidden}.creator-editor-parity .studio-save button{min-height:40px;padding:0 18px;border-radius:var(--radius-pill);font-size:13px;font-weight:600}.creator-editor-parity .studio-save .secondary{color:var(--ink);background:var(--studio-action-surface);border:0}.creator-editor-parity .studio-save .secondary:hover:not(:disabled){background:var(--studio-action-hover)}.creator-editor-parity .studio-save .primary,.creator-editor-parity .publish-button{color:var(--action-fg);background:var(--action-bg)}.creator-editor-parity .studio-save .primary:hover:not(:disabled),.creator-editor-parity .publish-button:hover:not(:disabled){background:var(--action-hover)}.creator-editor-parity .studio-tabs{position:relative;min-height:52px;flex:0 0 52px;align-items:stretch;gap:clamp(18px,3vw,36px);padding:0 clamp(18px,3vw,40px);background:var(--paper);border-bottom:1px solid var(--line)}.creator-editor-parity .studio-tabs button{position:relative;min-width:max-content;min-height:52px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:0 2px;color:var(--muted);border:0;background:transparent;font:inherit;font-size:14px;font-weight:500}.creator-editor-parity .studio-tabs button:before{content:none;display:none}.creator-editor-parity .studio-tabs button:after,.creator-editor-parity .studio-tabs button.active:after{content:none;display:none}.creator-editor-parity .studio-tabs button:hover{color:var(--ink)}.creator-editor-parity .studio-tabs button:disabled{color:color-mix(in srgb,var(--muted) 52%,transparent);cursor:default;opacity:1}.creator-editor-parity .studio-tabs button:focus-visible{outline:2px solid var(--ink);outline-offset:-6px;border-radius:8px}.creator-editor-parity .studio-tabs button.active{color:var(--ink);font-weight:600}.creator-editor-parity .studio-tabs button.active:before{content:none;display:none}.studio-tab-indicator{position:absolute;bottom:0;left:0;z-index:1;width:18px;height:3px;opacity:0;pointer-events:none;border-radius:3px 3px 0 0;background:var(--ink);transition:transform .22s cubic-bezier(.2,.8,.2,1),width .22s cubic-bezier(.2,.8,.2,1),opacity .12s ease;will-change:transform}.studio-tab-indicator[data-ready=true]{opacity:1}.creator-editor-parity .studio-body{min-height:0;flex:1;grid-template-columns:minmax(0,1040px);gap:48px;padding:48px clamp(20px,4vw,64px) 88px;overflow-y:auto;background:var(--paper)}.creator-editor-parity .studio-canvas{max-width:760px;display:grid;gap:34px}.creator-editor-parity .studio-creation-flow{max-width:760px;gap:0}.creator-editor-parity .studio-flow-section{box-sizing:border-box;width:100%;max-width:760px;display:grid;gap:28px;margin:0 auto 64px;padding:0 0 72px;scroll-margin-top:24px;animation:studio-flow-section-in var(--motion-medium) var(--ease-out) both}.creator-editor-parity .studio-flow-section:last-child{margin-bottom:0;padding-bottom:0}@keyframes studio-flow-section-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.creator-editor-parity .creator-tab-plot>.studio-section{display:block}.creator-editor-parity .studio-section{padding:0;color:var(--ink);background:transparent;border-radius:0}.creator-editor-parity .studio-section-title{display:block}.creator-editor-parity .studio-section-title>span{display:none}.creator-editor-parity .studio-section-title h2,.creator-editor-parity .studio-essentials-heading h2{margin:0;color:var(--ink);font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.creator-editor-parity .studio-section-title p,.creator-editor-parity .studio-essentials-heading p{max-width:650px;margin:10px 0 0;color:var(--muted);font-size:14px;line-height:1.6}.creator-editor-parity .studio-fields{display:grid;gap:26px;margin-top:32px}.creator-editor-parity .studio-mobile-panel.studio-fields{margin-top:0}.creator-editor-parity .studio-opening-settings,.creator-editor-parity .studio-opening-group{display:grid;gap:18px}.creator-editor-parity .studio-opening-settings>label{display:grid;gap:9px;margin:0;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-opening-primary.single{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-opening-field-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.creator-editor-parity .studio-opening-heading{display:grid;gap:6px}.creator-editor-parity .studio-opening-heading h3{margin:0;color:var(--ink);font-size:20px;font-weight:600;line-height:1.25}.creator-editor-parity .studio-opening-heading p,.creator-editor-parity .studio-opening-empty p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.creator-editor-parity .studio-opening-empty{display:grid;justify-items:start;gap:14px;padding:18px;background:var(--card);border-radius:16px}.creator-editor-parity .studio-fields>label,.creator-editor-parity .studio-inline label,.creator-editor-parity .lore-entry label{gap:9px;margin:0;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-fields input:not([type=range]),.creator-editor-parity .studio-fields textarea,.creator-editor-parity .studio-fields select,.creator-editor-parity .studio-mobile-panel>label>input,.creator-editor-parity .studio-mobile-panel>label>textarea,.creator-editor-parity .studio-mobile-panel>label>select,.creator-editor-parity .studio-mobile-panel .studio-inline :is(input,textarea,select){box-sizing:border-box;width:100%;padding:13px 15px;color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-field);outline:none;font:inherit;font-size:15px;font-weight:400;line-height:1.55}.creator-editor-parity .studio-fields input:not([type=range]):focus,.creator-editor-parity .studio-fields textarea:focus,.creator-editor-parity .studio-fields select:focus,.creator-editor-parity .studio-mobile-panel :is(input,textarea,select):focus{outline:none;box-shadow:none}.creator-editor-parity .studio-fields :is(input,textarea,select):focus-visible,.creator-editor-parity .studio-mobile-panel :is(input,textarea,select):focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}.creator-editor-parity textarea{resize:vertical}.creator-editor-parity textarea::-webkit-resizer{background-color:var(--card);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cg fill='%239897a0'%3E%3Ccircle cx='3.5' cy='2.5' r='1'/%3E%3Ccircle cx='8.5' cy='2.5' r='1'/%3E%3Ccircle cx='3.5' cy='6' r='1'/%3E%3Ccircle cx='8.5' cy='6' r='1'/%3E%3Ccircle cx='3.5' cy='9.5' r='1'/%3E%3Ccircle cx='8.5' cy='9.5' r='1'/%3E%3C/g%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:12px 12px}.creator-editor-parity .studio-fields small,.creator-editor-parity .studio-mobile-panel small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.creator-editor-parity .studio-inline{gap:16px}.creator-editor-parity .studio-inline>label{align-self:start;align-content:start}.creator-editor-parity .studio-inline>.add-entry{width:fit-content;align-self:end;justify-self:start;margin:0}.creator-editor-parity .studio-choice-chips{display:flex;flex-wrap:wrap;gap:8px}.creator-editor-parity .studio-choice-chips>button{min-height:36px;padding:0 14px;color:var(--muted);background:var(--studio-action-surface);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:600}.creator-editor-parity .studio-choice-chips>button:hover:not(:disabled){color:var(--ink);background:var(--studio-action-hover)}.creator-editor-parity .studio-choice-chips>button.active{color:var(--paper);background:var(--ink)}.creator-editor-parity .studio-rule strong,.creator-editor-parity .studio-rule small{font-size:14px;line-height:1.45}.creator-editor-parity .studio-select-field{position:relative;align-self:start;display:grid;gap:9px;margin:0}.creator-editor-parity .studio-preset-custom-select{min-width:0;display:grid;align-self:start;gap:12px}.creator-editor-parity .studio-select-label{color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-select-trigger{box-sizing:border-box;width:100%;min-height:49px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 18px 0 15px;color:var(--ink);background:var(--card);border:0;border-radius:14px;font:inherit;font-size:15px;font-weight:400;text-align:left}.creator-editor-parity .studio-select-trigger:hover{background:var(--card-hover)}.creator-editor-parity .studio-select-trigger:disabled{cursor:not-allowed;opacity:.55}.creator-editor-parity .studio-select-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.creator-editor-parity .studio-select-trigger svg{width:17px;height:17px;flex:0 0 auto;color:var(--muted);transition:transform .16s ease}.creator-editor-parity .studio-select-trigger[aria-expanded=true] svg{transform:rotate(180deg)}.creator-editor-parity .studio-select-menu{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:30;max-height:min(360px,55vh);display:grid;gap:4px;padding:8px;overflow-y:auto;color:var(--ink);background:var(--card);border-radius:18px;box-shadow:0 16px 42px #0006}.creator-editor-parity .studio-select-menu>button{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;color:var(--ink);background:transparent;border:0;border-radius:11px;font:inherit;font-size:14px;font-weight:600;text-align:left}.creator-editor-parity .studio-select-menu>button:hover,.creator-editor-parity .studio-select-menu>button:focus-visible,.creator-editor-parity .studio-select-menu>button.selected{background:var(--card-hover);outline:none}.creator-editor-parity .studio-select-menu>button:disabled{cursor:not-allowed;opacity:.45}.creator-editor-parity .studio-select-menu>button svg{width:16px;height:16px;flex:0 0 auto;color:var(--muted)}.creator-editor-parity .studio-example-field{--studio-example-content-padding: 13px 15px;display:grid;column-gap:16px;row-gap:9px;margin:0}.creator-editor-parity .studio-example-title{box-sizing:border-box;position:relative;min-width:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding-right:44px;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-example-field.samples-only .studio-example-title{padding-right:0}.creator-editor-parity .studio-field-help{position:static;display:inline-flex}.creator-editor-parity .studio-field-help>button{width:22px;height:22px;display:grid;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:7px}.creator-editor-parity .studio-field-help>button:hover,.creator-editor-parity .studio-field-help>button:focus-visible{color:var(--ink);background:var(--card-hover);outline:none}.creator-editor-parity .studio-field-help svg{width:14px;height:14px}.creator-editor-parity .studio-field-help>[role=tooltip]{position:absolute;top:calc(100% + 7px);left:0;z-index:10;width:min(280px,100%);padding:11px 13px;visibility:hidden;opacity:0;color:var(--ink);background:var(--card-hover);border-radius:10px;box-shadow:0 10px 28px #00000047;font-size:13px;font-weight:400;line-height:1.5;pointer-events:none;transition:opacity .12s ease,visibility .12s ease}.creator-editor-parity .studio-field-help>button:hover+[role=tooltip],.creator-editor-parity .studio-field-help>button:focus-visible+[role=tooltip]{visibility:visible;opacity:1}.creator-editor-parity .studio-field-generate-wrap{position:absolute;top:-15px;right:12px;z-index:3;display:inline-flex}.creator-editor-parity .studio-field-generate{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--ink);background:var(--card-hover);border:0;border-radius:8px;box-shadow:0 4px 12px #0000002e}.creator-editor-parity .studio-field-generate:hover:not(:disabled),.creator-editor-parity .studio-field-generate:focus-visible{background:color-mix(in srgb,var(--ink) 14%,var(--card));outline:none}.creator-editor-parity .studio-field-generate:focus-visible{box-shadow:0 0 0 2px var(--ink),0 4px 12px #0000002e}.creator-editor-parity .studio-field-generate:disabled{color:var(--muted);cursor:wait}.creator-editor-parity .studio-field-generate-icon{width:13px;height:13px;display:block;background:currentColor;-webkit-mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat;mask:url(/images/creator-ai-sparkles.svg) center / contain no-repeat}.creator-editor-parity .studio-field-generate[data-loading=true] .studio-field-generate-icon{animation:studio-writing 1.1s ease-in-out infinite alternate}.creator-editor-parity .studio-field-generate-tooltip{box-sizing:border-box;position:absolute;top:calc(100% + 8px);right:0;width:max-content;max-width:min(240px,calc(100vw - 48px));padding:8px 10px;visibility:hidden;opacity:0;color:var(--ink);background:var(--card-hover);border-radius:9px;box-shadow:0 8px 22px #00000047;font-size:13px;font-weight:500;line-height:1.4;text-align:left;pointer-events:none;transform:translateY(-3px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.creator-editor-parity .studio-field-generate:hover+.studio-field-generate-tooltip,.creator-editor-parity .studio-field-generate:focus-visible+.studio-field-generate-tooltip{visibility:visible;opacity:1;transform:translateY(0)}.creator-editor-parity .studio-example-control{position:relative;min-width:0;height:100%;display:grid;grid-template-rows:minmax(0,1fr);gap:9px}.creator-editor-parity .studio-example-control:has(>small){grid-template-rows:minmax(0,1fr) auto}.creator-editor-parity .studio-example-control>textarea{box-sizing:border-box;height:100%;min-height:100%;padding:var(--studio-example-content-padding)}.creator-editor-parity .studio-field-example{box-sizing:border-box;min-width:0;height:100%;display:flex;flex-direction:column;padding:var(--studio-example-content-padding);color:var(--ink);background:var(--card);border-radius:14px}.creator-editor-parity .studio-field-example strong{display:block;margin-bottom:4px;font-size:15px;font-weight:600}.creator-editor-parity .studio-field-example p{margin:0;color:var(--muted);font-size:14px;line-height:1.65;white-space:pre-line}.creator-editor-parity .studio-sample-slides{flex:1 1 auto;min-width:0;display:grid}.creator-editor-parity .studio-sample-slide{grid-area:1 / 1;min-width:0}.creator-editor-parity .studio-sample-slide[aria-hidden=true]{visibility:hidden}.creator-editor-parity .studio-sample-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:36px;padding-top:14px}.creator-editor-parity .studio-sample-actions{display:flex;flex-wrap:wrap;gap:8px}.creator-editor-parity .studio-sample-actions>button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 13px;color:var(--ink);background:var(--card-hover);border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.creator-editor-parity .studio-sample-actions>button:hover{background:color-mix(in srgb,var(--ink) 12%,var(--card))}.creator-editor-parity .studio-sample-actions svg{width:14px;height:14px}.creator-editor-parity .studio-sample-pager{display:flex;align-items:center;gap:2px;margin-left:auto;color:var(--muted);font-size:13px;font-weight:600}.creator-editor-parity .studio-sample-pager>span{min-width:46px;text-align:center;font-variant-numeric:tabular-nums}.creator-editor-parity .studio-sample-pager>button{width:36px;height:36px;display:grid;place-items:center;padding:0;color:var(--ink);background:transparent;border:0;border-radius:50%}.creator-editor-parity .studio-sample-pager>button:hover{background:var(--card-hover)}.creator-editor-parity .studio-sample-pager>button[aria-disabled=true]{color:var(--muted);background:transparent;opacity:.45;cursor:default}.creator-editor-parity .studio-sample-pager svg{width:18px;height:18px}.creator-editor-parity :is(.studio-sample-actions,.studio-sample-pager)>button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}@keyframes studio-writing{0%{opacity:.35;transform:translateY(1px)}to{opacity:1;transform:translateY(-1px)}}.creator-editor-parity .studio-tip{margin:0;color:var(--muted);background:var(--card);border-radius:12px}.creator-editor-parity .studio-rule,.creator-editor-parity .publish-checks{margin:0}.creator-editor-parity :is(.studio-player-profiles,.studio-examples){gap:20px;margin-top:0}.creator-editor-parity .studio-voice-examples{gap:18px}.creator-editor-parity .studio-voice-example{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr) 44px;align-items:end;gap:16px}.creator-editor-parity .studio-voice-example>label{display:grid;gap:9px;margin:0;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-voice-example textarea{box-sizing:border-box;width:100%;min-height:88px;padding:13px 15px;resize:vertical;color:var(--ink);background:var(--card);border:0;border-radius:14px;outline:none;font:inherit;font-size:15px;font-weight:400;line-height:1.55}.creator-editor-parity .studio-voice-example textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.creator-editor-parity .studio-voice-remove{width:44px;height:44px;display:grid;place-items:center;padding:0;color:var(--muted);background:var(--studio-action-surface);border:0;border-radius:12px}.creator-editor-parity .studio-voice-remove:hover{color:var(--ink);background:var(--studio-action-hover)}.creator-editor-parity .studio-profile-image{display:flex;align-items:center;gap:12px}.creator-editor-parity .studio-profile-image img{width:64px;height:64px;object-fit:cover;background:var(--paper);border-radius:16px}.creator-editor-parity .studio-profile-image button{min-height:38px;padding:0 14px;color:var(--ink);background:var(--studio-action-surface);border:0;border-radius:var(--radius-pill);font:inherit;font-size:13px;font-weight:600}.creator-editor-parity .studio-profile-image button:hover{background:var(--studio-action-hover)}.creator-editor-parity .mobile-prompt-editor{gap:28px}.creator-editor-parity .studio-essentials-heading{padding:0 0 6px}.creator-editor-parity .studio-character-profile{gap:10px;scroll-margin-top:28px}.creator-editor-parity .studio-character-profile>.studio-mobile-heading{color:var(--ink);font-size:20px;font-weight:600}.creator-editor-parity .studio-mobile-panel{gap:20px;padding:24px;color:var(--ink);background:var(--card);border-radius:18px}.creator-editor-parity .studio-mobile-panel>label{gap:9px;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-mobile-panel>label,.creator-editor-parity .studio-mobile-panel .studio-select-field,.creator-editor-parity .studio-mobile-panel .studio-inline>label{margin:0}.creator-editor-parity .studio-advanced-fields{gap:20px}.creator-editor-parity .studio-character-profile .studio-mobile-panel{background:var(--paper);border:1px solid var(--line);box-shadow:none}.creator-editor-parity .studio-character-profile .studio-mobile-panel :is(input:not([type=file]),textarea),.creator-editor-parity .studio-character-profile .studio-select-trigger{background:var(--card);border:0}.creator-editor-parity .studio-character-profile .studio-mobile-panel :is(input:not([type=file]),textarea):hover,.creator-editor-parity .studio-character-profile .studio-select-trigger:hover{background:var(--card-hover)}.creator-editor-parity .studio-character-profile .studio-select-menu{background:var(--card)}.creator-editor-parity .studio-character-profile .studio-remove-character{width:auto;min-height:44px;justify-self:start;padding:0 17px;color:color-mix(in srgb,#ff6f91 78%,var(--ink));background:var(--studio-action-surface);border:0;border-radius:var(--radius-pill);font-size:14px;font-weight:600}.creator-editor-parity .studio-character-profile .studio-remove-character:hover:not(:disabled){background:var(--studio-action-hover)}.creator-editor-parity .studio-character-profile .studio-remove-character svg{width:16px;height:16px}.creator-editor-parity .studio-wide-add{min-height:44px;color:var(--ink);background:var(--studio-action-surface);border:0;border-radius:14px;font-size:14px;font-weight:600}.creator-editor-parity .studio-wide-add:hover:not(:disabled){background:var(--studio-action-hover)}.creator-editor-parity .studio-wide-add svg{width:17px;height:17px}.creator-editor-parity .studio-image-flow-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:160;display:grid;place-items:center;padding:24px;background:#050507b8}.creator-editor-parity .studio-image-flow{box-sizing:border-box;width:min(920px,100%);max-height:min(860px,calc(100dvh - 48px));display:grid;gap:24px;padding:26px;overflow-y:auto;color:var(--ink);background:var(--card);border-radius:24px;box-shadow:0 24px 80px #0000007a}.creator-editor-parity .studio-image-flow>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.creator-editor-parity .studio-image-flow>header h2{margin:0;font-size:24px;font-weight:600;letter-spacing:-.02em}.creator-editor-parity .studio-image-flow>header p{margin:7px 0 0;color:var(--muted);font-size:14px}.creator-editor-parity .studio-image-flow>header>button{width:38px;height:38px;display:grid;flex:0 0 auto;place-items:center;padding:0;color:var(--muted);background:transparent;border:0;border-radius:10px}.creator-editor-parity .studio-image-flow>header>button:hover:not(:disabled){color:var(--ink);background:var(--card-hover)}.creator-editor-parity .studio-image-flow>header>button svg{width:19px;height:19px}.creator-editor-parity .studio-image-flow-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:22px;align-items:stretch}.creator-editor-parity .studio-image-flow-preview{position:relative;min-height:360px;display:grid;place-items:center;overflow:hidden;background:var(--paper);border-radius:18px}.creator-editor-parity .studio-image-flow-preview>img{width:100%;height:100%;min-height:360px;object-fit:cover}.creator-editor-parity .studio-image-flow-preview>div:not(.studio-image-flow-progress){max-width:230px;display:grid;place-items:center;gap:10px;padding:28px;color:var(--muted);text-align:center}.creator-editor-parity .studio-image-flow-preview>div>svg{width:30px;height:30px}.creator-editor-parity .studio-image-flow-preview>div>strong{color:var(--ink);font-size:15px;font-weight:600}.creator-editor-parity .studio-image-flow-preview>div>span{font-size:13px;line-height:1.55}.creator-editor-parity .studio-image-flow-preview.generating>:not(.studio-image-flow-progress){opacity:.35}.creator-editor-parity .studio-image-flow-progress{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;align-content:center;justify-items:center;gap:12px;color:var(--ink);background:#17181cb8}.creator-editor-parity .studio-image-flow-progress>span{width:24px;height:24px;border:2px solid var(--line-strong);border-top-color:var(--ink);border-radius:50%;animation:studio-image-spin .8s linear infinite}.creator-editor-parity .studio-image-flow-progress>strong{font-size:14px;font-weight:600}.creator-editor-parity .studio-image-flow-fields{display:grid;gap:18px}.creator-editor-parity .studio-image-flow-fields>label{display:grid;align-content:start;gap:8px;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-portrait-advanced{min-width:0;padding:0 14px;background:var(--paper);border-radius:14px}.creator-editor-parity .studio-portrait-advanced>label{padding-bottom:14px}.creator-editor-parity .studio-image-flow-fields textarea{box-sizing:border-box;width:100%;min-height:128px;padding:14px 15px;resize:vertical;color:var(--ink);background:var(--paper);border:0;border-radius:14px;outline:none;font:inherit;font-size:14px;font-weight:400;line-height:1.55}.creator-editor-parity .studio-image-flow-fields textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.creator-editor-parity .studio-image-flow-fields small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.creator-editor-parity .studio-image-style-picker{min-width:0;display:grid;gap:14px}.creator-editor-parity .studio-shared-style-picker>header{display:grid;gap:6px}.creator-editor-parity .studio-shared-style-picker>header h3{margin:0;color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-shared-style-picker>header p{max-width:620px;margin:0;color:var(--muted);font-size:14px;line-height:1.5}.creator-editor-parity .studio-image-style-picker>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.creator-editor-parity .studio-image-style-picker button{position:relative;min-width:0;aspect-ratio:3 / 4;display:block;overflow:hidden;padding:0;color:#fff;background:var(--card);border:0;border-radius:16px;font:inherit;font-size:14px;font-weight:650;line-height:1.3;text-align:left}.creator-editor-parity .studio-image-style-picker button:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none;background:linear-gradient(to top,#07080beb,#07080b7a 30%,#07080b00 62%)}.creator-editor-parity .studio-image-style-picker button:hover:not(:disabled) img{transform:scale(1.025)}.creator-editor-parity .studio-image-style-picker button.selected{box-shadow:0 0 0 2px var(--ink)}.creator-editor-parity .studio-image-style-picker button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.creator-editor-parity .studio-image-style-picker button img{width:100%;height:100%;display:block;object-fit:cover;transition:transform var(--motion-fast) var(--ease-out)}.creator-editor-parity .studio-image-style-picker button>span{position:absolute;right:14px;bottom:14px;left:14px;z-index:2;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.72)}.creator-editor-parity .studio-image-style-picker button>svg{position:absolute;top:13px;right:13px;z-index:2;width:18px;height:18px;padding:4px;color:var(--paper);background:var(--ink);border-radius:50%}.creator-editor-parity .studio-image-flow-style{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;padding:14px 16px;background:var(--paper);border-radius:14px}.creator-editor-parity .studio-image-flow-style>span{color:var(--muted);font-size:13px}.creator-editor-parity .studio-image-flow-style>strong{color:var(--ink);font-size:14px;font-weight:600}.creator-editor-parity .studio-image-flow-style>small{grid-column:1 / -1;color:var(--muted);font-size:14px;line-height:1.5}.creator-editor-parity .studio-image-flow-note{margin:-4px 0 0;padding:12px 14px;color:var(--ink);background:var(--paper);border-radius:12px;font-size:13px}.creator-editor-parity .studio-image-flow>footer{display:flex;align-items:center;justify-content:flex-end;gap:10px}.creator-editor-parity .studio-image-flow>footer button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;border:0;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.creator-editor-parity .studio-image-flow>footer button.secondary{color:var(--ink);background:var(--studio-action-surface)}.creator-editor-parity .studio-image-flow>footer button.secondary:hover:not(:disabled){background:var(--studio-action-hover)}.creator-editor-parity .studio-image-flow>footer button.primary{color:var(--action-fg);background:var(--action-bg)}.creator-editor-parity .studio-image-flow>footer button.primary:hover:not(:disabled){background:var(--action-hover)}.creator-editor-parity .studio-image-flow>footer button:disabled{cursor:not-allowed;opacity:.5}@keyframes studio-image-spin{to{transform:rotate(360deg)}}.creator-editor-parity .lore-entry{display:grid;gap:20px;padding:20px;background:var(--card);border-radius:16px}.creator-editor-parity .publish-options>button{background:var(--card);border:0;border-radius:16px}.creator-editor-parity .publish-options>button.active{color:var(--ink);background:color-mix(in srgb,var(--ink) 9%,var(--card));border:0;box-shadow:inset 0 0 0 1px var(--ink)}.creator-editor-parity .creator-tab-publish{gap:24px}.creator-editor-parity .creator-tab-publish .studio-section-title h2{font-size:clamp(27px,2.4vw,30px)}.creator-editor-parity .creator-tab-publish .studio-section-title p{max-width:620px;margin-top:8px;font-size:14px;line-height:1.55}.creator-editor-parity .creator-tab-publish .studio-fields{gap:20px;margin-top:28px}.creator-editor-parity .creator-tab-publish .studio-publish-visibility{display:grid;gap:12px}.creator-editor-parity .creator-tab-publish .studio-publish-visibility>header{display:grid;gap:4px}.creator-editor-parity .creator-tab-publish :is(.studio-publish-visibility,.studio-publish-readiness,.studio-publish-management) h3{margin:0;color:var(--ink);font-size:15px;font-weight:600;line-height:1.3}.creator-editor-parity .creator-tab-publish :is(.studio-publish-visibility,.studio-publish-readiness) p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.creator-editor-parity .creator-tab-publish .publish-options{gap:12px}.creator-editor-parity .creator-tab-publish .publish-options>button{min-height:68px;gap:12px;padding:14px 16px}.creator-editor-parity .creator-tab-publish .publish-options>button>svg{width:19px;height:19px;flex:0 0 auto}.creator-editor-parity .creator-tab-publish .publish-options span{gap:3px}.creator-editor-parity .creator-tab-publish .publish-options strong{font-size:15px;font-weight:600;line-height:1.25}.creator-editor-parity .creator-tab-publish .publish-options small{font-size:13px;line-height:1.4}.creator-editor-parity .creator-tab-publish .studio-publish-readiness{padding:16px 18px;background:var(--card);border-radius:16px}.creator-editor-parity .creator-tab-publish .studio-publish-readiness>header{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:11px}.creator-editor-parity .creator-tab-publish .studio-publish-readiness>header>svg{width:20px;height:20px;margin-top:1px;color:var(--muted)}.creator-editor-parity .creator-tab-publish .studio-publish-readiness.ready>header>svg{color:var(--accent-dark)}.creator-editor-parity .creator-tab-publish .studio-publish-readiness>header>div{display:grid;gap:3px}.creator-editor-parity .creator-tab-publish .studio-publish-readiness ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 28px;margin:14px 0 0 33px;padding-left:17px;color:var(--muted);font-size:13px;line-height:1.45}.creator-editor-parity .creator-tab-publish .studio-publish-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;max-width:none}.creator-editor-parity .creator-tab-publish .studio-publish-actions>button{min-height:46px;border-radius:var(--radius-pill);font-size:14px;font-weight:600}.creator-editor-parity .creator-tab-publish .studio-publish-management{display:grid;gap:10px;padding-top:4px}.creator-editor-parity .creator-tab-publish .studio-publish-management>div{display:flex;flex-wrap:wrap;gap:8px}.creator-editor-parity .creator-tab-publish .studio-step-actions{justify-content:flex-start;padding-top:0}.creator-editor-parity .studio-step-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:6px}.creator-editor-parity .studio-step-actions button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;border-radius:var(--radius-pill);font:inherit;font-size:14px;font-weight:600}.creator-editor-parity .studio-step-actions .secondary{color:var(--ink);background:var(--studio-action-surface);border:0}.creator-editor-parity .studio-step-actions .secondary:hover{background:var(--studio-action-hover)}.creator-editor-parity .studio-continue-control{min-width:0;display:grid;justify-items:end;gap:8px;margin-left:auto}.creator-editor-parity .studio-continue-requirement{max-width:390px;display:flex;align-items:flex-start;gap:7px;margin:0;color:var(--muted);font-size:14px;line-height:1.5;text-align:right}.creator-editor-parity .studio-continue-requirement svg{width:15px;height:15px;flex:0 0 auto;margin-top:1px}.creator-editor-parity .studio-step-actions .primary{color:var(--action-fg);background:var(--action-bg);border:0}.creator-editor-parity .studio-step-actions .primary:hover{background:var(--action-hover)}.creator-editor-parity .studio-preview{display:none}@media(min-width:1050px){.creator-editor-parity .studio-example-field{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.creator-editor-parity .studio-example-title{grid-column:1;grid-row:1}.creator-editor-parity .studio-example-control{grid-column:1;grid-row:2}.creator-editor-parity .studio-field-example{grid-column:2;grid-row:2}}@media(max-width:760px){.creator-editor-parity .studio-header{min-height:58px;flex-basis:58px;padding-inline:14px}.creator-editor-parity .studio-header>div:first-child{gap:8px}.creator-editor-parity .studio-header>div:first-child>button{font-size:16px}.creator-editor-parity .studio-autosave,.creator-editor-parity .studio-undo,.creator-editor-parity .studio-save .secondary{display:none}.creator-editor-parity .studio-save .primary{min-height:36px;padding-inline:14px}.creator-editor-parity .studio-tabs{min-height:50px;flex-basis:50px;gap:24px;padding-inline:14px}.creator-editor-parity .studio-tabs button{min-height:50px}.creator-editor-parity .studio-body{padding:32px 16px 64px}.creator-editor-parity .studio-flow-section{gap:24px;margin-bottom:44px;padding-bottom:52px;scroll-margin-top:16px}.creator-editor-parity .studio-flow-section .studio-step-actions{align-items:stretch;flex-direction:column-reverse}.creator-editor-parity .studio-flow-section .studio-continue-control{width:100%;justify-items:stretch;margin-left:0}.creator-editor-parity .studio-flow-section .studio-continue-requirement{max-width:none;text-align:left}.creator-editor-parity .studio-flow-section .studio-step-actions button{width:100%}.creator-editor-parity .studio-section-title h2,.creator-editor-parity .studio-essentials-heading h2{font-size:28px}.creator-editor-parity .creator-tab-publish .studio-fields{gap:18px;margin-top:22px}.creator-editor-parity .creator-tab-publish .publish-options,.creator-editor-parity .creator-tab-publish .studio-publish-actions{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .creator-tab-publish .studio-publish-readiness{padding:15px 16px}.creator-editor-parity .creator-tab-publish .studio-publish-readiness ul,.creator-editor-parity .studio-inline{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-cast-template-picker>div{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-voice-example{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-voice-remove{justify-self:start}.creator-editor-parity .studio-mobile-panel{padding:18px}.creator-editor-parity .studio-image-flow-backdrop{place-items:end center;padding:0}.creator-editor-parity .studio-image-flow{width:100%;max-height:94dvh;gap:20px;padding:20px 16px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0}.creator-editor-parity .studio-image-flow-layout{grid-template-columns:minmax(0,1fr)}.creator-editor-parity .studio-image-flow-preview,.creator-editor-parity .studio-image-flow-preview>img{min-height:280px;max-height:360px}.creator-editor-parity .studio-image-flow>footer{position:sticky;bottom:calc(-1*max(20px,env(safe-area-inset-bottom)));margin:0 -16px calc(-1*max(20px,env(safe-area-inset-bottom)));padding:12px 16px max(16px,env(safe-area-inset-bottom));background:var(--card)}.creator-editor-parity .studio-image-flow>footer button.primary{flex:1}}@media(max-width:560px){.creator-editor-parity .studio-image-style-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){.creator-editor-parity .studio-main-image:hover:not(:disabled):after,.creator-editor-parity .studio-main-image:focus-visible:after,.creator-editor-parity .studio-add-image:not([aria-disabled=true]):hover:after,.creator-editor-parity .studio-add-image:focus-within:after{animation:none}}.creator-wizard-shell{background:var(--paper)}.creator-wizard{width:100%;display:flex;flex-direction:column;margin:0;background:var(--paper);border:0;border-radius:0;box-shadow:none}.wizard-header{position:sticky;z-index:24;top:0;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px max(24px,calc((100% - 760px)/2));background:var(--paper);border-bottom:1px solid var(--line)}.wizard-header .wizard-back{width:auto;max-width:min(55vw,560px);min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0;color:var(--ink);background:transparent;border:0;border-radius:10px;font:inherit;font-size:20px;font-weight:760}.wizard-header .wizard-back:before{content:none}.wizard-header .wizard-back:hover:not(:disabled){background:transparent}.wizard-header .wizard-back>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-header .wizard-save-state{margin:0;overflow:hidden;color:var(--muted);font-size:13px;line-height:1.4;text-align:right;text-overflow:ellipsis;white-space:nowrap}.wizard-progress{width:min(calc(100% - 48px),760px);min-height:74px;display:block;box-sizing:border-box;margin:0 auto;padding:14px 0 12px}.wizard-progress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}.wizard-progress li{position:relative;height:auto;min-width:0}.wizard-progress li:after{content:"";position:absolute;z-index:0;top:16px;left:calc(50% + 22px);width:calc(100% - 36px);height:1px;background:var(--line-strong)}.wizard-progress li:last-child:after{content:none}.wizard-progress li.complete:after{background:var(--ink)}.wizard-progress li button{position:relative;z-index:1;width:100%;height:auto;min-height:46px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:0 8px 0 0;color:var(--muted);background:transparent;border:0;border-radius:10px;font:inherit;text-align:left}.wizard-progress li button:before{content:none}.wizard-progress li button:hover:not(:disabled){color:var(--ink);background:transparent}.wizard-progress li button>span{width:32px;height:32px;display:grid;place-items:center;color:var(--muted);background:var(--card);border-radius:10px;font-size:13px;font-weight:700}.wizard-progress li button>span svg{width:16px;height:16px}.wizard-progress li button>strong{overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.wizard-progress li.active button{color:var(--ink);background:transparent}.wizard-progress li.active button>span{color:var(--paper);background:var(--ink)}.wizard-progress li.complete button{color:var(--ink);background:transparent}.wizard-progress li.complete button>span{color:var(--ink);background:var(--card-hover)}.wizard-progress li.available:not(.active) button:hover:not(:disabled){background:transparent}.wizard-scroll{box-sizing:border-box;width:min(calc(100% - 48px),760px);margin:0 auto;padding:48px 0 88px}.wizard-content{width:100%;max-width:none;margin:0 auto}.wizard-step{gap:18px}.wizard-step-heading{display:grid;gap:8px;margin-bottom:8px}.wizard-step-heading.thinking{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:18px}.wizard-step-heading .story-assistant{width:58px;height:76px}.wizard-step-heading h1{margin:0;color:var(--ink);font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.wizard-step-heading p{max-width:650px;margin:0;color:var(--muted);font-size:14px;line-height:1.6}.creator-wizard button{border:0}.wizard-concept input,.wizard-concept textarea,.wizard-modal input,.wizard-modal textarea,.wizard-select-trigger{color:var(--ink);background:var(--card);border:0;border-radius:var(--radius-field);box-shadow:none}.wizard-concept input:focus,.wizard-concept textarea:focus,.wizard-modal input:focus,.wizard-modal textarea:focus,.wizard-select-trigger:focus-visible{outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}.wizard-concept-title{gap:9px}.wizard-concept-title input{height:52px;padding:0 15px;font-size:15px}.wizard-concept textarea{height:200px;min-height:160px;max-height:50dvh;padding:15px 82px 15px 15px;font-size:15px;line-height:1.6;resize:vertical}.wizard-counter{justify-content:flex-end;margin-top:-10px}.wizard-history-actions button:hover:not(:disabled){color:var(--ink);background:var(--card-hover)}.wizard-select{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,auto);align-items:center;gap:16px}.wizard-select-label{display:grid;gap:3px}.wizard-select-label label{color:var(--ink);font-size:14px;font-weight:600}.wizard-select-label small{color:var(--muted);font-size:13px;font-weight:400}.wizard-select-trigger{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 14px;font:inherit;font-size:14px;text-align:left}.wizard-select-trigger:hover{background:var(--card-hover)}.wizard-select-trigger svg{width:18px;color:var(--muted);transition:transform .16s ease}.wizard-select-trigger svg.open{transform:rotate(180deg)}.wizard-select-menu{position:absolute;z-index:60;top:calc(100% + 8px);right:0;width:min(100%,280px);display:grid;gap:4px;max-height:310px;overflow-y:auto;padding:8px;background:var(--card);border-radius:18px;box-shadow:0 20px 52px #00000061}.wizard-select-menu>button{min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);background:transparent;border:0;border-radius:11px;font:inherit;text-align:left}.wizard-select-menu>button:hover,.wizard-select-menu>button:focus-visible{background:var(--card-hover)}.wizard-select-menu>button svg{width:17px;justify-self:end}.wizard-vibes{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.wizard-vibes>button,.wizard-options>button,.wizard-cast-choice>button{color:var(--ink);background:var(--card);border:0;border-radius:16px;box-shadow:none}.wizard-vibes>button{min-height:112px;padding:16px}.wizard-vibes>button:hover,.wizard-options>button:hover,.wizard-cast-choice>button:hover{background:var(--card-hover)}.wizard-vibes>button.selected,.wizard-options>button.selected{color:var(--ink);background:var(--card-hover);box-shadow:0 0 0 2px var(--ink)}.wizard-dashed{min-height:48px;color:var(--muted);background:var(--card);border:0;border-radius:var(--radius-pill)}.wizard-dashed:hover:not(:disabled){color:var(--ink);background:var(--card-hover)}.wizard-primary{min-height:48px;color:var(--paper);background:var(--ink);border:0;box-shadow:none;font-size:14px;font-weight:650}.wizard-primary:hover:not(:disabled){background:color-mix(in srgb,var(--ink) 88%,var(--paper))}.wizard-primary:disabled{color:var(--muted);background:var(--card)}.wizard-previous:hover{color:var(--ink);background:var(--card-hover)}.wizard-cast-choice{gap:12px}.wizard-cast-choice>button{min-height:170px;padding:22px}.wizard-cast-choice>button>svg{color:var(--muted)}.wizard-cast-choice>.wizard-cast-ai{background:var(--card)}.wizard-cast-library{display:grid;gap:16px}.wizard-cast-library>header{display:flex;align-items:end;justify-content:space-between;gap:20px}.wizard-cast-library>header>div{display:grid;gap:6px}.wizard-cast-library h2,.wizard-cast-new h2{margin:0;color:var(--ink);font-size:20px;font-weight:600}.wizard-cast-library>header p{max-width:590px;margin:0;color:var(--muted);font-size:14px;line-height:1.55}.wizard-cast-library>header label{width:min(260px,100%);display:grid;gap:6px;color:var(--muted);font-size:13px}.wizard-cast-library>header input{box-sizing:border-box;width:100%;min-height:42px;padding:0 13px;color:var(--ink);background:var(--card);border:0;border-radius:12px;font:inherit;font-size:14px}.wizard-cast-library>header input:focus{outline:2px solid var(--ink);outline-offset:2px}.wizard-cast-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.wizard-cast-library-grid>button{position:relative;min-width:0;display:grid;gap:10px;padding:8px 8px 12px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:16px}.wizard-cast-library-grid>button:hover{background:var(--card-hover)}.wizard-cast-library-grid>button.selected{background:var(--card-hover);box-shadow:0 0 0 2px var(--ink)}.wizard-cast-library-grid>button:disabled{opacity:.48}.wizard-cast-library-art{position:relative;aspect-ratio:3 / 4;overflow:hidden;display:grid;place-items:center;background:var(--paper);border-radius:11px}.wizard-cast-library-art>img{width:100%;height:100%;display:block;object-fit:cover}.wizard-cast-library-check{position:absolute;top:8px;right:8px;width:28px;height:28px;display:grid;place-items:center;color:var(--paper);background:var(--ink);border-radius:50%;box-shadow:0 4px 14px #00000047}.wizard-cast-library-check svg{width:16px;height:16px}.wizard-cast-library-copy{min-width:0;display:grid;gap:3px}.wizard-cast-library-copy strong,.wizard-cast-library-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wizard-cast-library-copy strong{font-size:14px;font-weight:600}.wizard-cast-library-copy small{color:var(--muted);font-size:13px}.wizard-cast-library-status{margin:0;padding:16px;color:var(--muted);background:var(--card);border-radius:14px;font-size:14px;line-height:1.5}.wizard-cast-new{display:grid;gap:12px}.wizard-player-role-card,.wizard-summary,.wizard-portrait-batch,.wizard-cover-empty,.wizard-final-preview{background:var(--card);border:0;box-shadow:none}.wizard-player-role-card button,.wizard-character-edit,.wizard-image-secondary,.wizard-portrait-batch>button,.wizard-outline,.wizard-confirm-cancel{color:var(--ink);background:var(--card-hover);border:0}.wizard-player-role-card button:hover,.wizard-character-edit:hover,.wizard-image-secondary:hover,.wizard-portrait-batch>button:hover,.wizard-outline:hover,.wizard-confirm-cancel:hover{background:color-mix(in srgb,var(--ink) 14%,var(--card))}.wizard-player-role-card h2{font-size:18px;font-weight:600}.wizard-options{gap:12px;padding:0}.wizard-options>button{min-height:146px;padding:20px}.wizard-options strong{font-size:15px;font-weight:600}.wizard-options span{color:var(--muted)}.wizard-options+.wizard-dashed,.wizard-options~.wizard-primary{width:100%;margin-inline:0}.wizard-creative-direction input{background:var(--card);border:0;border-radius:var(--radius-field)}.wizard-creative-direction input:focus{outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}.wizard-creative-direction>button{color:var(--ink);background:var(--card-hover);border:0;box-shadow:none}.wizard-creative-direction>button:hover:not(:disabled){color:var(--ink);background:color-mix(in srgb,var(--ink) 14%,var(--card));border:0;box-shadow:none}.wizard-character-mobile-nav,.wizard-cast-list>button,.wizard-character-hero,.wizard-portrait-strip button{border:0}.wizard-cast-list>button:hover{background:var(--card-hover)}.wizard-cast-list>button[aria-current=true]{color:var(--ink);background:var(--card-hover);border:0;box-shadow:0 0 0 2px var(--ink)}.wizard-cast-tone-0{background:#523147}.wizard-cast-tone-1{background:#27485a}.wizard-cast-tone-2{background:#563744}.wizard-cast-tone-3{background:#285047}.wizard-image-primary{color:var(--paper);background:var(--ink)}.wizard-style-heading h2,.wizard-cover-heading h2{margin:0;color:var(--ink);font-size:20px;font-weight:600;line-height:1.25}.wizard-style-grid button{border:0}.wizard-style-grid button:after{top:55%;right:0;bottom:0;left:0;background:#07070ab3}.wizard-style-grid button.selected,.wizard-cover-options button.selected{border:0;box-shadow:0 0 0 2px var(--ink)}.wizard-style-grid>button>i{color:var(--paper);background:var(--ink)}.wizard-cover-panel{border-top-color:var(--line)}.wizard-cover-heading>span{color:var(--muted)}.wizard-cover-options button{border:0}.wizard-final-heading h1{margin:0;color:var(--ink);font-size:clamp(28px,3vw,36px);font-weight:600;line-height:1.12;letter-spacing:-.025em}.wizard-final-heading p{margin-top:4px}.wizard-final-art,.wizard-final-tags span{background:var(--paper);border:0}.wizard-modal{color:var(--ink);background:var(--card);border-radius:18px}.wizard-modal header button:hover{background:var(--card-hover)}.wizard-modal-identity .wizard-select{grid-template-columns:minmax(0,1fr);align-content:start;gap:7px}.wizard-modal-identity .wizard-select-menu{right:auto;left:0;width:100%}.wizard-checkbox-box{background:var(--paper);border-color:var(--line-strong)}.wizard-revision-review summary{display:flex;justify-content:space-between;gap:16px}.wizard-revision-review summary span{color:var(--muted);font-size:13px;font-weight:500}.wizard-error{margin-inline:0}.wizard-concept-title>span,.wizard-creative-direction label>span,.wizard-modal label{font-size:14px;font-weight:600}.wizard-concept input,.wizard-concept textarea,.wizard-creative-direction input,.wizard-modal input,.wizard-modal textarea,.wizard-modal select,.wizard-select-trigger,.wizard-cast-library>header input{font-size:15px;font-weight:400;line-height:1.55}.wizard-creative-direction input,.wizard-cast-library>header input{min-height:52px;padding-inline:15px}.wizard-select-label small,.wizard-concept-title small,.wizard-creative-direction label small,.wizard-modal label small{font-size:14px;font-weight:400;line-height:1.5}.wizard-vibes strong,.wizard-cast-choice>button>strong{font-size:14px;font-weight:650;line-height:1.3}.wizard-vibes span,.wizard-cast-choice>button>span,.wizard-options span{font-size:14px;font-weight:400;line-height:1.55}.wizard-cast-library>header label{color:var(--ink);font-size:14px;font-weight:600}.wizard-character-details>header h2,.wizard-final-copy>h2{font-size:20px;font-weight:600;line-height:1.25}.wizard-modal h2{font-size:20px;font-weight:600;line-height:1.25}.wizard-concept input:focus-visible,.wizard-concept textarea:focus-visible,.wizard-creative-direction input:focus-visible,.wizard-modal input:focus-visible,.wizard-modal textarea:focus-visible,.wizard-modal select:focus-visible,.wizard-select-trigger:focus-visible,.wizard-cast-library>header input:focus-visible{color:var(--ink);background:var(--card);border:0;outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}.wizard-concept :is(input,textarea)::placeholder,.wizard-creative-direction input::placeholder,.wizard-modal :is(input,textarea)::placeholder,.wizard-cast-library>header input::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.wizard-portrait-strip button.selected,.wizard-style-grid button.selected,.wizard-cover-options button.selected{border-color:transparent;box-shadow:0 0 0 2px var(--ink)}.wizard-confirm-checkbox input:checked+.wizard-checkbox-box{color:var(--paper);background:var(--ink);border-color:var(--ink)}.wizard-confirm-checkbox input:focus-visible+.wizard-checkbox-box{box-shadow:0 0 0 2px var(--ink)}.wizard-character-art-copy small,.wizard-player-role-card small,.wizard-style-heading small,.wizard-cover-heading small,.wizard-cover-heading>span,.wizard-final-heading>small,.wizard-final-opening>small,.wizard-final-cast>small{color:var(--muted)}.creator-launchpad-select{position:relative;min-width:0;display:grid;align-content:start;gap:7px;text-align:left}.creator-launchpad-select>label{color:var(--ink);font-size:14px;font-weight:600}.creator-launchpad-select-trigger{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 14px;color:var(--ink);background:var(--card);border:0;border-radius:14px;font:inherit;text-align:left}.creator-launchpad-select-trigger:hover{background:var(--card-hover)}.creator-launchpad-select-trigger svg{width:18px;color:var(--muted);transition:transform .16s ease}.creator-launchpad-select-trigger svg.open{transform:rotate(180deg)}.creator-launchpad-select-menu{position:absolute;z-index:60;top:calc(100% + 8px);right:0;left:0;display:grid;gap:4px;padding:8px;background:var(--card);border-radius:18px;box-shadow:0 20px 52px #00000061}.creator-launchpad-select-menu>button{min-height:52px;display:grid;grid-template-columns:minmax(0,1fr) 22px;align-items:center;gap:12px;padding:8px 12px;color:var(--ink);background:transparent;border:0;border-radius:11px;font:inherit;text-align:left}.creator-launchpad-select-menu>button:hover,.creator-launchpad-select-menu>button:focus-visible{background:var(--card-hover)}.creator-launchpad-select-menu>button svg{width:17px;justify-self:end}@media(min-width:1000px){.creator-wizard{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr)}.wizard-header,.wizard-progress,.wizard-options{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-character-management{grid-template-columns:minmax(0,1fr)}}@media(max-width:700px){.wizard-header{min-height:64px;padding:10px 16px}.wizard-header .wizard-back{max-width:calc(100% - 24px);font-size:16px}.wizard-header .wizard-save-state{display:none}.wizard-progress{width:calc(100% - 28px);min-height:66px;padding-block:10px}.wizard-progress ol{gap:3px}.wizard-progress li:after{left:calc(50% + 18px);width:calc(100% - 29px)}.wizard-progress li button{grid-template-columns:1fr;justify-items:center;gap:3px;padding:0;text-align:center}.wizard-progress li button>strong{width:100%;font-size:13px;text-align:center}.wizard-step-heading{margin-bottom:2px}.wizard-step-heading.thinking{grid-template-columns:54px minmax(0,1fr);gap:14px}.wizard-step-heading .story-assistant{width:48px;height:63px}.wizard-select{grid-template-columns:minmax(0,1fr);gap:9px}.wizard-select-menu{right:auto;left:0;width:100%}.wizard-vibes{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-vibes>button{min-height:102px}.wizard-step-actions{gap:6px}.wizard-cast-choice>button{min-height:136px}.wizard-options>button{min-height:112px}.wizard-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.wizard-content.wizard-vertical-flow{width:100%;display:grid;gap:28px;max-width:none;margin:0 auto}.wizard-flow-error{margin:0;padding:13px 15px;border-radius:12px}.wizard-flow-section{width:100%;min-width:0;scroll-margin-top:88px}.wizard-vertical-flow .wizard-step-actions{justify-content:flex-end}.wizard-vertical-flow .wizard-step-actions .wizard-primary{width:auto;min-width:190px}.story-example-layout{min-width:0;display:grid;gap:22px;text-align:left}.story-example-layout .studio-example-field{grid-template-columns:minmax(0,1fr);align-items:stretch}.story-example-layout .studio-example-title,.story-example-layout .studio-example-control,.story-example-layout .studio-field-example{grid-column:1;grid-row:auto}@media(min-width:1050px){.story-example-layout .studio-example-field{grid-template-columns:repeat(2,minmax(0,1fr))}.story-example-layout .studio-example-title{grid-column:1;grid-row:1}.story-example-layout .studio-example-control{grid-column:1;grid-row:2}.story-example-layout .studio-field-example{grid-column:2;grid-row:2}}.story-example-layout .studio-example-control>input,.story-example-layout .studio-example-control>textarea,.story-example-layout .wizard-concept-field>textarea{box-sizing:border-box;width:100%;min-height:52px;padding:13px 15px;resize:vertical;color:var(--ink);background:var(--card);border:0;border-radius:14px;outline:none;font:inherit;font-size:15px;font-weight:400;line-height:1.55}.story-example-layout .studio-example-control>textarea,.story-example-layout .wizard-concept-field>textarea{min-height:150px}.story-example-layout .studio-example-control>:is(input,textarea):focus-visible,.story-example-layout .wizard-concept-field>textarea:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.story-example-layout .studio-example-control>:is(input,textarea)::placeholder,.story-example-layout .wizard-concept-field>textarea::placeholder{color:color-mix(in srgb,var(--muted) 64%,transparent)}.story-example-layout .wizard-concept-field{height:100%}.story-example-layout .wizard-counter,.creator-idea-count{display:block;margin:8px 2px 0;color:var(--muted);font-size:13px;font-weight:400}.creator-launchpad-hero{text-align:left}.creator-launchpad-hero h1{margin-inline:0}.creator-launchpad-hero>p{margin:10px 0 30px}.creator-launchpad-fields{margin-top:0}.creator-launchpad-actions{display:flex;justify-content:flex-end;margin-top:22px}.creator-launchpad-actions .creator-build-story{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 18px}.wizard-cast-section{display:grid;gap:42px}.wizard-story-format-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wizard-story-format-options>button{min-height:116px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:12px;padding:18px;color:var(--ink);text-align:left;background:var(--card);border:0;border-radius:16px;font:inherit}.wizard-story-format-options>button:hover{background:var(--card-hover)}.wizard-story-format-options>button.selected{background:var(--card-hover);box-shadow:0 0 0 2px var(--ink)}.wizard-story-format-options>button>svg{width:22px;height:22px;margin-top:1px;color:var(--muted)}.wizard-story-format-options>button>span{min-width:0;display:grid;gap:6px}.wizard-story-format-options strong{font-size:14px;font-weight:650;line-height:1.35}.wizard-story-format-options small{color:var(--muted);font-size:14px;font-weight:400;line-height:1.5}.wizard-cast-context{display:grid;gap:18px;padding-top:4px}.wizard-cast-context>.wizard-select{width:min(100%,360px)}@media(max-width:700px){.wizard-story-format-options{grid-template-columns:minmax(0,1fr)}.wizard-story-format-options>button{min-height:104px}.wizard-cast-library>header{align-items:stretch;flex-direction:column}.wizard-cast-library>header label{width:100%}.wizard-cast-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wizard-vertical-flow .wizard-step-actions .wizard-primary{width:100%}}
