@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  --cream: #f4eddc;
  --dim: #b9bcaa;
  --lime: #d9e798;
  --ink: #17231d;
  --line: #e8ebce24;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #26372e;
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
  border: 0;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  touch-action: manipulation;
}
button:hover {
  filter: brightness(1.12);
}
[hidden] {
  display: none !important;
}
#world {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  display: block;
}
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px #17201833;
}
.camp {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    90deg,
    #10221bcf 0%,
    #16251d40 53%,
    #172219b0 100%
  );
  overflow-y: auto;
}
.camp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 4%;
  height: 92px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 3px;
}
.brand span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #d8dfcf;
  margin-left: 14px;
}
.edition {
  font: 11px monospace;
  letter-spacing: 2px;
}
.camp-content {
  max-width: 1500px;
  margin: auto;
  padding: 48px 6% 40px;
  min-height: calc(100dvh - 180px);
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 9%;
  align-items: center;
}
.eyebrow {
  font: 10px monospace;
  letter-spacing: 2.5px;
  color: var(--lime);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
}
h1 {
  font:
    800 clamp(80px, 10vw, 158px)/0.8 "Barlow Condensed",
    Impact,
    sans-serif;
  letter-spacing: -2px;
  margin: 34px 0 25px;
  text-shadow: 0 5px 35px #12241933;
}
h1 span {
  display: block;
}
h1 b {
  color: var(--lime);
  position: absolute;
  transform: translate(2.2em, -0.84em);
  font-weight: inherit;
}
.tagline {
  font-size: clamp(17px, 1.7vw, 25px);
  font-weight: 500;
  margin: 0 0 20px;
}
.intro-copy {
  font-size: 13px;
  line-height: 1.9;
  color: #d9dece;
}
.reserve-info {
  display: flex;
  gap: 28px;
  margin-top: 38px;
}
.reserve-info span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 9px monospace;
  letter-spacing: 1px;
  color: #d2d7c6;
}
.reserve-info b {
  font:
    500 25px "Barlow Condensed",
    sans-serif;
  color: var(--cream);
}
.loadout {
  padding: 25px;
  background: #15231ded;
  backdrop-filter: blur(18px);
  border: 1px solid #e6ecd029;
  border-radius: 3px;
  box-shadow: 0 15px 60px #10201740;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 10px monospace;
  letter-spacing: 1.2px;
  margin-bottom: 19px;
}
.small-label {
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 0;
}
.weapon-choice {
  display: grid;
  grid-template-columns: 80px 1fr 18px;
  align-items: center;
  text-align: left;
  padding: 12px 13px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  margin-top: 7px;
  min-height: 62px;
  border-radius: 2px;
  transition: background 0.15s;
}
.weapon-choice[aria-pressed="true"] {
  background: #d9e79814;
  border-color: var(--lime);
}
.weapon-choice svg {
  width: 66px;
  height: 34px;
  fill: #d0d2ba;
}
.weapon-choice[aria-pressed="true"] svg {
  fill: var(--lime);
}
.weapon-choice strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
}
.weapon-choice small {
  font: 8px monospace;
  letter-spacing: 1px;
  color: var(--dim);
  display: block;
  margin-top: 6px;
}
.weapon-choice .radio {
  width: 11px;
  height: 11px;
  border: 1px solid #cbd6b558;
  border-radius: 50%;
}
.weapon-choice[aria-pressed="true"] .radio {
  border: 3px solid #35492c;
  background: var(--lime);
  box-shadow: 0 0 0 1px var(--lime);
}
.weapon-detail {
  height: 90px;
  padding: 10px 0;
}
.weapon-detail p {
  font-size: 10px;
  color: var(--dim);
  line-height: 1.6;
  margin: 6px 0 11px;
}
.weapon-detail > div {
  display: flex;
  gap: 17px;
  font: 8px monospace;
  color: var(--lime);
  letter-spacing: 0.5px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--lime);
  color: #1d2b20;
  width: 100%;
  padding: 18px 21px;
  font-size: 13px;
  font-weight: 700;
  min-height: 52px;
  border-radius: 2px;
}
.primary > span:last-child {
  font-size: 20px;
}
.play-note {
  font: 8px monospace;
  letter-spacing: 1.1px;
  color: var(--dim);
  text-align: center;
  margin: 16px 0 0;
}
.camp-footer {
  margin: 0 4%;
  padding: 23px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font: 9px monospace;
  letter-spacing: 1px;
}
.camp-footer b {
  font-weight: 400;
  opacity: 0.55;
  margin-left: 15px;
}
.camp-footer button {
  background: none;
  font-size: 11px;
}
.sun-icon {
  font-size: 17px;
  vertical-align: middle;
  margin-right: 9px;
  color: var(--lime);
}
.fiction {
  opacity: 0.6;
  font-size: 9px;
}
.hud-top {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  left: 24px;
  right: 24px;
  display: flex;
  gap: 14px;
  align-items: center;
  pointer-events: none;
}
.hud-top > button,
.hud-top > div {
  pointer-events: auto;
}
.hud-top button {
  height: 46px;
  background: #15221edc;
  border: 1px solid #dde6ce33;
  border-radius: 3px;
}
#pause {
  font-size: 19px;
  width: 46px;
}
.reserve-label {
  font:
    700 20px "Barlow Condensed",
    sans-serif;
  letter-spacing: 2px;
  text-shadow: 0 1px 5px #111;
}
.reserve-label span {
  display: block;
  font: 8px monospace;
  letter-spacing: 1px;
  margin-top: 4px;
}
.compass {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  text-shadow: 0 1px 8px #000;
  font: 11px monospace;
  letter-spacing: 1px;
}
.compass div {
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.85;
}
.compass b {
  color: var(--lime);
}
#score-toggle {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 16px;
  font: 9px monospace;
  letter-spacing: 1px;
}
#score-count {
  font-size: 22px;
  font-weight: 400;
  color: var(--lime);
}
#score-arrow {
  font-size: 17px;
}
#score-panel {
  position: absolute;
  right: 24px;
  top: 80px;
  width: 310px;
  max-height: 60dvh;
  overflow: auto;
  background: #14231ef2;
  border: 1px solid var(--line);
  padding: 20px;
  z-index: 8;
  backdrop-filter: blur(16px);
}
#score-summary {
  font: 10px monospace;
  color: var(--lime);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
#score-list {
  padding: 0;
  list-style: none;
  margin: 0;
}
#score-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
#score-list li small {
  display: block;
  margin-top: 5px;
  font: 9px monospace;
  color: var(--dim);
}
#score-list li b {
  font: 12px monospace;
  color: var(--lime);
}
.saved-note {
  font-size: 9px;
  color: var(--dim);
}
#clear-log {
  font: 9px monospace;
  background: none;
  color: var(--dim);
  padding: 8px;
}
#crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2px #000);
  pointer-events: none;
}
#crosshair i {
  position: absolute;
  background: #fffc;
  width: 1px;
  height: 8px;
  left: 15px;
}
#crosshair i:nth-child(2) {
  bottom: 0;
}
#crosshair i:nth-child(3) {
  transform: rotate(90deg);
  top: 11px;
  left: 3px;
}
#crosshair i:nth-child(4) {
  transform: rotate(90deg);
  top: 11px;
  left: 26px;
}
#crosshair::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--lime);
  left: 14.5px;
  top: 14px;
}
#target-label {
  position: absolute;
  top: calc(50% + 32px);
  left: 50%;
  transform: translateX(-50%);
  font: 10px monospace;
  letter-spacing: 1px;
  text-shadow: 0 1px 5px black;
  white-space: nowrap;
}
#scope {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(76dvh, 82vw);
  height: min(76dvh, 82vw);
  border-radius: 50%;
  box-shadow:
    0 0 0 200vmax #08100de6,
    inset 0 0 40px #0008;
  border: 10px solid #0c1616;
  pointer-events: none;
  display: none;
}
.scoped #scope {
  display: block;
}
.scoped #crosshair {
  display: none;
}
.scope-line {
  position: absolute;
  background: #0e181bd9;
}
.scope-line.horizontal {
  top: 50%;
  width: 100%;
  height: 1px;
}
.scope-line.vertical {
  left: 50%;
  width: 1px;
  height: 100%;
}
#scope span {
  position: absolute;
  top: 76%;
  left: 50%;
  transform: translateX(-50%);
  font: 8px monospace;
  color: #263d27;
}
#hit-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 0 solid #f8e8a130;
  transition: border-width 0.1s;
}
.hud-bottom {
  position: absolute;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: 24px;
  right: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}
.hud-bottom button {
  pointer-events: auto;
}
.weapon-hud {
  background: #15231dc9;
  padding: 13px 18px;
  border-left: 2px solid var(--lime);
  min-width: 205px;
  backdrop-filter: blur(8px);
}
#equipped-name {
  font: 9px monospace;
  letter-spacing: 1px;
}
.weapon-hud > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
#ammo {
  font:
    40px "Barlow Condensed",
    sans-serif;
}
#ammo-max {
  font:
    14px "Barlow Condensed",
    sans-serif;
  color: var(--dim);
}
#reload {
  background: none;
  font: 11px monospace;
  padding: 10px;
  margin-left: 10px;
}
#reload span {
  font: 8px monospace;
  color: var(--dim);
}
#weapon-status {
  display: block;
  font: 8px monospace;
  color: var(--lime);
  letter-spacing: 1px;
}
.desktop-hints {
  display: flex;
  gap: 15px;
  font-size: 9px;
  align-items: center;
  padding: 12px;
  background: #15231d80;
  border-radius: 2px;
}
.desktop-hints span {
  display: flex;
  gap: 5px;
  align-items: center;
}
kbd {
  font: 8px monospace;
  border: 1px solid #f4eddc55;
  border-radius: 3px;
  padding: 4px;
}
#lock-mouse {
  font-size: 9px;
  background: none;
  color: var(--lime);
}
.action-controls {
  display: flex;
  gap: 13px;
}
.action-controls button {
  border: 1px solid #dde6ce66;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  background: #182820bb;
  font: 30px sans-serif;
  backdrop-filter: blur(8px);
}
.action-controls small {
  display: block;
  font: 8px monospace;
  letter-spacing: 1px;
  margin-top: 1px;
}
#fire {
  background: #d9e798df;
  color: var(--ink);
  border-color: var(--lime);
}
#aim[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
}
#toast {
  position: absolute;
  bottom: 155px;
  left: 50%;
  transform: translateX(-50%);
  background: #16271dea;
  border: 1px solid var(--line);
  font: 11px monospace;
  letter-spacing: 0.6px;
  text-align: center;
  max-width: 85vw;
  pointer-events: none;
  padding: 12px 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
#toast.visible {
  opacity: 1;
}
#shot-review {
  position: absolute;
  left: 24px;
  top: 90px;
  width: 245px;
  background: #18251deb;
  border: 1px solid var(--line);
  box-shadow: 0 8px 40px #10201730;
  z-index: 5;
  backdrop-filter: blur(12px);
}
.review-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px monospace;
  letter-spacing: 1.5px;
  padding: 9px 12px;
}
.review-title button {
  font-size: 20px;
  background: none;
}
#review-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  background: #82906b;
}
.review-body {
  padding: 12px;
}
.review-body strong {
  font:
    600 21px "Barlow Condensed",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.review-body span {
  display: block;
  font: 9px monospace;
  color: var(--dim);
  margin-top: 6px;
}
.review-body p {
  font: 9px monospace;
  color: var(--lime);
  margin: 8px 0 0;
}
.modal {
  position: fixed;
  inset: 0;
  background: #0d1b17bb;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 18px;
  overflow: auto;
}
.modal-card {
  background: #1c2d23;
  border: 1px solid #d9e79833;
  padding: 36px;
  width: min(450px, 100%);
  max-height: 94dvh;
  overflow: auto;
  box-shadow: 0 15px 90px #0006;
}
.modal-card h2 {
  font:
    600 38px "Barlow Condensed",
    sans-serif;
  margin: 18px 0 10px;
}
.modal-card > p {
  font-size: 13px;
  color: var(--dim);
  line-height: 1.8;
}
.modal-card .primary {
  margin-top: 25px;
}
.secondary {
  width: 100%;
  background: none;
  border: 1px solid var(--line);
  padding: 15px;
  font-size: 12px;
  margin-top: 10px;
}
.settings {
  margin: 23px 0;
  border-top: 1px solid var(--line);
}
.settings label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 18px;
}
input {
  accent-color: var(--lime);
}
select {
  background: #263e2c;
  color: var(--cream);
  border: 1px solid var(--line);
  padding: 7px;
}
.modal-card > a {
  font-size: 11px;
  color: var(--dim);
}
.guide-card {
  width: min(640px, 100%);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}
.guide-grid b {
  font-size: 12px;
  color: var(--lime);
}
.guide-grid p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}
.modal-card > .fine-print {
  font-size: 10px;
}
#joystick,
.touch-hint {
  display: none;
}
@media (pointer: coarse) {
  .desktop-hints {
    display: none;
  }
  #joystick {
    position: absolute;
    display: grid;
    place-items: center;
    bottom: max(35px, env(safe-area-inset-bottom));
    left: 30px;
    width: 105px;
    height: 105px;
    border: 1px solid #ffffee55;
    background: #182b2533;
    border-radius: 50%;
    touch-action: none;
  }
  #stick {
    width: 44px;
    height: 44px;
    background: #e9eed04d;
    border: 1px solid #e9eed0bb;
    border-radius: 50%;
    pointer-events: none;
  }
  #joystick span {
    position: absolute;
    bottom: 7px;
    font: 8px monospace;
    letter-spacing: 2px;
    pointer-events: none;
  }
  .weapon-hud {
    position: absolute;
    bottom: 131px;
    left: 0;
    min-width: 160px;
    padding: 8px 12px;
  }
  #ammo {
    font-size: 30px;
  }
  .touch-hint {
    display: block;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    white-space: nowrap;
    color: #fff9;
    pointer-events: none;
  }
  .action-controls {
    margin-left: auto;
    margin-bottom: 12px;
  }
  .action-controls button {
    width: 70px;
    height: 70px;
  }
  #toast {
    bottom: 220px;
  }
  .hud-bottom {
    left: 20px;
    right: 20px;
  }
}
@media (max-width: 1050px) {
  .camp-content {
    gap: 6%;
    grid-template-columns: 1fr 330px;
    padding: 32px 5%;
  }
  .loadout {
    padding: 20px;
  }
  .desktop-hints {
    gap: 8px;
  }
  .desktop-hints span:first-child {
    display: none;
  }
  .camp-footer .fiction {
    display: none;
  }
  .reserve-info {
    gap: 20px;
  }
  .brand span {
    font-size: 8px;
  }
  .edition {
    font-size: 9px;
  }
  .weapon-choice {
    grid-template-columns: 65px 1fr 15px;
    padding: 9px 10px;
  }
  .weapon-choice svg {
    width: 55px;
  }
  .weapon-choice strong {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .camp-header {
    height: 65px;
    margin: 0 6%;
  }
  .brand {
    font-size: 15px;
  }
  .brand span {
    display: none;
  }
  .edition {
    font-size: 8px;
  }
  .camp-content {
    display: block;
    padding: 28px 7%;
    min-height: auto;
  }
  .intro {
    margin-bottom: 25px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  h1 {
    font-size: 76px;
    margin: 24px 0 14px;
    line-height: 0.85;
  }
  h1 span {
    display: inline;
  }
  h1 b {
    position: static;
    transform: none;
  }
  .tagline {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .intro-copy,
  .reserve-info {
    display: none;
  }
  .loadout {
    padding: 19px;
    background: #15231de8;
  }
  .weapon-choice {
    min-height: 52px;
    padding: 7px 12px;
    margin-top: 5px;
    grid-template-columns: 70px 1fr 14px;
  }
  .weapon-choice strong {
    font-size: 11px;
  }
  .weapon-choice small {
    font-size: 7px;
    margin-top: 4px;
  }
  .weapon-detail {
    height: 78px;
  }
  .camp-footer {
    margin: 0 7%;
    padding: 17px 0 25px;
    font-size: 8px;
  }
  .camp-footer b {
    display: none;
  }
  .camp-footer button {
    font-size: 10px;
  }
  .hud-top {
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    right: 14px;
    gap: 9px;
  }
  .reserve-label {
    font-size: 16px;
  }
  .reserve-label span {
    font-size: 6px;
  }
  #pause {
    width: 36px;
    height: 38px;
  }
  #score-toggle {
    gap: 8px;
    padding: 0 9px;
    height: 38px;
  }
  #score-toggle > span:first-child {
    display: none;
  }
  .compass {
    top: 55px;
    font-size: 9px;
  }
  .compass div {
    font-size: 10px;
    margin-top: 3px;
  }
  .hud-bottom {
    left: 14px;
    right: 14px;
    bottom: max(20px, env(safe-area-inset-bottom));
  }
  .desktop-hints {
    display: none;
  }
  #score-panel {
    right: 14px;
    top: 63px;
    width: min(300px, calc(100vw - 28px));
    max-height: 55dvh;
  }
  #shot-review {
    left: 14px;
    top: 108px;
    width: 175px;
  }
  .review-title {
    padding: 4px 9px;
    font-size: 8px;
  }
  .review-body {
    padding: 9px;
  }
  .review-body strong {
    font-size: 18px;
  }
  .review-body span,
  .review-body p {
    font-size: 8px;
  }
  .guide-grid {
    gap: 14px;
  }
  .modal-card {
    padding: 25px;
  }
  .modal-card h2 {
    font-size: 32px;
  }
  .weapon-hud {
    min-width: 140px;
  }
  .action-controls {
    gap: 10px;
  }
  .action-controls button {
    width: 60px;
    height: 60px;
  }
  .play-note {
    font-size: 7px;
  }
}
@media (max-height: 550px) and (orientation: landscape) {
  .camp-header {
    height: 48px;
  }
  .camp-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    padding: 18px 5%;
    gap: 5%;
    align-items: center;
  }
  .intro {
    margin: 0;
  }
  h1 {
    font-size: 88px;
    line-height: 0.8;
  }
  h1 span {
    display: block;
  }
  h1 b {
    display: none;
  }
  .tagline {
    font-size: 15px;
  }
  .intro-copy,
  .reserve-info {
    display: none;
  }
  .loadout {
    padding: 14px;
  }
  .section-title {
    margin-bottom: 10px;
    font-size: 8px;
  }
  .weapon-choice {
    min-height: 39px;
    margin-top: 4px;
    padding: 4px 8px;
  }
  .weapon-choice svg {
    height: 25px;
  }
  .weapon-choice strong {
    font-size: 10px;
  }
  .weapon-choice small {
    font-size: 7px;
    margin-top: 3px;
  }
  .weapon-detail {
    height: 60px;
  }
  .weapon-detail p {
    font-size: 8px;
    margin: 5px 0 7px;
  }
  .primary {
    padding: 11px 16px;
    min-height: 38px;
  }
  .play-note {
    font-size: 6px;
    margin-top: 9px;
  }
  .camp-footer {
    padding: 12px 0;
  }
  .compass {
    top: 0;
  }
  #shot-review {
    top: 74px;
    width: 180px;
  }
  #review-image {
    aspect-ratio: 2.4;
  }
  .review-body {
    padding: 8px;
  }
  #joystick {
    width: 87px;
    height: 87px;
    left: 25px;
    bottom: 20px;
  }
  .weapon-hud {
    bottom: 98px;
    padding: 6px 10px;
  }
  #ammo {
    font-size: 24px;
  }
  .touch-hint {
    display: none;
  }
  #toast {
    bottom: 110px;
  }
  .modal-card {
    padding: 22px;
  }
  .modal-card .primary {
    margin-top: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.iron-aim #crosshair {
  display: none;
}
#ammo-max {
  font: 8px monospace;
  letter-spacing: 1px;
}
#ammo {
  font-size: 42px;
  line-height: 1.1;
}
.iron-aim #target-label {
  top: calc(50% + 44px);
}
