/* ATHRTY BLACKLINE / ordered production CSS bundle; source files remain canonical. */

/* SOURCE: public/demo.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--white:#f1f0e8;--muted:#adb7b3;--lime:#d5debb;--bg:#080e12;font-family:Manrope,Arial,sans-serif;color:var(--white);background:var(--bg)}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lime);outline-offset:3px}a{color:inherit;text-decoration:none}#world{position:fixed;inset:0;width:100%;height:100%;display:block;background:radial-gradient(ellipse at 50% 45%,#344851,#080e14)}.vignette{position:fixed;inset:0;pointer-events:none;z-index:2;background:radial-gradient(ellipse at 50% 45%,transparent 33%,#060a0ac0 100%)}.grain{position:fixed;inset:0;z-index:15;pointer-events:none;opacity:.04;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}.top{position:fixed;top:0;left:0;right:0;height:73px;padding:0 3vw;display:flex;align-items:center;justify-content:space-between;z-index:10;border-bottom:1px solid #b5cfc322;background:#060a0c7c;backdrop-filter:blur(16px)}.brand{font-size:15px;font-weight:800;letter-spacing:-.04em}.build,.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--lime);font-weight:800}.build{color:#9caaa5}.top-button{border:1px solid #4c6460;background:#15202580;color:white;border-radius:99px;padding:12px 18px;letter-spacing:.1em;font-size:10px;font-weight:800}.top-button small{color:#96aaa4;margin-left:8px}
.creator{position:fixed;inset:73px 0 0;z-index:6;background:linear-gradient(90deg,#060a0ce6 0,#080b0de6 48%,#050709ef 100%);display:grid;grid-template-columns:1fr 530px;overflow:auto}.creator-intro{padding:clamp(55px,7vw,118px) 4vw 60px 7vw;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.creator-intro h1{font-size:clamp(46px,5.3vw,88px);line-height:.95;letter-spacing:-.085em;margin:36px 0}.creator-intro h1 em{color:var(--lime);font-style:normal}.creator-intro p{color:#a4b5b0;line-height:1.8;font-size:15px;max-width:480px}.tag{color:#b1c1ba;border-top:1px solid #4a635c;padding-top:16px;margin-top:55px;font-size:10px;letter-spacing:.18em}.creator-panel{padding:30px 45px 50px;min-height:calc(100vh - 73px);background:#0d1416ed;border-left:1px solid #455550;display:flex;flex-direction:column;gap:16px}.creator-panel .eyebrow{margin:10px 0}.mini-label{font-size:10px;font-weight:800;letter-spacing:.16em;color:#8e9e98}.creator-panel input,.creator-panel select{width:100%;color:white;border:1px solid #41534c;border-radius:8px;background:#161f21;padding:13px 12px;font-size:12px;font-weight:800;letter-spacing:.08em}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field-row label{font-size:10px;letter-spacing:.09em;color:#a6b7ae}.field-row select{margin-top:9px}.swatches{display:flex;gap:12px;margin:0 0 9px}.swatch{height:32px;width:32px;border-radius:100%;background:var(--sw);border:3px solid #151f1d;outline:1px solid transparent}.swatch.chosen{outline-color:var(--lime)}.origin-heading{margin-top:14px!important}.origins{display:flex;flex-direction:column;gap:7px}.origin{color:white;text-align:left;background:#111a1d;border:1px solid #3b4a46;border-radius:10px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:16px}.origin.selected{background:#263a2c;border-color:var(--lime)}.origin span{display:flex;flex-direction:column;gap:5px}.origin b{font-size:12px;letter-spacing:.04em}.origin small{font-size:9px;letter-spacing:.1em;color:#9eb0aa}.origin strong{color:var(--lime);font-size:9px;letter-spacing:.04em;white-space:nowrap}.enter{width:100%;margin-top:10px;border:0;border-radius:999px;padding:18px 23px;background:var(--lime);color:#09110b;font-weight:800;letter-spacing:.1em;font-size:11px;display:flex;justify-content:space-between}.enter span{font-size:19px}
#hud{position:fixed;inset:73px 0 0;pointer-events:none;z-index:5}#hud[hidden],.creator[hidden],.overlay[hidden],#interact[hidden],#demoEnd[hidden]{display:none!important}.hud-left{position:absolute;top:34px;left:4vw;max-width:355px;text-shadow:0 2px 6px #000}.hud-eyebrow{color:var(--lime);letter-spacing:.22em;font-weight:800;font-size:9px}.hud-left h2{font-size:26px;letter-spacing:-.05em;line-height:1.05;margin:14px 0}.hud-left p{font-size:12px;color:#cedad7;line-height:1.6}.stats{display:flex;gap:20px;border-top:1px solid #c0d0c54b;padding-top:18px;margin-top:25px}.stats div{display:flex;flex-direction:column;gap:6px}.stats small{font-size:9px;color:#a7b9b1;letter-spacing:.1em}.stats b{font-size:20px;font-weight:800}.health-wrap{height:4px;width:100%;background:#6c2e25;margin-top:20px}.health-wrap div{height:100%;width:100%;background:var(--lime);transition:width .2s}.hud-right{position:absolute;right:4vw;top:30px;text-align:right}.map{width:152px;height:152px;border:1px solid #68857788;border-radius:50%;padding:5px;background:#08121599;overflow:hidden}.map canvas{border-radius:50%;width:140px;height:140px}.controls{margin-top:20px;line-height:2;letter-spacing:.09em;color:#b0c1b7;font-size:9px}.interact{position:absolute;bottom:125px;left:50%;transform:translateX(-50%);background:#0d1b1be0;border:1px solid var(--lime);color:white;padding:14px 25px;border-radius:999px;font-size:11px;letter-spacing:.1em;font-weight:800;white-space:nowrap}.foot-hud{position:absolute;bottom:32px;left:4vw;right:4vw;display:flex;justify-content:space-between;gap:15px;font-size:9px;font-weight:800;letter-spacing:.16em}.origin-tag{color:var(--lime)}.demo-tag{color:#adc0b5}.toast{position:absolute;z-index:14;top:100px;left:50%;transform:translateX(-50%) translateY(-20px);border-radius:10px;padding:15px 24px;background:#d7ffc4;color:#132118;font-size:12px;font-weight:800;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:min(450px,90vw);text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.overlay{position:fixed;inset:0;z-index:12;background:#040809d9;display:flex;align-items:center;justify-content:center;padding:25px;backdrop-filter:blur(12px)}.dialog{background:linear-gradient(130deg,#1c2d2c,#0c1416);border:1px solid #687e70;padding:clamp(28px,5vw,55px);border-radius:16px;max-width:560px;width:100%;box-shadow:0 40px 100px #0008}.dialog h2{font-size:clamp(36px,5vw,64px);letter-spacing:-.08em;line-height:1.02;margin:25px 0}.dialog h2 em{color:var(--lime);font-style:normal}.dialog p{color:#b7c8c1;line-height:1.7;font-size:14px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:34px}.choice-grid button{display:flex;flex-direction:column;gap:12px;border:1px solid var(--lime);border-radius:12px;background:#233b2b;color:white;padding:25px 18px;text-align:left}.choice-grid button:last-child{background:#422b23;border-color:#d58f68}.choice-grid small{font-size:10px;color:#afc6b4}.action-list{display:flex;flex-direction:column;gap:10px;margin-top:32px}.action-list button,.action-list a{background:#243b2b;border:1px solid #78ac74;color:#efffe6;padding:16px 20px;border-radius:99px;text-align:center;font-size:12px;font-weight:800;letter-spacing:.08em}.action-list a{background:transparent;border-color:#536962}.ending small{font-size:9px;color:#7e9f8a;display:block;margin-top:20px}.mobile-controls{display:none}
@media(max-width:980px){.creator{grid-template-columns:1fr;overflow:auto}.creator-intro{padding:48px 35px 30px}.creator-intro h1{font-size:52px}.creator-panel{min-height:0;border-left:0;padding:30px 35px}.creator-intro .tag{margin-top:22px}.hud-right .controls{display:none}}
@media(max-width:650px){.top{height:60px;padding:0 20px}.build{display:none}.creator{inset:60px 0 0}.creator-intro{padding:42px 22px 20px}.creator-intro h1{font-size:clamp(42px,10vw,70px);margin:22px 0}.creator-intro p{font-size:13px}.creator-panel{padding:26px 22px 55px}.hud-left{top:20px;left:20px;max-width:230px}.hud-left h2{font-size:20px}.hud-left p{font-size:11px}.hud-right{right:16px;top:25px}.map{width:99px;height:99px}.map canvas{width:86px;height:86px}.stats{gap:10px}.stats b{font-size:15px}.stats small{font-size:7px}.foot-hud{bottom:16px;left:20px;right:20px}.demo-tag{display:none}.mobile-controls{display:flex;align-items:end;gap:15px;position:absolute;bottom:42px;left:20px;right:20px;pointer-events:auto}.touch-pad{width:116px;height:116px;border-radius:50%;border:1px solid #d0ffd255;background:#17282466;position:relative;touch-action:none}.touch-nub{width:45px;height:45px;position:absolute;top:35px;left:35px;border-radius:50%;background:#bad6b47d}.touch-act,.touch-atk{border:1px solid #aef18f;background:#172d20d9;border-radius:100%;height:65px;width:65px;color:#d8ffe2;font-size:10px;font-weight:800;letter-spacing:.05em}.touch-act{margin-left:auto}.interact{bottom:180px;font-size:9px}.dialog{padding:28px 23px}.choice-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}


/* SOURCE: public/demo-upgrades.css */
/* ATHRTY GAMES / VENTURE HUD + CHARACTER VIEW */
.top-actions{display:flex;align-items:center;gap:10px}
.operator-preview{height:140px;position:relative;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 50% 100%,#39544c,#0c191b 65%,#0a1214 100%);border:1px solid #53685c;display:flex;align-items:center;justify-content:center}
.preview-halo{position:absolute;left:calc(50% - 87px);top:-22px;width:174px;height:174px;border-radius:50%;border:1px solid #a3d8b749;box-shadow:0 0 36px #b5ff8c12,inset 0 0 22px #b5ff8c20}
.preview-body{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:100px;height:145px}
.preview-head{position:absolute;top:21px;left:32px;width:36px;height:42px;background:#ae8165;border-radius:46% 46% 46% 46%;box-shadow:inset -9px -3px 15px #2d181644;z-index:2}
.preview-hair{position:absolute;top:15px;left:30px;width:40px;height:20px;border-radius:50% 50% 10% 10%;background:#151916;z-index:3}
.preview-shoulders{position:absolute;top:63px;left:5px;width:90px;height:70px;background:#a87853;border-radius:32% 32% 10% 10%;box-shadow:inset -24px 0 15px #0004}
.preview-jacket{position:absolute;top:64px;left:37px;width:26px;height:67px;clip-path:polygon(30% 0%,70% 0%,100% 100%,0% 100%);background:#24332e;z-index:2}
.preview-copy{position:absolute;left:16px;top:16px;display:flex;flex-direction:column;gap:6px;z-index:3;max-width:130px}
.preview-copy span{color:#a2b6a4;font-size:9px;letter-spacing:.14em;font-weight:800}
.preview-copy b{font-size:13px;letter-spacing:.04em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.venture-dialog{max-width:670px;max-height:min(94svh,820px);overflow:auto}
.venture-dialog h2{font-size:clamp(36px,5vw,62px)}
.upgrade-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:24px}
.upgrade-card{background:#101e1d;border:1px solid #46635a;border-radius:12px;padding:19px 15px;min-width:0;display:flex;flex-direction:column;gap:12px}
.upgrade-card .tagline{color:#b5ff8c;font-size:9px;letter-spacing:.13em;font-weight:800}
.upgrade-card h3{margin:0;font-size:16px;line-height:1.1;letter-spacing:-.05em}
.upgrade-card p{color:#a8b9b2;font-size:11px;line-height:1.55;margin:0;flex:1}
.upgrade-card small{color:#d7e9d8;font-size:10px;letter-spacing:.02em}
.upgrade-card .upgrade-cta{color:#132419;background:#b5ff8c;border:0;border-radius:999px;padding:13px 7px;font-size:10px;font-weight:800}
.upgrade-card .upgrade-cta:disabled{background:#536659;color:#d1ddd2;opacity:.55;cursor:not-allowed}
.venture-close{color:#e4f5e8;background:transparent;border:1px solid #748a7c;border-radius:999px;padding:14px 22px;width:100%;margin-top:23px;font-size:11px;font-weight:800;letter-spacing:.1em}
#syncStatus{min-height:17px;text-align:center;color:#c9efb5;font-size:12px;line-height:1.5}
#syncStatus:empty{display:none}
.drive-status{font-size:9px;color:#d6edbb;font-weight:800;letter-spacing:.09em}
@media(max-width:650px){.mobile-controls{gap:6px}.touch-pad{width:96px;height:96px;min-width:96px}.touch-nub{top:25px;left:25px}.touch-act,.touch-atk{width:48px;height:48px;min-width:48px;font-size:8px}.drive-status{display:none}.top-actions{gap:6px}.top-actions .top-button{padding:10px 12px}.top-actions small{display:none}.operator-preview{height:125px}.venture-dialog{max-height:93svh;padding:28px 19px}.upgrade-options{grid-template-columns:1fr;gap:8px}.upgrade-card{padding:13px 15px;display:grid;grid-template-columns:1fr auto}.upgrade-card .tagline,.upgrade-card h3,.upgrade-card p{grid-column:1}.upgrade-card small{grid-column:2;grid-row:1;white-space:nowrap}.upgrade-card .upgrade-cta{grid-column:2;grid-row:2/span 2;align-self:center;padding:12px}.upgrade-card h3{font-size:15px}.upgrade-card p{font-size:10px}}


/* SOURCE: public/operating-economy.css */
/* X8002 / The operating company is a section of the existing Venture interface. */
.venture-dialog{max-width:min(890px,94vw)!important}
#operatingEconomy{margin-top:24px;border-top:1px solid rgba(189,167,137,.3);padding-top:22px;min-width:0}
#operatingEconomy .op-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
#operatingEconomy .op-head>div>span{font-size:10px;font-weight:800;letter-spacing:.16em;color:#cba986}
#operatingEconomy .op-head h3{font-size:clamp(22px,3vw,32px);letter-spacing:-.055em;line-height:1.1;margin:8px 0}
#operatingEconomy .op-head p{font-size:12px;line-height:1.6;color:#b9c3bd;margin:0;max-width:400px}
#operatingEconomy .op-head strong{font-size:clamp(24px,3vw,35px);white-space:nowrap;color:#f1e5d1;letter-spacing:-.05em}
#operatingEconomy .op-head strong small{display:block;font-size:9px;font-weight:700;letter-spacing:.14em;text-align:right;color:#bfbaa9;margin-top:2px}
#operatingEconomy .op-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0}
#operatingEconomy .op-metrics span{display:flex;flex-direction:column;gap:8px;border:1px solid #69736960;background:rgba(16,29,31,.8);border-radius:11px;padding:12px;font-size:9px;letter-spacing:.06em;color:#abbbb4}
#operatingEconomy .op-metrics b{font-size:12px;color:#eadac4;letter-spacing:0}
#operatingEconomy .op-investments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#operatingEconomy .op-asset{background:linear-gradient(135deg,#1d292a,#0f191d);border:1px solid #79847853;border-radius:13px;padding:16px;display:flex;flex-direction:column;gap:10px;min-width:0}
#operatingEconomy .op-asset-overline{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:.1em;color:#c9b38f;font-weight:700}
#operatingEconomy .op-asset h4{font-size:14px;letter-spacing:-.025em;margin:0;color:#f3efe7}
#operatingEconomy .op-asset p{font-size:11px;line-height:1.55;color:#b0beb9;margin:0;flex:1}
#operatingEconomy .op-asset-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#operatingEconomy .op-asset-bottom>span{font-size:9px;color:#bdbeb4}
#operatingEconomy .op-asset button{border:0;border-radius:99px;background:#d1b38c;color:#101a1c;font-size:10px;font-weight:850;padding:10px 14px;min-height:40px;cursor:pointer}
#operatingEconomy .op-asset button:disabled{background:#394a49;color:#b3c0b8;opacity:.75;cursor:default}
#operatingEconomy .op-ledger{border-top:1px solid #65736c5c;margin-top:16px;padding-top:16px;font-size:11px;color:#c3cbc4}
#operatingEconomy .op-ledger strong{display:block;font-size:10px;letter-spacing:.13em;color:#e4c59d}
#operatingEconomy .op-ledger p{line-height:1.6}
#operatingEconomy .op-ledger small{display:block;font-size:10px;color:#a6b3ac;line-height:1.5}
.venture-athrty-bridge{margin-top:20px;padding:17px;background:rgba(14,26,29,.75);border:1px solid rgba(177,170,147,.26);border-radius:14px}
.venture-athrty-bridge b{display:block;font-size:10px;letter-spacing:.11em;color:#dcc19d}
.venture-athrty-bridge p{font-size:11px;line-height:1.65;color:#b4c5c1;margin:8px 0 12px}
.venture-athrty-bridge div{display:flex;gap:9px;flex-wrap:wrap}
.venture-athrty-bridge a{border:1px solid #798480;border-radius:99px;color:#e7e9e1;text-decoration:none;font-size:10px;font-weight:800;padding:10px 14px;min-height:42px;display:inline-flex;align-items:center}
.venture-athrty-bridge a:hover,.venture-athrty-bridge a:focus-visible{background:#c9b28d;color:#10191c}
.venture-athrty-bridge small{display:block;margin-top:12px;color:#9baba5;font-size:9px;line-height:1.5}
@media(max-width:700px){#operatingEconomy .op-head{flex-direction:column;gap:12px}#operatingEconomy .op-head strong small{text-align:left}#operatingEconomy .op-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#operatingEconomy .op-investments{grid-template-columns:1fr}.venture-dialog{max-width:100vw!important}.venture-athrty-bridge a{min-height:44px}}
@media(prefers-reduced-motion:reduce){#operatingEconomy *, .venture-athrty-bridge *{transition:none!important;animation:none!important}}


/* SOURCE: public/realism.css */
/* EMPIRE ZERO / STREET-LEVEL CINEMATIC RELEASE V3
   Clean, legible gameplay UI without lime-tinted prototype surfaces. */
/* BLACKLINE canonical theme tokens are declared in demo.css. */
#world{background:#19262b}
.vignette{background:radial-gradient(ellipse at 52% 50%,transparent 47%,rgba(3,6,9,.55) 100%)}
.grain{opacity:.018}
.top{background:linear-gradient(180deg,rgba(8,13,16,.96),rgba(9,17,22,.83));border-color:rgba(188,169,138,.25)}
.brand{letter-spacing:.08em;font-weight:800;font-size:12px}
.build{letter-spacing:.18em}
.top-button{border-color:rgba(195,167,132,.42);background:rgba(20,29,34,.88);color:#e9e7e0;min-width:84px;min-height:42px;transition:background .16s ease}
.top-button:hover{background:rgba(80,66,50,.88);border-color:#d7b68d}
.top-button small{color:#c1a27f}
.hud-left{max-width:360px;top:30px;padding:16px 20px 18px;border-left:2px solid rgba(207,178,139,.6);background:linear-gradient(90deg,rgba(6,13,17,.74),rgba(6,13,17,.40) 72%,transparent);text-shadow:0 2px 10px #0009}
.hud-eyebrow{letter-spacing:.18em;color:#d5b68d}
.hud-left h2{font-size:clamp(22px,2.5vw,33px);line-height:1.08;letter-spacing:-.035em;margin:13px 0 7px;color:#f5eee2}
.hud-left p{color:#bbc5c7;line-height:1.55;font-size:11px}
.stats{margin-top:17px;padding-top:13px;gap:21px;border-color:rgba(169,152,128,.35)}
.stats small{color:#a4b0b0}
.stats b{font-family:Manrope,Arial,sans-serif;font-size:19px;font-weight:800}
.health-wrap{background:rgba(120,44,37,.55);margin-top:17px;height:3px}
.health-wrap div{background:#d5b892}
.map{border-color:rgba(195,175,138,.43);background:rgba(5,13,17,.83);box-shadow:0 9px 35px #0008}
.controls{margin-top:12px;color:#c0c9c8;font-size:9px;line-height:1.9;text-shadow:0 2px 8px #000}
.foot-hud{align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;bottom:24px;letter-spacing:.08em}
.origin-tag{color:#d7b48a;letter-spacing:.15em}
.drive-status{color:#e3e0d7}
.camera-mode-label{border:1px solid rgba(188,168,137,.42);border-radius:50px;padding:9px 13px;background:rgba(9,17,22,.78);color:#e0c4a3;font-size:10px;white-space:nowrap}
.demo-tag{color:#a4b3b2;letter-spacing:.08em}
.interact{border-color:#ceac7e;background:rgba(8,16,20,.9);box-shadow:0 5px 23px #0006;color:#eadcc9}
.toast{background:#d7c4a5;color:#182125}
.creator-intro h1 em,.dialog h2 em{color:#d3b58e}
.origin.selected{border-color:#c6a783;background:#3e342b}
.enter{background:#d2b48b;color:#11191c}
.swatch.chosen{outline-color:#d4b58c}
.upgrade-card .upgrade-cta{background:#cead82;color:#17201f}
@media(max-width:820px){
 .build{display:none}
 .hud-left{left:18px;top:15px;max-width:min(59vw,330px);padding:12px 12px 15px}
 .hud-right{right:15px;top:20px}
 .stats{gap:12px;flex-wrap:wrap}
 .foot-hud{left:18px;right:18px;gap:7px;bottom:16px}
 .camera-mode-label{font-size:9px;padding:7px 10px}
 .demo-tag{display:none}
}
@media(max-width:650px){
 .top{padding:0 12px;gap:5px}
 .brand{font-size:10px;letter-spacing:.02em;max-width:93px}
 .top-actions{display:flex;gap:5px;margin-left:auto}
 .top-actions .top-button{font-size:9px;min-width:0;min-height:41px;padding:7px 9px;letter-spacing:.04em}
 .top-actions small{display:none}
 #hud{inset:60px 0 0}
 .hud-left{left:10px;top:10px;max-width:57vw}
 .hud-left h2{font-size:19px;margin:9px 0 5px}
 .hud-left p{font-size:10px}
 .hud-eyebrow{font-size:8px;letter-spacing:.09em}
 .hud-right{right:10px;top:10px}
 .map{width:97px;height:97px}
 .map canvas{width:85px;height:85px}
 .foot-hud{left:12px;right:12px;bottom:max(9px,env(safe-area-inset-bottom));font-size:9px}
 .origin-tag{font-size:8px}
 .drive-status{font-size:9px}
 .camera-mode-label{order:3;font-size:8px}
 .mobile-controls{bottom:max(44px,env(safe-area-inset-bottom));left:12px;right:12px;gap:8px}
 .touch-pad{width:104px;height:104px;flex-shrink:0}
 .touch-pad .touch-nub{top:29px;left:29px}
 .touch-act,.touch-atk{width:54px;height:54px;min-width:54px}
 .interact{bottom:165px;white-space:normal;max-width:90vw;text-align:center}
}
@media(max-width:380px){
 .top-actions .top-button{padding:7px 6px;font-size:8px}
 .hud-left h2{font-size:17px}
 .stats{gap:7px}
 .stats b{font-size:15px}
 .camera-mode-label{padding:5px 8px}
}
@media(prefers-reduced-motion:reduce){.top-button,.toast{transition:none!important}}


/* SOURCE: public/graphics-v5.css */
/* ATHRTY GAMES / CINEMATIC V5 — gameplay-first, quiet instrumentation */
/* BLACKLINE canonical theme tokens are declared in demo.css. */
.top{background:linear-gradient(180deg,rgba(4,9,13,.82),rgba(4,9,13,.48));border-bottom:1px solid #d9e9de24;backdrop-filter:blur(10px)}
.top-button{border-color:#a1aaa060;background:rgba(12,23,29,.75);font-weight:800}
.top-button:hover,.top-button:focus-visible{background:#d3dbbe;color:#101918}
.top-button small{color:inherit;opacity:.64}
#hud{pointer-events:none}
.hud-left{top:22px;left:max(24px,3vw);padding:20px 20px 16px;background:linear-gradient(120deg,rgba(7,15,20,.88),rgba(6,14,17,.42));border:1px solid rgba(219,228,213,.13);border-radius:13px;backdrop-filter:blur(6px);max-width:360px;text-shadow:0 1px 10px #000b}
.hud-left h2{font-size:clamp(19px,2.4vw,27px);line-height:1.05;margin:10px 0 10px;letter-spacing:-.055em}
.hud-left p{font-size:11px;color:#d4dad7;line-height:1.55}
.stats{margin-top:15px;padding-top:13px;gap:20px}
.stats b{font-size:16px}.stats small{font-size:8px;color:#c1cac4}
.hud-left .health-wrap{margin-top:13px;height:3px}
.business-health{display:flex;align-items:center;gap:18px;flex-wrap:wrap;border-top:1px solid #d0dbd22d;padding-top:14px;margin-top:15px}
.business-health div{display:flex;flex-direction:column;gap:4px}
.business-health small{font-size:8px;letter-spacing:.08em;color:#b2bcb6;white-space:nowrap}
.business-health b{font-size:14px;font-weight:800;color:#f1f2e9}
.hud-right{right:3vw;top:23px}
.map{background:#0d1920d9;border-color:#a7b6a35e;box-shadow:0 10px 25px #0007}
.controls{font-size:8px;letter-spacing:.06em;color:#d3dcd1;line-height:2;background:#111b1eb8;border-radius:8px;padding:10px;margin-top:12px}
.foot-hud{bottom:20px;left:3vw;right:3vw;align-items:flex-end;background:linear-gradient(90deg,#0b1519aa,#0b151900);padding:13px 10px;border-radius:7px;flex-wrap:wrap;row-gap:5px;letter-spacing:.08em}
.demo-tag{opacity:.65}.asset-status{color:#c0c7bc;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.render-metrics{color:#b1c1b8}.waypoint-distance{font-weight:800;color:#dcd8a5}
.interact{bottom:100px;background:#151f22f0;color:#f5f4e6;border-color:#a9bfa6;font-size:10px}
.creator{background:linear-gradient(90deg,rgba(5,9,12,.89),rgba(7,11,14,.80) 47%,rgba(5,9,12,.94));}
.creator-panel{background:#0e181beb}
.origin.selected{background:#2a3a33;border-color:#c3cda6}
.overlay{overflow:auto;overscroll-behavior:contain}
.dialog{background:linear-gradient(135deg,#1b2a2c,#0c1518 80%);border:1px solid #75877a}
.business-dialog,.report-dialog{width:min(820px,100%);max-width:820px;max-height:88svh;overflow-y:auto}
.business-dialog h2,.report-dialog h2{margin:16px 0;font-size:clamp(33px,4.2vw,54px);line-height:1.05}
.business-dialog > p,.report-dialog > p{font-size:14px;line-height:1.7;color:#ccd7d0}
.briefing-facts{margin-top:22px;border-block:1px solid #73847963;padding:15px 0;font-size:11px;font-weight:800;letter-spacing:.09em;line-height:1.7;color:#d4d6c5}
.business-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px}
.biz-option{display:flex;align-items:flex-start;justify-content:space-between;flex-direction:column;gap:22px;min-height:145px;background:#182726;border:1px solid #61776b;border-radius:12px;padding:19px;color:#f3f4e8;text-align:left;transition:background .15s,transform .15s}
.biz-option:hover{background:#304438;transform:translateY(-2px);border-color:#d5debb}
.biz-option-main{display:flex;flex-direction:column;gap:10px}
.biz-option b{font-size:12px;line-height:1.35;letter-spacing:.02em}
.biz-option small{font-size:11px;color:#bdcdc0;line-height:1.5}
.biz-option strong{color:#d5debb;font-size:19px;letter-spacing:-.04em}
.business-feedback{font-size:12px!important;color:#e4d5b7!important;min-height:24px;margin-top:15px!important}
.lesson-callout{border-left:2px solid #bbcaa0;padding:6px 18px;margin:22px 0;background:linear-gradient(90deg,#a0be9520,transparent)}
.lesson-callout small{font-size:10px;letter-spacing:.16em;color:#c4d0b8;font-weight:800}
.lesson-callout p{color:#d9e1d6;line-height:1.65;font-size:12px}
.primary-pill,.secondary-pill{width:100%;padding:17px;border-radius:99px;font-weight:800;font-size:11px;letter-spacing:.12em;cursor:pointer}
.primary-pill{background:#d2dfba;color:#101b13;border:0}.primary-pill:hover{background:#fff}
.secondary-pill{background:transparent;border:1px solid #6f8977;color:#cddbc9}
.finance-report{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#526458;border:1px solid #526458;margin-top:24px}
.finance-report div{background:#132021;padding:18px 15px;display:flex;flex-direction:column;gap:9px}
.finance-report small{font-size:9px;color:#a4bbb0;line-height:1.4}
.finance-report strong{font-size:clamp(18px,2.1vw,25px);font-weight:800;letter-spacing:-.05em}
.final-summary{font-size:12px;line-height:1.8;border-block:1px solid #708673;margin-top:25px;padding:16px 0;color:#e1e8d8}
@media(max-width:900px){.business-options{grid-template-columns:1fr}.biz-option{min-height:0;flex-direction:row;align-items:center;gap:18px}.hud-left{max-width:300px}.business-dialog,.report-dialog{max-height:94svh}}
@media(max-width:650px){.top{padding:0 12px}.brand{font-size:12px}.top-actions{gap:4px}.top-button{font-size:9px;padding:9px 10px}.hud-left{top:8px;left:10px;padding:12px;max-width:min(235px,61vw)}.hud-left h2{font-size:17px}.hud-left p{font-size:10px}.hud-right{right:8px;top:8px}.map{height:90px;width:90px}.map canvas{height:78px;width:78px}.business-health{gap:8px;margin-top:8px;padding-top:9px}.business-health small{font-size:7px}.business-health b{font-size:12px}.stats{gap:7px}.stats b{font-size:12px}.stats small{font-size:7px}.foot-hud{bottom:10px;left:8px;right:8px;padding:8px;gap:4px}.asset-status,.render-metrics{display:none}.business-dialog,.report-dialog{padding:25px 20px}.finance-report{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-report div{padding:12px}.finance-report strong{font-size:18px}.biz-option{padding:14px}.biz-option b{font-size:11px}.biz-option small{font-size:10px}}
@media(prefers-reduced-motion:reduce){.biz-option{transition:none!important}}


/* SOURCE: public/mobile-quality-gate.css */
/* EMPIRE ZERO / mobile gameplay and creator visual QA remediation.
   Keep game actions independently operable while avoiding touch-control overlap. */
.mobile-enter{display:none}
@media(max-width:650px){
 #creator .creator-intro{padding-bottom:16px}
 #creator .creator-panel{padding-bottom:110px}
 #creator .mobile-enter{
  display:flex;align-items:center;justify-content:space-between;
  position:fixed;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));
  width:auto;min-height:54px;z-index:8;padding:12px 19px;border:1px solid #d5b68b;
  border-radius:999px;background:#e0c9a7;color:#151c1f;
  box-shadow:0 8px 24px rgba(0,0,0,.6);font-size:11px;
  font-weight:800;letter-spacing:.11em;cursor:pointer;
 }
 #creator .mobile-enter span{font-size:18px;line-height:1}
 #creator .mobile-enter:focus-visible{outline:2px solid #fff;outline-offset:3px}
 #hud .foot-hud{
  position:absolute;top:108px;bottom:auto;left:auto;right:8px;
  width:128px;max-width:34vw;display:flex;flex-direction:column;
  align-items:stretch;gap:5px;margin:0;padding:0;background:none;
  border:0;border-radius:0;box-shadow:none;
 }
 #hud .foot-hud .origin-tag,#hud .foot-hud .demo-tag,
 #hud .foot-hud .asset-status,#hud .foot-hud .render-metrics,
 #hud .foot-hud .waypoint-distance{display:none!important}
 #hud .foot-hud .camera-mode-label{
  display:block;order:0;max-width:100%;white-space:normal;
  padding:7px 8px;font-size:8px;line-height:1.35;text-align:center;
 }
 #hud .foot-hud .drive-status{
  display:block;order:1;font-size:8px;line-height:1.3;
  white-space:normal;text-align:center;color:#d8dccf;
 }
 #hud .mobile-controls{z-index:2}
 #hud .interact{max-width:86vw}
}
@media(max-width:650px) and (max-height:570px){
 #hud .foot-hud{top:90px;right:7px}
 #creator .mobile-enter{min-height:46px;bottom:8px}
 #creator .creator-panel{padding-bottom:86px}
}
@media(min-width:651px){.mobile-enter{display:none!important}}
@media(prefers-reduced-motion:reduce){#creator .mobile-enter{transition:none!important}}

/* Landscape game layout: preserve readable mission and separate status/controls. */
@media(min-width:651px) and (max-width:960px) and (max-height:570px){
 #creator .mobile-enter{
  display:flex!important;align-items:center;justify-content:space-between;
  position:fixed;right:15px;left:auto;bottom:12px;width:230px;min-height:48px;
  padding:11px 16px;z-index:8;background:#e0c9a7;color:#151c1f;
  border:1px solid #d5b68b;border-radius:999px;font-weight:800;font-size:10px;
  box-shadow:0 8px 25px #0009;
 }
 #creator .creator-panel{padding-bottom:95px}
 #hud .hud-left{
  left:15px;top:7px;max-width:min(300px,40vw);
  max-height:calc(100svh - 92px);overflow:hidden;padding:12px;
 }
 #hud .hud-left h2{font-size:18px;line-height:1.05;margin:7px 0}
 #hud .hud-left p{font-size:10px;margin:7px 0;line-height:1.35}
 #hud .hud-left .stats{margin-top:8px;padding-top:7px;gap:9px}
 #hud .hud-left .stats b{font-size:13px}
 #hud .hud-left .business-health{display:none}
 #hud .hud-left .health-wrap{margin-top:9px}
 #hud .hud-right{right:15px;top:8px}
 #hud .hud-right .map{width:96px;height:96px}
 #hud .hud-right .map canvas{width:84px;height:84px}
 #hud .foot-hud{
  left:auto;right:15px;top:auto;bottom:8px;width:min(420px,calc(100vw - 350px));
  max-width:none;min-height:31px;padding:4px 7px;gap:6px;
  display:flex;flex-direction:row;align-items:center;justify-content:flex-end;
  background:rgba(9,17,22,.82);border-radius:9px;
 }
 #hud .foot-hud .demo-tag,#hud .foot-hud .asset-status,
 #hud .foot-hud .render-metrics,#hud .foot-hud .waypoint-distance{display:none}
 #hud .foot-hud .camera-mode-label{order:0;font-size:8px;white-space:normal;max-width:180px}
 #hud .interact{bottom:56px}
}
@media(min-width:651px) and (max-width:960px) and (max-height:570px) and (pointer:coarse){
 #hud .mobile-controls{
  display:flex;align-items:flex-end;position:absolute;
  bottom:max(8px,env(safe-area-inset-bottom));left:12px;right:12px;
  gap:8px;pointer-events:auto;z-index:4
 }
 #hud .touch-pad{width:86px;height:86px;flex-shrink:0}
 #hud .touch-nub{width:34px;height:34px;top:26px;left:26px}
 #hud .touch-act,#hud .touch-atk{width:48px;height:48px;min-width:48px;font-size:9px}
 #hud .foot-hud{display:none}
 #hud .hud-left{max-height:155px}
 #hud .hud-left .stats{display:none}
 #hud .hud-left .health-wrap{display:none}
}


/* SOURCE: public/workshop-v26.css */
/* MOTORWORKS / art-directed service interaction, separate from developer HUD */
.workshop-overlay{z-index:15!important;display:flex!important;justify-content:flex-end;align-items:stretch!important;background:linear-gradient(90deg,rgba(4,10,13,.16),rgba(4,10,13,.64) 67%)!important;backdrop-filter:blur(3px)!important;padding:0!important}
.workshop-overlay[hidden]{display:none!important}
.workshop-panel{display:flex;flex-direction:column;overflow:auto;width:min(560px,100vw);height:100svh;background:linear-gradient(145deg,#152124 0%,#091115 76%);border-left:1px solid #67716a;box-shadow:-20px 0 90px #000a;color:#eeeae1}
.workshop-top{position:sticky;top:0;z-index:2;background:#101a1dda;backdrop-filter:blur(12px);border-bottom:1px solid #3b4542;display:flex;align-items:center;justify-content:space-between;padding:22px 34px;gap:20px}
.workshop-top .eyebrow{color:#dfc39d;font-size:9px}
.workshop-exit{border:1px solid #63746c;border-radius:999px;background:transparent;color:#e2e4dd;min-height:44px;padding:9px 15px;font-size:10px;font-weight:800;letter-spacing:.08em}
.workshop-exit:hover{background:#e7dec9;color:#101819}
.workshop-body{display:flex;flex-direction:column;gap:19px;padding:29px 34px 38px;flex:1;min-height:min-content}
.workshop-identity small{color:#afada1;font-size:9px;font-weight:800;letter-spacing:.14em}
.workshop-identity h2{font-size:clamp(30px,3vw,51px);line-height:1.01;letter-spacing:-.07em;margin:17px 0}
.workshop-identity p{font-size:13px;line-height:1.75;color:#b5c4bc;margin:0}
.workshop-schematic{position:relative;background:radial-gradient(ellipse at 50% 60%,#39484b,#182428 65%,#0d171a);border:1px solid #5b6760;overflow:hidden;border-radius:10px;min-height:168px;display:grid;place-items:center}
.workshop-schematic:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 31px,#b5c7b013 31px 32px),repeating-linear-gradient(90deg,transparent 0 31px,#b5c7b013 31px 32px)}
.workshop-schematic svg{display:block;max-height:224px;width:min(100%,440px);filter:drop-shadow(0 15px 17px #0007)}
.workshop-schematic-caption{position:absolute;left:16px;bottom:12px;color:#d8c4a6;font-size:9px;font-weight:800;letter-spacing:.12em}
.workshop-progress{border-block:1px solid #455148;padding:13px 0;color:#d7d1ba;font-size:10px;font-weight:800;letter-spacing:.12em;line-height:1.9}
.workshop-spec{color:#cda979;font-weight:800;letter-spacing:.12em;font-size:10px;margin:0}
.workshop-gauge{background:#131f20;padding:19px;border:1px solid #536259;border-radius:10px}
.workshop-gauge[hidden]{display:none}
.workshop-meter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:10px}
.workshop-meter-head label{font-size:10px;color:#adbbb3;font-weight:800;letter-spacing:.11em}
.workshop-meter-head strong{font-size:21px;font-weight:800;color:#e6c596;white-space:nowrap}
.workshop-gauge input{display:block;appearance:none;width:100%;height:6px;border-radius:999px;background:linear-gradient(90deg,#9f4b3b 0%,#aaa270 38%,#a7d2aa 47%,#a7d2aa 55%,#aaa270 65%,#9f4b3b 100%);cursor:pointer;touch-action:none}
.workshop-gauge input::-webkit-slider-thumb{appearance:none;width:22px;height:22px;border-radius:100%;background:#f2e3c8;border:3px solid #142329;box-shadow:0 0 0 2px #e3b77b}
.workshop-scale{display:flex;align-items:center;justify-content:space-between;margin-top:15px;color:#8faaa0;font-size:9px;letter-spacing:.06em}
.workshop-scale span:nth-child(2){color:#dfc39d;font-weight:800}
.workshop-feedback{color:#e9c9a0;font-size:12px;line-height:1.65;min-height:40px;margin:0}
.workshop-foot{border-top:1px solid #43534a;padding-top:21px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto}
.workshop-foot span{font-size:10px;color:#b6c1b8;line-height:1.5;font-weight:800;letter-spacing:.07em}
.workshop-primary{flex:0 0 auto;min-height:50px;padding:14px 23px;background:#ead4ac;color:#1a1b1a;border:0;border-radius:999px;font-weight:800;font-size:11px;letter-spacing:.05em}
.workshop-primary:hover{background:#fff;color:#121919}
@media(max-width:650px){.workshop-top{padding:13px 20px}.workshop-body{padding:20px 20px 32px;gap:14px}.workshop-identity h2{font-size:34px;margin:10px 0}.workshop-schematic{min-height:140px}.workshop-schematic svg{max-height:172px}.workshop-progress{font-size:9px}.workshop-foot{flex-direction:column;align-items:stretch}.workshop-primary{width:100%;min-height:54px}.workshop-panel{width:100vw}.workshop-schematic-caption{font-size:8px}}
@media(prefers-reduced-motion:reduce){.workshop-panel *{scroll-behavior:auto!important;transition:none!important}}