#menu-btn {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  left: 8px;
  z-index: 50;
  background: none;
  color: #fff;
  border: none;
  outline: none;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

#menu-btn:active {
  opacity: 1;
}

#howto-btn {
  display: none;
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: 8px;
  z-index: 50;
  background: none;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  width: 36px;
  height: 36px;
  opacity: 0.6;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: 'Cubic 11', sans-serif;
  font-size: 22px;
}

.game-active #howto-btn {
  display: flex;
  right: auto;
  left: 48px;
}

#howto-btn:active {
  opacity: 1;
}


#mode-btn {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: 8px;
  z-index: 50;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  width: 36px;
  height: 36px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#mode-btn:active {
  opacity: 1;
}

#mode-icon {
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.mode-night #mode-icon {
  filter: invert(1);
}

#menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.menu-open #menu-overlay {
  display: flex;
}

#menu-panel {
  background: #202028;
  padding: 28px;
  min-width: 220px;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 18px;
  letter-spacing: 2px;
  text-align: center;
  box-shadow:
    inset -4px -4px 0 0 #101018,
    inset 4px 4px 0 0 #303038,
    0 -4px 0 0 #000,
    0 4px 0 0 #000,
    -4px 0 0 0 #000,
     4px 0 0 0 #000;
}

#menu-home {
  background: #808080;
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Cubic 11', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  padding: 10px 24px;
  width: 100%;
  box-shadow:
    inset -3px -3px 0 0 #505050,
    inset 3px 3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#menu-home:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#desc-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

#desc-overlay.open {
  display: flex;
}

#desc-panel {
  background: #202028;
  padding: 28px;
  min-width: 220px;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  text-align: left;
  line-height: 2;
  box-shadow:
    inset -4px -4px 0 0 #101018,
    inset 4px 4px 0 0 #303038,
    0 -4px 0 0 #000,
    0 4px 0 0 #000,
    -4px 0 0 0 #000,
     4px 0 0 0 #000;
}

#desc-content {
  width: 100%;
  line-height: 1.8;
}

#desc-title {
  font-size: 22px;
  letter-spacing: 4px;
  text-align: center;
  width: 100%;
}

#diff-prev, #diff-next {
  background: none;
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Handjet', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  padding: 0;
  opacity: 0.6;
}

#diff-prev:active, #diff-next:active {
  opacity: 1;
}

#diff-info {
  background: #505050;
  border: none;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.5;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
}

#diff-info:active {
  opacity: 1;
}

#btn-start {
  display: block;
  background: #d63447;
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Handjet', 'Cubic 11', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  padding: 6px 14px;
  transform: scale(1.5);
  box-shadow:
    inset -3px -3px 0 0 #921d2c,
    inset 3px 3px 0 0 #f86173,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#btn-start:active {
  background: #aa2435;
  box-shadow:
    inset 3px 3px 0 0 #921d2c,
    inset -3px -3px 0 0 #f86173,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#next-round-row {
  display: none;
  align-items: center;
  gap: 8px;
}

.game-active #next-round-row {
  margin-top: -12px;
  margin-bottom: 0px;
}

#next-round {
  display: inline-flex;
  align-items: center;
  background: var(--red-main);
  color: var(--white);
  font-family: 'Cubic 11', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  padding: 8px 18px;
  flex-shrink: 0;
  box-shadow:
    inset 0 2px 0 0 var(--red-light),
    inset 0 -2px 0 0 var(--red-dark),
    0 -3px 0 0 var(--black),
    0 3px 0 0 var(--black),
    -3px 0 0 0 var(--black),
     3px 0 0 0 var(--black),
    0 4px 0 0 var(--black),
    -3px 3px 0 0 var(--black),
     3px 3px 0 0 var(--black);
}

#next-round:active {
  background: var(--red-light);
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 0 var(--red-light),
    inset 0 -1px 0 0 var(--red-dark),
    0 -3px 0 0 var(--black),
    0 3px 0 0 var(--black),
    -3px 0 0 0 var(--black),
     3px 0 0 0 var(--black),
    0 2px 0 0 var(--black),
    -3px 2px 0 0 var(--black),
     3px 2px 0 0 var(--black);
}

#next-round:hover {
  background-color: var(--red-light);
}

#next-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0;
  background: #808080;
  box-shadow:
    inset -3px -3px 0 0 #505050,
    inset 3px 3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#next-map-link:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

#next-map-link img {
  height: 22px;
  width: auto;
}


#play-again {
  display: flex;
  background: #808080;
  color: #fff;
  border: none;
  outline: none;
  font-size: 22px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  align-items: center;
  justify-content: center;
}

#play-again:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

#btn-share {
  display: flex;
  background: #808080;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  align-items: center;
  justify-content: center;
}

#btn-share:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

.share-pixel-icon {
  width: 16px;
  height: 16px;
  display: grid;
  grid-template-columns: repeat(8, 2px);
  grid-template-rows: repeat(8, 2px);
  flex-shrink: 0;
}

.share-pixel-icon div {
  width: 2px;
  height: 2px;
}

.sp-node { background-color: #fff; }
.sp-line { background-color: #bbb; }

#howto-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

#howto-overlay.open {
  display: flex;
}

#howto-panel {
  background: #202028;
  padding: 28px;
  min-width: 260px;
  max-width: 85vw;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1.8;
  text-align: left;
  box-shadow:
    inset -4px -4px 0 0 #101018,
    inset 4px 4px 0 0 #303038,
    0 -4px 0 0 #000,
    0 4px 0 0 #000,
    -4px 0 0 0 #000,
     4px 0 0 0 #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#howto-body {
  width: 100%;
  line-height: 1.8;
}

.howto-columns {
  display: flex;
  gap: 16px;
  width: 100%;
}

.howto-col {
  flex: 1;
  padding: 12px;
}

.howto-col-title {
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.howto-col p {
  margin: 4px 0;
  font-size: 12px;
}

.howto-common {
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 8px 0 0;
}

.howto-common p {
  margin: 4px 0;
}

#howto-title {
  font-size: 22px;
  letter-spacing: 4px;
  text-align: center;
  width: 100%;
}

#howto-notice {
  width: 100%;
  background: #181818;
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1.5;
  color: #999;
  text-align: center;
}

#howto-dismiss-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.7;
  cursor: pointer;
  user-select: none;
}

#howto-dismiss-label input {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

#howto-ok {
  background: #808080;
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Cubic 11', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  padding: 8px 28px;
  box-shadow:
    inset -3px -3px 0 0 #505050,
    inset 3px 3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#howto-ok:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}
#toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #202028;
  color: #fff;
  padding: 10px 20px;
  font-family: 'Cubic 11', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 200;
  white-space: nowrap;
  box-shadow:
    inset -2px -2px 0 0 #101018,
    inset 2px 2px 0 0 #303038;
}

#toast.show {
  opacity: 1;
}

/* --- ROUND RESULTS --- */
#round-results {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin-top: 96px;
  padding: 16px;
  background: #202028;
  box-shadow:
    inset -4px -4px 0 0 #101018,
    inset 4px 4px 0 0 #303038,
    0 -4px 0 0 #000,
    0 4px 0 0 #000,
    -4px 0 0 0 #000,
     4px 0 0 0 #000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#round-results.open {
  display: flex;
}

#round-results.visible {
  opacity: 1;
}

#results-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #202028;
  padding: 10px 14px;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s;
  box-shadow:
    inset -2px -2px 0 0 #101018,
    inset 2px 2px 0 0 #303038;
}

.result-row:hover {
  background: #2a2a38;
  box-shadow:
    inset -2px -2px 0 0 #181828,
    inset 2px 2px 0 0 #404050;
}

.result-round {
  opacity: 0.5;
  width: 48px;
  text-align: center;
}

.result-name {
  flex: 1;
  text-align: center;
  font-size: 14px;
}

.result-score {
  text-align: right;
  min-width: 64px;
  color: var(--c-8);
}

#results-avg,
.result-avg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.15s, box-shadow 0.15s;
  background: #101018;
  box-shadow:
    inset -2px -2px 0 0 #08080c,
    inset 2px 2px 0 0 #282830;
}

#results-avg:hover,
.result-avg:hover {
  background: #1a1828;
  box-shadow:
    inset -2px -2px 0 0 #181828,
    inset 2px 2px 0 0 #404050;
}



.result-avg-label {
  opacity: 0.7;
}

.result-avg-score {
  font-size: 16px;
  color: var(--c-12);
}

#results-end-row,
.results-end-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
  width: 100%;
}

#results-end-row button,
#results-end-row a,
.results-end-row button,
.results-end-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  min-width: 0;
  padding: 8px 14px;
  background: #808080;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  font-family: 'Cubic 11', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow:
    inset -3px -3px 0 0 #505050,
    inset 3px 3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#results-end-row button:active,
#results-end-row a:active,
.results-end-row button:active,
.results-end-row a:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

#results-play-again span {
  font-size: 13px;
  letter-spacing: 2px;
}

#desktop-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  min-width: 280px;
  max-width: 100%;
  margin: 12px 0 0;
  align-self: center;
  padding: 16px;
  background: #202028;
  box-shadow:
    inset -4px -4px 0 0 #101018,
    inset 4px 4px 0 0 #303038,
    0 -4px 0 0 #000,
    0 4px 0 0 #000,
    -4px 0 0 0 #000,
     4px 0 0 0 #000;
  animation: slideInResults 0.35s ease both;
}

@keyframes slideInResults {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

#desktop-results .result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #202028;
  padding: 8px 14px;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  box-shadow:
    inset -2px -2px 0 0 #101018,
    inset 2px 2px 0 0 #303038;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 4px #4f4, 0 0 8px #4f4; }
  50% { box-shadow: 0 0 8px #4f4, 0 0 16px #4f4; }
}

#game-end-row {
  display: none !important;
}

#game-end-row button,
#game-end-row a {
  height: 48px;
  min-width: 0;
  padding: 8px 12px;
  box-shadow:
    inset -3px -3px 0 0 #505050,
    inset 3px 3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#play-again:active,
#btn-share:active,
#map-link:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

#game-end-row button:hover,
#game-end-row a:hover {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

#play-again,
#map-link {
  width: 48px;
  padding: 0;
}

#btn-share {
  gap: 6px;
}

#btn-share span {
  font-family: 'Cubic 11', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: #fff;
}

#map-link {
  display: flex;
  background: #808080;
  border: none;
  outline: none;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

#map-link img {
  height: 24px;
  width: auto;
}

/* --- DPAD NAVIGATION --- */
.dpad-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.pixel-less-symbol {
  width: 2px;
  height: 2px;
  position: relative;
  background: transparent;
  box-shadow:
    2px -6px var(--arrow-color),
    0 -4px var(--arrow-color), 2px -4px var(--arrow-color),
    -2px -2px var(--arrow-color), 0 -2px var(--arrow-color),
    -4px 0 var(--arrow-color), -2px 0 var(--arrow-color),
    -2px 2px var(--arrow-color), 0 2px var(--arrow-color),
    0 4px var(--arrow-color), 2px 4px var(--arrow-color),
    2px 6px var(--arrow-color);
  transition: transform 0.1s ease;
}

#btn-up .pixel-less-symbol    { transform: rotate(90deg); }
#btn-left .pixel-less-symbol  { transform: rotate(0deg); }
#btn-right .pixel-less-symbol { transform: rotate(180deg); }
#btn-down .pixel-less-symbol  { transform: rotate(270deg); }

.dpad-btn:hover .pixel-less-symbol {
  filter: drop-shadow(0 0 2px var(--arrow-hover));
}

.dpad-btn:active {
  transform: scale(0.85);
}

#share-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

#share-overlay.open {
  display: flex;
}

#share-panel {
  background: #202028;
  padding: 24px;
  min-width: 260px;
  max-width: 90vw;
  font-family: 'Cubic 11', sans-serif;
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1.6;
  text-align: left;
  box-shadow:
    inset -4px -4px 0 0 #101018,
    inset 4px 4px 0 0 #303038,
    0 -4px 0 0 #000,
    0 4px 0 0 #000,
    -4px 0 0 0 #000,
     4px 0 0 0 #000;
}

#share-text {
  font-family: 'Cubic 11', monospace;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: #fff;
  margin: 0 0 16px 0;
  padding: 0;
  background: none;
  border: none;
}

#share-copy {
  display: block;
  margin: 0 auto;
  background: #808080;
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Cubic 11', sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  padding: 8px 24px;
  box-shadow:
    inset -3px -3px 0 0 #505050,
    inset 3px 3px 0 0 #b0b0b0,
    0 -3px 0 0 #000,
    0 3px 0 0 #000,
    -3px 0 0 0 #000,
     3px 0 0 0 #000;
}

#share-copy:active {
  background: #707070;
  box-shadow:
    inset 3px 3px 0 0 #505050,
    inset -3px -3px 0 0 #b0b0b0;
}

/* --- TEMPERATURE GAUGE --- */
.gauge-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.gauge-header {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: #fff;
  font-family: 'Cubic 11', sans-serif;
}

.gauge-label {
  color: #ffffff;
}

.gauge-dot-row {
  display: flex;
  gap: 4px;
  justify-content: space-between;
}

.gauge-pixel-dot {
  width: 15px;
  height: 15px;
  background-color: #1a1d28;
  opacity: 0.4;
  transition: background-color 0.1s steps(1), opacity 0.1s steps(1);
}

.gauge-pixel-dot.active {
  opacity: 1;
}

.gauge-pixel-dot.active[data-step="1"]  { background-color: var(--c-1); }
.gauge-pixel-dot.active[data-step="2"]  { background-color: var(--c-2); }
.gauge-pixel-dot.active[data-step="3"]  { background-color: var(--c-3); }
.gauge-pixel-dot.active[data-step="4"]  { background-color: var(--c-4); }
.gauge-pixel-dot.active[data-step="5"]  { background-color: var(--c-5); }
.gauge-pixel-dot.active[data-step="6"]  { background-color: var(--c-6); }
.gauge-pixel-dot.active[data-step="7"]  { background-color: var(--c-7); }
.gauge-pixel-dot.active[data-step="8"]  { background-color: var(--c-8); }
.gauge-pixel-dot.active[data-step="9"]  { background-color: var(--c-9); }
.gauge-pixel-dot.active[data-step="10"] { background-color: var(--c-10); }
.gauge-pixel-dot.active[data-step="11"] { background-color: var(--c-11); }
.gauge-pixel-dot.active[data-step="12"] { background-color: var(--c-12); }
.gauge-pixel-dot.active[data-step="13"] { background-color: #00ff44; }

/* --- CROSSHAIR MARK BUTTON --- */
.crosshair-mark-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 18px;
  background-color: var(--red-main);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  font-family: 'Cubic 11', sans-serif;
  box-shadow:
    inset 0 2px 0 0 var(--red-light),
    inset 0 -2px 0 0 var(--red-dark),
    0 -3px 0 0 var(--black),
    0 3px 0 0 var(--black),
    -3px 0 0 0 var(--black),
    3px 0 0 0 var(--black),
    0 4px 0 0 var(--black),
    -3px 3px 0 0 var(--black),
    3px 3px 0 0 var(--black);
}

.crosshair-mark-btn:hover {
  background-color: var(--red-light);
}

.crosshair-mark-btn:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 0 var(--red-light),
    inset 0 -1px 0 0 var(--red-dark),
    0 -3px 0 0 var(--black),
    0 3px 0 0 var(--black),
    -3px 0 0 0 var(--black),
    3px 0 0 0 var(--black),
    0 2px 0 0 var(--black),
    -3px 2px 0 0 var(--black),
    3px 2px 0 0 var(--black);
}

.pixel-focus-icon {
  width: 2px;
  height: 2px;
  position: relative;
  margin-right: 12px;
  margin-bottom: 10px;
  background: transparent;
  box-shadow:
    -3px -3px var(--white), -1px -3px var(--white), 0 -3px var(--white),
    -3px -1px var(--white), -3px 0 var(--white),
    6px -3px var(--white), 8px -3px var(--white), 9px -3px var(--white),
    9px -1px var(--white), 9px 0 var(--white),
    2px 2px var(--white), 4px 2px var(--white),
    2px 4px var(--white), 4px 4px var(--white),
    -3px 6px var(--white), -3px 8px var(--white),
    -3px 9px var(--white), -1px 9px var(--white), 0 9px var(--white),
    9px 6px var(--white), 9px 8px var(--white),
    6px 9px var(--white), 8px 9px var(--white), 9px 9px var(--white);
}

.crosshair-mark-btn {
  display: none;
}

.game-active .crosshair-mark-btn {
  display: inline-flex;
  margin-top: -12px;
  margin-bottom: 0px;
}
