@import "https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Special+Elite&family=Inter:wght@400;500;600;700&display=swap";
/* [project]/src/app/globals.css [app-client] (css) */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

:root {
  --ink: #0c0c0e;
  --paper: #e9e6df;
  --silver: #b9b6ae;
  --steel: #6c6a66;
  --shadow: #1a1a1d;
  --danger: #f2f2f2;
  --font-display: "Oswald", system-ui, sans-serif;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-read: "Inter", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-display);
  color: var(--paper);
  background-color: #0a0a0e;
  background-image: linear-gradient(#08080c8c, #050508c7), url("/city-bg.png"), none;
  background-position: 0 0, center, 0 0;
  background-repeat: repeat, no-repeat, repeat;
  background-size: auto, cover, auto;
  background-attachment: fixed;
  background-origin: padding-box, padding-box, padding-box;
  background-clip: border-box, border-box, border-box;
  overflow: hidden;
}

.screen {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 100dvh;
  padding: 10px 16px 16px;
  display: flex;
  position: relative;
}

.grain {
  pointer-events: none;
  z-index: 1;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  width: 200%;
  height: 200%;
  animation: .6s steps(2, end) infinite grainShift;
  position: fixed;
  inset: -50%;
}

@keyframes grainShift {
  0% {
    transform: translate(0);
  }

  100% {
    transform: translate(-6px, 4px);
  }
}

.vignette {
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at 50% 42%, #0000 48%, #000000a6 100%);
  position: fixed;
  inset: 0;
}

.screen > :not(.grain):not(.vignette):not(.ambient):not(.mute-btn):not(.loot-hud):not(.bonus-rail):not(.splash):not(.comic):not(.jobboard):not(.safe):not(.range):not(.gallery) {
  z-index: 3;
  position: relative;
}

.bonus-rail {
  z-index: 60;
  flex-direction: column;
  gap: 10px;
  display: flex;
  position: fixed;
  top: 64px;
  left: 8px;
}

.bonus-icon {
  cursor: pointer;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #121218b3;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  padding: 0;
  transition: transform .12s, box-shadow .12s;
  animation: .4s both railIn;
  position: relative;
  box-shadow: 0 4px 12px #0006;
}

.bonus-icon img {
  object-fit: contain;
  filter: grayscale() brightness(1.05) contrast(1.05);
  width: 100%;
  height: 100%;
  display: block;
}

.bonus-icon:hover {
  transform: translateX(2px)scale(1.04);
  box-shadow: 0 6px 16px #0000008c;
}

.bonus-icon:active {
  transform: translateX(2px)scale(.96);
  box-shadow: 0 2px 6px #00000080;
}

.bonus-icon .bonus-dot {
  color: #0c0c0e;
  min-width: 18px;
  height: 18px;
  font-family: var(--font-display);
  background: #fff;
  border: 1.5px solid #000;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  font-size: .62rem;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: -4px;
  right: -4px;
  box-shadow: 0 0 6px #ffffff80;
}

@keyframes railIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.ambient {
  z-index: 2;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.cityglow {
  background: linear-gradient(0deg, #fffaeb1a, #0000);
  height: 38%;
  animation: 5s steps(8, end) infinite cityFlicker;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

@keyframes cityFlicker {
  0%, 100% {
    opacity: .85;
  }

  12% {
    opacity: .55;
  }

  14% {
    opacity: .9;
  }

  40% {
    opacity: .7;
  }

  42% {
    opacity: 1;
  }

  70% {
    opacity: .6;
  }
}

.fog {
  filter: blur(8px);
  background: radial-gradient(#c8c8d21a, #0000 70%);
  border-radius: 50%;
  width: 120%;
  height: 42%;
  position: absolute;
}

.fog.f1 {
  animation: 26s linear infinite fogDrift;
  top: 18%;
  left: -20%;
}

.fog.f2 {
  opacity: .7;
  height: 34%;
  animation: 38s linear infinite reverse fogDrift;
  bottom: 8%;
  left: -10%;
}

@keyframes fogDrift {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(40%);
  }
}

.searchlight {
  transform-origin: top;
  clip-path: polygon(46% 0, 54% 0, 80% 100%, 20% 100%);
  background: linear-gradient(#ffffff12, #0000 65%);
  width: 60%;
  height: 150%;
  animation: 9s ease-in-out infinite sweep;
  position: absolute;
  top: -30%;
  left: 50%;
}

@keyframes sweep {
  0%, 100% {
    opacity: .5;
    transform: rotate(-26deg);
  }

  50% {
    opacity: .8;
    transform: rotate(26deg);
  }
}

.searchlight.alt {
  transform-origin: bottom;
  background: linear-gradient(0deg, #ffffff0d, #0000 60%);
  width: 50%;
  height: 160%;
  animation: 13s ease-in-out infinite sweepAlt;
  top: auto;
  bottom: -40%;
  left: -20%;
}

@keyframes sweepAlt {
  0%, 100% {
    opacity: .45;
    transform: rotate(20deg);
  }

  50% {
    opacity: .7;
    transform: rotate(-15deg);
  }
}

.fog.f3 {
  opacity: .45;
  background: radial-gradient(#dcdce614, #0000 70%);
  height: 30%;
  animation: 48s linear infinite fogDrift;
  top: 50%;
  left: -15%;
}

.wanted-overlay {
  z-index: 70;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: pointer;
  background: #0009;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.wanted-poster {
  filter: grayscale() contrast(1.1) drop-shadow(0 18px 30px #000000bf);
  transform-origin: 50% 30%;
  width: min(72vw, 320px);
  height: auto;
  animation: .6s cubic-bezier(.3, 1.4, .5, 1) both posterDrop;
}

@keyframes posterDrop {
  0% {
    opacity: 0;
    transform: translateY(-120%)rotate(-22deg)scale(.6);
  }

  60% {
    opacity: 1;
    transform: translateY(8%)rotate(7deg)scale(1.08);
  }

  100% {
    opacity: 1;
    transform: translateY(0)rotate(-3deg)scale(1);
  }
}

.wanted-hint {
  font-family: var(--font-type);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 18px;
  font-size: .72rem;
  animation: 1.5s ease-in-out infinite blink;
}

.boot, .splash {
  z-index: 40;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.boot-logo {
  opacity: .55;
  filter: grayscale(.3);
  width: min(60vw, 240px);
  height: auto;
}

.boot-txt {
  font-family: var(--font-type);
  letter-spacing: 3px;
  color: var(--silver);
  font-size: .8rem;
}

.spinner {
  border: 3px solid #ffffff2e;
  border-top-color: var(--paper);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  animation: .8s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.splash-logo {
  filter: drop-shadow(0 12px 34px #000000b3);
  flex-shrink: 0;
  width: min(64vw, 250px);
  height: auto;
  animation: .5s cubic-bezier(.22, 1.2, .4, 1) both logoIn;
}

.start-btn {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(#fff, #dcdad2);
  border: 3px solid #000;
  border-radius: 14px;
  padding: 14px 48px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform .1s, box-shadow .1s;
  animation: 1.8s ease-in-out infinite bobBtn;
  box-shadow: 5px 6px #000;
}

.start-btn:active {
  transform: translate(3px, 4px);
  box-shadow: 1px 1px #000;
}

@keyframes bobBtn {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.splash-sub {
  font-family: var(--font-type);
  color: var(--silver);
  letter-spacing: 1px;
  font-size: .78rem;
}

.daily-btn {
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--paper);
  border: 2px solid var(--silver);
  cursor: pointer;
  background: #ffffff0f;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 10px 22px;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .1s, box-shadow .1s;
  display: inline-flex;
  box-shadow: 3px 3px #0000008c;
}

.daily-btn .dot {
  letter-spacing: .5px;
  color: var(--silver);
  border-inline-start: 1px solid #ffffff2e;
  align-items: center;
  gap: 4px;
  padding-inline-start: 4px;
  font-size: .78rem;
  display: inline-flex;
}

.daily-btn .dot svg {
  opacity: .85;
}

.daily-btn:hover {
  transform: translateY(-2px);
  box-shadow: 4px 5px #0009;
}

.daily-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px #0009;
}

.title {
  text-align: center;
}

.title .logo {
  filter: drop-shadow(0 5px 12px #0009);
  width: min(34vw, 118px);
  height: auto;
  margin: 0 auto;
  animation: .5s cubic-bezier(.22, 1.2, .4, 1) both logoIn;
  display: block;
}

@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(.85)translateY(-6px);
  }

  to {
    opacity: 1;
    transform: scale(1)translateY(0);
  }
}

.title h1 {
  font-family: var(--font-display);
  letter-spacing: 4px;
  color: var(--paper);
  text-shadow: 3px 3px #000, 0 0 30px #ffffff26;
  font-size: clamp(2.1rem, 9vw, 3rem);
  font-weight: 700;
  line-height: .95;
}

.title h1 span {
  color: var(--ink);
  background: linear-gradient(#fff, #dcdad2);
  border-radius: 4px;
  padding: 1px 10px;
  display: inline-block;
  transform: skewX(-7deg);
  box-shadow: 4px 4px #0009;
}

.reel {
  font-family: var(--font-type);
  letter-spacing: 2.5px;
  color: var(--silver);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #ffffff0a;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  margin-top: 10px;
  padding: 4px 14px;
  font-size: .66rem;
  display: inline-block;
}

.hud {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #ffffff0d;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  display: flex;
  box-shadow: 0 8px 22px #0006, inset 0 1px #ffffff0f;
}

.stat, .heatbox {
  flex-direction: column;
  align-items: center;
  gap: 3px;
  display: flex;
}

.heatbox {
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.stat + .heatbox {
  border-inline-start: 1px solid #ffffff1a;
  padding-inline-start: 16px;
}

.stat-k {
  font-family: var(--font-type);
  letter-spacing: 2px;
  color: var(--silver);
  text-transform: uppercase;
  font-size: .6rem;
}

.stat-v {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.heatwrap {
  background: #0a0a0c;
  border: 1px solid #3a3a3d;
  border-radius: 8px;
  width: 150px;
  height: 13px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px #000000d9;
}

.heatfill {
  background: linear-gradient(90deg, #9a9a9f, #fff);
  border-radius: 8px;
  width: 0;
  height: 100%;
  transition: width .3s;
  box-shadow: 0 0 12px #ffffff8c;
}

.board-wrap {
  position: relative;
}

.board {
  touch-action: none;
  background: #2a2a2e url("/asphalt.png") center / cover;
  border: 5px solid #000;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 18px 44px #000000b3, inset 0 0 0 2px #2c2c30, inset 0 0 40px #00000059;
}

.cellgrid {
  pointer-events: none;
  background-image: linear-gradient(#ffffff1a 1px, #0000 1px), linear-gradient(90deg, #ffffff1a 1px, #0000 1px);
  position: absolute;
  inset: 0;
}

.exit {
  background: linear-gradient(#fff, #cfcdc6);
  width: 5px;
  animation: 1.6s ease-in-out infinite exitPulse;
  position: absolute;
  right: -5px;
  box-shadow: 0 0 16px 3px #ffffffb3;
}

@keyframes exitPulse {
  0%, 100% {
    box-shadow: 0 0 14px 2px #ffffff8c;
  }

  50% {
    box-shadow: 0 0 22px 5px #ffffffe6;
  }
}

.exit span {
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 1.5px;
  white-space: nowrap;
  text-shadow: 0 0 10px #ffffffe6, 0 2px 3px #000;
  font-size: .72rem;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
}

.veh {
  cursor: grab;
  touch-action: none;
  justify-content: center;
  align-items: center;
  transition: transform .16s cubic-bezier(.22, 1, .36, 1), opacity .45s;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.veh:active {
  cursor: grabbing;
}

.veh.dragging {
  z-index: 10;
  transition: none;
}

.veh.dragging .veh-img {
  animation-play-state: paused;
}

.veh-rot {
  pointer-events: none;
  justify-content: center;
  align-items: center;
  display: flex;
}

.veh-img {
  z-index: 1;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 5px 7px #00000080);
  animation: 3.2s ease-in-out infinite idle;
  position: relative;
}

.headlight {
  filter: blur(1.5px);
  pointer-events: none;
  z-index: 0;
  opacity: .85;
  background: radial-gradient(at 50% 100%, #fffae499, #fffae41f 45%, #0000 72%);
  width: 78%;
  height: 30%;
  position: absolute;
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
}

.veh.dragging .headlight {
  opacity: 1;
}

.beacon {
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, #fff 0%, #ffffff8c 45%, #0000 72%);
  border-radius: 50%;
  width: 30%;
  animation: .66s steps(2, jump-none) infinite beacon;
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes beacon {
  0%, 100% {
    opacity: .15;
    transform: translate(-50%, -50%)scale(.85);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%)scale(1.15);
  }
}

.veh.hero .veh-img {
  filter: drop-shadow(0 0 9px #ffffff8c) drop-shadow(0 5px 7px #00000080);
}

.veh:not(.hero) .veh-img {
  filter: drop-shadow(0 5px 7px #00000080) brightness(.9) contrast(1.04);
}

.veh.truck .veh-img, .veh.van .veh-img, .veh.fire .veh-img {
  filter: drop-shadow(0 5px 7px #00000080) brightness(.84) contrast(1.05);
}

@keyframes idle {
  0%, 100% {
    transform: translateY(0)scale(1)rotate(-.5deg);
  }

  50% {
    transform: translateY(-2px)scale(1.03, .97)rotate(.5deg);
  }
}

.exhaust {
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, #e1e1e68c, #0000 70%);
  border-radius: 50%;
  width: 24%;
  animation: 3s ease-out infinite puff;
  position: absolute;
  bottom: -4%;
  left: 50%;
  transform: translate(-50%)scale(.3);
}

@keyframes puff {
  0% {
    opacity: 0;
    transform: translate(-50%)scale(.3);
  }

  25% {
    opacity: .38;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 55%)scale(1.1);
  }
}

.muzzle {
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, #fff 0% 30%, #ffffff80 55%, #0000 70%);
  width: 30%;
  animation: 6s ease-in-out infinite muzzleFire;
  position: absolute;
  top: 13%;
  left: 53%;
  transform: translate(-50%, -50%)scale(.4);
}

@keyframes muzzleFire {
  0%, 7%, 18%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%)scale(.3);
  }

  9% {
    opacity: 1;
    transform: translate(-50%, -50%)scale(1.1);
  }

  11% {
    opacity: .25;
    transform: translate(-50%, -50%)scale(.7);
  }

  14% {
    opacity: 1;
    transform: translate(-50%, -50%)scale(1.25);
  }

  16% {
    opacity: 0;
    transform: translate(-50%, -50%)scale(.6);
  }
}

.veh.escaping {
  transition: transform .85s cubic-bezier(.3, .5, .2, 1), opacity .85s;
}

.board.win-fx {
  animation: .7s ease-out winFx;
}

@keyframes winFx {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.025);
  }

  100% {
    transform: scale(1);
  }
}

.win-smoke {
  z-index: 55;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.win-smoke .p {
  opacity: 0;
  background: radial-gradient(circle at 35% 32%, #fff, #d6d6dc 58%, #d6d6dc00 72%);
  border-radius: 50%;
  animation: 1s ease-out forwards winpuff;
  position: absolute;
  transform: scale(.2);
}

@keyframes winpuff {
  0% {
    opacity: 0;
    transform: translate(0)scale(.2);
  }

  25% {
    opacity: .95;
  }

  100% {
    opacity: 0;
    transform: translate(var(--dx, 0), var(--dy, -16px)) scale(2.3);
  }
}

.mute-btn {
  top: 12px;
  left: 12px;
  z-index: 60;
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #121218b3;
  border: 1px solid #ffffff38;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  display: flex;
  position: fixed;
  inset-inline-end: auto;
  box-shadow: 0 4px 12px #0006;
}

.mute-btn:active {
  transform: scale(.92);
}

.loot-hud {
  z-index: 60;
  height: 38px;
  font-family: var(--font-display);
  color: var(--paper);
  background: #101016d1;
  border: 1.5px solid #ffffff2e;
  border-radius: 999px;
  align-items: center;
  padding: 0 16px 0 40px;
  font-size: 1.05rem;
  font-weight: 700;
  display: inline-flex;
  position: fixed;
  top: 14px;
  right: 16px;
  box-shadow: 0 4px 12px #00000073;
}

.loot-coin {
  filter: grayscale();
  pointer-events: none;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 50%;
  left: -3px;
  transform: translateY(-50%);
}

.loot-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
}

.mute-btn .sax {
  filter: grayscale() contrast(1.15) brightness(1.2);
  font-size: 1.3rem;
  line-height: 1;
  position: relative;
}

.mute-btn .sax.off {
  filter: grayscale() brightness(.6);
  opacity: .6;
}

.mute-btn .sax.off:after {
  content: "";
  background: #f3eee0;
  height: 2px;
  position: absolute;
  top: 50%;
  left: -5px;
  right: -5px;
  transform: rotate(-42deg);
  box-shadow: 0 0 3px #000;
}

.link-btn {
  box-shadow: none;
  color: var(--silver);
  font-family: var(--font-type);
  letter-spacing: 1px;
  text-transform: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 8px;
  font-size: .78rem;
  text-decoration: underline;
}

.link-btn:hover {
  box-shadow: none;
  filter: none;
  color: var(--paper);
  transform: none;
}

.gallery {
  z-index: 44;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, #1e1e248c, #0000 70%), #08080b;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 26px 18px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.gallery-title {
  font-family: var(--font-display);
  letter-spacing: 3px;
  color: var(--paper);
  text-shadow: 3px 3px #000;
  font-size: 1.7rem;
  font-weight: 700;
}

.gallery-sub {
  font-family: var(--font-type);
  letter-spacing: 1px;
  color: var(--silver);
  font-size: .74rem;
}

.gallery-art {
  border: 3px solid var(--paper);
  filter: grayscale() contrast(1.05);
  border-radius: 6px;
  width: min(92vw, 460px);
  height: auto;
  box-shadow: 0 14px 30px #000000b3;
}

.gallery-notes {
  font-family: var(--font-type);
  color: var(--silver);
  max-width: 320px;
  padding: 0;
  font-size: .84rem;
  line-height: 1.6;
  list-style: none;
}

.gallery-notes li {
  padding: 2px 0;
}

.gallery .big-btn {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(#fff, #d8d6cf);
  border: 3px solid #000;
  border-radius: 12px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 4px 4px #000;
}

.range {
  z-index: 44;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  background: linear-gradient(#08080c26, #05050873), url("/range-bg.png") center / cover no-repeat, #0a0a0e;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.range-hud {
  z-index: 5;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  color: var(--paper);
  background: #ffffff0f;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  align-items: center;
  gap: 18px;
  padding: 8px 20px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.rh-score {
  font-size: 1.15rem;
}

.rh-time {
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
}

.rh-time.low {
  color: #fff;
  animation: .5s steps(2, end) infinite blink;
}

.rh-miss {
  letter-spacing: 2px;
  color: var(--silver);
  font-size: .95rem;
}

.range-combo {
  z-index: 5;
  font-family: var(--font-display);
  color: var(--paper);
  letter-spacing: 1px;
  background: #0000008c;
  border: 1px solid #fff3;
  border-radius: 999px;
  padding: 4px 16px;
  font-weight: 700;
  animation: .3s pop;
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes pop {
  from {
    transform: translateX(-50%)scale(.6);
  }

  to {
    transform: translateX(-50%)scale(1);
  }
}

.range-field {
  z-index: 3;
  position: absolute;
  inset: 0;
}

.rtarget {
  cursor: pointer;
  background: none;
  border: none;
  width: 78px;
  height: 78px;
  padding: 0;
  animation: .32s cubic-bezier(.2, 1.4, .4, 1) both targetRise;
  position: absolute;
  transform: translate(-50%, -50%);
}

.rtarget img {
  object-fit: contain;
  filter: drop-shadow(0 4px 7px #000000b3);
  pointer-events: none;
  width: 100%;
  height: 100%;
}

@keyframes targetRise {
  from {
    opacity: 0;
    transform: translate(-50%, -50%)scale(.4);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%)scale(1);
  }
}

.rtarget.hit {
  pointer-events: none;
  animation: .26s ease-out forwards targetShatter;
}

@keyframes targetShatter {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%)scale(1)rotate(0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%)scale(1.6)rotate(20deg);
  }
}

.range-gun-wrap {
  z-index: 4;
  transform-origin: 50% 95%;
  pointer-events: none;
  width: min(64vw, 300px);
  transition: transform 90ms ease-out;
  position: absolute;
  bottom: -8%;
  left: 50%;
}

.range-gun-sway {
  animation: 3.4s ease-in-out infinite gunSway;
}

@keyframes gunSway {
  0%, 100% {
    transform: translate(0)rotate(0);
  }

  50% {
    transform: translate(4px, -7px)rotate(1deg);
  }
}

.range-gun-kick {
  transform-origin: 50% 100%;
}

.range-gun-kick.kick {
  animation: .22s cubic-bezier(.2, 1.3, .4, 1) gunRecoil;
}

@keyframes gunRecoil {
  0% {
    transform: translateY(0)scale(1)rotate(0);
  }

  30% {
    transform: translateY(26px)scale(1.07)rotate(-3deg);
  }

  60% {
    transform: translateY(-4px)scale(.99)rotate(1deg);
  }

  100% {
    transform: translateY(0)scale(1)rotate(0);
  }
}

.range-gun {
  aspect-ratio: 360 / 416;
  filter: grayscale() drop-shadow(0 -2px 12px #000000a6);
  background-image: url("/range-gun-sheet.png");
  background-repeat: no-repeat;
  background-size: 1000% 100%;
  width: 100%;
  display: block;
}

.crosshair {
  z-index: 5;
  pointer-events: none;
  width: 72px;
  height: 72px;
  animation: 1.6s ease-in-out infinite crossPulse;
  position: absolute;
  transform: translate(-50%, -50%);
}

.crosshair:before {
  content: "";
  border: 3px solid #fff;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  box-shadow: 0 0 0 2px #0009, 0 0 10px #000000b3, inset 0 0 8px #0006;
}

.crosshair:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px #0009, 0 0 6px #fffc;
}

.crosshair i {
  transform-origin: 50%;
  background: #fff;
  width: 3px;
  height: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 0 1px #0009;
}

.crosshair i:first-child {
  transform: translate(-50%, -50%)translateY(-34px);
}

.crosshair i:nth-child(2) {
  transform: translate(-50%, -50%)translateY(34px);
}

.crosshair i:nth-child(3) {
  transform: translate(-50%, -50%)translateX(-34px)rotate(90deg);
}

.crosshair i:nth-child(4) {
  transform: translate(-50%, -50%)translateX(34px)rotate(90deg);
}

@keyframes crossPulse {
  0%, 100% {
    transform: translate(-50%, -50%)scale(1);
  }

  50% {
    transform: translate(-50%, -50%)scale(1.08);
  }
}

.hit-flash {
  z-index: 6;
  pointer-events: none;
  background: radial-gradient(circle, #fff 0%, #fff9 40%, #0000 70%);
  width: 54px;
  height: 54px;
  animation: .2s ease-out forwards flash;
  position: absolute;
  transform: translate(-50%, -50%);
}

.hit-burst {
  z-index: 7;
  pointer-events: none;
  width: 0;
  height: 0;
  position: absolute;
  transform: translate(-50%, -50%);
}

.hit-burst i {
  width: 5px;
  height: 12px;
  transform: rotate(var(--a)) translateY(0);
  background: #f3eee0;
  border: 1px solid #000;
  border-radius: 2px;
  margin: -6px 0 0 -2.5px;
  animation: .5s cubic-bezier(.2, .8, .3, 1) forwards shardFly;
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes shardFly {
  0% {
    opacity: 1;
    transform: rotate(var(--a)) translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(-46px) scale(.5);
  }
}

.range-shots {
  z-index: 5;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.tracer {
  stroke: #fff;
  stroke-width: .7px;
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px #ffffffe6);
  vector-effect: non-scaling-stroke;
  animation: .34s ease-out forwards tracerFade;
}

@keyframes tracerFade {
  0% {
    opacity: 1;
    stroke-width: 2px;
  }

  100% {
    opacity: 0;
    stroke-width: .4px;
  }
}

.muzzle-flash {
  z-index: 6;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  pointer-events: none;
  background: radial-gradient(circle, #fff 0% 28%, #ffffff80 50%, #0000 70%);
  width: 60px;
  height: 60px;
  animation: .18s ease-out forwards flash;
  position: absolute;
  transform: translate(-50%, -50%);
}

@keyframes flash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%)scale(.3)rotate(0);
  }

  35% {
    opacity: 1;
    transform: translate(-50%, -50%)scale(1.1)rotate(25deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%)scale(.6)rotate(40deg);
  }
}

.range-pop {
  z-index: 6;
  font-family: var(--font-display);
  color: #fff;
  text-shadow: 0 0 8px #ffffffb3, 1px 1px #000;
  pointer-events: none;
  font-size: 1.3rem;
  font-weight: 700;
  animation: .7s ease-out forwards popUp;
  position: fixed;
  transform: translate(-50%);
}

@keyframes popUp {
  0% {
    opacity: 0;
    transform: translate(-50%)scale(.6);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -42px)scale(1.1);
  }
}

.range-overlay {
  z-index: 10;
  text-align: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #06060ad1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 26px 18px;
  display: flex;
  position: absolute;
  inset: 0;
}

.range-overlay.light {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(#06060a59, #06060ab3);
  justify-content: flex-end;
  padding-bottom: 16%;
}

.range-overlay .osub {
  font-family: var(--font-read);
  color: var(--paper);
  max-width: 320px;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.55;
}

.range-sketch {
  border: 3px solid var(--paper);
  filter: grayscale();
  border-radius: 6px;
  width: min(86vw, 440px);
  height: auto;
  box-shadow: 0 12px 26px #000000b3;
}

.range-overlay .big-score {
  color: var(--paper);
  font-size: 2.6rem;
  font-weight: 700;
}

.range-overlay .big-btn {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(#fff, #d8d6cf);
  border: 3px solid #000;
  border-radius: 12px;
  padding: 12px 36px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 4px 5px #000;
}

.safe {
  z-index: 44;
  background: radial-gradient(circle at 50% 38%, #1e1e2499, #0000 70%), #08080b;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 24px 18px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.safe-title {
  font-family: var(--font-display);
  letter-spacing: 3px;
  color: var(--paper);
  text-shadow: 3px 3px #000;
  font-size: 1.7rem;
  font-weight: 700;
}

.safe-sub {
  font-family: var(--font-type);
  letter-spacing: 1px;
  color: var(--silver);
  font-size: .72rem;
}

.safe-frame {
  aspect-ratio: 1;
  cursor: pointer;
  filter: drop-shadow(0 16px 34px #000c);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  width: min(86vw, 400px);
  position: relative;
}

.safe-face {
  filter: grayscale() contrast(1.2) brightness(1.02);
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.safe-frame:before {
  content: "";
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay;
  background: radial-gradient(at 22% 18%, #ffffff38, #0000 45%), radial-gradient(at 80% 90%, #00000059, #0000 50%);
  border-radius: 6%;
  position: absolute;
  inset: 0;
}

.safe-frame:after {
  content: "";
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
  opacity: .5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'><g stroke='black' stroke-linecap='round' fill='none' opacity='0.4'><line x1='40' y1='62' x2='118' y2='76' stroke-width='0.7'/><line x1='258' y1='48' x2='332' y2='64' stroke-width='0.8'/><line x1='62' y1='245' x2='130' y2='256' stroke-width='0.7'/><line x1='280' y1='290' x2='350' y2='305' stroke-width='0.9'/><line x1='160' y1='340' x2='210' y2='348' stroke-width='0.6'/></g></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border-radius: 6%;
  position: absolute;
  inset: 0;
}

.safe-well {
  z-index: 3;
  width: 39.6%;
  height: 39.6%;
  position: absolute;
  top: 30.1%;
  left: 30.2%;
}

.safe-target {
  fill: none;
  stroke: #fff;
  stroke-width: 16px;
  stroke-linecap: butt;
  filter: drop-shadow(0 0 12px #fffffff2);
  animation: 1s ease-in-out infinite safeTargetPulse;
}

@keyframes safeTargetPulse {
  0%, 100% {
    opacity: .75;
  }

  50% {
    opacity: 1;
  }
}

.safe-grip {
  stroke: #fff6;
  stroke-width: 2px;
  stroke-linecap: round;
}

.safe-pointer {
  fill: #f3eee0;
  stroke: #000;
  stroke-width: 2px;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px #000c);
}

.safe-marker {
  fill: #fff;
  stroke: #000;
  stroke-width: 2px;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px #fffc);
}

.safe-shine {
  fill: #ffffff29;
}

.safe-hub {
  fill: #1a1a1e;
  stroke: #aaa;
  stroke-width: 2px;
}

.coin-burst {
  z-index: 200;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.coin-fly {
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  animation: .85s cubic-bezier(.5, 0, .4, 1) forwards coinFly;
  display: flex;
  position: fixed;
  top: 20px;
  right: 20px;
}

.coin-fly img {
  filter: drop-shadow(0 4px 8px #0009);
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes coinFly {
  0% {
    opacity: 0;
    transform: translate(calc(-50vw + 50px + var(--sx)), calc(50vh - 50px + var(--sy))) scale(.4) rotate(0deg);
  }

  18% {
    opacity: 1;
    transform: translate(calc(-50vw + 50px + var(--sx)), calc(50vh - 50px + var(--sy))) scale(1.15) rotate(20deg);
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: .4;
    transform: translate(0)scale(.5)rotate(360deg);
  }
}

.safe-tut {
  z-index: 40;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  text-align: center;
  background: #000000c7;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 24px;
  animation: .25s fade;
  display: flex;
  position: absolute;
  inset: 0;
}

.safe-tut h3 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: var(--paper);
  text-shadow: 2px 2px #000;
  font-size: 1.6rem;
  font-weight: 700;
}

.safe-tut p {
  font-family: var(--font-read);
  color: var(--paper);
  max-width: 320px;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.55;
}

.safe-tut .arrow {
  border: 3px solid var(--paper);
  width: 80px;
  height: 80px;
  color: var(--paper);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  animation: 1.3s ease-in-out infinite tutPulse;
  display: flex;
}

@keyframes tutPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 #ffffff80;
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 14px #fff0;
  }
}

.safe-tumblers {
  gap: 12px;
  display: flex;
}

.safe-tumblers .tb {
  background: #2a2a2e;
  border: 2px solid #55555c;
  border-radius: 50%;
  width: 16px;
  height: 16px;
}

.safe-tumblers .tb.on {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 12px #fffc;
}

.safe-loot {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 700;
}

.lock-btn {
  width: 110px;
  height: 110px;
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
  background: radial-gradient(circle at 30% 25%, #fff 0% 55%, #c8c6bf 100%);
  border: 4px solid #000;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 80ms, box-shadow 80ms;
  animation: 1.4s ease-in-out infinite lockPulse;
  display: inline-flex;
  transform: rotate(-3deg);
  box-shadow: 0 6px #000, 0 8px 22px #0000008c;
}

.lock-btn:after {
  content: "";
  pointer-events: none;
  border: 2px solid #ffffffb3;
  border-radius: 50%;
  animation: 1.4s ease-out infinite lockRing;
  position: absolute;
  inset: -8px;
}

.lock-btn {
  position: relative;
}

.lock-btn:active {
  animation: none;
  transform: rotate(-3deg)translateY(5px);
  box-shadow: 0 1px #000, 0 2px 8px #00000080;
}

.lock-btn:disabled {
  opacity: .4;
  cursor: default;
  animation: none;
  box-shadow: 0 3px #000, 0 4px 10px #0006;
}

.lock-btn:disabled:after {
  display: none;
}

@keyframes lockPulse {
  0%, 100% {
    transform: rotate(-3deg)translateY(0);
  }

  50% {
    transform: rotate(-3deg)translateY(-3px);
  }
}

@keyframes lockRing {
  0% {
    opacity: .9;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

.safe-result {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: .32s cubic-bezier(.22, 1.4, .4, 1) both cardIn;
  display: flex;
}

.safe-result h3 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: var(--paper);
  text-shadow: 0 0 18px #fff6, 2px 2px #000;
  font-size: 1.5rem;
  font-weight: 700;
}

.safe-result.fail h3 {
  text-shadow: 2px 2px #000;
  color: var(--silver);
}

.comic {
  z-index: 45;
  cursor: pointer;
  background: radial-gradient(circle at 50% 40%, #1e1e2499, #0000 70%), #08080b;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px 18px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.comic-stage {
  width: min(92vw, 440px);
}

.comic-frame {
  border: 3px solid var(--paper);
  background: #000;
  border-radius: 6px;
  width: 100%;
  animation: .5s both comicIn;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 44px #000000d9;
}

@keyframes comicIn {
  from {
    opacity: 0;
    transform: translateY(12px)scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.comic-img {
  transform-origin: 50% 45%;
  width: 100%;
  height: auto;
  animation: 7s ease-out both kenburns;
  display: block;
}

@keyframes kenburns {
  from {
    transform: scale(1.13);
  }

  to {
    transform: scale(1);
  }
}

.comic-cap {
  background: linear-gradient(#0000, #000000e0 45%);
  padding: 26px 16px 14px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.comic-cap p {
  font-family: var(--font-type);
  color: var(--paper);
  text-shadow: 0 2px 5px #000;
  font-size: .94rem;
  line-height: 1.5;
  animation: .55s .3s both capIn;
}

@keyframes capIn {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.comic-dots {
  gap: 8px;
  display: flex;
}

.comic-dots span {
  background: #ffffff38;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  transition: all .3s;
}

.comic-dots span.on {
  background: var(--paper);
  transform: scale(1.3);
}

.comic-skip {
  padding: 8px 22px !important;
  font-size: .82rem !important;
}

.comic-hint {
  font-family: var(--font-type);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel);
  font-size: .66rem;
  animation: 1.7s ease-in-out infinite blink;
}

@keyframes blink {
  0%, 100% {
    opacity: .4;
  }

  50% {
    opacity: .9;
  }
}

.busted-art {
  border: 2px solid var(--paper);
  border-radius: 6px;
  width: 100%;
  max-width: 232px;
  animation: .4s cubic-bezier(.22, 1.4, .4, 1) both cardIn;
  box-shadow: 0 6px 18px #0009;
}

.osub.quip {
  color: var(--paper);
  font-style: italic;
}

.stars {
  justify-content: center;
  gap: 8px;
  display: flex;
}

.stars .star {
  color: #3a3a3d;
  text-shadow: 0 2px 3px #0009;
  font-size: 2.2rem;
  line-height: 1;
}

.stars .star.on {
  color: #fff;
  text-shadow: 0 0 14px #ffffffd9, 0 2px 3px #000;
  animation: .45s cubic-bezier(.2, 1.5, .4, 1) both starPop;
}

@keyframes starPop {
  0% {
    opacity: 0;
    transform: scale(0)rotate(-30deg);
  }

  70% {
    transform: scale(1.3)rotate(8deg);
  }

  100% {
    opacity: 1;
    transform: scale(1)rotate(0);
  }
}

button:disabled {
  opacity: .4;
  cursor: default;
  box-shadow: none;
}

button.ghost:disabled:hover {
  box-shadow: none;
  filter: none;
  transform: none;
}

.jb-jobstars {
  gap: 2px;
  font-size: .78rem;
  display: flex;
}

.jb-jobstars .s {
  color: #0000002e;
}

.jb-jobstars .s.on {
  color: #caa53a;
}

.jb-item.locked .jb-jobstars .s {
  color: #ffffff24;
}

.topbar {
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  min-height: 44px;
  display: flex;
}

.back-btn {
  font-family: var(--font-type);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--paper);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  cursor: pointer;
  background: #121218b3;
  border: 1px solid #ffffff38;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: .72rem;
  box-shadow: 0 4px 12px #0006;
}

.back-btn:hover {
  filter: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px #00000080;
}

.back-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px #00000080;
}

.jobsign {
  background: linear-gradient(#fff, #d9d7d0);
  border: 3.5px solid #000;
  border-radius: 9px;
  flex-direction: column;
  align-items: center;
  padding: 8px 22px 9px;
  display: flex;
  position: relative;
  transform: rotate(-2.5deg);
  box-shadow: 4px 5px #000, inset 0 2px #fffc;
}

.jobsign:before, .jobsign:after {
  content: "";
  background: radial-gradient(circle at 35% 30%, #6c6a66, #0c0c0e);
  border: 1.5px solid #000;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 5px;
}

.jobsign:before {
  left: 7px;
}

.jobsign:after {
  right: 7px;
}

.jobsign-num {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  color: #0c0c0e;
  -webkit-text-stroke: .4px #000;
  font-size: 1.1rem;
  font-weight: 700;
}

.jobsign-num i {
  color: var(--steel);
  font-size: .86rem;
  font-style: normal;
}

.jobsign-name {
  font-family: var(--font-display);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b03a2e;
  font-size: .64rem;
  font-weight: 700;
}

.jobboard {
  z-index: 42;
  background: radial-gradient(circle at 50% 35%, #1e1e248c, #0000 70%), #08080b;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 26px 18px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.jb-title {
  font-family: var(--font-display);
  letter-spacing: 3px;
  color: var(--paper);
  text-shadow: 3px 3px #000;
  font-size: 1.8rem;
  font-weight: 700;
}

.jb-sub {
  font-family: var(--font-type);
  letter-spacing: 1px;
  color: var(--silver);
  margin-bottom: 8px;
  font-size: .74rem;
}

.jb-list {
  flex-direction: column;
  gap: 9px;
  width: 100%;
  max-width: 340px;
  margin-bottom: 8px;
  display: flex;
}

.jb-item {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  background: linear-gradient(#fff, #e4e2da);
  border: 2.5px solid #000;
  border-radius: 12px;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  display: grid;
  box-shadow: 4px 4px #000;
}

.jb-item:hover {
  transform: translateY(-2px);
  box-shadow: 5px 6px #000;
}

.jb-item:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px #000;
}

.jb-item.cur {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
}

.jb-item.locked {
  color: var(--steel);
  box-shadow: none;
  cursor: default;
  background: #ffffff0d;
  border-color: #ffffff2e;
}

.jb-item.locked:hover {
  box-shadow: none;
  transform: none;
}

.jb-num {
  letter-spacing: 1px;
  opacity: .55;
  font-size: 1.2rem;
  font-weight: 700;
}

.jb-name {
  flex-direction: column;
  gap: 2px;
  font-size: 1.02rem;
  font-weight: 700;
  display: flex;
}

.jb-item.district {
  grid-template-columns: auto 1fr auto;
}

.jb-meta {
  font-family: var(--font-read);
  color: var(--steel);
  letter-spacing: 0;
  font-size: .74rem;
  font-weight: 500;
}

.jb-item.district.locked .jb-meta {
  color: var(--steel);
}

.jb-pips {
  letter-spacing: 1px;
  color: #b03a2e;
  font-size: .5rem;
}

.jb-pips i {
  color: #0000002e;
  font-style: normal;
}

.jb-item.locked .jb-pips {
  color: var(--steel);
}

.jb-item.locked .jb-pips i {
  color: #ffffff1f;
}

.jb-stat {
  font-size: 1.05rem;
  font-weight: 700;
}

.prop {
  pointer-events: none;
  filter: grayscale() brightness(.95) drop-shadow(0 4px 6px #0009);
  opacity: .55;
  position: absolute;
}

.p-lamp {
  opacity: .6;
  height: clamp(96px, 27vmin, 200px);
  top: 1%;
  right: 4%;
}

.p-hydrant {
  height: clamp(46px, 12vmin, 92px);
  bottom: 7%;
  left: 5%;
}

.p-trash {
  height: clamp(40px, 10vmin, 78px);
  bottom: 6%;
  right: 6%;
}

.p-manhole {
  opacity: .4;
  width: clamp(64px, 18vmin, 130px);
  bottom: 2%;
  left: 36%;
}

.cash-burst {
  width: 100%;
  height: 50px;
  position: relative;
}

.cash-burst .bill {
  font-family: var(--font-display);
  color: #0c0c0e;
  text-align: center;
  opacity: 0;
  background: linear-gradient(#fff, #d8d6cf);
  border: 1.5px solid #000;
  border-radius: 3px;
  width: 26px;
  height: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 16px;
  animation: 1.1s ease-out forwards billFly;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px #00000080;
}

@keyframes billFly {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%)scale(.4)rotate(0);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(1) rotate(var(--br));
  }
}

.btns {
  gap: 10px;
  display: flex;
}

.btns .bi {
  vertical-align: -.12em;
  margin-inline-end: 3px;
  font-size: 1.5em;
  line-height: 1;
  display: inline-block;
}

button {
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(#fff, #e4e2da);
  border: 2.5px solid #000;
  border-radius: 12px;
  padding: 11px 26px;
  font-size: .95rem;
  font-weight: 700;
  transition: transform .1s, box-shadow .1s, filter .1s;
  box-shadow: 4px 4px #000;
}

button:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 5px 6px #000;
}

button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px #000;
}

button.ghost {
  color: var(--paper);
  border-color: var(--silver);
  background: none;
  box-shadow: 4px 4px #0009;
}

.tip {
  font-family: var(--font-read);
  color: var(--silver);
  text-align: center;
  max-width: 320px;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
}

.tip b {
  color: var(--paper);
}

.overlay {
  z-index: 50;
  -webkit-backdrop-filter: blur(3px);
  background: #06060ab8;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 14px;
  animation: .25s fade;
  display: flex;
  position: absolute;
  inset: 0;
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.card {
  text-align: center;
  border: 2.5px solid var(--paper);
  background: linear-gradient(#1a1a1e, #0e0e12);
  border-radius: 14px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  padding: 26px 22px;
  animation: .32s cubic-bezier(.22, 1.4, .4, 1) both cardIn;
  display: flex;
  box-shadow: 0 12px 34px #000000b3;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.card-emoji {
  filter: drop-shadow(0 3px 6px #0009);
  font-size: 2.6rem;
  line-height: 1;
  animation: .5s .1s both emojiPop;
}

@keyframes emojiPop {
  0% {
    transform: scale(0)rotate(-15deg);
  }

  70% {
    transform: scale(1.2)rotate(6deg);
  }

  100% {
    transform: scale(1)rotate(0);
  }
}

.card h2 {
  font-family: var(--font-display);
  letter-spacing: 2px;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.card.won {
  border-color: #fff;
}

.card h2.won {
  color: var(--paper);
  text-shadow: 0 0 22px #ffffff73;
}

.card h2.won.stamp {
  letter-spacing: 3px;
  -webkit-text-stroke: 1px #000;
  font-size: 2.5rem;
  line-height: .92;
  animation: .5s cubic-bezier(.2, 1.3, .3, 1) both stampSlam;
}

@keyframes stampSlam {
  0% {
    opacity: 0;
    filter: blur(4px);
    transform: scale(2.6)rotate(-12deg);
  }

  55% {
    opacity: 1;
    filter: blur();
    transform: scale(.92)rotate(-4deg);
  }

  70% {
    transform: scale(1.04)rotate(-3deg);
  }

  100% {
    opacity: 1;
    transform: scale(1)rotate(-3deg);
  }
}

.win-flash {
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, #ffffffd9, #0000 60%);
  animation: .45s ease-out forwards winFlash;
  position: absolute;
  inset: -40%;
}

@keyframes winFlash {
  0% {
    opacity: 0;
    transform: scale(.4);
  }

  25% {
    opacity: .9;
  }

  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.card.lost {
  border-color: #d8d6cf;
}

.card h2.lost {
  color: var(--paper);
  text-shadow: 2px 2px #000;
}

.osub {
  font-family: var(--font-type);
  color: var(--silver);
  font-size: .8rem;
  line-height: 1.5;
}

.osub b {
  color: var(--paper);
}

.osub.small {
  font-size: .72rem;
}

.card button {
  margin-top: 4px;
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/