/* The 3D farm's Go to menu (world-nav.js) and the chip shown while the camera follows someone. */
.world-nav {
  position: absolute;
  right: 76px;
  bottom: 150px;
  z-index: 6;
  width: min(330px, calc(100vw - 24px));
  max-height: min(70vh, 620px);
  overflow: auto;
  padding: 10px 12px 12px;
  border: 1px solid #ffffff40;
  border-radius: 10px;
  background: #14291ef2;
  color: #f5f3ea;
  box-shadow: 0 14px 40px #0007;
  font-size: 13px;
}
.world-nav.hidden,
.follow-chip.hidden {
  display: none;
}
.world-nav header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.world-nav header b {
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 12px;
  color: #e4b860;
}
.world-nav .wn-x {
  background: none;
  border: 0;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
}
.world-nav h4 {
  margin: 10px 0 4px;
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ffffffa0;
}
.wn-list {
  display: grid;
  gap: 2px;
}
.wn-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 6px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.wn-item:hover,
.wn-item:focus-visible {
  background: #ffffff1a;
  outline: none;
}
.wn-item.on {
  background: #e4b86033;
}
.wn-ico {
  width: 22px;
  text-align: center;
  font-size: 16px;
}
.wn-item span:nth-child(2) {
  flex: 1;
  display: grid;
  line-height: 1.2;
}
.wn-item small {
  color: #ffffffa8;
  font-size: 11.5px;
}
.wn-item em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #b5d334;
  color: #14291e;
}
.wn-style,
.wn-views {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.wn-style {
  margin-top: 8px;
}
.wn-style span {
  font-size: 11.5px;
  color: #ffffffa8;
  margin-right: 2px;
}
.wn-style button,
.wn-views button {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #ffffff50;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.wn-style button.on,
.wn-style button:hover,
.wn-views button:hover {
  background: #e4b860;
  border-color: #e4b860;
  color: #14291e;
}
.wn-note {
  margin: 10px 0 0;
  font-size: 11px;
  color: #ffffff90;
  line-height: 1.6;
}
.wn-note kbd {
  padding: 0 4px;
  border: 1px solid #ffffff50;
  border-radius: 3px;
  font: inherit;
}
.follow-chip {
  position: absolute;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 12px;
  border-radius: 999px;
  border: 1px solid #b5d334;
  background: #14291ee6;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 24px #0005;
  white-space: nowrap;
}
.follow-chip button {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ffffff50;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.follow-chip button[data-stop] {
  background: #b5d334;
  border-color: #b5d334;
  color: #14291e;
  font-weight: 700;
}
body:not(.playing) .follow-chip,
body.farm-mode .follow-chip,
body.farm-mode .world-nav {
  display: none;
}
@media (max-width: 700px) {
  .world-nav {
    left: 8px;
    right: 8px;
    bottom: 96px;
    width: auto;
    max-height: 60vh;
  }
  .follow-chip {
    top: 54px;
    font-size: 12px;
  }
  .wn-note {
    display: none;
  }
}
