:root{color-scheme:light;--paper:#f5f1e7;--white:#fffdf6;--ink:#193e38;--quiet:#52665c;--line:#cbcfc0;--mint:#c7e9d9;--red:#ab412c;--ser:"Noto Serif SC", "Songti SC","STSong","Noto Serif CJK SC","Noto Serif SC","Source Han Serif SC",Baskerville,Georgia,serif;--ui:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;--cinema:url('cinema.jpg');--cafe:url('cafe.jpg');--path:url('path.jpg');--cloud:url('field.jpg')}
*{box-sizing:border-box}html{background:#e6e9dc;color:var(--ink)}body{margin:0;font:16px/1.5 var(--ui);-webkit-text-size-adjust:100%}main{margin:0 auto;max-width:620px;min-height:100svh;padding:0 clamp(17px,5vw,34px) max(30px,env(safe-area-inset-bottom));background:var(--paper);position:relative;isolation:isolate;box-shadow:0 0 75px #2848390e}header,nav,.row,.shelfline,.editorHead,.postmeta{display:flex;align-items:center}header{justify-content:space-between;padding-top:max(8px,env(safe-area-inset-top));padding-bottom:9px;border-bottom:1px solid var(--line)}nav{gap:5px}.brand{font:italic 700 39px/.95 Georgia,serif;letter-spacing:-3px}.brand span{color:var(--red)}button,input,textarea{font:inherit}button{appearance:none;cursor:pointer;color:inherit;min-height:44px;border:0;background:transparent;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #b04a31;outline-offset:3px}button:disabled{opacity:.5}.subtle{padding:7px 9px}#log,#lang{font-size:14px;font-weight:600}#lang{min-width:42px;text-decoration:underline;text-decoration-color:#aab5a6;text-underline-offset:4px}.tag{margin:25px 0 7px;color:var(--red);font-size:13px;letter-spacing:.07em;font-weight:700}h1{font:650 clamp(30px,8vw,43px)/1.19 var(--ser);letter-spacing:-.04em;margin:0 0 23px;text-wrap:balance;overflow-wrap:anywhere}html[lang=en] h1{font-family:Newsreader,Baskerville,Georgia,serif;font-weight:600;letter-spacing:-.045em}h1 .line{display:block}h1 em{font-style:normal;color:var(--red)}
p{margin:0}.tiny,.note,.ticket footer{font-size:14px;color:var(--quiet)}.tiny{margin:10px 0 14px}.words{white-space:pre-wrap;overflow-wrap:anywhere;font-weight:600}.ticket{background:var(--white);border:1px solid #c9cdbd;border-radius:5px;box-shadow:0 4px 0 -2px #d7d8c8,0 9px 15px -14px #273a2d80;padding:19px;margin:13px 0 17px;position:relative}.ticket .words{font:600 22px/1.5 var(--ser);margin:4px 0 16px}.ticket>.note{margin-bottom:8px}.shelfline{justify-content:space-between;gap:10px;font-size:14px;color:var(--quiet);margin:2px 0 12px}.shelfline strong{font-variant-numeric:tabular-nums;color:var(--ink);letter-spacing:.05em}
.stamps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:clamp(5px,2vw,12px);margin:0 -1px 14px}.stampChoice{padding:0;text-align:left;position:relative;width:100%;cursor:pointer;line-height:1.25;user-select:none}.plate{display:block;position:relative;margin:0 3px 9px;background:var(--white);padding:5px;filter:drop-shadow(0 2px 2px #203e352c);transform:rotate(var(--r,0deg));transition:transform .24s cubic-bezier(.2,.9,.25,1.3)}.plate:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 3px 0,var(--paper) 1.8px,transparent 2.1px) top left/6px 4px repeat-x,radial-gradient(circle at 3px 100%,var(--paper) 1.8px,transparent 2.1px) bottom left/6px 4px repeat-x,radial-gradient(circle at 0 3px,var(--paper) 1.8px,transparent 2.1px) top left/4px 6px repeat-y,radial-gradient(circle at 100% 3px,var(--paper) 1.8px,transparent 2.1px) top right/4px 6px repeat-y}
.art{display:block;background-color:#b4d5c3;background-size:cover;background-position:center 57%}.stampChoice .art{height:clamp(100px,31vw,160px)}.cinema{background-image:var(--cinema);--r:-2deg}.cafe{background-image:var(--cafe);--r:1.7deg}.path{background-image:var(--path);--r:-1deg}.ownArt{background:linear-gradient(145deg,#0d4548ad,#29344196),var(--cloud) center 48%/cover}
.stampChoice:nth-child(3n+1){--r:-2deg}.stampChoice:nth-child(3n+2){--r:1.7deg}.stampChoice:nth-child(3n){--r:-1deg}.stampTitle,.stampDesc{display:block;overflow-wrap:anywhere}.stampTitle{font-weight:750;font-size:clamp(15px,4.3vw,19px);letter-spacing:-.02em}.stampDesc{font-size:13px;line-height:1.45;color:var(--quiet);margin-top:3px}.mark{position:absolute;right:7px;bottom:7px;width:25px;height:25px;border:1px solid #fff9e1;background:#fff9e1e8;color:var(--ink);border-radius:50%;display:grid;place-content:center;font:600 18px/1 var(--ui);box-shadow:0 1px 4px #1b2e2852}.stampChoice.on .mark,.smallChoice.on .tick{background:var(--red);border-color:var(--red);color:#fff9ec}.stampChoice.on .plate{transform:rotate(-1deg) translateY(-3px);outline:2px solid var(--red);outline-offset:1px}.stampChoice:active .plate{transform:scale(.94) rotate(-2deg)}.pickedNow .mark{animation:ink .33s cubic-bezier(.23,1.2,.43,1)}@keyframes ink{0%{transform:scale(1.38) rotate(-15deg)}55%{transform:scale(.88)}}
.smallChoice,.ticket .card{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border-top:1px dashed var(--line);padding:10px 0;overflow-wrap:anywhere}.tick{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;border:1px solid #98a397}.smallArt{display:block;flex:0 0 39px;height:46px;border:2px solid #f9f8e9;box-shadow:0 0 0 1px var(--line)}.smallChoice .tick{margin-left:auto}.smallChoice.on{font-weight:650}
details{margin:2px 0}summary{cursor:pointer;display:flex;align-items:center;gap:8px;list-style:none;min-height:44px;font-size:14px;color:var(--quiet)}summary::-webkit-details-marker{display:none}summary:before{content:"+";font:20px/1 Georgia;color:var(--quiet);width:14px}details[open]>summary:before{content:"−"}.addOwn{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.addOwn summary{color:var(--ink);font-weight:600}.row{gap:8px}.row input{flex:1;min-width:0}.row .subtle{border:1px solid var(--line);border-radius:7px;align-self:stretch}.list{max-height:245px;overflow:auto}.list>div{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line)}.list button{flex:1;text-align:left}.list a,a{color:inherit}.list a{font-size:13px}
label{display:block;font-weight:600;font-size:15px}input,textarea{width:100%;border:1px solid #9aa99e;color:var(--ink);background:#fffdf7;border-radius:6px;padding:10px 12px;min-height:45px;font-size:16px}textarea{display:block;margin:7px 0 15px;min-height:75px;resize:vertical}.row{padding:4px 0 12px}#day{margin:8px 0}input[type=checkbox]{width:19px;min-height:0;height:19px;vertical-align:middle;accent-color:var(--ink)}
.pair{display:flex;gap:4px;padding:4px;background:#e5e7da;border-radius:11px;margin:16px 0 9px}.pair button{flex:1;line-height:1.2;border-radius:8px;font-size:15px}.pair button[aria-pressed=true]{background:var(--white);color:var(--ink);font-weight:750;box-shadow:0 1px 4px #4357432e}.primary,.alt{display:block;width:100%;padding:13px 15px;min-height:50px;border-radius:9px;font-weight:675;margin:10px 0}.primary{background:var(--ink);color:#fffaf0;box-shadow:0 3px 0 #0c2d26}.primary:active,.alt:active{transform:translateY(2px)}.alt{border:1px solid var(--line);background:transparent}.sheet{border-top:1px solid var(--line);margin-top:12px}.msg{color:var(--red);font-size:14px}.msg:not(:empty){margin:10px 0}.seal{display:inline-flex;font-size:13px;color:var(--red);border:1px solid currentColor;padding:3px 9px;transform:rotate(-3deg);font-weight:bold;border-radius:4px;margin:3px 0 10px}
.postcard{padding:0;overflow:hidden}.air{height:5px;background:repeating-linear-gradient(125deg,#af5139 0 10px,transparent 10px 20px,#477e72 20px 30px,transparent 30px 40px)}.postbody{padding:19px}.postmeta{align-items:flex-start;justify-content:space-between;gap:13px;margin-bottom:12px}.postmeta .sender{align-self:center}.sender{font:600 21px/1.25 var(--ser);color:var(--ink)}.miniPrint{flex:0 0 55px;height:62px;border:4px solid #fffdf0;box-shadow:0 0 0 1px #bac0a9;transform:rotate(5deg)}.postLines{font:550 19px/1.6 var(--ser);padding:6px 0;border-bottom:1px solid var(--line)}.letterReason{font:600 clamp(23px,6.3vw,33px)/1.4 var(--ser);margin:9px 0 22px;color:var(--ink);overflow-wrap:anywhere;white-space:pre-wrap}.fold{height:42px;position:relative;overflow:hidden;background:linear-gradient(25deg,#deead9 49%,transparent 50%) left/50% 100% no-repeat,linear-gradient(-25deg,#e5eddc 49%,transparent 50%) right/50% 100% no-repeat;transform-origin:bottom;animation:fold .42s ease-out}.fold:before{content:"";width:18px;height:18px;position:absolute;left:calc(50% - 9px);bottom:3px;background:#a94530;border-radius:50%;box-shadow:inset 0 0 0 3px #bd6046}.hiddenGuess{display:flex;align-items:center;gap:8px;padding:10px 12px;border-left:2px solid #749e90;background:#e6efdf;font-size:14px;color:#315b50;margin:10px 0}.hiddenGuess:before{content:"✦";color:#427d6b}@keyframes fold{from{transform:scaleY(.08)}}
main:is([data-stage=reveal],[data-stage=old],[data-stage=shared],[data-stage=history]){color:#f6f2de;--ink:#193e38;--quiet:#c5d4c8;--line:#97b3a64a;background:linear-gradient(180deg,#071d22a8 0%,#12313390 26%,#0f292bec 63%,#102a2b 100%),var(--cloud) center top/cover,#112e30}
main:is([data-stage=reveal],[data-stage=old],[data-stage=shared],[data-stage=history]) .tag{color:#b6dbc4}
.receipt{color:#193e38;--line:#c6cdbd;--quiet:#4d665a}.receipt .postbody{padding:20px}.receipt .words{font:650 clamp(23px,6.8vw,34px)/1.48 var(--ser);margin:9px 0 17px}.receipt .note{font-weight:650}.guesses{border-top:1px dashed var(--line);padding-top:12px;display:grid;gap:13px}.guesses .words{font:500 16px/1.55 var(--ui);margin:3px 0 0}.stampStar{display:inline-grid;width:48px;height:49px;place-items:center;align-self:center;color:#f2d39a;background:#30594d;border:3px double #ffdcae;outline:1px solid #345e50;transform:rotate(7deg);font:31px Georgia;box-shadow:0 1px 8px #344d4426}.receipt .postmeta{align-items:center}.lightstrip{height:62px;position:relative;display:grid;place-items:center}.lightstrip:after{content:"✦";font:52px/.9 Georgia;color:#ffedb7;text-shadow:0 0 15px #f3df97,0 0 48px #f4daa3;animation:star .48s cubic-bezier(.2,.7,.3,1)}@keyframes star{from{opacity:0;transform:scale(.2) rotate(-30deg)}}main:is([data-stage=reveal],[data-stage=old],[data-stage=shared],[data-stage=history]) .primary{background:#c9e4cd;color:#193e38;box-shadow:0 3px 0 #799e8e}.sky{height:190px;position:relative}.skyPoint{position:absolute;transform:translate(-50%,-50%);width:48px;color:#fff0b8;background:radial-gradient(closest-side,#e8eaaf63,transparent);font:32px Georgia}.ticket .card{color:var(--ink)}#notice{overflow-wrap:anywhere}#shareout{overflow-wrap:anywhere}main[data-stage=list] #play>details:last-child>summary{font-size:13px}
@media(min-width:600px){.tag{margin-top:35px}.stamps{gap:17px}.stampChoice .art{height:178px}}
@media(max-width:355px){.stamps{gap:4px}.plate{margin-left:1px;margin-right:1px}.stampDesc{font-size:12px}.postbody{padding:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.guesses>div{animation:unseal .38s ease-out both;transform-origin:top}.guesses>div:nth-child(2){animation-delay:.09s}@keyframes unseal{from{opacity:.2;transform:translateY(5px) rotateX(-12deg)}}
@media(hover:hover) and (pointer:fine){.stampChoice:hover .plate{transform:translateY(-4px) rotate(0)}.primary:hover{filter:brightness(1.1)}}
@media(prefers-reduced-motion:reduce){.guesses>div{animation:none}}
[hidden]{display:none!important}html[lang=en]{--ser:Newsreader,Georgia,serif}.stamps{row-gap:18px}.textArt{--shade:#cce1cf;background:var(--shade);position:relative;color:#19493e;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:inset 0 0 0 4px #ffffff32}.tone1{--shade:#f3cbb1;color:#753b2b}.tone2{--shade:#e6d9ab;color:#4b563b}.textArt b{font:650 clamp(21px,6vw,35px)/1 var(--ser);text-align:center;word-break:break-all;padding:5px}.textArt i{position:absolute;bottom:6px;right:4px;font:650 9px/1.15 system-ui,sans-serif;border:1px solid currentColor;border-radius:50%;padding:3px 4px;transform:rotate(-10deg)}.textArt.miniPrint{height:64px;display:flex}.miniPrint b,.smallArt b{font-size:16px}.miniPrint i,.smallArt i{font-size:7px;bottom:2px}.textArt+.mark{right:auto;left:7px}.stampTitle{line-height:1.36}.customLabel{font-size:14px}.poolgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.poolgrid a{display:flex;align-items:center;min-height:44px;justify-content:center;font-size:13px}.poolgrid .stampChoice .art{height:90px}.poolgrid .stampTitle{font-size:13px}.tray{max-height:295px;overflow:auto}.secondaryLink{display:block;min-height:44px;width:100%;color:var(--quiet);font-size:14px;text-decoration:underline;text-underline-offset:4px}.sealLetter{position:relative;background:#eee3c9;border:1px solid #c7b99c;margin:13px 0 18px;padding:38px 10px 10px;border-radius:4px;text-align:center;isolation:isolate;overflow:hidden}.sealLetter:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(17deg,transparent 49.5%,#bfab8c 50%,transparent 51%) right top/50% 30px no-repeat,linear-gradient(-17deg,transparent 49.5%,#bfab8c 50%,transparent 51%) left top/50% 30px no-repeat}.wax{position:absolute;left:50%;top:4px;transform:translateX(-50%) rotate(-8deg);width:29px;height:28px;border-radius:44% 54% 48% 45%;background:#a3402d;color:#ffe3ba;box-shadow:inset 0 0 0 3px #bf5a3a,0 2px 1px #73522c38;display:grid;place-items:center;font:18px/1 Georgia}.sealLetter small{font-size:13px;color:#614b3d}.sealing .wax{animation:pressWax .38s ease-out}@keyframes pressWax{from{opacity:.25;transform:translateX(-50%) scale(1.6) rotate(-22deg)}70%{transform:translateX(-50%) scale(.9) rotate(-6deg)}}
.memo{background:#f2e8be;border-left:3px solid #c4ae66;padding:13px 14px 1px;margin:16px 0}.memo textarea{background:#fff9dc}.dates,.vote{display:flex;gap:6px;margin:8px 0 14px}.dates button,.vote button{min-height:44px;flex:1;line-height:1.2;background:#e8e8da;border-radius:7px;color:#233d34}.dates [aria-pressed=true],.vote [aria-pressed=true]{background:#31594b;color:white}.shareLink{width:100%;margin:10px 0 8px}.letterReason:last-child{margin-bottom:1px}.receipt .verdict{margin:10px 0 2px;font:650 clamp(23px,6.2vw,31px)/1.28 var(--ser);color:#943c2b}.receipt .guesses{margin-bottom:12px}.receipt .words{margin:5px 0 12px}.receipt .guesses .words{margin:2px 0 0}.receipt .postbody{padding:15px 18px}.receipt .postmeta{margin-bottom:4px}.receipt .miniPrint{height:44px;flex-basis:37px}.receipt .vote{margin-bottom:3px}.lightstrip{height:40px}.lightstrip:after{font-size:35px}.storyPreview{display:block;max-width:min(100%,280px);margin:12px auto}.download{display:flex;min-height:44px;align-items:center;justify-content:center}.twoActions{display:flex;gap:8px}.twoActions button{flex:1}#foot{border-top:1px solid var(--line);margin-top:18px}#privacy{font-size:13px;color:var(--quiet)}button,a,summary{min-height:44px}nav button{min-width:44px}.tag{margin-top:22px}main[data-stage=friend] h1{font-size:clamp(25px,6.6vw,36px);margin-bottom:16px}.replySheet{padding:14px 15px 1px}.replySheet textarea{min-height:52px;height:58px;margin:5px 0 11px}.replySheet label{font-size:14px}.reasonHead{display:flex;align-items:center;gap:8px}.stageNight{animation:dusk .44s ease-out}@keyframes dusk{from{opacity:.72}to{opacity:1}}.checkboxline{min-height:44px;display:flex;align-items:center;gap:8px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.signature{margin:16px 0}.signature input{margin-top:7px}.poolgrid .stamps{display:block}.judge{border-top:1px dashed var(--line);padding-top:10px}.smallChoice{min-height:44px}.subtle,a,summary,[role=button]{min-height:44px}.ticket input[type=date]{min-height:44px}#storyout,#shareout{color:inherit}.shareLink{color:#193e38}.guesses>div{animation-duration:.38s}#foot[hidden]{display:none}
.replySheet textarea,.memo textarea,.signature input{font-weight:400}.textArt b{max-width:2.45em;padding:0;line-height:1.02}.miniPrint.textArt b,.smallArt.textArt b{max-width:2.3em}
.guesses>div,.lightstrip:after{animation:none}.stageNight .guesses>div{animation:unseal .32s ease-out}.stageNight .guesses>div:nth-child(2){animation-delay:.09s}.stageNight .lightstrip:after{animation:star .48s ease-out}.lightstrip:after{opacity:1}.receipt .guesses .words{color:#284b40}.receipt .guesses .note{color:#496356}
@media(prefers-reduced-motion:reduce){.stageNight,.stageNight .guesses>div,.stageNight .lightstrip:after{animation:none!important}}

.yourTurn{border-top:1px dashed var(--line);margin-top:22px;padding-top:18px}.yourTurn .words{font:600 20px/1.5 var(--ser);margin-bottom:12px}.replySheet .signature{margin:8px 0 15px}.stampTitle.customLabel{font-size:clamp(15px,4.3vw,19px)}.poolgrid .stampTitle.customLabel{font-size:13px}
