/* PC game front end: full-screen states, a fixed navigation rail, and physical controls. */
#menu,#deployment,#pause,#modal,#result{isolation:isolate}
#menu .menu-top{height:78px;border:0;justify-content:flex-start}.menu-top .small-brand{font-size:13px;letter-spacing:1px;color:#bac6a4}
#menu .menu-content{margin:52px 0 0 110px;width:640px}#menu .title-kicker{font-size:12px;margin-left:7px}#menu h1{font-size:128px;margin:10px 0 14px}#menu .menu-description{font-size:15px;margin:3px 0 27px;color:#bac6aa;line-height:1.9}
.main-actions{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:380px;margin-top:30px}.main-actions>button,.main-actions>#continue-button{position:relative;display:block;width:100%;min-height:55px;margin:0;padding:10px 20px 10px 29px;text-align:left;border:0;border-left:3px solid transparent;background:transparent;box-shadow:none;font-size:23px;font-weight:600;letter-spacing:-.4px;color:#c3cbb4;transition:color .15s,background .15s}.main-actions>button:hover,.main-actions>button:focus-visible{color:#f4d69b;background:linear-gradient(90deg,#a88e3f30,transparent);border-left-color:#d6b46b;outline:none;transform:none}.main-actions>button:first-child{color:#eac58a}.main-actions button>small{display:block;font-size:10px;font-weight:normal;color:#80956d;margin-top:4px}.main-actions>#continue-button>span{float:right;color:#b3c38f}.main-actions>#continue-button[hidden]{display:none!important}#menu-note{display:none}
#menu .menu-threat{right:85px;bottom:150px}#menu .menu-footer{font-size:11px;border-top:1px solid #8d9d6826}.menu-boss{right:-55px;top:60px;width:900px;height:800px}.menu-footer a{color:#d7d9bf;text-decoration:none}
#deployment,#pause,#modal,#result{position:absolute;inset:auto;left:50%;top:50%;width:1600px;height:900px;transform:translate(-50%,-50%) scale(var(--interface-scale));transform-origin:center;overflow:hidden;padding:0;backdrop-filter:none}
#deployment{z-index:25;background:#0b1409}.deployment-scenery{position:absolute;inset:0;background:var(--operation-map,url('assets/world-ground.webp')) center/cover;filter:brightness(.32) saturate(.55)}.deployment-shade{position:absolute;inset:0;background:linear-gradient(90deg,#0d170bf5 0,#0e1b0eaa 30%,#101b0d88 70%,#0d180bee),linear-gradient(0deg,#0b1508,transparent 35%)}
.native-topline{position:absolute;left:55px;right:55px;top:0;height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #adbb784a;z-index:2}.native-screen-name{display:flex;align-items:center;gap:17px;color:#d6d8bd;font-size:21px;font-weight:bold;letter-spacing:1px}.native-insignia{width:45px;height:45px;background:url('assets/command-icons.webp') 66.666% 100%/400% 400%;box-shadow:0 0 0 2px #777c4b99}.native-back{border:0;background:transparent;color:#b6c4a0;font-size:14px;padding:12px 18px;display:flex;gap:18px;align-items:center}.native-back>span{border:1px solid #6c7d4b;padding:4px 8px;font:11px Consolas,monospace;color:#bfcba8}.native-back:hover{background:#5a6f3333}
.deployment-region{position:absolute;left:70px;top:157px;width:330px}.native-label{font-size:12px;color:#a8b88e;letter-spacing:1px;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid #647447}.deployment-region #map-options{width:330px;flex-direction:column;gap:17px}.deployment-region .map-option{width:330px;height:125px;background:#1a2b13;border:2px solid #4f6539;box-shadow:0 0 0 1px #0c1706}.deployment-region .map-option .map-image{background-position:center 50%;filter:brightness(.55) saturate(.7)}.deployment-region .map-option.active{border-color:#d4b06a;box-shadow:0 0 0 1px #e1b87255}.deployment-region .map-option b{font-size:20px;left:20px;bottom:17px}.deployment-region .map-option .map-number{left:20px;top:15px;font-size:11px}.deployment-region .map-option .check{top:14px;right:19px;font-size:20px}
.deployment-intel{position:absolute;left:455px;right:300px;top:157px}.deployment-intel .native-label{margin-bottom:15px}.tactical-preview{height:421px;position:relative;border:3px solid #687947;background:var(--operation-map,url('assets/world-ground.webp')) center/cover;box-shadow:0 0 0 3px #111e0b,0 8px 35px #0008;overflow:hidden}.tactical-preview:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 40px #000b;pointer-events:none}.preview-objective{position:absolute;bottom:19px;left:23px;border-left:3px solid #c9d88b;background:#15240be0;color:#e2e8ce;padding:10px 13px;font-size:12px}.preview-boss{position:absolute;right:34px;top:25px;width:91px;height:91px;object-fit:contain;filter:drop-shadow(0 2px 9px #000)}.deployment-intel h2{font-size:34px;color:#eddfba;margin:25px 0 9px;letter-spacing:-1px}.deployment-intel p{color:#acbd98;font-size:14px;line-height:1.9;margin:0}.deployment-facts{display:flex;gap:29px;color:#d1d9b4;font-size:12px;margin-top:21px}.deployment-facts>span{border-left:2px solid #748c4b;padding-left:12px}
.deployment-difficulty{position:absolute;right:55px;top:157px;width:215px}.deployment-difficulty #difficulty-options{width:100%;display:flex;flex-direction:column;gap:8px}.deployment-difficulty #difficulty-options button{position:relative;font-size:16px;min-height:49px;text-align:left;padding:12px 20px;background:linear-gradient(90deg,#273e1a77,#15280f44);border:1px solid #536d36;color:#c8d4b5}.deployment-difficulty #difficulty-options button.active{border-color:#c9a65d;color:#f2d6a0;background:linear-gradient(90deg,#77602a66,#2e3518aa)}.deployment-difficulty #difficulty-options button.active:after{content:'';position:absolute;width:4px;height:20px;right:16px;top:13px;background:#d1ad61;box-shadow:0 0 8px #c8ab6533}.deployment-difficulty #difficulty-description{color:#b4c5a1;font-size:12px;line-height:1.8;text-align:left;display:block;margin:21px 0 0;min-height:65px}
.deployment-bottom{position:absolute;left:70px;right:55px;bottom:49px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #a7bb7450;padding-top:28px}.deployment-bottom>p{font-size:12px;color:#94ac77;line-height:1.8}.deployment-bottom #start-button{flex:0 0 310px;width:310px;font-size:23px;text-align:center;padding:17px 25px;background:linear-gradient(#948348,#74632f);border:2px solid #c7ba7b;box-shadow:inset 0 1px #e7d79866,0 0 0 2px #151e0c;color:#f5eacd;text-shadow:0 2px 3px #342b17}.deployment-bottom #start-button>span{display:none}.deployment-bottom #start-button:hover{background:linear-gradient(#b49c57,#8b7336)}
#pause,#modal,#result{background:#07100680;z-index:40}#pause:before,#modal:before,#result:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0c1909f5,#0d1b09d9 35%,#0a1609a8 72%,#091407da);pointer-events:none}#modal{background:#0c1708eb}#modal:before{background:linear-gradient(90deg,#15250dd9,#1b2b1288),url('assets/console.webp') center/cover;opacity:.76}
#modal>.dialog{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;box-shadow:none;background:transparent;overflow:hidden;padding:0}#modal-close{position:absolute;right:55px;top:28px;width:150px;height:46px;font-size:14px;color:#c5d2b0;text-align:right;padding:10px 15px;z-index:5;border:1px solid #5f764044;background:#24391655}.system-shell{position:absolute;inset:0}.system-header{height:100px;margin:0 55px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #a9bb7a4d}.system-header>span:last-child{font-size:21px;color:#e0e2c8;font-weight:bold;letter-spacing:1px}.system-nav{position:absolute;left:55px;top:154px;width:240px;bottom:91px;border-right:1px solid #758e4d66;padding-right:25px;display:flex;flex-direction:column;gap:11px}.system-nav>button{padding:17px 15px;min-height:61px;text-align:left;font-size:19px;font-weight:600;color:#b7c6a3;border:0;border-left:3px solid transparent;background:transparent}.system-nav>button.active{color:#f1d7a1;border-left-color:#d5b16b;background:linear-gradient(90deg,#95803e33,transparent)}.system-nav>button:hover{color:#f1d7a1;background:linear-gradient(90deg,#8b93422b,transparent)}.system-nav .nav-note{margin-top:auto;color:#7d9863;font-size:11px;line-height:1.9;padding:0 10px}.system-page{position:absolute;left:345px;right:75px;top:145px;bottom:84px;overflow:auto;scrollbar-width:thin;scrollbar-color:#697c44 #16290e;padding-right:22px}.system-page h2{font-size:34px;margin:5px 0 24px;letter-spacing:-1px;color:#e4e7cc}.system-page .eyebrow{display:none}.system-page>.subtitle{font-size:13px;line-height:1.8;margin-bottom:26px;color:#aabe95}.system-footer{position:absolute;left:55px;right:55px;bottom:31px;display:flex;justify-content:space-between;border-top:1px solid #6a82454d;padding-top:17px;font-size:11px;color:#8ca576}.system-footer kbd{font-family:Consolas,monospace;border:1px solid #758f4c;padding:3px 7px;color:#bdcda6;margin-right:8px}
.system-page .setting-row{min-height:83px;padding:20px 17px 20px 3px;border-bottom:1px solid #7589544d;font-size:18px}.system-page .setting-row>span{color:#d4dfc4}.game-toggle{display:flex;gap:3px;padding:4px;background:#101e08;border:1px solid #5c743a;box-shadow:inset 0 1px 5px #000a}.game-toggle button{border:0;min-width:95px;padding:10px 18px;font-size:14px;background:transparent;color:#7c9567}.game-toggle button.active{color:#eed7a0;background:linear-gradient(#526036,#344721);box-shadow:inset 0 1px #81945488,0 1px 4px #0007}.volume-control{display:flex;align-items:center;gap:25px}.volume-control output{width:50px;font:18px Consolas,monospace;color:#d8c285}.volume-control input{width:270px!important;appearance:none;-webkit-appearance:none;background:transparent;height:26px}.volume-control input::-webkit-slider-runnable-track{height:7px;border:1px solid #61773d;background:#12220b;box-shadow:inset 0 2px 3px #000b}.volume-control input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;margin-top:-9px;height:23px;width:13px;border:1px solid #ccbb7b;background:linear-gradient(90deg,#918043,#b7a466,#77652f);box-shadow:0 2px 4px #000a}.setting-note{margin-top:30px!important;font-size:12px!important;color:#8da477!important}
.system-page .meta-currency{position:absolute;right:28px;top:2px;font-size:14px;color:#acbd94;display:flex;align-items:center;gap:15px}.meta-currency>b{font:30px Consolas,monospace;color:#e2c080}.system-page .meta-grid{display:flex;flex-direction:column;gap:0;border-top:1px solid #8b9e5e66;margin-top:29px}.system-page .meta-card{position:relative;display:grid;grid-template-columns:190px 1fr 155px 172px;align-items:center;gap:20px;padding:21px 8px 21px 88px;min-height:99px;background:transparent;border:0;border-bottom:1px solid #75895055;box-shadow:none}.system-page .meta-card:before{content:'';position:absolute;width:61px;height:61px;left:3px;top:18px;border:2px solid #7c8f50;background-image:url('assets/command-icons.webp');background-size:400% 400%;box-shadow:0 0 0 2px #101d08}.system-page .meta-card:nth-child(1):before{background-position:66.666% 0}.system-page .meta-card:nth-child(2):before{background-position:33.333% 0}.system-page .meta-card:nth-child(3):before{background-position:0 0}.system-page .meta-card:nth-child(4):before{background-position:33.333% 66.666%}.system-page .meta-card:nth-child(5):before{background-position:0 33.333%}.system-page .meta-card h3{font-size:18px;margin:0;color:#e5e8d1}.system-page .meta-card p{font-size:13px;margin:0;color:#acc399}.system-page .meta-card .meta-steps{font-size:22px;letter-spacing:3px;white-space:nowrap;color:#d0b77c}.system-page .meta-card button{float:none;min-height:42px;font-size:13px;padding:10px 13px;white-space:nowrap;background:linear-gradient(#52653a,#344922);border:1px solid #98a965;color:#e2dab8;box-shadow:inset 0 1px #bac48b33}.system-page .meta-card button:disabled{opacity:.36}
.system-page .ranking-table{font-size:15px;margin-top:32px}.system-page .ranking-table th{font-size:13px;padding:14px 12px;background:#394d213d;color:#adb993;border-bottom:2px solid #81954f}.system-page .ranking-table td{padding:15px 12px;border-bottom:1px solid #647f3c55;color:#d1dfbf}.system-page .ranking-table td:nth-child(3){color:#e3c083;font-size:21px}.system-page .ranking-table .mine{background:#81914922}.system-page .empty-state{padding:70px 0;font-size:16px;color:#9db585}.system-page .help-grid{grid-template-columns:1fr 1.1fr;gap:55px}.system-page .help-grid h3{font-size:17px;color:#d7d7b3;margin:20px 0 15px;border-bottom:1px solid #74895066;padding-bottom:10px}.system-page .help-row{font-size:13px;padding:9px 0;border-bottom:1px solid #4d6a303d}.system-page .help-row kbd{font-size:13px;color:#d7c590}.system-page .help-grid p{font-size:13px;line-height:1.9;color:#acbf95}.system-page .counter-table{font-size:12px}.system-page .counter-table td,.system-page .counter-table th{padding:11px 5px;border-color:#66804055}
.pause-sheet{position:absolute;inset:0}.pause-menu{position:absolute;left:140px;top:215px;width:390px}.pause-menu .eyebrow{font-size:13px;color:#a5bb8b}.pause-menu h2{font-size:65px;letter-spacing:-3px;margin:13px 0 40px;color:#e4e8d1}.pause-menu button{display:block;width:100%;padding:15px 22px;margin:3px 0 0;min-height:57px;text-align:left;font-size:22px;font-weight:500;border:0;border-left:3px solid transparent;background:none;color:#b9c9a3;box-shadow:none}.pause-menu button:first-of-type{color:#e6ce91}.pause-menu button:hover,.pause-menu button:focus-visible{background:linear-gradient(90deg,#78883c33,transparent);border-left-color:#cdb16a;outline:0;color:#f1dda9}.pause-art{position:absolute;left:730px;top:200px;width:570px;height:500px;opacity:.8;filter:drop-shadow(0 20px 30px #0009)}.pause-art .sprite-icon{width:100%;height:100%;background-image:url('assets/buildings.webp');background-size:400% 200%;background-position:0 0}.pause-state{position:absolute;left:820px;top:720px;right:160px;border-top:1px solid #8d9c5b66;padding-top:20px;display:flex;justify-content:space-between;color:#b2c395;font-size:13px}.pause-state strong{color:#e2d0a1}.pause-sheet .native-topline{height:100px}.pause-sheet .native-topline small{color:#9ab482;font-size:12px}
#result>.result-dialog{position:absolute;inset:0;width:100%;height:100%;max-height:none;max-width:none;padding:0;border:0;box-shadow:none;background:transparent;text-align:left;overflow:hidden}.result-body{position:absolute;left:135px;top:190px;width:770px}.result-body>#result-kicker{font-size:14px;color:#b5c894}.result-body>#result-title{font-size:72px;letter-spacing:-4px;margin:20px 0 15px;color:#e7e4ca}.result-body>#result-copy{font-size:16px;margin:0;color:#a8be94;max-width:620px;line-height:1.8}.result-body>#result-stats{width:770px;display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:30px;padding:35px 0;border:0;border-top:2px solid #819653;border-bottom:1px solid #819653;margin:35px 0 25px}.result-body>#result-stats span{font-size:14px;color:#acbd90}.result-body>#result-stats b{font:45px Consolas,monospace;color:#e7ca91}.result-body .result-reward{width:650px;justify-content:flex-start;gap:24px;font-size:16px}.result-body .result-reward:before{content:'';width:60px;height:60px;display:block;background:url('assets/command-icons.webp') 66.666% 100%/400% 400%}.result-body .result-reward strong{font:32px Consolas,monospace}.result-body #result-save{font-size:12px;color:#8fa875;margin-top:22px}.result-actions{position:absolute;bottom:71px;left:135px;display:flex;gap:25px;width:770px}.result-actions button{margin:0;width:300px;padding:16px 22px;border:1px solid #8e9c5e;background:linear-gradient(#4d6032,#2f4520);color:#e7dfba;box-shadow:inset 0 1px #acb97844;font-size:17px}.result-actions button:first-child{background:linear-gradient(#99864a,#73622e);border-color:#c1ad71}.result-art{position:absolute;right:35px;top:175px;width:650px;height:610px;object-fit:contain;opacity:.35;filter:grayscale(.6) brightness(.7)}.result-heading{position:absolute;top:0;left:55px;right:55px;height:100px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #81965355;color:#cbd7b8;font-size:20px;font-weight:bold}

.deployment-intel>.native-label{font-size:12px;line-height:15px;margin:0 0 20px;padding-bottom:12px;letter-spacing:1px}.tactical-preview{height:385px}

#floating-tooltip{border:2px solid #89975e;box-shadow:0 0 0 2px #0c1908,0 6px 15px #000b;background:linear-gradient(#223616dd,#101e09ee),url('assets/console.webp') center/cover;color:#c2d0ab;padding:16px 18px;font-size:12px;max-width:310px}#floating-tooltip b{color:#ecd09a;font-size:16px;border-bottom:1px solid #8d9c5755;padding-bottom:7px;margin-bottom:8px}#toast{background:linear-gradient(#3c5029eb,#1b2d10f5),url('assets/console.webp') center/cover;border:2px solid #9ba564;box-shadow:0 0 0 2px #101d09,0 5px 20px #0008;border-radius:0;color:#e9ddb4}

#menu .menu-top .menu-coupon{margin-left:auto;margin-right:24px;padding:10px 21px;border:1px solid #7c8d4d88;background:linear-gradient(#344724bb,#182b10cc);box-shadow:inset 0 1px #acb97833;color:#ded4ad;font-size:14px;letter-spacing:0}
#menu .menu-top .menu-coupon:hover{border-color:#c8af6c;color:#f0d9a1}
.coupon-console{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:45px;padding-top:32px;margin-top:31px;border-top:2px solid #819653}
.coupon-form>label{display:block;font-size:16px;color:#d6dfbf;margin-bottom:15px}
.coupon-entry{display:flex;gap:12px}
.coupon-entry input{min-width:0;flex:1;height:60px;border:2px solid #788c4d;background:#0b1709d9;box-shadow:inset 0 3px 9px #0009;color:#eee0af;font:23px Consolas,'Malgun Gothic',monospace;letter-spacing:1.5px;padding:14px 17px;border-radius:0;text-transform:uppercase}
.coupon-entry input::placeholder{font:14px 'Malgun Gothic',sans-serif;letter-spacing:0;text-transform:none;color:#82966a}
.coupon-entry input:focus{outline:1px solid #e2c17c;outline-offset:3px;border-color:#c0a96b}
.coupon-entry button{flex:0 0 145px;border:2px solid #b7a66d;background:linear-gradient(#8b7b44,#5d542b);box-shadow:inset 0 1px #e5d29666;color:#f3e3b7;font-size:17px;font-weight:bold}
.coupon-entry button:disabled{opacity:.5;cursor:wait}
#coupon-help{font-size:12px;color:#98af81;line-height:1.9;margin:17px 0}
.coupon-message{display:flex;align-items:center;min-height:71px;padding:17px 19px;border-left:3px solid #6c8444;background:#19300f77;color:#b6c89e;font-size:14px;line-height:1.8}
.coupon-message.success{border-color:#d5b36c;color:#f0d69c;background:#7a6a2c22}
.coupon-message.error{border-color:#bd7960;color:#e7b39b;background:#6a352122}
.coupon-history{margin-top:37px}.coupon-history h3{font-size:15px;color:#d4ddbd;padding-bottom:14px;border-bottom:1px solid #71884b77;margin:0}
.coupon-history>p{font-size:13px;color:#8ba375;padding:17px 0}.coupon-history ul{list-style:none;margin:0;padding:0}.coupon-history li{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;border-bottom:1px solid #647b3f55;font-size:14px;color:#c9d6b3}.coupon-history small{display:block;margin-top:8px;font:12px Consolas,monospace;color:#8da474;letter-spacing:1px}.coupon-history li>b{font:18px Consolas,'Malgun Gothic',sans-serif;color:#e0c17f;white-space:nowrap}
.coupon-supply{padding:21px 25px 26px;text-align:center;border:1px solid #81924e77;background:linear-gradient(#6b774422,#111f0b99);box-shadow:inset 0 1px #94a36322;align-self:start}.coupon-medal{display:block;width:110px;height:110px;margin:0 auto 18px;background:url('assets/command-icons.webp') 66.666% 100%/400% 400%;filter:drop-shadow(0 5px 9px #0009)}.coupon-supply>span:not(.coupon-medal){display:block;font-size:12px;color:#acbc8c}.coupon-supply>strong{display:block;font-size:18px;color:#ded5ab;margin:16px 0}.coupon-supply strong>b{font:43px Consolas,monospace;color:#e9c582;padding:0 5px}.coupon-supply p{font-size:12px;color:#a7ba8d;line-height:1.9;margin:22px 0}.coupon-supply button{width:100%;padding:13px 10px;border:1px solid #8a9d58;background:linear-gradient(#45582b,#2a411a);color:#dce0b8;font-size:13px}.coupon-supply button>span{float:right;color:#d9c18a}

#deployment-terrain{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#17200f}#deployment .preview-boss{display:none}
