Skip to content
1        10        20        30        40        50        60        70        80        90        100       1101* {2  box-sizing: border-box;3}45html,6body {7  margin: 0;8  height: 100%;9  overflow: hidden;10  background: #000;11  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;12  color: #e8efe6;13  user-select: none;14}1516canvas#game {17  position: fixed;18  inset: 0;19  width: 100vw;20  height: 100vh;21  display: block;22}2324.hidden {25  display: none !important;26}2728#hud {29  position: fixed;30  inset: 0;31  pointer-events: none;32}3334#topLeft {35  position: absolute;36  top: 14px;37  left: 14px;38  background: rgba(0, 0, 0, 0.45);39  padding: 8px 14px;40  border-radius: 8px;41}4243#money {44  font-size: 26px;45  font-weight: 700;46  color: #9fe870;47  font-variant-numeric: tabular-nums;48}4950#res {51  font-size: 13px;52  opacity: 0.85;53  margin-top: 2px;54}5556#goal {57  font-size: 13px;58  opacity: 0.85;59  margin-top: 2px;60  font-variant-numeric: tabular-nums;61}6263#warmth {64  margin-top: 8px;65  font-size: 13px;66  opacity: 0.9;67}6869#warmthBar {70  height: 8px;71  width: 200px;72  margin-top: 4px;73  background: rgba(255, 255, 255, 0.15);74  border-radius: 4px;75  overflow: hidden;76}7778#warmthFill {79  height: 100%;80  width: 100%;81  background: #ffb347;82  transform-origin: left center;83  transform: scaleX(1);84}8586#warmth.low #warmthFill {87  background: #ff5a4a;88}8990/* Frost creeps in from the edges as you get cold. The opacity is set from the game loop. */91#frost {92  position: fixed;93  inset: 0;94  pointer-events: none;95  opacity: 0;96  background: radial-gradient(ellipse at center, rgba(190, 220, 255, 0) 40%, rgba(190, 220, 255, 0.55) 100%);97}9899#fps {100  position: absolute;101  top: 90px;102  left: 14px;103  background: rgba(0, 0, 0, 0.45);104  padding: 4px 10px;105  border-radius: 6px;106  font-size: 13px;107  font-variant-numeric: tabular-nums;108}109110#notices {111  position: absolute;112  top: 14px;113  right: 14px;114  width: 340px;115  display: flex;116  flex-direction: column;117  align-items: flex-end;118  gap: 6px;119}120121.notice {122  --accent: #c8d2c4;123  max-width: 100%;124  background: rgba(0, 0, 0, 0.6);125  padding: 8px 14px 8px 12px;126  border-left: 3px solid var(--accent);127  border-radius: 6px;128  font-size: 14px;129  line-height: 1.35;130  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);131  backdrop-filter: blur(4px);132  animation: fadeIn 0.2s ease-out;133  transition: opacity 0.3s ease, transform 0.3s ease;134}135136.notice.ok {137  --accent: #9fe870;138  color: #9fe870;139}140141.notice.warn {142  --accent: #ffb347;143  color: #ffb347;144}145146.notice.leaving {147  opacity: 0;148  transform: translateX(8px);149}150151@keyframes fadeIn {152  from {153    opacity: 0;154    transform: translateY(-6px);155  }156  to {157    opacity: 1;158    transform: none;159  }160}161162#crosshair {163  position: absolute;164  left: 50%;165  top: 50%;166  width: 22px;167  height: 22px;168  transform: translate(-50%, -50%);169}170171#crosshair::before,172#crosshair::after {173  content: '';174  position: absolute;175  background: rgba(255, 255, 255, 0.85);176  box-shadow: 0 0 2px #000;177}178179#crosshair::before {180  left: 50%;181  top: 0;182  width: 2px;183  height: 8px;184  transform: translateX(-50%);185  box-shadow: 0 14px 0 0 rgba(255, 255, 255, 0.85);186}187188#crosshair::after {189  top: 50%;190  left: 0;191  height: 2px;192  width: 8px;193  transform: translateY(-50%);194  box-shadow: 14px 0 0 0 rgba(255, 255, 255, 0.85);195}196197#hitmarker {198  position: absolute;199  left: 50%;200  top: 50%;201  width: 26px;202  height: 26px;203  transform: translate(-50%, -50%);204  opacity: 0;205}206207#hitmarker::before,208#hitmarker::after {209  content: '';210  position: absolute;211  left: 50%;212  top: 50%;213  width: 3px;214  height: 22px;215  background: #fff;216  transform: translate(-50%, -50%) rotate(45deg);217}218219#hitmarker::after {220  transform: translate(-50%, -50%) rotate(-45deg);221}222223#hitmarker.show {224  opacity: 1;225}226227#hitmarker.show.kill::before,228#hitmarker.show.kill::after {229  background: #ff4d4d;230}231232#kills {233  position: absolute;234  top: 26%;235  left: 50%;236  transform: translateX(-50%);237  font-size: 22px;238  font-weight: 700;239  text-shadow: 0 2px 6px #000;240  opacity: 0;241  transition: opacity 0.3s;242  white-space: nowrap;243  color: #fff;244}245246#kills.show {247  opacity: 1;248}249250#kills.show.head {251  color: #ff6b6b;252  font-size: 28px;253}254255#prompt {256  position: absolute;257  bottom: 110px;258  left: 50%;259  transform: translateX(-50%);260  background: rgba(0, 0, 0, 0.6);261  padding: 8px 16px;262  border-radius: 6px;263  font-size: 16px;264}265266#scope {267  position: fixed;268  inset: 0;269  background: radial-gradient(circle at 50% 50%, transparent 0, transparent 34vmin, rgba(0, 0, 0, 0.98) 34.4vmin);270  pointer-events: none;271}272273#scope::before,274#scope::after {275  content: '';276  position: absolute;277  background: rgba(0, 0, 0, 0.9);278}279280#scope::before {281  left: 0;282  right: 0;283  top: 50%;284  height: 1px;285  transform: translateY(-50%);286}287288#scope::after {289  top: 0;290  bottom: 0;291  left: 50%;292  width: 1px;293  transform: translateX(-50%);294}295296#scope > #scopeZoom {297  position: absolute;298  right: calc(50% - 34vmin + 12px);299  top: calc(50% - 34vmin + 12px);300  font-size: 16px;301  font-weight: 700;302  color: #fff;303  background: rgba(0, 0, 0, 0.5);304  padding: 2px 8px;305  border-radius: 4px;306}307308#bottomLeft {309  position: absolute;310  bottom: 14px;311  left: 14px;312  background: rgba(0, 0, 0, 0.45);313  padding: 10px 14px;314  border-radius: 8px;315  min-width: 260px;316}317318#weaponName {319  font-size: 18px;320  font-weight: 700;321}322323#zoomLabel {324  font-size: 13px;325  opacity: 0.8;326}327328#reloadLabel {329  font-size: 13px;330  color: #ffb347;331  min-height: 16px;332}333334#breath {335  margin-top: 6px;336  height: 6px;337  width: 200px;338  background: rgba(255, 255, 255, 0.15);339  border-radius: 3px;340  overflow: hidden;341}342343#breathFill {344  height: 100%;345  width: 100%;346  background: #7ec8ff;347  transform-origin: left center;348  transform: scaleX(1);349}350351#breathFill.active {352  background: #ffffff;353}354355.hint {356  margin-top: 8px;357  font-size: 11px;358  opacity: 0.6;359}360361#bottomRight {362  position: absolute;363  bottom: 14px;364  right: 14px;365  background: rgba(0, 0, 0, 0.45);366  padding: 8px 16px;367  border-radius: 8px;368  font-size: 40px;369  font-weight: 800;370  font-variant-numeric: tabular-nums;371}372373#reserve {374  font-size: 18px;375  opacity: 0.7;376  margin-left: 6px;377}378379#radar {380  position: absolute;381  top: 14px;382  left: 14px;383  margin-top: 90px;384  border-radius: 50%;385}386387.screen {388  position: fixed;389  inset: 0;390  display: flex;391  align-items: center;392  justify-content: center;393  background: rgba(5, 8, 6, 0.75);394  z-index: 10;395}396397.panel {398  background: #14191a;399  border: 1px solid #2f3b36;400  border-radius: 12px;401  padding: 24px 28px;402  max-width: 760px;403  width: 92vw;404  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);405}406407.panel.center {408  text-align: center;409}410411.panel h1 {412  margin: 0 0 12px;413  letter-spacing: 4px;414  color: #9fe870;415}416417.panel p {418  line-height: 1.5;419  opacity: 0.9;420}421422.panel .small {423  font-size: 13px;424  opacity: 0.7;425}426427.controls {428  list-style: none;429  padding: 0;430  margin: 14px 0;431  text-align: left;432  display: inline-block;433}434435.controls li {436  padding: 4px 0;437  font-size: 14px;438}439440button {441  background: #24302b;442  color: #e8efe6;443  border: 1px solid #3c5148;444  border-radius: 6px;445  padding: 6px 12px;446  font-size: 14px;447  cursor: pointer;448}449450button:hover:not(:disabled) {451  background: #2f4037;452}453454button:disabled {455  opacity: 0.4;456  cursor: not-allowed;457}458459button.big {460  font-size: 20px;461  padding: 10px 40px;462  margin-top: 8px;463  background: #3f6b2d;464  border-color: #5a9a40;465}466467.panel.base {468  max-width: 980px;469  height: 86vh;470  display: flex;471  flex-direction: column;472  pointer-events: auto;473}474475.panel.base header {476  display: flex;477  justify-content: space-between;478  align-items: center;479}480481.panel.base h2 {482  margin: 0;483  color: #9fe870;484}485486#baseTabs {487  display: flex;488  gap: 6px;489  margin: 14px 0;490  flex-wrap: wrap;491}492493#baseTabs button.active {494  background: #3f6b2d;495  border-color: #5a9a40;496}497498#baseBody {499  overflow-y: auto;500  flex: 1;501  padding-right: 6px;502}503504#baseBody h3 {505  margin: 14px 0 6px;506  color: #9fe870;507}508509.bar {510  background: rgba(255, 255, 255, 0.05);511  padding: 6px 10px;512  border-radius: 6px;513  margin-bottom: 10px;514}515516.grid {517  display: grid;518  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));519  gap: 12px;520}521522.card {523  background: #1b2223;524  border: 1px solid #2c3a35;525  border-radius: 8px;526  padding: 12px;527}528529.card h3 {530  margin: 0 0 6px;531  font-size: 17px;532  color: #e8efe6;533}534535.desc {536  font-size: 13px;537  opacity: 0.75;538  margin: 4px 0;539}540541.stats {542  font-size: 12px;543  opacity: 0.7;544  line-height: 1.5;545  margin: 6px 0;546}547548.row {549  margin: 8px 0;550}551552.mod {553  display: flex;554  justify-content: space-between;555  align-items: center;556  gap: 10px;557  padding: 6px 0;558  border-bottom: 1px solid #222d29;559  font-size: 13px;560}561562.mod:last-child {563  border-bottom: none;564}565566.mod > span {567  opacity: 0.9;568}569570.tag {571  font-size: 11px;572  background: #3a3a3a;573  padding: 2px 8px;574  border-radius: 10px;575  margin-left: 6px;576  vertical-align: middle;577  opacity: 0.9;578}579580.tag.ok {581  background: #2e5a24;582}583584.ico {585  width: 16px;586  height: 16px;587  vertical-align: -3px;588  margin-right: 3px;589  flex: none;590  display: inline-block;591}592593.ico-money {594  color: #9fe870;595}596597.ico-scrap {598  color: #c9b27a;599}600601.ico-powder {602  color: #e8c547;603}604605.ico-steel {606  color: #a9bdd1;607}608609.ico-optics {610  color: #7fd6ff;611}612613.ico-ammo {614  color: #d9a24a;615}616617.chip {618  display: inline-flex;619  align-items: center;620  gap: 3px;621  margin-right: 12px;622  font-variant-numeric: tabular-nums;623}624625.chip b {626  font-weight: 600;627}628629.cost {630  display: inline-flex;631  align-items: center;632  gap: 2px;633  margin: 0 2px;634  font-variant-numeric: tabular-nums;635}636637.gain {638  display: inline-flex;639  align-items: center;640  gap: 3px;641  margin-right: 8px;642}643644#kills .flavor {645  font-size: 15px;646  font-weight: 400;647  font-style: italic;648  opacity: 0.85;649  margin-top: 2px;650  text-align: center;651}652653#ammo.low {654  color: #ff6b5a;655  animation: lowAmmo 0.9s ease-in-out infinite alternate;656}657658@keyframes lowAmmo {659  from {660    opacity: 1;661  }662  to {663    opacity: 0.45;664  }665}666667.panel .tip {668  margin-top: 18px;669  font-size: 14px;670  font-style: italic;671  opacity: 0.8;672  min-height: 1.4em;673}674675.panel.settings,676.panel.shop {677  max-width: 640px;678}679680.panel.settings header,681.panel.shop header {682  display: flex;683  justify-content: space-between;684  align-items: center;685}686687.panel.settings h2,688.panel.shop h2 {689  margin: 0;690  color: #9fe870;691}692693.panel.menu {694  max-height: 92vh;695  overflow-y: auto;696}697698.map-card {699  display: flex;700  justify-content: space-between;701  align-items: center;702  gap: 16px;703  text-align: left;704  background: #1b2223;705  border: 1px solid #2c3a35;706  border-radius: 8px;707  padding: 12px;708  margin: 8px 0 16px;709}710711.map-card h3 {712  margin: 0 0 4px;713  color: #e8efe6;714}715716.map-card p {717  margin: 0;718}719720.setting-group {721  margin: 16px 0 4px;722  color: #9fe870;723  font-size: 13px;724  letter-spacing: 2px;725  text-transform: uppercase;726}727728.setting {729  display: flex;730  justify-content: space-between;731  align-items: center;732  gap: 16px;733  padding: 6px 0;734  border-bottom: 1px solid #2f3b36;735  cursor: pointer;736}737738.setting .control {739  display: flex;740  align-items: center;741  gap: 10px;742}743744.setting input[type='range'] {745  width: 200px;746  accent-color: #9fe870;747}748749.setting output {750  width: 56px;751  text-align: right;752  font-variant-numeric: tabular-nums;753}754755.setting input[type='checkbox'] {756  width: 18px;757  height: 18px;758  accent-color: #9fe870;759}760761.setting select {762  background: #24302b;763  color: #e8efe6;764  border: 1px solid #3c5148;765  border-radius: 6px;766  padding: 4px 8px;767  font-size: 14px;768}