.home #backdrop{background-image:url('./menu-art/stage.jpg');background-position:center center;filter:saturate(1.12)}
.home #scene{filter:saturate(1.15) contrast(1.02)}
.home .top{top:max(10px,env(safe-area-inset-top));left:9px;right:9px;z-index:4;align-items:start}
.home .gear{padding:3px;width:46px;height:47px;border-radius:13px;border:2px solid #a0f8ff;background:radial-gradient(ellipse at 38% 15%,#58dfff 0%,#077cd5 42%,#0042a0 70%,#023174 100%);box-shadow:inset 0 2px 2px white,inset 0 -3px 2px #022664,0 3px 0 #001750,0 0 6px #54dfff}
.home .gear img{width:34px;height:35px;object-fit:contain;filter:drop-shadow(0 2px 1px #00184c)}
.home .wallet{gap:8px}.home .currency{height:31px;min-width:134px;border:1.5px solid #53dfff;border-radius:20px;background:linear-gradient(90deg,#05277fdf,#011449ef);box-shadow:inset 0 1px 1px #7bd9ff88,0 0 5px #337cff55;padding:1px 1px 1px 3px;gap:6px;font-size:21px;line-height:1;justify-content:space-between;font-weight:900}
.home .wallet-fish{width:36px;height:27px;object-fit:contain;filter:drop-shadow(0 2px 1px #001256)}.home .wallet-gem{width:31px;height:26px;object-fit:contain;margin:0 2px;filter:drop-shadow(0 2px 1px #001256)}
.home .currency button{width:29px;height:29px;border:1px solid #8cf5ff;border-radius:9px;font-size:29px;line-height:22px;padding:0 0 3px;font-weight:900;box-shadow:inset 0 2px 1px #ffffffbb,inset 0 -3px #0053bf,0 2px 1px #00124d;background:linear-gradient(#61e6ff,#08aaf5 40%,#0871e7 75%,#1551cb);text-shadow:0 2px 1px #076aba}
.home .logo{top:8.6%;left:12%;width:76%;height:auto;transform:none;filter:drop-shadow(0 4px 5px #07124588);z-index:2}.home .logo img{display:block;width:100%;height:auto;user-select:none;animation:brandFloat 5s ease-in-out infinite}.home .tagline,.home .version{display:none}
.home .side{top:37%;gap:24px;z-index:4}.home .side.left{left:8px}.home .side.right{right:8px}.home .side button{position:relative;width:63px;height:72px;padding:3px 0 4px;border:2px solid #a1f7ff;border-radius:17px;background:linear-gradient(145deg,#2dd3ff 0%,#078fe7 24%,#0655b7 54%,#07367e 84%,#001b64 100%);box-shadow:inset 0 2px 2px #fff,inset 2px 0 2px #5ddfff,inset 0 -5px 3px #07245e,0 4px 0 #00184f,0 0 7px #21d8ff;color:white;font-size:12px;font-weight:900;text-shadow:0 2px 1px #001852;overflow:visible}
.home .side button:before,.home .nav button:before{content:"";position:absolute;inset:3px 5px auto;height:24%;border-radius:15px 15px 50% 50%;background:linear-gradient(#b9f5ff77,#c6f5ff05);pointer-events:none}
.home .side i{height:48px;line-height:48px;margin-top:-3px;display:block;filter:none}.home .side i img{width:51px;height:51px;object-fit:contain;filter:drop-shadow(0 2px 1px #001954)}.home .side span{position:relative;display:block;z-index:1;line-height:18px}
.notice{position:absolute;z-index:3;right:-5px;top:-9px;width:22px;height:24px;line-height:19px;border:2px solid white;border-radius:50%;font-style:normal;color:white;font-size:20px;font-weight:900;background:radial-gradient(circle at 35% 25%,#ff907e,#fa3017 40%,#ca0c12);text-shadow:0 1px #ae130b;box-shadow:0 2px 3px #001a6788}
.home .menu-bottom{bottom:max(4%,env(safe-area-inset-bottom));left:3%;right:3%;z-index:5}
.home .play{position:relative;display:block;width:77%;height:90px;margin:0 auto 30px;padding:0;border:0;border-radius:50px;background:url('./play-plate.svg') center/100% 100% no-repeat;box-shadow:none;filter:drop-shadow(0 0 4px #fff3ba) drop-shadow(0 0 8px #e36aff88);animation:playGlow 3.4s ease-in-out infinite;transition:transform .15s,filter .15s;text-shadow:none}
.home .play-label{position:absolute;left:38%;right:6%;top:30%;font-size:29px;line-height:1.1;letter-spacing:1px;font-weight:900;color:#27154a;text-shadow:0 1px 0 #ffe56e;margin:0;filter:none;transform:scaleX(.95)}
.home .play:hover{transform:scale(1.025)}.home .play:active{transform:translateY(4px) scale(.98);filter:drop-shadow(0 0 5px #ffe799)}
.home .nav{gap:9px;align-items:stretch}.home .nav button{position:relative;min-height:0;height:88px;border:2px solid #b2ffff;border-radius:24px;padding:0 1px 8px;background:linear-gradient(155deg,#13c8ff,#0781dd 30%,#0351b4 60%,#052b7a 100%);box-shadow:inset 0 2px 2px #fff,inset 2px 0 1px #57e5ff,inset 0 -5px 3px #062667,0 5px 0 #001b54,0 0 7px #35d9ff;font-size:13px;font-weight:900;text-shadow:0 2px 1px #001346}
.home .nav i{height:58px;line-height:58px;display:block;position:relative;z-index:1}.home .nav i img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 2px 1px #001d6c)}.home .nav span{display:block;line-height:18px;position:relative;z-index:1;white-space:nowrap}
.home #snow{opacity:.38;z-index:1;mix-blend-mode:screen}
@keyframes playGlow{0%,100%{filter:drop-shadow(0 0 4px #fff3ba) drop-shadow(0 0 7px #d86bff99)}50%{filter:drop-shadow(0 0 7px #fff9d3) drop-shadow(0 0 12px #ca73ffaa)}}
@keyframes brandFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-height:720px){.home .logo{top:9%;width:70%;left:15%}.home .side{top:36%;gap:18px}.home .side button{width:58px;height:65px;font-size:11px}.home .side i{height:43px}.home .side i img{width:46px;height:46px}.home .menu-bottom{bottom:3.8%}.home .play{height:72px;margin-bottom:22px;width:78%}.home .play-label{font-size:26px}.home .nav button{height:75px;border-radius:19px;font-size:11px}.home .nav i{height:49px}.home .nav i img{width:53px;height:53px}}
@media(min-width:601px){.home .play{height:118px;margin-bottom:34px}.home .play-label{font-size:43px}.home .nav button{height:109px;font-size:18px}.home .nav i{height:75px}.home .nav i img{width:80px;height:80px}.home .side button{width:84px;height:93px;font-size:16px}.home .side i{height:64px}.home .side i img{width:68px;height:68px}.home .gear{width:60px;height:62px}.home .gear img{width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.home .logo img,.home .play{animation:none}}
.launching #scene{transition:transform .35s,filter .35s;transform:scale(1.15);filter:brightness(1.25) saturate(1.3)}.launching .logo,.launching .side,.launching .top,.launching .nav{transition:opacity .25s,transform .25s;opacity:0;transform:translateY(-12px)}.launching .play{transform:scale(1.05);filter:brightness(1.4) drop-shadow(0 0 25px #f8c5ff)}
.home .logo{left:16%;width:68%}
@media(max-height:720px){.home .logo{left:18%;width:64%}}

/* Visual reference pass v5: coordinates are relative to the playable viewport. */
.home .top{top:max(5.8%,env(safe-area-inset-top));left:2.2%;right:2.2%}
.home .logo{top:12%;left:16%;width:68%}
.home .side{top:35.4%;gap:16px}.home .side.left{left:1.8%}.home .side.right{right:1.8%}
.home .side button,.home .nav button{background:url('./menu-card-v5.svg') center/100% 100% no-repeat;border:0;box-shadow:none;filter:drop-shadow(0 0 3px #0acfff88);text-shadow:0 2px 2px #00144d;transition:transform .15s}
.home .side button{width:66px;height:75px;padding:3px 1px 8px}.home .side i{height:51px}.home .side i img{width:53px;height:53px}.home .side span{font-size:12px;font-weight:900}
.home .nav button{height:81px;padding:2px 0 10px;border-radius:20px}.home .nav i{height:55px}.home .nav i img{width:58px;height:58px}.home .nav span{font-size:12px;font-weight:900}
.home .side button:active,.home .nav button:active{transform:translateY(3px) scale(.95)}
.home .menu-bottom{bottom:max(8.6%,env(safe-area-inset-bottom));left:2.6%;right:2.6%}.home .nav{gap:7px}
.home .play{background-image:url('./play-plate-v5.svg');height:84px;width:74%;margin-bottom:24px;animation:penguPlayBreath 4.6s ease-in-out infinite;filter:drop-shadow(0 0 5px #fffab9) drop-shadow(0 0 9px #ff49cb88)}
.home .play-label{left:36%;right:4%;top:31%;font-size:29px;font-family:'Trebuchet MS',Arial,sans-serif;font-weight:1000;letter-spacing:.5px}
.home .play:active{animation:none;transform:translateY(3px) scale(.965)}
@keyframes penguPlayBreath{0%,100%{transform:scale(1);filter:drop-shadow(0 0 4px #fffab9) drop-shadow(0 0 7px #e44fff88)}50%{transform:scale(1.018);filter:drop-shadow(0 0 7px #fffab9) drop-shadow(0 0 12px #ff52cfaa)}}
@media(max-height:720px){.home .logo{top:11%;width:66%;left:17%}.home .top{top:4%}.home .menu-bottom{bottom:6%}.home .play{height:72px;margin-bottom:16px}.home .nav button{height:72px}.home .nav i{height:47px}.home .nav i img{width:49px;height:49px}.home .nav span{font-size:11px}.home .side{top:35%;gap:12px}.home .side button{width:60px;height:67px}.home .side i{height:45px}.home .side i img{height:47px;width:47px}}
@media(min-width:601px){.home .side button{width:84px;height:95px}.home .side i{height:66px}.home .side i img{width:69px;height:69px}.home .side span{font-size:16px}.home .nav button{height:105px}.home .nav i{height:72px}.home .nav i img{width:77px;height:77px}.home .nav span{font-size:16px}.home .play{height:110px}.home .play-label{font-size:38px}}
@media(prefers-reduced-motion:reduce){.home .play{animation:none}}
.home .play .play-label{font-family:Arial,sans-serif;font-weight:900;-webkit-text-stroke:.45px #281242}.home .currency{font-family:Arial,sans-serif;font-weight:900;-webkit-text-stroke:.2px white}
.home #backdrop{background-size:100% 100%}
.home .play{height:clamp(68px,10vh,84px);margin-bottom:clamp(16px,2.8vh,24px)}.home .nav button{height:clamp(72px,9.6vh,81px)}.home .side button{width:clamp(58px,17vw,66px);height:clamp(66px,8.9vh,75px)}.home .side{gap:clamp(12px,1.9vh,16px)}
@media(max-height:720px){.home .menu-bottom{bottom:7%}.home .play{height:clamp(56px,10vh,72px);margin-bottom:16px}.home .nav button{height:clamp(58px,9.6vh,72px)}.home .nav i{height:clamp(38px,6.6vh,47px)}.home .nav i img{width:clamp(40px,6.9vh,49px);height:clamp(40px,6.9vh,49px)}.home .side button{width:54px;height:62px}.home .side i{height:40px}.home .side i img{width:44px;height:44px}}
@media(min-width:601px){.home .play{height:110px}.home .nav button{height:105px}.home .side button{width:84px;height:95px}}
/* Keep labels inside the nine-slice style plates at every height. */
.home .side button{padding:3px 1px 7px}.home .side i{height:calc(clamp(66px,8.9vh,75px) - 28px)}.home .side i img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:clamp(44px,6.3vh,53px);height:clamp(44px,6.3vh,53px)}
.home .nav i{height:calc(clamp(72px,9.6vh,81px) - 30px)}.home .nav i img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:calc(clamp(72px,9.6vh,81px) - 25px);height:calc(clamp(72px,9.6vh,81px) - 25px)}
@media(max-height:720px){.home .side i{height:34px}.home .side i img{width:44px;height:44px}.home .nav i{height:calc(clamp(58px,9.6vh,72px) - 30px)}.home .nav i img{width:calc(clamp(58px,9.6vh,72px) - 20px);height:calc(clamp(58px,9.6vh,72px) - 20px)}}
@media(min-width:601px){.home .side i{height:67px}.home .side i img{width:69px;height:69px}.home .nav i{height:75px}.home .nav i img{width:80px;height:80px}}
