/* Bitmap artwork for identity; real, clean HTML numerals for monetary values. */
#headquarters-page{--hq-value-font:Arial,Helvetica,sans-serif;padding-bottom:20px}
#headquarters-page .web-hq-hero{min-height:460px}
#headquarters-page .web-hq-copy{width:53%;padding:22px 0;z-index:2}
#hq-headline-lettering{display:none}
.web-hq-title-art.has-headline-asset>p,.web-hq-title-art.has-headline-asset>h1{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;margin:0;padding:0}
.web-hq-title-art.has-headline-asset #hq-headline-lettering{display:block;width:100%;height:210px;pointer-events:none}
#headquarters-page .web-hq-description{font:16px/1.6 Arial,Helvetica,sans-serif;color:#e0d8dd;margin:10px 0 18px}
#headquarters-page .web-hq-benefits{font:14px/1.35 Arial,Helvetica,sans-serif;gap:10px;margin:0 0 20px}
#headquarters-page .web-hq-benefits .pixel-icon{width:29px;height:29px}
.web-hq-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.web-hq-motion{pointer-events:auto;border:1px solid #7b5040;background:#141014;color:#ddc995;font:10px 'Share Tech Mono',monospace;min-height:30px;padding:5px 7px}
#headquarters-page .web-hq-showcase{width:63%;height:100%;right:-2%;bottom:0}
#headquarters-page .web-hq-building{bottom:0;height:65%;margin:0}
#headquarters-page .web-hq-building img{width:100%;height:100%;object-fit:contain;object-position:center bottom;image-rendering:auto}
#headquarters-page .web-hq-building-1{left:-3%;width:43%;height:61%;bottom:0}
#headquarters-page .web-hq-building-2{left:23%;width:47%;height:77%;bottom:3%}
#headquarters-page .web-hq-building-3{right:-2%;width:60%;height:87%;bottom:0}
#headquarters-page .web-hq-solar{top:12px;right:0;padding:12px 14px;gap:6px;max-width:224px}
#headquarters-page .web-hq-solar strong{font:700 22px Arial,Helvetica,sans-serif;white-space:nowrap}
#headquarters-page .web-hq-solar small{font-size:9px;letter-spacing:.6px}
#headquarters-page .web-hq-solar>span{font:11px Arial,Helvetica,sans-serif}
#headquarters-page .web-hq-tiers{max-width:1230px;gap:20px;margin:8px auto 0}
#headquarters-page .web-hq-tier{position:relative;isolation:isolate;min-width:0;padding:21px 23px 16px;background:none;border:0;box-shadow:none;text-align:left}
.web-hq-card-frame{position:absolute;left:-3%;top:-5%;width:106%;height:110%;z-index:-1;pointer-events:none;object-fit:fill;image-rendering:auto}
.web-hq-tier-summary{display:grid;grid-template-columns:85px minmax(0,1fr);align-items:center;gap:10px;min-height:116px}
.web-hq-tier-art{display:block;width:85px;height:110px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 5px 6px #0008)}
#headquarters-page .web-hq-tier h2{font:700 21px/1.12 'Zobot Rush Pixel',monospace;color:#fff0b0;text-transform:uppercase;margin:0 0 9px;overflow-wrap:anywhere}
#headquarters-page .web-hq-tier p{font:13px/1.3 Arial,Helvetica,sans-serif;color:#eee3dc}
#headquarters-page .web-hq-tier-summary p strong{font:700 24px Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums;color:#ffe573}
#headquarters-page .web-hq-extra{font:11px/1.4 Arial,Helvetica,sans-serif;color:#d5c7d1;margin-top:7px;min-height:16px}
#headquarters-page .web-hq-tier-solar .web-hq-extra{display:flex;align-items:center;gap:5px;border:1px solid #b99a3c;padding:5px 6px;background:#45331544;color:#ffe78a;font-size:10px}
.web-hq-extra .pixel-icon{width:14px;height:14px;flex-shrink:0}
.web-hq-price-label{display:block;border-top:1px solid #84303e;margin:10px 0 0;padding:11px 0 0;text-align:center;font:10px Arial,Helvetica,sans-serif;letter-spacing:.7px;color:#d8c9cb}
#headquarters-page .web-hq-price{display:flex;align-items:baseline;justify-content:center;gap:7px;border:0;padding:0;margin:7px 0 12px;white-space:nowrap;color:#fff7e9;font:700 clamp(25px,2.7vw,38px)/1.08 Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0}
#headquarters-page .web-hq-price b{font:inherit}
#headquarters-page .web-hq-price small{color:#ffe070;font:700 15px Arial,Helvetica,sans-serif}
#headquarters-page .web-hq-offer-note{font:10px/1.4 Arial,Helvetica,sans-serif;color:#bda8ad;text-align:center;margin:7px 0 0;min-height:14px;font-variant-numeric:tabular-nums}
#headquarters-page .web-hq-tier.is-owned{filter:drop-shadow(0 0 7px #ffcb2633)}
#headquarters-page .web-hq-tier:focus-visible{outline:2px solid #ffe28b;outline-offset:5px}
#web-hq-status{text-align:center;font:14px/1.5 Arial,Helvetica,sans-serif;color:#e9d480;margin:18px 0 0}
#web-hq-status:empty{display:none}
#headquarters-page .command-frame,#headquarters-page .command-icon{display:none}
#headquarters-page.has-command-assets [data-command-button]{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;height:48px;width:100%;padding:9px 17px;border:0;border-radius:0;clip-path:none;background:none;box-shadow:none;color:#fff4e4;font:700 18px Arial,Helvetica,sans-serif;text-decoration:none;transition:filter .15s,transform .12s}
#headquarters-page.has-command-assets [data-command-button=purchase-gold]{color:#211606}
#headquarters-page.has-command-assets [data-command-button] .command-frame{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;image-rendering:auto}
#headquarters-page.has-command-assets [data-command-button] .command-icon{display:block;width:24px;height:29px;flex:0 0 24px;pointer-events:none;image-rendering:auto}
#headquarters-page.has-command-assets [data-command-button] .command-label{font:inherit;color:inherit;min-width:0}
#headquarters-page.has-command-assets [data-command-button] .command-arrow{display:block;margin-left:auto;font:700 20px Arial,Helvetica,sans-serif}
#headquarters-page.has-command-assets [data-command-button]:hover{transform:translateY(-1px);filter:brightness(1.12)}
#headquarters-page.has-command-assets [data-command-button]:active{transform:translateY(2px)}
#headquarters-page.has-command-assets [data-command-button]:focus-visible{outline:2px solid #fff1b4;outline-offset:3px}
#headquarters-page.has-command-assets [data-command-button]:disabled{opacity:.7;cursor:default;transform:none;filter:none}
#headquarters-page.has-command-assets .web-hq-explore{width:285px;height:52px;font-size:15px;white-space:nowrap;padding:10px 15px}
#headquarters-page.has-command-assets .web-hq-tier .command-icon{display:none}
#headquarters-page.has-command-assets .web-hq-tier .command-arrow{margin-left:8px}
#headquarters-page.has-command-assets .web-hq-tier [data-command-button]:disabled .command-arrow{display:none}
#headquarters-page .web-hq-note,#headquarters-page .web-hq-local{font-family:Arial,Helvetica,sans-serif}
/* One existing modal, now showing an explicit review before any HQ transaction. */
#progression[data-view=hq-confirm]{isolation:isolate;width:min(620px,calc(100vw - 32px));max-height:92dvh;overflow-y:auto;overflow-x:hidden;padding:42px 30px 38px;border:0;border-radius:0;background:transparent;color:#f4eee7;box-shadow:0 25px 100px #000b;font-family:Arial,Helvetica,sans-serif}
#progression[data-view=hq-confirm]::backdrop{background:#030407ba;backdrop-filter:blur(3px)}
.hq-confirm-frame{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;object-fit:fill}
.hq-confirm-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:14px;border-bottom:1px solid #7b685c}
.hq-confirm-heading h2{font:700 27px 'Zobot Rush Pixel',monospace;color:#ffe478;margin:0}
#progression[data-view=hq-confirm] .progression-close{position:static;width:30px;height:30px;min-width:30px;border:0;border-radius:0;background:none;font:27px/1 Arial,Helvetica,sans-serif;color:#f5eee1;padding:0}
.hq-confirm-product{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:14px;padding:15px 0 11px}
.hq-confirm-product>img{width:145px;height:155px;object-fit:contain;image-rendering:auto}
.hq-confirm-product h3{font:700 24px/1.2 Arial,Helvetica,sans-serif;color:#ffe477;margin:0 0 9px}
.hq-confirm-price{margin:0 0 13px;color:#ffdf6b;white-space:nowrap;font:700 17px Arial,Helvetica,sans-serif}
.hq-confirm-price strong{font:700 35px/1.1 Arial,Helvetica,sans-serif;color:#fff9f1;font-variant-numeric:tabular-nums;letter-spacing:0}
.hq-confirm-benefit{display:flex;align-items:center;gap:8px;margin:8px 0 0;font:14px/1.4 Arial,Helvetica,sans-serif;color:#eee7e0}
.hq-confirm-benefit b{font-family:Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums}
.hq-confirm-benefit .pixel-icon{width:20px;height:20px;color:#ffe16c;flex-shrink:0}
.hq-confirm-manual{font:12px Arial,Helvetica,sans-serif;color:#c6b8c3;margin:6px 0 0}
.hq-confirm-credit{margin:0;padding:11px 0;border-top:1px solid #74504a;text-align:center;color:#c5b9c2;font:12px/1.5 Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums}
.hq-confirm-wallet{display:flex;justify-content:space-between;gap:14px;padding:7px 0;font:10px/1.5 Arial,Helvetica,sans-serif;color:#b7a8b1}
.hq-confirm-wallet span:last-child{text-align:right}
.hq-confirm-wallet b{display:block;color:#e8dac8;font:700 13px/1.5 Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums}
#hq-confirm-status{margin:3px 0 9px;min-height:16px;text-align:center;color:#ffc49d;font:12px/1.4 Arial,Helvetica,sans-serif}
.hq-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hq-confirm-actions button{min-height:48px;border:7px solid transparent;border-image:url('./assets/headquarters/frame-red-v2.png') 95 60 stretch;background:linear-gradient(#303036,#18191e);color:#f5eee8;font:700 17px Arial,Helvetica,sans-serif;padding:4px 7px;transition:filter .15s}
.hq-confirm-actions .hq-confirm-submit{border-image-source:url('./assets/headquarters/frame-gold-v2.png');background:linear-gradient(#ffe77b,#f6c132);color:#201506}
.hq-confirm-actions button:hover{filter:brightness(1.13)}
.hq-confirm-actions button:focus-visible{outline:2px solid #ffe9a7;outline-offset:3px}
.hq-confirm-actions button:disabled{filter:saturate(.4);opacity:.55;cursor:not-allowed}
#progression[data-view=hq] :is(.hq-balance strong,.hq-purchase-price strong,.hq-regen-benefit strong){font-family:Arial,Helvetica,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:0}
@media(min-width:1001px) and (max-height:800px){#headquarters-page .web-hq-hero{min-height:420px}#headquarters-page .web-hq-copy{padding:12px 0 20px}.web-hq-title-art.has-headline-asset #hq-headline-lettering{height:173px}#headquarters-page .web-hq-description{font-size:14px;margin:7px 0 13px}#headquarters-page .web-hq-benefits{font-size:13px;gap:8px;margin-bottom:14px}#headquarters-page .web-hq-tier{padding:17px 19px 13px}.web-hq-tier-summary{min-height:100px;grid-template-columns:78px minmax(0,1fr)}.web-hq-tier-art{width:78px;height:98px}#headquarters-page .web-hq-tier h2{font-size:19px}#headquarters-page .web-hq-tier-summary p strong{font-size:22px}#headquarters-page .web-hq-tiers{gap:17px}#headquarters-page .web-hq-price{font-size:clamp(25px,2.6vw,36px)}}
@media(min-width:721px) and (max-width:1100px){#headquarters-page .web-hq-hero{min-height:450px}#headquarters-page .web-hq-copy{width:57%}.web-hq-title-art.has-headline-asset #hq-headline-lettering{height:180px}#headquarters-page .web-hq-showcase{width:65%;height:80%;right:-3%}#headquarters-page .web-hq-solar{top:0;padding:9px 10px;max-width:190px}#headquarters-page .web-hq-solar strong{font-size:17px}#headquarters-page .web-hq-solar small{font-size:7px}#headquarters-page .web-hq-solar>span{font-size:9px}.web-hq-tier-summary{grid-template-columns:62px minmax(0,1fr);gap:5px;min-height:113px}.web-hq-tier-art{width:62px;height:90px}#headquarters-page .web-hq-tier{padding:19px 14px 13px}#headquarters-page .web-hq-tier h2{font-size:17px}#headquarters-page .web-hq-tier-summary p{font-size:11px}#headquarters-page .web-hq-tier-summary p strong{font-size:20px}#headquarters-page .web-hq-tier-solar .web-hq-extra{font-size:9px;padding:4px}.web-hq-price-label{font-size:9px}#headquarters-page .web-hq-price small{font-size:12px}#headquarters-page .web-hq-price{gap:4px}#headquarters-page.has-command-assets .web-hq-explore{width:260px;font-size:13px}}
@media(max-width:720px){#headquarters-page{padding-bottom:20px}#headquarters-page .web-hq-hero{min-height:0}#headquarters-page .web-hq-copy{width:100%;padding-top:12px;padding-bottom:10px}.web-hq-title-art.has-headline-asset #hq-headline-lettering{height:165px}#headquarters-page .web-hq-description{font-size:13px;margin:9px 0 15px}#headquarters-page .web-hq-benefits{font-size:12px;gap:9px;margin-bottom:16px}.web-hq-actions{gap:8px}#headquarters-page.has-command-assets .web-hq-explore{width:260px;font-size:14px;height:47px}#headquarters-page .web-hq-showcase{position:relative;width:calc(100% + 20px);height:290px;right:auto;margin:0 -10px}#headquarters-page .web-hq-building-1{width:43%;height:61%}#headquarters-page .web-hq-building-2{width:47%;height:72%}#headquarters-page .web-hq-building-3{width:60%;height:79%}#headquarters-page .web-hq-solar{top:2px;right:4px;padding:9px 11px;max-width:205px}#headquarters-page .web-hq-solar strong{font-size:19px}#headquarters-page .web-hq-solar small{font-size:8px}#headquarters-page .web-hq-solar>span{font-size:10px}#headquarters-page .web-hq-tiers{grid-template-columns:1fr;gap:23px;margin-top:8px}#headquarters-page .web-hq-tier{padding:21px 23px 17px}.web-hq-tier-summary{grid-template-columns:90px minmax(0,1fr);min-height:110px;gap:12px}.web-hq-tier-art{width:90px;height:110px}#headquarters-page .web-hq-tier h2{font-size:21px}#headquarters-page .web-hq-tier-summary p strong{font-size:25px}#headquarters-page .web-hq-price{font-size:36px}#headquarters-page .web-hq-price small{font-size:15px}#headquarters-page .web-hq-extra{font-size:11px}.web-hq-price-label{font-size:10px}#headquarters-page .web-hq-local{font-size:10px}.web-hq-motion{font-size:9px}#progression[data-view=hq-confirm]{width:calc(100vw - 24px);padding:36px 21px 44px}.hq-confirm-heading h2{font-size:23px}.hq-confirm-product{grid-template-columns:92px minmax(0,1fr);gap:10px;padding-top:15px}.hq-confirm-product>img{width:92px;height:130px}.hq-confirm-product h3{font-size:20px}.hq-confirm-price strong{font-size:26px}.hq-confirm-price{font-size:12px;white-space:normal}.hq-confirm-benefit{font-size:12px;gap:5px}.hq-confirm-benefit .pixel-icon{width:16px;height:16px}.hq-confirm-wallet b{font-size:12px}.hq-confirm-actions{gap:9px}.hq-confirm-actions button{font-size:15px;padding:4px;min-height:44px}.hq-confirm-credit{font-size:11px}}
@media(max-width:360px){.web-hq-tier-summary{grid-template-columns:74px minmax(0,1fr);gap:7px}.web-hq-tier-art{width:74px;height:100px}#headquarters-page .web-hq-tier h2{font-size:18px}#headquarters-page .web-hq-price{font-size:31px}.hq-confirm-product{grid-template-columns:75px minmax(0,1fr)}.hq-confirm-product>img{width:75px;height:112px}.hq-confirm-price strong{font-size:24px}.hq-confirm-heading h2{font-size:21px}.hq-confirm-wallet b{font-size:11px}}
@media(prefers-reduced-motion:reduce){#headquarters-page.has-command-assets [data-command-button],.hq-confirm-actions button{transition:none}#headquarters-page.has-command-assets [data-command-button]:hover,#headquarters-page.has-command-assets [data-command-button]:active{transform:none}}

@media(max-width:360px){.hq-confirm-actions button{font-size:14px;white-space:nowrap;letter-spacing:0;padding:4px 2px;border-width:6px}}

/* Keep all review content inside the bitmap frame's inset metal rim. */
#progression[data-view=hq-confirm]{padding:60px 50px 50px}
@media(max-width:720px){#progression[data-view=hq-confirm]{padding:46px 30px 44px}.hq-confirm-heading h2{font-size:21px}.hq-confirm-product{grid-template-columns:80px minmax(0,1fr)}.hq-confirm-product>img{width:80px}.hq-confirm-actions{gap:8px}.hq-confirm-actions button{font-size:14px;white-space:nowrap;padding:4px 2px}}
@media(max-width:360px){.hq-confirm-product{grid-template-columns:68px minmax(0,1fr);gap:7px}.hq-confirm-product>img{width:68px}.hq-confirm-heading h2{font-size:18px}.hq-confirm-price strong{font-size:22px}.hq-confirm-actions button{font-size:12px}}

/* Desktop storefront: allocate the viewport between the hero and offers. */
@media(min-width:1001px) and (min-height:620px){
 .site-shell[data-lobby-view=headquarters]{height:100dvh;min-height:100dvh;--home-header:52px}
 .site-shell[data-lobby-view=headquarters] .site-header{flex-shrink:0}
 .site-shell[data-lobby-view=headquarters] .site-brand .brand-logo{width:155px;height:43px}
 .site-shell[data-lobby-view=headquarters] .site-footer{min-height:26px;height:26px;flex-shrink:0;padding:4px 0;font-size:8px}
 #headquarters-page{min-height:0;display:flex;flex-direction:column;padding-bottom:6px}
 #headquarters-page[hidden]{display:none}
 #headquarters-page .web-hq-hero{flex:1;min-height:0}
 #headquarters-page .web-hq-copy{width:53%;padding:8px 0 12px}
 .web-hq-title-art.has-headline-asset #hq-headline-lettering{height:clamp(115px,calc(100dvh - 500px),190px)}
 #headquarters-page .web-hq-description{font-size:13px;line-height:1.4;margin:6px 0 10px}
 #headquarters-page .web-hq-benefits{display:flex;flex-wrap:wrap;gap:7px 15px;font-size:11px;margin:0 0 12px;max-width:510px}
 #headquarters-page .web-hq-benefits li{gap:6px}
 #headquarters-page .web-hq-benefits .pixel-icon{width:23px;height:23px;padding:4px}
 #headquarters-page.has-command-assets .web-hq-explore{width:250px;height:42px;min-height:42px;font-size:14px}
 #headquarters-page .web-hq-showcase{height:100%;width:62%;right:-1%;z-index:1}
 #headquarters-page .web-hq-solar{top:10px;padding:9px 11px}
 #headquarters-page .web-hq-solar strong{font-size:20px}
 #headquarters-page .web-hq-tiers{flex-shrink:0;width:100%;max-width:1230px;margin:12px auto 0;gap:20px}
 #headquarters-page .web-hq-tier{padding:14px 23px 13px}
 #headquarters-page .web-hq-tier-summary{grid-template-columns:72px minmax(0,1fr);gap:9px;min-height:80px}
 #headquarters-page .web-hq-tier-art{width:72px;height:80px}
 #headquarters-page .web-hq-tier h2{font-size:18px;margin-bottom:6px}
 #headquarters-page .web-hq-tier-summary p{font-size:12px}
 #headquarters-page .web-hq-tier-summary p strong{font-size:22px}
 #headquarters-page .web-hq-extra{font-size:10px;margin-top:5px;min-height:14px}
 #headquarters-page .web-hq-tier-solar .web-hq-extra{font-size:9px;padding:3px 5px}
 #headquarters-page .web-hq-price-label{margin-top:6px;padding-top:8px;font-size:9px}
 #headquarters-page .web-hq-price{font-size:32px;margin:5px 0 8px}
 #headquarters-page .web-hq-price small{font-size:13px}
 #headquarters-page.has-command-assets .web-hq-tier [data-command-button]{height:40px;min-height:40px;font-size:17px;padding:6px 14px}
 #headquarters-page .web-hq-offer-note{font-size:9px;line-height:1.3;margin-top:5px;min-height:12px}
 #headquarters-page .web-hq-note{flex-shrink:0;font-size:10px;line-height:1.4;margin:14px 0 2px}
 #headquarters-page .web-hq-local{flex-shrink:0;font-size:9px;line-height:1.4}
 #web-hq-status{font-size:11px;line-height:1.3;margin:10px 0 0;flex-shrink:0}
}
@media(min-width:1001px) and (min-height:620px) and (max-height:700px){
 .web-hq-title-art.has-headline-asset #hq-headline-lettering{height:100px}
 #headquarters-page .web-hq-tier-summary{min-height:64px;grid-template-columns:64px minmax(0,1fr)}
 #headquarters-page .web-hq-tier-art{width:64px;height:64px}
 #headquarters-page .web-hq-tier{padding:12px 21px}
 #headquarters-page .web-hq-price{font-size:30px}
 #headquarters-page .web-hq-price-label{padding-top:6px}
 #headquarters-page .web-hq-solar{max-width:196px;padding:7px 9px}
 #headquarters-page .web-hq-solar strong{font-size:17px}
 #headquarters-page .web-hq-solar small{font-size:8px}
 #headquarters-page .web-hq-solar>span{font-size:9px}
}

/* Native benefit panels, preserving the pixel console artwork. */
#headquarters-page .web-hq-solar{border:1px solid #bc963c;border-radius:12px;background:linear-gradient(140deg,#292012f5,#100f0df5);box-shadow:0 7px 22px #0008,inset 0 1px #ffe18b24}
#headquarters-page .web-hq-solar strong{line-height:1.2}
#headquarters-page .web-hq-solar>span{line-height:1.45;color:#e5d8b2}
#headquarters-page .web-hq-tier-solar .web-hq-extra{border-radius:6px;border-color:#a48b46;background:linear-gradient(100deg,#52401b55,#201b1255);line-height:1.5}
#headquarters-page .web-hq-benefits>li{line-height:1.5}
