/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:700}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}*,*:before,*:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:root{--red: #FF0D00;--orange: #ffa600;--yellow: #ffff00;--purple: #aa00ff;--orangeLight: rgb(255, 225, 171);--blue: rgb(0, 255, 255);--blueLight: rgb(149, 251, 251);--bitColor: rgb(0, 255, 255);--coreColor: #ffa600;--cashColor: #00ff6c;--bgColor: #262834;--bgColorInset: #181921;--tabBGColor: #1a3644;--tabBGHoverColor: #274b5d;--tabBGActiveColor: #102631;--tabBorderColor: #165567;--activeColor: #fff;--inactiveColor: #738286;--tabBGColorFaded: hsl(198, 15%, 18%);--tabBorderColorFaded: hsl(193, 15%, 25%)}.material-symbols-outlined{display:inline-block;font-size:1rem;height:1.25em;height:1em;vertical-align:middle}a{color:var(--orange)}body{background:#222;color:#fff;display:flex;justify-content:center;font-family:Anta,sans-serif;font-weight:400;font-style:normal;margin:0;padding:0}#app_wrapper{margin:0 auto;width:100%}#app{background:#111;display:flex;flex-wrap:wrap;height:100vh;max-height:100vh;margin:0 auto;position:relative;overflow:hidden;overflow-y:auto}@media (max-aspect-ratio: .45),(min-aspect-ratio: .63){#app{aspect-ratio:9/20}}#main{display:flex;flex-flow:column;max-height:100vh;width:100%}#main>div:first-child,#main>section{flex-grow:1}.currency_bits,.token{color:var(--bitColor)}.currency_cores,.orbit{color:var(--coreColor)}.currency_money,.local_atm{color:var(--cashColor)}#canvasWrapper{display:inline-flex;justify-content:center;margin:0 auto;position:relative;width:100%}#canvasWrapper canvas{background:#000;display:block}#canvasWrapper #gameOver{border:4px solid #fff;color:#fff;font-weight:700;padding:.5rem 1rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}button{background:#efefef;color:#000;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;border:0;border-radius:.5rem;overflow:hidden;position:relative;transition:background-color .2s ease,transform .2s ease}button:hover:not(:disabled){background:var(--orangeLight);cursor:pointer}button:active:not(:disabled){background:var(--blueLight);transform:scale(1.02);cursor:pointer}button:disabled{cursor:not-allowed}button.plain{background:none!important}button.dark{background:var(--bgColor);color:#fff}button.dark:hover:not(:disabled){background:var(--tabBGColor)}button.dark:active:not(:disabled){background:var(--tabBGActiveColor)}button.dark:disabled{opacity:.5}button .material-symbols-outlined{height:auto}#wallet{background:var(--tabBGColor);display:flex;justify-content:space-around;font-size:1rem;border:1px solid var(--tabBorderColor);border-radius:.5rem;outline:.15rem solid var(--bgColorInset);padding:.25rem .5rem;position:relative;text-shadow:1px 1px 2px var(--bgColorInset)}#wallet>div{display:flex;align-items:center;height:1.5rem}#wallet .currency_bits,#wallet .currency_cores,#wallet .currency_cash{font-size:1.25rem;margin-right:.1rem;position:relative;text-align:right;bottom:-1px}select{background:#262834;border:1px solid #1a3644;border-radius:.25rem;color:#fff}@keyframes fadePulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.fadePulse{animation:fadePulse 2s infinite}section{display:flex;flex-flow:column;min-width:100%;padding:.5rem}section.full{flex-grow:1}section.full .content_wrapper{height:100%}section .nav{display:flex;column-gap:.1rem;padding-right:.35rem}section .nav button{background:var(--bgColor);border-radius:.4rem;border-bottom-left-radius:0;border-bottom-right-radius:0;color:#738286;display:flex;justify-content:center;align-items:center;flex-grow:1;bottom:-1px;padding:.25rem .5rem;position:relative;transition:.2s ease;z-index:1}section .nav button>span{font-size:1.5rem;margin:.15rem 0}section .nav button.active{background:var(--tabBGColor);border:1px solid var(--tabBorderColor);border-bottom:0;color:#fff;position:relative;z-index:3}section:has(>.nav) .content_wrapper{border-top-left-radius:0}section .content_wrapper{background:var(--tabBGColor);border:1px solid var(--tabBorderColor);border-radius:.5rem;display:flex;flex-flow:column;padding:.5rem;position:relative;z-index:2}section .content_wrapper.faded{background:var(--tabBGColorFaded);border:1px solid var(--tabBorderColorFaded)}section .content{background:#181921;box-shadow:inset 0 0 4px #181921;border-radius:.4rem;flex-grow:1;overflow-y:scroll;scrollbar-color:rgba(0,0,0,0) rgba(68,68,68,0);scrollbar-width:thin}dialog{background:var(--bgColor);color:#fff;border:0;border-top:1.25rem solid var(--bg);border-radius:8px;box-shadow:0 0 8px #00000080;position:absolute;padding:.5rem;transition:height .5s ease,width .5s ease;z-index:1000000}dialog.closing{transition:transform .25s ease;transform:scale(0)}dialog.closing::backdrop{transition:opacity .25s ease}dialog.open{margin:.5rem;min-width:calc(100% - 1rem);max-width:calc(100% - 1rem);min-height:calc(30% - 1rem);max-height:calc(100% - 1rem);height:100vh}dialog.open:before{content:"";display:block;background:rgba(24,25,33,.85);height:100vh;width:100vw;z-index:1;position:absolute;top:-.5rem;right:-.5rem;bottom:-.5rem;left:-.5rem;z-index:-1}dialog.open>div>div{max-height:calc(100vh - 3rem);overflow-y:scroll}dialog::backdrop{background:linear-gradient(135deg,rgba(0,0,0,.95) 0%,rgba(0,0,0,.85) 100%);background:red}dialog #modal_close{background:var(--orange);border-radius:100%;padding:.35rem .5rem;position:absolute;right:0rem;top:0rem;z-index:1000}dialog #modal_close button{background:none;border:0;color:var(--tabBGColor);padding:.1rem .1rem .5rem;font-size:2rem;z-index:10;height:1.5rem;line-height:0rem}dialog section,dialog>div:nth-child(2){background:var(--bgColorInset);border-radius:.5rem;position:unset!important}@media only screen and (max-width: 0px){dialog{margin:1rem;padding:2rem 1rem}dialog.open{min-width:calc(100vw - 2rem);height:calc(100vh - 2rem)}dialog.open .form_controls{left:1rem;right:1rem;bottom:1rem}}#foundry_in_round,#foundry{background:var(--bgColor);min-width:100%;padding:.5rem}#foundry_in_round #upgrades,#foundry #upgrades{border-radius:.5rem;background:var(--bgColorInset);padding:.15rem}#foundry_in_round #upgrades_nav,#foundry #upgrades_nav{display:flex;column-gap:.1rem;padding-right:.35rem}#foundry_in_round #upgrades_nav.upgradesHidden button,#foundry #upgrades_nav.upgradesHidden button{border-radius:.4rem}#foundry_in_round #upgrades_nav button,#foundry #upgrades_nav button{background:var(--bgColor);border-radius:.4rem;border-bottom-left-radius:0;border-bottom-right-radius:0;color:#738286;display:flex;justify-content:center;align-items:center;flex-grow:1;bottom:-1px;padding:.25rem .5rem;position:relative;transition:.2s ease;z-index:1}#foundry_in_round #upgrades_nav button>span,#foundry #upgrades_nav button>span{font-size:1.5rem;margin:.15rem 0}#foundry_in_round #upgrades_nav button.active,#foundry #upgrades_nav button.active{background:var(--tabBGColor);border:1px solid var(--tabBorderColor);border-bottom:0;color:#fff;position:relative;z-index:3}#foundry_in_round #upgrades .foundry,#foundry #upgrades .foundry{background:var(--tabBGColor);border:1px solid var(--tabBorderColor);border-radius:.5rem;border-top-left-radius:0;padding:.5rem;position:relative;z-index:2}#foundry_in_round #upgrades .foundry_inner,#foundry #upgrades .foundry_inner{background:#181921;box-shadow:inset 0 0 4px #181921;border-radius:.4rem;height:164px;overflow-y:scroll;scrollbar-color:rgba(0,0,0,0) rgba(68,68,68,0);scrollbar-width:thin}#foundry_in_round #upgrades .foundry_inner .attribute,#foundry #upgrades .foundry_inner .attribute{background:#262835;border-radius:.33rem;display:flex;align-items:center;justify-content:space-between;margin:.1rem;padding:.5rem;transition:background-color .1s ease}#foundry_in_round #upgrades .foundry_inner .attribute:hover,#foundry #upgrades .foundry_inner .attribute:hover{background:var(--tabBorderColor)}#foundry_in_round #upgrades .foundry_inner .attribute_name,#foundry #upgrades .foundry_inner .attribute_name{display:block;font-weight:700}#foundry_in_round #upgrades .foundry_inner .attribute_level,#foundry #upgrades .foundry_inner .attribute_level{font-size:.9rem}#foundry_in_round #upgrades .foundry_inner .attribute button,#foundry #upgrades .foundry_inner .attribute button{background:#2f744a;text-shadow:1px 1px 2px #1d4e2f;color:#a3ffc7;padding:.5rem;width:100px;transition:.2s ease}#foundry_in_round #upgrades .foundry_inner .attribute button:hover,#foundry #upgrades .foundry_inner .attribute button:hover{background:#3b8959;transform:scale(1.05)}#foundry_in_round #upgrades .foundry_inner .attribute button:active,#foundry #upgrades .foundry_inner .attribute button:active{background:#459965;transform:scale(.95)}#foundry_in_round #upgrades .foundry_inner .attribute button:disabled,#foundry #upgrades .foundry_inner .attribute button:disabled{cursor:not-allowed;filter:grayscale(.7);transform:none}#foundry_in_round #upgrades .foundry_inner .attribute button .attribute_current,#foundry #upgrades .foundry_inner .attribute button .attribute_current{font-weight:700;display:block;min-width:100%}#foundry_in_round #upgrades .foundry_inner .attribute button .attribute_next_cost,#foundry #upgrades .foundry_inner .attribute button .attribute_next_cost{font-size:.8rem}#foundry_in_round #upgrades .foundry_inner .attribute button .currency_money,#foundry #upgrades .foundry_inner .attribute button .currency_money{font-size:.9rem;bottom:.06rem;position:relative}#foundry_in_round #upgrades .foundry_inner .unlock,#foundry #upgrades .foundry_inner .unlock{justify-content:center}#foundry_in_round #upgrades .foundry_inner .unlock button,#foundry #upgrades .foundry_inner .unlock button{margin:.65rem 1rem;width:auto}#foundry_in_round #wallet,#foundry #wallet{margin:.25rem .15rem 0}#foundry_in_round #status,#foundry #status{display:flex;justify-content:space-between;align-items:flex-end;column-gap:.25rem;font-size:1rem;border-radius:.5rem;position:relative;text-shadow:1px 1px 2px var(--bgColorInset);margin:.1rem .25rem 0}#foundry_in_round #status #tier_wave,#foundry #status #tier_wave{min-width:33%}#foundry_in_round #status #tier_wave #tier,#foundry #status #tier_wave #tier{display:flex;align-items:flex-end;flex:wrap;justify-content:space-between}#foundry_in_round #status #tier_wave #mob_info_damage,#foundry_in_round #status #tier_wave #mob_info_hp,#foundry_in_round #status #tier_wave span,#foundry_in_round #status #tier_wave .tier,#foundry #status #tier_wave #mob_info_damage,#foundry #status #tier_wave #mob_info_hp,#foundry #status #tier_wave span,#foundry #status #tier_wave .tier{font-size:.9rem}#foundry_in_round #status #tier_wave #mob_info_damage,#foundry_in_round #status #tier_wave #mob_info_hp,#foundry #status #tier_wave #mob_info_damage,#foundry #status #tier_wave #mob_info_hp{text-align:right;display:flex;align-items:center;justify-content:flex-end}#foundry_in_round #status #wave_time,#foundry #status #wave_time{border-radius:.25rem;display:flex;align-items:center;overflow:hidden;position:relative;height:1rem;background:rgba(255,166,0,.3);height:1.5rem}#foundry_in_round #status #wave_time #wave,#foundry #status #wave_time #wave{position:relative;padding:0 .5rem}#foundry_in_round #status #wave_time #wave_time_amount,#foundry #status #wave_time #wave_time_amount{background:#ffa600;position:absolute;top:0;bottom:0;left:0}#foundry_in_round #status #ship_hp,#foundry_in_round #status #ship_shield,#foundry #status #ship_hp,#foundry #status #ship_shield{background:rgba(255,0,0,.3);border-radius:.25rem;position:relative;height:1.5rem;min-width:33%;overflow:hidden;flex-grow:1}#foundry_in_round #status #ship_hp #ship_hp_bar,#foundry_in_round #status #ship_hp #ship_shield_bar,#foundry_in_round #status #ship_shield #ship_hp_bar,#foundry_in_round #status #ship_shield #ship_shield_bar,#foundry #status #ship_hp #ship_hp_bar,#foundry #status #ship_hp #ship_shield_bar,#foundry #status #ship_shield #ship_hp_bar,#foundry #status #ship_shield #ship_shield_bar{background:red;height:100%;position:absolute;top:0;left:0;transition:width .2s ease}#foundry_in_round #status #ship_hp #ship_hp_amount,#foundry_in_round #status #ship_hp #ship_shield_amount,#foundry_in_round #status #ship_shield #ship_hp_amount,#foundry_in_round #status #ship_shield #ship_shield_amount,#foundry #status #ship_hp #ship_hp_amount,#foundry #status #ship_hp #ship_shield_amount,#foundry #status #ship_shield #ship_hp_amount,#foundry #status #ship_shield #ship_shield_amount{text-shadow:1px 1px 2px rgb(107,0,0);display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;bottom:0;left:0;min-width:100%}#foundry_in_round #status #ship_shield,#foundry #status #ship_shield{background:rgba(0,255,255,.3)}#foundry_in_round #status #ship_shield #ship_shield_bar,#foundry #status #ship_shield #ship_shield_bar{background:#00ffff}#foundry_in_round #status #ship_shield .recharging,#foundry #status #ship_shield .recharging{font-size:.6rem}#foundry_in_round #multipliers,#foundry #multipliers{position:relative}nav#foundryInRoundNav{display:flex;flex-wrap:wrap;justify-content:flex-end;column-gap:.25rem;row-gap:.25rem;position:absolute;top:.5rem;right:.5rem;height:1.5rem;width:2rem}nav#foundryInRoundNav button{display:none;padding:.25rem;height:2rem;width:2rem}nav#foundryInRoundNav button:nth-child(2){display:inline-block}nav#foundryInRoundNav.open{width:4.25rem}nav#foundryInRoundNav.open button{display:inline-block}nav#foundryInRoundNav.open button#endRun{font-size:.9rem;height:1.5rem;min-width:100%}#foundry{background:none;display:flex;flex-flow:column;overflow:hidden}#foundry #upgrades{display:flex;flex-flow:column;flex-grow:1;padding:0}#foundry #upgrades .foundry{display:flex;flex-flow:column;flex-grow:1}#foundry #upgrades .foundry_inner{flex-grow:1}#research{padding:.25rem;position:relative;width:100%;max-height:100%;overflow-y:scroll;scrollbar-color:rgba(0,0,0,0) rgba(68,68,68,0);scrollbar-width:thin}#research table{min-width:100%}#research table td{text-align:center}#research_picker .ressearch_station_name{color:#a8bbc0;padding:.35rem .35rem .5rem;font-weight:700}#research_picker #search{margin-bottom:.25rem;width:100%}#research_picker .research_category{display:flex;flex-wrap:wrap;column-gap:.25rem;row-gap:.25rem}#research_picker .research_category+.research_category{margin-top:.5rem}#research_picker .research_category_header{font-size:1.2rem;font-weight:700;min-width:100%;padding:.35rem;text-align:center}#research_picker .research{display:flex;flex-wrap:wrap;align-content:space-between;justify-content:center;text-align:center;height:120px}#research_picker .research_name{color:#fff;font-weight:700}#research_picker .research_time,#research_picker .research_cost,#research_picker .research_levels{display:flex;color:#a8bbc0;align-items:center;justify-content:center;min-width:100%}#research_picker button{background:var(--tabBGColor);color:#fff;flex-grow:1;flex-basis:50%;max-width:calc(50% - .125rem);padding:.5rem;position:relative}#research_picker button:hover{background:var(--tabBGHoverColor)}#research_picker button:active{background:var(--tabBGActiveColor)}#research_picker button:disabled{background:var(--bgColor);color:#738286}#research_picker button.isResearching:after{display:flex;align-items:center;color:#fff;content:"Currently Researching...";font-style:italic;background:var(--bgColor);opacity:.82;position:absolute;top:0;right:0;bottom:0;left:0;text-shadow:0 0 4px #000}#research_slots{border-radius:.5rem;background:var(--bgColorInset);padding:.15rem}#research_slots .research_slot{background:var(--tabBGColor);border:1px solid var(--tabBorderColor);border-radius:.5rem;padding:.5rem;position:relative;z-index:2}#research_slots .research_slot+.research_slot{margin-top:.5rem}#research_slots .research_slot.isLocked{cursor:not-allowed;filter:grayscale(.85);text-align:center}#research_slots .research_slot.isLocked .repeat,#research_slots .research_slot.isLocked .repeat_on{display:none}#research_slots .research_slot.isLocked .research_details{justify-content:center}#research_slots .research_slot.isLocked .lock{text-align:center;display:block;font-size:2.4rem;line-height:3rem;height:auto}#research_slots .research_slot .research_slot_header{background:var(--tabBGColor);color:#a8bbc0;padding:0 0 .35rem;font-weight:700}#research_slots .research_slot .research_details{background:#181921;box-shadow:inset 0 0 4px #181921;border-radius:.4rem;display:flex;align-items:center;justify-content:space-between;height:6rem;padding:.5rem}#research_slots .research_slot .research_details>*{flex-grow:1}#research_slots .research_slot .research_details .researching_name{font-weight:700}#research_slots .research_slot .research_details .researching_from_to,#research_slots .research_slot .research_details .research_remaining_time{color:#a8bbc0}#research_slots .research_slot .research_details .researching_options{display:flex;flex-flow:column;flex-wrap:wrap;justify-content:center;align-items:center;max-width:100px}#research_slots .research_slot .research_details .researching_options button+button{margin-top:.5rem}#research_slots .research_slot .research_details .assign{background:#2f744a;text-shadow:1px 1px 2px #1d4e2f;color:#a3ffc7;padding:.5rem;max-width:3rem;transition:.2s ease;font-size:3rem}#research_slots .research_slot .research_details .assign:hover{background:#3b8959;transform:scale(1.05)}#research_slots .research_slot .research_details .assign:active{background:#459965;transform:scale(.95)}#research_slots .research_slot .research_details .assign .assignment_add{font-size:1.5rem;height:auto}#research_slots .research_slot .research_details .reassign{background:#2f744a;text-shadow:1px 1px 2px #1d4e2f;color:#a3ffc7;padding:.5rem;max-width:3rem;transition:.2s ease;font-size:3rem}#research_slots .research_slot .research_details .reassign:hover{background:#3b8959;transform:scale(1.05)}#research_slots .research_slot .research_details .reassign:active{background:#459965;transform:scale(.95)}#research_slots .research_slot .research_details .reassign .swap_horiz{font-size:1.5rem;height:auto;transform:scaleX(-1)}#research_slots .research_slot .research_details .rush{max-width:5rem}#research_slots .research_slot .research_details.no_research{color:var(--orange);text-align:center}#research_slots .research_slot .research_details.no_research .warning{display:block;font-size:2.4rem;line-height:2.6rem;height:auto}.research_slots2{border:1px solid var(--orange);border-radius:.5rem;height:8rem;overflow:hidden;width:100%}.research_slots2 .warning,.research_slots2 .lock{display:block;color:var(--orange);font-size:2rem;line-height:1rem;margin:0 0 1rem;text-align:center}.research_slots2 .lock{color:#888}.research_slots2.isResearching{background:var(--bgColor);border:1px solid var(--tabBorderColor)}.research_slots2.isResearching .research_slot_header{background:var(--tabBGColor)}.research_slots2.isLocked{border:1px solid #888}.research_slots2.isLocked .research_slot_header{background:#888}.research_slots2.isLocked .researching{width:100%;text-align:center}.research_slots2+.research_slots{margin:.25rem 0 0}.research_slots2 .research_slot_header{background:var(--orange);color:#fff;font-weight:900;padding:.25rem .5rem;height:1.75rem}.research_slots2 .research_details{color:#a8bbc0;display:flex;align-items:center;justify-content:space-between;padding:.5rem;height:calc(100% - 1.75rem)}.research_slots2 .researching_from_to{display:flex;align-items:center;padding:.5rem 0}.research_slots2 .researching_name{color:#fff;font-weight:600}input[type=text],input[type=password],input[type=email],input[type=number]{background:#262834;border:1px solid #1a3644;border-radius:.25rem;color:#fff;padding:.25rem .5rem}input[type=text]::placeholder,input[type=password]::placeholder,input[type=email]::placeholder,input[type=number]::placeholder{color:#a8bbc0}
