
/* Shared coastal-depot menu language; map composition remains unchanged. */
.modal:not(:has(.depot-shop)){border:1px solid #f9dfaa;border-radius:25px;background:linear-gradient(155deg,#fffdf5,#f5ead6);box-shadow:0 20px 70px #071e3b77,inset 0 1px #fff;color:#243d51}
.modal:not(:has(.depot-shop)) .modal-head{padding:17px 18px;margin:-1px -1px 18px;border-radius:23px 23px 14px 14px;background:linear-gradient(145deg,#215c80,#123956);box-shadow:inset 0 1px #b7e2ed88,0 5px 12px #15375220;color:#fff}
.modal-head h2{font-size:clamp(20px,5.8vw,27px);line-height:1.12;letter-spacing:-.4px}
.modal:not(:has(.depot-shop)) .modal-head h2{color:#fff}
.modal-head .eyebrow{color:#f8d78c;letter-spacing:1.8px;font-size:10px}
.modal-head .icon-button{flex-shrink:0;min-width:44px;min-height:44px;border:1px solid #e3f7ff99;background:linear-gradient(#6391ab,#356582);color:#fff;border-radius:13px;box-shadow:0 3px 0 #123a54}
.modal .primary-button{min-height:48px;border-radius:14px;background:linear-gradient(#ffbd55,#ee8726);border:1px solid #ce7020;box-shadow:inset 0 2px #ffe6a5,0 4px 0 #aa5c1c;color:#492a14;font-weight:850}
.modal .secondary-button{min-height:44px;border-radius:13px}
.hub-modal-card,.mission-row,.event-tile,.setting-row,.product,.vault-card{border-radius:16px;border:1px solid #d8d8c5;background:linear-gradient(145deg,#fffef9,#f3ebdb);box-shadow:inset 0 1px #fff,0 4px 10px #2943510c}
.hub-modal-hero{border-radius:19px;background:radial-gradient(ellipse at 50% 15%,#fff7ce,#e6f0df 65%,#d1e9e6);border:1px solid #cfdbba;box-shadow:inset 0 2px #fff8,0 6px 14px #254e4220}
.setting-row{padding:13px;margin-block:9px;gap:12px}
.setting-row small,.product-details small,.modal-subtitle{line-height:1.5}
.modal button:focus-visible,.welcome-back button:focus-visible{outline:3px solid #1993b3;outline-offset:3px}
.shop-v2-pack,.shop-v2-tool{padding:13px 8px 12px}
.shop-v2-pack h4,.shop-v2-tool strong{font-size:12px;line-height:1.3}
.shop-v2-pack button,.shop-v2-tool button{min-height:44px;font-size:12px}
.shop-v2-item small,.shop-v2-disclosure{font-size:11px;line-height:1.45}
.shop-price-column small{font-size:11px}
.shop-v2-pack .gold{filter:drop-shadow(0 4px 2px #a46c2440)}
.bundle-note{font-size:12px;line-height:1.5;margin:10px 12px;color:#5a604f}
.welcome-back{position:absolute;z-index:60;top:max(83px,calc(env(safe-area-inset-top) + 65px));left:50%;transform:translateX(-50%);width:min(340px,calc(100% - 28px));padding:16px;display:grid;grid-template-columns:46px 1fr 30px;gap:10px;border:2px solid #fff0bc;border-radius:21px;background:linear-gradient(135deg,#fffdf1,#f9e2ab);box-shadow:0 7px 0 #ad7534,0 15px 30px #153c4c55;color:#243d51;animation:welcome-entrance .35s ease-out}
.welcome-parcel{font-size:35px;align-self:center;filter:drop-shadow(0 4px 2px #71462135)}
.welcome-back strong{font-size:18px;line-height:1.2;display:block}
.welcome-back p{font-size:12px;line-height:1.4;margin:6px 0 0}
.welcome-close{width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#d3ad6333;color:#5c461f;font-size:25px}
.welcome-play{grid-column:1/-1;border:1px solid #bc751a;border-radius:12px;min-height:44px;background:linear-gradient(#ffc85c,#ee9c2e);box-shadow:inset 0 1px #fff3bb,0 3px 0 #ad6b20;color:#4b3016;font-weight:850}
@keyframes welcome-entrance{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}
@media(max-width:360px){.shop-v2-currency-grid,.shop-v2-tools{grid-template-columns:1fr}.shop-v2-pack .gold{font-size:32px}.shop-v2-tool strong{font-size:13px}.welcome-back{top:77px}}
@media(prefers-reduced-motion:reduce){.welcome-back{animation:none}}

.depot-shop-hud{grid-template-columns:auto minmax(0,1fr) auto;gap:5px;align-items:center}
.depot-shop-hud .depot-shop-logo{width:132px;min-width:0;max-width:100%;height:42px;background-size:182px 91px;justify-self:center}
.shop-hud-right{gap:4px}.shop-hud-stat{gap:4px;padding-inline:5px}.shop-hud-settings{width:36px;height:40px;flex-shrink:0}
.modal .modal-head .icon-button{color:#153c54!important;background:linear-gradient(#fff8e7,#ecd3a8)!important}
@media(max-width:360px){.depot-shop-hud .depot-shop-logo{width:110px;background-size:152px 76px}.shop-hud-stat strong{font-size:12px}.shop-hud-stat .coin,.shop-hud-stat .plus{width:21px;height:21px}.shop-hud-settings{width:32px}}

.depot-shop-hud .depot-shop-logo{height:32px}

.coin-uses-card{margin-top:18px;padding:16px;border:1px solid #c7dce6;border-radius:18px;background:linear-gradient(135deg,#fffdf1,#e6f2f3);color:#21435a;box-shadow:0 4px 0 #a1c0c8}
.coin-uses-card h3{font-size:18px;margin:0 0 9px}.coin-uses-card p{font-size:13px;line-height:1.65;margin:6px 0}.coin-uses-card small{display:block;font-size:12px;line-height:1.5;color:#536b75}

.adfree-feature{display:flex;gap:16px;margin:14px 0;padding:22px;border-radius:22px;background:linear-gradient(135deg,#fff3ce,#fffdf4);border:2px solid #e8c56d;box-shadow:0 7px 0 #173a4920;text-align:left;color:#163147}
.adfree-feature>span{font-size:42px;color:#bb8424}.adfree-feature>div{flex:1;min-width:0}.adfree-feature h3{font-size:24px;line-height:1.15;margin:6px 0}.adfree-feature p{font-size:14px;margin:8px 0}.adfree-feature small{display:block;font-size:11px;letter-spacing:.04em}.adfree-price{display:block;font-size:30px;margin:10px 0 2px}.adfree-feature button{width:100%;margin-top:12px;min-height:46px}
.lives-recovery-rule{font-size:22px;font-weight:800;text-align:center;color:#173a49;margin:12px 0}
@media(max-width:360px){.adfree-feature{padding:16px;gap:10px}.adfree-feature h3{font-size:21px}.adfree-feature>span{font-size:28px}}

/* Build45: soft candy-like materials, retaining the coastal delivery layout. */
.hub-route-world .hub-node .stamp{background:linear-gradient(155deg,#f1f9ff 4%,#b8d4ec 45%,#7298c4 100%)!important;box-shadow:inset 0 3px 2px #ffffffdf,inset 0 -5px 0 #456f9b,0 7px 0 #244a7480,0 11px 14px #183f6250!important;border:2px solid #e1f4ff!important;color:#264367!important}
.hub-route-world .hub-node.completed .stamp{background:linear-gradient(150deg,#d1ffe7,#63dfae 50%,#23ac8c)!important;color:#145d58!important;box-shadow:inset 0 3px 2px #ecfff8,inset 0 -5px 0 #16816e,0 7px 0 #15645670,0 11px 14px #16464245!important}
.hub-route-world .hub-node.current .stamp{background:linear-gradient(145deg,#fff5b5,#ffd35b 48%,#ff9a42)!important;color:#874216!important;border-color:#fff4b0!important;box-shadow:inset 0 3px 2px #fffad9,inset 0 -5px 0 #da7b26,0 7px 0 #a85c3270,0 0 22px #ffd56380!important}
.hub-topbar .hub-stat{box-shadow:inset 0 3px 0 #fff9,0 5px 0 #95632c,0 8px 12px #18375235!important}
.pass-reward-claim{min-height:44px;padding:9px 13px;border-radius:13px;border:0;background:linear-gradient(#7fe6b5,#38b98b);color:#124f49;font-weight:800;box-shadow:0 3px 0 #267f67}
.pass-reward-claim:disabled{background:#e4e9e2;box-shadow:none;color:#65756d}
.pass-purpose{padding:13px;border-radius:14px;background:#edf9f0;color:#285d4c}
.hub-life-time{font-size:10px;font-weight:800;font-variant-numeric:tabular-nums}

/* Build 46: one tactile coastal palette across map, shop, dialogs and play. */
:root{--button-ink:#173d58;--button-rim:#e7fbff;--button-base:#216781}
body.map-booting{background:linear-gradient(#9ce4ff,#43bdde 60%,#168eae)}
body.map-booting .app-layout,body.map-booting .site-header{visibility:hidden}
button,a.secondary-button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:focus-visible,a.secondary-button:focus-visible{outline:3px solid #b947ec!important;outline-offset:4px}
button:not(:disabled){transition:translate .12s ease,filter .12s ease,box-shadow .12s ease}
button:not(:disabled):active{translate:0 2px;filter:brightness(1.06)}
.hub-topbar .hub-stat,.shop-hud-stat{background:linear-gradient(155deg,#fffef0,#fff0bb 55%,#f8d47f)!important;border:2px solid #fff7d5!important;border-radius:19px!important;color:#603c20!important;box-shadow:inset 0 3px 2px #fff,0 5px 0 #b78743,0 9px 16px #15446035!important}
.hub-stat .plus,.shop-hud-stat .plus{background:linear-gradient(#91efb3,#26b579)!important;border:1px solid #1a936a!important;box-shadow:inset 0 2px #d2ffe4,0 2px 0 #147f61!important}
.hub-settings,.shop-hud-settings{background:linear-gradient(150deg,#80d1f1,#368fbd)!important;border:2px solid #d7f5ff!important;border-radius:16px!important;box-shadow:inset 0 2px #fff9,0 5px 0 #236283!important;color:white!important}
.hub-card button{background:linear-gradient(155deg,#fffcf1,#e8f5f1)!important;border:2px solid #fff9db!important;border-radius:21px!important;color:#20465b!important;box-shadow:inset 0 2px #fff,0 6px 0 #7eaeb2,0 12px 18px #123f5550!important}
.hub-card .pic{border-radius:15px!important;background:linear-gradient(155deg,#e6faff,#b3e6f1)!important;box-shadow:inset 0 2px #fff9,0 3px 0 #77b6c633!important}
.hub-card small{background:linear-gradient(#438eb0,#286882)!important;color:#fff!important;border-radius:10px!important;text-shadow:none!important}
.hub-card strong{color:#214a5f!important;text-shadow:none!important}
.depot-shop{background:linear-gradient(180deg,#d6f3f6,#fff5df 50%,#e8f4ee)!important}
.depot-shop-header{height:184px!important}
.depot-shop-sign{top:73px!important;left:16px;right:auto;padding:8px 15px;border-radius:16px;background:linear-gradient(145deg,#72c9eb,#3187b3);border-color:#effdff;box-shadow:inset 0 2px #fff8,0 4px 0 #24617c;font-size:18px}
.depot-shop-mascot{left:44%!important;bottom:9px!important}
.hub-pass .pic{background:linear-gradient(#ffedf5,#edb4da)!important}
.hub-wheel .pic{background:linear-gradient(#fff5c9,#ffd986)!important}
.hub-daily .pic{background:linear-gradient(#d8ffe6,#98e2bb)!important}
.hub-vault-mini{background:linear-gradient(145deg,#fff8da,#edca7d)!important;border:2px solid #fff2be!important;box-shadow:inset 0 2px #fff9,0 5px 0 #a6803d,0 9px 15px #163d553d!important;border-radius:17px!important;color:#574024!important}
.hub-bottom-nav,.shop-bottom-nav{background:linear-gradient(180deg,#e4fafff5,#8cc9d9fc)!important;border-top:2px solid #fffce1!important;box-shadow:0 -6px 24px #15516d35!important;backdrop-filter:none!important}
.hub-bottom-nav button,.shop-bottom-nav button{background:linear-gradient(155deg,#fffef5,#d9f0f4)!important;border:2px solid #f5ffff!important;border-radius:18px!important;color:#20465b!important;box-shadow:inset 0 2px #fff,0 4px 0 #6196ac!important;text-shadow:none!important;min-height:64px!important}
.hub-bottom-nav button.active,.shop-bottom-nav button.active{background:linear-gradient(150deg,#fff8ba,#ffd366 60%,#ffaf4d)!important;border-color:#fff3aa!important;box-shadow:inset 0 3px #ffffdf,0 4px 0 #bd8434,0 0 14px #ffec9a80!important;color:#684318!important}
.hub-bottom-nav .nav-icon,.shop-bottom-nav button>span{filter:drop-shadow(0 3px 1px #34677a30)!important}
.modal .primary-button,.game-controls .primary-button,.welcome-play,.shop-v2-tool button:not(:disabled){background:linear-gradient(155deg,#ffe8a5,#ffc35b 65%,#f9a347)!important;border:2px solid #fff0c2!important;box-shadow:inset 0 2px #fff8,0 4px 0 #bd7c2f,0 6px 12px #92642d25!important;color:#674119!important;border-radius:16px!important;font-weight:850}
.modal .secondary-button,.game-controls .icon-button,.game-shell .watch-fail,.game-shell .booster-button{background:linear-gradient(155deg,#f5fcff,#c5e8f2)!important;border:1px solid #fafefe!important;border-radius:15px!important;color:#22516a!important;box-shadow:inset 0 2px #fff,0 4px 0 #7ba8b8,0 7px 12px #214d6220!important}
.shop-v2-pack button:not(:disabled),.shop-price-button:not(:disabled),.pass-reward-claim:not(:disabled){background:linear-gradient(150deg,#a0f4bc,#48ce8c 50%,#26af7b)!important;border:2px solid #d4ffe3!important;box-shadow:inset 0 2px #eafff2,0 4px 0 #18805f,0 7px 12px #17624720!important;border-radius:15px!important;color:#123e31!important;text-shadow:none!important;font-weight:900}
.shop-v2-pack,.shop-v2-tool{display:flex;flex-direction:column;align-items:stretch;border-radius:21px!important;background:linear-gradient(150deg,#fffef8,#f2f7ed)!important;border:1px solid #e5e0c9!important;box-shadow:inset 0 2px #fff,0 5px 0 #a6b8ae,0 9px 14px #27566318!important;gap:4px}
.shop-v2-pack .shop-price-column,.shop-v2-tool .shop-price-column{margin-top:auto}
.shop-v2-pack>strong,.shop-v2-tool>strong{font-size:13px!important;line-height:1.3!important;min-height:34px}
.shop-v2-pack button,.shop-v2-tool button{min-height:46px!important}
.shop-price-column>strong{color:#af5429!important}
.depot-shop .product{border-radius:19px!important;background:linear-gradient(145deg,#fffdf1,#eef5ed)!important;box-shadow:0 4px 0 #a7bbba!important}
.depot-shop .product button:not(:disabled){border-radius:13px;background:linear-gradient(#a2efc2,#51c498);border:1px solid #d9ffe5;color:#174d3b;box-shadow:0 3px 0 #318967;min-height:44px}
.modal button:disabled{opacity:1;color:#687a80!important;filter:saturate(.35);cursor:default}
.welcome-back{top:max(83px,calc(env(safe-area-inset-top) + 65px));border-color:#fff8dc;background:linear-gradient(145deg,#fffef5,#daf3ed);box-shadow:0 5px 0 #75a8a9,0 12px 24px #1b506a44}
.welcome-play{min-height:44px}
@media(max-width:360px){.hub-bottom-nav button,.shop-bottom-nav button{border-radius:14px!important}.hub-card button{border-radius:17px!important}.shop-v2-pack>strong,.shop-v2-tool>strong{min-height:0}}
@media(prefers-reduced-motion:reduce){button:not(:disabled){transition:none}button:not(:disabled):active{translate:none}}

/* The shop shell already applies the safe-area inset; do not apply it twice. */
.depot-shop-hud{top:8px!important}
