/* Original world paintings, chapter trails, glass panels and restrained motion. */
.adventure-home{--accent:#b6eabe;position:relative;min-height:100%;padding:19px 18px 105px!important;isolation:isolate}.adventure-home:before{display:block!important;content:'';position:absolute;inset:-20px;z-index:-2;background:linear-gradient(#19153b35,#25204622 40%,#16162eeb),var(--scene) center 42%/cover!important;animation:home-scenery 20s ease-in-out infinite alternate}.adventure-home:after{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 50% 38%,#bcefff22,transparent 53%);pointer-events:none}.adventure-home .top{margin-bottom:5px;gap:5px}.adventure-home .pill{background:#151c38bb;border:1px solid #c9d6ff3d;box-shadow:inset 0 1px #ffffff17,0 5px 14px #11112633;min-height:42px;border-radius:15px;padding:5px 9px}.adventure-home .iconbtn{background:#1a2543bb;border:1px solid #c9d6ff3d;border-radius:14px}.adventure-home .brand-art{height:115px;margin:0 auto}.adventure-home .brand-art img{height:130px;width:260px;mask-image:radial-gradient(ellipse at center,#000 67%,transparent 100%)!important}.home-tagline{text-align:center;font-size:8px;letter-spacing:2.5px;color:#f5f1dd;margin:7px 0 0;text-shadow:0 2px 5px #211b39}.adventure-home .hero-stage{height:210px;position:relative}.adventure-home .hero{width:245px;height:205px;z-index:1}.hero-orbit{position:absolute;width:225px;height:60px;bottom:12px;border-radius:50%;border:1px solid #b8f8ec66;box-shadow:0 0 35px #73edd522,inset 0 0 18px #a2f5d322;background:radial-gradient(ellipse,#8cffe51f,transparent 70%);transform:rotate(-5deg);animation:orbit-breathe 3.8s ease-in-out infinite}.home-badge{position:absolute;top:62px;width:65px;min-height:78px;border-radius:19px;background:linear-gradient(135deg,#30325ccf,#18233cbf);border:1px solid #e4d9ff44;box-shadow:0 7px 20px #1d173f44,inset 0 1px #ffffff15;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;z-index:2}.home-badge .ui-icon{width:34px;height:34px}.home-badge small{font-size:8px;color:#eeeaff;line-height:1.35;letter-spacing:.7px}.daily-badge{left:0;transform:rotate(-5deg)}.army-badge{right:0;transform:rotate(5deg)}.notice-dot{position:absolute;top:-4px;right:-3px;width:10px;height:10px;border-radius:50%;background:#f7be71;box-shadow:0 0 0 3px #413254}.next-mission{display:flex;align-items:center;text-align:left;width:100%;gap:11px;padding:12px;border-radius:21px;background:linear-gradient(120deg,#19263fe8,#242540d9);border:1px solid #ddd2ff3b;box-shadow:0 9px 25px #0d123c33,inset 0 1px #ffffff13;position:relative;overflow:hidden}.next-mission:after{content:'';position:absolute;right:-50px;top:-60px;width:160px;height:160px;background:radial-gradient(circle,var(--accent),transparent 65%);opacity:.10;pointer-events:none}.next-mission>img{width:61px;height:73px;object-fit:cover;border-radius:13px;border:1px solid #ffffff33}.mission-copy{flex:1;min-width:0}.mission-copy>small{font-size:7px;letter-spacing:1.1px;color:#d7cfe8}.mission-copy>b{display:block;font-size:18px;margin:4px 0 7px;color:#fff5e1;letter-spacing:-.5px}.mission-copy em{display:block;font-size:9px;color:#bacce1;font-style:normal;margin-top:6px;font-weight:500}.mission-dots{display:flex;gap:4px}.mission-dots i{width:11px;height:4px;border-radius:4px;background:#ffffff22}.mission-dots .done{background:#9ee1bd}.mission-dots .now{background:#ffda83;box-shadow:0 0 8px #ffda8366}.mission-arrow{color:#d4e8e5;font-size:24px;margin-right:4px}.adventure-home .adventure-play{min-height:82px;margin:13px 0 5px;font-size:24px;position:relative;overflow:hidden;border-radius:35px;padding:17px 20px}.adventure-play small{font-size:8px!important;letter-spacing:1px!important}.button-shine{position:absolute;inset:0;background:linear-gradient(110deg,transparent 25%,#ffffff44 50%,transparent 75%);transform:translateX(-140%);animation:cta-shine 5.5s ease-in-out infinite;pointer-events:none}.home-links{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:10px}.home-links button{min-height:44px;background:none;color:#e8e5f4;font-size:8px;letter-spacing:1px}.home-links .ui-icon{width:19px;height:19px}.home-links button:last-child{width:32px;border:1px solid #cfd9fa44;border-radius:50%;min-height:32px;font-size:14px;letter-spacing:0}.adventure-dust{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}.adventure-dust i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);border-radius:50%;background:var(--accent,#c4efff);box-shadow:0 0 10px var(--accent,#c4efff);animation:adventure-drift 9s linear var(--delay) infinite;opacity:.55}.adventure-home>.top,.adventure-home>.brand-art,.adventure-home>.next-mission,.adventure-home>.home-links{position:relative;z-index:1}.adventure-page{min-height:100%;padding-bottom:35px;background:#141a30;--accent:#b6eabe}.journey-header{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:11px;padding:16px 14px 11px;background:#141d35f2;backdrop-filter:blur(12px);border-bottom:1px solid #d2d5fa17}.journey-header>span:nth-child(2){flex:1}.journey-header small{font-size:7px;letter-spacing:1.5px;color:#aabbcf}.journey-header b{font-size:13px;display:block;margin-top:4px;color:#f3eee2}.journey-header .iconbtn{background:#26344b;border:1px solid #8ba5be44;border-radius:13px}.journey-stars{font-size:15px;display:flex;align-items:center;color:#ffdf92;gap:3px}.journey-stars .ui-icon{width:23px;height:23px}.world-tabs{position:sticky;top:78px;z-index:4;display:flex;justify-content:space-evenly;gap:8px;padding:10px 16px 13px;background:linear-gradient(#141d35f2,#141d35d9);backdrop-filter:blur(12px);border-bottom:1px solid #d2d5fa12}.world-tabs button{position:relative;width:49px;height:49px;border-radius:15px;padding:0;background:#1b2b43;border:1px solid #c4ccf32b;overflow:hidden;transition:transform .2s,border-color .2s}.world-tabs button>img:first-child{width:100%;height:100%;object-fit:cover;opacity:.65}.world-tabs button>span{position:absolute;inset:0;display:grid;place-items:center;font-size:16px;text-shadow:0 2px 4px #101a36}.world-tabs button>.ui-icon{position:absolute;right:0;bottom:0;width:15px;height:15px}.world-tabs [aria-current=true]{transform:translateY(-3px);border-color:var(--accent);box-shadow:0 3px 12px #bde4ff22}.journey-intro{padding:28px 23px 22px;background:radial-gradient(ellipse at 80% 0,#48437b44,transparent 70%)}.journey-intro .eyebrow{font-size:8px;letter-spacing:1.8px}.journey-intro h2{font-size:29px;line-height:1.15;margin:13px 0;color:#f5eddc}.journey-intro p{font-size:11px;color:#b7c6d9;margin-bottom:0}.world-chapter{position:relative;height:760px;margin:0 12px 20px;border-radius:27px;overflow:hidden;border:1px solid #d7d9f142;isolation:isolate;scroll-margin-top:155px;background:#22364a;box-shadow:0 15px 35px #070c1b66}.chapter-scene{position:absolute;inset:0;z-index:-2;background:linear-gradient(#11243b66,transparent 35%,#16213c44 78%,#141b32ee),var(--scene) center/cover;transform:scale(1.025);transition:filter .4s}.chapter-heading{position:absolute;left:21px;right:21px;top:22px;z-index:2}.chapter-kicker{font-size:7px;font-weight:800;letter-spacing:1.3px;color:var(--accent);text-shadow:0 2px 3px #0e1a2e}.chapter-heading h2{font-size:29px;letter-spacing:-1.2px;margin:8px 0;color:#fff3d9;text-shadow:0 3px 4px #15223c}.chapter-progress{font-size:9px;color:#e7f0f5;background:#0e1c32aa;border:1px solid #deedff33;border-radius:20px;display:inline-flex;align-items:center;padding:5px 9px;max-width:100%}.chapter-progress .ui-icon{width:17px;height:17px}.chapter-route{position:absolute;inset:0;width:100%;height:730px;overflow:visible}.chapter-route path{fill:none;stroke-linecap:round}.route-under{stroke:#172e4c90;stroke-width:15}.route-dashes{stroke:#f4e1aecc;stroke-width:3;stroke-dasharray:3 10;filter:drop-shadow(0 1px 1px #203a5b)}.trail-stop{position:absolute;transform:translate(-50%,-50%);z-index:2;text-align:center}.trail-node{position:relative;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:linear-gradient(#69d6e2,#328bb4);border:2px solid #b7f6ed;box-shadow:0 5px 0 #205a78,0 8px 18px #10254470,inset 0 2px 4px #ffffff66;color:white;font-size:16px;font-weight:900;text-shadow:0 2px #1b5b7e;transition:transform .15s,filter .15s}.trail-node:active{transform:translateY(3px) scale(.96);box-shadow:0 2px #205a78}.trail-node:disabled{opacity:1;background:linear-gradient(#6c7081,#434f65);border-color:#c3ced866;color:#b5cad7;box-shadow:0 4px #29394f,0 7px 14px #0b193f55}.trail-node:disabled>.ui-icon{width:23px;height:23px;filter:saturate(.3)}.trail-node.trail-cleared{background:linear-gradient(#a3eac6,#4da695);border-color:#dcffe5;box-shadow:0 5px #367365,0 6px 18px #122e4a55}.trail-stars{position:absolute;top:50px;left:50%;transform:translateX(-50%);display:flex;gap:0}.trail-stars img{width:15px;height:15px;filter:drop-shadow(0 2px 1px #283458)}.trail-stars .empty-star{opacity:.4;filter:grayscale(1) drop-shadow(0 1px 1px #21334e)}.trail-current .trail-node{background:linear-gradient(#ffe69b,#e3ab4d);color:#5b3a26;border-color:#fff1c2;text-shadow:none;box-shadow:0 5px #9c7037,0 0 0 7px #ffe6a52b,0 8px 24px #12233d66}.trail-current:before{content:'';position:absolute;inset:-10px;border:1px solid #fff0b7aa;border-radius:50%;animation:next-level-ring 2.4s ease-out infinite;pointer-events:none}.you-are-here{position:absolute;bottom:59px;left:50%;transform:translateX(-50%);white-space:nowrap;border-radius:7px;background:#182641ed;color:#ffe6a6;padding:6px 8px;font-size:7px;letter-spacing:1px;box-shadow:0 3px 8px #18233e55}.you-are-here:after{content:'';position:absolute;left:calc(50% - 4px);bottom:-5px;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #182641}.trail-boss .trail-node{width:65px;height:65px;border-color:#f0bdc2;background:linear-gradient(#78354f,#412a4a);box-shadow:0 5px #30213d,0 9px 22px #0c163b66}.boss-node-art{width:65px;height:65px;object-fit:contain;transform:scale(1.18);filter:drop-shadow(0 3px 4px #221c45)}.trail-boss .trail-stars{top:68px}.boss-stop-label{position:absolute;top:-25px;left:50%;transform:translateX(-50%);font-size:8px;color:#ffe1cc;background:#39253dbb;padding:4px 7px;border-radius:6px;white-space:nowrap}.chapter-mist{position:absolute;left:-30%;right:-30%;bottom:-40px;height:140px;z-index:1;background:radial-gradient(ellipse,#c0cbec38,transparent 65%);filter:blur(12px);animation:chapter-mist 15s ease-in-out infinite alternate;pointer-events:none}.biome-1 .adventure-dust i{border-radius:40%;background:#e8b5ff}.biome-2 .adventure-dust i{transform:rotate(45deg);border-radius:0}.biome-3 .adventure-dust i{background:#ffc281;box-shadow:0 0 9px #ff653f}.chapter-locked .chapter-scene{filter:saturate(.45) brightness(.6)}.chapter-locked .chapter-route{opacity:.35}.chapter-locked .chapter-heading{opacity:.8}.chapter-lock{position:absolute;bottom:12px;left:14px;right:14px;z-index:3;display:flex;gap:10px;align-items:center;background:#182039e8;border:1px solid #bac3e433;border-radius:15px;padding:12px;color:#d5dbeb;font-size:8px;letter-spacing:1px}.chapter-lock>.ui-icon{width:26px;height:26px}.chapter-lock small{display:block;letter-spacing:0;font-size:9px;margin-top:5px;color:#aebbd1;font-weight:500}.journey-end{text-align:center;font-size:8px;letter-spacing:1.5px;color:#9eaac5;margin:32px 0}.scene-sheet{width:100%;border:1px solid #b9cbe355;border-radius:27px;background:#15213a;overflow:hidden;box-shadow:0 -15px 50px #070d2855;animation:sheet-enter .25s ease-out}.sheet-art{height:155px;position:relative;background:linear-gradient(transparent,#15213a),var(--scene) center 30%/cover}.sheet-close{position:absolute;right:12px;top:12px;width:44px;height:44px;background:#121e3cbb;border:1px solid #deedff55;border-radius:50%;font-size:23px}.sheet-level{position:absolute;bottom:10px;left:22px;font-size:9px;letter-spacing:2px;color:#fff0c8}.sheet-boss{position:absolute;right:35px;bottom:-4px;width:120px;height:130px;object-fit:contain;filter:drop-shadow(0 8px 12px #080e2f66)}.sheet-copy{padding:15px 22px 19px}.sheet-copy>small{font-size:8px;color:#9acde0;letter-spacing:1.8px}.sheet-copy h2{font-size:28px;margin:8px 0 12px}.sheet-copy p{font-size:11px;color:#c3d1e2}.sheet-meta{display:flex;gap:8px}.sheet-meta span{background:#25374f;border:1px solid #acc9da22;border-radius:7px;padding:6px 8px;color:#ffe0a0;font-size:8px;letter-spacing:.6px}.enemy-portraits{display:flex;gap:12px;overflow-x:auto;padding:9px 0}.enemy-portraits>span{display:grid;justify-items:center;min-width:47px}.enemy-portrait{width:43px;height:43px}.enemy-portraits small{font-size:8px;color:#b9c8df;margin-top:5px}.sheet-copy .btn{margin:9px 0 0;font-size:12px;min-height:70px}#overlay:has(.scene-sheet){align-items:flex-end;background:#0c1428bb;backdrop-filter:blur(8px)}.menu-spark-layer{position:absolute;inset:0;z-index:25;pointer-events:none;overflow:hidden}.menu-spark-layer img{position:absolute;width:19px;height:19px;pointer-events:none}@keyframes home-scenery{to{transform:scale(1.04) translateY(-8px)}}@keyframes orbit-breathe{50%{opacity:.5;transform:rotate(5deg) scale(.95)}}@keyframes cta-shine{0%,65%{transform:translateX(-140%)}90%,100%{transform:translateX(140%)}}@keyframes adventure-drift{0%{opacity:0;translate:0 12px}25%,70%{opacity:.6}100%{opacity:0;translate:14px -45px}}@keyframes next-level-ring{0%{scale:.8;opacity:.8}100%{scale:1.35;opacity:0}}@keyframes chapter-mist{to{translate:14% 0;opacity:.5}}@keyframes sheet-enter{from{translate:0 30px;opacity:0}to{translate:0 0;opacity:1}}@media(max-height:740px){.adventure-home .brand-art{height:87px}.adventure-home .brand-art img{height:100px;width:230px}.adventure-home .hero-stage{height:175px}.adventure-home .hero{height:178px;width:215px}.home-badge{top:45px;min-height:67px;width:57px}.home-badge .ui-icon{width:28px;height:28px}.next-mission>img{height:60px;width:50px}.next-mission{padding:10px}.adventure-home .adventure-play{min-height:72px;font-size:22px}.home-links{margin-top:3px}.home-tagline{font-size:7px}}@media(prefers-reduced-motion:reduce){.adventure-home:before,.hero-orbit,.button-shine,.adventure-dust i,.trail-current:before,.chapter-mist{animation:none!important}.scene-sheet{animation:none}}#game[data-effects=low] .adventure-dust,#game[data-effects=low] .chapter-mist{display:none}#game[data-effects=low] .adventure-home:before,#game[data-effects=low] .button-shine,#game[data-effects=low] .hero-orbit{animation:none}
.loadout-page{position:relative;isolation:isolate;background:linear-gradient(#14223ce8,#14223cc7),var(--scene) center top/100% auto repeat-y}.loadout-world-banner{height:135px;position:relative;overflow:hidden;border-radius:22px;border:1px solid #d6dcf243;padding:21px;margin:5px 0 23px;background:linear-gradient(90deg,#101f3de6,#18274344),var(--scene) center 35%/cover;box-shadow:0 8px 25px #0b162c55}.loadout-world-banner span{display:block;font-size:8px;letter-spacing:2px;color:#f4ddb1}.loadout-world-banner strong{display:block;font-size:25px;letter-spacing:-1px;margin:9px 0;color:#fff3dd;text-shadow:0 2px 5px #101a33}.loadout-world-banner small{font-size:7px;letter-spacing:1.5px;color:#c6d9e4}.loadout-page .grid .unit{transition:filter .18s,transform .18s}.loadout-page .grid .unit:active{transform:scale(.97)}.loadout-page .grid .unit.selected{filter:drop-shadow(0 0 5px #8ee6ff55)}.adventure-home button:focus-visible,.adventure-page button:focus-visible,.scene-sheet button:focus-visible{outline:3px solid #fff3bf;outline-offset:4px}
.adventure-home .brand-art{height:124px}.adventure-home .brand-art img{height:120px;mask-image:none!important}.home-tagline{margin-top:7px;line-height:13px}@media(max-height:740px){.adventure-home .brand-art{height:101px}.adventure-home .brand-art img{height:95px}.adventure-home .hero-stage{height:164px}.adventure-home .hero{height:168px;width:205px}}
.journey-header{min-height:68px}.world-tabs{top:68px}
.next-mission,.home-badge,.world-tabs button{transition:transform .16s,border-color .16s,box-shadow .16s}.next-mission:hover{border-color:#dce9d877;box-shadow:0 10px 28px #0c193955,inset 0 1px #ffffff22}.next-mission:active{transform:scale(.985)}.home-badge:active{transform:rotate(0) scale(.94)}.world-tabs button:active{transform:translateY(1px) scale(.96)}#game:is([data-page=lab],[data-page=army],[data-page=daily],[data-page=shop],[data-page=settings]) #screen{background:radial-gradient(ellipse at 90% 0,#57478a4d,transparent 55%),linear-gradient(145deg,#15203bf2,#111c34ed),url('assets/18_world5_cloud_kingdom_background.png') center/cover!important}#game[data-page=lab] #screen{background:radial-gradient(ellipse at 90% 0,#528d7b44,transparent 55%),linear-gradient(145deg,#15203bf2,#111c34ed),url('assets/19_blobatorium_upgrade_shop_mockup.png') center/cover!important}#game:is([data-page=lab],[data-page=army],[data-page=daily],[data-page=shop],[data-page=settings]) .panel{background:linear-gradient(125deg,#29384dc4,#1d2942cc);border:1px solid #d0e4ff24;border-radius:22px;box-shadow:0 9px 25px #0a102c33,inset 0 1px #ffffff0b;padding:20px}#game:is([data-page=lab],[data-page=army],[data-page=daily],[data-page=shop],[data-page=settings]) .top .pill{background:#101c35c7;border:1px solid #cadbf633;box-shadow:none}#game:is([data-page=lab],[data-page=army],[data-page=daily],[data-page=shop],[data-page=settings]) .page>h2{color:#fff0d6;font-size:30px;line-height:1.12}#game[data-page=lab] .panel .bar{height:6px;background:#101c33}#game[data-page=lab] .panel .bar i{background:linear-gradient(90deg,#78d5bb,#d5edac)}.daily-grid .day{background:#16243a8a;border:1px solid #d6e5fb22}.daily-grid .day.ready{background:linear-gradient(#dac38022,#b49a5c14);border-color:#e2c989aa;box-shadow:inset 0 1px #f3ddb344}.setting{padding:17px 0;border-color:#d3e2f41c}.setting input[type=range]{accent-color:#a9e6cd}#game[data-page=shop] .cosmetic.selected{filter:drop-shadow(0 0 7px #dbc4ff66)}
