:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}*{box-sizing:border-box}button{-webkit-tap-highlight-color:transparent;font:inherit}button{cursor:pointer}button:disabled{cursor:default}[hidden]{display:none!important}svg{width:100%;height:100%;display:block}body{color:#efdfca;background:#101421;min-width:300px;margin:0;font-family:system-ui,sans-serif;overflow-x:hidden}body:after{content:"";pointer-events:none;z-index:9;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' opacity='.25' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");position:fixed;inset:0}.ambient{pointer-events:none;position:fixed;inset:0;overflow:hidden}.ambient i{filter:blur(100px);border-radius:50%;position:absolute}.ambient i:first-child{background:#42395155;width:700px;height:700px;top:10%;left:-360px}.ambient i:nth-child(2){background:#373e7050;width:700px;height:600px;top:12%;right:-350px}.ambient i:nth-child(3){background:#5d42603b;width:550px;height:250px;bottom:-120px;left:calc(50% - 275px)}#game{flex-direction:column;align-items:center;width:min(1080px,100%);min-height:100svh;margin:auto;padding:30px 32px 34px;transition:opacity .7s;display:flex;position:relative}.masthead{justify-content:space-between;align-items:center;width:100%;margin-bottom:24px;display:flex}.ornament{color:#d8bf92;width:26px;height:26px;display:block}.masthead nav{gap:12px;display:flex}.tool{color:#b5b5c6;background:#ffffff04;border:1px solid #ffffff0b;border-radius:50%;place-items:center;width:40px;height:40px;padding:10px;transition:background .2s,color .2s,border-color .2s;display:grid}.tool.active{color:#d9bd8e;border-color:#d9bd8e55}.sound-off,.muted .sound-waves{display:none}.muted .sound-off{display:block}.loading{animation:1s infinite pulse}.stage{width:min(620px,100%);position:relative}.camera-wrap{aspect-ratio:4/3;isolation:isolate;background:linear-gradient(145deg,#262636,#191d2f 75%);border:1px solid #e2ccae22;border-radius:26px;width:100%;position:relative;overflow:hidden;box-shadow:0 20px 90px #0005,0 0 0 8px #ffffff01}.camera-wrap:after{content:"";border-radius:inherit;pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 0 80px #0b102344}.camera-sheen{pointer-events:none;background:radial-gradient(at 50% 10%,#e1c7a712,#0000 65%);position:absolute;inset:0}video{object-fit:fill;opacity:0;width:100%;height:100%;transition:opacity .6s;transform:scaleX(-1)}.zone{pointer-events:none;border:1px solid #0000;border-radius:18px;width:calc(46% - 10px);transition:background .3s,border-color .3s;position:absolute;top:10px;bottom:10px}.zone.left{left:10px}.zone.right{right:10px}.camera-wrap[data-side=left] .zone.left{background:linear-gradient(150deg,#edbf8410,#0000);border-color:#eac28d3b}.camera-wrap[data-side=right] .zone.right{background:linear-gradient(150deg,#baa7f412,#0000);border-color:#baa7f440}.matching[data-side=left] .zone.left{border-color:#eac28d88}.matching[data-side=right] .zone.right{border-color:#baa7f488}.divider{border-left:1px dashed #e3d4cc15;position:absolute;top:30px;bottom:30px;left:50%}.corner{pointer-events:none;border-style:solid;border-color:#e4cfb04f;width:14px;height:14px;position:absolute}.tl{border-width:1px 0 0 1px;top:22px;left:22px}.tr{border-width:1px 1px 0 0;top:22px;right:22px}.bl{border-width:0 0 1px 1px;bottom:22px;left:22px}.br{border-width:0 1px 1px 0;bottom:22px;right:22px}.camera-light{background:#777285;border-radius:50%;width:5px;height:5px;position:absolute;top:32px;right:30px}.camera-wrap[data-state=on] .camera-light{background:#b7dcac;box-shadow:0 0 9px #b7dcac88}#start{color:#3b2e32;background:linear-gradient(145deg,#f0dbb8,#ba986c);border:1px solid #e9cca580;border-radius:50%;width:78px;height:78px;padding:25px;transition:box-shadow .3s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 12px #eecba407,0 0 0 25px #eecba403,0 10px 50px #0004}#start:hover{box-shadow:0 0 0 15px #eecba40c,0 0 0 32px #eecba405,0 10px 50px #0004}#start svg{transform:translate(2px)}#ghost{opacity:.24;pointer-events:none;width:62px;height:90px;animation:2.6s ease-in-out infinite press-hint;position:absolute;top:39%}#ghost.left{color:#efc68f;left:calc(25% - 31px)}#ghost.right{color:#c4afff;left:calc(75% - 31px)}#ghost>span{width:20px;height:20px;margin:6px auto;display:block}.camera-wrap[data-state=on] #ghost{opacity:.2}.camera-wrap.matching #ghost{opacity:.07}.zone-map{gap:5px;width:46px;display:flex;position:absolute;bottom:16px;left:calc(50% - 23px)}.zone-map span{background:#ffffff18;border-radius:3px;width:21px;height:3px}#camera-message{color:#dfd9d4;text-align:center;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#101421e8;border-radius:12px;width:84%;padding:12px 16px;font-size:12px;line-height:1.65;position:absolute;bottom:36px;left:8%}#skeleton{pointer-events:none;opacity:.5;position:absolute;inset:0}#skeleton polyline{fill:none;stroke:#fff1d4;stroke-width:.28px;stroke-linecap:round;stroke-linejoin:round}#hand-cursor{color:#f2dfc3;pointer-events:none;background:#17192a99;border:1px solid #fff3;border-radius:50%;width:38px;height:38px;padding:9px;position:absolute;transform:translate(-50%,-50%)}#hand-cursor.match{border-color:#edcf9e;box-shadow:0 0 24px #e9cc9c44}#hand-cursor.lift svg{transform:rotate(180deg)}.beat-cue{color:#e7c99c88;justify-content:center;align-items:center;gap:14px;height:61px;display:flex}.beat-cue>i{background:linear-gradient(90deg,#0000,#e1cbb12b);width:34px;height:1px}.beat-cue>i:last-child{transform:rotate(180deg)}#beat-note{width:22px;height:22px;transition:transform .2s;display:block}#beat-note.lift{transform:rotate(180deg)}.hit{animation:.5s ease-out camera-hit}.mismatch .zone{border-color:#ffffff12!important}.score{width:min(760px,100%)}#rail{grid-template-columns:1fr 1.25fr 1fr 1fr;align-items:center;gap:20px;min-height:204px;padding:10px 0;display:grid}.note-card{--accent:#eabf89;height:160px;color:var(--accent);background:linear-gradient(155deg,#ffffff07,#ffffff01);border:1px solid #e3cdac15;border-radius:21px;flex-direction:column;justify-content:center;align-items:center;padding:15px;transition:border-color .25s;display:flex;position:relative;box-shadow:0 10px 30px #00000010}.note-card.right{--accent:#baa7f4}.note-card .hand{opacity:.62;width:72px;height:72px;display:block}.note-card .position{gap:4px;width:42px;margin-top:13px;display:flex}.position i{border:1px solid #eee3d42b;border-radius:2px;width:19px;height:5px}.position i.selected{background:var(--accent);border-color:var(--accent)}.card-top{width:14px;height:14px;position:absolute;top:11px;left:13px}.card-top i{opacity:.5;background:currentColor;border-radius:50%;width:3px;height:3px;display:block}.current{background:radial-gradient(at 50% 0,#ecc79017,#0000 80%),linear-gradient(155deg,#30303f,#222535);border-color:#ebc89370;height:190px;box-shadow:0 0 40px #ecc79009,0 16px 35px #0003}.current.right{background:radial-gradient(at 50% 0,#baa7f41c,#0000 80%),linear-gradient(155deg,#30303f,#222535);border-color:#baa7f470}.current .hand{opacity:1;filter:drop-shadow(0 3px 8px #0004);width:88px;height:88px}.current .card-top{width:6px;height:6px;top:12px;left:calc(50% - 3px)}.current .card-top i{opacity:1;width:5px;height:5px;box-shadow:0 0 8px}.current .position{margin-top:10px}.card-press{opacity:.6;width:17px;height:17px;position:absolute;bottom:12px;right:12px}.previous{opacity:.32;transform:scale(.94)}.upcoming{opacity:.6}.empty{box-shadow:none;background:0 0;border-style:dashed}.empty-spark{color:#e4c6a1;opacity:.2;width:18px;height:18px}#progress{justify-content:center;align-items:center;gap:8px;height:10px;margin-top:30px;display:flex}#progress i{background:#e4d3c425;border-radius:50%;width:4px;height:4px;transition:background .2s,box-shadow .2s}#progress i.now{background:#e8d2af;width:6px;height:6px;box-shadow:0 0 9px #ebcc9a99}#celebration{z-index:10;background:radial-gradient(at 50% 45%,#30283e,#111725 75%);flex-direction:column;justify-content:center;align-items:center;animation:1s both appear;display:flex;position:fixed;inset:0;overflow:hidden}#fireworks{width:100%;height:100%;position:absolute;inset:0}.birthday-halo{filter:blur(20px);background:radial-gradient(circle,#eab39216,#0000 70%);border-radius:50%;width:75vmin;height:75vmin;position:absolute}#birthday-art,#birthday-fallback{filter:drop-shadow(0 15px 30px #0c102d66);width:min(84vw,920px);height:auto;animation:1.3s cubic-bezier(.16,1,.3,1) both birthday-in;position:relative}#replay{color:#e2c7a0;background:#ffffff05;border-color:#e2c7a033;width:52px;height:52px;padding:15px;position:absolute;bottom:max(9vh,36px)}@keyframes press-hint{0%,20%,80%,to{transform:translateY(-7px)}45%,60%{transform:translateY(9px)}}@keyframes camera-hit{0%{box-shadow:0 0 0 2px #edc99d88,0 0 65px #ebc99530}to{box-shadow:0 0 #edc99d00,0 20px 90px #0005}}@keyframes pulse{50%{opacity:.4}}@keyframes appear{0%{opacity:0}to{opacity:1}}@keyframes birthday-in{0%{opacity:0;transform:translateY(25px)scale(.84)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width>=900px) and (height<=850px){#game{padding-top:20px}.masthead{margin-bottom:14px}.stage{width:min(520px,133.3svh - 433.225px)}.beat-cue{height:45px}.note-card{height:132px}.current{height:162px}#rail{min-height:172px}#progress{margin-top:20px}}@media (width<=600px){#game{justify-content:flex-start;padding:22px 20px 35px}.masthead{margin-bottom:55px}.masthead nav{gap:9px}.tool{width:36px;height:36px;padding:9px}.ornament{width:23px;height:23px}.camera-wrap{border-radius:21px}.stage{width:100%}.beat-cue{height:64px}#rail{gap:9px;min-height:155px}.note-card{border-radius:14px;height:119px;padding:10px 5px}.note-card .hand{width:47px;height:52px}.current{height:146px}.current .hand{width:59px;height:66px}.note-card .position{gap:3px;width:31px;margin-top:12px}.position i{width:14px;height:4px}.card-top{width:11px;height:11px;top:9px;left:8px}.card-press{width:12px;height:12px;bottom:7px;right:7px}#progress{gap:7px;margin-top:28px}#start{width:66px;height:66px;padding:22px}#ghost{width:48px;height:70px;top:35%}#ghost>svg{height:48px}#ghost.left{left:calc(25% - 24px)}#ghost.right{left:calc(75% - 24px)}#birthday-art,#birthday-fallback{width:94vw}#camera-message{padding:9px 10px;font-size:11px;bottom:30px}.corner{width:10px;height:10px}.camera-light{top:25px;right:24px}}@media (width<=600px) and (height<=740px){.masthead{margin-bottom:25px}.beat-cue{height:42px}#progress{margin-top:20px}}.zone>span{letter-spacing:.12em;text-align:center;color:#ffffff42;width:100%;font-size:11px;position:absolute;top:13px;left:0}.note-card .position-map{border:1px solid #eee3d43a;border-radius:5px;flex-shrink:0;width:64px;height:29px;margin-top:7px;display:block;position:relative;overflow:hidden}.position-map>i{border-left:1px dashed #eee3d43a;position:absolute;top:0;bottom:0;left:50%}.position-map>span{width:24px;height:24px;position:absolute;top:2px}.position-map[data-side=left]>span{left:3px}.position-map[data-side=right]>span{right:3px}.position-map:before{content:"";background:var(--accent);opacity:.13;width:50%;height:100%;position:absolute;left:0}.position-map[data-side=right]:before{left:50%}.position-label{letter-spacing:.06em;white-space:nowrap;color:var(--accent);margin-top:7px;font-size:12px}.current .hand{width:76px;height:76px}.note-card:not(.current) .hand{width:60px;height:60px}#live-pose{color:#b8bccd;background:#151a2dcc;border:1px solid #ffffff25;border-radius:9px;width:38px;height:38px;padding:5px;position:absolute;bottom:25px;left:24px}#live-pose.match{color:#e9c995;border-color:#e9c99588;box-shadow:0 0 18px #e9c99522}#hand-cursor.match{background:conic-gradient(#e9c995 var(--hold),#17192acc 0)}@media (width<=600px){.position-label{letter-spacing:0;margin-top:5px;font-size:10px}.note-card .position-map{width:46px;height:22px;margin-top:5px}.position-map>span{width:18px;height:18px;top:1px}.position-map[data-side=left]>span{left:2px}.position-map[data-side=right]>span{right:2px}.current .hand{width:51px;height:55px}.note-card:not(.current) .hand{width:39px;height:43px}.zone>span{letter-spacing:.04em;font-size:10px;top:12px}#live-pose{width:30px;height:30px;bottom:22px;left:21px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}#ghost{animation:2.2s ease-in-out infinite hold-hint}#ghost>svg{height:62px}.position-map{margin-top:12px!important}.needs-unlock{color:#eed0a0;border-color:#eed0a066}#beat-note{width:23px;height:23px}@keyframes hold-hint{0%,to{opacity:.2}50%{opacity:.42}}@media (width<=600px){#ghost>svg{height:48px}.position-map{margin-top:9px!important}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--left-hand:#b94f24;--right-hand:#285fbd}body{color:#365b65;background:#dceef2;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}body:before{content:"";z-index:-1;background:url(../art/sunlit-meadow.png) 50%/cover no-repeat;position:fixed;inset:0}body:after,.ambient{display:none}button:focus-visible{outline-offset:6px;outline:3px solid #3c8195}#welcome{background:linear-gradient(90deg,#0000,#effaff44 50%,#0000);place-items:center;min-height:100svh;padding:40px 20px;display:grid;position:relative}.welcome-content{text-align:center;flex-direction:column;align-items:center;gap:40px;width:min(660px,100%);display:flex}.hand-guide{justify-content:center;gap:28px;width:100%;display:flex}.guide-hand{--guide:var(--left-hand);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:linear-gradient(145deg,#fffdfbed,#fff0e6ed);border:1px solid #fff;border-radius:32px;width:224px;padding:28px 24px 24px;box-shadow:0 10px 35px #668e9020}.guide-hand.right{--guide:var(--right-hand);background:linear-gradient(145deg,#f8fbffed,#e6efffed)}.guide-palm{width:86px;height:86px;color:var(--guide);margin:auto}.guide-hand h2{color:var(--guide);letter-spacing:.15em;margin:12px 0 5px;font-size:22px;font-weight:600}.guide-hand p{color:#61797b;margin:0;font-size:12px}.guide-poses{color:var(--guide);border-top:1px solid #6c88921c;justify-content:center;gap:12px;margin-top:20px;padding-top:16px;display:flex}.guide-poses svg{width:35px;height:35px}#open-gift{color:#355f67;background:0 0;border:0;border-radius:35px;flex-direction:column;align-items:center;padding:8px 20px;display:inline-flex}.gift-bubble{background:radial-gradient(circle at 28% 22%,#fff,#ffffff30 30%,#c9e9fc55 65%,#fff9);border:2px solid #fff9;border-radius:50%;width:112px;height:112px;padding:14px;transition:scale .25s;animation:3.8s ease-in-out infinite gift-float;display:block;position:relative;box-shadow:inset -5px -6px 15px #fff9,0 10px 30px #668d9c30}.gift-bubble:before{content:"";background:#fff9;border-radius:50%;width:24px;height:11px;position:absolute;top:12px;left:18px;transform:rotate(-35deg)}#open-gift:hover .gift-bubble{scale:1.08}.gift-label{letter-spacing:.08em;color:#285b65;background:#f4fbf8;border:1px solid #fff;border-radius:24px;margin-top:18px;padding:11px 22px;font-size:14px;font-weight:600;box-shadow:0 4px 18px #356c7920}@keyframes gift-float{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-8px)rotate(3deg)}}.ornament{color:#658c83}.tool{color:#476c77;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f7fcffb0;border-color:#ffffffb0;box-shadow:0 3px 14px #44717d10}.tool:hover{color:#315969;background:#fff;border-color:#fff}.tool.active,.needs-unlock{color:#4a8192;border-color:#6b9d9c88}.camera-wrap{background:linear-gradient(135deg,#d5e8ea,#a9cbd1);border:3px solid #ffffffe6;border-radius:30px;box-shadow:0 18px 65px #396d842a,0 0 0 7px #ffffff30}.camera-wrap:after{box-shadow:inset 0 0 60px #668b9410}.camera-wrap[data-state=on] video{opacity:1}.camera-wrap[data-side=left] .zone.left,.matching[data-side=left] .zone.left{background:linear-gradient(135deg,#ffb57920,#0000);border-color:#ffb579e6}.camera-wrap[data-side=right] .zone.right,.matching[data-side=right] .zone.right{background:linear-gradient(135deg,#79afff20,#0000);border-color:#79afffe6}.zone>span{text-shadow:0 1px 5px #244356}.camera-wrap[data-side=left] .zone.left>span{color:#ffe0bf}.camera-wrap[data-side=right] .zone.right>span{color:#cbe1ff}.beat-cue{color:#517f82}.beat-cue>i{background:linear-gradient(90deg,#0000,#588d8c60)}.note-card{--accent:var(--left-hand);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fff8f3f5;border-color:#ffffffdc;box-shadow:0 8px 25px #487e871c}.note-card.right{--accent:var(--right-hand);background:#eef4fff5}.note-card.current{border:2px solid var(--left-hand);background:linear-gradient(145deg,#fffefd,#fff0e5);box-shadow:0 10px 30px #416f7825,0 0 0 5px #ffffff80}.note-card.current.right{border-color:var(--right-hand);background:linear-gradient(145deg,#fbfdff,#e5efff)}.current .hand{filter:none}.note-card .position-map,.position-map>i{border-color:#72909c55}.previous{opacity:.65}.note-card.upcoming,.note-card.upcoming .hand{opacity:1}.empty{background:#ffffff20;border-color:#ffffff9c}.empty-spark{color:#56888d;opacity:.5}#rail.ready .current{border-color:var(--accent)}#rail.ready .current .card-top i{background:#518d72;box-shadow:0 0 10px #83c19c}#progress i{background:#527c7940}#progress i.done{background:#5b9484}#progress i.now{background:#397c70;box-shadow:0 0 0 3px #fff8}#celebration{background:linear-gradient(#d7f2fa55,#edf7e877),url(../art/sunlit-meadow.png) 50%/cover}#birthday-art,#birthday-fallback{filter:drop-shadow(0 12px 25px #456b7350)}#replay{color:#426e78;background:#ffffffc9;border-color:#fff}@media (width<=600px){#welcome{padding:32px 18px}.welcome-content{gap:30px}.hand-guide{gap:14px}.guide-hand{border-radius:26px;width:160px;padding:20px 12px 18px}.guide-palm{width:70px;height:70px}.guide-hand h2{font-size:20px}.guide-poses{gap:6px}.guide-poses svg{width:30px;height:30px}.gift-bubble{width:100px;height:100px}#game .masthead{margin-bottom:36px}.camera-wrap{border-radius:23px}}@media (height<=720px){#welcome{padding-block:22px}.welcome-content{gap:26px}.guide-hand{padding-block:16px}.guide-palm{width:60px;height:60px}.guide-poses{margin-top:12px;padding-top:10px}.gift-bubble{width:88px;height:88px;padding:10px}}#ghost.left{color:#ffb579}#ghost.right{color:#79afff}.camera-wrap[data-side=left] .zone-map span:first-child{background:#f18b49}.camera-wrap[data-side=right] .zone-map span:last-child{background:#558de4}
