.cheat-theme{--color-surface:#151515;--color-surface-raised:#191919;--color-surface-muted:#262626;--color-text:#f3efeb;--color-text-muted:#afa8a3;--color-border:#33302e;--color-brand-accent:#ff7b83;--cheat-accent-ink:#251713;--color-brand-soft:#372326;--color-focus:#ff7b83;--ink:var(--color-text);--muted:var(--color-text-muted);--line:var(--color-border);--paper:var(--color-surface);--plum:var(--color-brand-accent);--berry:var(--color-brand-accent);--cheat-cover-ground:#393530;--cheat-error:#ffbdb7;--cheat-error-ground:#47282c;--cheat-success:#8cdbad;--cheat-reading-surface:#211e20;--cheat-reading-panel:#171719;--cheat-reading-ink:#fffaf8;--cheat-reading-muted:#c9c1c5;--cheat-reading-line:#62565f;--cheat-reading-accent:#ffb5a9;--cheat-reading-button-ink:#251713;--cheat-reading-soft:#302b2f;--cheat-reading-bubble:#393438;--cheat-reading-bubble-line:#71616d;--cheat-reading-user:#3c323d;--cheat-reading-action:#d7bddf;--cheat-reading-rgb:17 14 19;--cheat-reading-shadow:0 2px 4px #000000a6;--cheat-reading-stroke:#1a1319d9;--cheat-reading-background:radial-gradient(ellipse at 70% 0%, #8052586b, transparent 65%), linear-gradient(180deg, #383438 0%, #211e20 85%);color:var(--color-text);background:var(--color-surface);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;scrollbar-color:var(--color-border) var(--color-surface);min-height:100dvh}html[data-cheat-theme=light] .cheat-theme{--color-surface:#fff;--color-surface-raised:#faf9f8;--color-surface-muted:#f2f1ef;--color-text:#252322;--color-text-muted:#706b67;--color-border:#e8e5e2;--color-brand-accent:#c62836;--cheat-accent-ink:#fff;--color-brand-soft:#fcebee;--color-focus:#c62836;--cheat-cover-ground:#c8c0b6;--cheat-error:#a32739;--cheat-error-ground:#fff0f2;--cheat-success:#246644;--cheat-reading-surface:#f6f2ef;--cheat-reading-panel:#faf9f8;--cheat-reading-ink:#252322;--cheat-reading-muted:#625b59;--cheat-reading-line:#d5cac6;--cheat-reading-accent:#b12c38;--cheat-reading-button-ink:#fff;--cheat-reading-soft:#eeebe8;--cheat-reading-bubble:#fff;--cheat-reading-bubble-line:#d5c7ce;--cheat-reading-user:#eee5f0;--cheat-reading-action:#67516f;--cheat-reading-rgb:255 255 255;--cheat-reading-shadow:0 1px 3px #ffffffe6;--cheat-reading-stroke:#ffffffd9;--cheat-reading-background:linear-gradient(180deg, #f4eeea, #faf9f8 85%);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.cheat-theme ::selection{color:var(--color-text);background:var(--color-brand-soft)}.cheat-theme :is(a,button,input,textarea):focus-visible{outline:2px solid var(--color-focus);outline-offset:3px}.cheat-theme :is(input,textarea){caret-color:var(--color-focus)}.cheat-theme :is(input,textarea)::placeholder{color:var(--color-text-muted);opacity:1}.cheat-theme-toggle{width:44px;min-height:44px;color:inherit;background:0 0;border:0;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;gap:10px;padding:10px;display:inline-flex}.cheat-theme-toggle:has(span){width:auto}.cheat-theme-toggle:hover{background:var(--color-surface-muted)}.cheat-auth-theme{position:absolute;top:16px;right:16px}.cheat-theme :is(.site-header,.mobile-nav){background:var(--color-surface-raised);border-color:var(--color-border)}.cheat-theme .site-header{gap:24px}.cheat-theme .header-actions{gap:8px}.cheat-theme .cheat-home-search input:focus-visible{outline:none}.cheat-theme :is(.desktop-nav,.mobile-nav a){color:var(--color-text-muted)}.cheat-theme :is(.desktop-nav,.mobile-nav) a[aria-current]{color:var(--color-brand-accent)}.cheat-theme :is(.credit-pill,.profile-chip){color:var(--color-brand-accent);background:var(--color-brand-soft);border-color:var(--color-border)}.cheat-theme .login-link{color:var(--color-brand-contrast);background:var(--color-brand-primary)}.cheat-theme :is(.cheat-tags,.cheat-story-action,.cheat-character-grid a>span:last-child,.cheat-story-link:hover h3){color:var(--color-brand-accent)}.cheat-theme .cheat-button{color:var(--color-brand-accent);border-color:var(--color-brand-accent)}.cheat-theme :is(.my-summary article,.my-panel,.my-heading button){background:var(--color-surface-raised);color:var(--color-text)}.cheat-theme :is(.my-summary small,.ledger-list span,.ledger-list small,.ledger-list b,.nickname-form p,#nickname-result){color:var(--color-text-muted)}.cheat-theme .ledger-list article{border-color:var(--color-border)}.cheat-theme .ledger-list b.plus{color:var(--cheat-success)}.cheat-theme .my-load-more{background:var(--color-surface-muted);border-color:var(--color-border)}.cheat-theme .nickname-form input{color:var(--color-text);background:var(--color-surface)}.cheat-theme .nickname-form button{background:var(--color-brand-primary)}.cheat-theme .nickname-form button:hover:not(:disabled){background:#a51f2b}.cheat-theme .nickname-form input[aria-invalid=true]{border-color:var(--cheat-error)}.cheat-theme #nickname-result[role=alert]{color:var(--cheat-error)}.cheat-theme .notice.error{color:var(--cheat-error);background:var(--cheat-error-ground);border-color:var(--cheat-error)}.cheat-theme .auth-page,.auth-page.cheat-theme{background:var(--color-surface)}.cheat-theme .auth-card{background:var(--color-surface-raised);border-color:var(--color-border);box-shadow:none}.cheat-theme :is(.auth-card label,.auth-tabs button.active){color:var(--color-text)}.cheat-theme :is(.auth-tabs button,.auth-card small,.password-field button){color:var(--color-text-muted)}.cheat-theme .auth-tabs{background:var(--color-surface-muted)}.cheat-theme .auth-tabs button.active{background:var(--color-surface-raised)}.cheat-theme .auth-card input{background:var(--color-surface);color:var(--color-text);border-color:var(--color-border)}.cheat-theme .auth-card input:focus{border-color:var(--color-focus);box-shadow:none;outline:2px solid var(--color-focus);outline-offset:2px}.cheat-theme .primary-button{background:var(--color-brand-primary);color:var(--color-brand-contrast)}.cheat-theme .eyebrow{color:var(--color-brand-accent)}.cheat-theme :is(.cheat-experience,.cheat-library-dialog){--color-stage-surface:var(--cheat-reading-surface);--color-stage-panel:var(--cheat-reading-panel);--color-stage-text:var(--cheat-reading-ink);--color-stage-muted:var(--cheat-reading-muted);--cheat-stage-accent:var(--cheat-reading-accent);--cheat-stage-line:var(--cheat-reading-line);color-scheme:normal;color:var(--cheat-reading-ink)}.cheat-theme :is(.cheat-experience,.cheat-session-background){background:var(--cheat-reading-background);color:var(--cheat-reading-ink)}.cheat-theme .cheat-library-dialog{background:var(--cheat-reading-panel);border-color:var(--cheat-reading-line)}.cheat-theme :is(.cheat-community-stats,.cheat-like-button,.cheat-story-icon-button,.cheat-experience-info .cheat-tags li,.cheat-gallery-thumbnail,.cheat-gallery-file-error){background:var(--cheat-reading-soft)}.cheat-theme :is(.cheat-experience-info h2,.cheat-cast small,.cheat-scene-caption,.cheat-library-heading p,.cheat-library-heading>button,.cheat-library-note,.cheat-session-list small,.cheat-session-list p,.cheat-user-message>span){color:var(--cheat-reading-muted)}.cheat-theme :is(.cheat-conversation-scroll,.cheat-experience-info){scrollbar-color:var(--cheat-reading-line) transparent}.cheat-theme .cheat-user-message .cheat-speech-bubble{background:var(--cheat-reading-user)}.cheat-theme .cheat-character-message .cheat-speech-bubble{background:var(--cheat-reading-bubble);border-color:var(--cheat-reading-bubble-line)}.cheat-theme .cheat-speaker :is(img,span),.cheat-theme .cheat-cast-initial{background:var(--cheat-reading-user);color:var(--cheat-reading-ink)}.cheat-theme :is(.cheat-action-text,.cheat-user-message .cheat-action-text){color:var(--cheat-reading-action)}.cheat-theme :is(.cheat-prologue-text,.cheat-narration){color:var(--cheat-reading-muted);-webkit-text-stroke-color:var(--cheat-reading-stroke);text-shadow:var(--cheat-reading-shadow)}.cheat-theme .cheat-experience-composer textarea{background:var(--cheat-control-surface);border-color:var(--cheat-control-line)}.cheat-theme .cheat-experience-composer textarea:focus{border-color:var(--color-focus);outline-color:var(--color-focus)}.cheat-theme .cheat-experience-composer textarea::placeholder{color:var(--cheat-control-muted)}.cheat-theme :is(.cheat-experience-primary,.cheat-comment-form button,.cheat-locked-content button,.cheat-gallery-filters button[aria-pressed=true]){color:var(--cheat-reading-button-ink);background:var(--cheat-reading-accent)}.cheat-theme .cheat-experience-primary:hover:not(:disabled){background:var(--cheat-reading-accent);filter:brightness(.94)}.cheat-theme :is(.cheat-comment-form textarea,.cheat-reply-suggestions button,.cheat-session-list>button,.cheat-gallery-grid>button,.cheat-story-gallery-button){color:var(--cheat-reading-ink);background:var(--cheat-reading-soft);border-color:var(--cheat-reading-line)}.cheat-theme :is(.cheat-gallery-back,.cheat-gallery-filters button,.cheat-library-dialog .cheat-experience-quiet){color:var(--cheat-reading-ink);border-color:var(--cheat-reading-line)}.cheat-theme :is(.cheat-library-dialog button,.cheat-locked-content button,.cheat-gallery-filters button,.cheat-story-gallery-button):focus-visible{outline-color:var(--cheat-reading-accent)}.cheat-theme :is(.cheat-reply-suggestions button:hover:not(:disabled),.cheat-location-hints li[aria-current]){background:var(--cheat-reading-user);border-color:var(--cheat-reading-accent)}.cheat-theme :is(.cheat-media-discovery,.cheat-locked-content a){color:var(--cheat-reading-accent)}.cheat-theme :is(.cheat-community-error,.cheat-suggestion-error){color:var(--cheat-error)}.cheat-theme .cheat-conversation-error{color:var(--cheat-error);background:var(--cheat-error-ground)}.cheat-theme .cheat-locked-content{background:var(--cheat-reading-panel);color:var(--cheat-reading-ink)}.cheat-theme .cheat-locked-content :is(span,small){color:var(--cheat-reading-muted)}.cheat-theme :is(.cheat-info-cover span,.cheat-gallery-lock){color:#fffaf8;background:#171719}.cheat-theme .cheat-gallery-thumbnail{color:var(--cheat-reading-muted)}@media (max-width:700px){.cheat-theme .site-header{gap:12px;padding-inline:12px}.cheat-theme .cheat-experience-topbar{color:#fffaf8;background:linear-gradient(#0c0a0e2e,#0000)}.cheat-theme :is(.cheat-experience-back,.cheat-info-toggle,.cheat-menu-toggle,.cheat-scene-caption,.cheat-media-toggle){color:#fffaf8}.cheat-theme .cheat-experience-chat,.cheat-theme .cheat-experience-composer{background:0 0}.cheat-theme .cheat-speaker{color:var(--cheat-reading-ink);text-shadow:var(--cheat-reading-shadow)}.cheat-theme .cheat-prologue-script,.cheat-theme :is(.cheat-prologue-text,.cheat-narration){color:var(--cheat-reading-ink)}}@media (max-width:950px) and (max-height:500px) and (orientation:landscape){.cheat-theme .cheat-media-toggle{color:#fffaf8}.cheat-theme .cheat-experience[data-keyboard=true] .cheat-experience-chat{background:0 0}}.cheat-theme .cheat-experience-chat{--color-stage-text:#fffaf8;--color-stage-muted:#e7e1e6;--cheat-reading-soft:#302b2f;--cheat-reading-ink:#fffaf8;--cheat-reading-muted:#e7e1e6;--cheat-reading-bubble:#111218a6;--cheat-reading-bubble-line:#fffaf833;--cheat-reading-user:#411928a6;--cheat-reading-action:#fffaf8;--cheat-reading-shadow:0 1px 2px #000000f2;--cheat-reading-stroke:#000000f2}.cheat-theme .cheat-experience-chat :is(.cheat-conversation-error,.cheat-suggestion-error){color:#fffaf8;background:#25212c}.cheat-theme .cheat-experience-chat .cheat-suggestion-error{border-radius:12px;padding:12px 16px}.cheat-theme .cheat-experience-chat :is(.cheat-conversation-error button,.cheat-experience-quiet){color:#fffaf8;background:#393140;border:1px solid #756782;min-height:44px}.cheat-theme .cheat-experience-chat :is(.cheat-mode-button,.cheat-media-discovery){color:#fffaf8}@media (max-width:700px){.cheat-experience[data-location-notice=true] .cheat-experience-chat{height:calc(100% - 64px - env(safe-area-inset-top))}}@media (min-width:1101px){.cheat-theme .cheat-experience .cheat-experience-topbar{--color-stage-text:var(--cheat-reading-ink);--color-stage-muted:var(--cheat-reading-muted);color:var(--cheat-reading-ink)}.cheat-theme .cheat-experience .cheat-experience-topbar :is(.cheat-menu-toggle,.cheat-chat-settings-button){color:var(--cheat-reading-ink);filter:none}.cheat-theme .cheat-experience .cheat-composer-actions .cheat-chat-settings-button{color:var(--color-text);filter:none}.cheat-theme .cheat-experience .cheat-experience-composer>p{color:var(--color-text-muted);text-shadow:none}.cheat-theme .cheat-experience :is(.cheat-experience-topbar,.cheat-composer-actions) :is(button,a):focus-visible{outline-color:var(--color-focus)}}.cheat-theme .cheat-gallery-dialog{--cheat-reading-panel:#1e1e23;--cheat-reading-soft:#29292f;--cheat-reading-line:#414148;--cheat-reading-muted:#b5b2b9;--cheat-reading-accent:#9bb8a8;--gallery-selected:#3b3b43;--gallery-purchase:#d0b586}html[data-cheat-theme=light] .cheat-theme .cheat-gallery-dialog{--cheat-reading-panel:#faf9f8;--cheat-reading-soft:#eeefed;--cheat-reading-line:#d1d3cf;--cheat-reading-muted:#62645f;--cheat-reading-accent:#38644d;--gallery-selected:#dce2dc;--gallery-purchase:#795b28}.cheat-gallery-dialog [data-tier=bronze]{--gallery-tier:#cd9b78}.cheat-gallery-dialog [data-tier=silver]{--gallery-tier:#bfc7d4}.cheat-gallery-dialog [data-tier=gold]{--gallery-tier:#d0b586}.cheat-gallery-dialog [data-tier=platinum]{--gallery-tier:#bdb1d7}html[data-cheat-theme=light] .cheat-gallery-dialog [data-tier=bronze]{--gallery-tier:#8d5735}html[data-cheat-theme=light] .cheat-gallery-dialog [data-tier=silver]{--gallery-tier:#5b6b80}html[data-cheat-theme=light] .cheat-gallery-dialog [data-tier=gold]{--gallery-tier:#866729}html[data-cheat-theme=light] .cheat-gallery-dialog [data-tier=platinum]{--gallery-tier:#786293}.cheat-theme .cheat-gallery-dialog .cheat-gallery-filters button{border-color:#0000}@media (hover:hover){.cheat-theme .cheat-gallery-dialog .cheat-gallery-filters button:hover{background:var(--cheat-reading-soft);border-color:var(--cheat-reading-line)}}.cheat-theme .cheat-gallery-dialog .cheat-gallery-filters button[aria-pressed=true]{color:var(--cheat-reading-ink);background:var(--gallery-selected);border-color:var(--cheat-reading-line);font-weight:650}.cheat-theme .cheat-gallery-dialog [data-state=available][aria-pressed=true],.cheat-theme .cheat-gallery-dialog .cheat-gallery-grid>[data-state=available] .cheat-gallery-card-state{color:var(--cheat-reading-accent)}.cheat-theme .cheat-gallery-dialog [data-state=locked][aria-pressed=true],.cheat-theme .cheat-gallery-dialog .cheat-gallery-grid>[data-state=locked] .cheat-gallery-card-state{color:var(--gallery-purchase)}.cheat-theme .cheat-gallery-dialog ::selection{background:var(--gallery-selected);color:var(--cheat-reading-ink)}
