@font-face{font-family:Baloo;src:url('baloo.ttf');font-display:swap}*{box-sizing:border-box}html,body{margin:0;color:#123448;font-family:Baloo,system-ui,sans-serif}body{background:#123448 url('world.webp') center/cover fixed no-repeat}header{height:48px;background:#123448;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:17px}header a{color:#fff;display:flex;align-items:center;min-height:48px}button,a{font:inherit;font-weight:700;touch-action:manipulation}button{cursor:pointer;color:#123448}main{height:calc(100svh - 48px);display:flex;flex-direction:column}.heading{padding:5px 8px 7px;background:#ffdc55;text-align:center}.book{font-size:12px;line-height:1.15;margin:0 0 3px}h1{font-size:26px;line-height:1.05;margin:0}#stage{position:relative;flex:1;min-height:0;max-width:1200px;width:100%;margin:auto;isolation:isolate}#guide{position:absolute;left:-5px;bottom:15px;width:43%;height:280px;object-fit:contain;filter:drop-shadow(0 4px 3px #12344877);transition:transform .25s}#guide.happy{transform:rotate(-5deg) scale(1.04)}#speech{position:absolute;top:10px;left:12px;right:12px;min-height:76px;background:#fff6ce;border:3px solid #123448;border-radius:20px;padding:9px 12px;font-size:20px;line-height:1.15;box-shadow:0 4px #12344855;z-index:3}#stations{position:absolute;right:8px;top:112px;bottom:12px;width:59%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px}.station{position:relative;border:0;background:transparent;padding:0;min-width:48px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;isolation:isolate}.station>img{width:100%;height:calc(100% - 38px);max-height:108px;min-height:48px;object-fit:contain;filter:drop-shadow(0 4px 3px #12344866);pointer-events:none}.station span{background:#ffdc55;border:2px solid #123448;border-radius:8px;padding:3px 5px;line-height:1.05;font-size:17px;width:100%;min-height:32px;display:grid;place-items:center}.station.done span{background:#c6ffbc}.station.done>img{transform:rotate(-6deg)}.station .badge{position:absolute;right:0;top:0;width:38px;height:38px;min-height:0;z-index:2}#progress{background:#ffdc55;color:#123448;border-radius:14px;padding:0 10px}#parcel{position:absolute;bottom:12px;left:10px;width:35%;min-height:116px;background:#ffdc55;border:3px solid #123448;border-radius:16px;padding:4px;line-height:1.05;font-size:18px}#parcel img{width:70px;height:62px;object-fit:contain;display:block;margin:auto}#parcel[aria-pressed=true]{background:#c6ffbc;box-shadow:0 0 0 4px #fff}body.match #guide{height:240px;bottom:145px}body.match #stations{grid-template-columns:1fr;top:122px;gap:7px}body.match .station{flex-direction:row;gap:2px}body.match .station>img{width:64px;height:80px;min-height:0;flex:none}body.match .station span{font-size:17px;min-height:62px;padding:5px}body.match .station .badge{width:30px;height:30px}#continue{position:absolute;left:12px;top:96px;background:#123448;color:white;border:3px solid white;border-radius:14px;min-height:48px;padding:4px 14px;z-index:4}#ending{position:absolute;inset:106px 12px 16px 35%;background:#ffdc55;border:3px solid #123448;border-radius:24px;z-index:5;text-align:center;padding:14px 10px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}#ending h2{font-size:27px;line-height:1.1;margin:0}#ending p{font-size:19px;line-height:1.2;margin:0}.sparkle{width:80px;height:80px;object-fit:contain;animation:sparkle .7s alternate infinite}.actions{display:flex;flex-direction:column;gap:8px;width:100%}.actions>*{display:grid;place-items:center;min-height:48px;background:#123448;color:#fff;border:2px solid #fff;border-radius:12px;text-decoration:none;font-size:19px;padding:6px}button:focus-visible,a:focus-visible{outline:4px solid #fff;box-shadow:0 0 0 7px #123448;z-index:9}.skip{position:fixed;top:-100px;background:white;color:#123448;padding:12px;z-index:20}.skip:focus{top:0}[hidden]{display:none!important}@keyframes sparkle{to{transform:rotate(8deg) scale(1.08)}}@media(min-width:800px){.heading{padding:10px}.book{font-size:16px}h1{font-size:38px}#guide{width:32%;height:440px;left:0;bottom:25px}#speech{left:34%;right:20px;top:20px;font-size:27px;min-height:100px}#stations{width:64%;top:170px;bottom:30px;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr))}.station>img{max-height:230px}.station span{font-size:25px;min-height:48px}body.match #stations{grid-template-columns:repeat(3,minmax(0,1fr));top:190px}body.match .station{flex-direction:column}body.match .station>img{width:160px;height:180px}body.match .station span{font-size:24px}body.match #guide{height:340px;bottom:180px}#parcel{width:27%;left:2%;bottom:15px;min-height:140px;font-size:25px}#parcel img{width:100px;height:90px}#continue{left:35%;top:130px;font-size:24px}#ending{inset:160px 5% 40px 34%;padding:25px}#ending h2{font-size:40px}#ending p{font-size:26px}.actions{flex-direction:row;justify-content:center}.actions>*{min-width:160px;font-size:24px}.sparkle{width:120px;height:120px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
