html{scroll-padding-bottom:135px}body{overflow-wrap:break-word}main,main>section{min-width:0}.daily-home{max-width:760px;padding-top:20px}.daily-home>h2{max-width:530px;margin:0 auto 14px;font-size:clamp(28px,4vw,36px);line-height:1.25}.envelope-cta{position:relative;isolation:isolate;display:grid;grid-template-columns:148px 1fr;align-items:center;gap:26px;width:100%;max-width:660px;min-height:235px;margin:5px auto 52px;padding:31px;text-align:left;color:var(--ink);border:1px solid #dfafc2;border-radius:26px;background:linear-gradient(125deg,#fffaf3 3%,#fff9fb 50%,#f6dbe6);box-shadow:0 14px 38px #9b3d5b0d;transition:transform .2s,box-shadow .2s;overflow:hidden}.envelope-cta:enabled:hover{transform:translateY(-3px);box-shadow:0 17px 40px #9b3d5b1b}.envelope-cta:disabled{cursor:default;opacity:.8}.envelope-art{position:relative;display:block;width:140px;height:136px;margin:0 auto;transform:rotate(-7deg)}.envelope-paper{position:absolute;width:112px;height:108px;top:0;left:13px;background:linear-gradient(#fffcf6,#f8eee6);border:1px solid #e7d4c5;border-radius:8px;box-shadow:0 3px 12px #7d244815;display:flex;flex-direction:column;align-items:center;padding:15px 4px;transition:transform .3s}.envelope-paper>span{font:italic 18px 'Playfair Display',Georgia,serif;color:#914362}.envelope-paper>i{font-size:21px;color:#b85f7d;font-style:normal;margin-top:4px}.envelope-pocket{position:absolute;left:0;right:0;bottom:0;height:86px;border:1px solid #ca8fa7;border-radius:5px 5px 10px 10px;background:linear-gradient(150deg,#edbfd2,#d899b6);box-shadow:0 12px 20px #9634511c;overflow:hidden}.envelope-pocket:before,.envelope-pocket:after{content:'';position:absolute;width:110px;height:110px;top:3px;transform:rotate(45deg);background:#efc9d9;border:1px solid #dba5bd}.envelope-pocket:before{left:-60px}.envelope-pocket:after{right:-60px}.envelope-seal{position:absolute;bottom:24px;left:53px;width:35px;height:35px;display:grid;place-items:center;border:3px double #e59ab8;border-radius:50%;background:#963252;color:#fff4f9;font-size:15px;box-shadow:0 3px 8px #88304e25;z-index:2}.envelope-spark{position:absolute;right:-6px;top:1px;font-size:25px;color:#b76b88}.envelope-cta:enabled:hover .envelope-paper{transform:translateY(-6px)}.envelope-copy{display:flex;flex-direction:column;align-items:flex-start;position:relative;z-index:2;min-width:0}.envelope-overline{font-size:8px;font-weight:600;letter-spacing:1.5px;color:#9b5871;line-height:1.8}.envelope-title{font:400 29px/1.18 'Playfair Display',Georgia,serif;display:block;margin:11px 0 10px;max-width:300px}.envelope-description{font-size:11px;line-height:1.6;color:#805164}.envelope-open{display:inline-flex;align-items:center;justify-content:space-between;gap:22px;border-radius:100px;background:linear-gradient(115deg,#a03960,#802a4e);color:white;padding:14px 19px;margin-top:20px;font-size:12px;min-height:46px;box-shadow:0 5px 13px #8e2c4e18}.envelope-open b{font-weight:400}.envelope-corner{position:absolute;right:12px;top:-16px;font-size:130px;color:#edc5d544;line-height:1;z-index:-1}.daily-calendar{gap:10px}.day-envelope{min-height:88px;transition:transform .18s,box-shadow .18s}.day-envelope:enabled:hover{transform:translateY(-3px);box-shadow:0 5px 12px #a3335b14}.day-envelope:focus-visible,.envelope-cta:focus-visible{outline:3px solid #8b2850;outline-offset:4px}.daily-top{flex-wrap:wrap;row-gap:5px}.daily-top button{min-height:44px}.daily-controls>button{min-height:44px}.daily-input,.connection-row select{font-size:16px}.daily-card{min-width:0}.daily-card h1{overflow-wrap:break-word}.music-drawer{max-height:calc(100dvh - 145px);scroll-padding:100px 0 25px}.music-drawer-head{position:sticky;top:-20px;background:#fff8fc;z-index:2;padding-top:8px;padding-bottom:5px}.music-list{max-height:none;overflow:visible}.music-settings input[type=range],.music-progress input{min-height:44px}.music-settings{gap:8px}.music-repeat{min-height:44px}.music-icon,.music-toggle{min-width:44px}.music-message{font-size:10px}.music-drawer h2{line-height:1.25}.music-drawer .eyebrow{line-height:1.7}.music-progress{margin:3px 0 10px}.music-settings{margin:8px 0}.music-caption{margin-bottom:10px}.music-list{margin-top:8px}.arith-token{touch-action:manipulation}.arith-square{touch-action:manipulation}@media(max-width:640px){header{padding:18px 20px}.hero{padding:27px 20px 7px}.hero h1{font-size:clamp(38px,9.5vw,52px);line-height:1.06;margin:17px 0}.hero .eyebrow{font-size:9px;letter-spacing:2px}.intro{font-size:13px;line-height:1.8;max-width:350px}.count-section{padding:20px 16px 15px}.countdown{gap:6px;margin:16px 0 12px}.countdown>div{width:calc((100vw - 110px)/4);min-width:0;max-width:78px;border-radius:14px;padding:12px 5px}.countdown strong{font-size:clamp(27px,7.5vw,36px)}.countdown small{font-size:7px;letter-spacing:1px}.colon{font-size:17px}.date{font-size:8px;line-height:1.7}.daily-home{padding:15px 16px 35px}.envelope-cta{grid-template-columns:95px 1fr;gap:15px;padding:24px 17px;min-height:204px;border-radius:22px;margin-bottom:40px}.envelope-art{width:92px;height:105px;transform:rotate(-7deg)}.envelope-paper{width:76px;height:85px;left:8px;padding-top:11px}.envelope-paper>span{font-size:13px}.envelope-paper>i{font-size:17px}.envelope-pocket{height:61px;border-radius:4px 4px 8px 8px}.envelope-pocket:before,.envelope-pocket:after{width:80px;height:80px;top:2px}.envelope-pocket:before{left:-47px}.envelope-pocket:after{right:-47px}.envelope-seal{width:27px;height:27px;left:33px;bottom:16px;font-size:11px;border-width:2px}.envelope-spark{font-size:22px;top:-8px;right:-1px}.envelope-title{font-size:24px;margin:8px 0}.envelope-overline{font-size:7px;letter-spacing:1px}.envelope-description{font-size:10px}.envelope-open{font-size:11px;gap:14px;padding:12px 14px;margin-top:15px;min-height:44px}.envelope-corner{font-size:108px}.daily-calendar{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.day-envelope{min-height:78px}.daily-help{font-size:12px}.daily-screen{padding:15px 12px 35px}.daily-card{padding:23px 15px}.daily-top{margin-bottom:15px}.daily-top>span{font-size:9px}.daily-card h1{font-size:29px}.daily-board{max-width:370px}.daily-grid{gap:7px}.daily-complete{padding-top:12px}.music-dock{width:calc(100% - 16px);bottom:max(8px,env(safe-area-inset-bottom));border-radius:17px}.music-bar{gap:10px;padding:9px 11px 4px}.music-now>small{font-size:7px;letter-spacing:1px}.music-now>div{font-size:15px;margin:3px 0}.music-now>span{font-size:10px}.music-dock:has(.music-drawer[hidden]) #music-prev,.music-dock:has(.music-drawer[hidden]) #music-next{display:none}.music-message{font-size:9px;padding:2px 11px 7px;line-height:1.5}.music-art{display:none}.music-drawer{padding:13px 12px 0;max-height:calc(100dvh - 125px)}.music-drawer-head{top:-13px;padding-top:6px}.music-drawer h2{font-size:23px}.music-caption{font-size:11px}.music-list button{padding:11px 7px}.music-settings label{font-size:12px}.music-settings input[type=range]{width:105px}.song-info strong{font-size:12px}.song-info small{font-size:10px}.has-music{padding-bottom:115px}html{scroll-padding-bottom:115px}.final-letter p{font-size:17px;line-height:1.85}.final-letter{padding:22px 16px}.difference-layout{gap:9px}.daily-card[data-type=search] .daily-grid{gap:3px;padding:6px}}@media(max-width:360px){.envelope-cta{grid-template-columns:1fr;text-align:center;padding:24px 20px;gap:18px}.envelope-copy{align-items:center}.envelope-title{max-width:230px;font-size:27px}.envelope-open{min-width:215px;font-size:12px}.envelope-art{width:110px;height:115px}.envelope-paper{left:11px;width:88px}.envelope-pocket{height:70px}.envelope-seal{left:41px;bottom:20px}.hero h1{font-size:39px}.daily-home{padding-inline:12px}.daily-card[data-type=crossmath]{padding-inline:6px}.daily-screen:has(.arith-grid){padding-inline:8px}.arith-grid{padding:3px}.arith-grid>*{font-size:13px}.sentence-list li{padding:8px}.connection-row{grid-template-columns:1fr 15px 1.2fr}.connection-row>span:first-child{font-size:20px;padding:10px}.connection-row select{font-size:16px;padding:12px 2px}.music-buttons{gap:0}.music-bar{gap:7px}.music-now>div{font-size:14px}.daily-top>span{font-size:8px}}@media(prefers-reduced-motion:reduce){.envelope-cta,.envelope-paper,.day-envelope{transition:none}.envelope-cta:enabled:hover,.day-envelope:enabled:hover{transform:none}}
