:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#28323c;background:#f5f6f8;font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;background:white;border:1px solid #dfe3e7;border-radius:7px;padding:10px 15px;transition:background .15s}button:hover{background:#eef2f4}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #628c3a;outline-offset:2px}header{height:76px;background:#fff;border-bottom:1px solid #e6e8ec;display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:20px}.brand{display:flex;align-items:center;gap:12px;font-size:18px}.brand-icon{background:#29343f;color:#c0ed85;border-radius:10px;width:35px;height:37px;text-align:center;font-size:30px;line-height:31px}.version{font-size:12px;border-left:1px solid #ddd;padding-left:12px;color:#81909b}.project-name{font-size:14px}.project-name span{color:#9aa1a9;font-size:12px;margin-left:12px}.header-actions{display:flex;gap:22px;align-items:center}.header-actions>span{font-size:12px;color:#78848c}#read{background:#29343f;color:white;border-color:#29343f}.topnav{height:60px;display:flex;align-items:stretch;padding:0 28px;background:#fff;border-bottom:1px solid #e0e4e8;gap:24px}.topnav button{border:0;border-radius:0;padding:0 8px;color:#78848c;background:none}.topnav button.active{color:#28323c;border-bottom:3px solid #28323c;font-weight:600}.topnav small{margin-left:5px;background:#f0f2f4;padding:2px 5px;border-radius:4px}.topnav>span{margin-left:auto;align-self:center;font-size:12px;color:#929ba3}main{display:grid;grid-template-columns:264px minmax(380px,1fr) 408px;height:calc(100vh - 136px)}.timeline{background:#fafbfc;border-right:1px solid #e0e4e8;padding:26px 18px;display:flex;flex-direction:column;overflow:auto}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.section-head>span{font-size:12px;color:#8a949d}.muted{color:#85909a;font-size:12px;line-height:1.8}.timeline>.muted{margin:10px 0 26px;font-size:12px}.scene{position:relative;display:flex;gap:12px;border:1px solid transparent;background:transparent;border-radius:9px;margin:0 0 9px;padding:16px 12px;width:100%;text-align:left;align-items:center}.scene.selected{background:#fff;border-color:#a7bb91;box-shadow:0 3px 12px #26352008}.scene.selected:before{content:'';position:absolute;width:3px;background:#92b96a;left:-1px;height:28px;border-radius:2px}.scene-number{font-size:12px;color:#9aa2aa;align-self:flex-start;line-height:30px}.scene-icon{width:35px;height:35px;display:grid;place-items:center;background:#e7f0e5;color:#628250;border-radius:8px;font-size:20px}.scene-icon.social{color:#6e84a5;background:#e9eef7}.scene-icon.text{color:#9b825a;background:#f4eddf}.scene-text{flex:1;min-width:0}.scene-text b{display:block;font-size:14px;font-weight:500;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-text small{font-size:12px;color:#919aa2}.add-scene{border:1px dashed #c7ced4;background:none;width:100%;margin-top:12px;padding:14px;font-size:14px}.timeline-foot{font-size:12px;color:#8d98a2;margin-top:auto;padding-top:35px;line-height:2}.timeline-foot span{display:block;color:#a4adb4}.editor{padding:30px 32px;overflow:auto;max-width:850px;width:100%;margin:auto;height:100%}.eyebrow{font-size:12px;color:#929ba5;letter-spacing:1.5px}h1{font-size:24px;letter-spacing:-.6px;margin:12px 0 8px;font-weight:600}h2{font-size:15px;font-weight:600;margin:24px 0 16px}.editor-heading{margin-bottom:26px}.editor-heading p{margin-top:0}.card{background:#fff;border:1px solid #e2e6ea;border-radius:10px;padding:20px;margin-bottom:12px}.card>b{font-size:14px;font-weight:600}.fields{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}label{display:block;font-size:12px;color:#85909b}input,select,textarea{width:100%;background:#fff;border:1px solid #dfe3e8;border-radius:6px;padding:10px 11px;margin-top:8px;color:#37414c;min-width:0}textarea{resize:vertical;min-height:70px;line-height:1.7;font-size:14px}.message-card{padding:15px 17px}.message-top{display:flex;align-items:center;gap:9px}.message-top select{width:110px;margin:0;padding:6px;border:0;background:#f5f6f7}.message-top .type-select{margin-left:auto;width:90px;font-size:12px}.mini-btn{border:0;background:none;padding:5px;color:#9aa3ac}.message-card textarea{background:#fcfcfd;border:1px solid #edf0f2;margin-top:12px}.avatar{display:grid;place-items:center;flex-shrink:0;width:33px;height:33px;border-radius:7px;background:#dbe4ed;color:#627183;font-size:14px}.avatar.c1{background:#dce7cb;color:#72875a}.avatar.c2{background:#efdfce;color:#a3825f}.message-bottom{display:flex;align-items:center;gap:6px;margin-top:8px;color:#9aa3ab;font-size:12px}.message-bottom input{border:0;padding:0;margin:0;font-size:12px;width:110px;color:#9aa3ab}.editor-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:16px}.editor-actions button{font-size:12px;padding:7px 9px;background:none}.preview{border-left:1px solid #e0e4e8;padding:27px 28px;background:#eef1f4;overflow:auto;display:flex;flex-direction:column;align-items:center}.preview>.section-head{width:100%}.section-head .live{color:#73955b;font-size:12px}.preview-device{font-size:12px;color:#84919d;letter-spacing:1px;margin:26px 0 15px}.phone{width:322px;height:622px;max-height:calc(100vh - 310px);min-height:410px;border:7px solid #30373d;border-radius:42px;background:#ededed;box-shadow:0 16px 26px #24354818,0 0 0 1px #c1c7ce;overflow:hidden;display:flex;flex-direction:column;position:relative}.phone:after{content:'';position:absolute;bottom:7px;left:35%;height:4px;border-radius:4px;width:30%;background:#20252a;pointer-events:none}.statusbar{padding:15px 20px 10px;font-size:12px;display:flex;justify-content:space-between;flex-shrink:0}.phone-title{display:flex;justify-content:space-between;padding:14px 16px;font-size:20px;border-bottom:1px solid #dedede;flex-shrink:0}.phone-title b{font-size:15px;font-weight:600}.phone-content{flex:1;overflow:auto;padding:12px 13px 28px;scrollbar-width:thin}.timestamp{text-align:center;color:#a3a3a3;font-size:12px;margin:6px 0 23px}.bubble-row{display:flex;gap:9px;margin-bottom:20px;align-items:flex-start}.bubble-row.self{flex-direction:row-reverse}.bubble{max-width:205px;background:#fff;padding:10px 12px;border-radius:5px;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.self .bubble{background:#a9e776}.sender{font-size:12px;color:#909090;margin-bottom:4px}.phone-input{background:#f5f5f5;padding:10px 13px 23px;display:flex;gap:12px;align-items:center;border-top:1px solid #ddd;font-size:23px}.phone-input i{background:white;flex:1;height:28px;border-radius:4px}.preview-controls{display:flex;gap:24px;align-items:center;margin-top:21px}.preview-controls button{padding:5px 12px;border:0;background:transparent}.preview-controls span{font-size:12px;color:#87929c}.preview-note{font-size:12px;color:#9aa4ad;margin:8px 0}.primary{background:#29343f;color:white}.wide{width:100%;border-style:dashed;background:transparent;padding:13px}.profile-cover{height:110px;background:linear-gradient(120deg,#526477,#a9bfc9);margin:-12px -13px 0}.profile-info{padding:0 5px 22px;text-align:right}.profile-info .avatar{margin:-22px 0 10px auto;width:48px;height:48px;border:3px solid white}.profile-info b{font-size:17px}.profile-info p{font-size:12px;color:#85909a}.post{padding:19px 3px;border-top:1px solid #e4e7ea;font-size:14px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap}.post-name{color:#597295;font-weight:600}.post p{margin:8px 0}.post-meta{color:#99a3ad;font-size:12px}.post-comments{background:#edf0f3;padding:6px 8px;margin-top:8px;font-size:12px;color:#667c95}.text-page{white-space:pre-wrap;line-height:2.2;font-size:16px;padding:50px 12px;color:#222}.phone.social,.phone.text,.phone.moments{background:#fff}.social .profile-info{text-align:left}.social .profile-info .avatar{margin-right:auto;margin-left:0}.social .profile-cover{background:linear-gradient(110deg,#35495a,#92a8b2)}dialog{border:1px solid #dee3e9;border-radius:15px;padding:30px;max-width:580px;width:calc(100% - 32px);color:#28323c;max-height:90vh}dialog::backdrop{background:#17232b77;backdrop-filter:blur(3px)}.dialog-close{position:absolute;top:12px;right:12px;border:0;font-size:23px;padding:0 8px}.type-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}.type-grid button{text-align:left;padding:20px}.type-grid small{display:block;color:#8b96a0;font-size:12px;margin-top:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#29343f;color:white;padding:12px 20px;border-radius:8px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10}.reader-dialog{width:390px;padding:15px;background:#eef1f4}.reader-dialog .phone{max-height:none;height:650px;max-width:100%;margin:20px auto 0}.reader-dialog .preview-controls{justify-content:center}.reader-dialog .dialog-close{z-index:2}.settings-note{padding:14px;background:#edf2e9;color:#698054;font-size:12px;line-height:1.8;border-radius:7px}.lockscreen{flex:1;padding:50px 20px;text-align:center;color:white;background:linear-gradient(145deg,#304855,#748781)}.lockscreen h1{font-size:56px;font-weight:300}.lockscreen button{margin-top:80px;background:#ffffff22;color:#fff;border:1px solid #ffffff55}.empty{padding:28px;text-align:center;color:#919aa4;font-size:14px} @media(min-width:1600px){main{grid-template-columns:290px minmax(380px,1fr) 460px}.phone{width:350px;height:690px}}@media(max-width:1150px){main{grid-template-columns:220px minmax(330px,1fr) 350px}.editor{padding:25px 20px}.preview{padding:26px 15px}.timeline{padding:24px 10px}.project-name{display:none}.brand{font-size:16px}}@media(max-width:930px){main{grid-template-columns:190px 1fr;height:auto;min-height:calc(100vh - 136px)}.preview{grid-column:1/-1;border-top:1px solid #ddd}.phone{max-height:none;height:610px}.editor{min-height:650px}.timeline{min-height:650px}.topnav>span{display:none}}@media(max-width:580px){header{padding:0 14px;height:65px}.brand{gap:7px;font-size:15px}.version,.header-actions>span{display:none}.header-actions{gap:0}#read{padding:9px 11px;font-size:12px}.topnav{padding:0 12px;gap:14px;height:52px}main{display:block}.timeline{min-height:0;padding:18px}.timeline>.muted,.timeline-foot{display:none}#scenes{display:flex;overflow:auto;gap:8px;margin-top:14px}.scene{min-width:180px;margin:0;padding:10px}.add-scene{margin-top:12px;padding:10px}.editor{padding:24px 18px;min-height:0}.fields{gap:10px}.reader-dialog{padding:12px;width:100%;border-radius:0;max-height:100dvh}.reader-dialog .phone{height:calc(100dvh - 120px);min-height:350px}.preview{padding:24px}.phone{max-width:100%}}
/* Second edition: accessible author controls and shared reader presentation. */
header{padding:0 22px}.header-actions{gap:10px}.header-actions>span{min-width:130px;text-align:right}.topnav{gap:18px}.topnav button{font-size:14px}.topnav #backup{margin-left:auto;font-size:12px}.import-label{font-size:12px;display:flex;align-items:center;cursor:pointer}.import-label input{width:1px;height:1px;opacity:0;position:absolute}.topnav .import-label:focus-within{outline:2px solid #6f9452}.timeline{padding:22px 14px;height:100%;overflow:hidden}.timeline>.muted{margin:8px 0 16px}#scenes{overflow-y:auto;min-height:100px;flex:1;overscroll-behavior:contain;padding:2px 2px 8px}.scene-item{border:1px solid #e1e5e9;border-radius:9px;margin-bottom:10px;background:#fff;transition:border-color .15s,box-shadow .15s}.scene-item.selected{border-color:#91ad74;box-shadow:0 2px 6px #2834200b}.scene-row{display:flex;align-items:center;padding:10px 8px 3px}.drag-handle{touch-action:none;cursor:grab;border:0;background:none;padding:5px 2px;color:#87919c;font-size:18px;width:23px;flex-shrink:0}.drag-handle:active{cursor:grabbing}.scene-select{display:flex;align-items:center;gap:9px;width:100%;border:0;background:none;text-align:left;padding:4px}.scene-text small{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:158px}.scene-tools{display:flex;align-items:center;padding:4px 8px 8px 30px;gap:5px}.scene-tools button{padding:5px 6px;font-size:12px;border:0;background:#f5f6f8;min-width:28px}.scene-tools .danger{color:#ad5353;margin-left:auto}.scene-tools button:hover{background:#e4e9ef}.sort-ghost{position:fixed;z-index:1000;pointer-events:none;box-shadow:0 12px 25px #26364040;transform:rotate(1deg);margin:0;opacity:.95}.sort-marker{border:2px dashed #91ad74;background:#e9f0e2;border-radius:9px;margin-bottom:10px}.sorting{user-select:none;cursor:grabbing}.scene-item[hidden]{display:none}.timeline-foot{margin-top:8px;padding-top:4px;flex-shrink:0}.add-scene{flex-shrink:0}#undo-delete{font-size:12px;margin-top:8px;color:#6e8952;background:#edf3e6;border:0}label{font-size:14px;color:#697681}input,textarea,select{font-size:14px}.card>label{margin-top:15px}.check-line{display:flex;gap:8px;align-items:center;margin-top:15px;font-size:13px}.check-line input,.person-chip input{width:16px;height:16px;margin:0;accent-color:#6c9148}.narration-input{min-height:350px}.type-select{min-width:105px}.message-top>select{font-size:14px;width:120px}.message-card>label{margin-top:12px}.message-card .message-bottom{margin-top:5px}.upload-field{margin-top:16px}.upload-button{display:inline-flex;align-items:center;border:1px dashed #aeb9c1;border-radius:7px;background:#f8fafb;padding:10px 14px;font-size:13px;color:#516579;cursor:pointer;position:relative;overflow:hidden}.upload-button input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;width:100%;height:100%}.upload-button:focus-within{outline:2px solid #6f9452}.upload-field>small{display:block;font-size:12px;color:#93a0aa;margin-top:6px}.upload-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.upload-thumbs:empty{display:none}.upload-thumbs>div{position:relative}.upload-thumbs img{width:62px;height:62px;border-radius:7px;object-fit:cover;border:1px solid #e0e5e8}.upload-thumbs button{position:absolute;right:-5px;top:-5px;padding:0;border-radius:50%;background:#4a5662;color:white;width:20px;height:20px;font-size:16px;border:2px solid white;line-height:14px}.like-picker{margin-top:20px}.person-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.person-chip{display:flex;align-items:center;gap:6px;padding:8px 10px;background:#f4f6f8;border-radius:6px;font-size:13px}.person-chip:has(input:checked){background:#edf4e3;color:#608344}.post-editor h3{font-size:14px;font-weight:600;margin:23px 0 12px}.post-editor h3 span{font-size:12px;color:#8997a3;margin-left:5px}.text-button{padding:4px 6px;border:0;color:#6d8a50;font-size:13px;background:none}.comment-editor{display:grid;grid-template-columns:115px 1fr 22px;gap:10px;align-items:start;background:#f6f8f9;padding:12px;margin:8px 0;border-radius:6px}.comment-editor label{font-size:12px}.comment-editor textarea{min-height:43px;height:43px;resize:vertical;line-height:1.5}.comment-editor .mini-btn{margin-top:24px}.avatar{overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.profile-cover{position:relative;overflow:hidden}.profile-cover>img{width:100%;height:100%;object-fit:cover}.profile-info .avatar{position:relative}.post{display:flex;gap:10px;white-space:normal}.post-avatar{flex-shrink:0;padding-top:2px}.post-body{flex:1;min-width:0}.post p{white-space:pre-wrap;line-height:1.7}.post-comments{font-size:12px;white-space:pre-wrap;line-height:1.8;border-radius:3px}.post-comments b{font-weight:500}.post-comments span{color:#3d4248}.like-line:not(:last-child){border-bottom:1px solid #dde2e6;padding-bottom:4px;margin-bottom:4px}.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:8px 0}.image-grid:empty{display:none}.image-view{border:0;padding:0;display:block;border-radius:3px;overflow:hidden;background:none;aspect-ratio:1}.image-view img{width:100%;height:100%;object-fit:cover;display:block}.image-grid:has(>.image-view:only-child){grid-template-columns:1fr;max-width:220px}.image-grid:has(>.image-view:only-child) .image-view{aspect-ratio:auto}.image-grid:has(>.image-view:only-child) img{max-height:230px;object-fit:contain;width:auto;max-width:100%}.chat-media{max-width:190px}.chat-media .image-grid{margin:0;display:block}.chat-media .image-view{aspect-ratio:auto}.chat-media.sticker{max-width:112px}.chat-media img{border-radius:5px}.chat-media.sticker .image-view{background:transparent}.money-card{width:208px;background:#eda353;color:white;border-radius:5px;overflow:hidden;position:relative}.money-main{display:flex;gap:10px;align-items:center;min-height:79px;padding:13px 12px}.money-icon{display:grid;place-items:center;width:32px;height:36px;flex-shrink:0;color:#ffe3ad}.packet-icon{border:1.5px solid #ffdeb0;border-radius:3px;font-size:19px;background:#e78d39;position:relative}.packet-icon:before{content:'';position:absolute;top:7px;left:0;width:100%;border-bottom:1px solid #ffdeb0}.transfer-icon{border:1.5px solid #fff2d9;border-radius:50%;font-size:23px;width:34px;height:34px}.money-title{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.money-detail{font-size:12px;color:#ffebd5;line-height:1.5;margin-top:5px}.money-footer{border-top:1px solid #ffffff38;padding:4px 12px;font-size:11px;color:#fff7e9}.money-card.received{background:#f3c38d}.money-card.received .packet-icon{background:#ecb47a}.message-body{min-width:0;max-width:calc(100% - 42px)}.social-replies{font-size:12px;color:#6a7e94;margin-top:8px}.social-replies summary{cursor:pointer}.button-link{display:inline-flex;align-items:center;text-decoration:none;color:inherit;border:1px solid #dfe3e7;border-radius:7px;padding:10px 15px;font-size:14px}.button-link.primary{color:white}.publish-actions{display:flex;gap:10px;margin-top:18px}#save-error{background:#fff1e6;color:#985727;padding:10px 25px;font-size:13px;border-bottom:1px solid #f2d6bd}#save-error[hidden]{display:none}body:has(#save-error:not([hidden])) main{height:calc(100vh - 178px)}.lightbox{background:#111a22f5;max-width:96vw;width:96vw;height:94dvh;max-height:94dvh;border:0;overflow:hidden;padding:35px 50px;align-items:center;justify-content:center}.lightbox[open]{display:flex}.lightbox>img{max-width:100%;max-height:83dvh;object-fit:contain}.lightbox button{position:absolute;background:#ffffff20;color:white;border:0;font-size:30px;padding:5px 12px}.lightbox [data-close]{top:10px;right:12px}.lightbox [data-back]{left:5px;top:45%}.lightbox [data-forward]{right:5px;top:45%}.image-counter{position:absolute;bottom:12px;color:white;font-size:13px}.reader-page{background:#202a33;min-height:100dvh}.reader-page #reader{min-height:100dvh;display:grid;place-items:center}.reader-loading{color:#e3e7ed;padding:30px}.story-cover{background:#f9fafb;max-width:440px;width:100%;min-height:650px;padding:48px 40px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:18px;box-shadow:0 20px 50px #0003;margin:30px 0}.book-cover{width:200px;height:230px;object-fit:cover;border-radius:9px;margin-bottom:30px}.book-mark{font-size:60px;margin-bottom:30px;color:#719456}.story-cover h1{font-size:30px;line-height:1.6;margin:18px 0 4px}.byline{font-size:13px;color:#8a959e}.story-intro{white-space:pre-wrap;line-height:1.9;font-size:15px;color:#727e88;margin:22px 0 30px}.story-cover small{font-size:12px;color:#99a2ab;margin-top:22px}.story-cover button{margin-top:12px;min-width:160px}.reader-shell{width:375px;max-width:100%;display:flex;flex-direction:column;align-items:center;padding:15px 0}.reader-device{font-size:12px;letter-spacing:1px;color:#a9b4bb;padding:8px;min-height:31px}.reader-phone{width:360px;height:calc(100dvh - 115px);max-height:780px;min-height:380px;border-radius:30px}.reader-navigation{display:flex;justify-content:space-between;align-items:center;width:100%;padding:8px 15px;color:#ccd4da}.reader-navigation button{color:inherit;border:0;background:none;padding:8px 14px}.reader-navigation #home{font-size:12px}.lockscreen{padding:0;position:relative;overflow:hidden}.lock-wallpaper{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.lock-content{position:relative;padding:55px 20px;height:100%;text-shadow:0 1px 12px #0005;background:#0002;display:flex;flex-direction:column;align-items:center}.lock-content h1{font-size:60px}.lock-content #unlock{margin-top:auto;background:#0003}.lock-notification{margin:30px 0 10px;background:#ffffffbc;color:#29343f;border-radius:12px;padding:15px;text-align:left;width:100%;text-shadow:none;font-size:14px;line-height:1.7}.device-transition{position:fixed;top:45%;left:50%;transform:translate(-50%,-50%);background:#26323fee;color:white;padding:22px 28px;border-radius:12px;pointer-events:none;text-align:center;min-width:240px}.end>p{color:#8a959e;line-height:1.9}
@media(min-width:1250px){main{grid-template-columns:265px minmax(400px,1fr) 390px}}@media(max-width:1100px){header{gap:10px;padding:0 16px}.brand .version{display:none}.header-actions>span{font-size:11px;min-width:0;max-width:110px}.header-actions button{padding:9px 10px;font-size:12px}.comment-editor{grid-template-columns:95px 1fr 18px;gap:7px}}
@media(min-width:760px) and (max-width:1000px){main{grid-template-columns:210px minmax(350px,1fr);height:calc(100vh - 136px)}.timeline{height:100%;min-height:0}.editor{height:100%;min-height:0}.preview{position:fixed;right:20px;bottom:20px;width:310px;max-height:72vh;z-index:3;box-shadow:0 10px 30px #26333a30;border-radius:14px;padding:12px;display:none}body.show-preview .preview{display:flex}.preview .phone{width:272px;height:450px;min-height:350px}.preview-device{margin:10px 0}.preview-note{display:none}.preview-controls{margin:5px}.preview .section-head{font-size:12px}}
@media(max-width:759px){header{height:auto;min-height:110px;flex-wrap:wrap;align-content:center;gap:12px;padding:15px}.brand{font-size:16px}.header-actions{width:100%;justify-content:space-between;gap:5px}.header-actions>span{display:block;max-width:105px;font-size:11px}.header-actions button{font-size:12px;padding:8px}.topnav{overflow-x:auto;white-space:nowrap;padding:0 12px;gap:16px;height:54px}.topnav #backup{margin-left:0}.topnav>*{flex-shrink:0}main,body:has(#save-error:not([hidden])) main{display:block;height:auto}.timeline{height:auto;min-height:0;padding:18px 14px}.timeline>.muted{display:block}.timeline #scenes{display:block;max-height:290px;overflow:auto;min-height:90px}.scene-item{margin-bottom:8px}.scene-row{padding-top:5px}.scene-text small{max-width:240px}.scene-tools{padding-left:65px}.scene-tools button{padding:7px 12px}.scene-select{justify-content:flex-start}.scene-text b{margin-bottom:4px}.timeline-foot{display:none}.editor{min-height:0;height:auto;padding:20px 14px}.preview{padding:24px 14px}.phone{height:600px;max-height:none;min-height:400px}.comment-editor{grid-template-columns:95px 1fr 22px}.fields{gap:12px}.reader-page #reader{display:block}.story-cover{max-width:none;margin:0;border-radius:0;min-height:100dvh;padding:40px 26px}.reader-shell{width:100%;padding:0;height:100dvh}.reader-device{display:none}.reader-phone{width:100%;border:0;border-radius:0;height:calc(100dvh - 50px);max-height:none;min-height:0;box-shadow:none}.reader-phone:after{display:none}.reader-navigation{height:50px;flex-shrink:0;padding:0 12px}.reader-phone .phone-content{padding-left:16px;padding-right:16px}.reader-phone .bubble{max-width:260px;font-size:16px}.reader-phone .money-card{width:225px}.reader-phone .statusbar{padding-top:max(15px,env(safe-area-inset-top))}.reader-phone .phone-input{padding-bottom:12px}.reader-phone .text-page{padding-top:60px}.post{font-size:15px}.reader-phone .profile-cover{height:170px}.lock-content{padding-top:75px}.story-cover.end h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
#toggle-preview{display:none}@media(min-width:760px) and (max-width:1000px){#toggle-preview{display:block}}
/* Phone identity, conversations and reader unlocking. */
.sort-placeholder{background:#e6efdc;border:2px dashed #91ad74;opacity:.45}.sort-floating{box-shadow:0 12px 28px #26364045;opacity:.96;pointer-events:none}.sort-chosen .drag-handle{color:#527337}.reply-editor{display:block}.reply-editor .fields{margin-top:0}.comment-actions{display:flex;justify-content:space-between;margin-top:8px}.comment-actions .mini-btn{margin-top:0;color:#ad5353}.receipt-editor{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-top:12px}.receipt-editor .mini-btn{padding-bottom:12px}.receipt-line{text-align:center;font-size:11px;line-height:1.7;color:#9b9b9b;margin:-6px 5px 18px;overflow-wrap:anywhere}.receipt-line>span{color:#e69b48}.call-bubble{display:flex;align-items:center;gap:10px;white-space:normal;min-width:160px}.call-bubble svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;flex-shrink:0}.call-mode{display:block;font-size:11px;color:#7e897a;margin-bottom:3px}.money-card.received .money-detail{color:#725236}.money-card.received .money-title{color:#765331}.lockscreen{touch-action:none;user-select:none}.reader-phone .phone-content{touch-action:pan-y}.lock-content{will-change:transform}.lock-content #unlock{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:6px;font-size:14px;padding:16px 28px}.lock-content #unlock span{font-size:27px}.pin-screen{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:22px 30px;background:#16232ab8;backdrop-filter:blur(15px)}.pin-screen h2{font-size:20px;margin:12px 0}.pin-screen>p{font-size:13px;margin:6px 0}.pin-dots{display:flex;gap:16px;margin:24px 0 12px}.pin-dots i{width:11px;height:11px;border:1px solid white;border-radius:50%}.pin-dots i.filled{background:white}.pin-screen .pin-error{min-height:38px;text-align:center;line-height:1.6;color:#f3e6cf}.pin-keypad{display:grid;grid-template-columns:repeat(3,65px);gap:14px 20px;margin-top:10px}.pin-keypad button{margin:0;width:65px;height:65px;border-radius:50%;background:#ffffff20;color:white;border:0;font-size:26px;padding:0}.pin-keypad button[data-key=cancel],.pin-keypad button[data-key=back]{font-size:14px;background:none}.pin-keypad button:hover{background:#ffffff40}.lock-symbol{font-size:23px}.lock-content #unlock:focus-visible,.pin-keypad button:focus-visible{outline:2px solid white}
@media(max-height:650px){.pin-screen{padding:12px}.pin-keypad{grid-template-columns:repeat(3,50px);gap:8px 22px}.pin-keypad button{width:50px;height:50px}.pin-dots{margin:12px}.pin-screen h2{margin:4px}}
/* Fourth edition: content-first library and full-screen phone reading. */
.topnav{overflow-x:auto;white-space:nowrap;gap:16px}.topnav>*{flex-shrink:0}.topnav>a{display:flex;align-items:center;text-decoration:none;font-size:14px;color:#465564}.topnav #backup{margin-left:0}audio{max-width:100%}.message-card>audio{width:100%;margin-top:8px}.voice-message{background:#fff;border-radius:6px;padding:10px;width:208px;max-width:100%}.self .voice-message{background:#a9e776}.voice-label{font-size:13px;display:block;margin-bottom:6px;color:#425338}.voice-message audio{display:block;width:100%;height:36px}.contact-card{width:208px;max-width:100%;background:#fff;border-radius:7px;overflow:hidden}.self .contact-card{background:#a9e776}.contact-card-main{display:flex;align-items:center;gap:11px;padding:16px}.contact-card-main .avatar{width:45px;height:45px;border-radius:6px}.contact-card-main b{font-size:16px;overflow-wrap:anywhere;font-weight:500}.contact-card-footer{padding:7px 13px;border-top:1px solid #0000000c;color:#8a9095;font-size:12px}.scene-remarks,.character-remarks{margin:18px 0;background:#f0f3f5;border-radius:8px;padding:14px}.scene-remarks summary,.character-remarks summary{cursor:pointer;font-size:14px}.remark-row{padding:14px 0;border-top:1px solid #dae0e5}.remark-row .fields{margin-top:8px}.remark-row textarea{min-height:80px}.scene-remarks select{max-width:100%}.crop-dialog{width:500px;max-width:calc(100vw - 24px)}.crop-dialog h2{margin:0;font-size:20px}.crop-dialog p{font-size:14px;line-height:1.7}.crop-dialog canvas{display:block;max-width:100%;width:auto;height:min(43dvh,380px);margin:18px auto;background:#121a23;touch-action:none;cursor:move;border:2px solid #fff;box-shadow:0 0 0 1px #bcc8d0}.crop-dialog input{padding:0;accent-color:#71974d}.crop-moves{display:flex;gap:8px;margin-top:14px;justify-content:center}.crop-dialog .publish-actions{justify-content:flex-end}.crop-dialog small{display:block;color:#7a8590;margin-top:12px}.library-main{display:block;max-width:1100px;padding:45px 28px;margin:auto;height:auto}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.library-heading h1{font-size:30px}.library-heading p{color:#84909b}.library-filters{display:flex;gap:12px;margin:25px 0}.library-filters button{border:0;background:transparent}.library-filters button.active{background:#29343f;color:#fff}.work-card{display:flex;gap:25px;background:#fff;border:1px solid #e1e7eb;border-radius:13px;padding:24px;margin-bottom:15px;align-items:center}.work-card h2{font-size:22px;margin:10px 0;overflow-wrap:anywhere}.work-card p{font-size:13px;color:#83919b}.work-cover-icon{width:86px;height:120px;background:#eaf0e3;border-radius:8px;display:grid;place-items:center;font-size:36px;color:#719350;flex-shrink:0}.work-state{font-size:12px;color:#719350}.work-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.library-empty{text-align:center;padding:70px 20px;color:#87929d}.library-error,#create-error{color:#ad5353}.statusbar{font-size:13px;padding:15px 18px 10px;align-items:center;font-variant-numeric:tabular-nums}.status-icons{display:flex;align-items:center;gap:6px}.signal-icon{width:19px;height:15px;fill:currentColor}.wifi-icon{width:19px;height:16px;fill:currentColor}.wifi-icon path{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}.battery{display:block;width:27px;height:14px;border-radius:4px;background:#8887;position:relative;isolation:isolate;margin-right:3px}.battery:after{content:'';position:absolute;right:-3px;top:4px;width:2px;height:6px;background:currentColor;opacity:.5;border-radius:1px}.battery i{position:absolute;inset:0;border-radius:4px;background:currentColor;opacity:.75;z-index:-1}.battery>b{position:absolute;inset:0;display:grid;place-items:center;font-size:10px;color:#fff;font-weight:700;line-height:14px}.lock-status .battery>b{color:#263140}.lockscreen{background:linear-gradient(160deg,#1266bd,#153a68);color:white;display:flex;flex-direction:column;width:100%}.lock-status{position:relative;z-index:2;padding:18px 22px 0;min-height:40px;flex-shrink:0;color:#f2f6ff}.lock-status>b{font-size:12px;font-weight:500}.lock-content{padding:32px 12px 30px;background:none;flex:1;min-height:0;height:auto;text-shadow:none;justify-content:flex-start}.lock-date{font-size:18px;margin:0 0 0;color:var(--clock-color);font-weight:500}.lock-clock{width:100%;max-width:390px;margin:-8px auto 0;color:var(--clock-color);opacity:.86}.lock-clock svg{width:100%;height:auto;max-height:36dvh;display:block}.lock-clock text{font-family:"Helvetica Neue",Arial,sans-serif;font-size:245px;font-weight:200;fill:currentColor}.lock-content #unlock{margin-top:auto;margin-bottom:0;padding:15px 30px 10px;text-shadow:0 1px 7px #0009}.lock-content #unlock span{font-size:23px;line-height:20px}.lock-notification{margin-top:25px;backdrop-filter:blur(20px);background:#ffffff60;font-size:14px}.lock-home-bar{position:absolute;bottom:10px;height:4px;width:34%;left:33%;border-radius:5px;background:#fff9}.pin-screen{position:relative;flex:1;min-height:0;height:auto;padding:20px 30px 26px;background:#111b3066;backdrop-filter:blur(7px);justify-content:center}.pin-lock{width:19px;height:23px;margin:0 0 20px;fill:#fff;stroke:#fff;stroke-width:1.7}.pin-lock path{fill:none}.pin-screen h2{font-size:22px;font-weight:500;margin:4px 0 0}.pin-dots{gap:22px;margin:22px 0 10px}.pin-dots i{width:12px;height:12px;border-width:1.5px}.pin-screen .pin-error{font-size:13px;min-height:32px;margin:0 0 12px;max-width:270px;overflow-wrap:anywhere}.pin-keypad{grid-template-columns:repeat(3,70px);gap:15px 22px;margin:0}.pin-keypad button{width:70px;height:70px;background:#ffffff17;border:1px solid #cad7ff24;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:32px;font-weight:400;line-height:1.05}.pin-keypad small{font-size:10px;letter-spacing:2px;min-height:13px;padding-top:3px;font-weight:600}.pin-keypad button[data-key=cancel],.pin-keypad button[data-key=back]{border:0}.reader-tip{position:fixed;z-index:20;bottom:80px;left:50%;transform:translateX(-50%);background:#1b2538ed;color:white;border-radius:12px;width:min(330px,90vw);padding:16px;font-size:14px;line-height:1.7}.profile-cover{height:auto;aspect-ratio:2.2}.reader-phone .profile-cover{height:auto;aspect-ratio:2.2}.reader-shell .phone:has(.lockscreen):after{display:none}.reader-phone:has(.lockscreen){background:#184479}.reader-navigation #fullscreen{font-size:21px}.reader-page:fullscreen{background:#111820}.reader-page:fullscreen .reader-device{display:none}.reader-page:fullscreen .reader-shell{height:100dvh}.reader-page:fullscreen .reader-phone{height:calc(100dvh - 50px);max-height:none}
@media(max-width:759px){.library-main{padding:28px 18px}.library-heading h1{font-size:25px}.library-heading{align-items:flex-start}.work-card{gap:14px;padding:18px}.work-cover-icon{width:50px;height:83px;font-size:25px}.work-card h2{font-size:19px}.work-actions .button-link{font-size:13px;padding:9px}.reader-shell{position:relative;height:100dvh}.reader-phone{height:100dvh!important;width:100%;border:0;border-radius:0}.reader-navigation{position:absolute;bottom:0;z-index:4;background:#1b243adb;height:calc(44px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);opacity:.92}.reader-phone .phone-content{padding-bottom:60px}.reader-phone .phone-input{padding-bottom:60px}.reader-phone .lock-content{padding-top:35px;padding-bottom:calc(66px + env(safe-area-inset-bottom))}.lock-status{padding-top:max(16px,env(safe-area-inset-top))}.reader-phone .pin-screen{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.lock-home-bar{bottom:calc(53px + env(safe-area-inset-bottom));height:4px}.pin-keypad{grid-template-columns:repeat(3,76px);gap:16px 24px}.pin-keypad button{width:76px;height:76px;font-size:36px}.pin-keypad small{font-size:11px}.reader-phone .voice-message,.reader-phone .contact-card{width:235px}.reader-phone .lock-clock svg{max-height:37dvh}.scene-remarks .fields{grid-template-columns:1fr}.crop-dialog{padding:20px}.topnav>a{font-size:13px}}
@media(max-height:680px){.pin-screen{padding-top:5px}.pin-lock{margin-bottom:8px}.pin-dots{margin:14px 0 8px}.pin-keypad{grid-template-columns:repeat(3,52px);gap:9px 24px}.pin-keypad button{width:52px;height:52px;font-size:26px}.pin-keypad small{font-size:8px}.reader-phone .lock-content{padding-top:20px}.lock-clock svg{max-height:32dvh}.lock-content #unlock{padding-top:10px;padding-bottom:0}}

.crop-dialog canvas{height:auto;max-height:none}.self .contact-card{background:#ededf0}

.lock-clock text{font-size:360px;font-weight:300}

.reader-page{overflow:hidden}.reader-page #reader{height:100dvh;overflow:hidden}.reader-page #reader:has(.story-cover){overflow:auto}
/* Chat timing, replies and native-looking message cards. */
.message-context{display:grid;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #edf0f2}.message-context label{font-size:13px}.message-context input{margin-top:6px}.phone .message-body{display:flex;flex-direction:column;align-items:flex-start}.phone .self .message-body{align-items:flex-end}.phone .contact-card,.phone .self .contact-card{background:#fff!important;opacity:1;border:1px solid #e4e4e4;box-shadow:0 1px 1px #00000003;flex-shrink:0;isolation:isolate}.phone .contact-card-main{width:100%;background:#fff;padding:16px 14px;min-height:77px}.phone .contact-card-footer{width:100%;background:#fff;border-top:1px solid #ececec;color:#999}.phone .contact-card-main b{color:#242424}.phone .voice-message,.phone .self .voice-message{background:transparent;padding:0;width:auto;max-width:100%}.voice-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;width:var(--voice-width);min-width:90px;max-width:100%;height:45px;padding:9px 13px;background:#fff;border:0;border-radius:5px;color:#262626;position:relative;font-size:15px}.phone .self .voice-bar{background:#a9e776;flex-direction:row-reverse}.voice-bar:hover{background:#f7f7f7}.phone .self .voice-bar:hover{background:#9ddd69}.voice-waves{width:23px;height:23px;fill:currentColor;flex-shrink:0}.voice-waves path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.self .voice-waves{transform:rotate(180deg)}.voice-bar.is-playing .voice-waves path{animation:voice-pulse 1s infinite}.voice-bar.is-playing .voice-waves path:last-child{animation-delay:.25s}.voice-error{display:block;font-size:12px;color:#ad5353;margin-top:5px;max-width:200px}.voice-error:empty{display:none}.voice-message audio[hidden]{display:none!important}.message-quote{margin-top:7px;background:#e2e2e2;color:#777;padding:8px 10px;border-radius:4px;max-width:220px;font-size:12px;line-height:1.5;display:flex;gap:8px;align-items:flex-start;white-space:pre-wrap;overflow-wrap:anywhere;text-align:left}.message-quote img{width:36px;height:36px;object-fit:cover;flex-shrink:0}.message-quote>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.retracted-message{font-size:12px;color:#999;text-align:center;margin:15px 8px 23px;line-height:1.7}.timestamp{white-space:pre-wrap}.phone.moments .phone-content{padding:0 0 30px}.phone.moments>.statusbar{position:absolute;inset:0 0 auto;z-index:3;color:#fff;background:transparent;text-shadow:0 1px 3px #0003}.phone.moments>.phone-title{position:absolute;top:39px;left:0;right:0;z-index:3;color:#fff;border:0;padding:13px 18px;background:transparent}.phone.moments>.phone-title>b{opacity:0}.phone.moments>.phone-title>span{font-size:27px;line-height:24px}.moments-camera{width:23px;height:23px;fill:currentColor;flex-shrink:0}.moments-camera circle{fill:#6665}.moments-profile .profile-cover{aspect-ratio:10/9;height:auto;margin:0;overflow:visible;position:relative;background:linear-gradient(140deg,#466a79,#8dafb9)}.moments-profile .profile-cover>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.moments-identity{position:absolute;bottom:-21px;right:17px;display:flex;align-items:center;gap:14px;max-width:90%}.moments-identity>b{color:#fff;text-shadow:0 1px 3px #0005;font-size:19px;font-weight:600;align-self:flex-start;margin-top:10px;overflow-wrap:anywhere}.moments-identity .avatar{width:66px;height:66px;border:0;border-radius:8px;font-size:25px;background:#dce5e8}.moments-bio{padding:37px 18px 23px;margin:0;text-align:right;font-size:13px;color:#888;line-height:1.7;min-height:66px;white-space:pre-wrap}.phone.moments .post{margin:0;padding:18px 16px;border-top:1px solid #efefef;gap:11px}.phone.moments .post-avatar .avatar{width:37px;height:37px;border-radius:5px}.phone.moments.cover-scrolled>.statusbar,.phone.moments.cover-scrolled>.phone-title{background:#fafafa;color:#222;text-shadow:none}.phone.moments.cover-scrolled>.phone-title>b{opacity:1}.phone.social .profile-cover{aspect-ratio:3;height:auto}.phone.social .profile-info{text-align:left;padding:0 5px 18px}.phone.social .profile-info .avatar{width:64px;height:64px;border:3px solid #fff;border-radius:50%;margin:-28px 0 12px}.phone.social .profile-info>b{font-size:20px}.phone.social .profile-info p{margin:9px 0 0;line-height:1.6}.phone.social .post-avatar .avatar{border-radius:50%}
@keyframes voice-pulse{0%,25%{opacity:.2}65%,100%{opacity:1}}
@media(max-width:759px){.reader-phone.moments .phone-content{padding:0 0 65px}.reader-phone.moments>.phone-title{top:calc(39px + max(0px,env(safe-area-inset-top) - 15px))}.reader-phone .moments-identity .avatar{width:70px;height:70px}.reader-phone .moments-identity>b{font-size:21px}.reader-phone .message-quote{max-width:250px}.reader-phone .voice-message{width:auto}.reader-phone .voice-bar{height:46px}.reader-phone.moments .post{padding:19px 17px}}

/* Immersive reader: scoped so the authoring workspace is unchanged. */
.reader-page{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","PingFang SC","Helvetica Neue",Arial,sans-serif;background:#fff;color:#111;overscroll-behavior:none;-webkit-tap-highlight-color:transparent}.reader-page #reader{width:100%;height:100dvh;overflow:hidden}.reader-page .reader-shell{display:block;width:100%;height:100dvh;margin:0;padding:0;background:#ededed}.reader-page .reader-phone{width:100%;height:100dvh!important;max-height:none;min-height:0;border:0;border-radius:0;box-shadow:none;margin:0;overflow:hidden}.reader-page .reader-phone:after{display:none}.reader-page .reader-device,.reader-page .reader-navigation{display:none}.reader-page .phone-content{min-height:0;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-width:none;padding:14px 12px max(20px,env(safe-area-inset-bottom))}.reader-page ::-webkit-scrollbar{display:none}.reader-page .reader-a11y{position:absolute;left:-10000px;top:0}.reader-page .reader-a11y:focus-within{left:8px;top:8px;z-index:30;background:white;padding:6px}.reader-page .statusbar{height:calc(44px + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(22px,env(safe-area-inset-right)) 0 max(24px,env(safe-area-inset-left));font-size:15px;color:#111;align-items:center;background:#ededed}.reader-page .status-icons{gap:5px}.reader-page .signal-icon{width:17px;height:13px}.reader-page .wifi-icon{width:17px;height:14px}.reader-page .battery{width:24px;height:12px}.reader-page .battery>b{font-size:9px;line-height:12px}.reader-page .phone-title{height:44px;align-items:center;position:relative;padding:0 16px;border-bottom:1px solid #dedede80;background:#ededed}.reader-page .phone-title>b{position:absolute;left:50%;transform:translateX(-50%);max-width:75%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:17px;font-weight:600}.reader-page .phone-title>span:last-child{font-size:23px;letter-spacing:1px}.reader-page .native-back{padding:4px 0;background:transparent;border:0;width:26px;height:32px;display:grid;place-items:center}.reader-page .reader-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.reader-page .bubble-row{gap:10px;margin-bottom:16px}.reader-page .bubble-row>.avatar{height:40px;width:40px;border-radius:5px;font-size:17px}.reader-page .message-body{max-width:calc(100% - 100px);min-width:0}.reader-page .bubble{font-size:16px;line-height:1.45;padding:10px 12px;min-height:42px;border-radius:4px;max-width:100%;background:#fff;position:relative;color:#111}.reader-page .self .bubble,.reader-page .self .voice-bar{background:#95ec69}.reader-page .bubble:before,.reader-page .voice-bar:before{content:'';position:absolute;left:-5px;top:15px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:6px solid #fff}.reader-page .self .bubble:before,.reader-page .self .voice-bar:before{left:auto;right:-5px;border-right:0;border-left:6px solid #95ec69}.reader-page .sender{font-size:12px;color:#999;margin:0 0 4px;line-height:1.2}.reader-page .timestamp{color:#999;font-size:12px;margin:8px 0 18px}.reader-page .retracted-message,.reader-page .receipt-line{color:#999;font-size:12px;margin:18px 0;text-align:center}.reader-page .phone-input{padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:13px;min-height:56px;background:#f7f7f7;border-top:1px solid #ddd;flex-shrink:0}.reader-page .phone-input i{height:36px;border-radius:4px}.reader-page .phone-input .reader-icon{width:27px;height:27px}.reader-page .chat-media{max-width:min(230px,100%);padding:0;background:none}.reader-page .chat-media .image-grid{display:block;margin:0}.reader-page .chat-media .image-view{display:block;border:0;padding:0;border-radius:4px;overflow:hidden;background:transparent;aspect-ratio:auto}.reader-page .chat-media img{display:block;width:auto;max-width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:4px}.reader-page .voice-bar{height:42px;border-radius:4px;font-size:16px}.reader-page .voice-bar:hover{background:#fff}.reader-page .self .voice-bar:hover{background:#95ec69}.reader-page .voice-message{max-width:100%}.reader-page .message-quote{max-width:100%;font-size:12px;background:#e2e2e2}.reader-page .money-card{width:230px;max-width:100%;border-radius:4px;background:#f79d43;color:white}.reader-page .money-main{padding:15px 12px;min-height:78px}.reader-page .money-title{font-size:16px}.reader-page .money-detail{font-size:12px;color:#fff;opacity:.85}.reader-page .money-footer{font-size:11px;border-top:1px solid #ffffff35;color:#fff;padding:5px 12px}.reader-page .money-card.received{background:#f6c79c}.reader-page .contact-card{width:230px;max-width:100%;border-radius:4px}.reader-page .call-bubble{gap:9px;display:flex;align-items:center}.reader-page .call-mode{font-size:12px}.reader-page .narration{padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);background:#fff}.reader-page .text-page{color:#000;padding:64px 26px;max-width:760px;margin:auto}.reader-page .text{background:#fff}.reader-page .reader-phone.text>.statusbar{display:none}
/* Lock screen */
.reader-page .lockscreen{position:relative;height:100%;min-height:0;flex:1;background:#252a30;padding:0;touch-action:none;overflow:hidden;color:white}.reader-page .lock-wallpaper{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.reader-page .lock-status{position:relative;z-index:2;color:white;background:transparent}.reader-page .lock-content{position:relative;display:flex;align-items:center;flex-direction:column;padding:32px 16px calc(28px + env(safe-area-inset-bottom));width:100%;flex:1;min-height:0;text-shadow:none;outline:none}.reader-page .lock-clock{color:white;font-size:clamp(70px,23vw,108px);font-weight:200;letter-spacing:-5px;line-height:1.1;width:auto;max-width:none;margin:0;opacity:1;font-variant-numeric:tabular-nums}.reader-page .lock-date{color:white;font-size:19px;font-weight:400;margin:7px 0 0}.reader-page .lock-notification{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:20px;background:#f3f3f3bb;backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);color:#151515;margin-top:auto;margin-bottom:34px;box-shadow:none;text-align:left;min-height:72px}.reader-page .notification-app{width:38px;height:38px;border-radius:9px;background:#08bd60;display:grid;place-items:center;color:#fff;flex-shrink:0}.reader-page .notification-app .reader-icon{width:27px;height:27px}.reader-page .lock-notification>div{min-width:0;flex:1}.reader-page .notification-heading{display:flex;justify-content:space-between;align-items:center;font-size:13px}.reader-page .notification-heading small{font-size:11px;opacity:.55}.reader-page .lock-notification p{font-size:14px;line-height:1.4;margin:4px 0 0;overflow-wrap:anywhere}.reader-page .lock-tools{margin-top:auto;display:flex;justify-content:space-between;width:100%;padding:0 24px}.reader-page .lock-tools>span{width:48px;height:48px;border-radius:50%;background:#0005;backdrop-filter:blur(18px);display:grid;place-items:center}.reader-page .lock-content:has(.lock-notification) .lock-tools{margin-top:0}.reader-page .unlock-hint{font-size:12px;margin:18px 0 0;color:#fffc;font-weight:400}.reader-page .lock-home-bar{width:134px;height:5px;left:calc(50% - 67px);bottom:max(8px,env(safe-area-inset-bottom));background:#fff;border-radius:5px}.reader-page .pin-screen{background:#0004;padding-bottom:calc(32px + env(safe-area-inset-bottom));backdrop-filter:blur(20px)}.reader-page .pin-keypad button{background:#ffffff25;border:0}.reader-page .device-transition{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#252a30;color:white;border:0;border-radius:0;transform:none;padding:0;animation:none}.reader-page .transition-wallpaper{position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(16px) brightness(.6)}.reader-page .device-transition>div{position:relative;text-align:center;font-size:15px}.reader-page .transition-avatar{width:64px;height:64px;border-radius:13px;object-fit:cover}
/* Moments */
.reader-page .reader-phone.moments .phone-content{padding:0 0 max(24px,env(safe-area-inset-bottom))}.reader-page .reader-phone.moments>.statusbar{background:transparent;color:white;height:calc(44px + env(safe-area-inset-top))}.reader-page .reader-phone.moments>.phone-title{top:calc(44px + env(safe-area-inset-top));height:44px;padding:0 16px;background:transparent;color:white}.reader-page .reader-phone.moments.cover-scrolled>.statusbar,.reader-page .reader-phone.moments.cover-scrolled>.phone-title{background:#ededed;color:#111}.reader-page .moments-profile .profile-cover{aspect-ratio:10/9;background:#737e85}.reader-page .moments-identity .avatar{width:66px;height:66px;border-radius:6px}.reader-page .moments-identity>b{font-size:19px}.reader-page .moments-bio{font-size:12px;padding:34px 16px 22px}.reader-page .phone.moments .post{border:0;border-bottom:1px solid #eee;padding:18px 16px;gap:10px}.reader-page .phone.moments .post-avatar .avatar{width:40px;height:40px;border-radius:5px}.reader-page .post-body{min-width:0}.reader-page .post-name{font-size:15px;color:#576b95}.reader-page .post p{font-size:15px;line-height:1.55;margin:5px 0 9px}.reader-page .post-comments{background:#f3f3f3;color:#576b95;font-size:13px;padding:5px 8px;border-radius:2px}.reader-page .post-comments span{color:#222}.reader-page .post-comments b{font-weight:500}.reader-page .post-meta{font-size:11px;color:#999}.reader-page .like-line{border-color:#ddd}
/* Text-first social profile */
.reader-page .social>.statusbar,.reader-page .social-title{background:#fff}.reader-page .social .phone-content{padding:0 0 env(safe-area-inset-bottom)}.reader-page .x-cover{aspect-ratio:3;background:#cfd9de;width:100%;overflow:hidden}.reader-page .x-cover img{width:100%;height:100%;object-fit:cover}.reader-page .x-profile{padding:0 16px 18px}.reader-page .x-profile>.avatar{width:76px;height:76px;border:4px solid #fff;border-radius:50%;position:relative;margin-top:-38px;font-size:28px}.reader-page .x-profile h1{font-size:21px;font-weight:750;margin:9px 0 0;letter-spacing:0;display:flex;gap:6px;align-items:center}.reader-page .x-profile h1 .reader-icon{width:18px;height:18px}.reader-page .x-handle{color:#536471;font-size:14px;margin-top:2px}.reader-page .x-profile p{font-size:15px;line-height:1.45;white-space:pre-wrap;margin:14px 0}.reader-page .x-counts{display:flex;gap:20px;font-size:14px;color:#536471}.reader-page .x-counts b{color:#0f1419}.reader-page .x-tabs{display:flex;border-bottom:1px solid #eff3f4;position:sticky;top:0;background:#fffffff2;z-index:2}.reader-page .x-tabs button{flex:1;border:0;border-radius:0;background:none;font-size:14px;font-weight:600;color:#536471;padding:16px 2px;position:relative;white-space:nowrap}.reader-page .x-tabs .active{color:#0f1419}.reader-page .x-tabs .active:after{content:'';position:absolute;bottom:0;height:3px;border-radius:3px;background:#1d9bf0;width:34px;left:calc(50% - 17px)}.reader-page .tweet{display:flex;gap:10px;border-bottom:1px solid #eff3f4;padding:13px 16px}.reader-page .tweet[hidden],.reader-page [hidden]{display:none!important}.reader-page .tweet>.avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0}.reader-page .tweet-body{min-width:0;flex:1}.reader-page .tweet-byline{display:flex;gap:5px;align-items:baseline;font-size:14px;flex-wrap:wrap;line-height:1.3}.reader-page .tweet-byline>b{color:#0f1419}.reader-page .tweet-byline>span{color:#536471;font-size:12px}.reader-page .tweet-body>p{font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 10px}.reader-page .tweet .image-grid{border-radius:12px;overflow:hidden;gap:2px;grid-template-columns:repeat(2,minmax(0,1fr))}.reader-page .tweet .image-grid:has(> :only-child){grid-template-columns:1fr}.reader-page .tweet .image-view{padding:0;border:0;border-radius:0;aspect-ratio:auto}.reader-page .tweet .image-view img{max-height:360px;object-fit:cover}.reader-page .tweet-actions{display:flex;align-items:center;justify-content:space-between;color:#536471;margin-top:12px;font-size:11px;gap:8px}.reader-page .tweet-actions>span,.reader-page .tweet-actions>button{display:flex;align-items:center;gap:4px;padding:0;background:none;border:0;color:inherit;font-size:inherit}.reader-page .tweet-actions .reader-icon{width:17px;height:17px;stroke-width:1.5}.reader-page .tweet-replies{border-top:1px solid #eff3f4;margin-top:12px;font-size:14px;line-height:1.5}.reader-page .tweet-replies p{white-space:pre-wrap;overflow-wrap:anywhere}.reader-page .social-empty{padding:40px 20px;text-align:center;color:#536471}.reader-page .lightbox{inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;border-radius:0;background:#000;padding:0}.reader-page .lightbox::backdrop{background:#000}.reader-page .lightbox img{max-width:100%;max-height:100dvh;object-fit:contain}.reader-page .lightbox button{z-index:2;color:white;background:#0005;border:0}.reader-page .story-cover.end{background:#fff;color:#111}.reader-page .end h1{font-size:27px;line-height:1.5}.reader-page .end p{font-size:15px;line-height:2;color:#555}.reader-page .end .eyebrow{display:none}
@media(min-width:760px){.reader-page .phone-content{padding-left:max(16px,calc((100vw - 680px)/2));padding-right:max(16px,calc((100vw - 680px)/2))}.reader-page .reader-phone.moments .phone-content,.reader-page .social .phone-content{padding-left:max(0px,calc((100vw - 680px)/2));padding-right:max(0px,calc((100vw - 680px)/2))}.reader-page .lock-content{max-width:520px;margin:auto}.reader-page .lock-clock{font-size:110px}.reader-page .phone-input i{max-width:650px}.reader-page .phone-input{justify-content:center}}
@media(max-height:600px){.reader-page .lock-content{padding-top:12px}.reader-page .lock-clock{font-size:70px}.reader-page .lock-notification{margin-bottom:16px;padding:8px 12px}.reader-page .lock-tools>span{width:40px;height:40px}.reader-page .unlock-hint{margin-top:8px}.reader-page .pin-screen h2{font-size:18px}}
.reader-page .packet-icon{border:0!important;background:none}.reader-page .packet-icon .reader-icon{width:32px;height:37px;stroke-width:1.4}.reader-page .transfer-note{font-size:12px;line-height:1.5;margin-top:3px;color:#fff}.reader-page .reader-phone{touch-action:pan-y}.reader-page .lightbox{touch-action:pan-y}.reader-page .lockscreen{touch-action:none}
