:root{font-family:Yu Mincho,Hiragino Mincho ProN,"Noto Serif CJK JP",MS PMincho,serif;color:#345452;background:#e5f1f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{overscroll-behavior:none}button{font:inherit;color:inherit}button,svg{-webkit-tap-highlight-color:transparent}.game{position:relative;isolation:isolate;width:100%;height:100svh;height:100dvh;min-height:320px;overflow:hidden;touch-action:manipulation;user-select:none;-webkit-user-select:none}.sky{position:absolute;z-index:-3;inset:0;overflow:hidden;background:linear-gradient(165deg,#dcecf3,#e5f1f5 48%,#f3f5e9)}.sky:after{content:"";position:absolute;inset:0;background:#8099ac;opacity:0;transition:opacity 2.5s ease}.sky-rainy:after{opacity:.22}.sky-haze{position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#f5f5e8a6)}.page-frame{position:absolute;z-index:-2;inset:18px;border:1px solid #ffffff91;border-radius:3px;pointer-events:none}.quiet-scene{position:absolute;z-index:1;width:min(clamp(290px,28vw,370px),45vh);top:50%;left:50%;transform:translate(-50%,-50%)}.hanging-toy{position:relative;width:100%}.hanging-toy:before{content:"";position:absolute;width:1px;height:100vh;bottom:calc(100% - 2px);left:50%;background:#8ca3a1;opacity:.75;pointer-events:none}.teru-button{position:relative;display:block;width:100%;padding:0;border:0;border-radius:45%;background:none;cursor:pointer;touch-action:none;-webkit-touch-callout:none;outline:none}.teru-button:focus-visible{outline:2px dashed #668c7d;outline-offset:5px}.teru-svg{display:block;width:100%;overflow:visible;filter:drop-shadow(4px 11px 7px #6f8b7e12)}.toy-shadow{position:absolute;width:90px;height:10px;left:50%;bottom:14px;transform:translate(-50%);border-radius:50%;background:#6d8e7e18;filter:blur(6px);pointer-events:none}.mood{margin:12px 0 0;text-align:center;font-size:1rem;font-weight:400;line-height:2;letter-spacing:.24em;color:#536f6d;white-space:nowrap;pointer-events:none}.tear{opacity:0;transform-box:fill-box;transform-origin:center top;animation:tear-drop 1.25s ease-in infinite}.tear-right{animation-delay:-.625s}.spin-stats{position:absolute;z-index:1;left:50%;bottom:max(28px,calc(env(safe-area-inset-bottom) + 14px));transform:translate(-50%);display:flex;gap:28px;margin:0;padding:8px 18px;text-align:center;color:#536f6d}.spin-stat{min-width:92px}.spin-stat dt{font-size:.875rem;line-height:1.5;white-space:nowrap}.spin-stat dd{margin:3px 0 0;font-size:1.25rem;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.spin-stat small{margin-left:6px;font-size:.75rem}.sun{position:absolute;width:76px;height:76px;top:20%;right:16%;border-radius:50%;background:#f6eab3;box-shadow:0 0 0 18px #f9eeb321,0 0 75px 30px #f9eeb335;transition:opacity 2.5s ease}.sun span{position:absolute;inset:-31px}.sun span:before,.sun span:after{content:"";position:absolute;width:1px;height:9px;background:#c5b9708c;left:50%}.sun span:before{top:0}.sun span:after{bottom:0}.sun span:nth-child(2){transform:rotate(45deg)}.sun span:nth-child(3){transform:rotate(90deg)}.sun span:nth-child(4){transform:rotate(135deg)}.sky-rainy .sun{opacity:0}.cloud{position:absolute;color:#fff;opacity:.59;animation:cloud-drift 80s ease-in-out infinite alternate;will-change:transform;transition:color 2.5s ease}.sky-rainy .cloud{color:#d8e2e6}.cloud-one{top:11%;left:-6%;width:280px;opacity:.5;animation-duration:76s}.cloud-two{top:33%;right:-5%;width:290px;animation-delay:-25s;animation-duration:95s}.cloud-three{top:65%;left:6%;width:190px;opacity:.5;animation-delay:-45s}.cloud-four{top:74%;right:20%;width:130px;opacity:.44;animation-duration:110s;animation-delay:-15s}.distant-birds{position:absolute;top:22%;left:39%;width:75px;color:#7f9c9d;opacity:.55;transition:opacity 2.5s ease}.sky-rainy .distant-birds{opacity:.15}.rain{position:absolute;z-index:-1;inset:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity 1.5s ease}.rain[data-active=true]{opacity:1}.rain-drop{position:absolute;top:-40px;width:1px;background:linear-gradient(transparent,#6d8d9f);animation:rainfall linear infinite;animation-play-state:paused}.rain-drop:nth-child(1){left:0%;height:14px;opacity:.16;animation-duration:1.5s;animation-delay:0s}.rain-drop:nth-child(2){left:37%;height:19px;opacity:.205;animation-duration:1.66s;animation-delay:-.37s}.rain-drop:nth-child(3){left:74%;height:24px;opacity:.25;animation-duration:1.82s;animation-delay:-.74s}.rain-drop:nth-child(4){left:7%;height:29px;opacity:.295;animation-duration:1.98s;animation-delay:-1.11s}.rain-drop:nth-child(5){left:44%;height:34px;opacity:.16;animation-duration:2.14s;animation-delay:-1.48s}.rain-drop:nth-child(6){left:81%;height:14px;opacity:.205;animation-duration:2.3s;animation-delay:-1.85s}.rain-drop:nth-child(7){left:14%;height:19px;opacity:.25;animation-duration:2.46s;animation-delay:-2.22s}.rain-drop:nth-child(8){left:51%;height:24px;opacity:.295;animation-duration:2.62s;animation-delay:-2.59s}.rain-drop:nth-child(9){left:88%;height:29px;opacity:.16;animation-duration:1.5s;animation-delay:-2.96s}.rain-drop:nth-child(10){left:21%;height:34px;opacity:.205;animation-duration:1.66s;animation-delay:-3.33s}.rain-drop:nth-child(11){left:58%;height:14px;opacity:.25;animation-duration:1.82s;animation-delay:-3.7s}.rain-drop:nth-child(12){left:95%;height:19px;opacity:.295;animation-duration:1.98s;animation-delay:-4.07s}.rain-drop:nth-child(13){left:28%;height:24px;opacity:.16;animation-duration:2.14s;animation-delay:-4.44s}.rain-drop:nth-child(14){left:65%;height:29px;opacity:.205;animation-duration:2.3s;animation-delay:-4.81s}.rain-drop:nth-child(15){left:2%;height:34px;opacity:.25;animation-duration:2.46s;animation-delay:-5.18s}.rain-drop:nth-child(16){left:39%;height:14px;opacity:.295;animation-duration:2.62s;animation-delay:-5.55s}.rain-drop:nth-child(17){left:76%;height:19px;opacity:.16;animation-duration:1.5s;animation-delay:-5.92s}.rain-drop:nth-child(18){left:9%;height:24px;opacity:.205;animation-duration:1.66s;animation-delay:-6.29s}.rain-drop:nth-child(19){left:46%;height:29px;opacity:.25;animation-duration:1.82s;animation-delay:-6.66s}.rain-drop:nth-child(20){left:83%;height:34px;opacity:.295;animation-duration:1.98s;animation-delay:-7.03s}.rain-drop:nth-child(21){left:16%;height:14px;opacity:.16;animation-duration:2.14s;animation-delay:-7.4s}.rain-drop:nth-child(22){left:53%;height:19px;opacity:.205;animation-duration:2.3s;animation-delay:-7.77s}.rain-drop:nth-child(23){left:90%;height:24px;opacity:.25;animation-duration:2.46s;animation-delay:-8.14s}.rain-drop:nth-child(24){left:23%;height:29px;opacity:.295;animation-duration:2.62s;animation-delay:-8.51s}.rain-drop:nth-child(25){left:60%;height:34px;opacity:.16;animation-duration:1.5s;animation-delay:-8.88s}.rain-drop:nth-child(26){left:97%;height:14px;opacity:.205;animation-duration:1.66s;animation-delay:-9.25s}.rain-drop:nth-child(27){left:30%;height:19px;opacity:.25;animation-duration:1.82s;animation-delay:-9.62s}.rain-drop:nth-child(28){left:67%;height:24px;opacity:.295;animation-duration:1.98s;animation-delay:-9.99s}.rain-drop:nth-child(29){left:4%;height:29px;opacity:.16;animation-duration:2.14s;animation-delay:-10.36s}.rain-drop:nth-child(30){left:41%;height:34px;opacity:.205;animation-duration:2.3s;animation-delay:-10.73s}.rain-drop:nth-child(31){left:78%;height:14px;opacity:.25;animation-duration:2.46s;animation-delay:-11.1s}.rain-drop:nth-child(32){left:11%;height:19px;opacity:.295;animation-duration:2.62s;animation-delay:-11.47s}.rain-drop:nth-child(33){left:48%;height:24px;opacity:.16;animation-duration:1.5s;animation-delay:-11.84s}.rain-drop:nth-child(34){left:85%;height:29px;opacity:.205;animation-duration:1.66s;animation-delay:-12.21s}.rain-drop:nth-child(35){left:18%;height:34px;opacity:.25;animation-duration:1.82s;animation-delay:-12.58s}.rain-drop:nth-child(36){left:55%;height:14px;opacity:.295;animation-duration:1.98s;animation-delay:-12.95s}.rain-drop:nth-child(37){left:92%;height:19px;opacity:.16;animation-duration:2.14s;animation-delay:-13.32s}.rain-drop:nth-child(38){left:25%;height:24px;opacity:.205;animation-duration:2.3s;animation-delay:-13.69s}.rain-drop:nth-child(39){left:62%;height:29px;opacity:.25;animation-duration:2.46s;animation-delay:-14.06s}.rain-drop:nth-child(40){left:99%;height:34px;opacity:.295;animation-duration:2.62s;animation-delay:-14.43s}.rain-drop:nth-child(41){left:32%;height:14px;opacity:.16;animation-duration:1.5s;animation-delay:-14.8s}.rain-drop:nth-child(42){left:69%;height:19px;opacity:.205;animation-duration:1.66s;animation-delay:-15.17s}.rain-drop:nth-child(43){left:6%;height:24px;opacity:.25;animation-duration:1.82s;animation-delay:-15.54s}.rain-drop:nth-child(44){left:43%;height:29px;opacity:.295;animation-duration:1.98s;animation-delay:-15.91s}.rain[data-active=true] .rain-drop{animation-play-state:running}@keyframes cloud-drift{0%{transform:translate(-25px)}to{transform:translate(110px)}}@keyframes rainfall{0%{transform:translateZ(0) rotate(6deg)}to{transform:translate3d(-8vw,calc(100dvh + 80px),0) rotate(6deg)}}@keyframes tear-drop{0%{transform:translateY(0) scale(.7);opacity:.35}15%{transform:translateY(0) scale(1);opacity:.95}70%{transform:translateY(21px);opacity:.9}to{transform:translateY(33px);opacity:0}}@media(max-width:760px){.page-frame{inset:10px}.quiet-scene{width:min(78vw,310px,45vh)}.mood{margin-top:10px;letter-spacing:.2em}.sun{width:47px;height:47px;right:13%;top:22%}.sun span{inset:-19px}.sun span:before,.sun span:after{height:6px}.cloud-one{width:170px;top:24%;left:-20%}.cloud-two{width:150px;top:45%;right:-24%}.cloud-three{width:135px;top:62%;left:-20%}.cloud-four{width:85px;top:82%;right:-12%}.distant-birds{top:28%;left:14%;width:55px}}@media(max-height:500px){.quiet-scene{width:min(45vh,230px);top:44%}.mood{margin-top:4px}.sun{width:40px;height:40px}.spin-stat{display:flex;align-items:baseline;gap:8px}.spin-stat dd{margin:0}}@media(prefers-reduced-motion:reduce){.cloud,.tear,.rain-drop{animation:none}.tear{opacity:.85;transform:translateY(5px)}.rain-drop{top:25%;transform:rotate(6deg)}.rain-drop:nth-child(3n){top:55%}.rain-drop:nth-child(3n+1){top:80%}.rain,.sky:after,.sun,.cloud,.distant-birds{transition:none}}
