/* New launch page. Every page rule is scoped to Home. */
body[data-page="home"]{background:#fff7e4;color:#0b2857;overflow-x:clip;}
body[data-page="home"]::before{display:none;}
body[data-page="home"] #main{max-width:none;padding:0;margin:0;}
body[data-page="home"] #main>.page{max-width:none;padding:0;}
body[data-page="home"] #header{position:absolute;inset:0 0 auto;z-index:20;max-width:1450px;width:100%;margin:auto;padding:18px 46px;display:flex;align-items:flex-start;justify-content:space-between;gap:32px;zoom:1;}
body[data-page="home"] .home-logo{display:flex;align-items:center;gap:8px;color:#fff;text-decoration:none;filter:drop-shadow(0 4px 0 #064481);}
.home-logo>.icon{width:48px;height:48px;color:#fff;transform:rotate(-15deg);}
.home-logo>span{font:45px/.85 Cartoon,sans-serif;-webkit-text-stroke:1px #103d77;paint-order:stroke fill;}
.home-logo em{display:block;font-style:normal;color:#ffcf37;font-size:37px;margin-top:4px;}
body[data-page="home"] .home-menu{display:flex;align-items:center;gap:18px;background:#effbffed;backdrop-filter:blur(8px);padding:9px 15px;border-radius:0 0 19px 19px;box-shadow:0 3px 0 #27649e25;}
body[data-page="home"] #header nav{display:flex;gap:20px;flex:none;padding:0;background:none;border:0;box-shadow:none;border-radius:0;}
body[data-page="home"] #header nav a{font:16px/1.2 Cartoon,sans-serif;color:#0b2857;padding:9px 3px;border:0;border-radius:0;background:none;box-shadow:none;text-shadow:none;flex:none;}
body[data-page="home"] #header nav a.active{color:#008ce8;border-bottom:3px solid #009fff;}
.home-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;cursor:pointer;border:2px solid #ecffdf;border-radius:18px;padding:15px 26px;font:25px/1.1 Cartoon,sans-serif;color:#063b3b;background:linear-gradient(#a5ff91,#31d948);box-shadow:0 0 0 2px #278663,0 5px 0 #126c5b,inset 0 2px 0 #fff9;transition:transform .18s,filter .18s;white-space:nowrap;}
.home-button:hover{transform:translateY(-3px);filter:brightness(1.07);}
.home-button:active{transform:translateY(2px);}
.home-button:focus-visible,.home-aircraft-card:focus-visible,.home-carousel-arrow:focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 6px #0759ae;}
.home-button .icon{width:27px;height:27px;}
.home-blue{background:linear-gradient(#8bfbff,#00c7ef);border-color:#d7ffff;box-shadow:0 0 0 2px #2584ab,0 5px 0 #076481,inset 0 2px 0 #fff9;}
body[data-page="home"] .home-play-small{font-size:16px;padding:8px 14px;border-radius:11px;box-shadow:0 0 0 1px #278663,0 2px 0 #126c5b;}
.home-hero{position:relative;min-height:570px;overflow:hidden;background:#50c7fa;}
.home-scenery{position:absolute;inset:-2%;background:url('assets/home-islands.webp') center 65%/cover no-repeat;animation:home-drift 24s ease-in-out infinite alternate;will-change:transform;}
.home-hero-inner{position:relative;z-index:1;max-width:1380px;margin:auto;padding:142px 54px 70px;display:grid;grid-template-columns:45% 55%;align-items:center;min-height:570px;}
.home-hero-copy{position:relative;z-index:4;}
.home-hero-copy h1,.home-mystery h2{font:clamp(38px,4.5vw,70px)/1.04 Cartoon,sans-serif;color:#fff;margin:0;letter-spacing:.5px;-webkit-text-stroke:5px #123864;paint-order:stroke fill;text-shadow:0 5px 0 #082b54,0 8px 14px #07385650;}
.home-hero-copy h1 em,.home-mystery h2 em{font-style:normal;color:#ffd735;}
.home-hero-copy>p{font:27px/1.2 Cartoon,sans-serif;margin:20px 0 25px;color:#062e56;text-shadow:0 1px 0 #e0fcff;}
.home-hero-copy>.home-button{min-width:240px;}
.home-flight-art{position:relative;min-height:330px;}
.home-flight-art img{position:absolute;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 12px 8px #043c6b30);pointer-events:none;}
.home-plane-main{width:92%;height:420px;left:0;top:-55px;z-index:3;animation:home-fly 5.5s ease-in-out infinite;}
.home-plane-wingman{width:34%;height:150px;left:-9%;top:15px;z-index:1;animation:home-fly 6.3s ease-in-out -2s infinite;}
.home-plane-jet{width:35%;height:165px;right:-8%;bottom:5px;z-index:2;animation:home-fly 6s ease-in-out -3s infinite;}
.home-showcase{position:relative;z-index:5;background:linear-gradient(#fff9e9,#fff5df);padding:30px max(22px,calc((100vw - 1420px)/2)) 23px;border-top:4px solid #fff;border-bottom:4px solid #fff;text-align:center;}
.home-showcase h2{font:clamp(28px,3vw,42px)/1.1 Cartoon,sans-serif;letter-spacing:1px;color:#0b2857;}
.home-showcase-subtitle{font:15px/1.4 Cartoon,sans-serif;letter-spacing:3px;margin:8px 0 24px;color:#1e638c;}
.home-carousel-shell{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:16px;max-width:1380px;margin:auto;}
.home-carousel-arrow{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:2px solid #62a8b3;color:#086071;background:#c8f6e7;font:38px/1 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #fff;}
.home-carousel-arrow:disabled{opacity:.35;cursor:default;}
.home-aircraft-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding:3px 2px 6px;}
.home-aircraft-track::-webkit-scrollbar{display:none;}
.home-aircraft-card{scroll-snap-align:start;flex:0 0 calc((100% - 64px)/5);min-width:0;border:2px solid #a7c9d5;border-radius:14px;background:#fffaf0;padding:5px 5px 12px;cursor:pointer;color:#092958;display:flex;flex-direction:column;align-items:center;transition:border-color .2s,box-shadow .2s;}
.home-aircraft-card:hover{border-color:var(--rarity);box-shadow:inset 0 0 0 1px var(--rarity);}
.home-card-sky{display:grid;place-items:center;width:100%;height:150px;background:linear-gradient(#a6deff,#e5f8ff);border-radius:9px;overflow:hidden;}
.home-card-sky img{width:100%;height:100%;object-fit:contain;transition:transform .3s;}
.home-aircraft-card:hover img{transform:translateY(-4px) scale(1.05);}
.home-card-name{font:17px/1.12 Cartoon,sans-serif;min-height:2.24em;display:grid;place-items:center;margin:8px 0;width:100%;overflow-wrap:anywhere;}
.home-card-rarity{font:13px/1.1 Cartoon,sans-serif;color:#102f53;border:1px solid var(--rarity);border-radius:20px;background:color-mix(in srgb,var(--rarity) 30%,white);padding:6px 8px;white-space:nowrap;}
.home-carousel-count{font:15px/1.2 Cartoon,sans-serif;margin-top:12px;}
.home-carousel-progress{width:125px;height:5px;margin:9px auto 0;border-radius:6px;background:#cfd9d9;overflow:hidden;}
.home-carousel-progress i{display:block;width:20%;height:100%;background:#009afa;border-radius:6px;transition:transform .25s;}
.home-mystery{position:relative;overflow:hidden;background:linear-gradient(90deg,#02264c40,transparent),url('assets/home-hangar.webp') center 63%/cover;}
.home-mystery-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;max-width:1380px;min-height:420px;margin:auto;padding:40px 60px;gap:30px;}
.home-mystery-copy{position:relative;z-index:3;}
.home-mystery h2{font-size:clamp(30px,3.8vw,54px);}
.home-mint-actions{display:flex;gap:18px;flex-wrap:wrap;margin-top:26px;}
.home-mint-actions .home-button{min-width:185px;font-size:23px;}
.home-mystery-copy>p{font:13px/1.4 Cartoon,sans-serif;letter-spacing:1px;color:#e5fcff;margin-top:22px;text-shadow:0 2px 3px #052d51;}
.home-crate-stage{position:relative;display:grid;place-items:center;min-height:330px;}
.home-crate-stage img{position:relative;z-index:2;width:78%;height:340px;object-fit:contain;animation:home-crate 5s ease-in-out infinite;filter:drop-shadow(0 12px 9px #03285640);}
.home-crate-glow{position:absolute;inset:8%;border-radius:50%;background:radial-gradient(ellipse,#65ffff9e,transparent 65%);animation:home-glow 3s ease-in-out infinite alternate;}
body[data-page="home"]>footer{max-width:none;margin:0;padding:22px 40px;background:#082c4b;color:#9fd1dd;border:0;}
.dialog.home-aircraft-dialog{--compact-dialog-width:720px;}
.home-aircraft-detail{text-align:center;padding-top:10px;}
.home-aircraft-detail .badge::after{content:' ✦';}
.home-detail-plane{width:100%;height:270px;object-fit:contain;}
.home-aircraft-detail>p{font:20px Cartoon,sans-serif;}
@keyframes home-fly{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-13px) rotate(2deg)}}
@keyframes home-drift{from{transform:translateY(-1%) scale(1.01)}to{transform:translateY(1%) scale(1.025)}}
@keyframes home-crate{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-9px) rotate(1deg)}}
@keyframes home-glow{from{opacity:.5;transform:scale(.9)}to{opacity:1;transform:scale(1.1)}}
@media(max-width:1100px){body[data-page="home"] #header{padding:18px 25px;gap:16px;}.home-logo>span{font-size:35px;}.home-logo em{font-size:30px;}body[data-page="home"] #header nav{gap:13px;}body[data-page="home"] #header nav a{font-size:14px;}body[data-page="home"] .home-play-small{display:none;}.home-hero-inner{padding:140px 35px 60px;}.home-card-name{font-size:15px;}.home-card-sky{height:125px;}.home-mystery-inner{padding:32px;}.home-mint-actions .home-button{font-size:20px;min-width:160px;}}
@media(max-width:760px){body[data-page="home"] #header{padding:14px 16px;flex-direction:column;align-items:center;gap:14px;}.home-logo>.icon{width:32px;height:32px;}.home-logo>span{font-size:28px;display:flex;gap:6px;}.home-logo em{font-size:28px;margin:0;}body[data-page="home"] .home-menu{padding:6px 12px;border-radius:15px;width:100%;justify-content:center;}body[data-page="home"] #header nav{width:100%;justify-content:space-around;gap:4px;}body[data-page="home"] #header nav a{font-size:12px;padding:8px 1px;}.home-hero-inner{grid-template-columns:1fr;text-align:center;padding:143px 18px 30px;min-height:650px;}.home-hero-copy h1{font-size:41px;-webkit-text-stroke:3px #123864;}.home-hero-copy>p{font-size:23px;margin:14px 0 19px;}.home-button{font-size:22px;padding:13px 22px;}.home-flight-art{min-height:220px;margin-top:22px;}.home-plane-main{height:250px;width:74%;left:13%;top:-15px;}.home-plane-wingman{width:30%;height:100px;left:0;top:30px;}.home-plane-jet{width:28%;height:110px;right:0;bottom:10px;}.home-showcase{padding:25px 12px 20px;}.home-showcase-subtitle{font-size:12px;letter-spacing:2px;margin-bottom:18px;}.home-carousel-shell{grid-template-columns:30px minmax(0,1fr) 30px;gap:8px;}.home-carousel-arrow{width:30px;height:36px;font-size:29px;}.home-aircraft-card{flex-basis:calc((100% - 16px)/2);}.home-card-name{font-size:15px;}.home-card-rarity{font-size:11px;}.home-mystery-inner{grid-template-columns:1fr;text-align:center;padding:30px 18px 12px;gap:0;}.home-mystery h2{font-size:36px;-webkit-text-stroke:3px #123864;}.home-mint-actions{justify-content:center;gap:14px;margin-top:20px;}.home-mint-actions .home-button{min-width:140px;font-size:19px;}.home-mystery-copy>p{font-size:10px;}.home-crate-stage{min-height:255px;}.home-crate-stage img{height:250px;width:75%;}body[data-page="home"]>footer{padding:20px;flex-wrap:wrap;justify-content:center;text-align:center;gap:12px;}}
@media(prefers-reduced-motion:reduce){.home-scenery,.home-flight-art img,.home-crate-stage img,.home-crate-glow{animation:none;}.home-aircraft-track{scroll-behavior:auto;}.home-aircraft-card img,.home-button{transition:none;}}

/* More room for the aircraft; a shorter hero lifts the entire carousel. */
.home-hero{min-height:460px;}
.home-hero-inner{min-height:460px;padding-top:120px;padding-bottom:35px;}
.home-flight-art{min-height:280px;}
.home-plane-main{height:350px;top:-42px;}
.home-showcase{padding-top:22px;padding-bottom:18px;}
.home-showcase-subtitle{margin-bottom:16px;}
.home-card-sky{position:relative;display:block;height:180px;flex-shrink:0;}
.home-card-sky img{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;max-height:100%;padding:5px;object-fit:contain;object-position:center;}
.home-aircraft-card:hover img{transform:scale(1.02);}
.home-card-name{margin:6px 0 4px;}
.home-aircraft-card{padding-bottom:8px;}
.home-carousel-arrow{background:linear-gradient(#fff,#d5f5ff);border-color:#77adca;box-shadow:inset 0 2px 0 #fff,0 3px 0 #608da8;color:#125981;}
.home-carousel-arrow svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
.home-carousel-arrow:not(:disabled):hover{background:#c2edff;}
.dialog.home-aircraft-dialog .modal-actions{flex-wrap:wrap;gap:16px;}
.dialog.home-aircraft-dialog .modal-actions>.btn{flex:0 1 280px;width:280px;max-width:100%;min-height:57px;padding:10px 16px;font-size:25px;white-space:nowrap;}
body[data-page="home"] .home-play-small{display:inline-flex;}
@media(max-width:1100px){.home-card-sky{height:155px;}.home-hero-inner{padding-top:120px;padding-bottom:30px;}body[data-page="home"] .home-menu{flex-wrap:wrap;justify-content:center;gap:9px;}body[data-page="home"] #header nav{gap:10px;}}
@media(max-width:760px){.home-hero{min-height:560px;}.home-hero-inner{min-height:560px;padding-top:181px;padding-bottom:20px;}.home-flight-art{min-height:200px;}.home-plane-main{height:230px;top:-15px;}.home-showcase{padding-top:20px;}.home-card-sky{height:140px;}.home-card-name{margin-top:6px;}.home-carousel-arrow svg{width:18px;height:18px;}.dialog.home-aircraft-dialog .modal-actions>.btn{flex-basis:240px;width:240px;font-size:20px;min-height:49px;}}

.dialog.home-aircraft-dialog .home-aircraft-detail>p{transform:translateY(calc(-15px / var(--game-ui-scale,1)));}

/* Approved cream navigation and cartoon flying hero, scoped to Home. */
body[data-page="home"] #header{max-width:1700px;padding:20px 38px;align-items:center;gap:28px;}
body[data-page="home"] .home-logo{position:relative;flex:none;min-width:185px;padding-right:44px;}
body[data-page="home"] .home-logo>img{position:absolute;right:-6px;top:-13px;width:93px;height:80px;object-fit:contain;z-index:2;filter:drop-shadow(0 2px 0 #fff);}
body[data-page="home"] .home-logo>span{font-size:47px;line-height:.85;}
body[data-page="home"] .home-logo em{font-size:41px;}
body[data-page="home"] .home-menu{flex:1;justify-content:space-between;gap:14px;background:linear-gradient(#fffdf2,#fff4dc);border:2px solid #b5ccda;border-radius:25px;padding:13px 20px;box-shadow:inset 0 2px 0 #fff,0 4px 10px #12477935;}
body[data-page="home"] #header nav{gap:22px;}
body[data-page="home"] #header nav a{font-size:17px;}
.home-menu-account{display:flex;align-items:center;gap:12px;}
.home-balance{display:flex;align-items:center;gap:7px;font:16px Cartoon,sans-serif;color:#092958;text-decoration:none;white-space:nowrap;}
.home-balance .art-icon{width:34px;height:34px;}
.home-wallet-connect{display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;border:1px solid #8395a3;border-radius:24px;background:#fff9ea;color:#0b2857;padding:10px 12px;font:13px/1 Cartoon,sans-serif;cursor:pointer;}
.home-wallet-connect:hover{background:#e2f7ff;}
.home-wallet-connect .connection-dot{width:8px;height:8px;background:#10c5dc;}
.home-wallet-connect .connection-dot.connected{background:#26c56b;}
body[data-page="home"] .home-play-small{padding:10px 14px;font-size:17px;border-radius:18px;}
.home-scenery{background-image:url('assets/home-islands-v2.webp');}
.home-flying-plane{position:absolute;visibility:hidden;filter:drop-shadow(0 10px 7px #09376e30);}
.home-flying-plane.home-plane-ready{visibility:visible;}
.home-flying-plane .home-plane-sprite{position:absolute;left:50%;top:50%;height:100%;aspect-ratio:1;transform:translate(-50%,-50%);}
.home-flight-art .home-plane-sprite>img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;filter:none;pointer-events:none;}
.home-flying-plane.home-plane-main{height:430px;top:-80px;left:0;}
.home-flying-plane.home-plane-wingman{height:185px;top:-25px;left:-12%;}
.home-flying-plane.home-plane-jet{height:190px;right:-3%;top:-45px;bottom:auto;}
.home-propeller{position:absolute;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%) scaleX(var(--prop-ratio,.4)) rotate(-18deg);pointer-events:none;z-index:3;background:radial-gradient(circle,transparent 13%,#cbe9f121 29%,#f7ffff35 55%,transparent 70%);}
.home-propeller>i{position:absolute;inset:0;border-radius:50%;background:conic-gradient(transparent 0deg,#c8e9f19c 35deg,#16395888 58deg,transparent 95deg,transparent 120deg,#c8e9f19c 155deg,#16395888 178deg,transparent 215deg,transparent 240deg,#c8e9f19c 275deg,#16395888 298deg,transparent 335deg);mask-image:radial-gradient(circle,transparent 11%,#000 18%,#000 48%,transparent 70%);animation:home-prop-spin .14s linear infinite;}
.home-showcase>.home-showcase-frame{position:relative;width:620px;max-width:calc(100% - 10px);height:82px;min-height:82px;padding:0 90px;margin:-46px auto 3px;font:31px/1 Cartoon,sans-serif;letter-spacing:0;}
.home-showcase>.home-showcase-frame>span{white-space:nowrap;}
.home-showcase{padding-top:22px;overflow:visible;}
.home-showcase-subtitle{margin-top:5px;}
@keyframes home-prop-spin{to{transform:rotate(360deg)}}
@media(max-width:1400px){body[data-page="home"] #header{gap:18px;padding:18px 25px;}body[data-page="home"] .home-menu{gap:12px;padding:12px 14px;}body[data-page="home"] #header nav{gap:13px;}body[data-page="home"] #header nav a{font-size:15px;}.home-balance{font-size:14px;}.home-wallet-connect{font-size:11px;padding:9px 10px;}.home-menu-account{gap:9px;}body[data-page="home"] .home-play-small{font-size:14px;padding:9px 12px;}}
@media(max-width:1100px){body[data-page="home"] .home-logo{min-width:155px;padding-right:34px;}body[data-page="home"] .home-logo>span{font-size:39px;}body[data-page="home"] .home-logo em{font-size:33px;}body[data-page="home"] .home-logo>img{width:80px;height:65px;}body[data-page="home"] .home-menu{justify-content:center;flex-wrap:wrap;}body[data-page="home"] #header nav{justify-content:center;}.home-hero-inner{padding-top:150px;}.home-flying-plane.home-plane-main{height:370px;top:-55px;}.home-flying-plane.home-plane-wingman{height:145px;}.home-flying-plane.home-plane-jet{height:145px;}}
@media(max-width:760px){body[data-page="home"] #header{gap:10px;padding:15px 14px;}.home-logo{min-width:0!important;}body[data-page="home"] .home-logo>span{font-size:29px;display:flex;align-items:center;gap:6px;}body[data-page="home"] .home-logo em{font-size:29px;}body[data-page="home"] .home-logo>img{width:64px;height:55px;top:-10px;right:-23px;}body[data-page="home"] .home-menu{width:100%;padding:8px 10px;gap:8px;border-radius:18px;}body[data-page="home"] #header nav{gap:7px;justify-content:space-between;width:100%;}body[data-page="home"] #header nav a{font-size:11px;padding:7px 0;}.home-balance{font-size:12px;}.home-balance .art-icon{width:24px;height:24px;}.home-wallet-connect{font-size:10px;padding:8px;}.home-menu-account{gap:8px;}body[data-page="home"] .home-play-small{font-size:12px;padding:8px 10px;}.home-hero-inner{padding-top:186px;}.home-flying-plane.home-plane-main{height:250px;top:-25px;left:13%;}.home-flying-plane.home-plane-wingman{height:108px;top:12px;left:0;}.home-flying-plane.home-plane-jet{height:110px;right:0;top:auto;bottom:0;}.home-showcase>.home-showcase-frame{margin-top:-44px;height:74px;min-height:74px;font-size:23px;}}
@media(prefers-reduced-motion:reduce){.home-propeller>i{animation:none;}.home-propeller{opacity:.45;}}

@media(max-width:420px){.home-hero-inner{padding-top:224px;}}

/* Give the hangar scene more room and make the mystery crate less dominant. */
.home-mystery-inner{min-height:470px;}
.home-crate-stage img{width:68%;height:300px;}
@media(max-width:760px){.home-mystery-inner{min-height:560px;padding-top:42px;padding-bottom:24px;}.home-crate-stage{min-height:230px;}.home-crate-stage img{width:66%;height:220px;}}

/* Illustrated lettering follows the reference; real heading text stays accessible. */
body[data-page="home"] .home-logo{width:210px;min-width:0;padding:0;flex:0 0 210px;filter:none;}
body[data-page="home"] .home-logo>.home-logo-art{position:static;display:block;width:100%;height:auto;object-fit:contain;filter:none;}
.home-art-sr-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
.home-hero-copy .home-illustrated-heading,.home-mystery-copy .home-illustrated-heading{position:relative;width:100%;font-size:0;line-height:0;text-shadow:none;-webkit-text-stroke:0;letter-spacing:0;}
.home-hero-copy .home-heading-art{display:block;width:100%;max-width:510px;height:auto;}
.home-mystery-copy .home-heading-art{display:block;width:100%;max-width:540px;height:auto;}
.home-flying-plane.home-plane-jet{height:175px;right:0;top:-25px;}
.home-plane-jet .home-plane-sprite{transform:translate(-50%,-50%) rotate(32deg);}
@media(max-width:1100px){body[data-page="home"] .home-logo{width:175px;flex-basis:175px;}.home-flying-plane.home-plane-jet{height:140px;}}
@media(max-width:760px){body[data-page="home"] .home-logo{width:148px;flex-basis:auto;height:auto;}.home-hero-inner{padding-top:225px;}.home-hero-copy .home-heading-art{max-width:330px;margin:auto;}.home-mystery-copy .home-heading-art{max-width:370px;margin:auto;}.home-flying-plane.home-plane-jet{height:100px;right:1%;top:auto;bottom:15px;}}
@media(max-width:420px){.home-hero-inner{padding-top:265px;}}

/* Separate transparent reference assets; no screenshot clipping or aircraft animation. */
body[data-page="home"] .home-logo{width:175px;flex-basis:175px;}
.home-scenery{animation:none;will-change:auto;}
.home-hero-inner{padding:135px 54px 65px;min-height:480px;}
.home-flight-art{min-height:300px;}
.home-flight-art>.home-reference-fleet{position:absolute;left:-5%;top:50%;transform:translateY(-50%);display:block;width:110%;height:330px;object-fit:contain;filter:none;animation:none;}
.home-hero-copy>.home-tagline{margin:12px 0 0;}
.home-tagline>img{display:block;width:75%;max-width:340px;height:auto;}
.home-mystery-copy{text-align:center;}
.home-mystery-copy .home-heading-art{width:82%;max-width:420px;margin:auto;}
.home-mint-actions{justify-content:center;}
@media(max-width:760px){
 body[data-page="home"] .home-logo{width:150px;flex-basis:auto;}
 .home-hero-inner{padding:225px 18px 55px;}
 .home-flight-art{min-height:230px;margin-top:10px;}
 .home-flight-art>.home-reference-fleet{left:0;width:100%;height:230px;}
 .home-tagline>img{width:75%;max-width:280px;margin:auto;}
 .home-mystery-copy .home-heading-art{width:85%;max-width:340px;}
}
@media(max-width:420px){.home-hero-inner{padding-top:265px;}}

/* Raise the title into the scenery and reclaim 20px from the cream section. */
.home-showcase>.home-showcase-frame{margin-top:-66px;}
.home-hero-copy>.home-tagline{width:100%;max-width:510px;}
.home-tagline>img{width:63.75%;max-width:289px;margin:0 auto;transform:rotate(-3deg);transform-origin:center;}
@media(max-width:760px){
 .home-showcase>.home-showcase-frame{margin-top:-64px;}
 .home-hero-copy>.home-tagline{max-width:330px;margin:12px auto 0;}
 .home-tagline>img{width:63.75%;max-width:238px;}
}

/* Compact cream Home navigation, matching the approved reference. */
body[data-page="home"] #header{max-width:1260px;padding:16px 24px;gap:18px;align-items:center;}
body[data-page="home"] .home-menu{min-height:56px;padding:7px 14px;gap:14px;border:1px solid #517b97;border-radius:23px;box-shadow:inset 0 2px 0 #fff,0 3px 7px #0b47743b;background:linear-gradient(#fffdf3,#fff5df);}
body[data-page="home"] #header nav{gap:22px;}
body[data-page="home"] #header nav a{font-size:15px;padding:8px 2px;}
body[data-page="home"] #header nav a.active{border-bottom:4px solid #04d4e1;}
.home-menu-account{gap:10px;}
.home-balance{font-size:14px;gap:5px;}
.home-balance .art-icon{width:31px;height:31px;}
.home-wallet-connect{font-size:10px;padding:7px 10px;min-height:29px;}
body[data-page="home"] .home-play-small{display:inline-flex;font-size:15px;padding:7px 14px;min-height:34px;color:#fff;text-shadow:0 1px 1px #03440d;background:linear-gradient(#16dc16,#059307);border:2px solid #efffdc;border-radius:17px;box-shadow:0 0 0 1px #064d17,inset 0 1px 0 #b8ffa3;}
.home-showcase>.home-showcase-frame{margin-top:-76px;}
.home-showcase{padding-bottom:13px;}
@media(min-width:761px) and (max-width:1100px){
 body[data-page="home"] #header{padding:16px 18px;gap:12px;}
 body[data-page="home"] .home-logo{width:145px;flex-basis:145px;}
 body[data-page="home"] .home-menu{gap:9px;padding:7px 10px;}
 body[data-page="home"] #header nav{gap:14px;}
 body[data-page="home"] #header nav a{font-size:13px;}
}
@media(max-width:760px){
 body[data-page="home"] #header{padding:15px 14px;gap:10px;}
 body[data-page="home"] .home-menu{padding:7px 10px;border-radius:18px;gap:8px;}
 body[data-page="home"] #header nav{gap:7px;}
 body[data-page="home"] #header nav a{font-size:11px;padding:7px 0;}
 body[data-page="home"] .home-play-small{font-size:12px;padding:6px 10px;min-height:29px;}
 .home-showcase>.home-showcase-frame{margin-top:-74px;}
 .home-showcase{padding-bottom:15px;}
}

/* Wallet selector uses the same measured metal title frame on every page. */
.dialog.wallet-connect-dialog{max-width:540px;}
.wallet-connect-dialog>.hangar-frame{margin-left:auto;margin-right:auto;}
.wallet-connect-dialog .wallet-choices{display:grid;gap:12px;}
.wallet-connect-dialog .provider-button{width:100%;min-height:70px;text-align:left;}

/* Wallet popup: add 20 visible pixels in width and raise its title by 5. */
.dialog.wallet-connect-dialog{max-width:calc(540px + 20px / var(--game-ui-scale,1));}
.wallet-connect-dialog>.hangar-frame{transform:translateY(calc(-5px / var(--game-ui-scale,1)));}

/* Further compact the Home menu without changing its actions. */
body[data-page="home"] #header{max-width:1120px;gap:16px;}
body[data-page="home"] .home-menu{min-height:48px;padding:5px 12px;gap:10px;border-radius:20px;}
body[data-page="home"] #header nav{gap:16px;}
body[data-page="home"] #header nav a{font-size:14px;padding:6px 1px;}
body[data-page="home"] .home-menu-account{gap:8px;}
body[data-page="home"] .home-balance{font-size:13px;}
body[data-page="home"] .home-balance .art-icon{width:27px;height:27px;}
body[data-page="home"] .home-wallet-connect{padding:6px 8px;min-height:27px;}
body[data-page="home"] .home-play-small{font-size:14px;padding:5px 12px;min-height:30px;border-radius:15px;}
@media(min-width:761px) and (max-width:1100px){
 body[data-page="home"] #header nav{gap:12px;}
 body[data-page="home"] #header nav a{font-size:13px;}
}
@media(max-width:760px){
 body[data-page="home"] #header{gap:10px;}
 body[data-page="home"] .home-menu{padding:6px 9px;gap:7px;border-radius:17px;}
 body[data-page="home"] #header nav{gap:7px;}
 body[data-page="home"] #header nav a{font-size:11px;padding:6px 0;}
 body[data-page="home"] .home-play-small{font-size:12px;padding:5px 10px;min-height:28px;}
}

/* Play action precedes the balance/account block in the narrower Home menu. */
body[data-page="home"] #header{max-width:1080px;}
body[data-page="home"] .home-play-small{position:relative;border-radius:8px;border:2px solid #4c8b12;background:linear-gradient(#82fa17 0%,#3ee500 42%,#0fb600 100%);box-shadow:inset 0 0 0 1px #b2ff60,inset 0 2px 0 #dbffa5,0 3px 0 #2c5f0c,0 4px 4px #365c352b;text-shadow:0 1px 1px #1c9200;color:#fff;}
body[data-page="home"] .home-play-small::before{content:'';position:absolute;left:6px;top:4px;width:12px;height:4px;border-radius:50%;background:#e8ffc5;transform:rotate(-28deg);pointer-events:none;}

/* Smaller catalog subtitle and 15px less vertical space before the carousel. */
.home-showcase-subtitle{font-size:12.75px;letter-spacing:2.55px;margin-bottom:4.15px;}
@media(max-width:760px){.home-showcase-subtitle{font-size:10.2px;letter-spacing:1.7px;margin-bottom:5.52px;}}

/* Equal breathing room between menu contents and both rounded ends. */
body[data-page="home"] .home-menu{padding-left:22px;padding-right:22px;}
@media(max-width:760px){body[data-page="home"] .home-menu{padding-left:19px;padding-right:19px;}}

/* Reuse the approved crate-price pill on the remaining value backgrounds. */
body[data-page] .dialog>.price{display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;min-width:155px;min-height:52px;padding:8px 20px;gap:8px;border:1px solid #b7b6a1;border-radius:24px;background:linear-gradient(#fff4db,#ebdfc5);box-shadow:inset 0 2px 0 #fff9,0 2px 0 #b8ad94;line-height:1.2;margin:16px auto 12px;}
body[data-page] .dialog>.price .art-icon{width:31px;height:31px;}
@media(max-width:760px){body[data-page] .dialog>.price{min-width:130px;min-height:46px;padding:7px 16px;}body[data-page] .dialog>.price .art-icon{width:26px;height:26px;}}

/* Compact pagination and a single understated brand footer. */
body[data-page="planes"] .fleet-pagination{width:fit-content;max-width:100%;min-width:280px;margin:26px auto 0;padding:12px 18px;gap:10px;border:2px solid #a4b6c3;border-radius:19px;background:linear-gradient(#fffaf0,#fff0d7);box-shadow:inset 0 2px 0 #fff,0 3px 0 #758b9b;}
body[data-page="planes"] .fleet-pagination .btn{min-height:40px;padding:8px 12px;}
body[data-page="planes"] .fleet-pagination .fleet-page-arrow{min-width:40px;padding:0 10px;font:30px/1 Arial,sans-serif;}
body[data-page="planes"] .fleet-pagination .fleet-page-caption{font:14px/1.3 Cartoon,sans-serif;color:#4c6e91;text-shadow:none;}
body[data-page]>footer{display:flex;align-items:center;justify-content:center;width:fit-content;max-width:calc(100% - 32px);margin:24px auto 30px;padding:9px 24px;border:1px solid #b4c2cb;border-radius:15px;background:#fff5e4e8;color:#12355a;text-align:center;box-shadow:0 2px 5px #18365424;gap:0;}
body[data-page]>footer>span:first-child{font:16px/1.3 Cartoon,sans-serif;letter-spacing:1px;}

/* Refuel toolbar: larger action to the right and vertically centered text. */
.dialog.refuel-list-dialog .refuel-toolbar{justify-content:space-between;align-items:center;gap:30px;width:100%;max-width:650px;margin:0 auto 18px;}
.dialog.refuel-list-dialog .refuel-toolbar .intro{flex:1 1 auto;font-weight:700;line-height:1.5;margin:0;}
.dialog.refuel-list-dialog .refuel-all-button{flex:0 0 auto;min-width:190px;min-height:57px;padding:10px 16px;font-size:21px;gap:8px;}
.dialog.refuel-list-dialog .refuel-all-button small{font-size:12px;}
.dialog.refuel-list-dialog .refuel-all-button .fuel-icon{width:28px;height:30px;}

/* Match the approved thick blue balance captions. */
body[data-page="mint"] .mint-info>.mint-balance-note,.dialog.mint-confirm-dialog .mint-available-note,.balance-caption{font:18px/1.4 Cartoon,sans-serif!important;color:#4c6e91;text-align:center;}
body[data-page="mint"] .mint-info>.mint-balance-note strong,.dialog.mint-confirm-dialog .mint-available-note strong{font:inherit;}
@media(max-width:760px){.dialog.refuel-list-dialog .refuel-toolbar{justify-content:center;gap:16px;}.dialog.refuel-list-dialog .refuel-toolbar .intro{flex-basis:100%;text-align:center;}.dialog.refuel-list-dialog .refuel-all-button{min-width:180px;min-height:52px;font-size:19px;}body[data-page="mint"] .mint-info>.mint-balance-note,.dialog.mint-confirm-dialog .mint-available-note,.balance-caption{font-size:16px!important;}}

/* No footer strip; the Home crate scene finishes the page. */
body[data-page]>footer{display:none;margin:0;padding:0;border:0;}
body[data-page="home"] .launch-home{min-height:100dvh;display:flex;flex-direction:column;}
body[data-page="home"] .home-mystery{flex:1;}

.devnet-network-badge{position:fixed;bottom:10px;right:12px;z-index:50;padding:6px 12px;background:#fff5dd;color:#123b60;border:1px solid #7aa7c0;border-radius:10px;font:12px Cartoon,sans-serif;}
.devnet-status{text-align:center;color:#143853;background:#fff5dde8;padding:10px;border-radius:12px;overflow-wrap:anywhere;font-size:14px;}.devnet-status .btn{margin-left:10px;padding:5px 12px;min-height:30px;}
