:root{--paper: #f6f2e7;--ink: #283f36;--rule: #cfc8b6;--muted: #636e64;--gold: #bb955c;--serif: Georgia, "Songti SC", SimSun, "Noto Serif CJK SC", serif;font-family:Microsoft YaHei,PingFang SC,system-ui,sans-serif;color:var(--ink);background:var(--paper);font-variant-numeric:tabular-nums}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;height:100dvh;min-height:290px;display:flex;flex-direction:column}button,input,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{min-height:44px;cursor:pointer;border:0;background:none}button:disabled{opacity:.48;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #c08b45;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.94)}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.definitions{position:absolute;width:0;height:0;overflow:hidden}.mast,footer{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;padding:0 clamp(20px,4.2vw,76px);position:relative;z-index:2}.mast{height:68px;border-bottom:1px solid #d4cdbd}.brand,.head-actions,.head-actions button,.footer-left,.footer-right,.enter,.field-note,.interact,.paper-head,.clock,.eyebrow{display:flex;align-items:center}.brand{gap:12px;font:bold 20px var(--serif);letter-spacing:.14em}.brand-mark{background:var(--ink);color:var(--paper);border-radius:50% 50% 3px 3px;width:30px;height:34px;display:grid;place-items:center;border:2px solid var(--paper);outline:1px solid var(--ink)}.brand-mark svg{width:24px;height:27px;stroke-width:1.4}.head-actions{gap:16px}.head-actions button{gap:8px;font-size:12px;letter-spacing:.06em;padding:0 4px}.head-actions svg{width:18px;height:18px}.head-actions i,.footer-left i{height:16px;width:1px;background:var(--rule)}#view{flex:1;position:relative;isolation:isolate;min-height:0;overflow:hidden;background:#9eb7c1}#scene,.title-shade,.print-frame{position:absolute;inset:0;width:100%;height:100%}#scene{display:block;touch-action:none;outline:0}.title-shade{pointer-events:none;background:linear-gradient(90deg,rgba(18,45,42,.66),rgba(23,48,46,.33) 27%,transparent 58%),linear-gradient(0deg,rgba(18,42,42,.38),transparent 34%)}.print-frame{inset:13px;width:auto;height:auto;border:1px solid #fff5d742;pointer-events:none}.print-frame:before,.print-frame:after{content:"✦";position:absolute;color:#f7e9ca;font-size:13px;top:-8px}.print-frame:before{left:-6px}.print-frame:after{right:-6px}#cover{position:absolute;left:7.3%;top:50%;transform:translateY(-41%);color:#fff8df;pointer-events:none}#cover button{pointer-events:auto}.eyebrow{gap:13px;font:600 11px Georgia,serif;letter-spacing:.28em;color:#f6dfaa}.eyebrow i{display:block;width:36px;height:1px;background:#ddc48d}h1{font-family:var(--serif);font-weight:600;font-size:clamp(62px,6.3vw,108px);letter-spacing:.065em;line-height:1.25;margin:16px 0 13px;text-shadow:0 2px 22px #1a373629}#cover p{font:400 clamp(16px,1.4vw,22px) / 1.8 var(--serif);letter-spacing:.1em;margin:0 0 31px}.enter{gap:13px;border-radius:3px;background:#f5edcf;color:#2c4335;padding:0 22px;min-height:51px;font-size:15px;letter-spacing:.13em;box-shadow:0 4px 12px #17322b25}.enter svg{width:20px}.enter .arrow{margin-left:14px;width:18px}.enter:hover .arrow{transform:translate(3px)}.postmark{position:absolute;right:4.2%;bottom:5.3%;width:155px;height:auto;color:#fff2cd;opacity:.85;pointer-events:none;stroke:none;transform:rotate(-5deg)}footer{height:56px;font-size:12px;color:#5e6b60}.footer-left,.footer-right{gap:12px}.footer-left>b{font-family:var(--serif);color:var(--ink);font-size:14px;letter-spacing:.08em}.footer-left>span+span:before{content:"·";margin-right:12px;color:#9c967e}footer svg{width:17px;height:17px}.footer-left i{margin:0 3px}.playing .title-shade,.playing .postmark,.playing #cover,.playing .print-frame{display:none}.clock{position:absolute;left:50%;transform:translate(-50%);gap:9px}.clock b,.clock small{display:block}.clock b{font-size:13px}.clock small{font-size:10px;color:var(--muted);margin-top:2px}.ring{width:33px;height:33px;border-radius:50%;background:conic-gradient(var(--gold) var(--progress),#d9d5c7 0);display:grid;place-items:center}.ring svg{background:var(--paper);width:28px;height:28px;padding:5px;border-radius:50%}.field-note,.interact{position:absolute;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 3px 15px #152f3420;gap:9px;font-size:13px;white-space:nowrap;border-radius:4px;background:var(--paper);padding:10px 17px}.field-note svg{width:17px}.interact{background:var(--ink);color:#fff;padding:9px 18px}.interact kbd{display:grid;place-items:center;border:1px solid #d5caab;width:24px;height:24px;border-radius:3px}.touch,#stick{display:none}dialog{padding:0;border:1px solid #b5a780;border-radius:5px;width:min(475px,94vw);background:#faf4e5;color:var(--ink);box-shadow:0 14px 70px #112b2866;max-height:86dvh;overflow:auto;overscroll-behavior:contain}dialog::backdrop{background:#142f2b93}dialog[open]{animation:rise .18s ease-out}@keyframes rise{0%{transform:translateY(8px);opacity:0}}.paper-head{padding:15px 25px;border-bottom:1px solid #c6b793;gap:12px}.paper-head>svg{color:#8c7448}.paper-head h2{font:600 21px var(--serif);letter-spacing:.12em;margin:0}.close{margin-left:auto;width:44px;display:grid;place-items:center}.close svg{width:18px}.tabs{display:flex;margin:12px 26px 0;border-bottom:1px solid var(--rule)}.tabs button{flex:1;font-size:14px;color:#626c61}.tabs [aria-selected=true]{box-shadow:inset 0 -2px var(--ink);color:var(--ink);font-weight:700}dialog section,.help-content{padding:12px 27px 26px}h3{font:600 22px/1.5 var(--serif);margin:13px 0 15px}form label,legend{display:block;font-size:13px;font-weight:600;margin-bottom:7px}label small{font-weight:400;color:var(--muted)}textarea,input:not([type=radio]){border:1px solid #c9c2ad;border-radius:3px;background:#fffaf0;width:100%;padding:11px 13px;min-height:44px}textarea{resize:vertical;min-height:90px;max-height:23dvh;line-height:1.6}.subline{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#5e685b;margin:4px 0 17px}fieldset{border:0;padding:0;margin:18px 0}#swatches{display:flex;justify-content:space-between;gap:3px}#swatches label{position:relative;display:grid;justify-items:center;font-size:11px;font-weight:400;width:52px;min-height:49px;cursor:pointer;margin:0}#swatches input{position:absolute;opacity:0}#swatches i{width:26px;height:26px;border-radius:50%;background:var(--swatch);border:1px solid #7e795b57;display:grid;place-items:center;font-style:normal}#swatches input:checked+i{outline:1.5px solid var(--ink);outline-offset:2px}#swatches input:focus-visible+i{outline:3px solid #996528}.primary,.failure button{background:var(--ink);color:#fff7e4;border-radius:3px;padding:10px 20px}.primary{width:100%}#empty{font-size:13px;padding:0 0 12px}#empty button,.report,.help-content a{color:#76542c;text-decoration:underline}.card{border:1px solid #d8cfba;border-left:4px solid var(--strip);padding:12px 15px;margin:10px 0;background:#fffaf0;overflow-wrap:anywhere}.card p{white-space:pre-wrap;margin:0 0 9px;line-height:1.65;font:17px/1.65 var(--serif)}.card small{color:#60695d;font-size:11px}.card .report{float:right;font-size:11px;min-height:44px;margin-top:-17px}.highlight{animation:highlight 2s both}@keyframes highlight{0%,55%{background:#f8e7b4;outline:1px solid #b6965f}}.help-content h3{font-size:18px;margin-bottom:5px}.help-content p{font-size:14px;line-height:1.8;margin:4px 0 16px}.help-content a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}#toast{pointer-events:none;position:fixed;z-index:20;left:50%;bottom:72px;transform:translate(-50%);max-width:90vw;width:max-content;color:#fff8e7;background:#263e35;padding:12px 20px;border-radius:4px;opacity:0;transition:opacity .18s;font-size:14px}#toast.show{opacity:1}.failure{position:absolute;inset:0;display:grid;place-content:center;padding:22px;text-align:center;background:var(--paper)}@media(max-width:767px){.mast{height:57px;padding:0 19px}.brand{gap:9px;font-size:17px}.brand-mark{width:25px;height:29px}.brand-mark svg{width:20px}.head-actions{gap:3px}.head-actions button{width:44px;justify-content:center}.head-actions button span,.head-actions i{display:none}.head-actions svg{width:19px;height:19px}.desktop{display:none!important}.touch{display:inline}.title-shade{background:linear-gradient(0deg,#173934de 0%,#1b3b3866 35%,transparent 66%)}.print-frame{inset:9px}#cover{left:8%;top:auto;bottom:6.5%;transform:none}h1{font-size:clamp(50px,12.8vw,77px);margin:10px 0 7px}#cover p{font-size:15px;margin:0 0 20px}.eyebrow{font-size:9px;gap:8px}.eyebrow i{width:23px}.enter{min-height:45px;font-size:14px;padding:0 16px;gap:9px}.postmark{width:88px;bottom:6%;right:5%}footer{height:43px;padding:0 17px;font-size:10px;padding-bottom:env(safe-area-inset-bottom)}.footer-left{gap:6px}.footer-left>b,.footer-left>svg,.footer-left i{display:none}.footer-left>span+span:before{margin-right:6px}.footer-right{gap:5px}.footer-right svg{width:14px}.clock{gap:5px}.clock b{font-size:11px}.ring{width:28px;height:28px}.ring svg{width:24px;height:24px}.playing .brand>span:last-child{display:none}.field-note{bottom:auto;top:14px;font-size:12px;padding:6px 12px}#stick{display:grid;place-items:center;position:absolute;left:22px;bottom:26px;width:98px;height:98px;background:#f8f1d975;border:1px solid #f7efd5;border-radius:50%;touch-action:none}#stick span{width:41px;height:41px;background:#35584bc9;border:1px solid #ede1bf;border-radius:50%;pointer-events:none}.interact{bottom:40px;left:auto;right:22px;transform:none;border:1px solid #dbcdac;border-radius:50%;height:65px;width:65px;justify-content:center;padding:0}.interact kbd{display:none}dialog{margin:auto auto 0;width:100%;max-width:none;max-height:91dvh;border-radius:13px 13px 0 0;padding-bottom:env(safe-area-inset-bottom)}.paper-head{padding:7px 19px}dialog section,.help-content{padding:8px 21px 18px}.tabs{margin:5px 20px 0}#toast{bottom:64px;font-size:13px}}@media(max-height:520px)and (min-width:768px){.mast{height:48px}footer{height:40px}#cover{transform:translateY(-50%)}h1{font-size:52px}#cover p{margin-bottom:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}.admin{display:block;height:auto}.admin-paper{margin:clamp(24px,6vw,80px) auto;padding:24px;width:min(650px,95%);border-top:3px double #b6a478}.admin-paper h1{font-size:34px;text-shadow:none;margin:0 0 25px}.admin-paper .primary{margin-top:16px}.admin a{color:var(--ink);font-size:13px}.admin-bar{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--rule);margin-bottom:15px}.admin-bar b{margin-right:auto}.admin-bar button,.danger{text-decoration:underline}.danger{display:block;color:#96474c;font-size:12px}#records{margin-top:15px}.admin-paper #status{color:#8b423f;font-size:14px}.card p.folded{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.card .expand{font-size:12px;text-decoration:underline;margin-left:8px}.playing #toast{bottom:135px}body:not(.admin){background:#f3efe3}body:not(.admin,.playing) #view{margin:0 clamp(10px,1.45vw,26px);border:1px solid #c0b69d;border-radius:2px;box-shadow:0 3px 8px #463f2a1a}body:not(.admin,.playing) .mast{border:0}.mast .head-actions button{border-radius:4px}.mast .head-actions button:hover{background:#e7e3d6}.mast .head-actions button:focus-visible{outline-offset:0}#fullBtn{display:none}.playing #fullBtn:not([hidden]){display:inline-flex}.title-shade{background:linear-gradient(90deg,#132f32b8 0%,#1a35388a 26%,#233b3920 47%,transparent 64%),linear-gradient(0deg,#213e3b6b,transparent 28%)}.print-frame{inset:10px;border-color:#fff5dc57}.print-frame:before,.print-frame:after{content:"";width:20px;height:20px;top:-1px;border-top:2px solid #efdab0}.print-frame:before{left:-1px;border-left:2px solid #efdab0}.print-frame:after{right:-1px;border-right:2px solid #efdab0}#cover{left:5.8%;transform:translateY(-43%)}#cover h1{font-size:clamp(68px,5.8vw,104px);letter-spacing:.055em;margin:17px 0 9px;font-weight:600;line-height:1.23}#cover p{font-size:clamp(16px,1.25vw,21px);color:#fff7e7;margin-bottom:27px;letter-spacing:.055em}.eyebrow{gap:11px;color:#f1d8a6;font-size:10px;letter-spacing:.25em}.eyebrow i{width:44px;background:#e0c793aa}.letter-seal{display:grid;place-items:center;color:#ffe8c1;background:#91434b;width:29px;height:27px;border:1px solid #ddb09a;transform:rotate(-8deg);border-radius:38% 44% 42% 36%;outline:1px solid #713d43;outline-offset:1px}.letter-seal svg{width:15px;height:15px}.entry-actions{display:flex;align-items:center;gap:20px}.enter{background:#fff0cd;border:1px solid #fff5dc;box-shadow:0 3px 9px #12282048;min-height:49px}.aim{display:none;position:absolute;left:50%;top:50%;width:5px;height:5px;border-radius:50%;margin:-2.5px;background:#fff7e2;box-shadow:0 0 0 1px #30463ab3;pointer-events:none}.free-look .aim{display:block}.playing .field-note{background:#f8f2e5eb;border:1px solid #b9ad92}.playing .interact{border:1px solid #e7d6ad}.paper-head{background:#f1e9d5;border-bottom:1px solid #bdaf8d;position:sticky;top:0;z-index:1}.paper-head>svg{color:#8d4348}.tabs [aria-selected=true]{color:#883f45;box-shadow:inset 0 -2px #983f49}#message{line-height:1.85;background:repeating-linear-gradient(transparent 0 1.79em,#ccb68847 1.79em 1.85em) #fffbf1;background-position:0 11px}#message:focus,#author:focus{border-color:#897c58}.card{box-shadow:none;position:relative}#letter,#help{scrollbar-color:#ac9d7f #faf4e5;scrollbar-width:thin}::selection{background:#e8d6aa;color:#253c34}@media(max-width:767px){body:not(.admin,.playing) #view{margin:0 7px}.title-shade{background:linear-gradient(0deg,#163736f5,#193d3899 24%,transparent 55%)}#cover{left:6%;bottom:6%;transform:none}#cover h1{font-size:clamp(47px,12.6vw,76px);margin:10px 0 4px}#cover p{font-size:14px;margin-bottom:17px}.entry-actions{gap:12px}.postmark{right:3.5%;bottom:3.5%;width:75px}.letter-seal{width:23px;height:22px}.eyebrow{font-size:8px}.enter{min-height:44px}.playing .mast{padding:0 9px}.playing .clock{left:38%}.head-actions button{min-width:44px}.print-frame{inset:7px}.paper-head{border-radius:12px 12px 0 0}}@media(max-height:540px)and (min-width:768px){#cover{transform:translateY(-50%)}#cover h1{font-size:50px;margin:6px 0}#cover p{margin-bottom:10px}}
