.story-room{border:0;padding:0;width:min(1180px,calc(100% - 48px));max-width:none;height:calc(100dvh - 48px);max-height:none;border-radius:20px;background:#f8f7f0;color:#28374d;box-shadow:0 30px 100px #152f4940;overflow:auto}.story-room::backdrop{background:#101c2dcc;backdrop-filter:blur(6px)}.story-room *{box-sizing:border-box}.story-room button,.story-room textarea{font:inherit}.story-room button{cursor:pointer}.story-room button:focus-visible,.story-room summary:focus-visible,.story-room textarea:focus-visible{outline:3px solid #7e93b2;outline-offset:4px}.story-room button:disabled{opacity:.6;cursor:wait}.story-room .sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.story-top{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;border-bottom:1px solid #dedfd3;background:#f8f7f0;position:sticky;top:0;z-index:3}.story-top>span{font-size:13px;letter-spacing:.06em}.story-top small{display:inline-block;font-size:10px;color:#5d759a;margin-left:12px}.story-close{border:1px solid #ccd4e1;border-radius:50%;width:34px;height:34px;background:transparent;color:#28374d;font-size:24px!important}.story-layout{display:grid;grid-template-columns:1.15fr 1fr;min-height:calc(100% - 70px)}.story-conversation{padding:32px 42px}.story-date{font-size:11px;letter-spacing:.13em;color:#637ca1}.story-heading h1{font-size:clamp(28px,3.2vw,42px);font-family:Georgia,'Songti SC','Noto Serif CJK SC',serif;line-height:1.4;letter-spacing:-.04em;margin:14px 0}.story-heading>p{font-size:13px;color:#597195}.story-person{display:flex;gap:12px;align-items:center;margin:30px 0 18px}.story-person>span{display:grid;place-items:center;width:42px;height:42px;background:#ead6b5;border-radius:15px 15px 15px 3px;color:#705738}.story-person b{display:block;font-size:14px}.story-person small{display:block;font-size:10px;color:#627ba0;margin-top:5px}.story-person i{margin-left:auto;font-style:normal;font-size:10px;color:#627ba0}.story-messages{max-height:340px;min-height:120px;overflow:auto;overscroll-behavior:contain;padding-right:8px;scrollbar-width:thin}.story-bubble{margin:0 24px 16px 0;animation:letter-arrive .3s ease}.story-bubble small{font-size:10px;color:#677fa4}.story-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.9;background:#eeeee2;padding:16px 20px;margin:6px 0;border-radius:3px 18px 18px 18px}.story-bubble.from-you{margin:0 0 16px 40px}.from-you small{display:block;text-align:right}.from-you p{background:#d7dfeb;border-radius:18px 3px 18px 18px}.story-ask{display:flex;gap:8px;border-bottom:1px solid #8599b6;margin-top:18px;padding-bottom:8px;align-items:flex-end}.story-ask textarea{width:100%;resize:vertical;min-height:58px;max-height:180px;border:0;background:transparent;color:#28374d;font-size:14px;line-height:1.6;padding:8px}.story-ask button{border:0;background:#2b3b54;color:#fff9ed;padding:12px 16px;border-radius:20px;white-space:nowrap;font-size:12px}.story-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.story-prompts button{background:transparent;border:1px solid #cbd3e0;border-radius:20px;padding:7px 12px;font-size:11px;color:#4d6180;text-align:left}.story-hint{display:flex;align-items:center;gap:10px;width:100%;background:transparent;border:0;padding:10px 0;font-size:12px;color:#4d6180;text-align:left}.story-hint img{width:44px;height:44px;object-fit:contain;mix-blend-mode:multiply}.story-hint span{margin-left:auto}.story-whisper{font-size:12px;line-height:1.8;color:#546b8d;margin:0}.story-notebook{padding:32px;background:#eeeede;border-left:1px solid #dedfcf}.notebook-heading{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #b6c2d3;padding-bottom:18px;font-size:16px}.notebook-heading small{font-size:10px;color:#5d759a}.notebook-empty{text-align:center;padding:42px 10px;color:#6b83a6}.notebook-empty>span{font-size:40px}.notebook-empty p{font-size:13px;line-height:2}.evidence-slip{margin:20px 0;background:#fffdf6;box-shadow:0 5px 12px #2f3b4e10;animation:letter-arrive .35s ease;border-top:3px solid #b9c5d6}.evidence-slip.attendance{border-top-color:#d9c5a2;background:#fff9ea}.evidence-slip.refusal{border-top-color:#b9cbd3}.evidence-slip.identity{border-top-color:#cdbed6}.evidence-slip summary{display:grid;grid-template-columns:1fr auto;cursor:pointer;padding:18px;list-style:none}.evidence-slip summary::-webkit-details-marker{display:none}.evidence-slip summary span{font-size:10px;color:#6a82a6}.evidence-slip summary b{grid-column:1;font-size:14px;margin-top:5px;font-weight:500}.evidence-slip summary i{grid-column:2;grid-row:1/3;align-self:center;font-style:normal}.evidence-slip[open] summary i{transform:rotate(45deg)}.evidence-body{padding:0 18px 18px}.evidence-stamp{font-size:9px;color:#9b8971;border:1px solid #d7c8b5;padding:3px 6px;display:inline-block;transform:rotate(-4deg)}.evidence-body p{white-space:pre-wrap;font-size:12px;line-height:2.1;color:#3b4b62}.evidence-body>small{display:block;font-size:11px;line-height:1.8;border-top:1px dashed #d6d9c6;padding:12px 0;color:#5a7295}.evidence-body label{font-size:12px;display:flex;gap:8px;align-items:center}.evidence-body input{accent-color:#42536d;width:16px;height:16px}.story-letter{margin-top:30px;padding-top:24px;border-top:1px solid #b6c2d3}.story-letter h2{font-size:21px;font-weight:500;margin:12px 0}.story-letter>p{font-size:12px;color:#5a7296;line-height:1.8}.story-letter textarea{width:100%;padding:12px 0;border:0;border-bottom:1px solid #b0bccf;background:repeating-linear-gradient(transparent,transparent 31px,#c7d0dd 31px,#c7d0dd 32px);line-height:32px;font-size:13px;color:#354359;resize:vertical;border-radius:0}.story-review{margin-top:18px;border:0;background:#2b3b54;color:#fff9ed;border-radius:24px;padding:12px 20px;font-size:12px}.story-reflection{font-size:12px;line-height:1.9;overflow-wrap:anywhere}.story-reflection h3{font-size:16px;margin:24px 0 12px}.story-reflection details{margin:16px 0}.story-reflection summary{cursor:pointer}.story-ai-note{white-space:pre-wrap;border-left:2px solid #8195b4;padding-left:14px;margin-top:16px}.story-ai-note:empty{display:none}.story-boundary{font-size:10px;line-height:1.9;color:#677fa4;margin-top:28px}.story-room[open]{animation:letter-arrive .3s ease}@keyframes letter-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:760px){.story-room{width:100%;height:100dvh;border-radius:0;margin:0}.story-top{padding:12px 18px}.story-top small{display:block;margin:4px 0 0}.story-layout{grid-template-columns:1fr}.story-conversation{padding:24px}.story-notebook{border-left:0;border-top:1px solid #dedfcf;padding:24px}.story-heading h1{font-size:32px}.story-person i{display:none}.story-messages{max-height:300px}.story-person{margin-top:24px}}@media(prefers-reduced-motion:reduce){.story-room[open],.story-bubble,.evidence-slip{animation:none}}
.story-notebook-jump{display:block;background:transparent;border:0;color:#34445c;font-size:12px;padding:10px 0;text-decoration:underline;text-underline-offset:5px}.story-notebook{scroll-margin-top:80px}.story-bubble p{color:#344257}.evidence-slip summary b{color:#344257}.story-room .story-boundary{color:#4f6483}
.story-person .xiaolin-avatar{width:64px;height:64px;object-fit:cover;border-radius:22px 22px 22px 5px;box-shadow:0 3px 12px #303d5115}.story-bubble small{display:flex;align-items:center;gap:7px}.story-bubble .message-avatar{width:28px;height:28px;object-fit:cover;border-radius:50%}.story-bubble.from-you small{display:block}.scene-xiaolin{display:flex;align-items:center;justify-content:center;gap:12px}.scene-xiaolin img{width:112px;height:112px;object-fit:cover;border-radius:50% 50% 8px 50%;transform:rotate(-6deg);box-shadow:0 8px 20px #2f3b4e15}.xiaolin-note{font-size:12px;color:#3f506a;max-width:82px;line-height:1.8;transform:rotate(4deg)}
.story-rent .story-notebook{background:#f0e8db}.story-rent .from-you p{background:#ece0ce}.story-rent .evidence-slip{border-top-color:#c9ad85}.story-consumer .story-notebook{background:#e1e7f0}.story-consumer .from-you p{background:#d9e0eb}.story-consumer .evidence-slip{border-top-color:#a2bcc7}.evidence-slip.condition,.evidence-slip.actual{background:#f6f7f1}.evidence-slip.payment,.evidence-slip.order{border-top-style:dashed}
.scene-xiaolin img[src*="cutout"],.story-room img[src*="cutout"]{border-radius:0;background:transparent;box-shadow:none;object-fit:contain}.scene-xiaolin img[src*="cutout"]{transform:none}
