/* Fix My Fail premium hub — living world first, cardboard only as accent material. */
:root{--hub-blue:#0d385f;--hub-gold:#ffbc2e;--hub-red:#e74343;--hub-card:#e8ba78;--hub-ink:#3b2819}
.world-hub{position:fixed;inset:0;z-index:40;overflow:auto;background:#0b2742;color:var(--hub-ink);font-family:inherit;overscroll-behavior:contain}
.world-hub[hidden]{display:none!important} body.hub-open{overflow:hidden;background:#0b2742}
body.hub-open>.site-header,body.hub-open>.app-layout,body.hub-open>.site-footer{display:none!important}
.hub-shell{position:relative;min-height:100dvh;max-width:620px;margin:auto;overflow:hidden;isolation:isolate;background-color:#0b2844;background-image:linear-gradient(180deg,#62d2ff20 0%,#0a29452f 42%,#03101fd6 100%),url('./art-storm.webp');background-size:cover,cover;background-position:center,center;background-repeat:no-repeat;background-blend-mode:screen,normal;box-shadow:0 0 70px #04172877}
.hub-world-canvas{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;filter:saturate(1.18) brightness(1.02) contrast(1.05);opacity:.18;mix-blend-mode:screen;pointer-events:none}
.hub-shell:before{content:'';position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 50% 16%,#fff8c64d,transparent 27%),linear-gradient(180deg,#07192b24 0%,transparent 24%,transparent 68%,#03111ed9 100%);pointer-events:none}
.hub-shell:after{content:'';position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 50% 11%,#ffffff38,transparent 29%),linear-gradient(90deg,#04121e24,transparent 19% 81%,#04121e24);pointer-events:none}
.hub-sky,.hub-water,.hub-coast{display:none!important}
.hub-topbar{position:sticky;top:0;z-index:14;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:max(9px,env(safe-area-inset-top)) 9px 7px;background:linear-gradient(#0b2745d9,#0b27457a 72%,transparent);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);pointer-events:none}
.hub-topbar>*{pointer-events:auto}.hub-stat{height:46px;display:flex;align-items:center;justify-content:center;gap:7px;padding:4px 8px;background:linear-gradient(#f4ddb8,#e0b274);border:2px solid #9d6b36;border-radius:17px;box-shadow:inset 0 2px #fff8d6,0 5px 0 #6d4726,0 9px 18px #06233a59;font-weight:1000;min-width:0}
.hub-stat strong{font-size:18px;white-space:nowrap}.hub-stat .heart{font-size:28px;color:#d92f4d;text-shadow:0 2px #7f1830}.hub-stat .coin{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:linear-gradient(#ffe273,#f6a71b);border:2px solid #d5850a;color:#744107;font-size:14px}.hub-stat .plus{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:linear-gradient(#59dc69,#159b3d);border:2px solid #0e7a31;color:#fff;font-size:20px}.hub-life-time{font-size:9px;color:#684625;font-weight:1000}
.hub-logo{position:relative;margin:0 auto;padding:5px 14px 7px;min-width:145px;text-align:center;background:linear-gradient(145deg,#c99256,#a86e36);border:2px solid #70461f;border-radius:14px 17px 12px 16px;box-shadow:inset 0 2px #e9c58d,0 5px 0 #5b351a,0 10px 18px #06233a4e;transform:rotate(-1deg)}
.hub-logo:before,.hub-logo:after{content:'';position:absolute;top:-4px;width:27px;height:8px;background:#e8c993b8}.hub-logo:before{left:9px;transform:rotate(-8deg)}.hub-logo:after{right:9px;transform:rotate(7deg)}
.hub-logo b{display:block;font-size:18px;line-height:.88;color:#f8fcff;text-shadow:0 2px #174c82,2px 0 #174c82,-2px 0 #174c82}.hub-logo strong{display:block;font-size:31px;line-height:.95;color:#ffb425;text-shadow:0 3px #984b0e,2px 0 #174c82,-2px 0 #174c82}
.hub-settings{width:45px;height:45px;border-radius:15px;background:linear-gradient(#5a8db9,#2e608d);border:2px solid #1c4c78;color:#fff;box-shadow:inset 0 2px #9bc8e9,0 5px 0 #173b5b;font-size:21px}
.hub-map{position:relative;z-index:2;min-height:930px;margin-top:-2px;padding:66px 9px 148px}
.hub-route{position:absolute;z-index:1;left:54%;top:135px;width:132px;height:675px;transform:translateX(-50%) rotate(2deg);border-radius:48% 52% 44% 56%/8% 10% 8% 10%;background:linear-gradient(90deg,#8d8f8c 0 8%,#d9d7ce 9% 89%,#858982 90%);border:4px solid #f3eee1;box-shadow:0 6px 0 #73644d,0 14px 25px #05263b66}
.hub-route:after{content:'';position:absolute;inset:14px 63px;border-left:3px dashed #fff9}.hub-route:before{content:'';position:absolute;inset:-10px -20px;border-radius:inherit;background:radial-gradient(circle at 15% 12%,#4d9335 0 6px,transparent 7px),radial-gradient(circle at 92% 30%,#5ca53c 0 7px,transparent 8px),radial-gradient(circle at 11% 59%,#478b31 0 8px,transparent 9px),radial-gradient(circle at 88% 77%,#58a33b 0 8px,transparent 9px);z-index:-1}
.hub-depot{position:absolute;left:53%;top:44px;transform:translateX(-50%);width:154px;height:104px;background:linear-gradient(90deg,#dcebf3 0 16%,#fff9eb 17% 83%,#c9dbe6 84%);border:3px solid #446987;border-radius:12px 12px 5px 5px;box-shadow:0 8px 0 #2a4961,0 14px 30px #06293e66}
.hub-depot:before{content:'DEPÅ';position:absolute;left:18px;right:18px;top:10px;text-align:center;font-size:20px;font-weight:1000;color:#24557e}.hub-depot:after{content:'📦';position:absolute;left:49px;right:49px;bottom:0;height:57px;display:grid;place-items:center;background:#173d58;border:5px solid #f6b728;border-bottom:0;font-size:27px}
.hub-crane{position:absolute;right:5%;top:106px;font-size:54px;filter:drop-shadow(0 7px 4px #153b4e55)}.hub-lighthouse{position:absolute;left:4%;top:445px;font-size:58px;filter:drop-shadow(0 7px 4px #153b4e55)}.hub-truck{position:absolute;left:31%;top:625px;font-size:48px;transform:rotate(-4deg);filter:drop-shadow(0 7px 4px #153b4e55)}
.hub-node{position:absolute;z-index:6;width:76px;height:72px;border:0;background:none;padding:0;transition:transform .15s;filter:drop-shadow(0 6px 4px #3f2c1e66)}.hub-node:active{transform:scale(.94)}
.hub-node .stamp{display:grid;place-items:center;width:67px;height:49px;border-radius:12px;background:linear-gradient(#fff9ee,#f2e8d4);border:4px solid #d94c43;box-shadow:inset 0 0 0 2px #fff,0 5px 0 #7c4631;font-size:19px;font-weight:1000;color:#3b2b22}.hub-node .stars{display:block;margin-top:2px;text-align:center;letter-spacing:-2px;font-size:17px;color:#ffc72e;text-shadow:0 2px #8a4e08}
.hub-node.current .stamp{background:linear-gradient(#fff59b,#ffcc32);box-shadow:inset 0 0 0 2px #fff6c1,0 5px 0 #8b4b26,0 0 24px #ffd54d}.hub-node.locked{filter:grayscale(.75) opacity(.67)}.hub-node.locked .stamp{border-color:#80868a;background:#d8dbda}
.hub-node.n0{top:735px;left:53%}.hub-node.n1{top:630px;left:67%}.hub-node.n2{top:522px;left:45%}.hub-node.n3{top:414px;left:66%}.hub-node.n4{top:306px;left:45%}.hub-node.n5{top:198px;left:62%}
.hub-mascot{position:absolute;z-index:7;left:14%;top:670px;width:84px;height:79px;background:linear-gradient(145deg,#d99b56,#b87134);border:3px solid #6d411f;border-radius:15px 15px 20px 20px;box-shadow:0 7px 0 #714120,0 14px 24px #06243a55;transform:rotate(-7deg)}.hub-mascot:before{content:'⌒ ᴗ ⌒';position:absolute;left:8px;right:8px;top:29px;text-align:center;font-weight:1000;font-size:17px;color:#342015}.hub-mascot:after{content:'🧢';position:absolute;left:15px;top:-31px;font-size:43px}.hub-mascot i,.hub-mascot b{position:absolute;width:22px;height:10px;background:#f7fbff;border:2px solid #778793;border-radius:60%;bottom:-8px}.hub-mascot i{left:8px;transform:rotate(12deg)}.hub-mascot b{right:8px;transform:rotate(-12deg)}
.hub-card{position:absolute;z-index:7;width:118px;padding:0;border:0;background:transparent;text-align:center}.hub-card button{all:unset;display:block;box-sizing:border-box;width:100%;padding:7px 7px 9px;border-radius:17px;background:linear-gradient(155deg,#efc98bdc,#b87335e8);border:2px solid #fff0c07a;box-shadow:inset 0 2px #fff2c8a6,0 6px 0 #603716,0 13px 28px #020d17a3;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);cursor:pointer}.hub-card .pic{height:52px;border-radius:11px;background:linear-gradient(#80d8f4,#50afd4);display:grid;place-items:center;font-size:29px;border:2px solid #d7f4ff}.hub-card strong{display:block;margin-top:6px;font-size:12px;line-height:1.15}.hub-card small{display:inline-flex;align-items:center;gap:3px;margin-top:5px;padding:4px 8px;border-radius:10px;background:#154e79;color:#fff;font-size:9px;font-weight:1000}.hub-card .badge{position:absolute;z-index:2;right:-6px;top:-6px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#ee3e46;color:#fff;border:2px solid #fff;font-weight:1000}
.hub-special{left:8px;top:132px}.hub-daily{left:8px;top:330px}.hub-pass{right:8px;top:132px}.hub-wheel{right:8px;top:330px}
.hub-vault-mini{position:absolute;z-index:7;left:12px;top:548px;width:106px;min-height:76px;padding:8px;border:2px solid #d9f5ff;border-radius:17px;background:linear-gradient(145deg,#67dcffdd,#1b6eaceb);color:#fff;box-shadow:inset 0 2px #d8f8ff80,0 6px 0 #154d77,0 13px 28px #020d178c;text-align:center;font-weight:1000;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.hub-vault-mini span{display:block;font-size:26px}.hub-vault-mini strong{display:block;font-size:11px;margin-top:3px}.hub-vault-mini small{display:inline-block;margin-top:5px;padding:4px 8px;border-radius:9px;background:#123e63;color:#ffe173;font-size:9px}
.hub-zone-sign{position:absolute;z-index:4;left:13px;top:794px;padding:8px 12px;border-radius:7px;background:#765034;color:#fff;box-shadow:0 5px 0 #4d311e;font-size:10px;font-weight:1000;transform:rotate(2deg)}
.hub-bottom-nav{position:sticky;z-index:15;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:6px 6px max(7px,env(safe-area-inset-bottom));background:linear-gradient(#d2a169,#b97c42);border-top:3px solid #74461f;box-shadow:0 -9px 28px #06243a55}.hub-bottom-nav button{position:relative;min-height:69px;border:2px solid #9a6937;border-radius:12px;background:linear-gradient(#e1b77f,#ca9255);color:#452b1b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;font-weight:1000;box-shadow:inset 0 2px #f1d6ae}.hub-bottom-nav button.active{background:linear-gradient(#ffe96b,#ffbf2f);border-color:#e18d11;box-shadow:inset 0 2px #fff6a8,0 0 16px #ffd84b}.hub-bottom-nav .nav-icon{font-size:25px}.hub-bottom-nav .nav-badge{position:absolute;top:3px;right:17%;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#ed3542;color:#fff;border:2px solid #fff;font-size:9px}
.hub-modal-card{display:grid;gap:12px}.hub-modal-hero{display:flex;gap:13px;align-items:center;padding:14px;border-radius:17px;background:linear-gradient(135deg,#eaf8ff,#fff0c9);border:1px solid #d3bf98;box-shadow:inset 0 1px #fff}.hub-modal-hero>span{font-size:42px}.hub-modal-hero strong{display:block;font-size:17px}.hub-modal-hero small{display:block;color:#6f685c;margin-top:4px;line-height:1.45}
.mission-grid{display:grid;gap:8px}.mission-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;padding:10px;border:1px solid #e1d2b8;border-radius:13px;background:#fffaf0}.mission-row>span{font-size:25px}.mission-row strong{font-size:12px}.mission-row small{display:block;font-size:9px;color:#7b7367;margin-top:3px}
.pass-track{height:17px;border-radius:20px;background:#d7e3e5;overflow:hidden;border:2px solid #aabec4}.pass-track i{display:block;height:100%;background:linear-gradient(90deg,#42d5e9,#1f90dc);border-radius:20px}
.vault-card{text-align:center}.vault-visual{position:relative;width:185px;height:155px;margin:7px auto 12px;border-radius:28px;background:linear-gradient(145deg,#78dcff,#267bb9);border:5px solid #e7f9ff;box-shadow:0 10px 0 #185989,0 18px 30px #173d5d33}.vault-visual:before{content:'⌒‿⌒';position:absolute;left:0;right:0;top:56px;font-size:32px;color:#123b65;font-weight:1000}.vault-visual:after{content:'▰ ▰ ▰';position:absolute;left:18px;right:18px;bottom:20px;font-size:27px;color:#ffc12c;text-shadow:0 3px #a96905}.vault-slot{position:absolute;left:55px;top:20px;width:72px;height:13px;border-radius:10px;background:#174e74;box-shadow:inset 0 3px #0b3550}.vault-progress{height:21px;border-radius:14px;background:#59402e;border:3px solid #c99f6c;overflow:hidden}.vault-progress i{display:block;height:100%;background:linear-gradient(90deg,#ffdd49,#f39b11)}.vault-count{font-weight:1000;margin:7px 0 10px}
.wheel-stage{text-align:center}.prize-wheel{position:relative;width:min(78vw,345px);aspect-ratio:1;margin:12px auto 16px;border-radius:50%;background:conic-gradient(from -22.5deg,#ffd546 0 45deg,#28b7e9 45deg 90deg,#7658ef 90deg 135deg,#35c75c 135deg 180deg,#ef4e45 180deg 225deg,#f39c24 225deg 270deg,#ed61a6 270deg 315deg,#3fc5d8 315deg);border:12px solid #d9911f;box-shadow:0 0 0 5px #ffe99a,0 15px 28px #402b243d;transition:transform 1.35s cubic-bezier(.16,.82,.19,1)}.prize-wheel:before{content:'▼';position:absolute;z-index:3;top:-35px;left:50%;transform:translateX(-50%);font-size:37px;color:#ed3c48;text-shadow:0 3px #8a2029}.prize-wheel:after{content:'📦';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#ffe79a;border:8px solid #d68a18;font-size:32px;box-shadow:0 4px #8a5611}.wheel-prize{position:absolute;z-index:2;width:86px;text-align:center;font-size:9px;font-weight:1000;color:#fff;text-shadow:0 2px 2px #0008}.wheel-prize span{display:block;font-size:25px;line-height:1.05}.wheel-prize.p0{top:8%;left:36%}.wheel-prize.p1{top:23%;right:4%}.wheel-prize.p2{top:56%;right:3%}.wheel-prize.p3{bottom:7%;right:25%}.wheel-prize.p4{bottom:8%;left:21%}.wheel-prize.p5{top:57%;left:2%}.wheel-prize.p6{top:25%;left:2%}.wheel-prize.p7{top:7%;left:17%}.wheel-ticket{display:inline-flex;align-items:center;gap:9px;padding:8px 17px;border-radius:15px;background:#f3dfbb;border:2px solid #b8874d;font-weight:1000}.wheel-status{min-height:24px;margin:9px 0 3px;font-size:12px;font-weight:900;color:#315d4b}
.event-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.event-tile{min-height:120px;padding:12px;border:1px solid #d9c6a5;border-radius:15px;background:linear-gradient(145deg,#fffaf2,#efdfc4);text-align:left}.event-tile span{font-size:35px}.event-tile strong{display:block;margin-top:8px}.event-tile small{display:block;margin-top:4px;color:#71695d;line-height:1.4}
@media(max-width:520px){.hub-logo{min-width:126px;padding-inline:9px}.hub-logo b{font-size:17px}.hub-logo strong{font-size:29px}.hub-stat{height:43px;padding:4px 5px}.hub-stat strong{font-size:16px}.hub-card{width:108px}.hub-map{min-height:900px}.hub-route{height:640px}.hub-node.n0{top:715px}.hub-node.n1{top:615px}.hub-node.n2{top:512px}.hub-node.n3{top:409px}.hub-node.n4{top:306px}.hub-node.n5{top:203px}}
@media(min-width:700px){.hub-shell{margin-top:18px;margin-bottom:18px;border-radius:28px;min-height:960px;box-shadow:0 24px 70px #071d3159}.world-hub{background:#c9ebf6}}

/* Living-map overrides */
.hub-world-canvas{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;filter:saturate(1.08) brightness(1.02);opacity:.16;mix-blend-mode:screen;pointer-events:none}
.hub-sky{opacity:.28;mix-blend-mode:screen}.hub-water{opacity:.24}.hub-coast{opacity:.26}
.hub-route{display:none}
.hub-road-seg{position:absolute;z-index:2;height:58px;border-radius:999px;background:linear-gradient(180deg,#f1eee3 0 9%,#8b8f8c 10% 18%,#c9c9c2 19% 81%,#7e827f 82% 90%,#eee9dc 91%);box-shadow:0 8px 0 #655b4d,0 12px 19px #071f3157;transform-origin:left center}
.hub-road-seg:after{content:'';position:absolute;left:12px;right:12px;top:27px;border-top:3px dashed #fff9}
.hub-road-seg.r1{left:49%;top:724px;width:155px;transform:rotate(-13deg)}
.hub-road-seg.r2{left:57%;top:633px;width:160px;transform:rotate(-48deg)}
.hub-road-seg.r3{left:44%;top:527px;width:166px;transform:rotate(35deg)}
.hub-road-seg.r4{left:57%;top:420px;width:164px;transform:rotate(-46deg)}
.hub-road-seg.r5{left:45%;top:313px;width:166px;transform:rotate(35deg)}
.hub-island-detail{position:absolute;z-index:0;left:29%;right:3%;top:175px;bottom:105px;border-radius:44% 50% 38% 55%;background:radial-gradient(circle at 25% 25%,#8fd968 0 5%,transparent 6%),radial-gradient(circle at 67% 42%,#72c553 0 7%,transparent 8%),linear-gradient(135deg,#7fc95a,#4f9939);box-shadow:-12px 18px 0 #ad8f63,-22px 32px 0 #645e4b,0 20px 50px #071e3061;opacity:.9}
.hub-island-detail:after{content:'';position:absolute;inset:8% 8%;border-radius:inherit;background:radial-gradient(circle at 25% 50%,#f7da64 0 2px,transparent 3px),radial-gradient(circle at 70% 20%,#ffe88a 0 2px,transparent 3px),radial-gradient(circle at 68% 78%,#f4c95d 0 2px,transparent 3px);opacity:.8}
.hub-waterfall{position:absolute;z-index:1;left:28%;top:300px;width:24px;height:190px;border-radius:12px;background:linear-gradient(90deg,#e9fbff,#69d4f5 52%,#fff);box-shadow:0 0 18px #c7f5ff;transform:rotate(6deg);opacity:.88}
.hub-bridge{position:absolute;z-index:3;left:22%;top:650px;width:205px;height:42px;border-radius:9px;background:repeating-linear-gradient(90deg,#9d876d 0 24px,#c0ab8f 24px 46px);border:4px solid #e1d3bc;box-shadow:0 7px 0 #695b4c,0 12px 18px #071f3150;transform:rotate(-4deg)}
.hub-bridge:after{content:'';position:absolute;left:8px;right:8px;top:16px;border-top:3px dashed #fff8}
.hub-house{position:absolute;z-index:1;width:34px;height:30px;border-radius:3px;background:#fff2dd;border:2px solid #b97752;box-shadow:0 4px 7px #0a26363d}
.hub-house:before{content:'';position:absolute;left:-5px;right:-5px;top:-13px;height:16px;background:#d95d3f;clip-path:polygon(50% 0,100% 100%,0 100%)}
.hub-house.h1{right:7%;top:515px}.hub-house.h2{right:18%;top:690px;transform:scale(.85)}.hub-house.h3{left:29%;top:555px;transform:scale(.76)}
.hub-tree{position:absolute;z-index:2;width:12px;height:28px;background:#76512f;border-radius:6px}
.hub-tree:before,.hub-tree:after{content:'';position:absolute;left:50%;transform:translateX(-50%);border-radius:50%;background:#398b3e;box-shadow:0 2px 4px #173c2a55}.hub-tree:before{width:31px;height:31px;top:-21px}.hub-tree:after{width:23px;height:23px;top:-32px;background:#54a94b}
.hub-tree.t1{left:34%;top:246px}.hub-tree.t2{left:79%;top:275px}.hub-tree.t3{left:36%;top:442px}.hub-tree.t4{left:83%;top:465px}.hub-tree.t5{left:38%;top:740px}.hub-tree.t6{left:79%;top:760px}
.hub-node{z-index:8}.hub-depot,.hub-crane,.hub-lighthouse,.hub-truck,.hub-mascot{z-index:7}.hub-card,.hub-vault-mini{z-index:10}
.hub-bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:min(100%,620px);z-index:30}
.hub-map{padding-bottom:175px}
@media(max-width:520px){.hub-road-seg.r1{left:48%}.hub-road-seg.r2{left:56%}.hub-road-seg.r3{left:43%}.hub-road-seg.r4{left:56%}.hub-road-seg.r5{left:44%}.hub-bridge{left:18%;width:190px}}

/* Final canvas-led map layout */
.hub-sky,.hub-water,.hub-coast{display:none}
.hub-world-canvas{filter:saturate(1.24) brightness(1.08) contrast(1.03)}
.hub-node.n0{top:746px;left:45%}
.hub-node.n1{top:640px;left:61%}
.hub-node.n2{top:538px;left:47%}
.hub-node.n3{top:438px;left:55%}
.hub-node.n4{top:338px;left:47%}
.hub-node.n5{top:234px;left:53%}
.hub-depot,.hub-crane{display:none!important}
.hub-mascot{top:666px;left:20%}
@media(max-width:520px){.hub-node.n0{top:728px;left:44%}.hub-node.n1{top:628px;left:60%}.hub-node.n2{top:530px;left:47%}.hub-node.n3{top:432px;left:54%}.hub-node.n4{top:334px;left:47%}.hub-node.n5{top:236px;left:52%}.hub-depot{top:66px}.hub-mascot{top:656px;left:18%}}

/* Use the approved existing sprite art for brand + mascot */
.hub-logo{width:204px;min-width:204px;height:56px;padding:0;margin:0 auto;background-image:url('./art-atlas.png');background-repeat:no-repeat;background-size:282px 141px;background-position:0 0;border:0;border-radius:0;box-shadow:none;transform:none}
.hub-logo:before,.hub-logo:after,.hub-logo b,.hub-logo strong{display:none!important}
.hub-mascot{width:96px;height:90px;left:17%;top:650px;background-image:url('./art-atlas.png');background-repeat:no-repeat;background-size:410px 205px;background-position:0 -74px;background-color:transparent;border:0;border-radius:0;box-shadow:none;transform:rotate(-5deg);filter:drop-shadow(0 9px 7px #0b2b3d55)}
.hub-mascot:before,.hub-mascot:after,.hub-mascot i,.hub-mascot b{display:none!important}
@media(max-width:520px){.hub-logo{width:176px;min-width:176px;height:50px;background-size:248px 124px}.hub-mascot{width:88px;height:83px;background-size:376px 188px;background-position:0 -68px;left:16%;top:646px}}

/* Compact premium HUD for narrow phones */
@media(max-width:520px){
  .hub-topbar{grid-template-columns:82px minmax(132px,1fr) 126px;gap:4px;padding-left:5px;padding-right:5px}
  .hub-logo{width:154px;min-width:154px;height:47px;background-size:218px 109px}
  .hub-stat{height:41px;padding:3px 5px;gap:4px;border-radius:15px}
  .hub-stat .heart{font-size:24px}.hub-stat .coin{width:25px;height:25px;font-size:12px}.hub-stat .plus{width:23px;height:23px;font-size:17px}.hub-stat strong{font-size:15px}
  .hub-settings{width:40px;height:40px;font-size:18px;border-radius:13px}
  .hub-topbar>div:last-child{gap:3px!important}
}


.feature-intro{margin:-2px auto 8px;max-width:330px;text-align:center;color:#fff6dd;font-size:12px;line-height:1.45;font-weight:850;text-shadow:0 1px #6d4728}
.modal:has(.wheel-stage) .feature-intro,.modal:has(.vault-card) .feature-intro{padding:0 10px}

/* 0.9.1 premium hub final pass — world first, chrome second */
.hub-world-canvas{opacity:.10!important;filter:saturate(1.12) brightness(1.05)!important;mix-blend-mode:screen!important}
.hub-shell{background-color:#58c9ef!important;background-image:linear-gradient(180deg,#a7ecff54 0%,#68d6f12b 38%,#0b6d9a26 100%),url('./art-storm.png'),url('./hub-coast.png')!important;background-size:cover,cover,cover!important;background-position:center,center,center top!important;background-repeat:no-repeat!important;background-blend-mode:screen,soft-light,normal!important}
.hub-shell:before{background:radial-gradient(circle at 72% 8%,#fff4a870,transparent 24%),linear-gradient(180deg,#07325020 0%,transparent 24%,transparent 70%,#05233a65 92%,#03101ea8 100%)!important}
.hub-shell:after{background:linear-gradient(90deg,#04121e08,transparent 14% 86%,#04121e08)!important}
.hub-card{width:98px!important}
.hub-card button{padding:6px!important;border-radius:16px!important;background:linear-gradient(150deg,#efca8ee9,#ba773ce8)!important;border:2px solid #fff0c07a!important;box-shadow:inset 0 2px #fff3c7a8,0 5px 0 #613917,0 11px 22px #03101c78!important}
.hub-card .pic{height:41px!important;font-size:23px!important;border-radius:10px!important}
.hub-card strong{font-size:10px!important;margin-top:5px!important;line-height:1.08!important}
.hub-card small{font-size:8px!important;margin-top:4px!important;padding:3px 6px!important}
.hub-card .badge{width:22px!important;height:22px!important;right:-5px!important;top:-5px!important;font-size:10px!important}
.hub-special{left:8px!important;top:142px!important}.hub-daily{left:8px!important;top:338px!important}
.hub-pass{right:8px!important;top:142px!important}.hub-wheel{right:8px!important;top:338px!important}
.hub-vault-mini{left:9px!important;top:552px!important;width:93px!important;min-height:68px!important;padding:7px!important;border-radius:16px!important}
.hub-vault-mini span{font-size:22px!important}.hub-vault-mini strong{font-size:10px!important}.hub-vault-mini small{font-size:8px!important;padding:3px 6px!important}
.hub-zone-sign{display:none!important}
.hub-node{width:68px!important;height:66px!important;filter:drop-shadow(0 7px 5px #2d1a104f)!important}
.hub-node .stamp{width:60px!important;height:44px!important;border-radius:13px!important;font-size:17px!important;border-width:3px!important;box-shadow:inset 0 0 0 2px #fff,0 5px 0 #7b452f,0 8px 13px #27170f55!important}
.hub-node .stars{font-size:15px!important;margin-top:1px!important}
.hub-node.current .stamp{transform:scale(1.08);box-shadow:inset 0 0 0 2px #fff8c9,0 5px 0 #8b4b26,0 0 20px #ffd94e,0 10px 18px #3c24176e!important}
.hub-mascot{filter:drop-shadow(0 10px 8px #0b2b3d6e)!important}
.hub-bottom-nav{background:linear-gradient(#e0b273f4,#b8793ff8)!important;border-top:2px solid #8a5627!important;box-shadow:0 -10px 28px #05203952!important}
.hub-bottom-nav button{min-height:64px!important;border-radius:13px!important;background:linear-gradient(#ecc48e,#c98f52)!important;border:2px solid #a06b36!important;box-shadow:inset 0 2px #f9dfb7,0 3px 0 #785027!important}
.hub-bottom-nav button.active{background:linear-gradient(#fff27a,#ffc32f)!important;border-color:#dc8b10!important;box-shadow:inset 0 2px #fff8bd,0 3px 0 #a55c0b,0 0 15px #ffd64b!important}
.hub-bottom-nav .nav-icon{font-size:23px!important}
.hub-topbar{background:linear-gradient(180deg,#0b2947dd 0%,#0b29478f 70%,transparent)!important}
@media(max-width:520px){
 .hub-map{min-height:902px!important}
 .hub-node.n0{top:726px!important;left:45%!important}.hub-node.n1{top:628px!important;left:61%!important}.hub-node.n2{top:530px!important;left:47%!important}.hub-node.n3{top:432px!important;left:55%!important}.hub-node.n4{top:334px!important;left:47%!important}.hub-node.n5{top:236px!important;left:53%!important}
 .hub-mascot{top:645px!important;left:17%!important}
}

/* FINAL native premium map source — must remain last */
.hub-shell{
  background-color:#65c9ef!important;
  background-image:linear-gradient(180deg,#9ceaff66 0%,#4fc7ea28 42%,#0b567b38 100%),url('./art-storm.png')!important;
  background-size:cover,cover!important;
  background-position:center,center!important;
  background-repeat:no-repeat!important;
  background-blend-mode:screen,normal!important;
}
.hub-world-canvas{display:none!important;opacity:0!important}
.hub-shell:before{background:url('./hub-coast.png') center top/cover no-repeat!important;opacity:.38!important;mix-blend-mode:screen!important;filter:saturate(1.18) contrast(1.04)!important}
.hub-shell:after{display:block!important;background:radial-gradient(circle at 72% 8%,#fff4b56b,transparent 25%),linear-gradient(180deg,#79dcff18 0%,transparent 28%,transparent 72%,#04182a60 92%,#03101e9e 100%)!important;opacity:1!important;mix-blend-mode:normal!important}

/* Premium color pass — no shoebox UI */
.hub-depot{display:block!important;z-index:9!important}
.hub-crane{display:block!important;z-index:8!important;opacity:.82!important}
.hub-shell:before{opacity:.18!important}
.hub-shell:after{display:block!important}

.hub-stat{
  background:linear-gradient(145deg,#173f67ee,#0d2948f4)!important;
  border:2px solid #a9d7ff70!important;
  color:#fff!important;
  box-shadow:inset 0 2px #ffffff22,0 5px 0 #06192d,0 10px 22px #03111f72!important;
}
.hub-stat strong{color:#fff!important;text-shadow:0 2px 4px #061426}
.hub-stat .heart{color:#ff4566!important;text-shadow:0 2px 0 #8a1733,0 0 10px #ff6f8a55!important}
.hub-stat .coin{background:linear-gradient(#ffe96c,#f5a817)!important;border-color:#fff2a5!important;box-shadow:0 3px 0 #a36306,0 0 12px #ffd84a44!important}
.hub-stat .plus{background:linear-gradient(#64e779,#159c3f)!important;border-color:#b8ffc3!important;box-shadow:0 3px 0 #08712b!important}
.hub-settings{background:linear-gradient(#5e91c2,#315b88)!important;border-color:#a9d5f5!important;box-shadow:inset 0 2px #dff2ff55,0 5px 0 #163a5b!important}

.hub-card button{border:2px solid #ffffff7d!important;box-shadow:inset 0 2px #ffffff32,0 5px 0 #132c45,0 13px 28px #02101f69!important;color:#fff!important;text-shadow:0 1px 3px #081a2c!important}
.hub-special button{background:linear-gradient(145deg,#268fc5ee,#15557fee)!important}
.hub-daily button{background:linear-gradient(145deg,#27a69fee,#116b70ee)!important}
.hub-pass button{background:linear-gradient(145deg,#f2a62cee,#c46719ee)!important}
.hub-wheel button{background:linear-gradient(145deg,#965ce3ee,#5837a7ee)!important}
.hub-card .pic{border-color:#ffffffb8!important;box-shadow:inset 0 2px #fff8,0 3px 8px #061b2e44!important}
.hub-special .pic{background:linear-gradient(#80daf8,#3aa7d7)!important}
.hub-daily .pic{background:linear-gradient(#8be5d6,#32a8a0)!important}
.hub-pass .pic{background:linear-gradient(#ffe687,#f6b52b)!important}
.hub-wheel .pic{background:linear-gradient(#d8b5ff,#8659de)!important}
.hub-card strong{color:#fff!important;text-shadow:0 2px 2px #071a2b!important}
.hub-card small{background:#071f38d9!important;color:#fff!important;border:1px solid #b9ddff3d!important}
.hub-vault-mini{background:linear-gradient(145deg,#2da9e7ed,#14598ced)!important;border-color:#d7f5ffcc!important;box-shadow:inset 0 2px #ffffff55,0 5px 0 #0c3c64,0 12px 24px #03111f66!important}

.hub-node .stamp{
  background:linear-gradient(#fffdf8,#f4ead8)!important;
  border-color:#e84c45!important;
  color:#39281f!important;
  box-shadow:inset 0 0 0 2px #fff,0 5px 0 #873f2b,0 9px 15px #24130d42!important;
}
.hub-node.locked{filter:none!important;opacity:.72!important}
.hub-node.locked .stamp{
  background:linear-gradient(#cfe5f0,#8fb4c8)!important;
  border-color:#547c94!important;
  color:#3c5d6d!important;
  box-shadow:inset 0 0 0 2px #e8f5fb,0 5px 0 #3b6075,0 9px 14px #06182442!important;
}
.hub-node.current .stamp{
  background:linear-gradient(#fff57d,#ffc429)!important;
  border-color:#f05239!important;
  color:#5d3608!important;
  box-shadow:inset 0 0 0 2px #fff7bd,0 5px 0 #9c4b1d,0 0 26px #ffd64a,0 10px 18px #3b241767!important;
}

.hub-bottom-nav{
  background:linear-gradient(180deg,#102f50f5,#071c34fa)!important;
  border-top:2px solid #6c9dc266!important;
  box-shadow:0 -10px 30px #02101f78!important;
}
.hub-bottom-nav button{
  background:linear-gradient(145deg,#20466be8,#102c4fe8)!important;
  border:1px solid #8ab6d94f!important;
  color:#eef8ff!important;
  box-shadow:inset 0 2px #ffffff1f,0 3px 0 #041427!important;
  text-shadow:0 1px 2px #03111d!important;
}
.hub-bottom-nav button.active{
  background:linear-gradient(#ffe878,#ffb82c)!important;
  border-color:#fff0a2!important;
  color:#56320b!important;
  text-shadow:none!important;
  box-shadow:inset 0 2px #fff7ba,0 4px 0 #a65b0b,0 0 18px #ffd64b99!important;
}
.hub-bottom-nav .nav-badge{box-shadow:0 2px 6px #03101f88!important}

@media(max-width:520px){
  .hub-node.n0{top:650px!important;left:46%!important}
  .hub-node.n1{top:555px!important;left:61%!important}
  .hub-node.n2{top:460px!important;left:47%!important}
  .hub-node.n3{top:365px!important;left:59%!important}
  .hub-node.n4{top:270px!important;left:47%!important}
  .hub-node.n5{top:175px!important;left:56%!important}
  .hub-mascot{top:610px!important;left:18%!important}
}

/* FINAL 0.9.1 map hierarchy and reduced clutter */
.hub-road-seg,.hub-island-detail,.hub-waterfall,.hub-bridge,.hub-house,.hub-tree{display:none!important}
.hub-card{width:94px!important}
.hub-card button{padding:5px!important;border-radius:17px!important}
.hub-card .pic{height:39px!important}
.hub-special,.hub-pass{top:151px!important}
.hub-daily,.hub-wheel{top:359px!important}
.hub-vault-mini{top:565px!important}
.hub-node.locked .stamp{opacity:.85}
.hub-shell{background-position:center center!important}
@media (prefers-reduced-motion:reduce){.hub-node.current .stamp{animation:none!important}}

/* Premium-world final layer — approved existing coastal art, live UI stays interactive above it. */
.hub-shell{
  background:#68cbed url('./premium-world.webp') center top/100% auto no-repeat!important;
}
.hub-world-canvas{display:none!important}
.hub-depot,.hub-crane,.hub-mascot{display:none!important}
.hub-map{min-height:930px!important;background:transparent!important}
.hub-shell:before{background:linear-gradient(180deg,#0a294535 0%,transparent 13%,transparent 74%,#06182985 100%)!important}
.hub-shell:after{background:linear-gradient(90deg,#071b2b12,transparent 11% 89%,#071b2b12)!important}

/* Place real level buttons directly over the blurred placeholders in the approved map art. */
.hub-node.n5{top:196px!important;left:51%!important}
.hub-node.n4{top:303px!important;left:58%!important}
.hub-node.n3{top:413px!important;left:50%!important}
.hub-node.n2{top:524px!important;left:64%!important}
.hub-node.n1{top:635px!important;left:55%!important}
.hub-node.n0{top:748px!important;left:47%!important}

/* The baked artwork already contains depot/mascot/bridge; real feature cards cover its soft edge previews. */
.hub-card{width:104px!important}
.hub-card .pic{height:44px!important;font-size:25px!important}
.hub-card strong{font-size:11px!important}
.hub-special{left:8px!important;top:137px!important}
.hub-pass{right:8px!important;top:137px!important}
.hub-daily{left:8px!important;top:343px!important}
.hub-wheel{right:8px!important;top:343px!important}
.hub-vault-mini{left:10px!important;top:560px!important;width:96px!important;min-height:68px!important}
.hub-zone-sign{display:none!important}

@media(max-width:520px){
  .hub-shell{background-size:100% auto!important;background-position:center top!important}
  .hub-node{transform:scale(.92);transform-origin:center}
  .hub-node.n5{top:196px!important;left:50%!important}
  .hub-node.n4{top:300px!important;left:57%!important}
  .hub-node.n3{top:405px!important;left:49%!important}
  .hub-node.n2{top:510px!important;left:62%!important}
  .hub-node.n1{top:616px!important;left:54%!important}
  .hub-node.n0{top:720px!important;left:46%!important}
  .hub-card{width:94px!important}
  .hub-card .pic{height:40px!important;font-size:23px!important}
  .hub-card small{font-size:8px!important;padding:3px 6px!important}
  .hub-special,.hub-daily{left:6px!important}
  .hub-pass,.hub-wheel{right:6px!important}
  .hub-vault-mini{left:8px!important;width:90px!important}
}

/* PREMIUM WORLD BACKGROUND — approved existing art crop */
.hub-shell{
  background:#63ccef url('./hub-premium-world.png') center center/100% 100% no-repeat!important;
}
.hub-world-canvas{display:none!important}
.hub-shell:before{
  background:linear-gradient(180deg,#78dcff26 0%,transparent 24%,transparent 72%,#07213a55 94%,#03111e88 100%)!important;
  opacity:1!important;mix-blend-mode:normal!important;filter:none!important;
}
.hub-shell:after{
  display:block!important;
  background:radial-gradient(circle at 76% 8%,#fff2a65c,transparent 22%),linear-gradient(90deg,#04121e08,transparent 13% 87%,#04121e08)!important;
}
.hub-depot,.hub-crane{display:none!important}
.hub-card{width:92px!important}
.hub-card .pic{height:38px!important;font-size:22px!important}
.hub-special,.hub-pass{top:128px!important}
.hub-daily,.hub-wheel{top:335px!important}
.hub-vault-mini{top:554px!important}
.hub-node.n5{top:135px!important;left:50%!important}
.hub-node.n4{top:245px!important;left:61%!important}
.hub-node.n3{top:355px!important;left:52%!important}
.hub-node.n2{top:470px!important;left:62%!important}
.hub-node.n1{top:585px!important;left:52%!important}
.hub-node.n0{top:700px!important;left:58%!important}
.hub-mascot{top:595px!important;left:17%!important}
@media(max-width:520px){
  .hub-map{min-height:900px!important}
  .hub-card{width:90px!important}
  .hub-node.n5{top:142px!important;left:51%!important}
  .hub-node.n4{top:248px!important;left:61%!important}
  .hub-node.n3{top:355px!important;left:52%!important}
  .hub-node.n2{top:464px!important;left:61%!important}
  .hub-node.n1{top:574px!important;left:51%!important}
  .hub-node.n0{top:684px!important;left:57%!important}
  .hub-mascot{top:596px!important;left:16%!important}
}

/* 0.9.1 native contrast correction */
.hub-shell{background-color:#17658c!important;background-image:linear-gradient(180deg,#07233c34 0%,#07233c10 30%,#0c294c1a 60%,#061a35a0 100%),url('./hub-premium-world.png')!important;background-size:100% 100%,100% 100%!important;background-blend-mode:multiply,normal!important}
.hub-shell:before{background:linear-gradient(180deg,#08233c55 0%,transparent 19%,transparent 78%,#07172b99 100%)!important}
.hub-shell:after{background:none!important;display:none!important}
.hub-node.locked{opacity:.92!important}.hub-node.locked .stamp{background:linear-gradient(#f5e9d3,#d4b68a)!important;color:#67451e!important;border-color:#b6884e!important}
.hub-card button{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* 0.9.1 premium visual lock — no wash, no dark app-shell bar. */
.hub-shell{
  background-color:#55c8ed!important;
  background-image:url('./hub-premium-world.png')!important;
  background-position:center top!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  background-blend-mode:normal!important;
}
.hub-shell:before{
  background:linear-gradient(180deg,rgba(5,27,48,.12) 0%,rgba(5,27,48,0) 14%,rgba(5,27,48,0) 82%,rgba(4,20,36,.24) 100%)!important;
  opacity:1!important;mix-blend-mode:normal!important;filter:none!important;
}
.hub-shell:after{display:none!important}
.hub-topbar{
  background:linear-gradient(180deg,rgba(16,56,86,.16),rgba(16,56,86,0))!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.hub-logo{
  width:174px!important;min-width:174px!important;height:58px!important;
  background-image:url('./art-atlas.png'),linear-gradient(145deg,#d8a260,#a96a34)!important;
  background-size:154px 77px,100% 100%!important;
  background-position:center center,center!important;
  background-repeat:no-repeat!important;
  border:2px solid #79491f!important;border-radius:14px!important;
  box-shadow:inset 0 2px #f0c78e,0 5px 0 #613719,0 10px 20px #0a2a3b55!important;
  filter:none!important;
}
.hub-card button{
  background:linear-gradient(155deg,#efca8f,#c68446)!important;
  border:2px solid #8c592e!important;
  color:#3e2819!important;text-shadow:none!important;
  box-shadow:inset 0 2px #ffe3b6,0 5px 0 #6d421f,0 10px 20px #09263b42!important;
}
.hub-card .pic{border-color:#e9f9ff!important}
.hub-bottom-nav{
  background:linear-gradient(180deg,#ddb176f8,#bc7d43fc)!important;
  border-top:3px solid #79481f!important;
  box-shadow:0 -9px 28px #06243a48!important;
}
.hub-bottom-nav button{
  min-height:67px!important;
  background:linear-gradient(#e8c08b,#ce9558)!important;
  border:2px solid #9b6837!important;
  color:#472d1d!important;
  box-shadow:inset 0 2px #f7dcb4,0 3px 0 #754a27!important;
  text-shadow:none!important;
}
.hub-bottom-nav button.active{
  background:linear-gradient(#fff27b,#ffc331)!important;
  border-color:#da8a10!important;color:#54310d!important;
  box-shadow:inset 0 2px #fff8bd,0 3px 0 #a45b0b,0 0 16px #ffd64b!important;
}
.hub-bottom-nav .nav-icon{filter:drop-shadow(0 2px 1px #6a431e35)}
.hub-node{filter:drop-shadow(0 6px 5px #2a160c55)!important}
.hub-node.locked{opacity:.86!important}
.hub-node.locked .stamp{
  background:linear-gradient(#f1e4cf,#c9a778)!important;
  border-color:#a87843!important;color:#6a471f!important;
  box-shadow:inset 0 0 0 2px #fff2da,0 5px 0 #735031,0 8px 13px #2b170d3d!important;
}
@media(max-width:520px){
  .hub-logo{width:154px!important;min-width:154px!important;height:52px!important;background-size:138px 69px,100% 100%!important}
  .hub-card{width:88px!important}
  .hub-card .pic{height:36px!important}
  .hub-bottom-nav{gap:4px!important;padding-left:5px!important;padding-right:5px!important}
  .hub-bottom-nav button{min-height:64px!important;font-size:9px!important}
}

/* Clean premium level platforms + logo crop */
.hub-logo{
  width:204px!important;min-width:204px!important;height:43px!important;
  background-size:282px 141px!important;background-position:0 0!important;
  overflow:hidden!important;
}
.hub-node{width:104px!important;height:76px!important}
.hub-node:before{
  content:'';position:absolute;z-index:-1;left:1px;top:2px;width:96px;height:62px;
  border-radius:22px 22px 18px 18px;
  background:linear-gradient(180deg,#c9965d 0 72%,#8b5a32 73% 100%);
  border:2px solid #f0c890;
  box-shadow:inset 0 2px #ffe0ae,0 6px 0 #5c381d,0 10px 18px #0717256b;
}
.hub-node .stamp{
  position:relative;z-index:2;margin:3px auto 0;
  width:72px!important;height:48px!important;border-radius:13px!important;
}
.hub-node .stars{
  position:relative;z-index:3;margin-top:3px!important;font-size:16px!important;
}
.hub-node.locked:before{
  background:linear-gradient(180deg,#91b2c5 0 72%,#536f81 73% 100%);
  border-color:#d8edf8;
  box-shadow:inset 0 2px #e8f7ff,0 6px 0 #375064,0 10px 18px #0717255c;
}
.hub-node.current:before{
  background:linear-gradient(180deg,#ffd95c 0 70%,#d38913 71% 100%);
  border-color:#fff3a5;
  box-shadow:inset 0 2px #fff8c8,0 6px 0 #9d5b0a,0 0 24px #ffd84c99,0 11px 20px #07172555;
}
@media(max-width:520px){
  .hub-logo{width:176px!important;min-width:176px!important;height:39px!important;background-size:248px 124px!important}
  .hub-node{width:96px!important;height:72px!important}
  .hub-node:before{width:90px;height:59px}
  .hub-node .stamp{width:68px!important;height:45px!important}
}

/* The win indicator never rotates: it must identify the actual awarded segment. */
.wheel-holder{position:relative;width:min(79vw,350px);max-width:100%;margin:20px auto 18px}
.wheel-holder .prize-wheel{width:100%!important;margin:0!important}
.prize-wheel:before{content:none!important}
.wheel-pointer{position:absolute;z-index:9;left:50%;top:-34px;transform:translateX(-50%);font-size:44px;line-height:1;color:#f2394c;text-shadow:0 4px 0 #8e1d28;pointer-events:none}
@media(max-width:390px){.wheel-holder{width:min(82vw,330px)}}

