@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;700;800&display=swap";

/* src/client/styles.css */
:root {
  color: #293e34;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background: #e9ebdc;
  font-family: DM Sans, sans-serif;
  font-size: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

button, input, a {
  -webkit-tap-highlight-color: transparent;
}

button, input {
  font: inherit;
}

button, a {
  touch-action: manipulation;
}

button {
  cursor: pointer;
  color: inherit;
}

button:disabled {
  opacity: .35;
  cursor: default;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible {
  outline: 3px solid #b76446;
  outline-offset: 5px;
}

a:focus-visible {
  outline: 3px solid #b76446;
  outline-offset: 5px;
}

input:focus-visible {
  outline: 3px solid #b76446;
  outline-offset: 5px;
}

button {
  background: none;
  border: 0;
}

button, a {
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}

button:hover:not(:disabled) {
  color: #a05238;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

.experience {
  position: relative;
  overflow: hidden;
  background: #e9ebdc;
  height: 100svh;
  min-height: 800px;
}

.masthead {
  position: absolute;
  display: flex;
  z-index: 20;
  justify-content: space-between;
  align-items:  center;
  gap: 30px;
  top: 29px;
  left: 3.4%;
  right: 3.4%;
}

.identity {
  display: flex;
  letter-spacing: -.3px;
  align-items:  center;
  gap: 13px;
  font-size: 15px;
  font-weight: 700;
}

.identity small {
  display: block;
  letter-spacing: .15px;
  color: #727c6c;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 400;
}

.brand-mark {
  letter-spacing: -7px;
  color: #f6f4e8;
  display: flex;
  background: #2e493c;
  border-radius: 13px;
  align-items:  center;
  width: 43px;
  height: 43px;
  padding-left: 7px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: bold;
}

.brand-mark span {
  position: relative;
  top: 4px;
}

.masthead nav {
  display: flex;
  align-items:  center;
  gap: 30px;
  font-size: 12px;
}

.masthead nav button {
  padding: 10px 0;
}

.masthead nav button span {
  margin-left: 7px;
}

.presence {
  display: flex;
  color: #6b7665;
  align-items:  center;
  gap: 8px;
  font-size: 11px;
}

.presence i {
  background: #6e8c5c;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 4px #7c996117;
}

.presence i.offline {
  background: #b7764c;
}

.world-stage {
  position: absolute;
  cursor: grab;
  transition: left 1s cubic-bezier(.22,1,.36,1), right 1s, top 1s, bottom 1s;
  inset: 10% -7% 9% 32%;
}

.world-stage:active {
  cursor: grabbing;
}

.is-exploring .world-stage {
  inset: 0;
}

.is-exploring .masthead {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: #e9ebdcb8;
  border-bottom: 1px solid #b7c0a74d;
  padding: 29px 3.4% 18px;
  top: 0;
  left: 0;
  right: 0;
}

.welcome-copy {
  position: absolute;
  z-index: 11;
  pointer-events: none;
  animation: .9s both reveal;
  width: 38%;
  max-width: 510px;
  top: 22%;
  left: 5.2%;
}

.welcome-copy button, .welcome-copy input {
  pointer-events: auto;
}

.eyebrow {
  letter-spacing: 1.8px;
  color: #738068;
  display: flex;
  align-items:  center;
  gap: 9px;
  margin: 0 0 24px;
  font-size: 9px;
  font-weight: 650;
}

.eyebrow > span {
  background: #a7724d;
  border-radius: 100%;
  width: 5px;
  height: 5px;
}

h1 {
  letter-spacing: -4px;
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(48px, 4.9vw, 78px);
  font-weight: 500;
  line-height: 1.03;
}

h1 em {
  letter-spacing: -4px;
  color: #687f55;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.13;
}

.intro {
  color: #75806f;
  max-width: 340px;
  margin: 25px 0;
  font-size: 14px;
  line-height: 1.8;
}

.boarding {
  max-width: 365px;
}

.traveler-row {
  display: flex;
  align-items:  center;
  gap: 12px;
  margin-bottom: 14px;
}

.traveler-row > span {
  color: #7a8474;
  font-size: 9px;
}

.avatar-picker {
  display: flex;
  gap: 5px;
}

.avatar-picker button {
  display: grid;
  background: #dddfce;
  border: 1px solid #0000;
  border-radius: 50%;
  place-items:  center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.avatar-picker button[aria-pressed="true"] {
  background: #f7f6ec;
  border-color: #526c4c;
  box-shadow: 0 0 0 3px #9da98825;
}

.mini-person {
  display: block;
  background: var(--avatar);
  position: relative;
  color: #384732;
  letter-spacing: 1px;
  border-radius: 8px 8px 6px 6px;
  width: 20px;
  height: 22px;
  padding-top: 2px;
  font-size: 12px;
  line-height: 16px;
}

.mini-person:before {
  content: "";
  position: absolute;
  background: var(--avatar);
  border-radius: 3px;
  width: 24px;
  height: 5px;
  top: 0;
  left: -2px;
}

.boarding-row {
  display: flex;
  background: #f2f3e8;
  border: 1px solid #ced3be;
  border-radius: 9px;
  gap: 5px;
  padding: 5px;
}

.boarding input {
  color: #40503c;
  background: none;
  border: 0;
  border-radius: 5px;
  flex: 1;
  min-width: 0;
  padding: 10px;
  font-size: 11px;
}

.boarding input::placeholder {
  color: #85917b;
}

.primary {
  color: #fcf8eb;
  white-space: nowrap;
  background: #314e3d;
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 12px;
  box-shadow: 0 3px 3px #273e3010;
}

.primary span {
  margin-left: 16px;
}

.primary:hover:not(:disabled) {
  color: #fff;
  background: #436448;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px #273e3020;
}

.text-link {
  color: #818775;
  text-align: left;
  margin: 17px 0 0;
  padding: 0;
  font-size: 10px;
}

.text-link span {
  color: #485e40;
  border-bottom: 1px solid #83916c60;
  margin-left: 4px;
  padding-bottom: 3px;
}

.welcome-footnote {
  display: flex;
  color: #8b917f;
  align-items:  center;
  gap: 10px;
  margin-top: 40px;
  font-size: 10px;
}

.small-orbit {
  color: #8c9877;
  font-size: 22px;
}

.world-actions {
  position: absolute;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(230px, 100vw - 48px);
  top: 104px;
  right: 3.4%;
}

.visitor-panel {
  overflow: auto;
  color: #263f36;
  background: #fff9e9ed;
  border: 1px solid #8c987777;
  border-radius: 10px;
  max-height: 150px;
  padding: 10px 12px;
  font-size: 12px;
}

.visitor-panel ul {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.visitor-panel li {
  display: flex;
  overflow-wrap: anywhere;
  gap: 8px;
  padding: 2px 0;
}

.visitor-panel p {
  margin: 6px 0 0;
}

.visitor-platform {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.visitor-platform.ssh {
  color: #a24a36;
}

.visitor-platform.web {
  color: #3e7d55;
}

@media (width <= 600px) {
  .visitor-panel {
    max-height: 90px;
  }
}

.world-caption {
  position: absolute;
  display: flex;
  pointer-events: none;
  animation: 1.5s both reveal;
  flex-direction: column;
  gap: 7px;
  top: 15%;
  right: 10%;
  transform: rotate(5deg);
}

.world-caption .eyebrow {
  margin: 0;
  font-size: 8px;
}

.world-caption > span:nth-child(2) {
  color: #8b957f;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.world-caption svg {
  stroke: #929c83;
  fill: none;
  stroke-width: 1.4;
  width: 55px;
  height: 34px;
  margin-left: 60px;
}

.is-exploring .world-caption {
  display: none;
}

.bottom-bar {
  position: absolute;
  z-index: 15;
  display: flex;
  border-top: 1px solid #b7c0a74d;
  justify-content: space-between;
  align-items:  center;
  gap: 30px;
  height: 94px;
  bottom: 0;
  left: 3.4%;
  right: 3.4%;
}

.is-exploring .bottom-bar {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: #e9ebdcb8;
  padding: 0 3.4%;
  left: 0;
  right: 0;
}

.island-index {
  display: flex;
  white-space: nowrap;
  align-items:  center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
}

.island-index small {
  display: block;
  color: #86907d;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 400;
}

.index-icon {
  color: #6f8460;
  font-size: 31px;
  font-weight: 400;
}

.destination-nav {
  display: flex;
  align-items:  center;
  gap: clamp(8px, 1.3vw, 20px);
}

.destination-nav button {
  white-space: nowrap;
  padding: 14px 0;
  font-size: 10px;
}

.stop-number {
  color: #8d987f;
  font-variant-numeric: tabular-nums;
  margin-right: 9px;
  font-size: 8px;
}

.nav-arrow {
  color: #728364;
  margin-left: 16px;
  font-size: 12px;
}

.place-label {
  display: flex;
  white-space: nowrap;
  color: #47583f;
  animation: .8s backwards label-in;
  background: #f9f7ebf5;
  border: 1px solid #fff9e8;
  border-radius: 6px;
  align-items:  center;
  gap: 8px;
  padding: 9px 11px;
  font-size: 10px;
  box-shadow: 0 3px 8px #35412e12;
}

.place-label > span {
  color: #8f997e;
  border-right: 1px solid #dce0cd;
  padding-right: 8px;
  font-size: 8px;
}

.place-label b {
  color: #8c967e;
  font-size: 11px;
  font-weight: 400;
}

.place-label:hover {
  background: #fffdf4;
  box-shadow: 0 5px 14px #35412e30;
  transform: translateY(-4px) !important;
}

.place-label.visited > span {
  color: #4b7546;
}

.square-name {
  white-space: nowrap;
  display: block;
  letter-spacing: 1.3px;
  color: #446251;
  background: #f6e9c9;
  border: 1px solid #b8b797;
  padding: 4px 6px;
  font-size: 7px;
  font-weight: 700;
}

.square-sign {
  display: block;
  color: #4b604d;
  letter-spacing: .4px;
  pointer-events: none;
  font-size: 5px;
  font-weight: 800;
}

.player-name {
  display: flex;
  white-space: nowrap;
  color: #3b573d;
  background: #f9f7ebd9;
  border-radius: 20px;
  align-items:  center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 9px;
}

.player-name i {
  color: #8c957c;
  font-size: 7px;
  font-style: normal;
}

.explorer-heading {
  position: absolute;
  z-index: 11;
  isolation: isolate;
  pointer-events: none;
  animation: .7s both reveal;
  top: 19%;
  left: 4%;
}

.is-exploring .explorer-heading:before {
  content: "";
  position: absolute;
  z-index: -1;
  filter: blur(16px);
  background: linear-gradient(90deg, #e9ebdce6, #e9ebdca8 68%, #0000);
  inset: -24px -32px;
}

.explorer-heading .eyebrow {
  margin-bottom: 17px;
  font-size: 8px;
}

.explorer-heading h1 {
  letter-spacing: -2px;
  font-size: 42px;
}

.explorer-heading h1 em {
  letter-spacing: -2px;
}

.explorer-heading p:last-child {
  color: #7c8772;
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.8;
}

.map-tools {
  position: absolute;
  display: flex;
  backdrop-filter: blur(10px);
  z-index: 12;
  background: #f8f8ecb8;
  border: 1px solid #fdfbf0;
  border-radius: 10px;
  flex-direction: column;
  padding: 6px;
  top: 40%;
  right: 3.4%;
}

.map-tools button {
  border-radius: 5px;
  width: 34px;
  height: 34px;
  font-size: 21px;
}

.map-tools button:hover {
  background: #e6ead8;
}

.map-tools .jump-button {
  letter-spacing: .3px;
  font-size: 9px;
  font-weight: 800;
}

.map-tools span {
  background: #d9dfc9;
  height: 1px;
  margin: 4px;
}

.controls-hint {
  position: absolute;
  color: #8b947e;
  display: flex;
  pointer-events: none;
  flex-direction: column;
  gap: 9px;
  font-size: 9px;
  bottom: 125px;
  left: 4%;
}

.controls-hint > span {
  display: flex;
  align-items:  center;
  gap: 4px;
}

kbd {
  color: #708164;
  background: #f2f3e650;
  border: 1px solid #c9d0b9;
  border-radius: 3px;
  padding: 3px 5px;
  font-family: inherit;
  font-size: 9px;
}

.nearby-prompt {
  position: absolute;
  display: flex;
  z-index: 12;
  background: #f9f7eb;
  border-radius: 9px;
  align-items:  center;
  gap: 15px;
  padding: 12px 18px;
  font-size: 12px;
  bottom: 118px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 30px #43533615;
}

.nearby-prompt:active:not(:disabled) {
  transform: translateX(-50%);
}

.nearby-prompt kbd {
  color: #fbf6e5;
  background: #36513e;
  border-color: #36513e;
}

.nearby-actions {
  position: absolute;
  display: flex;
  z-index: 12;
  white-space: nowrap;
  gap: 8px;
  bottom: 118px;
  left: 50%;
  transform: translateX(-50%);
}

.nearby-actions .nearby-prompt {
  position: static;
  transform: none;
}

.nearby-actions .nearby-prompt:active:not(:disabled) {
  transform: translateY(1px);
}

.is-interior .world-stage {
  cursor: default;
  animation: .36s ease-out both interior-arrive;
  inset: 0;
}

.is-interior .masthead {
  background: #f4f1ded1;
}

.interior-hud {
  position: absolute;
  z-index: 11;
  pointer-events: none;
  inset: 0;
}

.interior-hud button, .interior-hud a {
  pointer-events: auto;
}

.interior-heading {
  position: absolute;
  background: #f8f4e7df;
  border-radius: 14px;
  max-width: 300px;
  padding: 18px 20px;
  top: 18%;
  left: 4%;
  box-shadow: 0 12px 36px #33423218;
}

.interior-heading .eyebrow {
  margin-bottom: 12px;
}

.interior-heading h1 {
  letter-spacing: -2px;
  font-size: clamp(26px, 3vw, 42px);
}

.interior-heading p:last-child {
  color: #687763;
  font-size: 12px;
}

.interior-exit {
  background: #f8f4e7;
  border: 1px solid #d4d5bd;
  border-radius: 8px;
  align-self:  flex-end;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 5px 20px #354a3420;
}

.interior-index {
  position: absolute;
  display: grid;
  gap: 7px;
  width: min(245px, 24vw);
  bottom: 125px;
  right: 4%;
}

.interior-index button {
  text-align: left;
  background: #f9f6e9e8;
  border: 1px solid #d7dac7;
  border-radius: 7px;
  padding: 10px 12px;
  font-size: 11px;
  box-shadow: 0 5px 20px #36483412;
}

.interior-index button.is-near {
  background: #e4edd9;
  border-color: #92aa86;
}

.interior-guide {
  position: absolute;
  display: grid;
  color: #59705b;
  background: #f8f4e7de;
  border-radius: 8px;
  gap: 8px;
  padding: 12px 15px;
  font-size: 10px;
  bottom: 130px;
  left: 4%;
}

.interior-near {
  position: absolute;
  white-space: nowrap;
  background: #f9f6e9;
  border-radius: 8px;
  padding: 10px 15px;
  bottom: 125px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 26px #32473526;
}

.interior-links {
  position: absolute;
  display: flex;
  gap: 9px;
  bottom: 45px;
  left: 4%;
}

.interior-links a {
  color: #fff8e8;
  background: #304c3b;
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 11px;
}

.interior-links a:hover {
  color: #fff;
  background: #53765a;
}

.exhibit-label {
  display: block;
  color: #334d3e;
  background: #fff9e6;
  border: 1px solid #d8d5bd;
  border-radius: 6px;
  width: max-content;
  max-width: 160px;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 4px 18px #293b3124;
}

.exhibit-dialog {
  position: fixed;
  z-index: 40;
  overflow: auto;
  color: #304c3b;
  background: #f9f7eb;
  border: 1px solid #d9d7c3;
  border-radius: 15px;
  width: min(420px, 100vw - 30px);
  max-height: min(80svh, 620px);
  margin: 0;
  padding: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 100vmax #1b2b2059, 0 24px 80px #192b2450;
}

.exhibit-dialog .eyebrow {
  margin-bottom: 16px;
}

.exhibit-dialog h2 {
  margin: 0 0 14px;
  font: 500 26px Manrope, sans-serif;
}

.exhibit-dialog p:not(.eyebrow) {
  color: #657363;
  font-size: 13px;
  line-height: 1.7;
}

.demo-controls {
  display: grid;
  background: #e7ebda;
  border-radius: 8px;
  gap: 9px;
  margin: 18px 0;
  padding: 14px;
}

.demo-controls p {
  margin: 0;
}

.demo-controls strong {
  font-size: 17px;
}

.demo-controls button {
  color: #fff9e6;
  background: #3e6650;
  border-radius: 6px;
  justify-self: start;
  padding: 8px 12px;
}

.join-dialog form {
  display: grid;
  gap: 15px;
}

.join-dialog input {
  background: #fffef5;
  border: 1px solid #cbd3bd;
  border-radius: 7px;
  width: 100%;
  padding: 12px;
}

.join-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.join-avatars button {
  color: #1d3025;
  border: 2px solid #0000;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 10px;
}

.join-avatars button[aria-pressed="true"] {
  border-color: #253e30;
  box-shadow: inset 0 0 0 2px #fffef5;
}

.enter-button {
  margin-top: 8px;
}

@keyframes interior-arrive {
  from {
    opacity: 0;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-interior .world-stage {
    animation: none;
  }
}

.is-reduced.is-interior .world-stage {
  animation: none;
}

.detail-panel {
  color: #344835;
  overflow-y: auto;
  animation: .35s cubic-bezier(.2,.8,.3,1) panel-in;
  overscroll-behavior: contain;
  background: #faf8ee;
  border: 1px solid #e3dfcf;
  border-radius: 17px;
  width: min(480px, 100vw - 32px);
  max-height: calc(100svh - 50px);
  padding: 35px;
  box-shadow: 0 30px 100px #1f312944;
}

.detail-panel::backdrop {
  backdrop-filter: blur(7px);
  background: #26382e45;
}

.close-panel {
  position: absolute;
  z-index: 2;
  background: #f9f8ecd9;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 24px;
  line-height: 1;
  top: 14px;
  right: 14px;
}

.close-panel:hover {
  background: #fff;
}

.detail-panel h2 {
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  font-family: Manrope, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
}

.detail-panel h2 em {
  display: block;
  color: #899374;
  letter-spacing: -.8px;
  margin-top: 5px;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.detail-panel p:not(.eyebrow) {
  color: #7a826d;
  font-size: 13px;
  line-height: 1.8;
}

.detail-panel .eyebrow {
  margin: 25px 0 13px;
  font-size: 8px;
}

.project-art {
  position: relative;
  overflow: hidden;
  background: #e8cfac;
  height: 190px;
  margin: -35px -35px 25px;
  padding: 25px;
}

.art-index {
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  font-size: 8px;
}

.art-object {
  position: absolute;
  letter-spacing: -15px;
  color: #a75d3d;
  text-shadow: 5px 9px #b8815740;
  font-family: Georgia, serif;
  font-size: 140px;
  top: 4px;
  right: 55px;
  transform: rotate(-12deg);
}

.art-caption {
  position: absolute;
  color: #745b43;
  font-size: 10px;
  bottom: 22px;
}

.art-algoforge {
  background: #e8cfac;
}

.art-ssh-portfolio {
  background: #dce7dc;
}

.art-sh-chat {
  background: #c8dce0;
}

.art-genius {
  background: #d4d9c6;
}

.art-negopoly {
  background: #e6d5ad;
}

.art-ssh-portfolio .art-object {
  color: #68877c;
}

.art-sh-chat .art-object {
  color: #4e7782;
}

.art-genius .art-object {
  color: #5c715b;
}

.art-negopoly .art-object {
  color: #a18a5f;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0;
}

.tags span {
  color: #7b866b;
  border: 1px solid #dfe1d1;
  border-radius: 4px;
  padding: 7px 9px;
  font-size: 9px;
}

.panel-links {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.panel-links a {
  border-bottom: 1px solid #a6b094;
  padding-bottom: 5px;
  font-size: 11px;
}

.panel-links a:hover {
  color: #a55f42;
}

.visit-button {
  text-align: left;
  display: flex;
  background: #e9ecdc;
  border: 1px solid #dae0c9;
  border-radius: 6px;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  font-size: 11px;
}

.next-stop {
  display: flex;
  border-top: 1px solid #e0e3d3;
  justify-content: space-between;
  align-items:  center;
  margin-top: 25px;
  padding-top: 18px;
}

.next-stop > span {
  letter-spacing: 1.5px;
  color: #929b84;
  font-size: 7px;
}

.next-stop button {
  font-size: 11px;
}

.about-art {
  color: #6c8158;
  letter-spacing: -3px;
  background: #e8ead7;
  margin: -35px -35px 30px;
  padding: 30px;
  font-family: Georgia, serif;
  font-size: 65px;
  line-height: .9;
}

.about-art span {
  margin-right: 50px;
  font-style: italic;
}

.about-list, .help-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  color: #78816b;
  border-top: 1px solid #e1e4d5;
  padding: 12px 0;
  font-size: 12px;
  line-height: 1.7;
}

.help-list li {
  color: #7d876f;
  margin: 22px 0;
  font-size: 12px;
  line-height: 1.7;
}

.help-list strong {
  display: block;
  color: #465c40;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 500;
}

.motion-setting {
  display: flex;
  border-top: 1px solid #dce1cc;
  align-items:  center;
  gap: 9px;
  padding-top: 20px;
  font-size: 12px;
}

.motion-setting input {
  accent-color: #526c49;
}

.maker-mark-art {
  text-align: center;
  color: #cda654;
  background: #f1e7c4;
  margin: -35px -35px 30px;
  padding: 20px;
  font-size: 110px;
}

.world-fallback {
  position: absolute;
  display: flex;
  text-align: center;
  color: #71845c;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  inset: 15% 10%;
}

.world-fallback > span {
  font-size: 80px;
}

.world-fallback p {
  line-height: 1.8;
}

.world-fallback .primary {
  margin-top: 20px;
}

.fallback-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}

.fallback-links a {
  text-decoration: underline;
}

.loading-world {
  position: absolute;
  display: flex;
  color: #81906d;
  pointer-events: none;
  flex-direction: column;
  justify-content: center;
  align-items:  center;
  font-size: 12px;
  inset: 0;
}

.loading-world span {
  letter-spacing: 8px;
  margin-top: 10px;
}

.panel-inner {
  animation: .3s both reveal;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes label-in {
  from {
    opacity: 0;
    translate: 0 10px;
  }

  to {
    opacity: 1;
    translate: 0;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(18px)scale(.98);
  }

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

@media (width >= 1600px) {
  .welcome-copy {
    top: 25%;
  }

  .intro {
    font-size: 16px;
  }

  .world-stage {
    left: 33%;
    right: -5%;
  }

  .boarding {
    max-width: 400px;
  }

  .welcome-footnote {
    margin-top: 50px;
  }
}

@media (width <= 1100px) {
  .destination-nav {
    gap: 15px;
  }

  .island-index {
    display: none;
  }

  .bottom-bar {
    justify-content: center;
  }

  .welcome-copy {
    width: 41%;
    left: 4%;
  }

  h1 {
    font-size: 56px;
  }

  .masthead nav {
    gap: 20px;
  }

  .presence {
    font-size: 9px;
  }

  .world-stage {
    left: 30%;
    right: -14%;
  }

  .welcome-copy .eyebrow {
    letter-spacing: 1.2px;
    font-size: 7px;
  }

  .world-caption {
    top: 18%;
    right: 6%;
  }

  .explorer-heading h1 {
    font-size: 32px;
  }

  .explorer-heading p:last-child {
    font-size: 10px;
  }

  .controls-hint {
    font-size: 8px;
  }
}

@media (width <= 760px) {
  .experience {
    overflow: hidden;
    height: auto;
    min-height: 100svh;
    padding-bottom: 24px;
  }

  .masthead {
    position: relative;
    gap: 15px;
    padding: 22px 22px 0;
    top: auto;
    left: auto;
    right: auto;
  }

  .identity {
    font-size: 13px;
  }

  .identity small {
    font-size: 8px;
  }

  .brand-mark {
    border-radius: 10px;
    width: 36px;
    height: 36px;
    padding-left: 5px;
    font-size: 25px;
  }

  .masthead nav {
    gap: 16px;
    font-size: 10px;
  }

  .masthead nav button:first-child, .presence {
    display: none;
  }

  .welcome-copy {
    position: relative;
    width: auto;
    max-width: none;
    margin: 45px 26px 0;
    top: auto;
    left: auto;
  }

  .welcome-copy .eyebrow {
    margin-bottom: 18px;
    font-size: 7px;
  }

  h1 {
    letter-spacing: -3.5px;
    font-size: 56px;
  }

  h1 em {
    letter-spacing: -3.5px;
  }

  .welcome-copy h1 br:nth-child(2) {
    display: none;
  }

  .intro {
    max-width: 295px;
    margin: 18px 0 20px;
    font-size: 12px;
  }

  .boarding {
    max-width: 360px;
  }

  .welcome-footnote {
    display: none;
  }

  .world-stage {
    position: relative;
    width: calc(100% + 60px);
    height: 390px;
    margin-top: 430px;
    margin-left: -30px;
    inset: auto;
  }

  .welcome-copy {
    position: absolute;
    margin: 20px 26px 0;
    top: 70px;
    left: 0;
    right: 0;
  }

  .world-caption {
    z-index: 2;
    top: 490px;
    right: 24px;
  }

  .world-caption .eyebrow {
    font-size: 7px;
  }

  .world-caption > span:nth-child(2) {
    font-size: 11px;
  }

  .world-caption svg {
    display: none;
  }

  .place-label {
    gap: 5px;
    padding: 7px;
    font-size: 8px;
  }

  .place-label > span {
    padding-right: 5px;
    font-size: 6px;
  }

  .bottom-bar {
    position: relative;
    display: block;
    height: auto;
    margin: 0 22px;
    padding-top: 18px;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .destination-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 25px;
  }

  .destination-nav button {
    text-align: left;
    display: flex;
    align-items:  center;
    padding: 12px 0;
    font-size: 10px;
  }

  .nav-arrow {
    margin-left: auto;
  }

  .island-index {
    display: none;
  }

  .is-exploring {
    height: 100svh;
    min-height: 650px;
  }

  .is-exploring .world-stage {
    position: absolute;
    width: 100%;
    height: auto;
    margin: 0;
    inset: 0;
  }

  .is-exploring .masthead {
    position: relative;
    padding: 22px 22px 16px;
  }

  .world-actions {
    width: min(180px, 100vw - 24px);
    top: 158px;
    right: 12px;
  }

  .is-exploring .visitor-panel {
    max-height: 70px;
  }

  .is-exploring .bottom-bar {
    position: absolute;
    margin: 0;
    padding: 18px 22px 22px;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .is-exploring .controls-hint {
    bottom: 190px;
  }

  .is-exploring .nearby-prompt {
    bottom: 205px;
  }

  .explorer-heading {
    z-index: 2;
    top: 95px;
    left: 26px;
  }

  .explorer-heading h1 {
    letter-spacing: -1px;
    font-size: 25px;
  }

  .explorer-heading h1 br {
    display: none;
  }

  .explorer-heading h1 em {
    letter-spacing: -1px;
  }

  .explorer-heading .eyebrow {
    margin-bottom: 9px;
    font-size: 7px;
  }

  .explorer-heading p:last-child {
    display: none;
  }

  .controls-hint {
    bottom: 137px;
    left: 26px;
  }

  .controls-hint span:first-child, .controls-hint span:last-child {
    display: none;
  }

  .controls-hint span:nth-child(2) {
    font-size: 0;
  }

  .controls-hint span:nth-child(2):after {
    content: "Tap the ground to walk · Tap a building to enter";
    font-size: 9px;
  }

  .map-tools {
    padding: 4px;
    top: 38%;
    right: 15px;
  }

  .map-tools button {
    width: 29px;
    height: 32px;
    font-size: 18px;
  }

  .nearby-prompt {
    width: max-content;
    max-width: 90%;
    padding: 10px 13px;
    font-size: 10px;
    bottom: 168px;
  }

  .square-name {
    padding: 3px;
    font-size: 4px;
  }

  .detail-panel {
    padding: 26px;
  }

  .project-art, .about-art, .maker-mark-art {
    margin-top: -26px;
    margin-left: -26px;
    margin-right: -26px;
  }

  .detail-panel h2 {
    font-size: 29px;
  }

  .detail-panel h2 em {
    font-size: 25px;
  }

  .nearby-actions {
    gap: 5px;
    max-width: calc(100vw - 24px);
    bottom: 205px;
  }

  .nearby-actions .nearby-prompt {
    gap: 7px;
    max-width: none;
    padding: 8px;
    font-size: 9px;
  }

  .interior-heading {
    max-width: calc(54vw - 26px);
    padding: 10px 12px;
    top: 88px;
    left: 14px;
  }

  .interior-heading h1 {
    font-size: 22px;
  }

  .interior-heading p:last-child {
    margin-bottom: 0;
    font-size: 10px;
  }

  .is-interior .world-actions {
    width: 42vw;
    top: 91px;
  }

  .interior-exit {
    padding: 8px;
    font-size: 10px;
  }

  .interior-index {
    gap: 4px;
    width: min(220px, 57vw);
    bottom: 87px;
    right: 12px;
  }

  .interior-index button {
    padding: 7px 8px;
    font-size: 9px;
  }

  .interior-guide {
    padding: 8px;
    font-size: 9px;
    bottom: 88px;
    left: 12px;
  }

  .interior-near {
    font-size: 10px;
    bottom: 210px;
  }

  .interior-links {
    bottom: 22px;
    left: 12px;
  }

  .interior-links a {
    padding: 7px 9px;
    font-size: 9px;
  }

  .exhibit-label {
    max-width: 125px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (width >= 761px) {
  .experience {
    min-height: 680px;
  }

  .world-stage {
    right: -2%;
  }

  .welcome-footnote {
    margin-top: 30px;
  }
}

@media (width >= 761px) and (height <= 800px) {
  .welcome-copy {
    top: 20%;
  }

  .welcome-copy h1 {
    font-size: 58px;
  }

  .welcome-copy .intro {
    margin: 18px 0;
    font-size: 12px;
  }

  .welcome-footnote {
    display: none;
  }

  .welcome-copy .eyebrow {
    margin-bottom: 18px;
  }

  .bottom-bar {
    height: 75px;
  }

  .world-stage {
    top: 9%;
    bottom: 10%;
  }

  .controls-hint {
    bottom: 105px;
  }

  .nearby-prompt {
    bottom: 100px;
  }
}

@media (width <= 760px) {
  .welcome-copy h1 {
    font-size: 48px;
  }

  .welcome-copy h1 br:nth-child(2) {
    display: initial;
  }

  .world-stage {
    width: 100%;
    height: 350px;
    margin-top: 465px;
    margin-left: 0;
  }

  .world-caption {
    top: 520px;
  }

  .is-exploring .world-stage {
    width: 100%;
    left: 0;
    right: 0;
  }

  .welcome-copy h1 em {
    letter-spacing: -2.5px;
  }
}
