:root{color:#59466b;font-synthesis:none;--pink:#f6b9cd;--cream:#fff8ec;--lavender:#d9c9ef;--grass:#dceec8;--sky:#e6f5fc;background:#fff8ed;font-family:ui-rounded,PingFang TC,Microsoft JhengHei,system-ui,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(at 80% 14%,#fce8ec 0,#0000 40%),linear-gradient(#eef8fc 0,#fff8ed 45%,#fff5ed 90%,#e7efd7 100%);min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,textarea:focus-visible{outline-offset:5px;outline:3px solid #9873ba}button{transition:transform .15s,box-shadow .15s}button:hover:not(:disabled){transform:translateY(-2px)}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit;text-decoration:none}h1,h2,p{margin:0}h1,h2{letter-spacing:-.035em}button svg{pointer-events:none}[hidden]{display:none!important}.site-header{z-index:1;justify-content:space-between;align-items:center;max-width:1080px;margin:0 auto;padding:28px 30px;display:flex;position:relative}.site-header a{letter-spacing:.17em;align-items:center;gap:12px;font-size:10px;line-height:1.6;display:flex}.site-header b{font-size:11px}.brand-mark{color:#956cb0;background:#efdaef;border-radius:15px;place-items:center;width:40px;height:40px;font-size:26px;display:grid;transform:rotate(-8deg)}.header-note{color:#9a899e;font-size:12px}#app{z-index:1;max-width:1000px;margin:0 auto;padding:40px 30px 25px;position:relative}.eyebrow{letter-spacing:.19em;color:#ad829a;font-size:10px;font-weight:700;line-height:1.7;display:block}.eyebrow i{vertical-align:middle;background:#c28dad;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.welcome{grid-template-columns:1.1fr 1fr;align-items:center;gap:48px;min-height:380px;display:grid}.welcome h1{color:#65507a;margin:22px 0;font-family:Georgia,PingFang TC,serif;font-size:57px;line-height:1.05}.welcome h1>span:not(.title-cake){color:#b983a0;letter-spacing:-.035em;white-space:nowrap;font-size:42px;font-style:italic}.title-cake{vertical-align:middle;font-size:30px;display:inline-block;transform:rotate(-10deg)}.subtitle{color:#927f93;max-width:335px;font-size:14px;line-height:1.9}.welcome-actions{gap:12px;margin-top:27px;display:flex}.button{border:0;border-radius:15px;justify-content:center;align-items:center;gap:22px;min-height:48px;padding:13px 25px;font-size:14px;font-weight:700;display:inline-flex}.primary{color:#fff;background:#9e7cbb;box-shadow:0 6px #87669f,0 12px 20px #9376a424}.primary:hover:not(:disabled){box-shadow:0 8px #87669f,0 15px 22px #9376a432}.secondary{color:#97758d;background:#fffaf6;border:1px solid #e6ccd8;box-shadow:0 4px #f0e1df}.text-button{color:#9a718b;background:0 0;border:none;min-height:44px;padding:10px 4px;font-size:13px}.welcome .text-button{margin-top:16px}.little-note{color:#ae9baa;align-items:center;gap:8px;margin-top:15px;font-size:11px;display:flex}.little-note span{color:#c8ae76;font-size:20px}.birthday-card{text-align:center;background:linear-gradient(140deg,#fff4ef,#f8e8f0);border:7px solid #fffefd;border-radius:28px;padding:27px 20px 20px;position:relative;transform:rotate(3deg);box-shadow:0 15px 55px #b391a323,0 3px #eadce0}.card-tape{clip-path:polygon(3% 0,98% 0,96% 100%,0 100%);background:#d7c7e7a1;width:95px;height:28px;position:absolute;top:-21px;left:calc(50% - 48px);transform:rotate(-8deg)}.card-caption{letter-spacing:.23em;color:#b999a8;font-size:9px}.cake-art{object-fit:contain;filter:drop-shadow(0 9px 9px #ce9da02a);width:210px;height:175px;margin:18px auto 2px;display:block}.friends{justify-content:center;align-items:flex-end;gap:4px;display:flex}.friends img{object-fit:contain;filter:drop-shadow(0 4px 2px #8560801c);width:63px;height:72px}.birthday-card .friends img:nth-child(2n){transform:translateY(-6px)}.birthday-card p{color:#a98498;margin:9px 0;font-size:11px}.card-sign{color:#bca2af;font-family:Georgia,serif;font-size:14px;font-style:italic}.spark{color:#d1ac60;font-size:30px;position:absolute}.spark-one{top:78px;left:27px;transform:rotate(15deg)}.spark-two{font-size:36px;top:120px;right:23px}.journey{border-top:1px solid #e6dcd8;margin-top:65px;padding-top:27px}.journey h2{margin-top:5px;font-size:20px}.journey>.eyebrow{font-size:9px}.level-cards{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:20px;display:grid}.level-card{text-align:left;color:#756178;background:#fffdf7d9;border:1px solid #e9ddd7;border-radius:17px;align-items:center;gap:10px;min-height:87px;padding:13px;display:flex;box-shadow:0 4px #efe2dc80}.level-icon{min-width:32px;font-size:27px}.level-card small{color:#b296a3;letter-spacing:.1em;margin-bottom:6px;font-size:9px;display:block}.level-card b{font-size:12px;font-weight:600}.level-arrow{color:#b99bb8;margin-left:auto}.level-card:disabled{opacity:.55}.best{color:#b19baa;text-align:right;margin-top:17px;font-size:11px}footer{text-align:center;padding:28px 20px max(24px,env(safe-area-inset-bottom));color:#a18f9a;font-size:11px;line-height:2;position:relative}footer span{color:#bc9aab;margin-left:5px}footer small{color:#af9ca7;font-size:9px}.sky{pointer-events:none;width:100%;height:750px;position:absolute;top:0;left:0;overflow:hidden}.cloud{opacity:.65;background:#ffffffb0;border-radius:100%;width:140px;height:35px;position:absolute}.cloud:before,.cloud:after{content:"";background:inherit;border-radius:50%;width:58px;height:48px;position:absolute;bottom:8px;left:23px}.cloud:after{width:43px;height:36px;left:65px}.cloud-one{top:130px;left:-40px}.cloud-two{width:170px;top:65px;right:-26px}.balloon{opacity:.3;background:#d1b5e5;border-radius:52% 48% 45% 50%;width:46px;height:59px;position:absolute;transform:rotate(-12deg)}.balloon:after{content:"";border-left:1px solid #b896ad;border-radius:50%;width:26px;height:115px;position:absolute;top:59px;left:21px}.balloon-one{background:#e4b3c4;top:480px;left:3%}.balloon-two{top:450px;right:3%;transform:rotate(16deg)}.game-page{max-width:530px;margin:0 auto}.game-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px;display:flex}.game-heading h1{margin-top:7px;font-size:20px;font-weight:700}.game-heading .eyebrow{font-size:9px}.game-card{background:#fffcf8;border:1px solid #efe1e5;border-radius:25px;padding:18px;box-shadow:0 15px 45px #ad8da91f,0 5px #eadce4}.stats{text-align:center;grid-template-columns:1fr 1fr 1fr;margin-bottom:14px;display:grid}.stats>div+div{border-left:1px solid #eedfe5}.stats small{color:#b293a5;margin-bottom:5px;font-size:10px;display:block}.stats strong{color:#9974b3;font-family:Georgia,serif;font-size:27px}.stats .moves-stat strong{color:#c8839e}.progress-track{background:#f1e5ee;border-radius:20px;height:7px;margin:0 8px 17px;overflow:hidden}.progress-track span{border-radius:inherit;background:linear-gradient(90deg,#d0afd9,#e8acc3);width:0;height:100%;transition:width .3s;display:block}.board-wrap{aspect-ratio:1;background:#f4e7ef;border:6px solid #f4e7ef;border-radius:16px;width:100%;position:relative;overflow:hidden}#board{touch-action:none;width:100%;height:100%}#board canvas{touch-action:none;display:block;width:100%!important;height:100%!important}#pause-cover{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);text-align:center;z-index:2;background:#fff6edec;flex-direction:column;justify-content:center;align-items:center;gap:15px;display:flex;position:absolute;inset:0}#pause-cover>span{color:#b889b9;font-size:50px}#pause-cover h2{font-size:25px}#pause-cover p{color:#b18f9f;font-size:13px}#game-message{text-align:center;color:#a18098;min-height:37px;margin:15px 0 3px;font-size:12px;line-height:1.7}.game-controls{justify-content:center;gap:6px;display:flex}.small-button{color:#99788e;background:#f6edf2;border:1px solid #eddfeb;border-radius:11px;min-height:42px;padding:11px 12px;font-size:11px}.game-note{text-align:center;color:#b59da9;margin-top:19px;font-size:11px;line-height:1.8}.game-note span{padding:0 8px}.wish-page{text-align:center;max-width:600px;margin:auto}.wish-page h1{color:#896ba1;margin:18px 0 0;font-size:40px;line-height:1.35}.wish-page h1 span{color:#b97d98}.wish-illustration{width:300px;max-width:100%;margin:0 auto 20px;position:relative}.wish-illustration .cake-art{width:225px;height:185px;margin:16px auto 0}.wish-illustration .friends img{width:70px;height:75px}.wish-star{color:#d7b65b;font-size:55px;position:absolute;top:30px;right:0}.wish-copy{color:#9a7c96;font-size:16px;line-height:2.1}.wish-actions{justify-content:center;gap:12px;margin:28px 0 15px;display:flex}#copy-status{color:#a1859b;min-height:20px;font-size:12px}#copy-status textarea{color:#705c78;background:#fffdfa;border:1px solid #d7bed1;border-radius:10px;width:100%;min-height:100px;padding:10px}.wish-page>.text-button{margin-top:4px}dialog{color:#705a7f;background:#fffaf3;border:1px solid #eddae6;border-radius:27px;width:calc(100% - 36px);max-width:430px;padding:30px;box-shadow:0 25px 100px #47344c38}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#54425966}dialog h2{margin:10px 0 14px;font-size:24px;line-height:1.4}.dialog-copy{color:#9b8093;font-size:13px;line-height:1.9}.dialog-copy p+p{margin-top:10px}.dialog-copy ul{padding-left:20px;line-height:1.9}.dialog-copy li{margin:9px 0}.dialog-actions{flex-wrap:wrap;gap:12px;margin-top:22px;display:flex}.dialog-actions .button{flex:1;min-width:120px;padding-left:17px;padding-right:17px}.result-stars{text-align:center;color:#e0b557;margin:14px 0;font-size:43px}.result-score{text-align:center;color:#9874ac;font-family:Georgia,serif;font-size:38px}.result-score small{font-family:system-ui,sans-serif;font-size:13px}@media (width>=1200px){#app{padding-top:65px}.welcome{gap:70px}.birthday-card{max-width:390px}.journey{margin-top:75px}.game-page{margin-top:-30px}}.journey .level-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.countdown{margin:6px auto 2px}.countdown strong{color:#a879b8;font-family:Georgia,serif;font-size:56px;line-height:1;display:block}.countdown small{letter-spacing:.22em;color:#b999a8;margin-top:4px;font-size:9px;display:block}.level-progress-summary{color:#9a8393;align-items:center;gap:12px;margin:14px 0 10px;font-size:12px;display:flex}.level-progress-summary .progress-track{flex:1;height:6px;margin:0}.level-list{scrollbar-width:thin;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;max-height:330px;padding:4px 4px 12px;display:grid;position:relative;overflow-y:auto}.level-chip{color:#756178;text-align:left;background:#fffdf7d9;border:1px solid #e9ddd7;border-radius:14px;align-items:center;gap:8px;min-height:52px;padding:8px 10px;display:flex;box-shadow:0 3px #efe2dc80}.chip-stars{color:#e0b55b;letter-spacing:1px;margin-left:auto;font-size:10px}.endless-card{background:linear-gradient(120deg,#fdf3f8,#f4eefc);border:1px dashed #d8b6d3;border-radius:16px;flex-direction:column;gap:10px;margin-top:12px;padding:14px;display:flex}.endless-card>div{align-items:center;gap:8px;display:flex}.endless-card .progress-track{height:6px;margin:0}.endless-card .button{align-self:flex-start;min-height:40px;padding:9px 16px;font-size:12px}.chip-icon{font-size:18px}.chip-no{color:#9c74b0;min-width:22px;font-family:Georgia,serif;font-size:15px}.chip-name{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.level-chip.locked{opacity:.5}.journey h2{font-size:19px}@media (width<=700px){.level-cards{grid-template-columns:repeat(2,1fr);gap:8px}.level-card{gap:8px;min-height:84px;padding:10px 11px}.level-card b{font-size:11px}.level-icon{min-width:26px;font-size:22px}.level-card small{margin-bottom:3px;font-size:8px}.level-list{grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:6px;max-height:260px}.level-chip{border-radius:12px;min-height:46px;padding:7px 8px}.chip-icon{font-size:15px}.chip-no{min-width:18px;font-size:13px}.chip-name{font-size:10px}.countdown strong{font-size:44px}.site-header{padding:22px 22px 10px}.header-note{font-size:10px}.site-header a{font-size:8px}.site-header b{font-size:9px}.brand-mark{width:34px;height:34px;font-size:22px}#app{padding:25px 22px 15px}.welcome{text-align:center;grid-template-columns:1fr;gap:35px;min-height:0}.welcome h1{margin:16px 0;font-size:49px}.welcome h1>span:not(.title-cake){font-size:36px}.title-cake{font-size:24px}.welcome .eyebrow{letter-spacing:.15em;font-size:8px}.subtitle{max-width:290px;margin:0 auto;font-size:13px}.welcome-actions{justify-content:center;margin-top:22px}.welcome .text-button{margin-top:10px}.little-note{justify-content:center;margin-top:7px}.birthday-card{width:285px;max-width:94%;margin:0 auto;padding:22px 16px 15px;transform:rotate(2deg)}.birthday-card .cake-art{width:175px;height:135px;margin-top:11px}.birthday-card .friends img{width:52px;height:61px}.birthday-card p{font-size:10px}.card-sign{font-size:12px}.card-caption{font-size:8px}.spark-one{font-size:24px;top:58px;left:18px}.spark-two{font-size:29px;top:85px;right:18px}.journey{margin-top:38px;padding-top:22px}.journey .eyebrow{font-size:8px}.level-cards{margin-top:15px}.best{text-align:center;margin-top:17px}.cloud-one{top:210px}.balloon-one{top:385px;left:-13px}.balloon-two{top:570px;right:-8px}.game-heading h1{font-size:17px}.game-heading .eyebrow{font-size:8px}.game-heading{margin-bottom:14px}.game-page{margin-top:0}.game-card{border-radius:21px;padding:12px}.stats strong{font-size:25px}.stats small{font-size:10px}.board-wrap{border-width:4px;border-radius:12px}.progress-track{margin-bottom:12px}.game-controls{gap:7px}.small-button{padding:10px 12px}.game-note{font-size:10px}.wish-page h1{font-size:35px}.wish-copy{font-size:14px}.wish-page .eyebrow{font-size:8px}.wish-actions .button{padding:13px 19px;font-size:13px}footer{padding-top:24px}dialog{padding:25px}dialog h2{font-size:22px}}@media (width<=375px){#app{padding-left:15px;padding-right:15px}.site-header{padding-left:18px;padding-right:18px}.header-note{font-size:9px}.welcome h1>span:not(.title-cake){font-size:33px}.game-heading h1{font-size:16px}.game-heading .text-button{font-size:11px}.small-button{font-size:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}button:hover:not(:disabled),.birthday-card,.brand-mark{transform:none}}
