:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #f4f0e8;
  background: #152125;
  font-synthesis: none;
  --cream: #ede5d7;
  --orange: #edb579;
  --ink: #192220;
  --muted: #a5b1ad;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  border: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
input,
select {
  color: var(--cream);
  background: #26312e;
  border: 1px solid #4a5550;
  border-radius: 4px;
  padding: 12px;
  width: 100%;
  outline: none;
}
input:focus {
  border-color: var(--orange);
}
[hidden] {
  display: none !important;
}
#world,
#vignette {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
#vignette {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 20, 22, 0.74), transparent 68%),
    linear-gradient(0deg, rgba(10, 20, 22, 0.65), transparent 24%);
}
#landing {
  position: fixed;
  inset: 0;
  padding: 30px 4.2vw;
}
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 1.5px;
}
.hub-link {
  font-weight: 800;
}
.hub-link span {
  font-weight: 400;
  color: #bec5c0;
  margin-left: 10px;
}
.edition {
  font-size: 10px;
}
.edition i,
.live-dot:before,
.map-box i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b3c496;
  border-radius: 50%;
  margin-right: 7px;
}
.quiet {
  background: transparent;
  font-size: 10px;
  letter-spacing: 1px;
  color: #ddd8ca;
}
.intro {
  position: absolute;
  left: 4.2vw;
  top: 17%;
  max-width: 55%;
}
.eyebrow {
  display: flex;
  gap: 27px;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #c6c7b9;
}
.eyebrow b {
  color: var(--orange);
  font-weight: 500;
}
h1 {
  font-size: clamp(76px, 9.5vw, 150px);
  font-weight: 900;
  line-height: 0.83;
  letter-spacing: -7px;
  margin: 31px 0 26px;
  color: #f1e9d8;
}
h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
h1 em span {
  font-size: 18px;
  letter-spacing: 0;
  position: absolute;
  right: -24px;
  top: 4px;
  font-weight: 400;
}
.tagline {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: #e2ded3;
}
.tagline strong {
  font-weight: 400;
  color: #b6c0b9;
}
.intro-details {
  display: flex;
  gap: 23px;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #c0c6bc;
  margin-top: 29px;
}
.start-card {
  position: absolute;
  right: 4.2vw;
  top: 15%;
  width: 350px;
  padding: 24px;
  background: rgba(23, 34, 31, 0.94);
  border: 1px solid #72807366;
  border-radius: 8px;
  box-shadow: 0 20px 80px #0b161a55;
  backdrop-filter: blur(18px);
}
.card-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #b7c2b6;
}
.live-dot:before {
  content: "";
  width: 4px;
  height: 4px;
}
.step {
  color: #edb579;
}
.start-card h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 18px 0 10px;
}
.start-card p {
  font-size: 12px;
  line-height: 1.6;
  color: #b5bcb3;
  margin: 0 0 16px;
}
.boroughs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 18px;
}
.borough-choice {
  position: relative;
  text-align: left;
  padding: 12px 10px;
  background: #2c3731;
  border: 1px solid #4d5b50;
  border-radius: 3px;
  font-size: 12px;
  color: #d7ded1;
  transition: 0.2s;
}
.borough-choice:first-child {
  grid-column: span 2;
}
.borough-choice .route {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--borough);
  color: #223128;
  font-weight: 700;
  font-size: 10px;
  margin-right: 8px;
}
.borough-choice small {
  display: none;
  font-size: 10px;
  color: #a7b4a7;
  margin-top: 6px;
}
.borough-choice.selected {
  border-color: #edb579;
  background: #524c39;
  color: #ffe3b7;
}
.borough-choice.selected:after {
  content: "↗";
  position: absolute;
  right: 12px;
  top: 15px;
}
.borough-choice:first-child small {
  display: block;
}
.name-label {
  font-size: 8px;
  letter-spacing: 1.6px;
  display: block;
  margin-bottom: 8px;
  color: #b6c3b8;
}
.start-card input {
  font-size: 12px;
  padding: 11px;
  background: #1c2823;
}
.primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--orange);
  color: #293127;
  padding: 15px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
  margin: 13px 0 10px;
  border-radius: 3px;
}
.primary:hover {
  background: #ffd2a0;
}
.primary span {
  font-size: 19px;
}
.session-note {
  text-align: center;
  color: #b8c4b5;
  font-size: 10px;
  line-height: 1.5;
}
.google {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 14px 0 9px;
  margin-top: 10px;
  border-top: 1px solid #4d5847;
}
.start-card .small-print {
  font-size: 9px;
  line-height: 1.5;
  color: #8e9a8c;
  margin: 0;
}
.landing-footer {
  position: absolute;
  bottom: 26px;
  left: 4.2vw;
  right: 4.2vw;
  display: flex;
  justify-content: space-between;
  color: #b4bcb3;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.hud-top {
  position: fixed;
  left: 26px;
  right: 26px;
  top: 24px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hud-top button,
.hud-top a {
  pointer-events: auto;
}
.place {
  display: flex;
  gap: 14px;
  align-items: center;
  text-shadow: 0 2px 12px #142021;
}
.monogram {
  font-size: 29px;
  font-weight: 900;
  background: #192522e6;
  padding: 12px;
  border: 1px solid #bac9aa44;
  border-radius: 5px;
  color: var(--orange);
  letter-spacing: -3px;
}
.monogram span {
  font-size: 10px;
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 2px;
}
.place small {
  font-size: 8px;
  letter-spacing: 2px;
  color: #f0d3a9;
}
.place h2 {
  font-size: 22px;
  margin: 3px 0;
  font-weight: 500;
}
.place #online {
  font-size: 10px;
  color: #d0d8c5;
}
.hud-status {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 13px 17px;
  background: #182421ed;
  border: 1px solid #b4c5ae44;
  border-radius: 5px;
  height: 65px;
}
.cash span,
.time span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #acbba8;
}
.cash b {
  font-size: 23px;
  color: #efe6c9;
  font-weight: 500;
}
.time b {
  font-size: 17px;
  font-weight: 500;
}
.time span {
  margin-top: 5px;
}
.wanted {
  letter-spacing: 3px;
  color: #edb579;
  font-size: 18px;
}
.phone-button {
  background: #414b39;
  padding: 10px;
  border-radius: 4px;
  font-size: 19px;
}
.phone-button span {
  font-size: 9px;
  margin-left: 5px;
  vertical-align: middle;
}
.objective {
  position: fixed;
  top: 134px;
  left: 27px;
  width: 226px;
  padding: 17px;
  background: #192522e0;
  border-left: 2px solid #edb579;
  border-radius: 0 5px 5px 0;
}
.objective small {
  color: #d1b890;
  font-size: 8px;
  letter-spacing: 1.3px;
}
.objective h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0;
}
.objective p {
  font-size: 11px;
  line-height: 1.65;
  color: #bac6b6;
}
.objective button {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: none;
  border-top: 1px solid #77836844;
  padding: 11px 0 0;
  color: #f0c48e;
}
.map-box {
  position: fixed;
  left: 27px;
  bottom: 57px;
  width: 230px;
  background: #1b2824ef;
  border: 1px solid #bcc7b944;
  border-radius: 5px;
  overflow: hidden;
}
.map-box canvas {
  display: block;
  width: 100%;
  height: 180px;
}
.map-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  font-size: 8px;
  letter-spacing: 0.6px;
}
.map-box i {
  width: 4px;
  height: 4px;
}
.map-box button {
  background: transparent;
  color: #ecc68e;
  font-size: 10px;
}
.health-box {
  position: fixed;
  bottom: 30px;
  left: 28px;
  width: 228px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 8px;
  color: #e3e8d4;
  letter-spacing: 1px;
}
.health-box > div {
  height: 4px;
  flex: 1;
  background: #425140;
}
.health-box i {
  display: block;
  height: 4px;
  background: #b3c898;
  width: 100%;
  transition: width 0.3s;
}
.health-box b {
  font-weight: 400;
}
.interaction {
  position: fixed;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 20px;
  border: 1px solid #c1c7b644;
  background: #1e2925ee;
  border-radius: 5px;
  max-width: 40%;
  font-size: 12px;
}
.interaction kbd {
  background: #edb579;
  color: #233124;
  border: 0;
  padding: 5px 8px;
  font-weight: 700;
}
.controls {
  position: fixed;
  right: 27px;
  bottom: 28px;
  display: grid;
  gap: 7px;
  font-size: 9px;
  color: #dce2ce;
}
.controls span {
  display: flex;
  gap: 7px;
  align-items: center;
}
kbd {
  font: 9px monospace;
  padding: 3px 5px;
  border: 1px solid #aab99e88;
  border-radius: 3px;
  color: #edf1dc;
  background: #26322888;
}
.activity {
  position: fixed;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  background: #252f27ed;
  padding: 12px 22px;
  font-size: 12px;
  color: #edcb98;
  border: 1px solid #b9a77955;
  border-radius: 4px;
}
.waypoint {
  position: fixed;
  top: 155px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #ffe4ae;
  text-shadow: 0 2px 4px #000;
}
.chat-log {
  position: fixed;
  right: 27px;
  bottom: 210px;
  width: 285px;
  max-height: 170px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.chat-line {
  font-size: 11px;
  line-height: 1.6;
  background: #192522bc;
  padding: 4px 8px;
  border-radius: 3px;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #dce1ce;
}
.chat-line b {
  color: #efc894;
}
.chat-line.muted {
  display: none;
}
#chat-form {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  padding: 8px;
  background: #1b2723f5;
  z-index: 20;
  width: min(550px, 95vw);
  border: 1px solid #71836a;
  border-radius: 5px;
}
#chat-form select {
  width: 100px;
  font-size: 11px;
}
#chat-form input {
  min-width: 0;
  font-size: 12px;
}
#chat-form button {
  background: #e6b67b;
  color: #233426;
  font-size: 11px;
  padding: 8px;
}
#panel {
  position: fixed;
  right: 20px;
  top: 104px;
  bottom: 20px;
  width: 370px;
  border-radius: 9px;
  background: #182620fa;
  border: 1px solid #8d9c785f;
  box-shadow: 0 15px 80px #0008;
  z-index: 30;
  backdrop-filter: blur(15px);
  overflow-y: auto;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid #6f7f6144;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #bec9b3;
  position: sticky;
  top: 0;
  background: #1a2922;
  z-index: 1;
}
.panel-top button {
  background: none;
  font-size: 16px;
}
#panel-content {
  padding: 22px;
}
#panel h2 {
  font-size: 29px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -1px;
}
#panel p {
  font-size: 12px;
  line-height: 1.7;
  color: #bbc7ae;
}
#panel h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #d4bc90;
  margin: 26px 0 12px;
}
.row-button {
  background: #2c3c2f;
  border: 1px solid #72826750;
  border-radius: 4px;
  width: 100%;
  text-align: left;
  padding: 13px;
  margin-bottom: 7px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.row-button:hover {
  background: #42503a;
}
.row-button small {
  color: #b8c4aa;
  font-size: 10px;
}
.row-button.danger {
  color: #f2aa8d;
  background: #593a2b60;
  border-color: #b77b5866;
}
.row-button.selected {
  border-color: #edb579;
}
.panel-tabs {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.panel-tabs button {
  padding: 9px;
  background: #354331;
  border-radius: 4px;
  font-size: 10px;
}
.panel-tabs .selected {
  background: #edb579;
  color: #223228;
}
.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin: 18px 0;
}
.balance-grid div {
  background: #2f3c2d;
  padding: 12px 9px;
  border-radius: 4px;
}
.balance-grid small {
  display: block;
  font-size: 8px;
  color: #acbba1;
  margin-bottom: 9px;
}
.balance-grid b {
  font-size: 19px;
  color: #efcf99;
  font-weight: 400;
}
.note {
  font-size: 10px !important;
  color: #a9b99c !important;
  padding: 11px;
  border-left: 2px solid #728561;
  background: #283728;
}
.amount {
  margin: 10px 0 14px;
}
#bigmap {
  width: 100%;
  height: 280px;
  border: 1px solid #72826744;
  border-radius: 5px;
  background: #233a3b;
}
.tag {
  font-size: 9px;
  padding: 4px 6px;
  background: #3d4a32;
  border-radius: 3px;
  color: #d5d6b1;
}
#toast {
  position: fixed;
  left: 50%;
  top: 26px;
  transform: translate(-50%, -120px);
  max-width: min(540px, 90vw);
  background: #e9d5b0;
  color: #27352b;
  padding: 14px 20px;
  border-radius: 5px;
  box-shadow: 0 5px 30px #0003;
  z-index: 80;
  font-size: 12px;
  line-height: 1.5;
  transition: transform 0.25s;
  pointer-events: none;
}
#toast.show {
  transform: translate(-50%, 0);
}
#toast.error {
  background: #edb1a0;
}
#recovery {
  position: fixed;
  inset: 0;
  background: #15231bc9;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  font-size: 24px;
  padding: 35px;
}
#recovery small {
  font-size: 13px;
  max-width: 400px;
  line-height: 1.6;
  margin-top: 15px;
  color: #c5ceb6;
}
#touch-controls {
  display: none;
}
.interior-label {
  color: #e5c495;
}
@media (min-width: 1600px) {
  .start-card {
    width: 390px;
    padding: 30px;
  }
  .intro {
    top: 20%;
  }
  .start-card {
    top: 20%;
  }
  .borough-choice {
    padding: 14px 12px;
  }
}
@media (max-height: 770px) and (min-width: 801px) {
  .start-card {
    top: 12%;
    padding: 17px;
    width: 325px;
  }
  .start-card h2 {
    margin: 10px 0 6px;
  }
  .borough-choice {
    padding: 9px;
  }
  .boroughs {
    margin-bottom: 11px;
  }
  .start-card p {
    margin-bottom: 10px;
  }
  .primary {
    padding: 12px;
  }
  .google {
    padding: 9px 0;
  }
  .intro {
    top: 20%;
  }
  h1 {
    font-size: 108px;
  }
  .intro-details {
    margin-top: 16px;
  }
}
@media (max-width: 1000px) {
  .intro-details {
    display: none;
  }
  h1 {
    font-size: 95px;
  }
  .eyebrow {
    flex-direction: column;
    gap: 7px;
  }
  .start-card {
    right: 3vw;
    width: 325px;
  }
  .tagline {
    font-size: 15px;
  }
  .controls {
    display: none;
  }
  .hud-status {
    gap: 12px;
  }
  .wanted {
    font-size: 14px;
  }
  .objective {
    width: 190px;
  }
  .interaction {
    max-width: 55%;
    bottom: 36px;
  }
  .landing-footer span:nth-child(2) {
    display: none;
  }
}
@media (max-width: 700px) {
  #landing {
    overflow-y: auto;
    padding: 20px;
    display: block;
    background: linear-gradient(#14211b66, #14211be6);
  }
  .landing-nav {
    font-size: 9px;
  }
  .edition {
    display: none;
  }
  .intro {
    position: relative;
    top: auto;
    left: auto;
    max-width: 100%;
    padding: 38px 0 25px;
  }
  .eyebrow {
    font-size: 8px;
    flex-direction: row;
    gap: 15px;
  }
  h1 {
    font-size: 74px;
    letter-spacing: -4px;
    line-height: 0.86;
    margin: 23px 0 17px;
  }
  h1 br {
    display: none;
  }
  h1 em {
    margin-left: 10px;
  }
  h1 em span {
    font-size: 12px;
    right: -15px;
  }
  .tagline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
  }
  .start-card {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 430px;
    padding: 20px;
    margin: 0 auto 25px;
  }
  .landing-footer {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    font-size: 7px;
    gap: 15px;
    padding-bottom: 10px;
  }
  .hud-top {
    left: 12px;
    right: 12px;
    top: 12px;
  }
  .place {
    gap: 8px;
  }
  .monogram {
    font-size: 21px;
    padding: 9px;
  }
  .place h2 {
    font-size: 17px;
  }
  .place small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .place #online {
    font-size: 8px;
  }
  .hud-status {
    padding: 8px;
    gap: 8px;
    height: 56px;
  }
  .cash span {
    font-size: 6px;
  }
  .cash b {
    font-size: 17px;
  }
  .time {
    display: none;
  }
  .wanted {
    font-size: 12px;
    letter-spacing: 0;
  }
  .phone-button {
    padding: 7px;
    font-size: 20px;
  }
  .phone-button span {
    display: none;
  }
  .objective {
    left: 13px;
    top: 87px;
    width: 165px;
    padding: 12px;
  }
  .objective small {
    font-size: 7px;
  }
  .objective h3 {
    font-size: 15px;
    margin: 8px 0;
  }
  .objective p {
    font-size: 10px;
    margin: 7px 0;
  }
  .objective button {
    font-size: 9px;
  }
  .map-box {
    width: 125px;
    left: 13px;
    bottom: 175px;
  }
  .map-box canvas {
    height: 97px;
  }
  .map-box > div {
    padding: 6px;
    font-size: 6px;
  }
  .map-box b {
    font-size: 5px;
  }
  .map-box i {
    display: none;
  }
  .health-box {
    left: 13px;
    bottom: 157px;
    width: 125px;
    font-size: 7px;
  }
  .interaction {
    bottom: 20px;
    max-width: 90%;
    width: max-content;
    padding: 9px 12px;
    font-size: 10px;
  }
  .chat-log {
    right: 12px;
    bottom: 175px;
    width: 170px;
    max-height: 130px;
  }
  .chat-line {
    font-size: 9px;
  }
  #panel {
    inset: 78px 10px 12px;
    width: auto;
    max-width: 430px;
    margin-left: auto;
  }
  .activity {
    top: 77px;
    max-width: 85%;
    font-size: 10px;
    padding: 10px;
    width: max-content;
  }
  .waypoint {
    top: 120px;
    font-size: 10px;
  }
  .controls {
    display: none;
  }
  #touch-controls {
    display: flex;
    position: fixed;
    bottom: 68px;
    left: 13px;
    right: 13px;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
    pointer-events: none;
  }
  #touch-controls button {
    pointer-events: auto;
    touch-action: none;
    background: #23392dcc;
    border: 1px solid #b5c6a677;
    border-radius: 50%;
    height: 47px;
    width: 47px;
    color: #f1ddb5;
    font-size: 20px;
    user-select: none;
  }
  #touch-controls #touch-use {
    background: #d6b178e8;
    color: #23382b;
  }
  .dpad {
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(3, 38px);
    grid-template-rows: repeat(2, 38px);
    gap: 3px;
  }
  .dpad button {
    height: 38px !important;
    width: 38px !important;
    border-radius: 8px !important;
  }
  .dpad button:first-child {
    grid-column: 2;
  }
  .dpad button:nth-child(2) {
    grid-column: 1;
  }
  #chat-form {
    bottom: 125px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#hud button,
#hud a,
#hud input,
#hud select,
#chat-form {
  pointer-events: auto;
}
