/* Cut-paper strips. Hidden letters still occupy their original inline advances. */
.collage-source-sentence{position:relative;background:#0b0b0b;padding:5px 9px;isolation:isolate;filter:drop-shadow(0 1px 0 #ffffff20)}
.collage-source-sentence::before,.collage-piece.paper-piece::before,.collage-drag-ghost::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:#0b0b0b;border:1px solid #ffffff22;clip-path:polygon(0 2px,12% 0,29% 2px,52% 0,78% 1px,100% 0,calc(100% - 1px) 43%,100% 100%,72% calc(100% - 2px),45% 100%,23% calc(100% - 1px),0 100%,1px 55%)}
.collage-source-gap{display:inline;width:auto;height:auto;visibility:hidden;user-select:none;pointer-events:none;white-space:pre-wrap;vertical-align:baseline;font:inherit}
.collage-source-sentence.empty{display:block;background:transparent;filter:none}.collage-source-sentence.empty::before{visibility:hidden}
.collage-piece.paper-piece{padding:4px 8px;isolation:isolate;filter:drop-shadow(0 1px 0 #ffffff24)}
.collage-piece:not(.paper-piece){background:transparent}
.collage-drag-ghost{padding:4px 8px;isolation:isolate}
.curtain-note img{max-width:min(100%,1100px)}
/* The original post gains this final chapter only after the curtain's return button. */
#forumView.forum-afterstory .panel{grid-template-rows:auto minmax(0,1fr) auto auto}
#forumView.forum-afterstory .panel>.author{grid-row:1}#forumView.forum-afterstory .forum-detail-scroll{grid-row:2}#forumView.forum-afterstory .actions{grid-row:4}
#forumView .afterstory-new-notice{grid-row:3;display:block;width:100%;border:0;border-top:1px solid #e4edf7;border-bottom:1px solid #e4edf7;background:#f0f6fc;color:#557ca4;padding:9px 12px;text-align:center;font:12px/1.5 "Microsoft YaHei",sans-serif;cursor:pointer}
#forumView .afterstory-new-notice[hidden]{display:none!important}
#forumView .afterstory-comment-divider{display:flex;align-items:center;gap:12px;margin:22px 0 27px;color:#87a0b8;font-size:12px;scroll-margin-top:15px}
#forumView .afterstory-comment-divider::before,#forumView .afterstory-comment-divider::after{content:"";height:1px;flex:1;background:#e7edf4}
#forumView .afterstory-meme{display:block;width:132px;max-width:100%;height:auto;border-radius:5px;margin-top:11px}
#forumView .afterstory-avatar-default{display:grid;place-items:center;background:#edf0f4;color:#8a95a6;border-radius:50%;font:19px/1 Georgia,serif;flex:none}
#forumView .afterstory-reply{padding:0;border:0;background:transparent;color:#999;font-size:12px;cursor:pointer}
#forumView .afterstory-reply:hover{color:#557ca4}
#forumView .afterstory-send{flex:none;border:0;border-radius:16px;padding:7px 10px;background:#648ab0;color:#fff;font-size:12px;cursor:pointer}
#forumView .afterstory-send:disabled{opacity:.4;cursor:default}
#forumView .afterstory-send[hidden],#forumView .afterstory-reply-target[hidden]{display:none!important}
#forumView .afterstory-reply-target{position:absolute;bottom:100%;left:14px;right:14px;display:flex;align-items:center;gap:8px;padding:9px 11px;border:1px solid #dce6f0;border-radius:8px 8px 0 0;background:#f5f8fc;color:#6683a0;font-size:12px;z-index:9}
#forumView .afterstory-reply-target span{min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#forumView .afterstory-reply-target button{border:0;background:transparent;color:#6683a0;cursor:pointer}
#forumView .afterstory-user-text{white-space:pre-wrap;overflow-wrap:anywhere}
.afterstory-carbi{position:fixed;z-index:86;width:224px;max-width:calc(100vw - 120px);font:16px/1.45 "CarbiQiuYe","Microsoft YaHei",sans-serif;pointer-events:none}
.afterstory-carbi[hidden]{display:none!important}.afterstory-carbi .carbi-guide-bubble{margin:0;font-family:"CarbiQiuYe","Microsoft YaHei",sans-serif!important;font-weight:400;font-synthesis:none}
body[data-afterstory-speaking] #translationFloat .bear-bubble-wrapper,body[data-afterstory-speaking] #translationFloat small{display:none!important}
