.chat{height:var(--chat-viewport,100dvh)}.chat .chat-top{min-height:70px;padding:12px 20px;background:var(--surface-1);border-color:#34332c;-webkit-backdrop-filter:none;backdrop-filter:none}.chat .chat-shell{grid-template-columns:minmax(290px,34%) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.chat.chat--character-closed .chat-shell{grid-template-columns:minmax(0,1fr)}.chat.chat--character-closed .character-stage{display:none}.chat .character-stage{overflow-y:auto;overscroll-behavior:contain;background:#201e19;border-color:#3b382e;scrollbar-width:thin;scrollbar-color:#5f5643 transparent}.chat .character-stage:after{content:none}.character-stage__portrait{position:relative;height:clamp(230px,36dvh,380px);overflow:hidden;background:#191612}.chat .character-stage__portrait .presence__image,.chat .character-stage__portrait .presence__video{object-position:var(--presence-focus);animation:none;transform:none}.chat.chat--story .character-stage__portrait .presence__image{object-fit:contain}.chat .character-stage__portrait .presence__image[data-orientation=portrait]{object-fit:cover}.chat .character-stage__portrait .presence__grain,.chat .character-stage__portrait .presence__light{display:none}.chat .character-stage__top{inset:16px auto auto 18px;pointer-events:none}.chat .presence-status{color:#f6f1e4;background:#171611e6;-webkit-backdrop-filter:none;backdrop-filter:none;border-color:#6a6049;letter-spacing:.02em}.character-stage__content{display:grid;grid-gap:20px;gap:20px;padding:22px 24px 28px}.character-stage__content[hidden],.chat-settings-panel[hidden]{display:none}.chat .character-stage__meta{display:block;position:static;inset:auto;pointer-events:none}.chat .character-stage__meta>span{display:block;font-size:11px;letter-spacing:.06em;color:#bbb2a2}.chat .character-stage__meta h1{margin:9px 0 10px;font-size:clamp(27px,2.5vw,38px);line-height:1.25;font-weight:500;letter-spacing:0}.chat .character-stage__meta p{display:block;color:#ccc4b7;font-size:13px;line-height:1.75}.chat .mood-meter{display:block;position:static;inset:auto;width:100%;transform:none;margin:0;padding:0;border:0;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none}.chat .mood-meter__head{flex-wrap:wrap;gap:8px}.chat .mood-meter__label{color:#ccc4b7;font-size:12px;letter-spacing:0}.chat .mood-meter__zone{font:500 13px/1.5 var(--sans)}.chat .mood-meter__value{-webkit-margin-start:auto;margin-inline-start:auto;color:#e7dbc3;font-size:12px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.chat .mood-meter__track{height:4px;margin-top:10px;background:#4b4538}.chat .mood-meter__hint{display:none}.touch-actions{min-width:0;margin:0;padding:0;border:0}.touch-actions legend{padding:0;margin-bottom:10px;font-size:12px;color:#ccc4b7}.touch-actions__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.touch-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-height:58px;padding:10px 12px;border:1px solid #73613d;border-radius:10px;color:#f3d27c;background:#383021;text-align:start}.touch-action>span{font-size:13px;font-weight:500}.touch-action small{color:#cbc1b0;font-size:11px;line-height:1.4}.touch-action:disabled{color:#bcb3a5;border-color:#494338;background:#29251e}.touch-action.is-on,.touch-action:hover:not(:disabled){background:#534226;border-color:#e9bd55;color:#fff1ca}.touch-action:focus-visible{outline-offset:3px}.chat .chat-rewards{margin:0;padding-top:18px;border-top:1px solid #474033}.chat .chat-rewards__head{align-items:baseline;flex-wrap:wrap;color:#e4ddcf;gap:6px 12px;font-size:12px;line-height:1.5}.chat-rewards__head>span{color:#bcb3a5;font-size:11px}.chat .chat-rewards__photos{display:flex;gap:8px;margin-top:12px}.chat .chat-rewards__still{flex:0 1 82px;min-width:0;height:84px;aspect-ratio:auto;border-radius:8px;border-color:#625640;background:#29251e}.chat .chat-rewards__still:not(.is-open){background:#29251e}.chat-rewards__lock{display:grid;grid-gap:7px;gap:7px;padding:5px}.chat-rewards__lock b{font-size:11px;font-weight:500;color:#e4ddcf}.chat-rewards__lock small{font-size:11px;line-height:1.4;color:#bcb3a5}.chat .chat-rewards__meta{margin-top:10px;color:#bcb3a5;font-size:11px;line-height:1.7}.chat-rewards__disclosure{margin-top:12px;color:#bcb3a5;font-size:11px;line-height:1.7}.chat-rewards__disclosure summary{cursor:pointer;padding-block:5px;color:#d7c9ae}.chat-rewards__disclosure p{margin:8px 0 0}.chat .conversation{background:var(--surface-0)}.chat .conversation .thread{max-width:860px;padding:30px 34px 20px}.chat .msg__speaker{color:#d5c093;letter-spacing:.05em;font-size:11px}.chat .msg--assistant .prose{border-color:var(--line-2);background:var(--surface-2);box-shadow:none;padding:20px 22px;font-size:16px;line-height:1.9}.chat .msg--assistant .prose em{color:#c9c5b9;font-style:normal}.chat .conversation .composer{padding:12px 34px calc(18px + env(safe-area-inset-bottom));background:var(--surface-1);border-top:1px solid var(--line-2)}.chat .conversation .composer__inner{max-width:792px}.chat .composer .starters{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 20px}.chat .composer .starters--pair{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.chat .composer .starters--single{grid-template-columns:minmax(0,1fr);margin-bottom:12px}.chat .composer .starters--trio{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.chat .composer .reply-ideas--composer{margin:0}.chat .composer .composer-send-hint{margin:0 0 8px;color:#d6c197;font-size:11.5px;line-height:1.3}.chat .composer .composer-first-hint{margin:0 0 6px;padding-inline:4px;color:#bfb6a6;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat .composer .reply-ideas--opening~.composer-first-hint{display:none}.chat .conversation .row.row--ready{border-color:rgba(255,210,28,.5)}.chat .send--round{touch-action:manipulation;transition:opacity .14s ease,transform .12s ease,box-shadow .14s ease}.chat .send--round.send--ready{opacity:1;box-shadow:0 2px 10px rgba(255,210,28,.28)}.chat .send--round:active:not(:disabled){transform:scale(.94)}.chat .starters--inline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin:4px 0 18px}.chat .reply-ideas--first-reply{margin:8px 0 4px}.chat .reply-ideas--first-reply .reply-ideas__label{margin:0 0 6px;font-size:11.5px;color:#c9bfa9}.chat .starters--first-reply{display:flex;flex-wrap:wrap;gap:8px;margin:0}.chat .starters--first-reply .starter--first-reply{flex:0 1 auto;width:auto;min-height:38px;height:auto;padding:8px 12px;border-radius:12px;font-size:13.5px;line-height:1.45}.chat .starters__label{grid-column:1/-1;color:#ead29a;font-size:11px;letter-spacing:.02em;margin-bottom:2px}.chat .starter{grid-template-columns:minmax(0,1fr) auto;min-height:58px;height:100%;padding:11px 12px;border:1px solid var(--line-3);border-radius:10px;background:var(--surface-2);color:#e8e3d7;line-height:1.65;font-size:14px}.chat .starter small{display:none}.chat .starter:hover{background:var(--surface-3);border-color:#a39160;transform:none}.chat .composer__tools{flex-wrap:wrap;margin-bottom:10px;gap:8px 14px}.composer__intensity{display:inline-flex;align-items:center;gap:10px;color:#bcb5a9;font-size:12px}.composer__intensity select{min-height:36px;padding:6px 27px 6px 10px;border:1px solid var(--line-3);border-radius:8px;background:var(--surface-2);color:#edce7e}.chat .reply-language-select{margin-bottom:8px}.chat .conversation .row{border-color:var(--line-3);background:var(--surface-2)}.chat .conversation .row textarea{min-height:48px;line-height:1.4;padding:12px 14px}.chat .conversation .row textarea::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat .who strong{font-size:18px;font-weight:500;letter-spacing:0}.chat .who span{font-size:12px;color:#c3baaa}.chat .who img{width:42px;height:42px;border-radius:50%}.chat .chat-tools{gap:9px}.chat .chat-tools .icon-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border-radius:9px;font-size:12px;line-height:1.2;white-space:nowrap;text-decoration:none}.chat .chat-about,.chat .chat-new{border-color:transparent;color:#c7bfaf}.chat .chat-character-toggle{background:#28291f;border-color:#686043;color:#ead29a}.chat .chat-character-toggle[aria-expanded=false]{background:transparent;border-color:var(--line-3);color:#c7bfaf}.chat .chat-settings{border-color:#777055;background:#373422;color:#f2e4bd}.chat .drawer{width:min(420px,100vw);background:var(--surface-1);padding:24px;border-color:var(--line-3)}.chat .drawer h2{font-size:27px}.chat .drawer .chat-sharing{padding:14px;border:1px solid var(--line-3);border-radius:12px;background:var(--surface-2)}.chat .drawer .chat-sharing summary{font-size:13px;gap:10px}.chat .drawer .chat-sharing__body{max-height:none;overflow:visible;font-size:12px}.chat .drawer .chat-sharing__actions{gap:10px}.chat .drawer .chat-sharing__actions button{min-height:44px;text-align:start}@media (max-width:1050px) and (min-width:821px){.chat .chat-top{padding-inline:12px}.chat .chat-tools{gap:3px}.chat .chat-tools .icon-btn{padding-inline:8px}.character-stage__content{padding-inline:18px}.chat .conversation .composer,.chat .conversation .thread{padding-inline:24px}}@media (max-width:820px){.chat .chat-top{flex-wrap:wrap;min-height:0;gap:8px;padding:10px 12px}.chat .who{flex-grow:1;flex-shrink:1;flex-basis:calc(100% - 54px)}.chat .who span{display:block;max-width:100%}.chat .chat-tools{display:grid;width:100%;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:4px;gap:4px}.chat .chat-tools .icon-btn{min-width:0;min-height:36px;padding:7px 4px;font-size:11px;line-height:1.45;white-space:normal;text-wrap:balance;text-align:center}.chat .chat-tools .locale-select{display:none}.chat .chat-shell,.chat.chat--active .chat-shell,.chat.chat--composing .chat-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr);transition:none}.chat.chat--character-closed .character-stage{display:block;overflow:hidden}.chat.chat--character-open .chat-shell{grid-template-rows:minmax(0,54%) minmax(0,1fr)}.chat .character-stage{grid-column:1;grid-row:1;border-right:0;border-bottom:1px solid #4f4737}.chat .conversation{grid-column:1;grid-row:2}.chat .character-stage__portrait{height:72px}.chat.chat--character-open .character-stage__portrait{height:clamp(140px,22dvh,180px)}.chat .character-stage__portrait .presence__image{object-position:50% 25%}.chat .character-stage__top{inset:14px auto auto 16px}.chat .character-stage__content{padding:16px 18px 22px;gap:16px}.chat .character-stage__meta h1{font-size:26px;margin:6px 0 8px}.chat .conversation .thread{padding:18px 16px 12px}.chat .msg{margin-bottom:16px}.chat .msg--assistant .prose{padding:14px 16px;font-size:15px;line-height:1.8}.chat .conversation .composer{padding:10px 12px calc(12px + env(safe-area-inset-bottom))}.chat .composer .starters{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;margin-bottom:12px;padding:2px 0 6px;scrollbar-width:thin}.chat .starters--inline{grid-template-columns:1fr;gap:6px;margin:4px 0 14px}.chat .starters__label{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.chat .starter{flex:0 0 auto;width:auto;max-width:85%;min-height:44px;padding:8px 11px;font-size:14px}.chat .starters--inline .starter{max-width:100%;width:100%;min-height:40px}.chat .composer__tools{gap:6px 10px}.chat .reply-language-select{min-height:32px;margin-bottom:6px}.composer__intensity{font-size:11px;gap:6px}.composer__intensity select{min-height:32px;font-size:12px}.chat .guest-turns{min-height:32px}.chat.chat--composing .chat-shell{grid-template-rows:0 minmax(0,1fr)}.chat.chat--composing .character-stage,.chat.chat--composing .composer .reply-language-select,.chat.chat--composing .composer .starters,.chat.chat--composing .composer__intensity{display:none}}@media (max-width:820px) and (max-height:600px){.chat.chat--character-closed .chat-shell,.chat.chat--composing .chat-shell{grid-template-rows:0 minmax(0,1fr)}.chat.chat--character-closed .character-stage,.chat.chat--composing .character-stage{display:none}.chat.chat--character-open:not(.chat--composing) .chat-shell{grid-template-rows:minmax(0,38%) minmax(0,1fr)}.chat .chat-top{padding-block:6px}.chat .who img{width:32px;height:32px}}.chat-handoff{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;padding:10px 18px;border-bottom:1px solid #ffffff14;font-size:12px;color:var(--mute)}.chat .conversation--handoff{grid-template-rows:auto minmax(0,1fr) auto}.chat .conversation:has(>.conversation-context){grid-template-rows:auto minmax(0,1fr) auto}.conversation-context{max-height:42svh;overflow:auto;min-height:0}.chat-handoff a{color:var(--gold-soft);text-decoration:underline;text-underline-offset:3px;padding:5px 0}.reply-recovery{margin:12px 0 4px;padding:12px 14px;border:1px solid #d6a76c55;border-radius:12px;background:#d6a76c0b}.reply-recovery p{margin:0 0 8px;font-size:13px;line-height:1.5}.reply-recovery__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.reply-recovery button{min-height:40px;border:1px solid #d6a76c70;border-radius:8px;background:transparent;color:inherit;padding:7px 13px;cursor:pointer}.reply-recovery button.reply-recovery__primary{background:var(--gold-soft);border-color:var(--gold-soft);color:#17120d;font-weight:600}.typing.typing--skeleton{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:min(100%,340px);padding:13px 15px;border:1px solid rgba(214,167,108,.22);border-radius:4px 16px 16px 16px;background:var(--surface-2)}.typing__head{display:flex;align-items:center;gap:6px;font-size:12.5px;line-height:1.45;color:var(--mute)}.typing__head span{flex:1 1 auto;min-width:0}.typing__skeleton-lines{display:grid;grid-gap:7px;gap:7px}.typing__skeleton-line{display:block;height:10px;border-radius:999px;background:linear-gradient(90deg,rgba(255,255,255,.06) 20%,rgba(214,167,108,.2) 50%,rgba(255,255,255,.06) 80%);background-size:200% 100%;animation:typing-shimmer 1.5s ease-in-out infinite}.typing__skeleton-line--long{width:92%}.typing__skeleton-line--mid{width:68%}.typing__skeleton-line--short{width:44%}.typing__retry-btn{align-self:flex-start;min-height:32px;padding:4px 11px;border:1px solid #d6a76c70;border-radius:8px;background:#262118;color:#f0dfbe;font-size:12px;cursor:pointer}.typing.typing--inline{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:6px 10px;border:1px solid rgba(214,167,108,.28);border-radius:999px;background:rgba(214,167,108,.08);font-size:12px;color:var(--mute)}@keyframes typing-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.typing__skeleton-line{animation:none}}.chat.chat--character-closed .chat-shell{grid-template-columns:minmax(260px,32%) minmax(0,1fr)}.chat.chat--character-closed .character-stage{display:block;overflow:hidden}.chat.chat--character-closed .character-stage__portrait{height:100%}.chat.chat--character-closed .character-stage__top{display:none}.chat .chat-top{min-height:64px}.chat .who{min-width:0}.chat .who>div{min-width:0;flex:1 1}.chat .who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat .chat-settings{min-width:42px;color:#c7bfaf;letter-spacing:2px;text-indent:2px}.chat .chat-character-toggle,.chat .chat-settings{background:transparent;border-color:transparent}.chat .chat-character-toggle[aria-expanded=false]{border-color:transparent;color:#a9a395}.chat .conversation .thread{padding-top:36px}.chat .msg--assistant .prose{background:transparent;border:0;padding:8px 0 18px}.chat .conversation .composer{background:var(--surface-0);border-top-color:#ffffff0a;padding-top:10px}.chat .composer__tools:empty{display:none}.opening-ideas{margin:0 0 10px}.opening-ideas>summary{width:-moz-fit-content;width:fit-content;padding:6px 0;cursor:pointer;color:#aaa497;font-size:12px}.chat .opening-ideas .starters,.opening-ideas[open]>summary{margin-bottom:8px}.chat .opening-ideas .starters__label{display:none}.drawer__quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:20px 0;font-size:13px}.drawer__quick-actions .drawer__link-btn,.drawer__quick-actions a{color:#d6c197}.drawer__quick-actions .drawer__link-btn{padding:0;border:0;background:transparent;font:inherit;text-decoration:underline;cursor:pointer}.chat .drawer>.guest-turns{margin:0 0 12px}@media (max-width:820px){.chat .chat-top{flex-wrap:nowrap;gap:6px;padding:8px 10px}.chat .who{flex:1 1;gap:8px}.chat .who img{width:36px;height:36px}.chat .who strong{font-size:14px}.chat .who span{max-width:100%;font-size:11px}.chat .chat-tools{display:flex;width:auto;gap:3px;flex-shrink:0}.chat .chat-tools .icon-btn{min-height:34px;padding:5px 7px;font-size:11.5px;white-space:nowrap}.chat .chat-settings{min-width:34px;padding-inline:6px}.chat.chat--character-closed .chat-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.chat.chat--character-closed .character-stage{display:none}.chat.chat--character-closed .conversation{grid-row:1}.chat .conversation .thread{padding-top:24px}.chat .msg--assistant .prose{padding:8px 0 16px}}.chat .starters--deeplink{grid-template-columns:1fr;margin:0 0 12px}.chat .msg--assistant{display:grid;grid-template-columns:30px minmax(0,1fr);grid-column-gap:10px;column-gap:10px;align-items:start}.chat .msg__speaker{grid-column:1;grid-row:1/span 2;margin:2px 0 0}.chat .msg__speaker img{display:block;width:30px;height:30px;object-fit:cover;border-radius:10px}.chat .msg--assistant>:not(.msg__speaker){grid-column:2;min-width:0}.chat .msg--assistant .prose{width:-moz-fit-content;width:fit-content;max-width:92%;padding:0;font-size:15px;line-height:1.7}.chat .msg--assistant .prose .chat-speech{width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 0 8px;padding:11px 14px;border-radius:4px 16px 16px 16px;background:var(--surface-2);color:var(--ink);overflow-wrap:anywhere}.chat .msg--assistant .prose .chat-scene{margin:0 0 10px;padding:0 2px;border:0;color:var(--faint);font-size:13px;line-height:1.7}.chat .msg--user .bubble{color:#fbefd3;background:#3a3020;border:1px solid #e8c68f38;box-shadow:none;font-size:15px;line-height:1.7}.chat .msg--assistant .prose,.chat .msg--user .bubble,.chat .row textarea,.chat .who strong{font-family:var(--sans)}.chat .who img{object-fit:cover;border-radius:12px}.chat .reply-ideas{margin:4px 0 8px;color:var(--faint);font-size:12px}.chat .reply-ideas>summary{width:-moz-fit-content;width:fit-content;padding:8px 0;cursor:pointer}.chat .reply-ideas .starters{margin:4px 0}.chat .conversation .thread{padding-top:20px}@media (max-width:820px){.chat .msg--assistant .prose{max-width:100%}.chat .msg{margin-bottom:18px}}.chat .starter--highlighted{border-color:#d6a76c;background:linear-gradient(135deg,#2d2619,#1f1b14);color:#f7ead1;box-shadow:0 6px 20px #00000040}.chat .starter--highlighted b{color:#f0c475;font-weight:600;font-size:12px;white-space:normal;overflow-wrap:anywhere}.turn-unlock-relay{margin:8px 0 18px;padding:14px 16px;border:1px solid #d6a76c66;border-radius:12px;background:linear-gradient(145deg,#221d16,var(--surface-1))}.turn-unlock-relay strong{display:block;color:#f5e6c8;font-size:14px;line-height:1.5}.turn-unlock-relay p{margin:4px 0 10px;color:#c7beaf;font-size:12px;line-height:1.6}.turn-unlock-relay__actions{display:flex;flex-wrap:wrap;gap:8px}.turn-unlock-relay__btn{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid #d6a76c55;border-radius:8px;color:#ead3a3;background:#262118;font-size:12px;text-decoration:none}.turn-unlock-relay__btn--primary{background:var(--gold-soft);color:#17120d;border-color:var(--gold-soft);font-weight:600}.chat-unfinished-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;margin:0 0 24px;padding:12px 16px;border:1px solid #d6a76c80;border-radius:12px;background:linear-gradient(135deg,#272015,#181612)}.chat-unfinished-banner[hidden]{display:none}.chat-unfinished-banner .unfinished-story-banner__body{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}.chat-unfinished-banner strong{display:block;color:#f4dfaf;font-size:13px;line-height:1.45}.chat-unfinished-banner p{margin:2px 0 0;color:#c7beaf;font-size:12px;line-height:1.45}.chat-unfinished-banner .unfinished-story-banner__cta{display:inline-flex;align-items:center;justify-content:center;min-height:36px;max-width:100%;padding:6px 14px;border:0;border-radius:8px;background:var(--gold-soft);color:#17120d;font-weight:600;font-size:12px;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.chat-turn-reward-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 10px;margin-bottom:2px}.chat-turn-reward-bar__actions{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}.chat-turn-reward-bar__pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #d6a76c55;border-radius:999px;background:#231d14;color:#e8cfa0;font-size:11px;line-height:1.3;cursor:pointer}.chat-turn-reward-bar__pill i{font-style:normal;padding:1px 6px;border-radius:999px;background:#d6a76c29;color:#f5deb3;font-weight:600}.chat-turn-reward-bar__rewrite{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border:1px solid #ffffff24;border-radius:999px;background:var(--surface-2);color:#d6d0c4;font-size:11px;line-height:1.3;cursor:pointer}.chat-turn-reward-bar__rewrite:hover{border-color:#d6a76c88;color:#f5e6c8}.dossier__greeting-starters{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.dossier__greeting-starter{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;border:1px solid #d6a76c55;border-radius:999px;background:#221d15;color:#f0dfbe;font-size:13px;line-height:1.4;text-decoration:none}.dossier__greeting-starter:hover{border-color:var(--gold-soft);background:#2d261a}.chat .prose .chat-scene{color:var(--faint);font-size:13px;line-height:1.7;margin:0 0 10px;-webkit-padding-start:2px;padding-inline-start:2px;-webkit-border-start:0;border-inline-start:0}.chat .prose .chat-speech{margin:0 0 8px}.chat .prose p:last-child{margin-bottom:0}.chat .back--pill{display:inline-flex;align-items:center;gap:5px;width:auto;min-height:36px;padding:6px 12px;border:1px solid #5a523e;border-radius:999px;background:#221f18;color:#f3e4c3;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap;flex-shrink:0}.chat .back--pill:hover{border-color:#d6a76c;background:#2c271d}.chat .conversation{display:grid;grid-template-rows:minmax(0,1fr) auto}.chat .conversation .thread{display:flex;flex-direction:column;width:100%}.chat-scene-card{margin:0 0 16px;padding:12px 14px;border:1px solid var(--line-3);border-radius:14px;background:linear-gradient(145deg,var(--surface-1),var(--surface-1))}.chat-scene-card__head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-bottom:6px}.chat-scene-card__badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:#d6a76c24;border:1px solid #d6a76c55;color:#f0cf92;font-size:11px;font-weight:600}.chat-scene-card__meta{color:var(--faint);font-size:12px}.chat-scene-card__text{margin:0;color:var(--ink-2);font-size:13px;line-height:1.65}.chat .msg__header{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:0 0 6px}.chat .msg__header strong{color:#f1e5ca;font-size:13px;font-weight:600}.chat .msg__opening-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;background:var(--gold-wash);border:1px solid var(--gold-line);color:var(--gold-soft);font-size:11px}.chat .reply-ideas__label{display:block;margin:4px 0 6px;color:#c9bfa9;font-size:12px;font-weight:500}.chat-inline-photo{margin:12px 0 10px;max-width:320px;border:1px solid #d6a76c66;border-radius:14px;overflow:hidden;background:linear-gradient(155deg,#211c14,var(--surface-1));box-shadow:0 10px 28px #00000059}.chat-inline-photo__frame{position:relative;width:100%;aspect-ratio:3/4;max-height:300px;overflow:hidden;background:var(--surface-1)}.chat-inline-photo__frame img{width:100%;height:100%;object-fit:cover;display:block}.chat-inline-photo__badge{position:absolute;left:10px;bottom:10px;padding:4px 10px;border-radius:999px;border:1px solid #e8c68f66;background:#14120ed9;color:#f6e4be;font-size:11.5px;font-weight:600;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.chat-inline-photo__body{padding:10px 12px 12px}.chat-inline-photo__caption{margin:0 0 8px;color:#cbc3b2;font-size:12px;line-height:1.45}.chat-inline-photo__actions{display:flex;flex-wrap:wrap;gap:6px}.chat-inline-photo__btn{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid #d6a76c55;border-radius:8px;background:#252017;color:#ead3a3;font-size:12px;cursor:pointer}.chat-inline-photo__btn--primary{background:var(--gold-soft);border-color:var(--gold-soft);color:#17120d;font-weight:600}.chat-scene-card__memory-btn{margin-left:auto;min-height:44px;padding:8px 12px;border-radius:999px;border:1px solid #d6a76c66;background:#272017;color:#f3d8a3;font-size:12px;font-weight:600;cursor:pointer}.chat-scene-card__scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:6px;gap:6px;margin:8px 0}.chat-scene-card__tab{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:0;text-wrap:balance;min-height:44px;padding:8px;border-radius:999px;border:1px solid #ffffff24;background:var(--surface-2);color:#cbc3b2;font-size:12px;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.chat-scene-card__memory-btn:hover,.chat-scene-card__tab:hover:not(:disabled){background:#332c20;border-color:#d6a76c}.chat-scene-card__tab:disabled{cursor:wait;opacity:.6}.chat-memory-panel__clear:focus-visible,.chat-scene-card__memory-btn:focus-visible,.chat-scene-card__tab:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}.chat-scene-card__tab.is-active{border-color:var(--gold-soft);background:#2d2519;color:#f7e6c4;font-weight:600}.chat-memory-panel{min-width:0;overflow-wrap:anywhere;scroll-margin-top:16px;margin:0 0 12px;padding:12px;border-radius:12px;border:1px solid #d6a76c4d;background:linear-gradient(155deg,#211c14,var(--surface-1))}.chat-memory-panel__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.chat-memory-panel__head strong{color:#f6e7c8;font-size:13px}.chat-memory-panel__stage-badge{padding:2px 8px;border-radius:999px;background:#332818;border:1px solid #e8c68f66;color:#f4d89e;font-size:11px;font-weight:600}.chat-memory-panel__bond-title{color:#ead3a3;font-size:12px;font-weight:600;margin-bottom:5px}.chat-memory-panel__bar{height:5px;border-radius:999px;background:#ffffff1a;overflow:hidden;margin-bottom:6px}.chat-memory-panel__bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#d6a76c,#f3d8a3)}.chat-memory-panel__empty,.chat-memory-panel__summary{margin:0;color:#b7afa0;font-size:11.5px;line-height:1.45}.chat-memory-panel__group{margin-top:10px;padding-top:8px;border-top:1px solid #ffffff14}.chat-memory-panel__group-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-memory-panel__label{display:block;color:#d8c8a8;font-size:11px;font-weight:600;margin-bottom:5px}.chat-memory-panel__clear{min-height:44px;flex-shrink:0;border:0;background:transparent;color:#a9a192;font-size:12px;cursor:pointer;padding:8px}.chat-memory-panel__chips{display:flex;flex-wrap:wrap;gap:5px}.chat-memory-panel__chip{padding:2px 8px;border-radius:999px;background:#252017;border:1px solid #d6a76c44;color:#eedab0;font-size:11px}.chat-memory-panel__facts{margin:0;padding-left:16px;color:#dfd6c5;font-size:11.5px;line-height:1.5}.chat-memory-panel__note,.chat-scene-card__hint{margin:10px 0 0;color:#b7afa0;font-size:12px;line-height:1.6}@media (max-width:820px){.chat-scene-card__meta{display:none}.chat .back--pill{padding:5px 9px;font-size:11.5px;min-height:34px}.chat .who span{max-width:100%}}.chat-scene-card:not([open]){padding:0;background:transparent;border:0;margin-bottom:18px}.chat-scene-card__summary{display:flex;align-items:center;gap:12px;min-height:44px;color:#d6c197;font-size:12px;cursor:pointer;list-style:none}.chat-scene-card__summary::-webkit-details-marker{display:none}.chat-scene-card__summary:after{content:"+";-webkit-margin-start:auto;margin-inline-start:auto;font-size:18px}.chat-scene-card[open]>summary:after{content:"−"}.chat-scene-card__summary span{color:var(--mute)}.chat-scene-card__details{padding-top:8px}.chat .conversation .thread--intro .msg--opening{margin-top:0}.chat .conversation .thread--intro{align-items:stretch}.chat-opening-layout{display:flex;align-items:flex-start;gap:16px}.chat-opening-layout>div{min-width:0;flex:1 1}.chat-opening-portrait{display:none}.chat-opening-full{margin:0 0 12px}.chat-opening-full>summary{min-height:44px;display:flex;align-items:center;width:-moz-fit-content;width:fit-content;color:#d6c197;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:4px}.chat .reply-ideas{width:100%}.chat .chat-turn-reward-bar__actions:empty{display:none}.chat .chat-turn-reward-bar__actions{margin-top:8px}.chat .chat-turn-reward-bar__pill{min-height:44px;background:transparent}.chat .starter--highlighted{border-color:#dfba7a;background:#342c1d;box-shadow:none}.chat .starter:focus-visible,.chat-opening-full>summary:focus-visible,.chat-opening-portrait:focus-visible,.chat-scene-card__summary:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}.chat-inline-photo{display:grid;grid-template-columns:112px minmax(0,1fr);max-width:420px;background:var(--surface-1);box-shadow:none;border-color:var(--line-3)}.chat-inline-photo__frame{height:112px;aspect-ratio:auto}.chat-photo-observation{width:100%;height:100%}.chat-inline-photo__badge{inset:auto 6px 6px;padding:4px 6px;font-size:10px;border:0;border-radius:4px;background:#14120fe8;-webkit-backdrop-filter:none;backdrop-filter:none}.chat-inline-photo__body{align-self:center}.chat-inline-photo__btn{min-height:44px}.chat .conversation .thread{scrollbar-width:thin;scrollbar-color:#6c6655 var(--surface-0)}.chat ::selection{color:#11150f;background:var(--gold-soft)}.chat textarea{caret-color:var(--gold-soft)}@media (max-width:820px){.chat .chat-tools .chat-history-link,.chat .chat-tools .chat-restyle-link{display:none}.chat .chat-tools .icon-btn{min-height:44px;padding-inline:8px}.chat .who strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat .who span{font-size:11px}.chat .conversation .thread{padding-top:12px}.chat .msg--opening{display:block}.chat .msg--opening>.msg__header,.chat .msg--opening>.msg__speaker{display:none}.chat-opening-portrait{display:block;flex:0 0 84px;padding:0;width:84px;height:112px;overflow:hidden;border:0;border-radius:12px;background:#201e19;cursor:pointer}.chat-opening-portrait img{display:block;width:100%;height:100%;object-fit:cover}.chat .msg--opening .prose{font-size:14px;line-height:1.65}.chat .msg--opening .prose .chat-speech{padding:0;background:transparent}.chat .msg--opening .prose .chat-scene{color:var(--mute)}.chat .starters--inline .starter{min-height:44px}.chat-scene-card:not([open]){margin-bottom:12px}}@media (prefers-reduced-motion:no-preference){.chat .thread--intro .chat-opening-portrait{animation:chat-portrait-arrive .36s cubic-bezier(.16,1,.3,1)}@keyframes chat-portrait-arrive{0%{transform:translateY(6px);filter:saturate(.65)}to{transform:translateY(0);filter:saturate(1)}}}.chat-rewards__open{display:block;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:transparent}.chat-rewards__open:focus-visible{outline:2px solid var(--gold-soft);outline-offset:-3px}.chat-rewards__selected{margin:14px 0 0}.chat-rewards__selected>img{display:block;width:100%;max-height:380px;object-fit:contain;background:var(--surface-1);border-radius:12px}.chat-rewards__selected figcaption{margin-top:8px;color:var(--mute);font-size:12px}.chat-character-toggle__back,.reply-ideas__rewrite{display:none}@media (max-width:820px){.chat{height:var(--chat-viewport,100dvh);max-height:var(--chat-viewport,100dvh);grid-template-columns:minmax(0,1fr)}.chat .chat-top,.chat .composer{min-width:0}.chat .chat-top{min-height:48px;padding:5px 10px;gap:6px}.chat .back--pill{min-height:36px;padding:4px 10px;font-size:12px}.chat .who img{width:32px;height:32px}.chat .chat-tools .icon-btn{min-height:36px;padding:4px 8px}.chat .conversation{grid-template-columns:minmax(0,1fr)}.chat.chat--character-open:not(.chat--composing) .chat-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.chat.chat--character-open:not(.chat--composing) .character-stage{grid-column:1;grid-row:1;min-height:0;border:0}.chat.chat--character-open .chat-character-toggle__name,.chat.chat--character-open:not(.chat--composing) .conversation{display:none}.chat.chat--character-open .chat-character-toggle__back{display:inline}.chat .chat-tools .chat-character-toggle{font-size:12px}.chat .conversation .thread{padding-inline:12px}.chat .msg--assistant{display:block}.chat .msg--assistant>.msg__speaker{display:none}.chat .msg--assistant .prose{width:100%;max-width:100%;font-size:16px}.chat .msg--assistant .prose .chat-scene{font-size:14px}.chat .msg--assistant .prose .chat-speech{padding:12px}.chat .msg--opening .prose{font-size:14px}.chat .msg--opening .prose .chat-speech{padding:0}.chat .msg--opening .prose .chat-scene{font-size:13px}.chat .reply-ideas--followup .chat-turn-reward-bar{margin:0;min-height:44px}.chat .reply-ideas__rewrite{display:inline-flex;align-items:center;min-height:44px;padding:8px 0 8px 12px;font-size:12px}.chat .reply-ideas--followup .starters{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:4px 2px 8px}.chat .reply-ideas--followup .starter{flex:0 0 auto;width:max-content;max-width:calc(100% - 32px);height:auto;min-height:44px;scroll-snap-align:start;white-space:normal}.chat .reply-ideas--first-reply{margin:6px 0 2px}.chat .reply-ideas--first-reply .chat-turn-reward-bar{min-height:32px}.chat .reply-ideas--first-reply .starters--first-reply{display:flex;flex-direction:column;overflow:visible;gap:6px;padding:2px 0 4px}.chat .reply-ideas--first-reply .starter--first-reply{width:100%;max-width:100%;min-height:40px;padding:8px 12px;border-radius:12px;font-size:13.5px;line-height:1.45}.chat .chat-turn-reward-bar__actions,.chat .composer .reply-ideas--opening{display:none}.chat .composer .reply-ideas--opening~.composer-first-hint{display:block}.chat:not(.chat--composing) .composer .reply-ideas--followup .starters{display:flex;flex-direction:column;overflow:visible;padding:0;gap:6px;margin-bottom:6px}.chat:not(.chat--composing) .composer .reply-ideas--followup .starter{width:100%;max-width:100%;min-height:44px;padding:8px 12px}.chat .composer .composer-send-hint{display:block;margin:0 0 8px;color:#d6c197;font-size:11.5px;line-height:1.3}.chat.chat--composing .composer .composer-send-hint{display:none}.chat .composer .composer-first-hint{display:block;margin:0 0 6px;padding-inline:2px;color:#c7beaf;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat .conversation .thread--intro{padding:6px 12px 8px}.chat .thread--intro .chat-scene-card:not([open]){margin-bottom:4px}.chat .thread--intro .chat-scene-card__summary{min-height:28px;font-size:11.5px}.chat .thread--intro .chat-opening-portrait{flex:0 0 64px;width:64px;height:84px}.chat .thread--intro .msg--opening{margin-bottom:6px}.chat .conversation .composer{position:-webkit-sticky;position:sticky;bottom:0;z-index:3;flex-shrink:0;padding:6px 12px calc(8px + env(safe-area-inset-bottom));background:var(--surface-0);border-top:1px solid rgba(255,255,255,.08)}.chat .composer__tools:not(.composer__tools--busy){display:none}.chat .conversation .row{grid-template-columns:minmax(0,1fr) auto;align-items:end;border-color:rgba(232,198,143,.28)}.chat .conversation .row.row--ready{border-color:rgba(255,210,28,.54)}.chat .conversation .row textarea{min-width:0;min-height:44px;max-height:min(140px,28dvh);padding:10px 12px;font-size:16px;line-height:1.45}.chat:not(.chat--composing) .conversation .row textarea{min-height:44px;padding:10px 12px}.chat .conversation .row textarea::placeholder{color:#b9b09f;opacity:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat .send--round{width:44px;height:44px;min-width:44px}.chat.chat--composing .composer .chat-turn-reward-bar,.chat.chat--composing .composer .reply-ideas--composer,.chat.chat--composing .thread .reply-ideas,.chat.chat--composing>.browse-ad{display:none}.chat.chat--composing:has(>.browse-ad){grid-template-rows:auto minmax(0,1fr)}}@media (max-width:820px) and (max-height:700px){.chat .conversation .thread--intro{padding-top:8px}.chat .msg--opening .prose .chat-scene,.chat .thread--intro .chat-scene-card:not([open]){margin-bottom:8px}}.living-pulse{margin-top:20px;margin-bottom:18px;padding:16px 18px;border:1px solid rgba(214,167,108,.34);border-radius:16px;background:linear-gradient(155deg,rgba(31,27,20,.92),rgba(20,18,13,.96))}.dossier .living-pulse{width:100%;margin:28px 0 6px}.living-pulse__head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin-bottom:12px}.living-pulse__badge{display:inline-flex;align-items:center;gap:8px;padding:4px 10px;border-radius:999px;border:1px solid rgba(214,167,108,.42);background:rgba(214,167,108,.12);color:#f3dfb8;font-size:11px;font-weight:600;letter-spacing:.02em}.living-pulse__dot{display:inline-block;width:7px;height:7px;border-radius:999px;background:#6ee7b7;box-shadow:0 0 0 3px rgba(110,231,183,.18)}.living-pulse__dot.is-asleep{background:#a5b4fc;box-shadow:0 0 0 3px rgba(165,180,252,.18)}.living-pulse__clock{color:var(--faint);font-size:12px}.living-pulse__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));grid-gap:12px 16px;gap:12px 16px}.living-pulse__cell strong{display:block;margin-bottom:4px;color:#e8cfa0;font-size:12px;font-weight:600}.living-pulse__cell p{margin:0;color:rgba(246,241,228,.86);font-size:13px;line-height:1.55}.living-pulse__post{margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}.living-pulse__post-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:6px;color:var(--faint);font-size:12px}.living-pulse__post-meta a{color:var(--gold);font-weight:600;text-decoration:none}.living-pulse__post-meta a:hover{text-decoration:underline}.living-pulse__post blockquote{margin:0;color:#f4ebd7;font-size:13px;line-height:1.6}.auth-card__saved-note{margin:-4px 0 14px;padding:9px 12px;border-radius:10px;border:1px solid rgba(239,204,118,.45);background:rgba(239,204,118,.1);color:#f4dfac;font-size:12.5px;font-weight:600;line-height:1.45}.auth-inline-otp{margin-top:12px;display:flex;flex-direction:column;gap:10px}.auth-inline-otp__toggle{width:100%;justify-content:center;border-color:rgba(239,204,118,.32);color:#ebd6a7;font-size:13px}.auth-form--inline-otp{margin-top:2px;padding:14px;border-radius:14px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.03)}.auth-inline-otp__submit{width:100%;justify-content:center;background:var(--gold-soft,#e8c68f);color:#17120d;border-color:transparent;font-weight:700}.chat-secret-note{margin:10px 0 4px;max-width:440px;padding:12px 14px;border-radius:12px;border:1px solid rgba(214,167,108,.45);background:linear-gradient(145deg,rgba(39,32,21,.94),rgba(22,19,14,.96));display:flex;flex-direction:column;gap:6px}.chat-secret-note__badge{font-size:11px;font-weight:650;letter-spacing:.03em;color:#f0c97d}.chat-secret-note__thought{margin:0;color:#f4ead4;font-size:13px;line-height:1.55;font-style:italic}.chat-secret-note__cta{align-self:flex-start;margin-top:2px;min-height:32px;padding:5px 11px;border-radius:999px;border:1px solid rgba(232,198,143,.5);background:rgba(232,198,143,.14);color:#f5dfaf;font-size:12px;font-weight:600;cursor:pointer}.chat-secret-note__cta:hover{background:rgba(232,198,143,.24)}.chat-overnight-reunion{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 14px;margin:6px 0 10px;padding:10px 14px;border-radius:12px;border:1px solid rgba(239,204,118,.5);background:linear-gradient(135deg,#2a2215,#181510)}.chat-overnight-reunion__body strong{display:block;color:#f5dfaf;font-size:12.5px;line-height:1.4}.chat-overnight-reunion__body p{margin:2px 0 0;color:#cbc1b0;font-size:12px;line-height:1.45}.chat-overnight-reunion__cta{min-height:34px;padding:6px 13px;border-radius:8px;border:0;background:var(--gold-soft,#e8c68f);color:#17120d;font-size:12px;font-weight:650;cursor:pointer}.chat-turn-reward-bar__pill--cliffhanger{cursor:default;border-style:dashed;color:#ebd39f}.unfinished-story-banner__badge{display:inline-block;margin-bottom:4px;padding:2px 8px;border-radius:999px;background:rgba(239,204,118,.16);color:#f4cf83;font-size:11px;font-weight:600}.account-nudge__inline-otp{min-height:34px;padding:6px 11px;border-radius:999px;border:1px solid rgba(239,204,118,.38);background:rgba(239,204,118,.08);color:#ebd6a7;font-size:12px;cursor:pointer}.account-nudge__inline-otp:hover{background:rgba(239,204,118,.16)}.chat,.chat .conversation{grid-template-columns:minmax(0,1fr)}.chat .chat-top,.chat .composer,.chat .thread,.chat .who,.chat .who>div{min-width:0}.chat .who span,.chat .who strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}