:root{font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#252525;background:#f3f3f3;font-synthesis:none;font-size:14px;-webkit-font-smoothing:antialiased;--accent: #69afc5;--accent-hover: #5599b0;--accent-soft: #eef6f8;--line: #e8e8e8;--gray: #888}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{border:0;background:none;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.45;cursor:not-allowed}input,textarea,select{min-width:0;outline:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}input:focus,textarea:focus{outline-color:var(--accent)}a{color:inherit}p,h1,h2,h3{margin:0}img{display:block;max-width:100%}svg{flex-shrink:0}button{transition:background .15s,opacity .15s}.mobile-app{max-width:430px;min-height:100dvh;margin:0 auto;background:#fff;position:relative;box-shadow:0 0 0 1px #e0e0e0}.app-nav{height:58px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;background:#fff;position:relative;z-index:5;border-bottom:1px solid #f2f2f2}.app-title{font-size:18px;font-weight:600;letter-spacing:.5px}.app-nav strong{font-size:16px;font-weight:500}.help-button{font-size:12px;color:#888;padding:7px 0 7px 10px}.app-nav>button{display:flex;align-items:center;padding:7px 0;min-width:27px}.app-nav .nav-action{color:var(--accent);font-size:15px;min-width:35px}.nav-spacer{width:24px}.primary,.secondary{min-height:46px;padding:12px 18px;border-radius:6px;font-size:15px;font-weight:500;display:inline-flex;justify-content:center;align-items:center;gap:9px;background:#f3f3f3;color:#252525;border:1px solid #e5e5e5}.primary{background:var(--accent);color:#fff;border-color:transparent}.primary:hover{background:var(--accent-hover)}.secondary{border:1px solid #e3e3e3;background:#fff;color:#252525}.full{width:100%}.plain{color:#888;font-size:13px;padding:13px}.home-page{background:#fff}.home-content{min-height:100dvh;padding:0 0 calc(66px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;background:#fff}.home-postcard{width:100%;height:auto;aspect-ratio:828 / 1190;object-fit:contain;flex-shrink:0}.home-actions{width:100%;flex:1;display:flex;flex-direction:column;align-items:center;padding:min(9.9034vw,42.5845px) 0 min(9.4203vw,40.5072px)}.scan-cta{width:75.7%;min-height:44px;height:min(11.8vw,50.74px);padding:0 18px;border-radius:999px;font-size:16px;font-weight:500;letter-spacing:1px;background:var(--accent)}.scene{position:relative;width:100%;aspect-ratio:1.3469;overflow:hidden;background:#e8e8e8}.reference-scene>img{position:absolute;top:-26.53%;left:0;width:100%;max-width:none}.custom-scene>img{width:100%;height:100%;object-fit:cover}.bottom-tabs{height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);position:fixed;bottom:0;width:100%;max-width:430px;display:flex;background:#fff;border-top:1px solid #efefef;z-index:10;box-shadow:0 -3px 15px #30303003}.bottom-tabs button{flex:1;color:#888;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.bottom-tabs button.active{color:var(--accent)}.bottom-tabs button svg{stroke-width:1.6}.library-content{padding:17px 16px 105px;min-height:calc(100dvh - 58px)}.segmented{display:flex;gap:29px;margin-bottom:20px;border-bottom:1px solid #eaeaea}.segmented button{padding:8px 2px 13px;color:#888;font-size:14px;position:relative}.segmented button.active{color:var(--accent);font-weight:500}.segmented button.active:after{content:"";height:2px;background:var(--accent);bottom:-1px;left:2px;right:2px;position:absolute}.card-list{display:flex;flex-direction:column;gap:12px}.library-row{background:#fff;padding:16px 13px;display:flex;gap:13px;border-radius:7px}.card-thumbnail{width:67px;height:78px;flex-shrink:0;background:#f3f3f3;border-radius:4px;display:grid;place-items:center;color:#888;overflow:hidden;padding:0}.card-thumbnail img{width:100%;height:100%;object-fit:cover}.card-row-info{min-width:0;flex:1}.card-row-info>strong{font-size:14px;font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.8}.card-row-info p{font-size:10px;color:#888;margin-top:2px}.card-row-info>div{display:flex;align-items:center;gap:15px;margin-top:13px}.card-row-info>div button{color:#888;font-size:11px;padding:0}.status{font-size:9px;padding:2px 5px;border-radius:3px;background:#f3f3f3;color:#888;margin-right:auto}.status.published{background:#f3f3f3;color:#252525}.library-add{margin:21px auto 0;display:flex;width:100%;font-size:13px}.empty{min-height:290px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px;color:#888;padding:40px 25px;text-align:center}.empty .primary{font-size:13px}.loading{height:250px;display:flex;align-items:center;justify-content:center;gap:9px;color:#888;font-size:13px}.edit-content{padding:0 0 108px}.cover-upload{width:100%;height:220px;background:#eee;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#888;position:relative;overflow:hidden;cursor:pointer}.cover-upload strong{font-size:15px;font-weight:400}.cover-upload small{font-size:10px;color:#888}.cover-upload.has-cover{height:280px}.cover-upload>img{width:100%;height:100%;object-fit:cover}.cover-upload>span{position:absolute;right:14px;bottom:13px;background:#0007;color:#fff;font-size:11px;padding:6px 10px;border-radius:5px}.cover-upload input,.media-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%;height:100%}.remove-cover{display:block;width:100%;padding:10px}.form-group{margin-top:12px;background:#fff;padding:0 20px}.form-row{display:flex;align-items:center;min-height:54px;border-bottom:1px solid #f1f1f1;gap:12px}.form-row>span{font-size:14px;width:70px;flex-shrink:0}.form-row>input,.form-row>select{border:0;background:transparent;flex:1;width:100%;font-size:14px;padding:15px 0;color:#252525}.form-row input::placeholder{color:#888}.form-row select{text-align:right;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.message-field{display:block;position:relative;padding:16px 0 23px}.message-field textarea{width:100%;resize:vertical;border:0;font-size:15px;line-height:1.9;min-height:155px;color:#252525}.message-field textarea::placeholder{color:#888}.message-field small{position:absolute;bottom:11px;right:0;font-size:10px;color:#888}.form-group h2{font-size:14px;font-weight:500;padding-top:18px}.media-group{padding-bottom:15px}.record-section{display:flex;flex-direction:column;align-items:center;padding:24px 0 20px}.record-circle{width:65px;height:65px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;box-shadow:0 0 0 7px var(--accent-soft);margin:0 0 18px}.record-circle.recording{background:var(--accent-hover);box-shadow:0 0 0 7px #dceef3}.record-section strong{font-size:13px;font-weight:500}.record-section p{font-size:10px;color:#888;margin-top:7px}.media-upload{display:flex;justify-content:center;align-items:center;gap:8px;min-height:42px;border:1px solid #e1e1e1;background:var(--accent-soft);color:var(--accent-hover);border-radius:5px;font-size:12px;position:relative;margin-top:16px;cursor:pointer}.file-limit{font-size:10px;text-align:center;color:#888;margin-top:11px}.selected-media{padding:12px 18px}.media-item{padding:8px 0 15px}.media-item+.media-item{border-top:1px solid #eee}.media-item-info{display:flex;align-items:center;gap:7px;color:#888;font-size:11px;padding-bottom:10px}.media-item-info>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1}.icon-button{display:grid;place-items:center;padding:4px}.media-item audio,.media-item video{width:100%;max-height:300px}.media-item>img{max-height:220px;margin:auto;object-fit:contain}.style-group{padding-bottom:18px}.style-picker{display:flex;gap:16px;margin-top:17px}.style-picker button{flex:1;padding:0;display:flex;flex-direction:column;gap:9px;text-align:center;font-size:11px;color:#888;align-items:center}.style-thumb{height:93px;width:100%;border:2px solid transparent;border-radius:4px;background:#f2f2f2;position:relative;overflow:hidden;padding:9px 8px;display:flex;flex-direction:column;gap:7px}.style-picker .selected .style-thumb{border-color:var(--accent)}.style-picker .selected{color:var(--accent)}.style-thumb i{display:block;height:35px;background:#d2d2d2;width:100%}.style-thumb b,.style-thumb em{display:block;height:3px;background:#ddd;width:75%;border-radius:2px}.style-thumb em{width:50%}.style-paper{background:#fafafa}.style-paper i{height:3px;margin:9px 0;background:#ddd;width:45%}.style-paper b{box-shadow:0 9px #e6e6e6,0 18px #e6e6e6;width:100%;height:2px}.style-paper em{display:none}.style-starry{background:#2b2b2b}.style-starry i{background:#838383}.style-starry b,.style-starry em{background:#707070}.setting-hint{font-size:10px;color:#888;margin-top:16px;line-height:1.8}.setting-row{min-height:57px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f1f1}.setting-row:last-child{border:0}.setting-row>span{display:flex;gap:10px;align-items:center;font-size:14px}.setting-row svg{color:#888;stroke-width:1.5}.toggle{width:42px;height:24px;padding:3px;border-radius:20px;background:#e6e6e6;transition:background .2s}.toggle i{display:block;background:#fff;width:18px;height:18px;border-radius:50%;box-shadow:0 1px 2px #0001;transition:transform .2s}.toggle.on{background:var(--accent)}.toggle.on i{transform:translate(18px)}.setting-detail{display:block;padding:0 0 15px}.setting-detail input{width:100%;padding:12px;background:#f3f3f3;border:0;border-radius:4px;font-size:13px}.card-id{font-size:10px;text-align:center;color:#888;margin-top:20px}.editor-bottom,.preview-bottom{position:fixed;bottom:0;max-width:430px;width:100%;background:#fffffff5;border-top:1px solid #ebebeb;padding:12px 18px max(12px,env(safe-area-inset-bottom));z-index:8;display:flex;gap:10px}.preview-bottom .secondary{flex:1}.preview-bottom .primary{flex:2}.sheet-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:#0005;z-index:30;display:flex;align-items:flex-end;justify-content:center}.sheet{max-width:430px;width:100%;max-height:90dvh;overflow:auto;background:#fff;border-radius:15px 15px 0 0;padding:11px 24px max(25px,env(safe-area-inset-bottom));position:relative;animation:slideUp .2s ease-out}.sheet-handle{width:32px;height:4px;border-radius:2px;background:#dcdcdc;margin:0 auto 21px}.sheet-close{position:absolute;top:21px;right:16px;color:#888;padding:6px}.sheet h2{font-size:19px;font-weight:600;margin-bottom:18px;line-height:1.5;padding-right:20px}.type-list{margin-top:12px}.type-list>button{display:flex;align-items:center;width:100%;gap:17px;text-align:left;padding:18px 0;border-bottom:1px solid #f0f0f0}.type-list>button:last-child{border:0}.type-list>button>svg:first-child{color:#888;stroke-width:1.5}.type-list>button>svg:last-child{margin-left:auto;color:#888}.type-list strong{font-weight:500;font-size:15px}.type-list small{display:block;color:#888;font-size:11px;margin-top:5px}.help-text{font-size:13px;line-height:1.9;color:#888;display:flex;flex-direction:column;gap:16px;margin:15px 0 25px}.code-form label{font-size:12px;color:#888;display:block}.code-form input{width:100%;height:46px;border:1px solid #e6e6e6;border-radius:5px;padding:10px;font-size:14px;margin:10px 0 17px}.camera-area{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;width:100%;background:#f3f3f3;border-radius:6px;height:175px;margin-bottom:22px;color:#888}.camera-area span{font-size:12px}.scanner-video{width:100%;max-height:270px;margin:15px 0}.done-icon{display:grid;place-items:center;margin:25px auto 21px;background:#f3f3f3;color:var(--accent);border-radius:50%;width:60px;height:60px}.done-icon+h2{text-align:center;padding:0;margin-bottom:11px}.sheet-description{font-size:12px;color:#888;text-align:center;line-height:1.8;margin-bottom:28px}.sheet .secondary.full{margin-top:10px;font-size:14px}.toast{position:fixed;left:50%;bottom:105px;transform:translate(-50%);max-width:calc(100% - 35px);padding:12px 18px;background:#303030;color:#fff;font-size:12px;line-height:1.6;border-radius:7px;z-index:50;text-align:center;box-shadow:0 4px 18px #0001}.spin{animation:spin 1s linear infinite}.reader-page{min-height:100dvh;background:#fff;padding-bottom:22px}.reader-page.dark-reader{background:#222;color:#f3f3f3}.dark-reader .app-nav{background:#222;color:#f3f3f3;border-color:#333}.empty-scene{background:#e9e9e9;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:17px}.empty-scene>span:first-child{font-size:26px;font-weight:500;color:#252525}.empty-scene>span:last-child{font-size:12px;color:#888}.photo-cover{height:660px;max-height:calc(100dvh - 95px);min-height:510px;position:relative;margin:0 0 5px;overflow:hidden;background:#4c4c4c}.photo-cover .scene{height:100%;aspect-ratio:auto;position:absolute;top:0;right:0;bottom:0;left:0}.photo-cover .reference-scene>img{height:auto;width:180%;max-width:none;left:-36%;top:-35%}.photo-cover .empty-scene{background:#ababab}.photo-cover-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(transparent 26%,#20202033 55%,#191919cf)}.cover-text{position:absolute;bottom:46px;left:30px;right:30px;color:#fff}.cover-text p{font-size:12px;opacity:.75;letter-spacing:.5px;margin-bottom:15px}.cover-text h1{font-size:30px;font-weight:500;line-height:1.7;max-width:285px;letter-spacing:1px;overflow-wrap:anywhere}.open-photo{border:1px solid #ffffff90;background:#ffffff15;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;width:150px;border-radius:4px;min-height:44px;padding:10px 15px;margin-top:26px;font-size:14px}.card-content{animation:fadeIn .4s ease;background:#fff}.reading-body{padding:27px 25px 33px}.reading-heading h1{font-size:23px;font-weight:500;line-height:1.6;letter-spacing:.4px;overflow-wrap:anywhere}.reading-heading>p{font-size:13px;color:#888;margin-top:11px}.reading-message{white-space:pre-wrap;font-size:16px;line-height:2.05;letter-spacing:.1px;margin:27px 0;overflow-wrap:anywhere}.reading-signature{display:flex;flex-direction:column;align-items:flex-end;gap:9px;margin-top:40px}.reading-signature strong{font-size:14px;font-weight:500}.reading-signature time{font-size:11px;color:#888}.reading-media{margin-top:23px}.reading-media>img,.reading-media>video{width:100%;border-radius:2px}.reading-media>video{max-height:420px;background:#171717}.voice-player{margin:24px 0;background:var(--accent-soft);border-radius:7px;padding:14px 16px}.voice-top{font-size:10px;color:#888;display:flex;align-items:center;gap:6px;margin-bottom:12px}.voice-control{display:flex;align-items:center;gap:14px}.voice-play{width:43px;height:43px;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;flex-shrink:0}.voice-play>svg{stroke-width:1}.voice-progress{flex:1;min-width:0}.voice-progress input{width:100%;height:3px;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:2px;margin:11px 0 10px;display:block;background:linear-gradient(to right,var(--accent) var(--played),#d8e9ee var(--played));cursor:pointer}.voice-progress input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--accent);width:8px;height:8px;border-radius:50%}.voice-progress input::-moz-range-thumb{border:0;background:var(--accent);width:8px;height:8px;border-radius:50%}.voice-progress>div{display:flex;justify-content:space-between;color:#888;font-size:10px}.voice-player>audio{display:none}.form-error{font-size:12px!important;color:#888!important;margin-top:10px!important;line-height:1.7}.paper-card{background:#fbfbfb;margin:15px 15px 0;border:1px solid #ececec}.paper-card>.scene{margin:20px 20px 0;width:calc(100% - 40px);aspect-ratio:1.5}.paper-card .reading-body{padding:22px 24px 32px}.paper-card .reading-heading h1{font-family:Songti SC,serif;font-size:26px}.paper-card .reading-message{font-family:Songti SC,serif;font-size:17px;line-height:2.25}.dark-card{background:#222;color:#f3f3f3}.dark-card .voice-player{background:var(--accent-soft);color:#252525}.dark-card .voice-play{background:var(--accent);color:#fff}.dark-card .voice-top,.dark-card .reading-heading p{color:#888}.reading-end{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:18px 25px 0;margin-top:13px;border-top:1px solid #efefef;color:#888}.reading-end button{color:#888}.dark-reader .reading-end{border-color:#3d3d3d;color:#888}.preview-bottom{bottom:0;left:50%;transform:translate(-50%)}.reader-page:has(.preview-bottom){padding-bottom:95px}.locked-card{padding:75px 30px 40px;min-height:calc(100dvh - 170px);text-align:center}.locked-card>svg{color:#888;margin:auto}.locked-card h1{font-size:21px;line-height:1.6;font-weight:500;margin:26px 0 14px}.locked-card>p{color:#888;font-size:13px;line-height:1.9;margin-bottom:30px}.locked-card form input{width:100%;background:#f3f3f3;border:1px solid #e8e8e8;border-radius:5px;height:48px;padding:12px;text-align:center;margin-bottom:15px}.locked-card form .form-error{margin-bottom:15px}.fold-stage{padding:37px 27px 0;background:#f2f2f2;min-height:570px;overflow:hidden}.fold-book{position:relative;height:460px;perspective:1000px;background:#cacaca;border-radius:3px;box-shadow:0 7px 22px #28282813;transition:transform .6s cubic-bezier(.4,0,1,1)}.fold-inside{position:absolute;top:0;right:0;bottom:0;left:0;padding:15px;background:#fdfdfd;transition:transform .6s cubic-bezier(.4,0,1,1)}.fold-inside h1{font-size:20px;margin:25px 10px 15px;line-height:1.7}.fold-inside>span{font-size:12px;margin-left:10px;color:#888}.fold-left,.fold-right{position:absolute;top:0;height:100%;background:#ddd;transition:transform .5s;backface-visibility:hidden;transform-style:preserve-3d}.fold-left{width:70%;left:0;transform-origin:0 50%;z-index:3;box-shadow:4px 0 8px #41414112;padding:37px 23px}.fold-right{width:40%;right:0;transform-origin:100% 50%;z-index:2;background:#d5d5d5}.fold-to{font-size:13px;color:#888}.fold-left h1{font-family:Songti SC,serif;font-size:27px;color:#252525;font-weight:500;line-height:1.9;margin-top:38px;letter-spacing:3px;overflow-wrap:anywhere}.fold-line{width:34px;height:1px;background:#acacac;margin:25px 0 19px}.fold-left p{font-size:12px;color:#888}.fold-seal{position:absolute;bottom:48px;left:70%;transform:translate(-50%);width:56px;height:56px;border-radius:50%;border:4px solid #e9e9e9;background:#fbfbfb;font-family:Songti SC,serif;font-size:24px;color:#888;z-index:4;transition:opacity .4s}.fold-book.opening{transform:translateY(12px)}.fold-book.opening .fold-left{transform:rotateY(-140deg)}.fold-book.opening .fold-right{transform:rotateY(140deg)}.fold-book.opening .fold-inside{transform:translateY(-35px)}.fold-book.opening .fold-seal{opacity:0}.cover-tip{text-align:center;color:#888;font-size:11px;margin-top:27px;padding-bottom:20px}@media(max-width:430px){:root{background:#fff}.mobile-app{box-shadow:none}.sheet-scrim{background:#0005}.photo-cover{height:calc(100dvh - 160px);max-height:680px}.photo-cover .reference-scene>img{width:190%;left:-43%;top:-36%}.fold-stage{padding:28px 24px 0}.fold-book{height:450px}}@media(min-width:700px){.mobile-app{margin-top:22px;margin-bottom:22px;min-height:calc(100dvh - 44px);border-radius:9px 9px 0 0;overflow:hidden}.app-nav{height:59px}.home-content{min-height:calc(100dvh - 44px)}.home-page{--home-frame-width: min(430px, calc((100dvh - 44px) * 828 / 1560));--home-tabs-height: max(44px, calc(var(--home-frame-width) * 112 / 828));width:var(--home-frame-width)}.home-page .home-content{padding-bottom:calc(var(--home-tabs-height) + env(safe-area-inset-bottom))}.home-page .home-actions{padding-top:calc(var(--home-frame-width) * 82 / 828);padding-bottom:calc(var(--home-frame-width) * 78 / 828)}.home-page .scan-cta{min-height:40px;height:calc(var(--home-frame-width) * 98 / 828)}.home-page .bottom-tabs{max-width:var(--home-frame-width);height:calc(var(--home-tabs-height) + env(safe-area-inset-bottom));bottom:22px}.sheet-scrim{align-items:center}.sheet{border-radius:12px;max-height:85vh;padding-bottom:24px}.editor-bottom,.bottom-tabs{left:50%;transform:translate(-50%)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slideUp{0%{transform:translateY(25px);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes fadeIn{0%{opacity:.2;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.reference-scene>svg{width:100%;height:100%;display:block;position:absolute;top:0;right:0;bottom:0;left:0}
