.pilot-shop,.squad-dialog,.auto-widget{font-family:AmericanCaptain,Impact,sans-serif}.shop-tabs button{min-width:170px;padding:8px 15px}.pilot-shop{min-height:0;flex:1;padding:20px 32px}.pilot-shop[hidden]{display:none}.premium-hero{height:100%;display:grid;grid-template-columns:32% 1fr;align-items:center;gap:45px;background:radial-gradient(ellipse at 12% 50%,#2d5068,transparent 65%);padding:35px}.premium-hero>img{width:100%;max-height:370px}.premium-hero h1{font-size:80px;color:#ffda53;margin:8px 0}.premium-hero p{font-size:23px;max-width:730px;color:#9db7c3}.premium-benefits{display:flex;gap:24px;margin:25px 0}.premium-benefits span{display:flex;flex-direction:column;max-width:180px;font-size:21px;color:#b9dce4}.premium-benefits b{font-size:58px;color:#fff}.premium-hero button{font-size:30px;min-height:70px;min-width:360px}.premium-hero button img,.kit-grid button img{height:30px;vertical-align:middle}.kit-categories{display:flex;gap:6px}.kit-categories button{font-size:20px;flex:1;padding:8px}.kit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;height:420px}.kit-grid article{background:linear-gradient(#17425c,#071d2b);border:2px solid #427488;border-radius:9px;padding:16px;text-align:center;display:flex;flex-direction:column;align-items:center}.kit-grid article>div{height:185px;width:185px}.kit-grid h2{font-size:28px;margin:12px 0}.kit-grid p{font-size:22px;color:#96cfdf}.kit-grid button{margin-top:auto;width:100%;font-size:27px}.kit-pagination{display:flex;justify-content:center;align-items:center;gap:25px;margin:18px}.kit-pagination span{font-size:28px}.squad-hangar-button{position:absolute;left:30px;top:190px;z-index:9;display:flex;align-items:center;gap:8px;font-size:25px}.squad-hangar-button img{width:38px;height:38px}.squad-dialog{width:min(1260px,95vw);max-height:90vh;background:linear-gradient(140deg,#153b51,#061621);border:3px solid #517d91;padding:24px;color:#d8edf2}.squad-dialog header{display:flex;justify-content:space-between;align-items:center}.squad-dialog h1{font-size:42px;margin:5px 0}.squad-dialog p{font-size:21px;color:#91b4c5}.squad-list{display:grid;gap:7px}.squad-list article{height:105px;display:flex;align-items:center;gap:12px;background:#081f2d;border:1px solid #316178;padding:8px 14px}.squad-number{font-size:44px;color:#48bed9}.squad-description{width:230px;display:flex;flex-direction:column;gap:8px}.squad-description input{font:24px AmericanCaptain;background:#06131e;color:#fff;border:1px solid #467389;width:100%;padding:6px}.squad-description small{font-size:15px;color:#90b1c4}.squad-mechs{display:flex;flex:1;justify-content:space-evenly}.squad-mechs canvas{width:83px;height:90px}.squad-list button{font-size:22px;padding:10px}.auto-mission-buttons{display:flex;gap:9px;margin:10px 0}.auto-mission-buttons button{flex:1;font-size:20px;border-color:#b9a552;color:#ffe988}.auto-widget{position:absolute;right:20px;bottom:22px;width:360px;z-index:25;background:#071e2bea;border:2px solid #30c2d5;border-radius:7px;box-shadow:0 7px 28px #0008;overflow:hidden}.auto-widget[hidden]{display:none}.auto-widget header{display:flex;justify-content:space-between;padding:5px;background:#174556}.auto-widget header button{font-size:20px;padding:4px 9px}.auto-widget-body canvas{display:block;width:100%;height:150px}.auto-status{font-size:18px;padding:8px;color:#d6eeef}.auto-widget small{display:block;padding:0 8px 8px;color:#7fa6ba}.auto-widget.collapsed .auto-widget-body{display:none}.auto-campaign-active [data-page="upgrade"],.auto-campaign-active [data-page="workshop"]{filter:grayscale(.8);opacity:.5}.clan-shop-grid08{grid-template-columns:repeat(4,1fr)!important}.clan-member-grid-update .member-row{min-height:55px}.clan-member-grid-update .rank-badge img{height:40px}.clan-mini-pages08{margin:5px}.clan-shop-title08 img{height:35px}.clan-shop-grid08 small{font-size:20px;color:#8ebed1}

.language-picker-toggle{display:flex;align-items:center;gap:12px;font-size:23px;width:100%}.language-picker-toggle img,.language-grid img{width:38px;height:26px;object-fit:cover}.language-picker-toggle b{margin-left:auto}.language-picker-dialog{width:min(860px,94vw);background:#092333;color:#d1e5ed;border:2px solid #5c8ca0;padding:25px}.language-picker-dialog header{display:flex;align-items:center;justify-content:space-between}.language-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.language-grid button{display:flex;align-items:center;gap:12px;font-family:AmericanCaptain,Arial,sans-serif;font-size:24px;min-height:60px}.language-grid button:lang(zh),.language-grid button:lang(ja),.language-grid button:lang(ko),.language-grid button:lang(ar),.language-grid button:lang(hi){font-family:Arial,sans-serif}.language-picker-dialog p{font-size:19px;color:#9db9c7}html:lang(zh) body,html:lang(ja) body,html:lang(ko) body,html:lang(ar) body,html:lang(hi) body{--language-font:Arial,sans-serif}html:lang(zh) button,html:lang(ja) button,html:lang(ko) button,html:lang(ar) button,html:lang(hi) button{font-family:var(--language-font)}

.offer-crates-update{display:flex;align-items:center;justify-content:center;gap:10px}.offer-crates-update span{position:relative;min-width:0;flex:1}.offer-crates-update img{width:100%;height:110px;object-fit:contain}.offer-crates-update b{position:absolute;right:7px;bottom:0;font-size:27px;color:#fff}

.clan-cooldown{padding:12px 18px;background:#422d19;color:#ffdb8b;border:1px solid #aa793e;font:22px AmericanCaptain}.clan-cooldown[hidden]{display:none}

.pilot-confirm-dialog{width:600px;max-width:90vw;font:26px AmericanCaptain;background:#0b2737;color:#c8dfea;border:2px solid #5790a1;padding:28px}.pilot-confirm-dialog h2{color:#ffe069;font-size:40px}.pilot-confirm-dialog>div{display:flex;gap:20px}.pilot-confirm-dialog button{flex:1;font:26px AmericanCaptain;min-height:60px}

/* All hangar shortcuts use the same anchor and normal flow inside the game frame. */
html body.release08 .hangar-pilot-tools{position:absolute;left:28px;top:22px;width:228px;display:grid;gap:16px;z-index:9}
html body.release08 .hangar-pilot-tools>#openLevelPass083,
html body.release08 .hangar-pilot-tools>#hangarEffects,
html body.release08 .hangar-pilot-tools>.squad-hangar-button{position:relative;inset:auto;margin:0;width:100%;box-sizing:border-box;min-width:0}
html body.release08 .hangar-pilot-tools>.squad-hangar-button{height:76px;display:grid;grid-template-columns:45px minmax(0,1fr) 16px;gap:8px;padding:7px 10px;border:3px solid #67848c!important;border-image:none!important;border-radius:10px;background:linear-gradient(#233d49,#091c28)!important;box-shadow:0 3px 0 #02090d,inset 0 0 0 2px #0c131b;text-align:left;text-shadow:0 2px #000}
.hangar-pilot-tools .squad-hangar-button span{font:25px/1.05 AmericanCaptain,Arial,sans-serif;white-space:normal;overflow-wrap:break-word}
.hangar-pilot-tools .squad-hangar-button b{font:32px AmericanCaptain;color:#91d6e4}
html body.release08 .hangar-pilot-tools>#hangarEffects{height:76px}
.hangar-pilot-tools #hangarEffects span{min-width:0;white-space:normal;line-height:1.05}
.squad-dialog{box-sizing:border-box;width:1260px;max-width:calc(100vw - 80px);max-height:calc(100vh - 80px);overflow:hidden}
.squad-dialog header>div{min-width:0}.squad-dialog header>button{flex:0 0 48px;height:48px;font:30px AmericanCaptain}
.squad-list article{box-sizing:border-box;height:110px;display:grid;grid-template-columns:40px 230px minmax(210px,1fr) 155px 155px 44px;gap:10px}
.squad-list article>*{min-width:0}.squad-list button{height:64px;padding:7px;font:23px/1.1 AmericanCaptain,Arial,sans-serif;white-space:normal;overflow-wrap:break-word}
.squad-description{width:auto}.squad-description input{box-sizing:border-box;min-width:0}.squad-description small{line-height:1.1}
.squad-mechs{height:90px;min-width:0}.squad-mechs canvas{width:30%;object-fit:contain}
html body.release08 .shop-head{display:flex;align-items:center;gap:18px;min-height:95px}
html body.release08 .shop-head>div{flex:0 0 auto}.shop-head .shop-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex:1;min-width:0}
html body.release08 .shop-head .shop-tabs button{width:auto!important;min-width:0;min-height:64px;height:auto;padding:7px 10px!important;font-size:25px;line-height:1.05;white-space:normal;display:flex;align-items:center;justify-content:center;gap:8px}
.shop-head .shop-tabs button img{flex:0 0 42px;width:42px;height:42px;object-fit:contain}
.kit-categories{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:7px;margin-bottom:12px}.kit-categories button{min-width:0;min-height:62px;line-height:1.1;white-space:normal;font-size:21px}
.kit-grid article{min-width:0}.kit-grid h2{font-size:26px;line-height:1.05}.kit-grid button{min-width:0;min-height:55px}.premium-benefits span{flex:1;min-width:0;max-width:none;line-height:1.15}
.language-picker-dialog{font-family:AmericanCaptain,Arial,sans-serif}.language-grid button{min-width:0;white-space:normal;line-height:1.2}.language-grid img{flex-shrink:0}
html:lang(zh) .hangar-pilot-tools span,html:lang(ja) .hangar-pilot-tools span,html:lang(ko) .hangar-pilot-tools span,html:lang(ar) .hangar-pilot-tools span,html:lang(hi) .hangar-pilot-tools span{font-family:Arial,sans-serif;font-size:23px}

/* Equal card rows keep all clan purchase buttons on the same baseline. */
html body.release08 .clan-shop-grid08 article{display:grid;grid-template-rows:minmax(110px,1fr) 60px 32px 60px;gap:8px;justify-items:center;min-width:0;padding:14px 10px}
html body.release08 .clan-shop-grid08 article>img{width:95%;height:100%;min-height:0;object-fit:contain}
html body.release08 .clan-shop-grid08 article>.clan-equipment{width:110px;height:110px;min-height:0;align-self:center;padding:0}
html body.release08 .clan-shop-grid08 h3{margin:0;min-width:0;font:25px/1.1 AmericanCaptain,Arial,sans-serif;align-self:center;overflow-wrap:break-word}
html body.release08 .clan-shop-grid08 article>small{align-self:center;font-size:20px;line-height:1.1}
html body.release08 .clan-shop-grid08 [data-clan-buy08]{height:60px;min-width:0;margin:0;width:100%;line-height:1.05}
html body.release08 #clanBody{grid-template-rows:220px minmax(0,1fr)}
html body.release08 #clanBody:has(.clan-welcome){grid-template-rows:1fr}
html body.release08 #clanBody>.clan-banner{max-height:none;gap:20px;padding:14px}
html body.release08 #clans .clan-banner small{display:block;font-size:18px;line-height:1.1;margin-bottom:5px}
html body.release08 #clans .clan-banner h2{font-size:34px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.release08 #clans .clan-banner p{font-size:20px!important;line-height:1.2!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0}
html body.release08 #clans .clan-banner b{font-size:21px;line-height:1.2}
html body.release08 .clan-tools{width:215px;gap:8px;flex-shrink:0}
html body.release08 .clan-tools button{min-height:52px;font:19px/1.1 AmericanCaptain,Arial,sans-serif;padding:7px}
html body.release08 #clanBody .member-actions{display:grid;grid-template-columns:130px 80px 116px;gap:6px}
html body.release08 #clanBody .member-actions button{min-width:0;min-height:40px;font:18px/1.05 AmericanCaptain,Arial,sans-serif;white-space:normal}
