@font-face {
  font-family: Space;
  src: url("../public/SpaceGrotesk.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Pixel;
  src: url("../public/PixelifySans.ttf") format("truetype");
  font-display: swap;
}
:root {
  --ink: #344642;
  --muted: #839085;
  --paper: #fffbed;
  --line: #a3ae96;
  --sage: #dce3ce;
  --gold: #efd08c;
  --coral: #df9276;
  --shadow: #53665026;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: Space, Arial, sans-serif;
  color: var(--ink);
  background: #bdcbb4;
}
button,
a,
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #c18e62;
  outline-offset: 4px;
}
svg {
  display: block;
  width: 100%;
  height: 100%;
}
[data-icon] {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#game {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}
#map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: none;
  cursor: crosshair;
}
.game-header {
  position: absolute;
  inset: 20px 24px auto;
  pointer-events: none;
  z-index: 10;
}
.game-header button,
.game-header a {
  pointer-events: auto;
}
.brand {
  border: 0;
  background: none;
  padding: 0;
  display: block;
  width: 254px;
  height: 100px;
  filter: drop-shadow(0 3px 0 #53665020);
}
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header-right {
  position: absolute;
  right: 0;
  top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.instagram-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--shadow);
  font-size: 12px;
  font-weight: 600;
}
.instagram-link > [data-icon]:first-child {
  color: #bd765c;
}
.external-icon {
  width: 13px;
  height: 13px;
  color: #96a08a;
  margin-left: 3px;
}
.instagram-link:hover {
  background: #fff3d4;
}
.my-account {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 45px;
  padding: 5px 10px 5px 4px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--shadow);
  font-size: 12px;
}
.my-account canvas {
  width: 30px;
  height: 40px;
  image-rendering: pixelated;
  background: #e7e8d2;
  border-radius: 9px;
}
.my-account [data-icon] {
  width: 14px;
}
.company-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0 10px;
}
.day-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  min-width: 100px;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #b38c56;
  border-radius: 14px;
  background: #ffe2a0;
  box-shadow: 0 3px 0 #a8824833;
  color: #214b57;
  font: 650 28px Fredoka, Space, sans-serif;
}
.room-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 48px);
  flex-wrap: wrap;
  background: #fffbedd9;
  border: 1px solid #a9b49b;
  border-radius: 30px;
  padding: 7px 11px;
  font-size: 10px;
  margin: 0;
  backdrop-filter: blur(8px);
}
.room-stats [data-icon] {
  width: 15px;
  height: 15px;
}
.room-stats i {
  width: 2px;
  height: 12px;
  background: #d1d7c1;
  margin: 0 1px;
}
.room-stats b {
  font-weight: 600;
}
.online-count {
  display: flex;
  align-items: center;
  gap: 5px;
}
.online-count:before,
.live-dot {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78a477;
  box-shadow: 0 0 0 3px #78a47718;
}
.online-count.disconnected:before {
  background: #c0a25e;
}
.join-panel {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 326px;
  border: 1.5px solid #889c83;
  border-radius: 24px;
  padding: 17px 24px 22px;
  background: #fffbedf7;
  box-shadow:
    0 7px 0 #66816140,
    0 22px 45px #52634c20;
  z-index: 11;
  backdrop-filter: blur(9px);
}
.entry-illustration {
  height: 100px;
  margin-top: -4px;
  display: flex;
  justify-content: center;
}
.entry-illustration canvas {
  width: 210px;
  height: 103px;
  image-rendering: pixelated;
}
h1 {
  font-size: 31px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin: 6px 0 24px;
  font-weight: 700;
}
.join-panel h1 {
  text-align: center;
  font-size: 32px;
  margin: 0 0 23px;
}
.join-panel label,
dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #697b6b;
  margin: 14px 0;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap [data-icon] {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 17px;
  color: #a3ae95;
}
.input-wrap input {
  padding-left: 39px;
}
input:not([type="range"]) {
  display: block;
  width: 100%;
  border: 1.5px solid #c0c9ad;
  border-radius: 11px;
  padding: 12px 13px;
  background: #fffef6;
  color: var(--ink);
  font-size: 14px;
  outline-offset: 2px;
  min-height: 45px;
}
input::placeholder {
  color: #a2aa95;
}
.primary,
.secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1.5px solid #9a8d60;
  padding: 12px 15px;
  min-height: 43px;
  font-weight: 600;
  font-size: 12px;
  background: var(--gold);
  box-shadow: 0 3px 0 #ae955a40;
}
.primary:hover {
  background: #f6d99e;
}
.primary [data-icon] {
  width: 17px;
  height: 17px;
}
.secondary {
  background: #edf0dc;
  border-color: #a8b69a;
  box-shadow: 0 2px 0 #9caf8e25;
}
.secondary:hover {
  background: #e4eacb;
}
.account-submit {
  width: 100%;
  margin-top: 21px;
}
.text-link {
  border: 0;
  padding: 0;
  background: none;
  font-size: 10px;
  color: #85937e;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.recover-link {
  display: block;
  margin: 17px auto 0;
}
.account-feedback {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: #73906b;
}
.account-feedback:empty {
  display: none;
}
.account-feedback.error {
  color: #ad6151;
}
.people-panels {
  position: absolute;
  right: 24px;
  top: 140px;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100dvh - 250px);
  overflow: auto;
  padding-bottom: 5px;
  scrollbar-width: thin;
  z-index: 7;
}
.recent-panel {
  background: #fffbeded;
  border: 1.5px solid #a0ae91;
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--shadow);
  padding: 12px;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
}
.recent-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 3px 12px;
  border-bottom: 1px solid #dce1c9;
}
.recent-heading h2 {
  font-size: 13px;
  letter-spacing: -0.2px;
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}
.recent-icon {
  color: #bf9672;
  width: 19px;
  height: 19px;
}
.people-total {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 7px;
  background: #deedda;
  color: #39685a;
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.interview-panel .recent-icon {
  color: #ac793b;
}
.interview-panel .people-total,
.interview-panel .recent-face {
  background: #f5e5bf;
  color: #87602f;
}
.interview-panel .recent-face i {
  background: #c49a50;
}
.recent-list {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
  gap: 3px;
  max-height: min(24dvh, 240px);
  overflow: auto;
  scrollbar-width: thin;
}
.recent-person {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  padding: 5px;
  background: none;
  text-align: left;
  min-width: 0;
}
.recent-person:hover {
  background: #e9edd7;
}
.recent-face {
  width: 34px;
  height: 38px;
  border-radius: 11px;
  background: #e8ebd8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.recent-face canvas {
  width: 28px;
  height: 37px;
  image-rendering: pixelated;
}
.recent-face i {
  position: absolute;
  bottom: 3px;
  right: 0;
  width: 6px;
  height: 6px;
  border: 1px solid #fffbed;
  border-radius: 50%;
  background: #a9b4a1;
}
.recent-person.online .recent-face i {
  background: #6b9b69;
}
.recent-name {
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recent-empty {
  margin: 9px 0 4px;
  padding: 12px 4px;
  text-align: center;
  color: #8f9b81;
  font-size: 11px;
}
.search-bar {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 252px;
  max-width: 30%;
  padding: 7px 10px 7px 13px;
  background: #fffbedef;
  border: 1.5px solid #a4b396;
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--shadow);
  z-index: 9;
}
.search-bar > [data-icon] {
  color: #a2ad92;
  width: 18px;
  height: 18px;
}
.search-bar input {
  border: 0;
  background: none !important;
  padding: 4px 0 !important;
  min-height: 24px !important;
  font-size: 11px;
  width: 100%;
  min-width: 0;
}
.search-bar button {
  background: none;
  border: 0;
  border-left: 1px solid #d2d9c2;
  padding: 3px 0 3px 8px;
  color: #829979;
}
.search-bar button [data-icon] {
  width: 18px;
  height: 18px;
}
.search-results {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid #9cad90;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 4px 18px #51644a24;
}
.search-results button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 0;
  text-align: left;
  font-size: 11px;
}
.search-results button:hover {
  background: #e5ead4;
}
.search-results p {
  padding: 10px;
  font-size: 11px;
}
.emote-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  border: 1.5px solid #a1ae90;
  border-radius: 17px;
  background: #fffbedee;
  box-shadow: 0 3px 0 var(--shadow);
  padding: 5px;
  z-index: 8;
}
.emote-controls button {
  border: 0;
  background: none;
  border-radius: 11px;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 10px;
}
.emote-controls button > [data-icon] {
  width: 18px;
  height: 18px;
  color: #70866f;
}
.emote-controls button:hover,
.emote-controls button.active {
  background: #ecdaab;
}
.emote-controls button.active > [data-icon] {
  color: #a17d46;
}
.emote-controls kbd {
  font:
    8px Space,
    sans-serif;
  color: #acb09a;
}
.view-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 6px;
  z-index: 8;
}
.round-button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #a4b397;
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 3px 0 var(--shadow);
  padding: 9px;
  color: #7a9076;
}
.round-button:hover {
  background: #e9eed7;
}
.round-button.playing {
  color: #b7884b;
  background: #f7e5b7;
}
.employee-popover {
  position: absolute;
  left: 24px;
  bottom: 86px;
  width: 248px;
  z-index: 12;
  background: var(--paper);
  border: 1.5px solid #a0af92;
  border-radius: 17px;
  padding: 17px;
  box-shadow: 0 5px 0 var(--shadow);
}
.popover-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #8a9780;
}
.popover-heading .close {
  position: static;
  width: 24px;
  height: 24px;
  font-size: 18px;
}
.popover-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 17px;
}
.popover-person canvas {
  width: 48px;
  height: 64px;
  image-rendering: pixelated;
}
.popover-person h3 {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.popover-person small {
  color: #8c9c83;
  font-size: 10px;
}
.employee-popover .secondary {
  width: 100%;
  font-size: 10px;
}
.recovery-ticket {
  position: absolute;
  bottom: 85px;
  left: 24px;
  width: 285px;
  background: var(--paper);
  border: 1.5px solid #c2a572;
  border-radius: 15px;
  padding: 16px;
  z-index: 14;
  box-shadow: 0 4px 0 #a78f5e25;
}
.recovery-ticket .close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 23px;
  height: 23px;
}
.recovery-ticket h2 {
  font-size: 12px;
  margin: 0 0 9px;
}
.recovery-ticket p {
  font-size: 10px;
  color: #87927d;
  margin: 8px 0;
}
.recovery-ticket code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  background: #f0efd9;
  padding: 8px;
  border-radius: 7px;
}
.recovery-ticket .text-link {
  margin-top: 4px;
}
dialog {
  position: fixed;
  border: 1.5px solid #91a187;
  border-radius: 23px;
  background: var(--paper);
  color: var(--ink);
  box-shadow:
    0 7px 0 #53665035,
    0 22px 90px #364b3a25;
  padding: 29px;
  width: 350px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 42px);
  overflow: auto;
}
dialog::backdrop {
  background: #4c5b4c55;
  backdrop-filter: blur(5px);
}
dialog h1 {
  font-size: 27px;
  margin-top: 7px;
  margin-right: 24px;
}
dialog .primary,
dialog .secondary {
  width: 100%;
  margin-top: 12px;
}
.close {
  position: absolute;
  right: 13px;
  top: 13px;
  border: 0;
  background: #e9edda;
  color: #899780;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  line-height: 1;
  font-size: 21px;
  font-weight: 400;
  padding: 0;
}
.profile-hero {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 5px 0 20px;
}
.profile-hero canvas {
  width: 72px;
  height: 96px;
  image-rendering: pixelated;
  background: #e8ecd9;
  border-radius: 18px;
}
.profile-hero h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.profile-hero small {
  color: #8d9b84;
  font-size: 11px;
}
.profile-grid {
  display: grid;
  gap: 8px;
}
.profile-grid .secondary {
  margin: 0;
  justify-content: flex-start;
  font-size: 11px;
}
.profile-grid .secondary > [data-icon] {
  width: 18px;
  height: 18px;
}
.sign-out {
  display: block;
  margin: 22px auto 0;
}
.board-progress {
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -1px;
  padding: 5px 0 12px;
}
.board-progress span {
  color: #a4af93;
  font-size: 21px;
}
.board-intro,
.fineprint,
.controls-note {
  color: #85937d;
  font-size: 10px;
  line-height: 1.6;
}
.board-roster {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 15px;
}
.board-roster button {
  border: 0;
  background: #ecf0dc;
  display: flex;
  padding: 10px;
  gap: 12px;
  border-radius: 10px;
  text-align: left;
  font-size: 11px;
}
.board-roster b {
  color: #b18b52;
}
.dm-code-panel {
  background: #edf0dc;
  border: 1px dashed #afba99;
  padding: 14px;
  margin: 20px 0;
  border-radius: 11px;
}
.dm-code-panel code {
  font-size: 20px;
  letter-spacing: 1px;
}
.dm-code-panel p {
  font-size: 10px;
  line-height: 1.7;
  margin: 5px 0;
  color: #85937c;
}
.account-dialog p {
  font-size: 11px;
  line-height: 1.7;
  color: #7a8d76;
}
.badge-dialog {
  width: 320px;
  padding: 15px;
}
.badge-dialog img {
  display: block;
  width: 100%;
  margin-top: 15px;
}
.settings-dialog label {
  margin: 24px 0 18px;
}
.settings-dialog input[type="range"] {
  accent-color: #839875;
  width: 100%;
}
.settings-row {
  display: flex;
  gap: 8px;
}
.settings-row .secondary {
  font-size: 10px;
  padding: 10px;
  min-height: 39px;
}
.settings-row [data-icon] {
  width: 16px;
  height: 16px;
}
.controls-note {
  font-size: 9px;
  margin: 20px 0 0;
}
.toast {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  background: #fffbed;
  border: 1px solid #a0ae91;
  box-shadow: 0 3px 0 var(--shadow);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 11px;
  max-width: calc(100% - 32px);
  z-index: 30;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 1000px) {
  .people-panels {
    width: 185px;
    right: 18px;
  }
  .recent-name {
    font-size: 10px;
  }
  .game-header {
    left: 18px;
    right: 18px;
  }
  .brand {
    width: 225px;
    height: 88px;
  }
  .emote-controls button {
    padding: 7px;
  }
  .emote-controls kbd {
    display: none;
  }
  .search-bar {
    left: 18px;
    width: 205px;
  }
  .view-controls {
    right: 18px;
    gap: 5px;
  }
  .round-button {
    width: 34px;
    height: 36px;
    padding: 8px;
  }
  .my-account span#my-handle {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 700px) {
  .game-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  .brand {
    width: 190px;
    height: 80px;
  }
  .header-right {
    top: 7px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .instagram-link {
    padding: 10px;
    border-radius: 12px;
    width: 40px;
    height: 40px;
  }
  .instagram-link > span:not([data-icon]),
  .instagram-link .external-icon {
    display: none;
  }
  .my-account {
    height: 38px;
    padding: 3px;
    width: 40px;
    justify-content: center;
    border-radius: 12px;
  }
  .my-account canvas {
    width: 24px;
    height: 32px;
    border-radius: 8px;
  }
  .my-account > span {
    display: none;
  }
  .room-stats {
    font-size: 9px;
    gap: 6px;
    padding: 6px 9px;
    max-width: calc(100vw - 110px);
  }
  .company-status {
    margin: 18px 0 0 3px;
    gap: 7px;
  }
  .day-badge {
    min-width: 72px;
    height: 44px;
    padding: 0 10px;
    font-size: 23px;
  }
  .people-panels {
    top: 166px;
    right: 12px;
    width: 146px;
    gap: 8px;
  }
  .recent-panel {
    padding: 8px;
    border-radius: 14px;
  }
  .recent-heading {
    padding: 1px 1px 8px;
    gap: 4px;
  }
  .recent-heading h2 {
    font-size: 10px;
  }
  .recent-icon {
    width: 16px;
    height: 16px;
  }
  .people-total {
    padding: 2px 4px;
    font-size: 9px;
  }
  .recent-list {
    max-height: 88px;
    gap: 1px;
    padding-top: 4px;
  }
  .recent-person {
    padding: 4px 0;
    gap: 6px;
  }
  .recent-face {
    width: 28px;
    height: 32px;
    border-radius: 9px;
  }
  .recent-face canvas {
    width: 24px;
    height: 32px;
  }
  .recent-name {
    font-size: 9px;
  }
  .recent-empty {
    font-size: 9px;
    padding: 5px;
  }
  .join-panel {
    top: 120px;
    transform: translateX(-50%);
    width: 310px;
    max-height: calc(100dvh - 196px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 13px 23px 20px;
    border-radius: 22px;
  }
  .entry-illustration {
    height: 83px;
  }
  .entry-illustration canvas {
    width: 178px;
    height: 88px;
  }
  .join-panel h1 {
    font-size: 30px;
    margin-bottom: 19px;
  }
  .join-panel label {
    margin: 12px 0;
    font-size: 10px;
  }
  input:not([type="range"]) {
    font-size: 16px;
    min-height: 44px;
  }
  .account-submit {
    margin-top: 17px;
  }
  .recover-link {
    margin-top: 16px;
  }
  .search-bar {
    left: 12px;
    bottom: 16px;
    width: calc(100% - 24px);
    max-width: none;
    border-radius: 13px;
    padding: 8px 12px;
  }
  .search-bar input {
    font-size: 12px;
  }
  .emote-controls {
    bottom: 78px;
    left: 12px;
    transform: none;
    gap: 2px;
    padding: 4px;
    border-radius: 14px;
  }
  .emote-controls button {
    gap: 5px;
    padding: 8px;
    font-size: 9px;
  }
  .emote-controls button > [data-icon] {
    height: 17px;
    width: 17px;
  }
  .view-controls {
    right: 12px;
    bottom: 78px;
    flex-direction: column;
    gap: 6px;
  }
  .round-button {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }
  .employee-popover {
    left: 12px;
    bottom: 142px;
    width: 231px;
  }
  .recovery-ticket {
    left: 12px;
    bottom: 140px;
    width: 270px;
  }
  .toast {
    bottom: 135px;
    font-size: 10px;
  }
  .room-stats i {
    height: 10px;
  }
  .room-stats [data-icon] {
    width: 13px;
    height: 13px;
  }
}
@media (max-width: 360px) {
  .brand {
    width: 172px;
    height: 75px;
  }
  .room-stats {
    font-size: 8px;
    gap: 5px;
  }
  .join-panel {
    width: 286px;
    padding: 12px 20px 18px;
  }
  .people-panels {
    width: 132px;
  }
  .recent-name {
    font-size: 8px;
  }
  .emote-controls button {
    padding: 7px;
    font-size: 8px;
  }
  .emote-controls button > [data-icon] {
    width: 15px;
    height: 15px;
  }
}
@media (max-height: 680px) {
  .join-panel {
    top: 54%;
    padding-top: 8px;
    padding-bottom: 15px;
  }
  .entry-illustration {
    height: 57px;
  }
  .entry-illustration canvas {
    width: 145px;
    height: 71px;
  }
  .join-panel h1 {
    font-size: 25px;
    margin-bottom: 12px;
  }
  .join-panel label {
    margin: 9px 0;
  }
  .recover-link {
    margin-top: 12px;
  }
  .people-panels {
    max-height: calc(100dvh - 250px);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.input-wrap input:not([type="range"]) {
  padding-left: 39px;
}

body.guest .view-controls button:not(#music-toggle) {
  display: none;
}
@media (max-width: 700px) {
  body.guest .recent-list {
    max-height: 44px;
  }
}
.day-notice {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  background: #fffae9e8;
  border: 1px solid #a7b393;
  border-radius: 24px;
  padding: 10px 15px;
  box-shadow: 0 3px 0 #61745215;
  font-size: 12px;
  font-weight: 600;
}
.notice-sun {
  color: #b78c43;
  font-size: 18px;
  line-height: 1;
}
.legal-links {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 10px;
  color: #465c48;
}
.legal-links a {
  padding: 2px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-legal {
  font-size: 10px;
  line-height: 1.5;
  color: #768370;
  margin: 12px 0 0;
  text-align: center;
}
.entry-legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.danger-link {
  color: #a25a4a;
}
.danger-button {
  background: #da987f;
}
.deletion-receipt {
  padding: 12px;
  border: 1px dashed #a4af97;
  border-radius: 10px;
  font: 12px monospace;
  overflow-wrap: anywhere;
}
#deletion-form {
  display: grid;
  gap: 16px;
}
@media (max-width: 1000px) {
  .day-notice {
    top: 102px;
  }
}
@media (max-width: 600px) {
  .day-notice {
    top: 97px;
    font-size: 10px;
    padding: 7px 11px;
    gap: 7px;
    left: 12px;
    transform: none;
  }
  .legal-links {
    font-size: 9px;
    gap: 7px;
  }
  .join-panel {
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
#day-notice-short {
  display: none;
}
@media (max-width: 600px) {
  .day-notice {
    top: 128px;
    max-width: 160px;
    font-size: 10px;
    padding: 8px 10px;
  }
  #day-notice-text,
  .day-notice .notice-sun,
  .day-notice > span:last-child {
    display: none;
  }
  #day-notice-short {
    display: inline;
  }
}
.entry-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 3px 0 18px;
  color: #6a7d65;
}
.entry-handle .text-link {
  font-size: 10px;
  padding: 4px;
}
.entry-recovery-note {
  font-size: 12px;
  line-height: 1.65;
  color: #71816b;
  margin: 0 0 18px;
}
.account-progress {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #efd18f;
  color: #725a30;
  min-width: 28px;
  height: 23px;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 10px;
  white-space: nowrap;
}
.account-progress.complete {
  background: #d4e6c8;
  color: #49764e;
}
.account-setup {
  margin: 0 0 18px;
  border: 1px solid #c6d0b3;
  border-radius: 15px;
  background: #f4f5e8;
  padding: 12px;
}
.setup-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin: 0 2px 10px;
}
.setup-heading > span {
  font-size: 10px;
  color: #7f8d71;
}
.setup-step {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  background: none;
  border: 0;
  text-align: left;
  color: var(--ink);
}
.setup-step + .setup-step {
  border-top: 1px solid #d6dec6;
}
.setup-step > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.setup-step b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.setup-step small {
  display: block;
  font-size: 10px;
  color: #849176;
  margin-top: 4px;
  line-height: 1.4;
}
.setup-step:disabled {
  cursor: default;
  opacity: 0.6;
}
.setup-step.done {
  opacity: 1;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid #b8c3a6;
  background: #fffbeb;
  font-size: 12px;
  color: #9b7e49;
}
.done .step-number {
  background: #dcebd1;
  color: #567d53;
  border-color: #b4c8a5;
}
#password-setup-form {
  display: grid;
  gap: 16px;
}
@media (max-width: 600px) {
  .my-account .account-progress {
    min-width: 23px;
    height: 21px;
    padding: 2px 4px;
    font-size: 9px;
  }
  .account-setup {
    padding: 10px;
  }
  .setup-step small {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .my-account {
    width: auto;
    min-width: 65px;
    gap: 5px;
    padding: 3px 6px;
  }
  .my-account canvas {
    flex-shrink: 0;
  }
}
.setup-recovery {
  margin: -5px 0 18px;
  border: 1px dashed #c3ad7a;
  border-radius: 12px;
  padding: 12px;
  background: #fbf2d7;
}
.setup-recovery strong {
  display: block;
  font-size: 11px;
}
.setup-recovery code {
  display: block;
  font-size: 10px;
  overflow-wrap: anywhere;
  margin: 8px 0;
  user-select: all;
}
.setup-recovery small {
  display: block;
  font-size: 9px;
  color: #8d8d70;
  line-height: 1.5;
}
.setup-recovery .text-link {
  font-size: 10px;
  margin-top: 6px;
}
.account-actions .sign-out {
  margin: 0;
}
/* The map stays visible; finding yourself and today's vote are one tap away. */
.find-me-main {
  position: absolute;
  left: 24px;
  bottom: 80px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1.5px solid #8eaa8b;
  border-radius: 13px;
  background: #e7edda;
  color: #496e55;
  box-shadow: 0 3px 0 var(--shadow);
  font-size: 12px;
  font-weight: 600;
}
.find-me-main:hover {
  background: #d6e5cb;
}
.poll-trigger {
  z-index: 10;
  cursor: pointer;
  color: var(--ink);
}
.poll-trigger [data-icon] {
  color: #a77f40;
  width: 20px;
  height: 20px;
}
#poll-trigger-time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #8a7850;
}
#poll-trigger-time:empty {
  display: none;
}
.poll-dialog {
  width: 458px;
  padding: 27px;
}
.poll-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}
.poll-stamp,
.poll-hero-icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 13px;
  background: #e7d8a7;
  color: #92713c;
}
.poll-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #8a8e73;
}
.poll-eyebrow span {
  padding: 0 5px;
  color: #b7b798;
}
.poll-dialog h1 {
  font-size: 27px;
  line-height: 1.22;
  margin: 0 12px 20px 0;
  letter-spacing: -0.7px;
}
.poll-hero-icon {
  margin: 5px 0 18px;
}
.poll-clock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  background: #f0efdf;
  border-radius: 13px;
  margin-bottom: 19px;
}
.poll-clock > div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #7d896f;
}
.poll-clock [data-icon] {
  width: 17px;
  height: 17px;
}
.poll-digits {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.poll-digits > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.poll-digits b {
  font:
    600 19px/1 Space,
    sans-serif;
  font-variant-numeric: tabular-nums;
  color: #526952;
}
.poll-digits small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #9ca285;
}
.poll-digits i {
  font-style: normal;
  color: #adb397;
  line-height: 17px;
}
.poll-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.poll-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 13px;
  gap: 9px;
  border: 1.5px solid #cdd4bb;
  background: #fffcf2;
  color: var(--ink);
  border-radius: 15px;
  text-align: left;
}
.poll-option:hover:not(:disabled) {
  background: #f1f3e5;
  border-color: #95ad8a;
}
.poll-option.selected {
  border-color: #719278;
  background: #eaf0df;
  box-shadow: inset 0 0 0 0.5px #719278;
}
.poll-option:disabled {
  opacity: 1;
  cursor: default;
}
.poll-option-art {
  width: 45px;
  height: 43px;
  border-radius: 12px;
  padding: 9px;
  display: grid;
  place-items: center;
}
.poll-option-art [data-icon] {
  width: 27px;
  height: 27px;
}
.art-0 {
  background: #eadfc6;
  color: #9d7a4f;
}
.art-1 {
  background: #e0deed;
  color: #8f84a9;
}
.art-2 {
  background: #dce8d0;
  color: #78966a;
}
.art-3 {
  background: #f0d9c4;
  color: #b78962;
}
.poll-option-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
  padding-right: 4px;
}
.poll-choice-mark {
  position: absolute;
  top: 13px;
  right: 12px;
  width: 17px;
  height: 17px;
  border: 1px solid #c3cbb2;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #fffbed;
}
.selected .poll-choice-mark {
  background: #6b8e70;
  border-color: #6b8e70;
}
.poll-percent {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.poll-bar {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: #e6e9db;
  overflow: hidden;
}
.poll-bar i {
  display: block;
  background: #87a57d;
  height: 100%;
  border-radius: inherit;
  transition: width 0.25s;
}
.poll-option-votes {
  font-size: 9px;
  color: #829077;
}
.poll-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 15px 0 10px;
  font-size: 9px;
  color: #94a084;
}
.poll-total {
  display: flex;
  align-items: center;
  gap: 5px;
}
.poll-total [data-icon] {
  width: 14px;
  height: 14px;
}
.poll-gate,
.poll-counted {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 17px 0 0;
  font-size: 12px;
  color: #7e876b;
  text-align: center;
}
.poll-gate [data-icon] {
  width: 15px;
  height: 15px;
}
.poll-counted {
  color: #658661;
  background: #e8efdc;
  padding: 13px;
  border-radius: 11px;
}
.poll-counted > span {
  border-radius: 50%;
  background: #7c9c6f;
  color: #fffbed;
  padding: 2px 5px;
}
.poll-note {
  font-size: 10px;
  color: #929c82;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 0;
}
#poll-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}
#poll-submit:disabled {
  cursor: default;
}
.poll-feedback {
  font-size: 11px;
  color: #a05e4d;
  text-align: center;
  line-height: 1.5;
  margin: 10px 0 0;
}
.poll-feedback:empty {
  display: none;
}
.poll-result-note {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 14px;
  background: #e5ecd8;
  color: #647f5e;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 17px;
}
@media (max-width: 1000px) {
  .find-me-main {
    left: 18px;
  }
}
@media (max-width: 700px) {
  body:not(.guest) .search-bar {
    width: calc(100% - 136px);
  }
  .find-me-main {
    left: auto;
    right: 12px;
    bottom: 16px;
    min-height: 50px;
    padding: 10px 12px;
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .poll-trigger {
    max-width: calc(100% - 208px);
    gap: 6px;
    font-size: 10px;
    padding: 9px 10px;
  }
  .poll-trigger [data-icon] {
    display: none;
  }
  #poll-trigger-time {
    font-size: 9px;
  }
  .poll-dialog {
    padding: 22px 20px;
  }
  .poll-heading {
    margin-bottom: 14px;
  }
  .poll-dialog h1 {
    font-size: 25px;
    margin-bottom: 17px;
  }
}
@media (max-width: 360px) {
  .poll-trigger {
    max-width: 160px;
    flex-wrap: wrap;
    row-gap: 3px;
  }
  .poll-dialog {
    padding: 20px 16px;
  }
  .poll-clock {
    padding: 12px 10px;
    gap: 6px;
  }
  .poll-clock > div:first-child {
    font-size: 10px;
    gap: 5px;
  }
  .poll-digits {
    gap: 5px;
  }
  .poll-option {
    padding: 11px;
  }
}
#poll-trigger-time {
  display: inline;
}
#poll-trigger-time:empty {
  display: none;
}

/* Sweet Arcade material pass: crisp ink, warm paper and enamel accents. */
@font-face{font-family:Fredoka;src:url('../public/Fredoka.ttf') format('truetype');font-weight:300 700;font-display:swap}
:root{--ink:#173848;--muted:#708c87;--paper:#fff5dc;--line:#628f86;--sage:#d8efcd;--gold:#ffca78;--coral:#f88d76;--shadow:#315c632b}
body{background:#c8e9bd}
h1,h2,.join-panel h1,.dialog-heading h1{font-family:Fredoka,Space,sans-serif;font-weight:650;letter-spacing:-.5px}
.join-panel h1{font-size:36px;color:#214b57}
.join-panel{background:#fff6e4f5;border:2px solid #3b7378;box-shadow:0 6px 0 #568f8250,0 22px 50px #315f6124}
.instagram-link,.my-account,.recent-panel,.day-notice,.emote-controls,.find-me-main,.world-controls button,.search-bar{border-color:#5f9388;background:#fff6e4f2;box-shadow:0 3px 0 #45776c35}
.primary,.account-submit{background:#ffad83;border-color:#a86654;color:#203f4b;box-shadow:0 4px 0 #b77c5d55;font-weight:700}
.primary:hover,.account-submit:hover{background:#ffbd91}
.secondary{background:#d9efcd;border-color:#76a58c}
button{transition:background-color .14s,box-shadow .14s}
button:active{box-shadow:0 1px 0 #315c6330}
input:not([type=range]){border-color:#a6c4a8;background:#fffdf2;color:#214650}
input:not([type=range]):focus{outline-color:#f2946c;border-color:#b37a57}
.my-account canvas,.recent-face{background:#d8edc7}
.room-stats{background:#fff7e4e8;border-color:#78a28b;color:#2a5961}
.room-stats i{background:#b9d4b6}
.poll-trigger{background:#ffe7ac;border-color:#c49b5e}
.emote-controls button.active{background:#ffcf86;border-color:#cc975e}
.emote-controls button:hover{background:#e0f0d1}
dialog{background:#fff6e3;border-color:#5c9089;box-shadow:0 8px 0 #3f756346,0 24px 80px #1c454650}
.poll-option{background:#fffcef;border-color:#bfd1b2}
.poll-option:hover{background:#e3f3d8}
.poll-countdown{background:#e7f0d2}
.recent-heading{color:#2b6265}
.live-dot,.online-count:before{background:#49aa88;box-shadow:0 0 0 3px #70c69b22}
@media(prefers-reduced-motion:reduce){button{transition:none}}
/* Follower placement: hiring steps, interview card and public stats. */
.joined-stat,
.interview-stat,
.ghost-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ghost-stat {
  gap: 8px;
  color: #6f8796;
}
.ghost-stat[hidden] {
  display: none;
}
.hire-lede {
  margin: -14px 0 16px;
  text-align: center;
  font-size: 12px;
  color: #697b6b;
}
.hire-steps,
.interview-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hire-step {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 10px;
}
.hire-step .primary,
.hire-step .secondary {
  width: 100%;
  margin: 0;
  text-decoration: none;
  color: var(--ink);
}
.step-n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #a8b69a;
  font-size: 11px;
  font-weight: 700;
  color: #697b6b;
  background: #fffef6;
}
.hire-step.done .step-n {
  background: #78a477;
  border-color: #5f8d5e;
  color: #fffbed;
  font-size: 0;
}
.hire-step.done .step-n::after {
  content: "✓";
  font-size: 12px;
}
.hire-note {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: #697b6b;
  text-align: center;
}
.interview-steps li {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 12px;
  color: #8a968a;
}
.interview-steps li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid #b8c2a8;
  transform: translateY(1px);
}
.interview-steps li.done {
  color: var(--ink);
}
.interview-steps li.done::before {
  background: #78a477;
  border-color: #5f8d5e;
}
.interview-steps li.waiting {
  color: var(--ink);
  font-weight: 600;
}
.interview-steps li.waiting::before {
  background: var(--gold);
  border-color: #b9994f;
}
.interview-steps small {
  font-weight: 400;
  color: #8a968a;
}
.ghost-person canvas {
  opacity: 0.6;
  filter: saturate(0.4) brightness(1.15);
}
.interview-look {
  width: 100%;
  margin-top: 10px;
}
.character-choice {
  border: 0;
  padding: 0;
  margin: 12px 0 16px;
  min-width: 0;
}
.character-choice legend {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.character-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.character-options label {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.character-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.character-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1.5px solid #b9c9aa;
  border-radius: 13px;
  background: #fffbed;
  color: #476461;
  font-size: 12px;
}
.character-option canvas {
  width: 30px;
  height: 43px;
  image-rendering: pixelated;
}
.character-options input:checked + .character-option {
  border-color: #398d84;
  background: #e0f1d3;
  box-shadow: 0 2px 0 #398d8430;
}
.character-options input:focus-visible + .character-option {
  outline: 3px solid #c18e62;
  outline-offset: 3px;
}
.profile-character {
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 15px;
  border: 1px solid #c6d0b3;
  background: #f4f5e8;
}
.profile-character .character-choice {
  margin: 0 0 12px;
}
.profile-character > button {
  width: 100%;
}
.poll-deadline {
  margin: -4px 0 16px;
  text-align: center;
  color: #697b6b;
  font-size: 12px;
}
@media (max-width: 600px) {
  .day-notice {
    top: 166px;
  }
  .join-panel {
    top: 166px;
    max-height: calc(100dvh - 242px);
  }
}
