* {
  box-sizing: border-box;
}
html,
body,
#game {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #b7d8c5;
  font-family: Inter, "Segoe UI", sans-serif;
}
#game {
  position: relative;
}
#unity-canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: #b7d8c5;
  outline: 0;
}
.loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #d6e5d4, #a9c8b0);
  color: #31533d;
  transition: opacity 0.45s;
}
.loader-mark {
  font:
    800 48px Georgia,
    serif;
  letter-spacing: -0.1em;
  color: #294834;
}
.loader-mark span {
  color: #b79a62;
}
.loading p {
  margin: 24px 0 28px;
  font:
    500 13px "Segoe UI",
    sans-serif;
  letter-spacing: 0.12em;
}
.progress-track {
  width: min(270px, 65vw);
  height: 3px;
  background: #31533d28;
  border-radius: 9px;
  overflow: hidden;
}
.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #708e61;
  transition: width 0.15s;
}
.loading small {
  margin-top: 12px;
  color: #526d56;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.load-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: #d6e5d4;
  color: #294834;
}
.load-error[hidden] {
  display: none;
}
.load-error p {
  color: #526d56;
}
.load-error button {
  justify-self: center;
  border: 0;
  border-radius: 99px;
  padding: 12px 22px;
  background: #294834;
  color: white;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .loading,
  .progress-track span {
    transition: none;
  }
}

#unity-canvas {
  touch-action: none;
}
.world-toolbar {
  position: absolute;
  z-index: 5;
  top: max(14px, env(safe-area-inset-top));
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  height: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
  border: 1px solid #ffffff58;
  border-radius: 18px;
  background: #173d2fc9;
  color: #f7f4e7;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px #14281c29;
  pointer-events: auto;
}
.world-brand {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f5edda;
  color: #254634;
  text-decoration: none;
  font:
    800 20px Georgia,
    serif;
  letter-spacing: -0.1em;
}
.world-brand span {
  color: #a8874d;
}
.world-area {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.88;
}
.world-actions {
  display: flex;
  gap: 8px;
}
.world-toolbar wa-button::part(base) {
  --wa-color-neutral-0: #ffffff0b;
  --wa-color-neutral-100: #ffffff17;
  --wa-color-neutral-200: #ffffff3a;
  color: #fff;
  border-color: #ffffff47;
  border-radius: 12px;
}
.world-toolbar wa-button::part(label) {
  font-weight: 650;
}
.touch-controls {
  display: none;
}
.drawer-intro {
  color: #586b57;
  line-height: 1.6;
}
.destination-list {
  display: grid;
  gap: 10px;
}
.destination-list wa-button {
  width: 100%;
}
.destination-list wa-button::part(base) {
  width: 100%;
  justify-content: space-between;
  border-radius: 14px;
  padding: 14px;
  color: #294834;
  border-color: #d4dece;
}
.destination-list wa-button span {
  margin-right: auto;
  margin-left: 14px;
  font-weight: 650;
}
.destination-list wa-button:first-letter {
  color: #89987e;
}
.controls-copy {
  display: grid;
  gap: 5px;
}
.controls-copy p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 13px 4px;
  border-bottom: 1px solid #e7e8de;
}
.controls-copy b {
  color: #31533d;
}
.controls-copy span {
  color: #687664;
}
.touch-stick {
  touch-action: none;
  position: absolute;
  left: max(22px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  width: 138px;
  height: 138px;
  border: 1px solid #ffffff85;
  border-radius: 50%;
  background: #ffffff2b;
  box-shadow:
    inset 0 0 0 11px #ffffff0c,
    0 8px 25px #15291f26;
  display: grid;
  place-items: center;
}
.stick-thumb {
  width: 54px;
  height: 54px;
  border: 1px solid #ffffffb8;
  border-radius: 50%;
  background: linear-gradient(145deg, #f6f0d9df, #d9e5c8c9);
  box-shadow: 0 4px 12px #132b1f50;
  transform: translate(0, 0);
}
.touch-controls wa-button {
  position: absolute;
}
.touch-controls wa-button::part(base) {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 21px;
  background: #173d2fce;
  color: #fff;
  border-color: #ffffff85;
  box-shadow: 0 6px 20px #15291f35;
  touch-action: none;
}
.touch-controls .touch-interact {
  right: max(24px, env(safe-area-inset-right));
  bottom: max(32px, env(safe-area-inset-bottom));
}
.touch-controls .touch-interact::part(base) {
  width: 70px;
  height: 70px;
  background: #c9a962ed;
  color: #233a2b;
  border-color: #f8e8b8;
}
