.chat-room{isolation:isolate;--chat-character-bubble:#281b30;--chat-character-bubble-line:#e6b4dc1c;--chat-glass-surface:color-mix(in srgb, var(--surface) 56%, transparent);--chat-header-height:70px;--chat-composer-overlap:132px;--chat-control-gradient:linear-gradient(135deg, #c24de1, #ec5caf);--chat-control-ink:#ffc5e7;background:#140e1b;max-width:760px;min-height:0;position:relative;overflow:hidden}.chat-room:before{content:"";z-index:-1;background-image:linear-gradient(color-mix(in srgb, var(--bg) 55%, transparent), color-mix(in srgb, var(--bg) 72%, transparent)), var(--chat-image);background-position:50% 24%;background-size:cover;position:absolute;inset:0}.chat-header{z-index:2;min-height:var(--chat-header-height);height:var(--chat-header-height);margin-bottom:calc(0px - var(--chat-header-height));background:var(--chat-glass-surface,#211927b3);-webkit-backdrop-filter:blur(40px)saturate(135%);backdrop-filter:blur(40px)saturate(135%);flex-shrink:0;gap:8px;padding:10px 14px;position:relative}.chat-header .chat-back{background:#ffffff04;border:1px solid #ebc0e52b}.chat-header .chat-person{flex:1;align-items:center;gap:10px;min-width:0;display:flex}.chat-person>img,.chat-person>.image-placeholder{object-position:50% 20%;border-radius:50%;flex:0 0 38px;width:38px;height:38px}.chat-person>span{min-width:0}.chat-header strong{font-size:16px;font-weight:600}.chat-header small{text-overflow:ellipsis;white-space:nowrap;margin-top:5px;font-size:11px;overflow:hidden}.chat-header>.icon-button{z-index:2;aspect-ratio:1;pointer-events:auto;border-radius:50%;flex:0 0 40px;width:40px;height:40px;position:relative}.chat-transcript{z-index:0;min-height:0;padding:calc(var(--chat-header-height) + 19px) 17px calc(var(--chat-composer-overlap) + 26px);overscroll-behavior:contain;scroll-padding:calc(var(--chat-header-height) + 20px) 20px calc(var(--chat-composer-overlap) + 20px);position:relative}.chat-context{text-align:center;margin-bottom:23px}.chat-date{color:#a28da9;margin-bottom:14px;font-size:12px}.replay-entrance{min-height:40px;color:var(--muted);background:#20152875;border:1px solid #ebc0e51c;border-radius:30px;align-items:center;gap:7px;padding:9px 16px;font-size:12px;display:inline-flex}.replay-entrance svg{width:14px;height:14px}.chat-room .message{max-width:100%;margin-bottom:18px}.chat-room .story-message{flex-direction:row;align-items:flex-start;gap:9px;display:flex}.chat-room .message-avatar{object-position:50% 20%;border-radius:10px;flex:0 0 29px;width:29px;height:34px;margin-top:4px}.chat-room .story-bubble{border:1px solid var(--chat-character-bubble-line);background:var(--chat-character-bubble);white-space:normal;border-radius:3px 17px 17px;width:calc(100% - 38px);min-width:0;padding:14px}.scene-text{color:#f1e7f2;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:15px;line-height:1.7}.chat-room .message.own{max-width:86%}.chat-room .message.own>div{background:var(--chat-accent-deep,#64335e);color:#fff4fc;border:1px solid var(--chat-accent-line,#d675bf30);border-radius:17px 3px 17px 17px}.chat-room .story-choices{flex-direction:column;gap:9px;margin:16px 0 0;display:flex}.chat-room .story-choices button{color:#f5e9f4;background:#3a2442;border:1px solid #cb87b33b;border-radius:11px;align-items:flex-start;gap:10px;min-height:40px;margin:0;padding:8px;font-size:14px;line-height:1.75;transition:background .15s,border-color .15s,transform .12s}.chat-room .story-choices button>b{color:#ffc5e7;background:#dc81bc21;border:1px solid #df97c721;border-radius:7px;flex:0 0 24px;place-items:center;width:24px;height:24px;margin-top:1px;font-size:12px;display:grid}.chat-room .story-choices button>span{width:auto;min-width:0;height:auto;color:inherit;overflow-wrap:anywhere;border:0;border-radius:0;flex:1;display:block}.chat-room .story-choices button>svg{color:#cba1c0;flex:0 0 15px;align-self:center;width:15px;height:15px}.chat-room .story-choices button:hover:not(:disabled){background:#4a2b50;border-color:#e598c67a}.chat-room .story-choices button[aria-pressed=true]{background:#643556;border-color:#ee8abe}.story-creation-entry{border-top:1px solid color-mix(in srgb, var(--chat-control-ink) 12%, transparent);justify-content:flex-end;align-items:center;min-width:0;margin-top:8px;padding-top:6px;display:flex}.story-creation-buttons{align-items:center;gap:7px;display:inline-flex}.story-creation-buttons>button{border:1px solid color-mix(in srgb, var(--chat-control-ink) 23%, transparent);background:color-mix(in srgb, var(--chat-character-bubble) 76%, var(--chat-control-ink) 10%);width:40px;height:40px;color:var(--ink);cursor:pointer;border-radius:12px;flex:0 0 40px;place-items:center;padding:0;transition:background .15s,border-color .15s,transform .12s;display:inline-grid}.story-creation-buttons>button:last-child{background:color-mix(in srgb, var(--chat-character-bubble) 82%, #9d72bf 12%);border-color:#c6a0e23d}.story-creation-buttons>button:hover:not(:disabled){border-color:color-mix(in srgb, var(--chat-control-ink) 58%, transparent);background:color-mix(in srgb, var(--chat-character-bubble) 68%, var(--chat-control-ink) 18%)}.story-creation-buttons>button:active:not(:disabled){transform:scale(.97)}.story-creation-buttons>button:focus-visible{outline:2px solid var(--chat-control-ink);outline-offset:2px}.story-creation-buttons>button:disabled{cursor:progress;opacity:.58}.story-creation-buttons svg{width:18px;height:18px}.story-reply-actions{border-top:1px solid color-mix(in srgb, var(--chat-control-ink) 12%, transparent);justify-content:flex-end;align-items:center;gap:10px;min-width:0;margin-top:8px;padding-top:6px;display:flex}.story-reply-actions .story-creation-entry{border-top:0;margin-top:0;padding-top:0}.story-reply-actions .chat-memory-references{margin-right:auto}.character-creation-launcher{border:1px solid color-mix(in srgb, var(--chat-control-ink) 24%, transparent);background:color-mix(in srgb, var(--chat-character-bubble) 72%, var(--chat-control-ink) 12%);width:44px;height:44px;color:var(--chat-control-ink);cursor:pointer;border-radius:14px;grid-area:scene;place-items:center;padding:0;transition:background .15s,border-color .15s,transform .12s;display:grid}.character-creation-launcher:hover{border-color:color-mix(in srgb, var(--chat-control-ink) 58%, transparent);background:color-mix(in srgb, var(--chat-character-bubble) 62%, var(--chat-control-ink) 20%)}.character-creation-launcher:active{transform:scale(.96)}.character-creation-launcher:focus-visible{outline:2px solid var(--chat-control-ink);outline-offset:2px}.character-creation-launcher svg{width:19px;height:19px}.character-creation-modes{gap:9px;display:grid}.character-creation-caption{color:#cbb8d0;margin:-2px 0 15px;font-size:14px;line-height:1.6}.character-creation-modes>a,.character-creation-modes>button{width:100%;min-height:84px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-top:1px solid #ffffff12;border-radius:0;grid-template-columns:64px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:10px 4px 10px 0;transition:background .15s,border-color .15s,transform .12s;display:grid}.character-creation-modes>a:hover{border-color:color-mix(in srgb, var(--accent) 54%, transparent);background:color-mix(in srgb, var(--surface2) 82%, var(--accent) 18%)}.character-creation-modes>a:active{transform:scale(.985)}.character-creation-modes>a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.character-creation-art{place-items:center;width:64px;height:64px;display:grid}.character-creation-art img{object-fit:contain;width:64px;height:64px;display:block}.character-creation-art-video{color:#f7b9e8;filter:drop-shadow(0 7px 13px #e65dbb35)}.character-creation-art-video svg{stroke-width:1.2px;width:58px;height:58px}.character-creation-art.is-action-preview{filter:none;background:#211a28;border:1px solid #ffffff0c;border-radius:8px;width:48px;height:60px;overflow:hidden}.character-creation-art.is-action-preview :is(img,video){object-fit:cover;object-position:center 25%;width:100%;height:100%;display:block}.character-creation-art.is-action-preview>svg{color:#bda6c5;width:22px;height:22px}.character-creation-modes>a>svg:last-child{color:#b8a5bc;width:17px;height:17px}.character-creation-modes span:not(.character-creation-art){font-size:14px;font-weight:650}.character-creation-modes span small{color:var(--muted);margin-top:5px;font-size:12px;font-weight:400;display:block}.character-creation-modes>button:disabled{cursor:not-allowed;opacity:.62}.chat-room .chat-composer{z-index:2;margin-top:calc(0px - var(--chat-composer-overlap));padding:8px 12px max(8px, env(safe-area-inset-bottom));background:linear-gradient(180deg, color-mix(in srgb, var(--surface) 16%, transparent), color-mix(in srgb, var(--surface) 42%, transparent));-webkit-backdrop-filter:blur(40px)saturate(135%);backdrop-filter:blur(40px)saturate(135%);border-top:1px solid #ecc4e21b;flex:none;position:relative}.chat-jump-latest{color:#f6edf5;background:#130f16ed;border:1px solid #ffffff24;border-radius:50%;place-items:center;width:44px;height:44px;padding:0;display:grid;position:absolute;top:-54px;right:16px;box-shadow:0 5px 18px #0007}.chat-jump-latest svg{width:18px;height:18px}.composer-box{background:var(--chat-glass-surface,#211927b3);border:1px solid #e6c4df38;border-radius:22px;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"scene input actions";align-items:center;column-gap:7px;min-width:0;padding:5px;display:grid;box-shadow:inset 0 1px #ffffff0a}.chat-room .composer-line{grid-area:input;align-items:center;width:100%;min-width:0;display:flex}.chat-room .composer-line textarea{background:color-mix(in srgb, var(--chat-character-bubble) 42%, transparent);resize:none;border:0;border-radius:14px;width:100%;min-width:0;height:42px;min-height:42px;max-height:42px;padding:9px 8px 7px;font-size:16px;line-height:1.45;overflow-y:auto}.chat-room .composer-line textarea::placeholder{color:#ad97b4;font-size:14px}.chat-room .composer-line>button{background:var(--chat-control-gradient);color:#fff3fb;border-radius:12px;flex:0 0 44px;width:44px;height:44px}.chat-room .composer-line>button[disabled]{opacity:1;background:var(--chat-control-gradient);color:#fff3fb}.chat-room .composer-line>.composer-wand{color:var(--chat-control-ink);background:0 0}.chat-room .composer-line>.composer-wand:disabled{opacity:.7;cursor:progress}.chat-room .composer-line>.composer-wand .composer-wand-spinner{border:2px solid #e6abd03d;border-top-color:currentColor;border-radius:50%;width:20px;height:20px;margin:0 auto;animation:.9s linear infinite spin;display:block}@media (prefers-reduced-motion:reduce){.chat-room .composer-line>.composer-wand .composer-wand-spinner{animation-duration:2.4s}}.chat-room .composer-line>button svg{width:21px;height:21px}.chat-entry>.entry-actions{gap:12px;margin-top:16px;display:grid}.chat-entry>.entry-actions>.button{margin:0}.chat-entry>.entry-actions>p{margin:4px 2px 0;line-height:1.75}.chat-entry-room .entry-actions{color:var(--muted);gap:16px;margin:18px 0 0 38px;font-size:12px;display:flex}.entrance-overlay{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#08060bcc;width:100vw;height:100dvh;position:fixed!important;inset:0!important}.immersive-player.entrance{animation:.18s ease-out entrance-reveal}.immersive-player.entrance[data-state=closed]{pointer-events:none;animation:.3s ease-in forwards entrance-dismiss}.immersive-player.entrance>.full-video{object-fit:cover}.entrance-caption,.entrance-status{z-index:2}.immersive-player.entrance>.full-video.is-ready{cursor:pointer}.immersive-player.entrance>.full-video:focus-visible{outline-offset:-5px;outline:3px solid #fff}.entrance-paused-indicator{z-index:2;color:#fff;pointer-events:none;background:#17111dcc;border:1px solid #ffffff60;border-radius:50%;place-items:center;width:64px;height:64px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 30px #0008}.entrance-paused-indicator svg{width:25px;height:25px;margin-left:3px}.immersive-player.entrance .entrance-close{color:#fff;z-index:3;background:#13101666;border:1px solid #fff3}.entrance-caption{padding:100px 26px max(34px,env(safe-area-inset-bottom));color:#fff;pointer-events:none;background:linear-gradient(#0000,#08050ace);position:absolute;bottom:0;left:0;right:0}.entrance-caption>small{color:#e2d7df;letter-spacing:1px;font-size:12px}.entrance-caption h2{margin:9px 0 20px;font-size:27px;font-weight:550}.entrance-caption>button{pointer-events:auto;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff14;border:1px solid #ffffff45;border-radius:30px;align-items:center;gap:14px;min-height:45px;padding:11px 18px;display:flex}.entrance-caption svg{width:18px;height:18px}.entrance-status{text-align:center;color:#fcf3fc;background:#160f1ddd;border-radius:15px;padding:18px;position:absolute;top:40%;left:20px;right:20px}@keyframes entrance-reveal{0%{opacity:0}to{opacity:1}}@keyframes entrance-dismiss{0%{opacity:1}to{opacity:0}}@media (max-width:480px){.chat-header{gap:5px;padding:9px 10px}.chat-transcript{padding:calc(var(--chat-header-height) + 17px) 12px calc(var(--chat-composer-overlap) + 24px);scroll-padding:calc(var(--chat-header-height) + 18px) 12px calc(var(--chat-composer-overlap) + 18px)}.chat-room .story-bubble{padding:12px}.chat-room .chat-composer{padding:7px 10px max(7px, env(safe-area-inset-bottom))}.chat-person>img,.chat-person>.image-placeholder{flex-basis:35px;width:35px;height:35px}.chat-header strong{font-size:15px}.chat-header>.icon-button{flex-basis:38px;width:38px;height:38px}}@media (max-height:650px){.chat-header{height:61px;min-height:61px}.chat-context{margin-bottom:16px}}@media (prefers-reduced-motion:reduce){.immersive-player.entrance,.immersive-player.entrance[data-state=closed]{animation:none}.immersive-player.entrance>.full-video,.chat-room .story-choices button{transition:none}}.chat-entry .opening-card>img{object-position:center 18%;height:360px}.chat-pending{justify-content:center;align-items:center;gap:4px;min-width:42px;min-height:18px;display:flex}.streaming-message{gap:6px;margin-bottom:12px}.streaming-message .message-avatar{margin-top:2px}.streaming-message .story-bubble:has(.chat-pending){border-color:var(--chat-character-bubble-line);background:var(--chat-character-bubble);border-radius:3px 17px 17px;place-items:center;width:auto;min-width:58px;min-height:38px;padding:8px 10px;display:grid}.chat-pending-dot{background:var(--chat-control-ink);border-radius:50%;width:6px;height:6px;animation:1.15s ease-in-out infinite chat-pending-dot}.chat-pending-dot:nth-child(2){animation-delay:.14s}.chat-pending-dot:nth-child(3){animation-delay:.28s}@keyframes chat-pending-dot{0%,60%,to{opacity:.42;transform:translateY(0)scale(.9)}30%{opacity:1;transform:translateY(-2px)scale(1)}}@media (prefers-reduced-motion:reduce){.chat-pending-dot{opacity:.72;animation:none;transform:none}}.chat-room .suggestion,.chat-entry-room .suggestion{display:none}.chat-unlock-dialog{background:#130b18;border-color:#ffffff2b;width:min(100vw - 32px,440px);max-height:min(90dvh,680px);padding:0;overflow:hidden auto}.chat-prompt-card{isolation:isolate;border-radius:inherit;background:linear-gradient(145deg,#281730,#110a16);align-items:flex-end;min-height:min(580px,90dvh - 2px);display:flex;position:relative;overflow:hidden}.chat-prompt-poster{z-index:0;background:#170f1c;place-items:center;display:grid;position:absolute;inset:0;overflow:hidden}.chat-prompt-poster .chat-prompt-poster-backdrop{object-fit:cover;filter:blur(18px)brightness(.78);width:116%;max-width:none;height:116%;position:absolute;inset:-8%;transform:scale(1.07)}.chat-prompt-poster>.chat-prompt-poster-foreground{object-fit:cover;object-position:center;background:0 0;width:100%;height:100%;max-height:100%;margin:auto;display:block;position:absolute;inset:0}.chat-prompt-scrim{z-index:1;pointer-events:none;background:linear-gradient(#0000 0% 32%,#10091645 46%,#100916d9 68%,#100916 100%);position:absolute;inset:0}.chat-prompt-content{z-index:2;width:100%;max-height:min(88dvh,660px);padding:42px 24px max(22px, env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#ffffff3d transparent;position:relative;overflow:auto}.chat-prompt-copy{text-shadow:0 2px 18px #050207b3;max-width:34rem}.chat-prompt-close{z-index:4;color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0d0912b8;border:1px solid #ffffff24;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:12px;right:12px}.chat-prompt-close svg{width:21px;height:21px}.chat-prompt-close:hover{background:#382a3be6}.chat-prompt-close:active{transform:scale(.94)}:is(.chat-prompt-close:focus-visible,.chat-prompt-preview-play:focus-visible){outline:2px solid var(--accent);outline-offset:-4px}.chat-prompt-eyebrow{color:#f6c3e2;letter-spacing:.12em;margin-bottom:8px;font-size:11px;font-weight:600;display:block}.chat-prompt-status{color:#ffd6ed;letter-spacing:.02em;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#120b17a8;border:1px solid #ffffff38;border-radius:999px;align-items:center;gap:5px;min-height:28px;margin-bottom:10px;padding:5px 10px;font-size:12px;font-weight:650;display:inline-flex}.chat-prompt-status svg{width:14px;height:14px}.chat-unlock-dialog .chat-prompt-copy h2,.chat-unlock-dialog .chat-prompt-copy [data-radix-dialog-title]{color:#fff8fd;letter-spacing:-.025em;margin:0 0 8px;font-size:clamp(26px,6vw,34px);line-height:1.16}.chat-unlock-dialog .chat-prompt-copy [data-radix-dialog-description]{color:#f1dfeccc;max-width:34ch;margin:0;font-size:14px;line-height:1.65}.chat-unlock-dialog .chat-prompt-actions{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:18px;display:grid}.chat-unlock-dialog .chat-prompt-actions>*{min-width:0;min-height:50px}.chat-unlock-dialog .chat-prompt-primary{color:var(--accent-ink);border:1px solid #ffbce755;border-radius:999px;gap:8px;font-size:15px;box-shadow:0 8px 24px #dd368b33}.chat-unlock-dialog .chat-prompt-primary svg{width:18px;height:18px}.chat-unlock-dialog .chat-prompt-primary:hover{filter:brightness(1.1)}.chat-unlock-dialog .chat-prompt-primary:active{transform:scale(.98)}.chat-unlock-dialog .chat-prompt-secondary{color:#d6c9d7;background:0 0;border:0;border-radius:999px;min-height:40px;font-size:13px}.chat-unlock-dialog .chat-prompt-secondary:hover{color:#fff;background:#ffffff0a}.paid-package-dialog .chat-prompt-copy{text-align:center}.paid-package-dialog .chat-prompt-copy h2{overflow-wrap:anywhere;font-size:clamp(24px,6vw,32px);line-height:1.25}.paid-package-dialog .chat-prompt-copy p{margin-inline:auto}.chat-package-total{color:#fff;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;margin-top:20px;display:flex}.chat-package-total svg{width:27px;height:27px;color:var(--accent,#ef5da8)}.chat-package-total strong{letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:44px;font-weight:750;line-height:1}.chat-package-total>span{color:#e9dbe8;width:100%;font-size:13px}.package-matrix-card{border-radius:inherit;background:#211626;overflow:hidden}.package-matrix{aspect-ratio:1.5;background:#1a111f;grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:0;display:grid;position:relative;overflow:hidden}.package-matrix:after{content:"";pointer-events:none;background:linear-gradient(#160c1d20 0%,#160c1d65 100%);position:absolute;inset:0}.package-matrix-tile{background:linear-gradient(145deg,#493148,#201526);min-width:0;overflow:hidden}.package-matrix-tile img{object-fit:cover;filter:blur(5px)brightness(.6)saturate(.85);width:100%;height:100%;display:block;transform:scale(1.14)}.package-matrix-lock{z-index:1;color:#fff;background:#211426cc;border:1px solid #fff5;border-radius:50%;place-items:center;width:64px;height:64px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 8px 28px #05020780}.package-matrix-lock svg{stroke-width:1.8px;width:29px;height:29px}.package-matrix-content{text-align:center;padding:22px 26px 25px}.package-matrix-content .chat-prompt-eyebrow{color:#e7b9d5;margin-bottom:9px}.package-matrix-content [data-radix-dialog-title]{margin-bottom:8px;font-size:clamp(25px,7vw,32px)}.package-matrix-content .chat-package-total{margin:10px 0 20px}.package-matrix-content .chat-package-total strong{color:#ffe3a7;font-size:42px}.package-matrix-content .chat-package-total span{color:#ffe3a7;width:auto;font-size:19px}.package-matrix-content .chat-prompt-primary{border-radius:18px;justify-content:center;align-items:center;width:100%;min-height:52px;display:flex}.package-matrix-content .chat-prompt-secondary{width:100%;margin-top:7px;display:block}.free-hook-dialog .chat-prompt-card{min-height:0;display:block}.free-hook-dialog .chat-prompt-poster{height:clamp(220px,42dvh,340px);position:relative}.free-hook-dialog .chat-prompt-scrim{display:none}.free-hook-dialog .chat-prompt-content{max-height:none;padding:22px 24px 18px;overflow:visible}.free-hook-dialog .chat-prompt-copy h2{font-size:24px;line-height:1.3}.free-hook-dialog .chat-prompt-status{color:#f4bddd;background:0 0;border:0;min-height:20px;margin-bottom:9px;padding:0}.chat-prompt-preview-play{z-index:1;background:0 0;width:100%;position:absolute;inset:0}.chat-prompt-preview-play:hover{background:color-mix(in srgb, var(--accent) 8%, transparent)}@media (max-width:520px){.chat-unlock-dialog{width:calc(100vw - 32px);max-height:calc(100dvh - max(20px, env(safe-area-inset-top)) - max(20px, env(safe-area-inset-bottom)))}.chat-prompt-card{min-height:min(560px, calc(100dvh - max(22px, env(safe-area-inset-top)) - max(22px, env(safe-area-inset-bottom))))}.chat-prompt-content{padding:38px 20px max(18px, env(safe-area-inset-bottom))}.free-hook-dialog .chat-prompt-content{padding:20px 20px 16px}}@media (max-height:650px){.chat-prompt-card{min-height:calc(90dvh - 2px)}.chat-prompt-content{padding-top:28px}.free-hook-dialog .chat-prompt-poster{height:32dvh;min-height:140px}.free-hook-dialog .chat-prompt-content{padding-block:14px}.free-hook-dialog .chat-prompt-actions{margin-top:10px}}@media (prefers-reduced-motion:reduce){.chat-unlock-dialog,.chat-prompt-card,.chat-prompt-actions>*{scroll-behavior:auto;transition:none}}.chat-room>.chat-header{flex:0 0 70px;overflow:hidden}.chat-skeleton{color:#f1e7f2;background:#140e1b;flex-direction:column;height:100%;min-height:100dvh;display:flex;overflow:hidden}.chat-skeleton-header{background:#170e1ff5;border-bottom:1px solid #e6b4dc1c;flex:0 0 70px;align-items:center;gap:10px;height:70px;padding:10px 14px;display:flex}.chat-skeleton-icon{background:#2c2032;border-radius:50%;flex:0 0 40px;width:40px;height:40px}.chat-skeleton-avatar{background:#3a2841;border-radius:50%;flex:0 0 38px;width:38px;height:38px;overflow:hidden}.chat-skeleton-avatar img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.chat-skeleton-title{flex-direction:column;flex:1;gap:7px;display:flex}.chat-skeleton-title i,.chat-skeleton-bubble i{background:linear-gradient(90deg,#2c2032 25%,#49324d 45%,#2c2032 65%) 0 0/300% 100%;border-radius:999px;height:10px;animation:1.35s ease-in-out infinite chat-skeleton-shimmer;display:block}.chat-skeleton-title i:first-child{width:38%}.chat-skeleton-title i:last-child{width:26%;height:8px}.chat-skeleton-body{flex:1;padding:24px 17px}.chat-skeleton-date{background:#2c2032;border-radius:999px;width:25%;height:9px;margin:0 auto 26px}.chat-skeleton-bubble{background:#281b30;border-radius:3px 17px 17px;gap:12px;width:min(84%,420px);margin:0 auto 18px 38px;padding:18px 15px;display:grid}.chat-skeleton-bubble.short{background:#3b2540;border-radius:17px 3px 17px 17px;width:min(67%,330px);margin-left:auto;margin-right:0}.chat-skeleton-bubble i:first-child{width:91%}.chat-skeleton-bubble i:nth-child(2){width:72%}.chat-skeleton-bubble i:last-child{width:43%}.chat-skeleton-bubble.short i:first-child{width:78%}.chat-skeleton-bubble.short i:last-child{width:50%}.chat-skeleton-composer{background:#100b15;border-top:1px solid #e6b4dc1c;align-items:center;gap:8px;min-height:82px;padding:10px 12px;display:flex}.chat-skeleton-composer span:first-child{background:#281b30;border-radius:14px;flex:1;height:48px}.chat-skeleton-composer span:nth-child(2),.chat-skeleton-composer b{background:#3b2540;border-radius:12px;width:42px;height:42px}@keyframes chat-skeleton-shimmer{0%,to{background-position:100% 0}50%{background-position:0 0}}@media (prefers-reduced-motion:reduce){.chat-skeleton-title i,.chat-skeleton-bubble i{animation:none}}.chat-entry{max-width:600px}.chat-entry .page-heading h1{letter-spacing:-.015em;overflow-wrap:anywhere;font-size:20px;line-height:1.28}.entrance-caption{padding-right:max(22px, env(safe-area-inset-right));padding-left:max(22px, env(safe-area-inset-left))}.entrance-caption h2{letter-spacing:-.02em;max-width:16ch;font-size:clamp(24px,6.8vw,29px);line-height:1.22}.entrance-caption>button{justify-content:center;min-width:138px;min-height:44px;padding:9px 16px;font-size:14px;transition:transform .18s cubic-bezier(.22,1,.36,1),background .18s,opacity .18s}.entrance-caption>button:not(:disabled):active{transform:scale(.97)}.entrance-caption>button:disabled{cursor:progress;opacity:.78}.entrance-finish-error{color:#ffd0df;width:min(100%,320px);margin:-8px 0 13px;font-size:12px;line-height:1.55}@media (max-width:600px){.chat-entry .page-heading{align-items:flex-start;gap:7px;margin-bottom:16px}.chat-entry .page-heading h1{padding-top:5px;font-size:18px;line-height:1.3}.chat-entry .opening-card>img{height:340px}.chat-entry .opening-card>div:last-child{padding:15px 16px}.chat-entry .opening-card p{font-size:13px;line-height:1.75}.entrance-caption h2{font-size:clamp(23px,6.5vw,27px)}}@media (prefers-reduced-motion:reduce){.entrance-caption>button{transition:none}}.story-creation-entry.is-composer{border:0;grid-area:scene;justify-self:start;margin:0;padding:0}.composer-actions{grid-area:actions;justify-self:end;align-items:center;min-width:0;display:flex}.composer-primary-actions{flex:none;align-items:center;gap:6px;display:flex}.chat-room .composer-primary-actions>button,.chat-entry-room .composer-primary-actions>button{border-radius:13px;flex:0 0 44px;place-items:center;width:44px;height:44px;padding:0;display:grid;position:static}.chat-room .composer-primary-actions>.composer-wand,.chat-entry-room .composer-primary-actions>.composer-wand{color:var(--chat-control-ink);background:0 0}.chat-room .composer-primary-actions>.composer-send,.chat-entry-room .composer-primary-actions>.composer-send{background:var(--chat-control-gradient);color:#fff3fb}.composer-primary-actions svg{width:21px;height:21px}.composer-primary-actions .composer-wand-spinner{border:2px solid #e6abd03d;border-top-color:currentColor;border-radius:50%;width:20px;height:20px;animation:.9s linear infinite spin;display:block}.immersive-player.entrance .entrance-controls{gap:7px;display:flex}@media (max-width:600px){.immersive-player.entrance .entrance-mute{display:none}}@media (prefers-reduced-motion:reduce){.composer-primary-actions .composer-wand-spinner{animation-duration:2.4s}.story-creation-buttons>button,.character-creation-launcher,.character-creation-modes>a{transition:none}}.chat-workspace{grid-template-columns:minmax(0,1fr);height:100%;min-height:0;display:grid}.chat-workspace>.chat-room{width:100%}.chat-media-sidebar{border-left:1px solid var(--line);background:var(--bg);min-width:0;min-height:0;display:none;overflow:hidden}.chat-memory-references{min-height:40px;color:var(--muted);cursor:pointer;text-align:left;white-space:nowrap;padding:0 2px;font-size:12px}:is(.chat-memory-references:hover,.chat-memory-references:focus-visible){color:var(--accent);text-decoration:underline}.chat-memory-references:active{opacity:.75}.reply-memories{border-top:0;margin-top:0}@media (min-width:1280px){.chat-workspace.has-media-panel{grid-template-columns:minmax(0,1fr) 280px}.chat-workspace.has-media-panel>.chat-room{border-right:0;max-width:none}.chat-workspace.has-media-panel .chat-transcript>div,.chat-workspace.has-media-panel .composer-box{max-width:760px;margin-inline:auto}.chat-media-sidebar{display:block}}.chat-room{--chat-character-bubble:#302538ed;--chat-character-bubble-line:#ffffff05;--chat-control-ink:#dec8da;--chat-control-gradient:linear-gradient(155deg,#f44798,#cf216c);background:#251e2c}.chat-room:before{background-image:var(--chat-image);opacity:.48;background-position:50% 20%;background-repeat:no-repeat;background-size:cover;width:68%;inset:0 -3% 0 auto;-webkit-mask-image:linear-gradient(90deg,#0000 0%,#000 30%);mask-image:linear-gradient(90deg,#0000 0%,#000 30%)}.chat-room:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(90deg,#251e2cfa 2%,#251e2ce8 26%,#251e2caa 54%,#251e2c55 83%,#251e2c70),linear-gradient(#251e2c40,#251e2c00 30%,#251e2c66 75%,#251e2ce8);position:absolute;inset:0}.chat-room>.chat-header{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#302538c7;border-bottom:1px solid #ffffff0b;margin:0;padding:14px 24px;overflow:visible}.chat-room .chat-header .chat-back{background:0 0;border:0}.chat-room .chat-transcript{flex:1;padding:26px max(24px,50% - 350px) 20px;scroll-padding:24px}.chat-room .chat-context{margin-bottom:26px}.chat-room .message-avatar{border-radius:50%;height:29px;margin-top:3px}.chat-room .story-message{gap:11px}.chat-room .story-bubble{border:0;border-radius:3px 12px 12px;width:fit-content;max-width:calc(100% - 40px);padding:14px 17px;box-shadow:inset 0 1px #ffffff05}.chat-room .scene-text{color:#fff0f8;line-height:1.8}.chat-room .message.own>div{background:linear-gradient(110deg,var(--chat-accent,#fa52ad),color-mix(in srgb,var(--chat-accent,#ee2db9) 85%,#d900a8));border:0;border-radius:22px 22px 5px}.chat-room .story-reply-actions,.chat-room .story-creation-entry{border:0;justify-content:flex-start;margin-top:8px;padding:0}.chat-room .story-creation-buttons{gap:12px}.chat-room .story-creation-buttons>button{color:#cba9bf;background:0 0;border:0;border-radius:6px;flex-basis:auto;gap:5px;width:auto;height:32px;min-height:32px;padding:4px 0;font-size:11px;display:inline-flex}.chat-room .story-creation-buttons>button:hover:not(:disabled){color:#ffe1ef;background:#ffffff08}.chat-room .story-creation-buttons svg{width:15px;height:15px}.chat-room .story-choices button{color:#e4c8dc;background:#352737b3;border-color:#be7d9b55}.chat-room .chat-composer{padding:8px 12px max(8px,env(safe-area-inset-bottom));-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(#0000,#251e2cbd);border:0;margin:0}.chat-room .composer-box{background:linear-gradient(135deg,#302538dc,#251e2cde);border:1px solid #c2a1bd45;border-radius:22px;grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"scene input actions";column-gap:7px;padding:5px;box-shadow:0 5px 18px #0b080e30,inset 0 1px #ffe1ec1f}.chat-room .composer-box:focus-within{border-color:#f277af8c}.chat-room .composer-line{border:0;padding:0}.chat-room .composer-line textarea{background:0 0;border-radius:14px;height:42px;min-height:42px;max-height:42px;padding:9px 8px 7px;line-height:1.45}.chat-room .composer-line textarea::placeholder{color:#c7b3cb}.chat-room .character-creation-launcher{color:#fff0f8;white-space:nowrap;background:linear-gradient(145deg,#7a3155b3,#50263fbd);border:1px solid #f89acb55;border-radius:14px;place-items:center;width:44px;height:44px;padding:0;font-size:12px;display:grid;box-shadow:inset 0 1px #ffdaeb30}.chat-room .character-creation-launcher svg{width:20px;height:20px}.character-creation-launcher .character-creation-phone-icon{display:none}@media (max-width:900px){.character-creation-launcher .character-creation-desktop-icon{display:none}.character-creation-launcher .character-creation-phone-icon{display:block}}.chat-room .composer-primary-actions{gap:6px}.chat-room .composer-primary-actions>.composer-wand{color:#dec8da;flex-basis:44px;width:44px;padding:0}.chat-room .composer-primary-actions>.composer-wand svg{width:17px;height:17px}.chat-room .composer-primary-actions>.composer-send{border:1px solid #ffa3cd66;border-radius:12px;box-shadow:inset 0 1px #ffe8f38c,inset 0 -1px #8c174c70}.chat-room .composer-primary-actions>.composer-send:disabled{color:#bfa7c5;opacity:1;background:linear-gradient(155deg,#46374c80,#372b3d8c);border-color:#e8c3dc12;box-shadow:inset 0 1px #ffffff08}.chat-room .chat-header>.chat-media-link{background:#68405b38;border:1px solid #d886ac26;border-radius:11px;flex:0 auto;gap:10px;width:auto;height:50px;padding:5px 9px;display:inline-flex}.chat-media-stack{flex:0 0 48px;align-items:center;width:48px;height:34px;display:flex;position:relative}.chat-media-stack img{object-fit:cover;border:1px solid #dab9ca66;border-radius:4px;width:26px;height:32px;position:absolute;transform:rotate(-8deg)}.chat-media-stack img:nth-child(2){left:10px;transform:rotate(1deg)}.chat-media-stack img:nth-child(3){left:20px;transform:rotate(9deg)}.chat-media-copy{text-align:left;min-width:0}.chat-media-copy strong{white-space:nowrap;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.chat-media-unit{margin-left:2px}.chat-media-copy b{color:#ffd5e8;background:#b5638733;border-radius:3px;padding:2px 4px;font-size:10px;font-weight:400}.chat-room .chat-media-copy small{color:#d1b9d1;margin-top:3px;font-size:10px;display:block}.chat-media-sidebar{background:#171219;border-left:0}@media (min-width:1280px){.chat-workspace.has-media-panel{gap:24px;padding:30px 30px 18px}.chat-workspace.has-media-panel>.chat-room{border-radius:14px}.chat-workspace.has-media-panel .composer-box{max-width:700px}}@media (max-width:600px){.chat-room:before{opacity:.34;width:100%;right:-19%}.chat-room:after{background:linear-gradient(90deg,#251e2cf5,#251e2ccb 32%,#251e2c5c),linear-gradient(#251e2c36,#251e2c00 35%,#251e2ce8)}.chat-room>.chat-header{padding-inline:10px}.chat-room .chat-header .chat-person{gap:7px}.chat-room .chat-header strong{font-size:14px}.chat-room .chat-header>.chat-media-link{gap:5px;height:44px;padding:4px 6px}.chat-media-stack{flex-basis:31px;width:31px}.chat-media-stack img{width:21px;height:28px}.chat-media-stack img:nth-child(2){left:5px}.chat-media-stack img:nth-child(3){left:10px}.chat-media-copy strong{gap:4px;font-size:11px}.chat-room .chat-media-copy small{display:none}.chat-media-copy strong{flex-direction:column;align-items:flex-start;gap:0;font-size:10px;line-height:13px}.chat-media-copy b{color:#ffe7af;background:0 0;border-radius:0;align-items:baseline;gap:2px;padding:0;font-size:16px;font-weight:650;line-height:19px;display:flex}.chat-media-copy .chat-media-unit{margin-left:0;font-size:9px;font-weight:500}.chat-room .character-creation-launcher{color:#f8edff;background:linear-gradient(145deg,#e29bfb16,#7a477a25);border-color:#ffffff2a;border-radius:50%;box-shadow:inset 0 1px #ffffff12}.chat-room .composer-primary-actions>.composer-send{border-radius:50%}.chat-room .chat-transcript{padding:20px 12px 14px}.chat-room .chat-composer{padding:7px 10px max(7px,env(safe-area-inset-bottom))}.chat-room .story-bubble{padding:12px 14px}}.chat-room .composer-send:not(.composer-stop) svg{background:currentColor;-webkit-mask:url(/assets/app131/chat-send-material.svg) 50%/contain no-repeat;mask:url(/assets/app131/chat-send-material.svg) 50%/contain no-repeat}.chat-room .composer-send:not(.composer-stop) svg>*{visibility:hidden}.chat-room .chat-identity{min-width:0;display:grid}.chat-room .chat-header .chat-identity-name{text-overflow:ellipsis;white-space:nowrap;color:#d3bcd5;font-size:11px;font-weight:400;line-height:1.5;display:block;overflow:hidden}.chat-room .chat-identity-story{color:#fff5fb;letter-spacing:-.3px;margin-top:4px;font-size:16px;font-weight:500;line-height:1.4;display:block}.chat-room .chat-identity-status{color:#f0b8d5;font-size:10px;line-height:1.4}.chat-room .story-opening-overview{min-width:0}.chat-room .story-opening-image{object-fit:cover;object-position:50% 25%;background:#302435;width:100%;height:165px;display:block}.chat-room .story-opening-image-button{cursor:zoom-in;border:0;padding:0;overflow:hidden}.chat-room .story-opening-image-button>img{object-fit:inherit;object-position:inherit;border-radius:inherit;width:100%;height:100%;display:block}.chat-room .story-opening-context{color:#c6accf;min-width:0}.chat-room .story-opening-context summary{color:#dab7d1;cursor:pointer;font-size:13px;line-height:23px}.chat-room .story-opening-context p{color:#decde2;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;font-size:14px;line-height:24px}.chat-room .story-opening-context .replay-entrance{background:0 0;border:0;min-height:44px;margin-top:4px;padding:7px 0;font-size:11px}.chat-room .story-opening-context .replay-entrance svg{width:12px;height:12px}@media (min-width:821px){.chat-room>.chat-header{--chat-header-height:82px;flex-basis:82px}.chat-room .story-message.is-opening{grid-template-columns:29px minmax(0,1fr);gap:0 11px;display:grid}.chat-room .is-opening>.story-bubble{display:contents}.chat-room .is-opening>.message-avatar{grid-area:1/1}.chat-room .has-opening-overview>.message-avatar{grid-row:2}.chat-room .story-opening-overview{grid-column:2;grid-template-columns:minmax(0,1fr);align-items:start;gap:22px;margin:0 0 28px;display:grid}.chat-room .story-opening-overview.has-image{grid-template-columns:minmax(0,1fr) 132px}.chat-room .story-opening-image{border-radius:12px;grid-area:1/2;width:132px;height:150px}.chat-room .story-opening-context{grid-area:1/1}.chat-room .story-opening-context summary{cursor:default;color:#ffe1ef;font-weight:500;list-style:none}.chat-room .story-opening-context summary::-webkit-details-marker{display:none}.chat-room .story-opening-context p{margin-top:12px;line-height:1.85}.chat-room .story-opening-body{background:var(--chat-character-bubble);border-radius:3px 12px 12px;grid-column:2;width:fit-content;min-width:0;max-width:100%;padding:14px 17px;box-shadow:inset 0 1px #ffffff05}}@media (max-width:820px){.chat-room>.chat-header{--chat-header-height:66px;background:#1d1723c9;flex-basis:66px;gap:4px;padding:7px 10px 7px 5px}.chat-room .chat-header>.icon-button:not(.chat-media-link){flex-basis:44px;width:44px;height:44px}.chat-room .chat-identity-status{font-size:10px;line-height:12px}.chat-room .chat-opening-date{margin-bottom:0}.chat-room .chat-opening-date .chat-date{display:none}.chat-room .is-opening{margin-right:10px}.chat-room .is-opening>.story-bubble{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:none}.chat-room .is-opening .story-opening-context{border-bottom:1px solid #ffffff0f;margin:13px 15px 0;padding:0 0 8px}.chat-room .is-opening .story-choices{border-top:1px solid #ffffff0f;gap:0;margin:13px -3px -2px;padding-top:6px}.chat-room .is-opening .story-choices button{color:#e7d8ee;text-align:left;background:0 0;border:0;border-top:1px solid #ffffff08;border-radius:0;align-items:center;gap:10px;min-height:46px;padding:9px 0;font-size:12px;line-height:20px}.chat-room .is-opening .story-choices button:first-child{border-top:0}.chat-room .is-opening .story-choices button>b{color:#e2b6d1;background:0 0;border:0;border-radius:0;flex-basis:17px;width:17px;height:auto;margin-top:0;font-size:10px}.chat-room .is-opening .story-choices button>svg{color:#a08da9;flex-basis:13px;width:13px;height:13px}.chat-room .is-opening .story-choices button:hover:not(:disabled),.chat-room .is-opening .story-choices button[aria-pressed=true]{background:#ffffff08}}.chat-room .scene-text .reply-narration{color:#d8c0ce;font:400 15px/1.8 MiSans,sans-serif}.chat-room .scene-text .reply-dialogue{color:#fff5fb;font:400 15px/1.8 MiSans,sans-serif}.chat-room .reply-segmented :is(.reply-narration,.reply-dialogue){display:block}.chat-room .reply-segmented :is(.reply-narration,.reply-dialogue)+:is(.reply-narration,.reply-dialogue){margin-top:11px}.chat-room .story-reply-actions{flex-wrap:wrap;gap:4px 10px}.chat-room .story-reply-actions .story-creation-entry{margin-top:0}.chat-room .story-reply-actions .chat-memory-references{margin-right:0}.chat-room .chat-message-meta{color:#ad99ab;align-items:center;gap:9px;min-height:32px;margin-left:auto;font-size:10px;line-height:1;display:flex}.chat-room .chat-message-meta time{white-space:nowrap}.chat-room .chat-message-meta button{color:#c6a9bc;background:0 0;border:0;align-items:center;gap:4px;min-height:32px;padding:4px;font-size:10px;display:inline-flex}.chat-room .chat-message-meta button svg{width:13px;height:13px}.chat-room .chat-message-meta button:focus-visible{outline:2px solid var(--chat-control-ink);outline-offset:2px}.chat-room .message.own>.chat-message-meta{margin-top:5px}@media (max-width:820px){.chat-room .story-message:not(.is-opening)>.story-bubble{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(130deg,#ffffff0c,#ffffff05);border:1px solid #ffffff14;border-radius:6px 22px 22px;box-shadow:inset 0 1px #ffffff07}.chat-room .story-reply-actions .chat-message-meta button,.chat-room .message.own>.chat-message-meta button{min-height:40px}.chat-room.chat-theme-berry .message.own>div{background:linear-gradient(110deg,#fa52ad,#ee2db9)}}.chat-room .story-message.has-message-toolbar{grid-template-columns:29px minmax(0,1fr);gap:0 11px;display:grid}.chat-room .story-message.has-message-toolbar>.message-avatar{grid-area:1/1}.chat-room .story-message.has-message-toolbar>.story-bubble{grid-area:1/2;max-width:100%}.chat-room .story-message.has-message-toolbar>.story-reply-actions{white-space:normal;background:0 0;border-radius:0;grid-area:2/2;width:fit-content;max-width:100%;line-height:normal}@media (min-width:821px){.chat-room .story-message.is-opening.has-opening-overview.has-message-toolbar>.message-avatar{grid-row:2}.chat-room .story-message.is-opening.has-opening-overview.has-message-toolbar>.story-reply-actions{grid-row:3}}@media (max-width:820px){.chat-room .story-message.has-message-toolbar>.story-bubble{width:fit-content;max-width:100%}.chat-room .story-message.is-opening.has-message-toolbar>.story-bubble{width:100%}}@media (min-width:821px) and (hover:hover) and (pointer:fine){.chat-room .chat-message-meta button{opacity:0;transition:opacity .18s}.chat-room .message:is(:hover,:focus-within) .chat-message-meta button{opacity:1}}.character-creation-label,.composer-hint,.composer-wand-label{display:none}@media (min-width:821px){.chat-room .composer-box{background:linear-gradient(145deg,#413246ba,#251e2ce6 72%);border:1px solid #edc7dd35;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"input input input""scene hint actions";gap:10px 9px;padding:15px 13px 10px 17px;box-shadow:inset 0 1px #fff1f514,inset 0 -1px #100d1740,0 5px 18px #100a1918}.chat-room .composer-line{border-bottom:1px solid #ffffff07;padding:0 0 10px;position:relative}.chat-room .composer-line textarea{border-radius:0;height:27px;min-height:27px;max-height:120px;padding:0 3px 0 0;font-size:15px;line-height:27px}.chat-room .composer-line textarea::placeholder{color:#0000}.chat-room .composer-line:has(textarea:placeholder-shown):after{content:attr(data-placeholder);color:#c7b3cb;pointer-events:none;font-size:15px;line-height:27px;position:absolute;top:0;left:0}.chat-room .character-creation-launcher{border-radius:10px;gap:7px;width:auto;height:36px;min-height:36px;padding:0 12px 0 10px;display:inline-flex}.chat-room .character-creation-launcher .character-creation-desktop-icon{display:block}.chat-room .character-creation-launcher .character-creation-phone-icon{display:none}.character-creation-label{display:inline}.composer-hint{color:#a08b9e;white-space:nowrap;text-overflow:ellipsis;grid-area:hint;min-width:0;font-size:11px;display:block;overflow:hidden}.chat-room .composer-primary-actions{gap:10px}.chat-room .composer-primary-actions>.composer-wand{color:#c2aec6;flex-basis:auto;gap:7px;width:auto;min-width:0;padding:7px 9px;display:inline-flex}.chat-room .composer-primary-actions>.composer-wand svg{color:#bea6d9;width:16px;height:16px}.composer-wand-label{white-space:nowrap;font-size:14px;display:inline}}@media (max-width:900px){.chat-room .chat-header .chat-identity-name{display:none}.chat-room .chat-identity-story{color:#fff5fb;margin-top:0;font-size:13px;font-weight:600;line-height:22px}.chat-room .composer-line textarea,.chat-room .composer-line textarea::placeholder{font-size:13px;line-height:23px}.chat-room .composer-line:has(textarea:placeholder-shown):after{font-size:13px;line-height:23px}.chat-room .scene-text,.chat-room .is-opening .scene-text,.chat-room .scene-text :is(.reply-dialogue,.reply-narration){font-size:13px;line-height:23px}.chat-room .scene-text :is(.reply-narration,.reply-dialogue){font-family:App133 MiSans,sans-serif}.chat-room .scene-text .reply-narration{color:#c6b6cf}.chat-room .story-choices button,.chat-room .is-opening .story-choices button{font-size:13px;line-height:23px}.chat-room .story-choices button>b,.chat-room .is-opening .story-choices button>b{font-size:12px}.chat-room .story-message.is-opening{display:flex}.chat-room .is-opening>.story-bubble{background:linear-gradient(130deg,#ffffff0c,#ffffff05);border:1px solid #ffffff14;border-radius:6px 22px 22px;width:calc(100% - 40px);max-width:calc(100% - 40px);padding:0;display:block;overflow:hidden}.chat-room .story-message.is-opening.has-message-toolbar{grid-template-columns:29px minmax(0,1fr);display:grid}.chat-room .story-message.is-opening.has-message-toolbar>.message-avatar{grid-row:1}.chat-room .story-message.is-opening.has-message-toolbar>.story-bubble{width:100%;max-width:100%}.chat-room .story-message.is-opening.has-message-toolbar>.story-reply-actions{grid-row:2}.chat-room .story-opening-body{width:auto;max-width:none;box-shadow:none;background:0 0;padding:13px 15px}.chat-room .story-opening-background{padding:13px 15px 0}.chat-room .story-opening-background p{color:#c6b6cf;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font:400 13px/23px App133 MiSans,sans-serif}.chat-room .is-opening .story-opening-image{object-fit:contain;border-radius:12px;width:100%;height:auto;max-height:none;margin:14px 0 0;display:block}.chat-room .chat-context:has(>.replay-entrance){text-align:center;flex-direction:column;align-items:center;gap:8px;margin-bottom:12px;display:flex}.chat-room .chat-context .chat-date{order:1}.chat-room .chat-opening-date:has(>.replay-entrance) .chat-date{display:none}.chat-room .chat-context .replay-entrance{color:#c6a9bc;background:#ffffff08;border:0;border-radius:7px;gap:4px;min-height:28px;margin:0;padding:4px 8px;font:400 11px/18px App133 MiSans,sans-serif;position:relative}.chat-room .chat-context .replay-entrance:after{content:"";position:absolute;inset:-8px 0}.chat-room .chat-context .replay-entrance svg{width:12px;height:12px}.character-creation-sheet .bottom-sheet-header{padding-bottom:10px}.character-creation-sheet .bottom-sheet-header h2{letter-spacing:0;font-size:17px;line-height:26px}.character-creation-sheet .bottom-sheet-body{padding:12px 16px max(16px,env(safe-area-inset-bottom))}.character-creation-caption{margin:0 0 8px;font-size:12px;line-height:20px}.character-creation-modes{gap:6px}.character-creation-modes>a{background:#ffffff03;border:1px solid #ffffff0c;border-radius:11px;grid-template-columns:48px minmax(0,1fr) 14px;gap:10px;min-height:72px;padding:6px 8px}.character-creation-art.is-action-preview{filter:none;background:#211a28;border:1px solid #ffffff0c;border-radius:8px;width:48px;height:60px;overflow:hidden}.character-creation-art.is-action-preview :is(img,video){object-fit:cover;object-position:center 25%;width:100%;height:100%;display:block}.character-creation-art.is-action-preview>svg{color:#bda6c5;width:22px;height:22px}.character-creation-modes>a>svg:last-child{width:14px;height:14px}.character-creation-modes strong{font:600 14px/22px App133 MiSans,sans-serif}.character-creation-modes span small{margin-top:2px;font-size:11px;line-height:18px}.free-hook-dialog .chat-prompt-poster{height:auto;min-height:0;max-height:none}.free-hook-dialog .chat-prompt-poster>.chat-prompt-poster-foreground{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 310px);position:relative}.free-hook-dialog .chat-prompt-content{padding:18px 18px max(18px,env(safe-area-inset-bottom))}.free-hook-dialog .chat-prompt-copy h2{letter-spacing:0;font:600 20px/28px App133 MiSans,sans-serif}.free-hook-dialog .chat-prompt-copy p{color:#c4b5c8;margin:0;font:400 14px/23px App133 MiSans,sans-serif}.free-hook-dialog .chat-prompt-actions{gap:8px;margin-top:16px}.free-hook-dialog .chat-prompt-actions>.button{border-radius:14px;min-height:48px;font:600 16px/24px App133 MiSans,sans-serif}.free-hook-dialog .chat-prompt-actions>.chat-prompt-secondary{color:#dfc8e6;background:#33283e;border:1px solid #d8bde129}}.chat-scene-video-action{z-index:1;color:#fff5fb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;background:#251e2cd6;border:0;border-radius:7px;align-items:center;gap:5px;padding:6px 9px;font-size:11px;line-height:1.4;display:inline-flex;position:absolute;bottom:9px;left:9px}.chat-scene-video-action svg{width:13px;height:13px}.chat-scene-video-action:disabled{opacity:.6;cursor:not-allowed}
