@font-face {
  font-family: Nunito;
  src: url("assets/nunito.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  font-family: Nunito, "Avenir Next", ui-rounded, system-ui, sans-serif;
  color: #284e40;
  font-synthesis: none;
  --ink: #284e40;
  --green: #47775e;
  --cream: #fffaf0;
  --gold: #daa65c;
  --shadow: 0 8px 32px #35534212;
  --scale: 1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #a8d1c9;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #d59936;
  outline-offset: 5px;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.symbol-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.game {
  position: relative;
  height: 100dvh;
  min-height: 620px;
  overflow: clip;
  isolation: isolate;
}
.world {
  position: absolute;
  inset: 0;
  overflow: clip;
  background: linear-gradient(#95c7cb, #dce9cf 70%, #f6e1be);
}
.artboard {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  --scale: 1;
}
.scenery {
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-select: none;
  pointer-events: none;
  transition: filter 1.5s;
}
.sky-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #f0f4d83b, transparent 36%),
    linear-gradient(
      180deg,
      #e4f4ec50,
      transparent 24%,
      transparent 80%,
      #fff3db75
    );
  z-index: 2;
}
.night-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(#26355980, #3c376266, #86669422);
  opacity: 0;
  transition: opacity 1.5s;
  pointer-events: none;
}
.game.night .scenery {
  filter: brightness(0.66) saturate(0.7) hue-rotate(12deg);
}
.game.night .night-wash {
  opacity: 1;
}
.game.night .sky-veil {
  background: linear-gradient(
    180deg,
    #cbdce044,
    transparent 28%,
    transparent 78%,
    #e6dfdc55
  );
}
.game.night .island-heading,
.game.night .movement-hint {
  color: #fffbdf;
  text-shadow: 0 2px 20px #182a4990;
}
.game.night .island-weather {
  color: #fff2cf;
}
.game.night .title-flower {
  color: #ffdf8f;
}
.fireflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff8c1;
  border-radius: 50%;
  box-shadow: 0 0 12px 3px #ffefa250;
  opacity: 0.5;
  animation: twinkle 4s ease-in-out infinite;
}
.night .firefly {
  width: 5px;
  box-shadow: 0 0 14px 4px #ffdf9580;
  opacity: 1;
}
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 112px;
  padding: 29px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: bold;
  letter-spacing: -1.1px;
  white-space: nowrap;
}
.brand-cloud {
  width: 49px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-6deg);
  background: #fbf7e7;
  border-radius: 18px;
  box-shadow: 0 4px 12px #365b4020;
}
.brand-cloud svg {
  width: 36px;
  height: 36px;
  fill: #48735e;
  stroke: none;
}
.brand-cloud svg path + path {
  fill: #f6d998;
}
.brand small {
  display: block;
  letter-spacing: 2.4px;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 800;
  margin-top: 6px;
}
.chapter-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1.5px;
  font-size: 9px;
  font-weight: 850;
  color: #497565;
  background: #eff8e942;
  padding: 11px 15px;
  border: 1px solid #e8f3df75;
  border-radius: 25px;
}
.chapter-tag > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #709168;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.round-button {
  width: 39px;
  height: 39px;
  background: #fffaf076;
  box-shadow: 0 1px 8px #3b543b08;
  border: 1px solid #fff9ef85;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.round-button:hover {
  background: #fffaf0;
  transform: translateY(-2px);
}
.round-button .icon {
  width: 19px;
  height: 19px;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border-radius: 40px;
  background: #fff9eaa3;
  box-shadow: var(--shadow);
  margin-left: 8px;
  text-align: left;
  line-height: 1.1;
  font-weight: 850;
  font-size: 13px;
}
.profile-button small {
  display: block;
  font-size: 9px;
  font-weight: 650;
  color: #729075;
  margin-top: 5px;
}
.avatar {
  width: 39px;
  height: 39px;
  background: #e5cf94;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  position: relative;
}
.avatar img {
  width: 75px;
  height: 95px;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: -18px;
}
.chevron {
  font-size: 19px;
  margin-left: 12px;
  margin-top: -5px;
}
.island-heading {
  position: absolute;
  top: 154px;
  left: 50px;
  z-index: 3;
}
.eyebrow {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.eyebrow .icon {
  width: 17px;
  height: 17px;
}
.eyebrow > span {
  font-weight: 700;
  opacity: 0.6;
  letter-spacing: 1px;
  margin-left: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
.island-heading h1 {
  font-family: Georgia, serif;
  font-weight: normal;
  letter-spacing: -2px;
  font-size: 54px;
  line-height: 1.2;
  margin: 15px 0 12px;
}
.title-flower {
  display: inline-block;
  font-family: Georgia;
  font-size: 31px;
  line-height: 1;
  margin-left: 9px;
  vertical-align: middle;
  color: #dcb471;
  transform: rotate(10deg);
}
.island-heading p {
  font-size: 15px;
  line-height: 1.65;
  color: #426d56;
  font-weight: 600;
}
.island-weather {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #657f5f;
  font-weight: 750;
}
.weather-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dba45b;
  box-shadow: 0 0 0 4px #dba45b14;
}
.journey-card {
  position: absolute;
  top: 149px;
  right: 40px;
  width: 223px;
  padding: 20px;
  background: #fffbeaaf;
  backdrop-filter: blur(14px);
  border: 1px solid #fffcebcd;
  border-radius: 20px;
  box-shadow: var(--shadow);
  z-index: 4;
  transform: rotate(1deg);
}
.journey-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.1px;
  color: #80916d;
}
.journey-head .icon {
  width: 18px;
  height: 18px;
  stroke: #c99b52;
  fill: #dfb96930;
}
.journey-card > p {
  font-size: 18px;
  font-family: Georgia, serif;
  font-weight: normal;
  line-height: 1.35;
  letter-spacing: -0.25px;
  margin: 13px 0 22px;
}
.journey-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
}
.mini-icon {
  display: flex;
  align-items: center;
  color: #7e9166;
}
.mini-icon .icon {
  width: 15px;
  height: 15px;
}
.journey-row > strong {
  margin-left: auto;
  font-size: 15px;
}
.journey-row small {
  font-size: 10px;
  color: #94a182;
}
.journey-progress {
  height: 5px;
  background: #d5dfbe;
  border-radius: 5px;
  margin-top: 10px;
}
.journey-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #759164;
  border-radius: 5px;
}
.journey-caption {
  font-size: 8px;
  font-weight: 750;
  color: #859370;
  text-align: center;
  margin-top: 13px;
}
.walk-area {
  position: absolute;
  left: 30%;
  top: 42%;
  width: 47%;
  height: 21%;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}
.scene-object {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -100%);
  background: transparent;
  padding: 0;
  z-index: 3;
  display: block;
  transition: filter 0.2s;
  isolation: isolate;
}
.scene-object:hover {
  filter: brightness(1.07);
}
.scene-object > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(1px 4px 2px #3f4a3320);
  display: block;
  animation: breathe 4s ease-in-out infinite;
  transform-origin: bottom center;
  user-select: none;
  pointer-events: none;
}
.explorer {
  width: calc(113px * var(--scale));
  height: calc(158px * var(--scale));
  will-change: left, top;
  z-index: 5;
}
.explorer.walking > img {
  animation: walk 0.22s ease-in-out infinite alternate;
}
.explorer.facing-left > img {
  scale: -1 1;
}
.ground-shadow {
  position: absolute;
  width: 66%;
  height: 12%;
  background: #364b3430;
  filter: blur(4px);
  border-radius: 50%;
  bottom: 0;
  left: 17%;
  z-index: -1;
  transform: scaleY(0.55);
}
.fox {
  width: calc(127px * var(--scale));
  height: calc(138px * var(--scale));
}
.fox > img {
  animation-delay: -1.5s;
  transform-origin: bottom center;
}
.fox.wiggle > img {
  animation: wiggle 0.35s ease-in-out 3;
}
.player-label {
  position: absolute;
  bottom: -21px;
  left: 50%;
  translate: -50% 0;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.3px;
  white-space: nowrap;
  background: #fcf7e8bd;
  border: 1px solid #fff9db95;
  border-radius: 15px;
  padding: 4px 10px;
  box-shadow: 0 2px 8px #35493210;
}
.object-label {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  bottom: -19px;
  background: #fff9edee;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 3px 10px #44543220;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hello-dot {
  width: 5px;
  height: 5px;
  background: #be8c48;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #dec18a40;
}
.object-label:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #fff9ed;
  transform: rotate(45deg);
}
.landmark {
  position: absolute;
  top: calc(var(--y) * 1%);
  left: calc(var(--x) * 1%);
  transform: translate(-50%, -50%);
  z-index: 4;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
}
.landmark-dot {
  height: 29px;
  width: 29px;
  background: #fff9dfdc;
  border: 1px solid #ffffef;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  color: #688060;
  box-shadow: 0 3px 10px #46632f25;
  animation: marker-bob 3s ease-in-out infinite;
}
.landmark-dot .icon {
  width: 18px;
  height: 18px;
}
.landmark-label {
  background: #fff9dfed;
  padding: 5px 9px;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}
.landmark:hover .landmark-label,
.landmark:focus-visible .landmark-label {
  opacity: 1;
}
.cottage .landmark-dot {
  animation-delay: -1.2s;
}
.ferry {
  width: calc(240px * var(--scale));
  top: calc(45 * 1%);
  z-index: 3;
}
.airship {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 12px #365b5b18);
  animation: airship 5s ease-in-out infinite;
}
.propeller {
  transform-origin: 189px 135px;
  animation: propeller 0.16s linear infinite;
}
.ferry-label {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  background: #fff9edcc;
  width: max-content;
  margin: -10px auto 0;
  padding: 6px 9px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.2s;
}
.ferry-label .icon {
  width: 12px;
  height: 12px;
}
.ferry:hover .ferry-label,
.ferry:focus-visible .ferry-label {
  opacity: 1;
}
.floating-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-leaves span {
  position: absolute;
  color: #ffe8a9;
  text-shadow: 0 0 14px #ffffdc;
  animation: twinkle 3s infinite;
  font-size: 17px;
}
.floating-leaves span:nth-child(1) {
  left: 42%;
  top: 49%;
}
.floating-leaves span:nth-child(2) {
  left: 70%;
  top: 51%;
  animation-delay: 1s;
}
.floating-leaves span:nth-child(3) {
  left: 56%;
  top: 38%;
  animation-delay: 2s;
  font-size: 11px;
}
.destination {
  position: absolute;
  width: 30px;
  height: 15px;
  border: 2px solid #fff4b3b0;
  border-radius: 50%;
  translate: -50% -50%;
  box-shadow: 0 0 15px #fffad666;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.destination.visible {
  animation: destination 1s ease-out forwards;
}
.invitation {
  position: absolute;
  left: 40px;
  bottom: 119px;
  display: grid;
  grid-template-columns: 45px auto;
  column-gap: 12px;
  row-gap: 16px;
  align-items: center;
  width: 285px;
  padding: 20px;
  border-radius: 22px;
  background: #fffbefeb;
  box-shadow: 0 6px 32px #3c5a3618;
  border: 1px solid #fffdf3ef;
  z-index: 6;
  transform: rotate(-1deg);
  transition: transform 0.3s;
}
.invitation:hover {
  transform: rotate(0);
}
.invitation-icon {
  width: 43px;
  height: 43px;
  border-radius: 15px;
  background: #ebeed8;
  display: grid;
  place-items: center;
  color: #728660;
}
.invitation-icon .icon {
  width: 25px;
  height: 25px;
}
.invitation .eyebrow {
  font-size: 6px;
  letter-spacing: 1.15px;
  color: #899575;
}
.invitation h2 {
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -0.45px;
  margin: 6px 0 4px;
}
.invitation p {
  font-size: 10px;
  font-weight: 600;
  color: #8a947a;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 12px;
  background: #4c765e;
  color: #fffbec;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 4px 0 #30513f;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  min-height: 44px;
}
.primary-button:hover {
  background: #3d674f;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #30513f;
}
.primary-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #30513f;
}
.primary-button .icon {
  width: 16px;
  height: 16px;
}
.invitation .primary-button {
  grid-column: 1 / -1;
  padding: 11px 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.movement-hint {
  position: absolute;
  left: 50%;
  bottom: 116px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 9px;
  font-weight: 800;
  color: #5d6a53;
  z-index: 3;
  white-space: nowrap;
}
.movement-hint > span:last-child {
  margin-left: 6px;
}
.movement-hint i {
  margin: 0 5px;
  font-style: normal;
  opacity: 0.5;
}
.key {
  width: 20px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid #fffaf0b0;
  border-bottom: 2px solid #d4cdb5;
  background: #fffaf096;
  border-radius: 5px;
  font-size: 11px;
  color: #758267;
}
.bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 35px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(transparent, #fff4df90 40%);
  z-index: 7;
}
.explore-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: #fffaf0c4;
  backdrop-filter: blur(15px);
  border: 1px solid #ffffeccc;
  border-radius: 20px;
  box-shadow: 0 6px 25px #685b3920;
}
.nav-button {
  background: transparent;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 10px;
  font-weight: 850;
  transition:
    background 0.2s,
    transform 0.2s;
  min-height: 46px;
}
.nav-button:hover {
  background: #e5ebd6;
  transform: translateY(-2px);
}
.nav-button .icon {
  width: 18px;
  height: 18px;
  color: #788c65;
}
.nav-count {
  font-size: 8px;
  color: #8e9c7e;
  background: #e7ebd8;
  padding: 3px 6px;
  border-radius: 6px;
}
.chapter-caption {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: #6b765d;
  display: flex;
  gap: 10px;
  align-items: center;
}
.chapter-caption > span {
  font-size: 18px;
  font-style: normal;
  color: #c39b58;
}
.bottom-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.save-menu {
  position: relative;
}
.save-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid #315c4a33;
  border-radius: 999px;
  background: #fffaf0dd;
  padding: 8px 13px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 5px 18px #284e4017;
}
.save-menu summary::-webkit-details-marker {
  display: none;
}
.save-options {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(290px, 78vw);
  display: grid;
  gap: 9px;
  padding: 15px;
  border: 1px solid #315c4a25;
  border-radius: 18px;
  background: #fffaf0f7;
  box-shadow: 0 18px 50px #203c3360;
  text-align: left;
}
#save-status {
  font-size: 12px;
  font-weight: 800;
}
#save-status.save-error {
  color: #9a4f42;
}
#account-controls,
.sync-conflict {
  display: grid;
  gap: 7px;
}
.save-action {
  border-radius: 12px;
  background: #416f5b;
  color: #fffdf5;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 850;
  text-align: left;
}
.save-action:disabled {
  opacity: 0.55;
}
.sync-conflict {
  border-top: 1px solid #315c4a22;
  padding-top: 9px;
  font-size: 12px;
}
.preview-label {
  font-size: 7px;
  letter-spacing: 1.4px;
  font-weight: 850;
  color: #8b937b;
  white-space: nowrap;
  margin-right: 3px;
}
.bottom-actions .round-button {
  width: 33px;
  height: 33px;
}
.bottom-actions .icon {
  width: 16px;
  height: 16px;
}
.toast {
  position: absolute;
  top: 110px;
  left: 50%;
  transform: translate(-50%, -20px);
  background: #fffaf0f5;
  box-shadow: var(--shadow);
  color: #4d6e53;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.25s,
    transform 0.25s;
  max-width: 85%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hearts {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.heart-particle {
  position: absolute;
  color: #fca78c;
  font-size: 22px;
  text-shadow: 0 1px 5px #ffebdb;
  animation: heart-rise 1.6s ease-out forwards;
}
.travel-clouds {
  position: absolute;
  inset: -10%;
  z-index: 20;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 70%, #fff6e5 20%, transparent 70%),
    radial-gradient(ellipse at 90% 20%, #fff6e5 20%, transparent 70%);
  opacity: 0;
  transform: translateX(-20%);
}
.travel-clouds.fly {
  animation: fly-clouds 3s ease-in-out;
}
.ferry.flying {
  animation: fly-ship 3s ease-in-out;
}
.modal {
  border: 1px solid #f8f6db;
  border-radius: 28px;
  padding: 34px;
  max-width: 850px;
  width: calc(100% - 40px);
  max-height: calc(100dvh - 60px);
  overflow: auto;
  color: var(--ink);
  background: #fffaf0;
  box-shadow: 0 20px 120px #153a4160;
}
.modal::backdrop {
  background: #254f5266;
  backdrop-filter: blur(7px);
}
.modal[open] {
  animation: modal-in 0.3s ease-out;
}
.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #edeedc;
  z-index: 2;
}
.modal-intro {
  padding-right: 35px;
}
.modal .eyebrow {
  font-size: 9px;
  color: #8b9879;
}
.modal h2 {
  font-family: Georgia, serif;
  font-size: 33px;
  letter-spacing: -1px;
  font-weight: normal;
  margin: 10px 0 10px;
}
.modal-intro > p {
  color: #7e8a72;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}
.modal-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: #929879;
  font-size: 9px;
  font-weight: 700;
  padding: 12px 16px;
  background: #efefdf;
  border-radius: 12px;
  line-height: 1.6;
}
.modal-note .icon {
  width: 15px;
  height: 15px;
}
.map-layout {
  margin-top: 25px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 22px;
}
.map-canvas {
  position: relative;
  background:
    radial-gradient(ellipse at 60% 40%, #f7edd5, transparent),
    linear-gradient(135deg, #dbeee4, #d9e7da);
  border-radius: 23px;
  min-height: 362px;
  overflow: hidden;
}
.map-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: #7b967869;
  stroke-width: 2;
  stroke-dasharray: 5 8;
  fill: none;
}
.map-cloud {
  position: absolute;
  width: 70px;
  height: 20px;
  border-radius: 100%;
  background: #fffbec9c;
  box-shadow:
    15px -8px #fffbec90,
    -16px -1px #fffbecb0;
  pointer-events: none;
}
.map-cloud:nth-of-type(2) {
  left: 18%;
  top: 28%;
}
.map-cloud:nth-of-type(3) {
  left: 70%;
  top: 65%;
}
.map-island {
  position: absolute;
  left: calc(var(--mx) * 1%);
  top: calc(var(--my) * 1%);
  transform: translate(-50%, -50%);
  background: transparent;
  width: 60px;
  height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  transition: filter 0.2s;
}
.map-island:hover {
  filter: brightness(1.07);
}
.island-mini {
  width: 53px;
  height: 36px;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(
    180deg,
    var(--island-color, #b6cc94) 0 45%,
    #b69b77 46% 58%,
    #cbaa80 58%
  );
  box-shadow: 0 5px 8px #3e604421;
  position: relative;
  display: grid;
  place-items: center;
  font-size: 23px;
  transition: transform 0.2s;
}
.island-mini:after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 15px;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 15px solid #b69b77;
  z-index: -1;
}
.map-island:hover .island-mini {
  transform: translateY(-4px);
}
.map-island.selected .island-mini {
  outline: 3px solid #4b795e;
  outline-offset: 5px;
}
.island-number {
  font-size: 8px;
  font-weight: 900;
  position: absolute;
  top: -3px;
  left: 5px;
  background: #fff8e9;
  box-shadow: 0 1px 6px #37503a20;
  padding: 2px 4px;
  border-radius: 50%;
  z-index: 1;
}
.island-name {
  font-size: 7px;
  font-weight: 900;
  white-space: nowrap;
  background: #fbf7e485;
  padding: 3px 5px;
  border-radius: 8px;
  position: relative;
  margin-top: 5px;
}
.map-detail {
  padding: 20px;
  background: #f0f0df;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.detail-art {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#d7e8cd, #e7e7cc);
  border-radius: 13px;
  position: relative;
}
.detail-art .island-mini {
  width: 116px;
  height: 70px;
  font-size: 38px;
  transform: translateY(-4px);
}
.detail-art .island-mini:after {
  left: 36px;
  border-left-width: 24px;
  border-right-width: 24px;
  border-top-width: 22px;
  bottom: -10px;
}
.map-detail .eyebrow {
  font-size: 7px;
  margin-top: 5px;
  letter-spacing: 1px;
}
.map-detail h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: -0.4px;
}
.map-detail p {
  font-size: 10px;
  line-height: 1.7;
  color: #7c8769;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}
.detail-tags span {
  font-size: 9px;
  font-weight: 800;
  border-radius: 8px;
  padding: 6px 8px;
  background: #fff7e8;
  color: #7d8466;
}
.map-detail .primary-button {
  width: 100%;
  font-size: 10px;
  padding: 10px;
  min-height: 39px;
  margin-top: 5px;
}
.secondary-button {
  padding: 11px 17px;
  border-radius: 12px;
  border: 1px solid #d9dfc8;
  background: #f2f0df;
  font-weight: 800;
  font-size: 11px;
  min-height: 44px;
  transition: background 0.2s;
}
.secondary-button:hover {
  background: #e5e8d2;
}
.friends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 25px;
}
.friend-card {
  padding: 13px 9px;
  background: #f1f0e0;
  border: 1px solid #e4e6cf;
  border-radius: 16px;
  text-align: center;
  min-height: 127px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.friend-card.met {
  background: #f4ecd4;
  border-color: #dac58f;
}
.friend-art {
  width: 68px;
  height: 63px;
  display: grid;
  place-items: center;
  font-size: 38px;
}
.friend-art img {
  height: 74px;
  width: 77px;
  object-fit: contain;
  margin-top: -5px;
}
.friend-card h3 {
  font-size: 12px;
  font-weight: 850;
  margin-top: 7px;
}
.friend-card p {
  font-size: 8px;
  color: #91a07e;
  margin-top: 5px;
}
.friend-card .friend-status {
  font-size: 7px;
  letter-spacing: 0.3px;
  color: #9b9477;
  margin-top: 6px;
  font-weight: 800;
}
.friend-card.met .friend-status {
  color: #8d7a42;
}
.friend-card:hover {
  background: #e8ecd9;
}
.dialogue-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}
.dialogue-portrait {
  background: radial-gradient(
    ellipse,
    #eae9cb 10%,
    #ececdd 55%,
    transparent 70%
  );
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dialogue-portrait img {
  width: 190px;
  height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px #41623818);
}
.dialogue-portrait .big-glyph {
  font-size: 105px;
  filter: drop-shadow(0 8px 8px #41623815);
}
.dialogue-layout p {
  font-size: 13px;
  color: #7b876e;
  line-height: 1.85;
  margin: 15px 0 22px;
}
.dialogue-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dialogue-layout .primary-button {
  font-size: 11px;
}
.dialogue-layout .eyebrow {
  font-size: 8px;
}
.dialogue-layout h2 {
  font-size: 32px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.player-option {
  padding: 22px;
  background: #f0f0df;
  border: 2px solid #e6e7d2;
  border-radius: 22px;
  text-align: center;
  position: relative;
}
.player-option.selected {
  border-color: #6b8a65;
  background: #e7eed8;
}
.player-option img {
  width: 80px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 4px 3px #31462712);
}
.player-option h3 {
  font-size: 19px;
  margin-top: 8px;
}
.player-option p {
  font-size: 11px;
  color: #8a9775;
  margin-top: 6px;
}
.player-option .chosen-check {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #5b7956;
}
.player-option .chosen-check .icon {
  width: 20px;
  height: 20px;
}
.explorer-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 24px;
}
.explorer-preview {
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 22px;
  background: linear-gradient(160deg, #e4ead4, #eedfc1);
}
.explorer-preview img {
  width: 155px;
  height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 7px 6px #27472d20);
}
.explorer-custom h3 {
  font-size: 13px;
  margin-bottom: 12px;
}
.explorer-custom > p {
  font-size: 11px;
  color: #849071;
  line-height: 1.7;
  margin-top: 17px;
}
.color-swatches {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.color-swatch {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: var(--swatch);
  border: 4px solid #fffaf0;
  box-shadow: 0 0 0 1px #d9dcca;
  display: grid;
  place-items: center;
}
.color-swatch.selected {
  box-shadow: 0 0 0 2px #648664;
}
.color-swatch .icon {
  width: 18px;
  height: 18px;
  color: #fffae5;
}
.explorer-detail {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #e0e3ce;
}
.explorer-detail .icon {
  color: #b79754;
  width: 23px;
  height: 23px;
  margin-top: 3px;
}
.explorer-detail strong {
  font-size: 11px;
  display: block;
  margin-bottom: 4px;
}
.explorer-detail span {
  font-size: 10px;
  line-height: 1.6;
  color: #899474;
  display: block;
}
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.help-card {
  background: #f0f0df;
  border-radius: 17px;
  padding: 20px;
}
.help-card > .icon {
  width: 26px;
  height: 26px;
  color: #869771;
  margin-bottom: 12px;
}
.help-card h3 {
  font-size: 13px;
  margin-bottom: 8px;
}
.help-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #849173;
}
.help-footer {
  margin-top: 22px;
  font-size: 11px;
  line-height: 1.8;
  color: #7e8b70;
}
.game.party .floating-leaves span {
  animation: twinkle 0.5s infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-3px) rotate(1deg);
  }
}
@keyframes walk {
  from {
    transform: rotate(-4deg) translateY(0);
  }
  to {
    transform: rotate(4deg) translateY(-5px);
  }
}
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-7deg) translateY(-4px);
  }
  75% {
    transform: rotate(7deg) translateY(-4px);
  }
}
@keyframes marker-bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}
@keyframes airship {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}
@keyframes propeller {
  0%,
  100% {
    scale: 1 1;
  }
  50% {
    scale: 1 0.15;
  }
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1.1);
  }
}
@keyframes heart-rise {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--drift), -120px) scale(1.1);
  }
}
@keyframes destination {
  0% {
    opacity: 1;
    scale: 0.6;
  }
  100% {
    opacity: 0;
    scale: 1.7;
  }
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes fly-clouds {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-20%);
  }
  40%,
  60% {
    opacity: 0.92;
    transform: translateX(0);
  }
}
@keyframes fly-ship {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }
  45% {
    translate: -400px -240px;
    scale: 0.25;
    opacity: 0;
  }
  55% {
    translate: 300px -200px;
    scale: 0.25;
    opacity: 0;
  }
}
.game.night .brand,
.game.night .chapter-tag {
  color: #f4f5e2;
}
.game.night .brand small {
  color: #e7efdf;
}
.game.night .island-heading p {
  color: #f3f0d9;
}
@media (min-width: 1600px) {
  .island-heading {
    left: 65px;
    top: 180px;
  }
  .island-heading h1 {
    font-size: 65px;
  }
  .island-heading p {
    font-size: 17px;
  }
  .journey-card {
    top: 178px;
    right: 50px;
    width: 244px;
  }
  .invitation {
    left: 50px;
    bottom: 137px;
    width: 310px;
    padding: 23px;
  }
  .topbar {
    padding: 35px 50px;
  }
  .bottom-bar {
    padding: 24px 45px 28px;
  }
  .movement-hint {
    bottom: 131px;
  }
}
@media (max-width: 1150px) {
  .chapter-tag {
    display: none;
  }
  .island-heading {
    top: 140px;
    left: 35px;
  }
  .island-heading h1 {
    font-size: 43px;
  }
  .island-heading p {
    font-size: 13px;
  }
  .journey-card {
    width: 190px;
    right: 28px;
    padding: 16px;
    top: 145px;
  }
  .journey-card > p {
    font-size: 16px;
    margin-bottom: 16px;
  }
  .chapter-caption {
    display: none;
  }
  .topbar {
    padding: 25px 28px;
  }
  .brand {
    font-size: 26px;
  }
  .invitation {
    left: 28px;
    width: 250px;
    padding: 16px;
    bottom: 112px;
  }
  .invitation h2 {
    font-size: 14px;
  }
  .invitation .eyebrow {
    font-size: 5.5px;
  }
  .movement-hint {
    left: 62%;
    bottom: 113px;
  }
  .bottom-bar {
    padding: 16px 24px 20px;
  }
  .preview-label {
    display: none;
  }
}
@media (max-width: 760px) {
  .game {
    min-height: 580px;
  }
  .topbar {
    height: 90px;
    padding: 18px 20px;
  }
  .brand {
    font-size: 23px;
    gap: 8px;
  }
  .brand-cloud {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }
  .brand-cloud svg {
    width: 29px;
    height: 29px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.5px;
    margin-top: 4px;
  }
  .top-actions {
    gap: 6px;
  }
  .top-actions .round-button {
    width: 33px;
    height: 33px;
  }
  .top-actions .icon {
    width: 16px;
    height: 16px;
  }
  .profile-button {
    padding: 3px;
    margin-left: 0;
    background: #fff8eabf;
  }
  .profile-button > span:not(.avatar) {
    display: none;
  }
  .avatar {
    width: 34px;
    height: 34px;
  }
  .avatar img {
    left: -20px;
    top: 0;
  }
  .island-heading {
    left: 23px;
    top: 111px;
  }
  .island-heading h1 {
    font-size: 40px;
    margin: 10px 0 7px;
  }
  .island-heading p {
    font-size: 12px;
    line-height: 1.6;
  }
  .island-heading > .eyebrow {
    font-size: 8px;
  }
  .island-weather {
    margin-top: 15px;
    font-size: 9px;
  }
  .journey-card {
    display: none;
  }
  .invitation {
    left: 20px;
    bottom: 110px;
    width: calc(100% - 40px);
    display: grid;
    grid-template-columns: 39px 1fr auto;
    column-gap: 11px;
    padding: 13px 16px;
    border-radius: 17px;
    transform: none;
    row-gap: 0;
    max-width: 500px;
  }
  .invitation-icon {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }
  .invitation h2 {
    font-size: 14px;
    margin: 4px 0;
  }
  .invitation .eyebrow {
    font-size: 5.5px;
    letter-spacing: 0.8px;
  }
  .invitation p {
    font-size: 9px;
  }
  .invitation .primary-button {
    grid-column: auto;
    font-size: 10px;
    gap: 8px;
    width: auto;
    padding: 10px 14px;
    min-height: 40px;
    border-radius: 10px;
  }
  .movement-hint {
    bottom: 87px;
    left: 50%;
    font-size: 8px;
  }
  .movement-hint .key {
    display: none;
  }
  .bottom-bar {
    padding: 9px 15px 17px;
    gap: 8px;
  }
  .explore-nav {
    gap: 3px;
    padding: 4px;
    border-radius: 15px;
    flex: 1;
    max-width: 520px;
    justify-content: space-between;
  }
  .nav-button {
    flex: 1;
    justify-content: center;
    gap: 6px;
    padding: 9px 6px;
    font-size: 9px;
    min-height: 45px;
    border-radius: 10px;
  }
  .nav-button .icon {
    width: 16px;
    height: 16px;
  }
  .nav-count {
    display: none;
  }
  .bottom-actions {
    gap: 5px;
  }
  .bottom-actions .round-button {
    width: 29px;
    height: 29px;
  }
  .fullscreen-button {
    display: none;
  }
  .modal {
    padding: 27px 23px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 30px);
    border-radius: 23px;
  }
  .modal h2 {
    font-size: 28px;
  }
  .map-layout {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 14px;
  }
  .map-canvas {
    min-height: 330px;
  }
  .map-detail {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 8px 15px;
    align-items: center;
    padding: 15px;
  }
  .detail-art {
    grid-row: 1 / 5;
    height: 105px;
    width: 86px;
  }
  .detail-art .island-mini {
    width: 63px;
    height: 42px;
    font-size: 27px;
  }
  .detail-art .island-mini:after {
    left: 21px;
    border-left-width: 12px;
    border-right-width: 12px;
    border-top-width: 14px;
  }
  .map-detail .eyebrow {
    font-size: 6px;
    margin-top: 0;
  }
  .map-detail h3 {
    font-size: 18px;
  }
  .map-detail p {
    font-size: 9px;
  }
  .map-detail .detail-tags {
    grid-column: 2;
    font-size: 8px;
    margin-top: 0;
  }
  .map-detail .primary-button {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .friends-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 20px;
  }
  .friend-card {
    min-height: 118px;
    padding: 9px 5px;
  }
  .friend-art {
    width: 55px;
    height: 51px;
    font-size: 30px;
  }
  .friend-art img {
    height: 60px;
    width: 62px;
  }
  .friend-card h3 {
    font-size: 11px;
  }
  .friend-card p {
    font-size: 7px;
  }
  .dialogue-layout {
    grid-template-columns: 1fr;
    gap: 5px;
    text-align: center;
  }
  .dialogue-portrait {
    height: 175px;
    margin-top: 2px;
  }
  .dialogue-portrait img {
    height: 172px;
    width: 160px;
  }
  .dialogue-layout .eyebrow {
    justify-content: center;
    margin-top: 0;
  }
  .dialogue-layout p {
    font-size: 12px;
    margin: 13px 0 20px;
  }
  .dialogue-buttons {
    justify-content: center;
  }
  .dialogue-layout h2 {
    font-size: 29px;
  }
  .profile-grid {
    gap: 11px;
  }
  .player-option {
    padding: 20px 10px;
  }
  .explorer-layout {
    grid-template-columns: 120px 1fr;
    gap: 18px;
    margin-top: 18px;
  }
  .explorer-preview {
    height: 235px;
  }
  .explorer-preview img {
    width: 115px;
    height: 211px;
  }
  .color-swatches {
    gap: 7px;
    margin-bottom: 20px;
  }
  .color-swatch {
    width: 34px;
    height: 34px;
  }
  .explorer-custom h3 {
    font-size: 11px;
  }
  .explorer-detail {
    gap: 8px;
    padding: 10px 0;
  }
  .explorer-detail .icon {
    width: 19px;
    height: 19px;
  }
  .explorer-detail strong {
    font-size: 10px;
  }
  .explorer-detail span {
    font-size: 9px;
  }
  .explorer-custom > p {
    font-size: 9px;
    margin-top: 10px;
  }
  .help-grid {
    gap: 9px;
  }
  .help-card {
    padding: 15px;
  }
  .help-card p {
    font-size: 10px;
  }
  .help-card h3 {
    font-size: 11px;
  }
  .close-button {
    width: 32px;
    height: 32px;
    top: 12px;
    right: 12px;
  }
  .toast {
    top: 93px;
    font-size: 10px;
    padding: 10px 15px;
  }
  .player-label,
  .object-label {
    font-size: 9px;
  }
  .landmark-label {
    font-size: 8px;
  }
  .ferry {
    width: calc(230px * var(--scale));
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 20px;
  }
  .topbar {
    padding: 16px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .round-button {
    width: 29px;
    height: 29px;
  }
  .island-heading h1 {
    font-size: 35px;
  }
  .invitation {
    left: 12px;
    width: calc(100% - 24px);
    padding: 12px 11px;
    column-gap: 8px;
  }
  .invitation h2 {
    font-size: 12px;
  }
  .invitation .primary-button {
    padding: 9px 10px;
  }
  .invitation .primary-button .icon {
    display: none;
  }
  .bottom-bar {
    padding-left: 9px;
    padding-right: 9px;
  }
  .nav-button {
    font-size: 8px;
    gap: 4px;
  }
  .friends-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-height: 690px) and (min-width: 761px) {
  .game {
    min-height: 540px;
  }
  .topbar {
    height: 82px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .island-heading {
    top: 115px;
  }
  .island-heading h1 {
    font-size: 37px;
    margin: 9px 0;
  }
  .island-weather {
    margin-top: 14px;
  }
  .journey-card {
    top: 109px;
    width: 186px;
    padding: 15px;
  }
  .journey-card > p {
    font-size: 15px;
    margin: 10px 0 15px;
  }
  .invitation {
    bottom: 100px;
    padding: 15px;
    width: 260px;
  }
  .movement-hint {
    bottom: 100px;
  }
  .bottom-bar {
    padding-top: 12px;
    padding-bottom: 14px;
  }
  .modal {
    max-height: calc(100dvh - 24px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scene-object > img,
  .airship,
  .landmark-dot {
    animation: none !important;
  }
}
.explorer:before {
  content: "";
  position: absolute;
  inset: 30% -10% 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--magic-color, #e7bd67) 30%, transparent),
    transparent 65%
  );
  z-index: -1;
  pointer-events: none;
}
.player-label {
  border-color: var(--magic-color, #e7bd67);
}
.explorer-preview:before {
  content: "";
  position: absolute;
  inset: 20px;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--magic-color, #e7bd67) 45%, transparent),
    transparent 70%
  );
  pointer-events: none;
}
.explorer-preview img {
  position: relative;
}
.detail-tags span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.detail-tags .icon {
  width: 12px;
  height: 12px;
}
.ferry {
  top: 70%;
}
.movement-hint {
  background: #fff7e3b8;
  border: 1px solid #fffbeb85;
  border-radius: 20px;
  padding: 7px 12px;
  backdrop-filter: blur(8px);
}
.nav-button {
  font-size: 12px;
}
.nav-count {
  font-size: 9px;
}
.object-label,
.player-label {
  font-size: 11px;
}
.map-island {
  width: 65px;
  height: 67px;
}
.island-name {
  font-size: 9px;
}
.island-number {
  font-size: 9px;
}
.dialogue-layout p {
  font-size: 14px;
}
.journey-row {
  font-size: 11px;
}
.friend-card h3 {
  font-size: 13px;
}
.friend-card p {
  font-size: 10px;
}
.friend-card .friend-status {
  font-size: 8px;
}
@media (max-width: 760px) {
  .ferry {
    top: 43%;
  }
  .movement-hint {
    border: 0;
    background: #fff7e395;
    padding: 5px 10px;
  }
  .nav-button {
    font-size: 10px;
  }
  .object-label,
  .player-label {
    font-size: 10px;
  }
  .island-name {
    font-size: 8px;
  }
  .friend-card h3 {
    font-size: 11px;
  }
  .friend-card p {
    font-size: 8px;
  }
  .friend-card .friend-status {
    font-size: 7px;
  }
  .dialogue-layout p {
    font-size: 13px;
  }
  .world {
    background: linear-gradient(#95c7cb, #dce9cf 55%, #f6e1be);
  }
  .scenery {
    mask-image: linear-gradient(transparent, black 6%, black 87%, transparent);
  }
  .night-wash {
    mask-image: linear-gradient(transparent, black 6%, black 87%, transparent);
  }
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.game {
  min-height: 0;
}
.game.night .world {
  background: linear-gradient(#52697f, #889694 60%, #cdbda3);
}
.game.night .movement-hint {
  color: #5d6a53;
  text-shadow: none;
}
@media (max-height: 500px) {
  .topbar {
    height: 75px;
    padding: 15px 25px;
  }
  .island-heading {
    top: 94px;
    left: 28px;
  }
  .island-heading h1 {
    font-size: 34px;
    margin: 8px 0;
  }
  .island-heading p,
  .island-weather,
  .journey-card {
    display: none;
  }
  .invitation {
    bottom: 88px;
    padding: 12px;
    width: 240px;
    grid-template-columns: 35px auto;
    gap: 7px;
  }
  .invitation-icon {
    width: 33px;
    height: 33px;
  }
  .invitation .primary-button {
    padding: 7px 12px;
    min-height: 34px;
    grid-column: 1 / -1;
  }
  .invitation h2 {
    font-size: 12px;
  }
  .invitation p {
    font-size: 9px;
  }
  .movement-hint {
    bottom: 84px;
    left: 62%;
    font-size: 8px;
    padding: 5px 10px;
  }
  .bottom-bar {
    padding: 10px 22px 14px;
  }
  .chapter-tag,
  .chapter-caption {
    display: none;
  }
}
