/* A continuous journey, using Bouncy Blast's own landscapes and characters. */
:root{--route-cream:#fff3b1;--route-ink:#31594d}
body{background:#c7ecbc}.app{max-width:1100px;padding:0 24px}.topbar{height:76px;border:0}.brand{font-size:12px}.brandmark{box-shadow:0 3px 0 #365e45}.test-badge{display:none}.top-actions{gap:8px}.account-btn{background:#fff9df;border:2px solid #486c55;box-shadow:0 3px 0 #486c5533}.topbar .icon-btn{background:#fff9df;border:2px solid #486c55;box-shadow:0 3px 0 #486c5533}
#title-screen{margin:8px auto 24px;max-width:980px;border:4px solid #365f50;border-radius:38px;box-shadow:0 9px 0 #365f5025,0 24px 70px #345d4625;min-height:660px}#title-screen .hero{padding:42px;min-height:640px;display:grid;grid-template-columns:1fr 1fr}#title-screen .hero-copy{position:relative;z-index:2}#title-screen .hero-copy .eyebrow{color:#285a54;font-size:9px;letter-spacing:2px}#title-screen .hero h1{font-size:clamp(68px,8vw,105px);letter-spacing:-5px;line-height:.94;margin:30px 0 20px}#title-screen .hero h1:after{content:'DAS SPRUNGABENTEUER'!important;font-size:12px;letter-spacing:3px;color:#325e52;margin:18px 0}#title-screen .hero-copy p{color:#2f594e;font-size:18px;font-weight:bold}#title-screen .primary.large{border:3px solid #395947;background:linear-gradient(#ffe988,#ffc04a);color:#345643;font-size:23px;min-height:68px;width:270px;box-shadow:0 6px 0 #926535;justify-content:center;gap:30px;border-radius:24px}#title-screen .primary.large span{color:#345643}.hero-meta{color:#3e6557!important;font-weight:bold}.float-tag{border:2px solid #416749;background:#fff7c7}.art-label{display:none}
#menu .adventure{max-width:760px;margin:8px auto 90px;padding:0;border:0;border-radius:32px;box-shadow:0 12px 40px #2c614825;overflow:clip;background:#f3ffe6}#menu .section-heading{padding:22px 22px 0;margin:0 0 8px;gap:12px}#menu .section-heading h2{color:#31594d;font-size:28px;letter-spacing:-1px;margin:6px 0}#menu .section-heading .eyebrow{font-size:9px;color:#65916e;letter-spacing:2px}.progress-chip{background:#fff5ba;border:2px solid #a99753;color:#66542b;white-space:nowrap;box-shadow:0 3px 0 #a9975330;font-weight:bold}#world-progress{padding:0 24px;color:#5d805f;font-size:12px}#map-message{margin:10px 18px 16px;text-align:center;background:#e1efbe;color:#406449;font-size:12px;padding:10px;border:1px solid #b8ce89}#world-tabs{display:none!important}
body #menu .level-map{display:block;height:2400px!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;overflow:hidden;position:relative;isolation:isolate}.journey-land{position:absolute;left:0;right:0;height:1200px;overflow:hidden;z-index:-2;background:linear-gradient(#eaffc340,#b5df7940),url('/assets/world-map.webp') center/cover}.journey-land.autumn{background:linear-gradient(#fff0bc25,#dbad7330),url('/assets/autumn-world.webp') center/cover}.journey-land:after{content:'';position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,#e6c47e)}.journey-land.autumn:before{content:'';position:absolute;inset:0 0 auto;height:100px;background:linear-gradient(#e6c47e,transparent)}.land-label{position:absolute;left:50%;top:25px;transform:translateX(-50%);white-space:nowrap;padding:12px 22px;text-align:center;border-radius:24px;background:#f5ffd9ec;border:2px solid #668548;box-shadow:0 5px 0 #52753940;z-index:1}.land-label span{font-size:9px;letter-spacing:2px;color:#637347;font-weight:bold}.land-label h3{font-size:26px;margin:3px 0;color:#365d43}.land-label p{font-size:10px;margin:0;color:#587546}.autumn .land-label{background:#fff0cbeb;border-color:#a36b32}.autumn .land-label h3{color:#8a5028}.autumn .land-label p{color:#8a653c}.land-scenery{position:absolute;top:340px;left:54%;font-size:60px;text-shadow:0 4px 0 #ffffff60;opacity:.9}.land-scenery span{position:absolute;left:-220px;top:320px;font-size:50px}.land-scenery b{position:absolute;left:65px;top:460px;font-size:40px}
#menu .journey-route{z-index:-1;pointer-events:none}.journey-route path{stroke:#ffedb5;stroke-width:22px;vector-effect:non-scaling-stroke;filter:none;stroke-linecap:round;stroke-linejoin:round}.journey-route path.route-edge{stroke:#8a743e90;stroke-width:32px}
#menu .journey-node{top:var(--y);width:128px;gap:0;line-height:1.1;color:#3f502b;opacity:1}.journey-node .node-orb{height:66px;width:72px;border-radius:45% 45% 38% 38%;background:linear-gradient(#fff2aa,#e9b745);border:3px solid #80652c;box-shadow:0 5px 0 #a07631,0 0 0 3px #fff7d49c;position:relative}.node-orb img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 3px 0 #5c481f30)}.node-lock{position:absolute;right:-5px;bottom:-3px;font-size:17px;background:#e7d7ac;border:2px solid #796c4e;border-radius:50%;padding:5px}.journey-node .node-number{border:2px solid #7e602a;background:#a5742d;color:#fff8cd;text-shadow:0 2px #644817;border-radius:12px;padding:3px 13px;font-size:19px;margin-top:-8px;z-index:2;min-width:44px;box-shadow:0 3px 0 #634c28}.journey-node .node-name{border:0;background:#fffae2df;padding:4px 7px;margin-top:4px;font-size:10px;max-width:125px;box-shadow:none}.journey-node .node-stars{margin-bottom:-4px;background:none;color:#e7d7ad;font-size:19px;padding:0;z-index:3;text-shadow:0 1px 1px #7d5d29;gap:1px}.journey-node .node-stars .earned{color:#ffe560;text-shadow:0 2px #a67721;filter:drop-shadow(0 0 2px #fff6bc)}.journey-node:disabled .node-orb{background:linear-gradient(#e9e5c5,#b4b093);border-color:#827e66;box-shadow:0 5px 0 #777459,0 0 0 3px #fff7d480}.journey-node:disabled .node-orb img{filter:grayscale(.7);opacity:.65}.journey-node.completed .node-orb{background:linear-gradient(#ecffa1,#9ac55d);border-color:#5b7c3b;box-shadow:0 5px 0 #617b3c,0 0 0 3px #fff7d49c}.journey-node.current .node-orb{border-color:#845223;animation:node-pulse 2s infinite}.you-marker{position:absolute;top:-28px;font-size:8px;letter-spacing:1px;font-weight:bold;padding:6px 10px;background:#2d7256;color:#fff9d6;border:2px solid #f3ffd4;border-radius:12px;white-space:nowrap;animation:hero-sway 2s infinite}.newly-unlocked:after{top:-52px!important}
.world-portal{position:absolute;left:50%;transform:translate(-50%,-50%);display:flex;gap:12px;align-items:center;justify-content:center;width:88%;max-width:370px;z-index:3;padding:15px;border:3px solid #a77333;border-radius:28px;background:#ffe9a8f2;box-shadow:0 6px 0 #9b743b44;color:#80542c}.world-portal>span{font-size:32px}.world-portal>div{display:flex;flex-direction:column;gap:5px}.world-portal small{font-size:8px;letter-spacing:1px;font-weight:bold}.world-portal b{font-size:15px}.world-portal.open{animation:portal-glow 3s infinite}.next-world{background:#e6f7fff0;border-color:#6599a4;color:#446978}.inventory-panel{display:none}.journey-dock{position:fixed;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:8;padding:10px;border:2px solid #527956;border-radius:26px;box-shadow:0 5px 0 #36573b44,0 10px 25px #214e4430;background:#fff8dceF;width:min(94vw,470px);backdrop-filter:blur(12px)}.journey-dock .primary{flex:1;padding:14px 10px;border:2px solid #805831;border-radius:18px;font-size:15px}.journey-dock .secondary{background:#eff6d6;border:1px solid #90a274;border-radius:18px;font-size:12px;padding:10px}.inventory-preview{display:grid;gap:10px;margin:20px 0}.inventory-preview .stock-item{padding:12px;font-size:15px}.inventory-preview .stock-item img{width:40px;height:40px}.inventory-preview .stock-item b{margin-left:auto}.adventure-foot{padding:15px;gap:15px;color:#547858}.app footer{margin-bottom:75px}
/* Fixed viewport gameplay: the HUD and controls surround a proportional board. */
body.in-level{overflow:hidden;overscroll-behavior:none;background:#6c9f78}body.in-level .topbar,body.in-level footer{display:none!important}body.in-level .app{padding:0;max-width:none}#play-screen{position:fixed;inset:0;width:100%;height:100dvh;height:100svh;background:linear-gradient(#2e654536,#2e654536),url('/assets/world-map.webp') center/cover;z-index:15;isolation:isolate}body[data-world=autumn] #play-screen{background:linear-gradient(#78452236,#78452236),url('/assets/autumn-world.webp') center/cover}#play-screen:before{content:'';position:absolute;inset:0;background:#fff7cc12;backdrop-filter:blur(8px);z-index:-1}.game-top{position:absolute;inset:0 0 auto;height:54px;padding:6px 12px;z-index:5;gap:8px;background:linear-gradient(#ffeabc,#ffd78b);border-bottom:3px solid #956333;box-shadow:0 3px 10px #3f472930}.game-top .secondary{font-size:10px;padding:7px 10px;border:1px solid #976d39;background:#fff3cd}.game-top h2{display:none}.game-top .eyebrow{font-size:9px;letter-spacing:1px;color:#6a4c2c}.game-top .icon-btn{width:34px;height:34px;background:#ffefc3;border:2px solid #976d39}.game-layout{position:absolute;inset:54px 0 67px;margin:0;max-width:none;display:flex!important;justify-content:center;align-items:center;gap:0}.game-sidebar,.control-sidebar{display:none!important}#play-screen .board-wrap{border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;line-height:0;overflow:hidden;height:100%;width:auto;aspect-ratio:480/680;max-width:100vw;position:relative;display:flex;align-items:center;justify-content:center}#play-screen #gameCanvas{width:100%;height:auto;max-height:100%;min-height:0;max-width:100%;aspect-ratio:480/680;object-fit:contain;outline:0;display:block}#play-screen .play-hud{position:absolute;top:60px;left:50%;transform:translateX(-50%);width:min(96vw,530px);display:flex;align-items:flex-start;justify-content:space-between;gap:5px;z-index:4;pointer-events:none}.hud-shots,.hud-score{display:flex;align-items:center;gap:5px;border:2px solid #886b35;border-radius:18px;background:#fff2cfeF;box-shadow:0 3px 0 #70552c44;color:#84502c;padding:7px 10px;font-size:12px;white-space:nowrap}.hud-shots b{font-size:22px}.hud-score b{font-size:17px}#hud-objectives{display:flex;gap:4px;justify-content:center;flex-wrap:wrap;max-width:60%}.hud-goal{background:#ffffe5e8;border:1px solid #90a773;color:#476646;border-radius:12px;padding:5px 8px;font-weight:bold;font-size:11px;text-align:center}.hud-goal small{display:block;font-size:7px;font-weight:normal;margin-top:2px}.hud-goal.done{background:#d6f6ac;border-color:#579a47}.mobile-controls{display:flex!important;position:absolute!important;inset:auto 0 0;bottom:0!important;min-height:67px;height:67px;max-width:none!important;margin:0!important;border:0;border-top:3px solid #886b35;border-radius:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:linear-gradient(#fff1bf,#edc77c);box-shadow:0 -3px 12px #52632a25;gap:12px;z-index:5;justify-content:center}.mobile-controls #mobile-stats{max-width:300px;gap:20px}.mobile-controls #mobile-stats b{font-size:17px;color:#7b562e}.mobile-controls .primary{min-width:140px;min-height:43px;padding:10px 22px!important;border:2px solid #87562e;border-radius:17px;font-size:15px;box-shadow:0 3px 0 #956b3b}#mission-banner{line-height:1.4;top:25%;font-size:19px}.power-toast{line-height:1.4}.play-hud{display:none}dialog{z-index:100;max-height:90dvh;overflow-y:auto;border:3px solid #667e44;background:#fffae9;box-shadow:0 12px 0 #314c3929,0 20px 90px #14352d60;border-radius:30px}dialog::backdrop{background:#143d3dcc;backdrop-filter:blur(5px)}#notification{z-index:150}
@keyframes portal-glow{50%{box-shadow:0 6px 0 #9b743b44,0 0 35px #fff3a2}}
@media(max-width:700px){.app{padding:0 10px}.topbar{height:64px}.brand{gap:7px;font-size:9px;letter-spacing:1px}.brand small{font-size:7px;letter-spacing:4px}.brandmark{width:32px;height:32px;border-radius:11px;font-size:24px}.topbar .account-btn{font-size:10px;padding:9px 11px}.topbar .icon-btn{width:32px;height:32px;font-size:17px}.top-actions{gap:5px}#title-screen{min-height:calc(100svh - 130px);border-radius:28px;margin:0 auto 15px}#title-screen .hero{display:flex;flex-direction:column;min-height:0;padding:27px 22px 20px;text-align:center}#title-screen .hero-copy{width:100%}#title-screen .hero-copy .eyebrow{justify-content:center;font-size:8px;letter-spacing:1.5px}#title-screen .hero h1{font-size:clamp(60px,17vw,85px);margin:24px 0 16px;max-width:none;-webkit-text-stroke:1.5px #2a5351}#title-screen .hero h1:after{font-size:10px;letter-spacing:2px}#title-screen .hero-copy p{font-size:14px;line-height:1.6;margin:10px auto 16px}#title-screen .primary.large{width:100%;font-size:22px;min-height:61px;margin:8px 0 18px}.hero-meta{justify-content:center;gap:14px;font-size:9px}#title-screen .hero-art{width:90%;height:230px;max-height:230px;position:relative;margin:0;inset:auto}#title-screen .hero-art canvas{width:100%;height:230px;object-fit:contain}.float-tag{font-size:12px;padding:8px}#menu .adventure{margin-top:0;border-radius:24px}#menu .section-heading{padding:18px 15px 0}#menu .section-heading h2{font-size:22px;max-width:none}#menu .section-heading .eyebrow{font-size:8px}.progress-chip{font-size:9px;padding:8px}#world-progress{padding:0 16px;font-size:11px}#map-message{font-size:11px;margin:10px 12px 12px}#menu .journey-node{width:108px}.journey-node .node-name{font-size:9px;max-width:107px}.node-orb img{width:43px;height:43px}.journey-node .node-orb{width:65px;height:60px}.journey-node .node-stars{font-size:18px}.land-label h3{font-size:23px}.land-scenery{font-size:40px;left:62%}.land-scenery span{left:-190px}.world-portal b{font-size:13px}.world-portal>span{font-size:26px}.world-portal small{font-size:7px}.journey-dock{bottom:max(10px,env(safe-area-inset-bottom));padding:8px}.game-top{padding:5px 9px}.game-top .eyebrow{font-size:8px}.hud-shots,.hud-score{padding:5px 7px}.hud-shots b{font-size:20px}.hud-score b{font-size:15px}.hud-goal{font-size:10px;padding:5px 6px}#hud-objectives{max-width:54%}.mobile-controls{padding-left:10px;padding-right:10px}.mobile-controls .primary{min-width:135px}#mission-banner{font-size:16px;padding:17px 12px}}
@media(max-height:520px) and (min-width:600px){.game-top{height:43px}.game-layout{inset:43px 0 53px}.mobile-controls{height:53px;min-height:53px;padding:4px 18px}.mobile-controls .primary{min-height:35px;padding:5px 22px!important}.play-hud{top:52px!important;width:90vw!important}.hud-shots,.hud-score{padding:8px 16px}.hud-goal{font-size:11px}.mobile-controls #mobile-stats{max-width:180px}.game-top .eyebrow{font-size:10px}}
@media(prefers-reduced-motion:reduce){.world-portal,.you-marker{animation:none!important}}

.game-top>div{flex:1}.game-top #fullscreen{font-size:22px}#play-screen .board-wrap{width:min(100vw,calc((100svh - 121px)*480/680));height:min(calc(100svh - 121px),calc(100vw*680/480));flex-shrink:0}#play-screen #gameCanvas{width:100%;height:100%}@media(max-height:520px) and (min-width:600px){#play-screen .board-wrap{width:min(100vw,calc((100svh - 96px)*480/680));height:min(calc(100svh - 96px),calc(100vw*680/480))}}

.land-label.autumn{background:#fff0cbf5;border-color:#a36b32}.land-label.autumn h3{color:#8a5028}.land-label.autumn p{color:#8a653c}

@media(max-height:520px) and (min-width:600px){#hud-objectives{position:absolute;left:0;top:55px;max-width:25vw}}
@media(min-height:521px){.game-top{height:calc(54px + env(safe-area-inset-top));padding-top:calc(6px + env(safe-area-inset-top))}.game-layout{inset:calc(54px + env(safe-area-inset-top)) 0 calc(67px + env(safe-area-inset-bottom))}#play-screen .play-hud{top:calc(60px + env(safe-area-inset-top))}#play-screen .mobile-controls{height:calc(67px + env(safe-area-inset-bottom))}#play-screen .board-wrap{width:min(100vw,calc((100svh - 121px - env(safe-area-inset-top) - env(safe-area-inset-bottom))*480/680));height:min(calc(100svh - 121px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),calc(100vw*680/480))}}
