:root{--settings-bg:#111014;--settings-surface:#19171d;--settings-hover:#242029;--settings-divider:#2d2933;--settings-accent:#e0bcff;--settings-accent-wash:#36283f;--guide-action:#dfb9ed;--guide-action-hover:#f0d5f7;--guide-action-ink:#2c1834}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--black:#f8f6f3;--ink:#251e28;--muted:#655e69;--quiet:#6f6674;--panel:#fffdfb;--elevated:#efeae9;--line:#dcd4db;--blue:#493d86;--skullet-base:#e7e1e4;--skullet-highlight:#f5f1f3;--settings-bg:#f7f3f0;--settings-surface:#fffcf9;--settings-hover:#f1e9ed;--settings-divider:#e6dce2;--settings-accent:#65387e;--settings-accent-wash:#f1e4f6;--guide-action:#603973;--guide-action-hover:#4c265f;--guide-action-ink:#fff}html[data-theme-wave]::view-transition{pointer-events:none}html[data-theme-wave]::view-transition-group(root){animation:none}html[data-theme-wave]::view-transition-old(root){mix-blend-mode:normal;animation:none}html[data-theme-wave]::view-transition-new(root){mix-blend-mode:normal;animation:none}html[data-theme-wave]::view-transition-new(root){z-index:1;clip-path:inset(0 100% 0 0)}.settings-page{width:min(100%,660px);min-height:100dvh;padding:max(14px, env(safe-area-inset-top)) clamp(16px, 5vw, 34px) max(30px, env(safe-area-inset-bottom));margin-inline:auto}.app:has(.settings-page){background:var(--settings-bg)}.settings-header{grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin-bottom:32px;display:grid}.settings-header h1{text-align:center;letter-spacing:-.055em;font:500 clamp(30px,6vw,43px)/1.05 Georgia,serif}.settings-header-button{border:1px solid var(--settings-divider);background:var(--settings-surface);width:44px;height:44px;color:var(--ink);transition:background var(--fast);border-radius:15px;place-items:center;display:grid}.settings-header-button:hover{background:var(--settings-hover)}.settings-group{margin-block:0 25px}.settings-group h2{color:var(--muted);letter-spacing:.043em;margin:0 0 10px 4px;font-size:12px;font-weight:660;line-height:1.3}.settings-rows{border:1px solid var(--settings-divider);background:var(--settings-surface);border-radius:21px}.settings-row{text-align:left;background:0 0;border-radius:20px;align-items:center;gap:11px;width:100%;min-height:64px;padding:10px 14px;display:flex;position:relative}.settings-row+.settings-row:before{content:"";background:var(--settings-divider);block-size:1px;position:absolute;inset:0 14px auto 61px}:is(a,button).settings-row:hover{background:var(--settings-hover)}.settings-row:focus-visible{outline-offset:-3px}.settings-row-icon{height:36px;color:var(--settings-accent);background:var(--settings-accent-wash);border-radius:12px;flex:0 0 36px;place-items:center;display:grid}.settings-row-copy{flex:1;gap:2px;min-width:0;line-height:1.35;display:grid}.settings-row-copy strong{font-size:clamp(14px,3.7vw,16px);font-weight:650}.settings-row-copy small,.settings-row-value,.settings-row-chevron{color:var(--muted)}.settings-row-copy small,.settings-row-value{font-size:12px}.settings-row-value{flex:none}.settings-toggle{appearance:none;cursor:pointer;background:var(--elevated);border:1px solid var(--line);border-radius:999px;flex:0 0 42px;width:42px;height:25px;margin:0;position:relative}.settings-toggle:before{content:"";background:var(--quiet);width:17px;height:17px;transition:transform var(--fast);border-radius:50%;position:absolute;top:3px;left:3px}.settings-toggle:checked{background:var(--settings-accent);border-color:var(--settings-accent)}.settings-toggle:checked:before{background:var(--settings-surface);transform:translate(16px)}.settings-guide-list .settings-row{padding-inline:3px}.appearance-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(6px,2.6vw,13px);display:grid}.appearance-choices button{background:var(--overlay-control);min-height:clamp(96px,28vw,118px);color:var(--ink);transition:border-color var(--fast), background var(--fast);border:1px solid #0000;border-radius:18px;align-content:center;place-items:center;gap:10px;padding:8px 4px;font-size:13px;font-weight:650;display:grid;position:relative}.appearance-choices button:hover{border-color:var(--muted)}.appearance-choices button[aria-pressed=true]{border-color:var(--settings-accent);background:var(--settings-accent-wash)}.appearance-mode-icon{color:var(--muted)}.appearance-choices button[aria-pressed=true] .appearance-mode-icon{color:var(--settings-accent)}.appearance-check{color:var(--settings-accent);position:absolute;top:7px;right:7px}.overlay-frame.guide-frame{position:relative}.guide-media{flex:0 auto;min-height:0;overflow:hidden}.guide-media img{aspect-ratio:1.85;object-fit:cover;width:100%;height:auto;display:block}.guide-frame .overlay-header{min-block-size:0;padding-block:22px 2px;position:static}.guide-frame .overlay-header:after{content:none}.guide-frame .overlay-header h2{letter-spacing:-.04em;text-wrap:balance;font:500 clamp(25px,5vw,35px)/1.05 Georgia,serif}.guide-frame .overlay-close{color:#fff;background:#1b1424cb;position:absolute;top:12px;right:12px}.guide-frame .overlay-close:is(:hover,:focus-visible){color:#fff;background:#2d1c39}.guide-frame .overlay-body{padding-block:9px 16px}.guide-frame .overlay-footer{border-top:0}.guide-description{max-width:44ch;font-size:15px;line-height:1.55}.guide-frame .guide-continue{background:var(--guide-action);color:var(--guide-action-ink)}.guide-frame .guide-continue:hover:enabled{background:var(--guide-action-hover)}[data-theme=light] .brand{color:var(--ink)}[data-theme=light] .main-nav{border-color:var(--line);background:#fffcf8eb;box-shadow:0 5px 24px #5247551a}[data-theme=light] .nav-item{color:var(--muted)}[data-theme=light] .nav-item:is([aria-current],:hover){color:var(--ink)}[data-theme=light] .nav-selection{background:var(--settings-accent-wash)}[data-theme=light] .nav-item .essense-icon{filter:invert()}[data-theme=light] .navigation-blur:after{background:linear-gradient(to bottom, transparent, var(--black))}[data-theme=light] .header-blur:after{background:linear-gradient(to top, transparent, var(--black))}[data-theme=light] :is(.overlay-scrim,.overlay-sheet-scrim){background:#2821325e}[data-theme=light] .overlay-story-preview-scrim{background:#120f1770}[data-theme=light] .overlay-frame{background:var(--panel);box-shadow:0 18px 52px #37284430}[data-theme=light] :is(.outline-button,.credit-pill,.icon-button:not(.story-card-heart),.filter-pill,.search-input,.discover-filter-button){background:var(--panel);border-color:var(--line);color:var(--ink)}[data-theme=light] :is(.outline-button,.icon-button:not(.story-card-heart),.filter-pill):is(:hover,[aria-pressed=true]),[data-theme=light] .credit-pill:hover{background:var(--elevated);color:var(--ink);border-color:var(--line)}[data-theme=light] .detail-actions :is(.outline-button,.story-like){background:#ffffff8c}[data-theme=light] .detail-actions :is(.outline-button,.story-like):hover{background:#ffffffc2}[data-theme=light] .primary-button{background:var(--guide-action);color:var(--guide-action-ink)}[data-theme=light] .primary-button:hover:enabled,[data-theme=light] a.primary-button:hover{background:var(--guide-action-hover)}[data-theme=light] .story-card-heart{color:#fff}[data-theme=light] .discover-profile{border-color:var(--line)}[data-theme=light] .discover-toolbar[data-search-open=true] .discover-search-slot{background:var(--panel);box-shadow:inset 0 0 0 1px var(--line)}[data-theme=light] :is(.story-summary,.story-stats,.story-stats svg,.story-card-caption .story-stats,.story-card-caption .story-stats svg){color:var(--muted)}[data-theme=light] .story-fade>.artwork-card-mesh{--mesh-base:var(--panel);--mesh-strength:22%}[data-theme=light] .story-fade>.artwork-card-mesh:after{opacity:.12}[data-theme=light] .story-surface{background:var(--panel)}[data-theme=light] :is(.story-card,.story-surface,.shared-chat-list,.shared-chat-empty,.path-list li,.chat-path){border-color:var(--line)}[data-theme=light] :is(.story-paths .path-list li,.chat-path,.opening-more,.story-tags li,.rating-stars button){background:var(--elevated);color:var(--ink)}[data-theme=light] :is(.detail-description,.opening-scene .story-prose,.opening-scene .opening-clip,.story-prose,.message-speaker,.chat-notice){color:var(--ink)}[data-theme=light] .opening-scene{--scene-surface:var(--elevated)}[data-theme=light] .artwork-backdrop{background:var(--black)}[data-theme=light] .artwork-backdrop:after{background:linear-gradient(180deg, #f8f6f385, #f8f6f3c9 55%, var(--black))}[data-theme=light] .artwork-backdrop :is(.artwork-mesh-point,.artwork-mesh-image){opacity:.26}[data-theme=light] :is(.persona-trigger:hover,.persona-trigger[aria-expanded=true],.persona-menu,.persona-tile,.persona-tile-add,.persona-tile-art,.plan-hero){background:var(--elevated);color:var(--ink);border-color:var(--line)}[data-theme=light] :is(.form-stack,.memory-list,.creator-opening-choice) :is(input:not([type=checkbox]),textarea,select),[data-theme=light] .options button:not(.swatch){background:var(--panel);color:var(--ink);border-color:var(--line)}[data-theme=light] .options button[aria-pressed=true]:not(.swatch){background:var(--settings-accent-wash);color:var(--settings-accent);border-color:var(--settings-accent)}[data-theme=light] .thread-item+.thread-item:before{background:var(--line)}[data-theme=light] .thread-row:hover{background:var(--elevated)}[data-theme=light] :is(.thread-copy p,.thread-heading time,.thread-group-label),[data-theme=light] .composer textarea::placeholder{color:var(--muted)}[data-theme=light] .chat-header .header-blur:after{background:linear-gradient(#f8f6f3d9,#0000)}[data-theme=light] .composer-blur:after{background:linear-gradient(to top, var(--black), transparent)}[data-theme=light] :is(.chat-title,.composer,.composer:focus-within,.message-popover){background:var(--panel);color:var(--ink);border-color:var(--line)}[data-theme=light] :is(.send:disabled,.message-popover button:hover,.message-menu:hover){background:var(--elevated);color:var(--muted)}[data-theme=light] .story-prose .story-dialogue{border-color:var(--line)}[data-theme=light] .message.user{background:var(--settings-accent-wash)}[data-theme=light] .message.user p{color:var(--ink)}[data-theme=light] .composer-memory{color:var(--muted)}@media (max-width:350px){.settings-row{gap:7px;padding-inline:10px}.settings-row-value{font-size:11px}}@media (prefers-reduced-motion:reduce){.settings-toggle:before,.appearance-choices button{transition:none}}.overlay-auth-scrim{z-index:51}.overlay-auth-dialog,.overlay-auth-sheet-view{z-index:52}.overlay-frame.overlay-auth{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--auth-ink:#211e24;--auth-muted:#625d67;--auth-line:#e7e2e8;--auth-panel:#faf9f8;background:var(--auth-panel);color:var(--auth-ink);border-color:#f3f0f4;box-shadow:0 20px 76px #0f0b16a0}.overlay-auth .overlay-header{min-height:60px}.overlay-auth .overlay-header:after{border-color:var(--auth-line)}.overlay-auth .overlay-header h2{font:680 17px/1.25 var(--sans);letter-spacing:-.023em;align-items:center;gap:10px;display:flex}.overlay-auth .overlay-header h2:focus{outline:none}.overlay-auth .overlay-header svg{color:#615569}.overlay-auth .overlay-body{padding-block:18px 5px}.auth-content{gap:21px;display:grid}.auth-copy{text-align:center;justify-items:center;gap:7px;display:grid}.auth-icon{color:#4e3c59;background:#eee8f2;border:1px solid #e5dce9;border-radius:15px;place-items:center;width:44px;height:44px;margin-bottom:4px;display:grid}.auth-copy h3{letter-spacing:-.057em;text-wrap:balance;font-size:clamp(23px,6vw,34px)}.auth-copy p{color:var(--auth-muted);text-wrap:pretty;width:min(100%,33ch);font-size:14px;line-height:1.45}.auth-providers{gap:9px;display:grid}.auth-invite{gap:5px;margin-bottom:5px;font-size:14px;display:grid}.auth-invite input{border:1px solid var(--auth-line);width:100%;min-height:44px;color:var(--auth-ink);background:#fff;border-radius:12px;padding:8px 12px;font-size:16px}.auth-invite small{color:var(--auth-muted)}.auth-provider{color:#211e24;text-align:left;width:100%;min-height:48px;transition:background var(--fast), transform var(--fast);background:#f0edef;border:1px solid #e2dfe5;border-radius:26px;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:6px 14px 6px 9px;font-size:14px;font-weight:650;display:grid}.auth-provider-google:hover{background:#e9e4ec}.auth-provider-apple{color:#fff;background:#232025;border-color:#232025}.auth-provider-apple:hover{background:#373239}.auth-provider:focus-visible,.auth-exit:focus-visible{outline-color:#685577}.auth-provider:active{transform:scale(.985)}.auth-provider-icon{background:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.auth-provider-apple .auth-provider-icon{background:#3a353d}.auth-provider-label{flex-wrap:wrap;align-items:baseline;gap:2px 8px;display:flex}.auth-provider-label small{color:var(--auth-muted);font-size:11px;font-weight:520}.auth-provider-arrow{opacity:.66}.auth-provider:disabled{opacity:1;color:#625d67;background:#f0edef;border-color:#e8e3e9}.auth-provider:disabled :is(.auth-provider-arrow,.auth-provider-icon){opacity:.65}.auth-provider:disabled .auth-provider-icon{background:#e6e0e8}.auth-status{color:var(--auth-muted);text-align:center;font-size:12px}.auth-status p{color:inherit}.auth-status button{color:var(--auth-ink);background:0 0;padding:5px;text-decoration:underline}.overlay-auth .overlay-footer{border:0;justify-content:center;padding-block:5px 11px}.overlay-auth .auth-exit{min-height:43px;color:var(--auth-muted);place-content:center;padding-inline:14px;font-size:13px;font-weight:600;display:grid}.auth-exit:hover{color:var(--auth-ink);text-underline-offset:3px;text-decoration:underline}@media (prefers-reduced-motion:reduce){.auth-provider{transition:none}.auth-provider:active{transform:none}}
