*{box-sizing:border-box} :root{color-scheme:dark;font-family:"Microsoft YaHei UI","PingFang SC",sans-serif;font-synthesis:none;color:#d7e8df;background:#071c27;--ink:#3f4b42;--sea:#a4d8ca;--paper:#fff8e8}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-width:280px;min-height:100svh;overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait}button:focus-visible,a:focus-visible,article:focus-visible{outline:2px solid #bbddc4;outline-offset:7px}a{color:inherit;text-decoration:none}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.atmosphere{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1;background:radial-gradient(ellipse at 31% 61%,#17495966,transparent 47%),radial-gradient(ellipse at 90% 1%,#21485545,transparent 40%),linear-gradient(165deg,#091d2b,#092531 65%,#0c2c35)}.atmosphere::after{content:"";position:absolute;inset:0;opacity:.25;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E")}.aurora{position:absolute;width:800px;height:800px;border-radius:50%;background:radial-gradient(ellipse,#558c8522,transparent 65%);top:-380px;right:-160px;filter:blur(60px);transform:rotate(-30deg)}.moon{position:absolute;width:40px;height:40px;border-radius:50%;right:8%;top:18%;box-shadow:-7px 3px 0 -1px #c8d6c68c;rotate:-18deg;filter:drop-shadow(0 0 13px #e0e5c319)}.starfield{position:absolute;inset:0;background-image:radial-gradient(circle at 12% 21%,#d8d8bc88 0 1px,transparent 1.5px),radial-gradient(circle at 51% 17%,#d8d8bc77 0 .7px,transparent 1.2px),radial-gradient(circle at 71% 31%,#d8d8bc55 0 1px,transparent 1.5px),radial-gradient(circle at 85% 12%,#d8d8bc55 0 .6px,transparent 1px),radial-gradient(circle at 6% 64%,#d8d8bc66 0 .8px,transparent 1.2px),radial-gradient(circle at 93% 79%,#d8d8bc77 0 .7px,transparent 1px)}.ocean{position:absolute;bottom:-80px;height:250px;left:-25%;right:-25%;transform:rotate(-7deg);border-radius:50%;border-top:1px solid #83b2ab15;background:linear-gradient(#31576016,transparent);animation:tide 15s ease-in-out infinite alternate}.ocean i{position:absolute;inset:25px -40px 0;border-radius:50%;border-top:1px solid #8abbb71a;transform:rotate(3deg)}.ocean i:nth-child(2){inset:58px -60px 0;transform:rotate(6deg)}.ocean i:nth-child(3){inset:93px -100px 0;transform:rotate(-6deg)}.site-shell{max-width:1260px;padding:30px 56px 25px;margin:auto}.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid #d1e5d910}.brand{display:flex;align-items:center;gap:13px}.brand>.icon{width:27px;height:36px;stroke:#b4d6c5;stroke-width:1}.brand>span{font-family:"Songti SC","SimSun",serif;letter-spacing:4px;font-size:24px;display:block}.brand small{display:block;font:9px "Microsoft YaHei UI",sans-serif;letter-spacing:3px;color:#87a4a5;margin-top:5px}.header-actions{display:flex;align-items:center;gap:24px}.icon-button,.favorites-button{border:0;background:transparent;color:#abc4be;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 1px;font-size:11px;min-width:38px;min-height:42px}.icon-button:hover,.favorites-button:hover{color:#e7eee1}.sound-label{font-size:10px}.favorites-button .icon{width:17px;height:17px}.count{font:10px Georgia,serif;color:#9db9af;display:grid;place-items:center;width:18px;height:18px;border:1px solid #98b7ac26;border-radius:50%}.experience{display:grid;grid-template-columns:1.12fr 1fr;gap:45px;align-items:center;min-height:690px;position:relative}.bottle-side{position:relative;min-width:0;padding-bottom:25px}.scene-eyebrow{display:flex;gap:9px;justify-content:center;align-items:center;color:#9cb9b5;font-size:10px;letter-spacing:2px;margin:27px 0 -10px;position:relative;z-index:2}.scene-eyebrow span{height:3px;width:3px;background:#b6caac;border-radius:50%;box-shadow:0 0 8px #b6caac}.bottle-stage{height:480px;position:relative;margin:0 -35px;isolation:isolate}.bottle-halo{position:absolute;width:70%;height:60%;border-radius:50%;left:15%;top:27%;background:radial-gradient(ellipse,#72b5a01a,transparent 69%);filter:blur(20px);pointer-events:none}.bottle-button{position:absolute;inset:0;display:block;border:0;padding:0;background:transparent;width:100%;height:100%;color:inherit;touch-action:pan-y;z-index:3;cursor:grab}.bottle-button:active{cursor:grabbing}.bottle-button:disabled{cursor:wait}.bottle-button:focus-visible{outline-offset:-20px;border-radius:40%}.scene{width:100%;height:100%;position:relative}.scene canvas{display:block;width:100%;height:100%}.scene-loading{position:absolute;top:47%;left:0;right:0;text-align:center;color:#9bb9ae;font-size:10px;letter-spacing:2px}.scene-loading span{display:block;margin:0 auto 20px;width:28px;height:28px;border-radius:50%;border:1px solid #b8d1bb22;border-top-color:#b8d1bb;animation:spin 1.5s linear infinite}.water-ring{position:absolute;bottom:14px;width:57%;left:21.5%;height:41px;border-radius:50%;border:1px solid #a9d7bc13;pointer-events:none;z-index:1;box-shadow:0 0 22px #a8d9c909,inset 0 0 22px #a8d9c906}.ring-b{bottom:2px;width:75%;left:12.5%;height:62px;border-color:#a9d7bc0a}.draw-area{position:relative;z-index:5;text-align:center;margin-top:-7px}.status{font-size:11px;letter-spacing:1.5px;color:#a9c1b7;min-height:20px;margin:0 0 17px}.draw-button{display:flex;align-items:center;justify-content:center;gap:14px;background:linear-gradient(135deg,#e0e9ce,#bbd7c4);color:#274c48;border:1px solid #f3f6db66;border-radius:6px;min-width:245px;max-width:100%;height:51px;margin:0 auto;font-size:13px;letter-spacing:3px;box-shadow:0 0 24px #b3dec315,0 7px 28px #0003;transition:transform .2s,box-shadow .3s}.draw-button>.icon{width:15px;height:15px}.draw-button .arrow{margin-left:14px}.draw-button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 0 35px #b3dec32b,0 10px 28px #0003}.draw-button:disabled{background:linear-gradient(135deg,#b2c8b4,#9bbdb0);opacity:.8}.interaction-hint{color:#6f9491;font-size:9px;letter-spacing:1px;margin:15px 0 0}.reading-side{min-width:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;perspective:1500px;padding:28px 0 35px;min-height:510px}.waiting{text-align:left;align-self:stretch;padding:35px 0 35px 24px}.waiting-mark{font-size:29px;color:#b5c4a67a;margin:0 0 24px}.waiting-kicker{font-size:10px;letter-spacing:4px;color:#a8bbb1;margin:0 0 23px}.waiting h1{font-family:"Songti SC","SimSun",serif;font-weight:400;letter-spacing:3px;font-size:40px;line-height:1.7;color:#e4e8d9;margin:0 0 22px}.waiting-copy{font-family:"Songti SC","SimSun",serif;line-height:2.2;font-size:15px;letter-spacing:1px;color:#90ada6;margin:0}.waiting-line{display:block;width:31px;height:1px;background:#9cbca04d;margin:33px 0 20px}.waiting-bottom{font-size:10px;letter-spacing:1px;color:#779a92}.letter{position:relative;width:100%;max-width:420px;min-height:350px;padding:30px 31px 25px;background:#fff8e8;color:var(--ink);border:1px solid #c6bfa570;border-radius:2px 7px 3px 2px;box-shadow:0 28px 70px #010c1970,2px 3px 0 #ddd6bc44,0 0 65px #dce7ab08;transform:rotate(-1.2deg);transform-style:preserve-3d;cursor:pointer;isolation:isolate}.letter::after{content:"";position:absolute;bottom:-4px;height:5px;left:0;right:0;background:linear-gradient(135deg,#fff8e8 25%,transparent 25%) -5px 0/9px 8px,linear-gradient(225deg,#fff8e8 25%,transparent 25%) -5px 0/9px 8px;z-index:-1}.paper-grain{position:absolute;inset:0;opacity:.33;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.13' filter='url(%23n)'/%3E%3C/svg%3E");pointer-events:none}.fold-crease{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 49.6%,#8b80520c 49.9%,#fffef766 50.1%,transparent 50.5%),linear-gradient(0deg,transparent 32.9%,#8b80520c 33.1%,#fffef788 33.3%,transparent 33.7%,transparent 66.3%,#8b80520b 66.5%,#fffef788 66.7%,transparent 67%)}.letter-top{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#9c957b;margin-bottom:29px}.letter-top .icon{width:15px;height:15px;stroke:#a99e76}.quote-mark{font-family:Georgia,serif;font-size:49px;line-height:35px;color:#b5ad8e88;display:block;margin-left:-3px}blockquote{font-family:"Songti SC","SimSun",serif;font-weight:400;font-size:21px;line-height:1.95;letter-spacing:.6px;white-space:pre-line;overflow-wrap:anywhere;margin:6px 0 26px}blockquote.long{font-size:18px;line-height:1.9;letter-spacing:.4px}.letter-source{padding-top:19px;border-top:1px solid #b9af8c36}.letter-source a{display:inline-flex;align-items:center;gap:7px;max-width:100%;font-size:10px;line-height:1.8;color:#8c886e}.letter-source a:hover{color:#4b725b}.letter-source a .icon{width:12px;height:12px}.letter-source p{font-size:9px;color:#a09a83;line-height:1.8;margin:6px 0 0;overflow-wrap:anywhere}.letter-actions{margin-top:19px;display:flex;align-items:center;justify-content:space-between;gap:10px}.paper-action{background:transparent;border:0;color:#7f846a;display:inline-flex;align-items:center;gap:7px;font-size:10px;min-height:37px;padding:6px 0}.paper-action .icon{width:15px;height:15px}.paper-action:hover{color:#3f6b52}.paper-action[aria-pressed=true]{color:#8d6a4f}.paper-action[aria-pressed=true] .icon{fill:#b08b5933;stroke:#9b7858}.paper-action:focus-visible,.letter a:focus-visible,.letter:focus-visible{outline-color:#4d7961}.letter-hint{font-size:9px;letter-spacing:1px;color:#6d9690;text-align:center;margin:23px 0 0}.fold-top,.fold-bottom{display:none;position:absolute;left:0;right:0;background:linear-gradient(145deg,#fff8e8,#e2d9bd);z-index:4;backface-visibility:visible;box-shadow:0 10px 22px #5a4a2026;pointer-events:none}.fold-top{top:0;height:33.4%;transform-origin:bottom}.fold-bottom{bottom:0;height:33.4%;transform-origin:top}.letter.unfolding{animation:letter-flight 1.45s cubic-bezier(.18,.72,.26,1) both}.unfolding .fold-top{display:block;animation:unfold-top 1.1s .25s ease-in-out both}.unfolding .fold-bottom{display:block;animation:unfold-bottom 1.1s .25s ease-in-out both}.unfolding .letter-content{animation:ink-reveal 1.3s .15s both}.letter.leaving{pointer-events:none;opacity:0;transform:rotate(2deg) translateY(-14px);transition:opacity .28s,transform .28s}.site-footer{padding-top:24px;border-top:1px solid #d1e5d910;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1px;color:#648983;gap:20px;line-height:1.8}.site-footer button{background:transparent;color:#86a39a;border:0;font-size:9px;padding:9px 0;letter-spacing:.5px}.site-footer button span{margin-left:5px}.dialog{width:min(520px,calc(100vw - 32px));max-height:80svh;padding:28px;border:1px solid #b2d2b02b;border-radius:13px;background:#102d36;color:#dbe6d7;box-shadow:0 24px 100px #0008}.dialog::backdrop{background:#04141edb;backdrop-filter:blur(9px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog h2{font:400 25px "Songti SC","SimSun",serif;letter-spacing:3px;margin:7px 0}.dialog-kicker{font-size:9px;color:#92b3a3;letter-spacing:2px}.dialog-note{font-size:11px;color:#93ada1;line-height:1.8;margin:15px 0 23px}.favorites-list{display:grid;gap:14px}.saved-item{background:#173b40;border:1px solid #c6d9bc19;padding:18px;border-radius:4px}.saved-item p{font:15px/1.9 "Songti SC","SimSun",serif;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 12px}.saved-meta{font-size:9px;color:#9eb6a5;margin-bottom:10px;line-height:1.8;overflow-wrap:anywhere}.saved-controls{display:flex;gap:20px}.saved-controls button{font-size:10px;padding:8px 0;background:transparent;border:0;color:#bfccb4}.empty{text-align:center;padding:35px 10px}.empty .icon{width:30px;height:30px;color:#8da68d;margin-bottom:13px}.empty p{font:17px "Songti SC","SimSun",serif;color:#c5d3c0}.empty small{font-size:11px;line-height:1.8;color:#8aa697}.about-dialog>p{font-size:12px;line-height:2;color:#b5c9ba}.about-dialog a{text-decoration:underline;text-underline-offset:4px;color:#d0d9b8}.dialog textarea{font:16px/1.9 "Songti SC","SimSun",serif;background:#193c41;border:1px solid #a9c3a844;width:100%;min-height:220px;padding:15px;color:#e3e8d2;border-radius:4px;resize:vertical}.toast{position:fixed;bottom:35px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;padding:13px 23px;background:#e2e7d4;color:#315247;box-shadow:0 5px 30px #0005;font-size:12px;max-width:calc(100vw - 30px);width:max-content;border-radius:7px;z-index:20;transition:opacity .25s,transform .25s}.toast.visible{opacity:1;transform:translate(-50%,0)}.noscript{text-align:center;color:#e4d7b0;padding:20px}.fallback{position:absolute;width:190px;height:310px;left:50%;top:90px;transform:translateX(-50%);pointer-events:none}.fallback-neck{position:absolute;top:0;height:90px;width:58px;left:66px;border:2px solid #b9e2cb77;border-radius:8px;background:linear-gradient(90deg,#d1eddb3d,#51998c11,#d1eddb3d)}.fallback-glass{position:absolute;bottom:0;width:190px;height:240px;border:2px solid #b9e2cb77;border-radius:50px 50px 26px 26px;background:linear-gradient(90deg,#d1eddb3d,#51998c11,#d1eddb3d);overflow:hidden;box-shadow:inset 8px 0 8px #e5f7e026,0 0 30px #b8dbc510}.fallback-glass i{position:absolute;width:24px;height:27px;background:linear-gradient(135deg,#fff7dc,#c6c4a7);border-radius:30% 45% 33% 40%;box-shadow:inset 4px 3px 4px #fff7,inset -4px -3px 5px #9d947b88}.fallback.active{animation:fallback-shake 1s infinite}.glow-burst .bottle-halo{background:radial-gradient(ellipse,#a7df9f48,transparent 69%);transition:background .5s}.glow-burst .water-ring{animation:ripple 1.5s ease-out both}
@keyframes tide{to{transform:rotate(-3deg) translateY(10px)}}@keyframes spin{to{rotate:360deg}}@keyframes ripple{from{scale:.7;opacity:.9}to{scale:1.6;opacity:0}}@keyframes fallback-shake{0%,100%{rotate:0deg}30%{rotate:-4deg}70%{rotate:4deg}}@keyframes letter-flight{0%{transform:translate(var(--from-x,0),var(--from-y,0)) scale(.08,.13) rotate(23deg);filter:brightness(1.15);opacity:.2}20%{opacity:1}52%{transform:translate(0,-13px) scale(.58,.36) rotate(-4deg);filter:brightness(.98)}100%{transform:translate(0,0) scale(1) rotate(-1.2deg);filter:brightness(1);opacity:1}}@keyframes unfold-top{0%,26%{transform:rotateX(-175deg);opacity:1}90%{transform:rotateX(0deg);opacity:1}100%{transform:rotateX(0);opacity:0}}@keyframes unfold-bottom{0%,20%{transform:rotateX(175deg);opacity:1}90%{transform:rotateX(0deg);opacity:1}100%{transform:rotateX(0);opacity:0}}@keyframes ink-reveal{0%,45%{opacity:0}100%{opacity:1}}
@media(min-width:1500px){.site-shell{padding-top:40px}.experience{min-height:760px}.bottle-stage{height:540px}.waiting h1{font-size:44px}.letter{padding:35px 35px 27px}}
@media(max-width:1000px) and (min-width:701px){.site-shell{padding:26px 30px}.experience{gap:22px;min-height:660px;grid-template-columns:1fr 1fr}.bottle-stage{height:440px;margin:0 -24px}.letter{padding:27px 24px 20px}.waiting{padding-left:12px}.waiting h1{font-size:33px}.scene-eyebrow{font-size:9px;letter-spacing:1px}blockquote{font-size:19px}blockquote.long{font-size:17px}.draw-button{min-width:210px}.letter-top{margin-bottom:22px}}
@media(max-width:700px){.site-shell{padding:20px 22px max(20px,env(safe-area-inset-bottom))}.site-header{padding-bottom:18px;gap:10px}.brand{gap:9px}.brand>span{font-size:21px;letter-spacing:3px}.brand>.icon{width:22px;height:31px}.brand small{font-size:8px;letter-spacing:2px}.header-actions{gap:16px}.sound-label{display:none}.favorites-button{font-size:10px;gap:5px}.favorites-button>.icon{width:16px;height:16px}.count{width:15px;height:15px;font-size:9px}.experience{display:flex;flex-direction:column;gap:0;min-height:0;align-items:stretch;isolation:isolate}.bottle-side{padding:0 0 30px}.scene-eyebrow{margin:25px 0 -8px;font-size:9px;letter-spacing:1.5px}.bottle-stage{height:430px;margin:0 -22px}.draw-area{margin-top:-9px}.draw-button{height:50px;min-width:245px}.status{font-size:10px;margin-bottom:14px}.interaction-hint{font-size:9px}.reading-side{min-height:0;padding:0;position:relative;z-index:8}.waiting{padding:25px 0 30px;align-self:center;text-align:center}.waiting-mark,.waiting-kicker,.waiting-line,.waiting-bottom{display:none}.waiting h1{font-size:25px;line-height:1.6;margin:0 0 13px;letter-spacing:2px}.waiting h1 br{display:none}.waiting-copy{font-size:12px;line-height:2;letter-spacing:.8px}.waiting-copy br{display:none}.site-footer{font-size:8px;padding-top:17px;margin-top:16px;letter-spacing:.3px;gap:14px}.site-footer button{font-size:8px;white-space:nowrap}.letter{width:100%;max-width:420px;padding:28px 26px 20px;min-height:360px;box-shadow:0 20px 65px #0007,0 0 80px #c7d9ab0e}.letter-top{margin-bottom:23px}.letter blockquote{font-size:21px;line-height:1.95;letter-spacing:.5px}.letter blockquote.long{font-size:18px;line-height:1.9}.letter-hint{font-size:9px;margin-top:22px}.moon{width:26px;height:26px;top:14%;right:11%;box-shadow:-5px 2px 0 -1px #c8d6c655}.ocean{bottom:100px}.dialog{padding:24px 22px}.dialog h2{font-size:23px}
 body[data-state=unfolding] .bottle-side,body[data-state=reading] .bottle-side{padding-bottom:29px}
 body[data-state=unfolding] .reading-side,body[data-state=reading] .reading-side{position:absolute;top:100px;left:0;right:0}
 body[data-state=unfolding] .bottle-button,body[data-state=reading] .bottle-button{opacity:.24;filter:blur(2px);transition:opacity .7s,filter .7s}
 body[data-state=unfolding] .bottle-halo,body[data-state=reading] .bottle-halo{opacity:.5}
 body[data-state=unfolding] .draw-area,body[data-state=reading] .draw-area{padding-top:var(--reading-extra,55px)}
 body[data-state=unfolding] .draw-area .status,body[data-state=reading] .draw-area .status{opacity:0}
 body[data-state=reading] .interaction-hint{opacity:.6}
 body[data-state=mixing] .reading-side,body[data-state=extracting] .reading-side{position:absolute;top:100px;left:0;right:0;pointer-events:none}
 body[data-state=mixing] .waiting,body[data-state=extracting] .waiting{display:none}
}
@media(max-width:360px){.site-shell{padding-left:17px;padding-right:17px}.header-actions{gap:10px}.brand>span{font-size:19px}.bottle-stage{height:390px;margin:0 -17px}.scene-eyebrow{font-size:8px}.letter{padding:25px 22px 18px}.letter blockquote{font-size:19px}.letter blockquote.long{font-size:17px;line-height:1.85}.letter-top{font-size:8px}.letter-source a{font-size:9px}.site-footer{font-size:7px}.site-footer button{font-size:7px}.waiting h1{font-size:22px}.favorites-button{font-size:9px}.letter-actions{gap:7px}.paper-action{font-size:9px}}
.letter-actions{display:flex;justify-content:flex-end;gap:12px}
.letter-actions .paper-action{justify-content:center;padding:8px 3px;min-width:0;white-space:nowrap;border-radius:5px}
.letter-actions .export-action{background:#b4bf9914;border:1px solid #a0ac8540}
.paper-action:disabled{opacity:.55;cursor:wait}
.icon-button,.favorites-button,.paper-action,.saved-controls button,.site-footer button{min-height:44px}
.about-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:38px;padding:8px 0;color:#abc4be;border:0;background:transparent;font-size:11px;white-space:nowrap}.about-button:hover{color:#e7eee1}
#waiting .waiting-copy{max-width:18em;font-size:22px;line-height:1.9;color:#b2c8bd;letter-spacing:1.3px;margin:0;text-wrap:pretty}
.intro-line{display:block}.intro-pause{font-size:.8em;letter-spacing:1.5px;color:#90afa6;margin:20px 0 9px 24px}.intro-ending{color:#c8d8c7;letter-spacing:1.1px}.intro-emphasis{color:#e0e4cb;border-bottom:1px solid #d6dfbb44;padding-bottom:5px}
@media(max-width:1000px) and (min-width:701px){#waiting .waiting-copy{font-size:19px}}
@media(max-width:700px){#waiting{padding:28px 6px 20px}#waiting .waiting-copy{font-size:19px;line-height:1.85;max-width:22em}.intro-pause{margin:13px 0 6px;font-size:.82em}.intro-emphasis{padding-bottom:3px}.about-button{font-size:10px}}
.brand>span{letter-spacing:8px;font-size:28px}.brand small{letter-spacing:2px}
@media(max-width:700px){.brand>span{font-size:25px;letter-spacing:7px}.brand small{font-size:8px;letter-spacing:1px}}
/* A folded sheet settles first; the two flaps then open, followed by the ink. */
.letter.unfolding{animation:paper-arrive var(--unfold-duration,1.15s) cubic-bezier(.2,.7,.25,1) both}
.unfolding .fold-top{animation:paper-top var(--unfold-duration,1.15s) ease-in-out both}
.unfolding .fold-bottom{animation:paper-bottom var(--unfold-duration,1.15s) ease-in-out both}
.unfolding .letter-content{animation:paper-ink var(--unfold-duration,1.15s) ease both}
@keyframes paper-arrive{0%{transform:translate(var(--from-x,0),var(--from-y,0)) scale(.12,.18) rotate(-8deg);opacity:.9}28%{transform:translate(0,-8px) scale(.76,.38) rotate(-3deg)}57%{transform:scale(.97,.76) rotate(-1.8deg)}100%{transform:scale(1) rotate(-1.2deg);opacity:1}}
@keyframes paper-top{0%,25%{transform:rotateX(-175deg);opacity:1}69%{transform:rotateX(0);opacity:1}80%,100%{transform:rotateX(0);opacity:0}}
@keyframes paper-bottom{0%,43%{transform:rotateX(175deg);opacity:1}85%{transform:rotateX(0);opacity:1}94%,100%{transform:rotateX(0);opacity:0}}
@keyframes paper-ink{0%,65%{opacity:0}100%{opacity:1}}
#quote{white-space:normal}#quote p{white-space:pre-line;margin:0}#quote p+p{margin-top:.58em}
.library-tabs{display:flex;gap:7px;border-bottom:1px solid #a9c8af24;margin-top:20px}
.library-tabs button{background:transparent;border:0;border-bottom:2px solid transparent;min-height:46px;padding:9px 17px;color:#8da99e;font-size:12px}
.library-tabs button[aria-selected=true]{color:#e1e8cf;border-bottom-color:#c0d3af}
.library-tabs span{font-size:10px;margin-left:5px;color:#a4bca5}.read-time{font-size:10px;color:#8eaa9e;margin-left:auto;align-self:center}
.saved-controls{align-items:center}
.like-visual{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;isolation:isolate}
.like-visual>.icon{width:18px;height:18px;position:relative;z-index:1;transform-origin:center}
.like-burst{position:fixed;width:100px;height:100px;margin:-50px 0 0 -50px;z-index:40;pointer-events:none;overflow:visible;contain:layout style}
.like-bloom{position:absolute;left:50%;top:50%;width:34px;height:34px;box-sizing:border-box;border:4px solid #eb6a96;border-radius:50%;opacity:0}
.like-spark{position:absolute;left:50%;top:50%;border-radius:50%;opacity:0;will-change:transform,opacity}
#likeButton[aria-pressed=true]{color:#d65278}#likeButton[aria-pressed=true] .like-visual>.icon{fill:#df5c80;stroke:#df5c80}
.letter-bundle{display:contents}.mobile-draw-dock{display:none}
@media(max-width:700px){
 body[data-state=unfolding] .reading-side,body[data-state=reading] .reading-side,body[data-state=mixing] .reading-side,body[data-state=extracting] .reading-side{top:22px}
 body[data-state=unfolding] .draw-area .status,body[data-state=reading] .draw-area .status{height:0;min-height:0;margin:0;overflow:hidden}
 .letter{padding:20px 24px 14px;min-height:320px}
 .letter .quote-mark{font-size:38px;line-height:26px}
 .letter blockquote{margin:5px 0 18px;line-height:1.8}
 .letter blockquote.long{font-size:18px;line-height:1.68;letter-spacing:.3px}
 .letter blockquote.poem{font-size:18px;line-height:1.62;letter-spacing:.3px}
 #quote.poem p+p{margin-top:.38em}
 .letter-top{margin-bottom:12px}.letter-source{padding-top:12px}
 .letter-hint{margin-top:12px}
 .letter-actions{margin:8px 0 0 auto;gap:4px;width:max-content;max-width:100%}
 .letter-actions .paper-action{padding:0;width:44px;min-width:44px;height:44px;min-height:44px;gap:0;border-radius:50%;color:#8b8c75}
 .letter-actions .action-label{display:none}
 .letter-actions .paper-action>.icon,.letter-actions .like-visual,.letter-actions .like-visual>.icon{width:18px;height:18px}
 .letter-actions .export-action{background:transparent;border:0}
 .letter-actions .paper-action:active{background:#b1b58c20}
 html.mobile-reader-open,html.mobile-reader-open body{overflow:hidden;overscroll-behavior:none}
 body[data-mobile-reader] .reading-side{position:fixed;top:var(--reader-top,95px);left:0;right:0;bottom:auto;height:calc(100dvh - var(--reader-top,95px) - var(--reader-reserve,88px));min-height:0;padding:12px 22px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#abc4aa3d transparent;z-index:8}
 body[data-mobile-reader] .letter-bundle{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;width:100%;margin-block:auto;padding:0}
 body[data-mobile-reader] .letter{flex:none}
 body[data-mobile-reader] .letter-hint{flex:none}
 body[data-state=unfolding][data-mobile-reader] .letter-hint{visibility:hidden}
 body[data-mobile-reader] .draw-area{padding-top:0!important}
 body[data-mobile-reader] .mobile-draw-dock{position:fixed;left:0;right:0;bottom:0;z-index:14;display:flex;justify-content:center;padding:12px 22px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#09232dd9 55%)}
 .mobile-draw-dock .draw-button{width:min(320px,100%);min-width:0;margin:0;height:50px}
 body[data-mobile-reader] .toast{bottom:calc(93px + env(safe-area-inset-bottom))}
}
@media(max-width:360px){.letter blockquote.long,.letter blockquote.poem{font-size:17px;line-height:1.62}#waiting .waiting-copy{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.bottle-button{filter:none!important}.letter.unfolding{transform:rotate(-1.2deg)!important}.unfolding .letter-content{opacity:1}.unfolding .fold-top,.unfolding .fold-bottom{display:none}}
