@import url('https://fonts.googleapis.com/css2?family=Allura&family=Caveat:wght@400&family=Dancing+Script:wght@500&family=Klee+One:wght@400&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.css');
@font-face{font-family:KyoboHandwriting2019;src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/KyoboHand.woff') format('woff');font-weight:400;font-style:normal;font-display:swap;unicode-range:U+1100-11FF,U+3130-318F,U+A960-A97F,U+AC00-D7FF;}
*{box-sizing:border-box}body{margin:0;background:#c1e0fa;color:#285eaa;font-family:Pretendard,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}main{max-width:760px;margin:auto;background:#acd8fa;box-shadow:0 0 80px #74b0e533;min-height:100vh}.hero,.bottom{display:block;width:100%;height:auto}.content{position:relative;padding:0 8% 12px;background:linear-gradient(#abd7fa,#b6ddfa);text-align:center}.content:before,.content:after{content:'✧';position:absolute;color:#fff6b8;font-size:42px;pointer-events:none}.content:before{left:2%;top:25%}.content:after{right:2%;bottom:12%}nav{display:flex;justify-content:center;gap:15px;font-size:12px;letter-spacing:1px}nav a{color:#285eaa;text-decoration:none;padding:6px}nav a.active{font-weight:800;border-bottom:2px solid}h2{font-size:clamp(17px,3vw,24px);line-height:1.5;margin:18px 0 6px;word-break:keep-all}.dates,.notice{font-size:13px;line-height:1.6}.letter{position:relative;background:#f7faff;border:7px solid #e1effc;border-radius:30px;box-shadow:0 0 0 2px #ffffff9c,0 8px 24px #679ed226;padding:17px;margin:25px 0 22px}.letter:before{content:'';position:absolute;inset:5px;border:1.5px dashed #b5cce8;border-radius:19px;pointer-events:none}textarea{display:block;width:100%;height:210px;resize:vertical;background:none;border:0;padding:10px;color:#244e89;font:inherit;font-size:16px;line-height:1.7}textarea::placeholder,input::placeholder{color:#788ca9}output{display:block;text-align:right;font-size:13px;color:#788ca9;padding:5px 10px}.actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.actions input,button{min-width:0;width:100%;border:2px solid #fff;border-radius:100px;padding:15px 12px;font:inherit;font-size:16px}.actions input{background:#f6faff;color:#244e89}button{background:#fff4b9;color:#245eb1;font-weight:700;cursor:pointer;box-shadow:0 4px 0 #81b8e7}button:disabled{opacity:.55;cursor:default}.consent{display:block;font-size:12px;margin:20px 0}.notice{margin:22px 0 0}.success{padding:35px 20px}.success span{font-size:48px}.sr,.trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:focus-visible{outline:2px solid #245eb1;outline-offset:3px}@media(max-width:480px){.content{padding-inline:6%}.actions{grid-template-columns:1fr}.letter{margin-top:20px}textarea{height:180px}.hero{margin-bottom:5px}}
.content{background:#acd8fa;padding-top:10px}.hero{margin-bottom:0}.bottom{margin-top:0}.notice{padding-bottom:12px}.actions button{min-height:52px}

/* Match birthday message book typography */
.content h2,textarea,.actions input,.success p,.notice{font-family:KyoboHandwriting2019,Caveat,'Klee One',Pretendard,system-ui,sans-serif;font-weight:400}
.content h2{font-size:clamp(23px,4vw,30px);line-height:1.35}
textarea{font-size:21px;line-height:1.5}
.actions input{font-size:20px}
.notice,.success p{font-size:19px;line-height:1.5}
@media(max-width:480px){textarea{font-size:19px}.actions input{font-size:18px}.notice,.success p{font-size:17px}}
