:root{font-family:"Noto Sans TC","Microsoft JhengHei",sans-serif;color:#253e3d;background:#f8f6ec;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #e99958;outline-offset:3px}#app{min-height:100svh}.screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;padding:28px 20px 40px;animation:enter .45s ease both}.wrap{width:min(100%,600px)}.top{display:flex;align-items:center;justify-content:space-between;margin:0 0 28px;color:#537675}.brand{font-weight:700;letter-spacing:.12em;font-size:.9rem}.progress{font-variant-numeric:tabular-nums;font-weight:700}.bar{height:4px;background:#dbe8df;border-radius:9px;margin-top:-14px;margin-bottom:34px;overflow:hidden}.bar i{display:block;height:100%;background:#5c9a89;transition:width .3s}.eyebrow{color:#c5794e;letter-spacing:.18em;font-size:.8rem;font-weight:700;margin:0 0 10px}h1,h2,p{margin-top:0}h1{font-size:clamp(1.8rem,5vw,2.6rem);line-height:1.35;letter-spacing:.03em}h2{font-size:1.55rem;line-height:1.45}.lead{line-height:1.9;color:#58706d}.question-title{text-align:center;margin-bottom:22px}.question-title h1{font-size:1.6rem;margin-bottom:8px}.question-title p{color:#68817a}.cards{display:grid;gap:14px}.option{border:1px solid #d5e3db;border-radius:20px;background:#fff;display:grid;grid-template-columns:130px 1fr;align-items:center;text-align:left;padding:10px;gap:18px;color:#254644;font-weight:700;line-height:1.6;box-shadow:0 8px 22px #325b4910;transition:transform .2s,border-color .2s,background .2s}.option:hover{transform:translateY(-2px);border-color:#78aa99}.option.selected{border:3px solid #59987e;background:#edf8ed;transform:scale(.985)}.option svg{width:100%;height:100px;object-fit:cover;border-radius:13px}.option span{padding-right:10px}.back{border:0;background:transparent;color:#557a70;padding:18px 0;text-decoration:underline;text-underline-offset:4px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:54px;border:0;border-radius:999px;padding:14px 30px;background:#326f6d;color:white;font-weight:700;box-shadow:0 7px 16px #285d5328}.btn:hover{background:#285d5b}.btn.secondary{background:#fff;color:#326f6d;border:1px solid #9dbab0;box-shadow:none}.btn.wide{width:100%}.home{padding:0;background:#d9ebdf;position:relative;overflow:hidden;justify-content:center;text-align:center}.landscape{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-content{position:relative;z-index:1;padding:36px 20px;margin-top:10vh}.home h1{font-size:clamp(1.65rem,5vw,2.6rem);text-shadow:0 2px 14px #f9f7eb}.home p{color:#365e5a}.envelope{position:relative;display:block;margin:34px auto 18px;width:210px;height:145px;border:0;background:#f6eee0;border-radius:7px;box-shadow:0 18px 40px #274b3c45;transform:rotate(-3deg);transition:transform .3s}.envelope:hover{transform:rotate(0deg) translateY(-5px)}.envelope:before{content:"";position:absolute;inset:0;background:#fff8e9;clip-path:polygon(0 0,50% 56%,100% 0)}.envelope:after{content:"✦";position:absolute;left:50%;top:57%;transform:translate(-50%,-50%);background:#de9a70;color:#fff5de;width:35px;height:35px;line-height:35px;border-radius:50%}.hint{font-size:.9rem;letter-spacing:.1em}.paper{background:#fffdf7;border:1px solid #e9e4d6;box-shadow:0 18px 50px #3153421c;border-radius:4px;padding:44px 30px;text-align:center;position:relative;margin:auto 0}.paper:before{content:"✦";display:block;color:#e29a6a;font-size:1.8rem;margin-bottom:18px}.paper p{line-height:2;color:#536c67}.paper .btn{margin-top:16px}.letter-screen{justify-content:center;background:linear-gradient(165deg,#e5f0e6,#f8f6ec 65%)}.date-box{background:white;border:1px solid #dbe8df;border-radius:20px;padding:22px;margin:20px 0}.date-choice{display:flex;align-items:flex-start;gap:12px;padding:12px 0;line-height:1.6}.date-choice input{width:20px;height:20px;accent-color:#397b70;margin-top:3px}.date-input{font-size:1rem;width:100%;padding:12px;border:1px solid #b9d0c4;border-radius:10px;margin:8px 0}.error{color:#a54a35;min-height:1.4em}.result{background:linear-gradient(#e4f1e9 0,#f8f6ec 330px)}.postcard{overflow:hidden;border-radius:22px;background:#fff;border:8px solid #fff;box-shadow:0 12px 35px #325b4920;margin:20px 0}.postcard svg{width:100%;display:block;max-height:260px}.result h1{margin-bottom:8px}.meta{border-top:1px solid #dce7dc;border-bottom:1px solid #dce7dc;padding:18px 0;margin:24px 0;line-height:2}.reveal{background:#f0e6d5;border-radius:16px;padding:18px;line-height:1.8}.actions{display:grid;gap:10px;margin-top:18px}.choices{display:grid;gap:10px;margin:20px 0}.choice{background:white;border:1px solid #d5e3db;border-radius:15px;padding:16px;text-align:left;color:#294d48}.choice strong{display:block;font-size:1.1rem;margin-bottom:5px}.choice span{line-height:1.6;color:#5b7470}.choice.chosen{border:2px solid #5d9b80}.fine{font-size:.9rem;color:#678078;line-height:1.7}.cloud{animation:drift 18s ease-in-out infinite alternate}.boat{animation:drift 12s ease-in-out infinite alternate}.window{animation:glow 4s ease-in-out infinite alternate}.water{animation:glow 3s ease-in-out infinite alternate}@keyframes drift{to{transform:translateX(35px)}}@keyframes glow{to{opacity:.35}}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(min-width:700px){.cards{grid-template-columns:1fr 1fr}.option{display:flex;flex-direction:column;align-items:stretch;gap:12px}.option svg{height:155px}.option span{padding:0 8px 12px}.screen{padding-top:40px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Watercolor letter styling */
:root{color:#193f49;background:#f9f2e5;font-family:"Noto Serif TC","PMingLiU","Microsoft JhengHei",serif}.screen{background:#f9f3e8}.home{background:#e4c6ad}.landscape{background:url('hero-watercolor.png') center center / cover no-repeat}.home:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,245,224,.12),rgba(255,243,222,.06) 65%,transparent);pointer-events:none}.home-content{z-index:2;margin-top:0;display:flex;min-height:100svh;width:100%;max-width:630px;flex-direction:column;align-items:center;justify-content:flex-start;padding:clamp(80px,16vh,150px) 20px 30px}.home h1{color:#173f49;line-height:1.45;font-size:clamp(1.7rem,7vw,3rem);text-shadow:0 2px 20px #ffedda;letter-spacing:.08em}.home p{color:#173f49;font-weight:700}.envelope{width:min(67vw,300px);height:clamp(140px,34vw,200px);margin:clamp(32px,6vh,68px) auto 23px;background:linear-gradient(140deg,#fff8e9,#f2dfbd);border:1px solid #fff7e4;box-shadow:0 15px 30px #6e493e55;transform:rotate(-5deg)}.envelope:before{background:linear-gradient(155deg,#fff7e5,#ead1a7);filter:drop-shadow(0 4px 3px #9a795c44)}.envelope:after{content:'❧';font-size:1.5rem;background:radial-gradient(circle at 35% 28%,#f3a65b,#c46733);border:3px double #f8c085;width:43px;height:43px;line-height:40px;box-shadow:0 3px 5px #7b4a3766}.hint{font-size:1rem;text-shadow:0 1px 8px #ffeed8}.top{color:#527374}.brand{letter-spacing:.12em}.eyebrow{color:#b9704e}.bar{background:#e7e3d2}.bar i{background:#759688}.question-title h1,h1,h2{color:#193f49}.option{background:#fffaf0;border-color:#e5d8bf;box-shadow:0 8px 20px #7e62421a}.option:hover{border-color:#b68e6b}.option.selected{background:#edf2df;border-color:#78977c}.painted-art{background-image:url('choice-watercolor.png');background-repeat:no-repeat;background-size:300% 100%;background-position:left center;width:100%;height:100px;border-radius:12px;flex-shrink:0}.painted-art.nature{background-position:center center}.painted-art.ship{background-position:right center}.postcard .painted-art{height:240px;border-radius:14px}.paper{background:linear-gradient(160deg,#fffdf6,#f9ecd5);border-color:#ead7b8;box-shadow:0 16px 44px #8c6a4325}.paper:before{color:#d68756}.letter-screen{background:linear-gradient(145deg,#ede5ce,#f8f0df 65%,#dfebdf)}.btn{background:#285c61}.btn:hover{background:#194a50}.btn.secondary{color:#285c61;background:#fffaf0;border-color:#a8b6a0}.date-box,.choice{background:#fffaf0;border-color:#e4d7bf}.reveal{background:#f2e5cf}.result{background:linear-gradient(#e5e9dc 0,#f9f2e5 360px)}.postcard{border-color:#fffaf0;box-shadow:0 12px 35px #765a3a2b}.back{color:#496d68}@media(min-width:700px){.painted-art{height:155px}.postcard .painted-art{height:280px}.home-content{padding-top:9vh}}

.letter-message{font-size:clamp(.88rem,3.4vw,1.35rem);line-height:1.8;letter-spacing:0}.letter-message span{display:block;white-space:nowrap}
