:root{font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif;color:#f2f4de;background:#122c2b;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input{font:inherit}button{cursor:pointer;border:0;color:inherit;touch-action:none}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible{outline:2px solid #cff18b;outline-offset:4px}#game{position:fixed;top:0;right:0;bottom:0;left:0}#game canvas{display:block;touch-action:none}#app{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none}#app button,#app input,#app form{pointer-events:auto}.menu{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;background:linear-gradient(90deg,#0f2422f5,#122c27db 41%,#1a322847);padding:40px 6vw}.brand{font-size:21px;font-weight:800;letter-spacing:2px;display:flex;align-items:center;gap:14px}.brand-mark{letter-spacing:7px;border:2px solid #c4e590;border-radius:13px;color:#c4e590;font-size:11px;padding:3px 3px 3px 9px;transform:rotate(-8deg)}.tag{font-size:10px;letter-spacing:2.2px;font-weight:400;color:#98b5a4;border-left:1px solid #486456;padding-left:15px}.hero{margin-top:7vh;position:relative;z-index:2;width:510px}.eyebrow{color:#b5d790;font-size:12px;letter-spacing:2px;display:flex;align-items:center;gap:10px}.eyebrow>span{width:6px;height:6px;border-radius:100%;background:#c4e590}h1{font-size:clamp(38px,4.3vw,70px);font-weight:800;line-height:1.3;letter-spacing:-2px;margin:22px 0 20px}h1 span{color:#c4e590}.intro{font-size:14px;line-height:1.9;color:#afc3b1;letter-spacing:.7px;margin-bottom:28px}.room-card{width:350px;background:#1b3a30c9;border:1px solid #58745161;border-radius:18px;padding:20px;box-shadow:0 15px 50px #081e2820;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}label{display:block;font-size:11px;color:#bfd0b4;margin-bottom:9px;letter-spacing:1.5px}input{display:block;background:#122d27;color:#edf4de;border:1px solid #66845c55;border-radius:8px;padding:12px 13px;font-size:13px;width:100%;outline:none}input::placeholder{color:#809779}.primary{display:flex;align-items:center;justify-content:space-between;background:#c6e991;color:#244132;border-radius:9px;padding:14px 18px;width:100%;font-size:14px;font-weight:700;margin-top:13px;transition:background .2s,transform .2s}.primary:hover{background:#dcf6b3;transform:translateY(-1px)}.primary span{font-size:21px}.join-row{display:flex;gap:10px;margin-top:13px}.join-row input{min-width:0;width:57%}.join-row button{background:transparent;color:#d2e3be;font-size:12px;white-space:nowrap;padding:8px}.room-card #message{font-size:11px;color:#eccca1;margin:8px 0 0;min-height:0}.room-card #message:empty{display:none}.little-note{font-size:11px;color:#91ad97;margin-top:15px}.little-note span{color:#dce9ac;padding-right:5px}footer{position:absolute;left:6vw;right:6vw;bottom:26px;display:flex;justify-content:space-between;color:#8da891;font-size:10px;letter-spacing:.5px;gap:20px}.hero-frog{position:absolute;left:67%;top:47%;width:200px;height:153px;background:#bddf79;border-radius:48% 48% 43% 43%;box-shadow:inset -13px -14px #a6c763;transform:rotate(-9deg);filter:drop-shadow(5px 25px 6px #0c271d55);animation:bob 3s ease-in-out infinite}.frog-eye{position:absolute;top:-28px;width:68px;height:76px;border-radius:50%;background:#c2e681;border:15px solid #c2e681;box-shadow:inset 0 0 0 13px #f1f7d7}.frog-eye:after{content:"";position:absolute;left:14px;top:14px;background:#263d32;width:13px;height:21px;border-radius:50%}.eye-l{left:23px}.eye-r{right:23px}.frog-cheek{position:absolute;top:75px;width:31px;height:12px;border-radius:50%;background:#e6ad85aa}.cheek-l{left:18px}.cheek-r{right:18px}.frog-mouth{position:absolute;left:76px;top:80px;width:50px;height:25px;border:3px solid #48713d;border-top:0;border-radius:0 0 50% 50%}.frog-foot{position:absolute;bottom:-8px;width:67px;height:27px;border-radius:50%;background:#adcd69}.foot-l{left:-18px;transform:rotate(-10deg)}.foot-r{right:-18px;transform:rotate(10deg)}.speech{position:absolute;top:33%;left:62%;font-size:13px;letter-spacing:1px;background:#dce9b9;color:#38533a;border-radius:18px 18px 2px;padding:16px 22px;transform:rotate(-7deg)}.speech span{padding-left:12px}.hero-number{position:absolute;bottom:19%;right:9%;font-size:39px;font-weight:400;color:#d7e7ad}.hero-number span{font-size:12px;color:#b5c9a7}.hud{display:flex;justify-content:space-between;align-items:center;padding:22px max(26px,env(safe-area-inset-right)) 20px max(26px,env(safe-area-inset-left));gap:10px;background:linear-gradient(#142f2be0,transparent)}.hud-left,.hud-right{display:flex;align-items:center;gap:17px}.round{width:38px;height:38px;border-radius:50%;background:#ffffff15;font-size:30px;line-height:20px}.level{display:grid;gap:6px}.level small{font-size:10px;color:#b2c7a7;letter-spacing:2px}.level strong{font-size:13px;font-weight:500}.hud-right{font-size:11px;color:#bacdb0;gap:14px}.stars{color:#efd58e;font-size:16px;white-space:nowrap}.room-code{background:#284c3bdc;border:1px solid #7ca16855;border-radius:30px;padding:10px 16px;font-size:12px;white-space:nowrap}.room-code b{letter-spacing:2px;padding:0 6px;color:#e2edc8}.room-code span{font-size:10px;color:#9abf8c}#ping{font-size:10px;min-width:40px}.hint{position:absolute;top:90px;left:50%;transform:translate(-50%);font-size:12px;letter-spacing:.5px;color:#d5e6bd;background:#1a392dbb;padding:10px 20px;border-radius:30px;white-space:nowrap}#toast{position:absolute;top:142px;left:50%;transform:translate(-50%);font-size:13px;color:#eff5d9;background:#335741;padding:10px 20px;border-radius:12px}#toast:empty{display:none}.controls{position:absolute;bottom:max(28px,env(safe-area-inset-bottom));left:max(30px,env(safe-area-inset-left));right:max(30px,env(safe-area-inset-right));display:flex;justify-content:space-between;align-items:flex-end;pointer-events:none}.move-controls,.action-controls{display:flex;gap:14px;align-items:center}.controls button{width:64px;height:64px;border-radius:50%;background:#234735a8;border:1px solid #c5e2ad4d;color:#e3efc2;font-size:21px;box-shadow:0 4px 20px #0b221d33;user-select:none;-webkit-user-select:none}.controls button.pressed,.controls button:active{background:#b3d985;color:#294531;transform:scale(.95)}.controls .jump{width:76px;height:76px;background:#b6d884d9;color:#294531;font-weight:700}.controls .throw{width:76px;height:76px;font-size:15px;background:#648778bc}.controls .eat{font-size:18px}.controls small{display:block;font-size:9px;font-weight:400;opacity:.7;margin-top:3px}.respawn{position:absolute;bottom:22px;left:50%;transform:translate(-50%);background:transparent;color:#aac59b;font-size:10px;padding:10px}.complete{position:absolute;top:0;right:0;bottom:0;left:0;background:#102b22bb;display:grid;place-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:auto}.hidden{display:none!important}.complete-card{width:400px;max-width:90vw;background:#214634;border:1px solid #91b87c6b;border-radius:24px;padding:40px}.complete-card h2{font-size:27px;letter-spacing:-1px}.complete-card p{color:#bad0ae;font-size:13px;line-height:1.8;margin-bottom:30px}.text-button{width:100%;padding:13px;background:transparent;font-size:12px;color:#b7c9aa}@keyframes bob{50%{transform:translateY(-12px) rotate(-5deg)}}@media(max-height:760px)and (min-width:901px){.menu{padding-top:26px}.hero{margin-top:4vh}h1{font-size:52px;margin:14px 0}.intro{margin-bottom:18px;font-size:12px}.room-card{padding:16px}.little-note{margin-top:10px}footer{bottom:18px}}@media(max-width:900px)and (orientation:landscape){.menu{padding:18px 5vw}.brand{font-size:15px;gap:10px}.tag{font-size:8px}.hero{margin-top:20px;width:50%;max-width:390px}.eyebrow{font-size:9px}h1{font-size:35px;margin:12px 0;line-height:1.2}.intro{font-size:10px;margin:0 0 12px}.room-card{position:absolute;left:100%;top:15px;margin-left:8vw;width:280px;padding:16px}.little-note{font-size:9px}.hero-frog,.speech,.hero-number{display:none}footer{bottom:12px;font-size:8px}.hud{padding:12px 20px}.level small{font-size:8px}.level strong{font-size:10px}.hud-right{gap:9px;font-size:9px}.room-code{padding:8px 12px}.hint{top:64px;font-size:10px;padding:7px 14px}.controls{bottom:18px;left:24px;right:24px}.controls button{width:52px;height:52px}.controls .throw,.controls .jump{width:62px;height:62px}.respawn{bottom:10px}}@media(orientation:portrait){.menu{padding:26px 7vw;background:linear-gradient(145deg,#142f2bf7,#1b3b31d9)}.brand{font-size:17px}.tag{font-size:8px}.hero{width:100%;margin-top:8vh}h1{font-size:44px}.intro{font-size:12px}.room-card{width:100%;max-width:360px}.hero-frog,.speech,.hero-number{display:none}footer{position:static;display:block;margin-top:30px;line-height:2}footer span{display:block}.hud{padding:14px 12px;align-items:flex-start}.level strong{display:none}.hud-left{gap:8px}.hud-right{flex-wrap:wrap;gap:8px;justify-content:flex-end;max-width:220px}#ping{display:none}.room-code{padding:8px 10px}.hint{font-size:10px;padding:8px 10px;max-width:95vw;white-space:normal;text-align:center}.controls{left:12px;right:12px;bottom:32px}.move-controls,.action-controls{gap:8px}.controls button{width:44px;height:44px}.controls .throw,.controls .jump{width:53px;height:53px;font-size:14px}.controls small{font-size:8px}.respawn{bottom:7px}}.hero-frog.frog-a-hero{width:260px;height:260px;top:37%;left:64%;background:none;border-radius:0;box-shadow:none}.frog-a-hero img{display:block;width:100%;height:100%;object-fit:contain}html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;top:0;right:0;bottom:0;left:0}body.is-playing,body.is-playing #app,body.is-playing #game{touch-action:none;overscroll-behavior:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}body.is-playing img,body.is-playing canvas{-webkit-user-drag:none}.menu{overscroll-behavior:contain;touch-action:pan-y}.menu input{user-select:text;-webkit-user-select:text;touch-action:manipulation}.controls button:disabled,.controls button:disabled:active{opacity:.4;filter:grayscale(1);background:#213c32;color:#91a197;border-color:#80938555;box-shadow:none;cursor:not-allowed;transform:none}.controls .move-stick,.controls .move-stick:active{position:relative;width:96px;height:96px;padding:0;flex:none;transform:none;background:#234735c9;color:#e3efc2;border:1px solid #c5e2ad70;box-shadow:inset 0 0 0 6px #c5e2ad08,0 4px 20px #0b221d33}.controls .move-stick.pressed{background:#2f5745df;border-color:#c5e2adb3;color:#e3efc2;transform:none}.move-stick:before{content:"";position:absolute;left:12px;right:12px;top:50%;height:1px;background:#c5e2ad30}.stick-arrow{position:absolute;z-index:1;top:50%;transform:translateY(-50%);font-size:15px;line-height:1;text-shadow:0 1px 3px #0b221dcc;pointer-events:none}.stick-left{left:8px}.stick-right{right:8px}.stick-knob{position:absolute;top:50%;left:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:#b6d884e8;border:1px solid #d6ecc0;box-shadow:0 3px 8px #102b2259;transform:translate(var(--stick-x,0px));pointer-events:none}@media(max-width:900px)and (orientation:landscape){.controls .move-stick,.controls .move-stick:active{width:88px;height:88px}}@media(orientation:portrait){.controls .move-stick,.controls .move-stick:active{width:80px;height:80px}}.main-menu{isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:max(5vh,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));overflow:hidden;background:#315342;pointer-events:auto}.menu-cover{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.menu-logo{margin:0;width:min(640px,49vw);height:auto;max-height:42vh;flex:none;object-fit:contain;text-align:center;font-size:clamp(48px,8vw,92px);font-weight:900;line-height:1.25;color:#f4e4a5;text-shadow:0 5px 0 #244936,0 10px 22px #18382f80;letter-spacing:5px}.menu-actions{display:flex;flex-direction:column;gap:18px;width:min(390px,31vw);margin-top:18px}.menu-button{display:block;width:100%;position:relative;min-height:76px;margin:0;border:4px solid #123f27;border-radius:50px;background:linear-gradient(#e7fa97,#bfea4c 24%,#acda34 82%,#88b72b 83%);box-shadow:inset 0 2px #fffdd3,0 3px #f6ffd47a,0 8px 20px #102f3559;color:#103c25;font-size:28px;line-height:1.2;font-weight:800;letter-spacing:2px;padding:16px 24px;text-align:center;transition:filter .15s,transform .15s}.menu-button-secondary{background:linear-gradient(#fff4a6,#ffdf58 24%,#ffcf35 82%,#e1a322 83%)}.menu-button:before{content:"";position:absolute;top:8px;left:24px;width:32px;height:7px;border-radius:50%;background:#fffde6c9;transform:rotate(-10deg);pointer-events:none}.menu-button:hover{filter:brightness(1.07)}.menu-button:active{transform:translateY(3px);box-shadow:inset 0 2px #fffdd3,0 2px #486345}.menu-button:disabled{cursor:wait;filter:saturate(.5);transform:none}.room-dialog{width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:2px solid #b2cc90;border-radius:24px;background:#f2efce;color:#294735;box-shadow:0 20px 80px #07221d80;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;pointer-events:auto}.room-dialog::backdrop{background:#122a22b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.room-step{padding:18px 26px 28px}.menu-back{display:block;padding:10px 4px;margin:0 0 8px;background:transparent;color:#3c5e46;font-size:15px;font-weight:600}.room-step h2{font-size:25px;line-height:1.3;margin:0 0 22px;letter-spacing:1px}.room-step label{margin:16px 0 7px;color:#45634b;font-size:13px;letter-spacing:1px}.room-step input{height:48px;padding:10px 12px;background:#fffef0;border:1px solid #a4b887;border-radius:10px;color:#263e2e;font-size:16px;user-select:text;-webkit-user-select:text;touch-action:manipulation}.room-step input::placeholder{color:#8a987a}.room-step input:focus-visible{outline-color:#658741;outline-offset:2px}.room-step #code{letter-spacing:3px}.room-step #message{min-height:20px;margin:12px 0;color:#8a4737;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.room-step .menu-button{min-height:52px;font-size:18px;padding:13px 20px}@media(orientation:landscape)and (max-height:500px){.main-menu{padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.menu-logo{width:min(400px,49vw);max-height:43vh}.menu-actions{width:min(270px,33vw);gap:12px;margin-top:10px}.menu-button{min-height:54px;font-size:21px;padding:10px 20px;border-radius:40px}.room-step{padding:10px 24px 18px}.menu-back{margin-bottom:0;padding:7px 4px}.room-step h2{font-size:21px;margin-bottom:10px}.room-step label{margin-top:9px}.room-step input{height:42px}.room-step #message{margin:8px 0;min-height:18px}.room-step .menu-button{min-height:44px;padding:10px 18px}}@media(orientation:portrait){.main-menu{justify-content:space-between;padding-top:max(52px,env(safe-area-inset-top));padding-bottom:max(58px,env(safe-area-inset-bottom))}.menu-logo{width:min(360px,82vw)}.menu-actions{width:min(320px,78vw)}.menu-button{min-height:64px;font-size:24px}}@media(prefers-reduced-motion:reduce){.menu-button{transition:none}}@media(orientation:portrait){.main-menu{background:linear-gradient(#8dcfe0,#b5e9e5 28%,#83c2ad 55%,#478f76)}.menu-cover{top:25%;bottom:auto;height:auto;object-fit:contain;mask-image:linear-gradient(transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 10%,#000 90%,transparent)}}.main-menu button{-webkit-tap-highlight-color:transparent}@media(orientation:portrait)and (min-height:700px){.main-menu{padding-bottom:max(18vh,env(safe-area-inset-bottom))}}
