.garden-lobby,
.adventure-map {
  --lobby-ink: #fff8e9;
  --tea-shadow: #423026a6;
  --hero-text-shadow: 0 1px 2px #3f291ffc, 0 0 4px #4a3024db;
  --light-edge: #fff0d1ed;
  --warm-edge: #e9c292a6;
  --soft-edge: #f5dbb74d;
  --warm-glass: radial-gradient(ellipse at 16% 0%, #c89b6875, transparent 65%),
    linear-gradient(109deg, #67482bd9, #412e23bb 63%, #7957447d);
}
.garden-lobby {
  color-scheme: dark;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-title: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  --ink-soft: #f9e6cd;
  --night: #382d26;
  --chestnut: #4a3024;
  --text-shadow: 0 1px 1px #513729, 0 0 3px #3f291fd6;
  --reflected-edge: #c7e1ecba;
  --deep-glass: linear-gradient(144deg, #896642e6, #483225f5 32%, #30231cf0 77%, #4e392ee8);
  --angle-radius: 8px 18px 8px 18px;
  --focus: #fff3d4;
}

.game-shell[data-view="home"] {
  width: 100%;
  padding-inline: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.game-shell[data-view="home"] > .landscape { display: none; }

.lobby-transition-veil {
  position: fixed;
  z-index: 10;
  inset: -14% 0;
  background:
    linear-gradient(143deg, transparent 26%, #e8c88940 47%, transparent 67%),
    radial-gradient(ellipse at 74% 10%, #5c5436, transparent 65%),
    #26362b;
  opacity: 0;
  pointer-events: none;
}
.game-shell[hidden] ~ .lobby-transition-veil { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .checkin-dialog[data-lobby-entry][open] {
    animation: appearance-open 240ms cubic-bezier(.18,.75,.38,1) backwards;
  }
  .checkin-dialog[data-lobby-entry][open]::backdrop,
  .game-shell[data-view="home"] .collection-dialog[open]::backdrop {
    animation: lobby-dialog-backdrop-in 180ms ease-out;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lobby-transition-veil { display: none; }
}
@keyframes lobby-dialog-backdrop-in { from { opacity: 0; } }

.garden-lobby {
  --lobby-edge: 4%;
  --lobby-bottom: max(8px, 2.9cqi);
  display: block;
  flex: none;
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  color: var(--lobby-ink);
}

.garden-home-layout {
  --lobby-layout-ratio: calc(900 / 1600);
  --lobby-scene-height: min(100cqh, calc(100cqw / var(--lobby-layout-ratio)));
  position: relative;
  z-index: 1;
  width: min(100%, max(312px, calc(100dvh * var(--lobby-layout-ratio))));
  height: 100%;
  margin-inline: auto;
  container-type: size;
}

@media (min-aspect-ratio: 4 / 5) and (max-aspect-ratio: 124 / 100) {
  .garden-home-layout { width: min(100%, 64rem); }
}

.garden-wallpaper {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--lobby-art, url("assets/garden-ui/conservatory.webp?v=wide-lobby")) center / cover no-repeat;
  pointer-events: none;
}
#home-lighting { z-index: -1; }
#home-screen[data-light-preset="cloud"]:not([data-lobby-lit]) .garden-wallpaper { filter: brightness(.87) saturate(.8); }
#home-screen[data-light-preset="night"]:not([data-lobby-lit]) .garden-wallpaper { filter: brightness(.57) saturate(.62); }
#home-screen[data-light-preset="cloud"]:not([data-lobby-lit]) #home-character .character-body { filter: brightness(.92) saturate(.8); }
#home-screen[data-light-preset="night"]:not([data-lobby-lit]) #home-character .character-body { filter: brightness(.70) saturate(.83); }
#home-screen[data-light-preset] .mascot-shadow { display: none; }
#home-screen[data-light-shadow]:not([data-lobby-lit]) .mascot-shadow {
  display: block;
  transform: translateX(calc(-50% + var(--light-offset, 0px)));
}
#home-screen[data-light-preset] #home-character { filter: none; }

.garden-lobby .hud {
  position: absolute;
  z-index: 2;
  top: max(2.6%, env(safe-area-inset-top));
  left: max(var(--lobby-edge), env(safe-area-inset-left));
  right: max(var(--lobby-edge), env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
}

.garden-lobby .hud--main {
  --hud-pill-height: clamp(24px, 6.45cqi, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.garden-profile-link {
  display: flex;
  align-items: center;
  min-width: 0;
}

.profile-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  border-radius: 10px;
  color: inherit;
  text-align: start;
  padding: 0;
  border: 0;
  background: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.profile-link:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.lobby-portrait {
  position: relative;
  z-index: 1;
  flex: none;
  width: clamp(40px, 13.9cqi, 69px);
  aspect-ratio: 1;
}

.profile-level {
  position: absolute;
  left: -3px;
  bottom: -7px;
  display: grid;
  place-items: center;
  width: clamp(24px, 6.1cqi, 31px);
  aspect-ratio: 1;
  border: 1px solid var(--warm-edge);
  border-top-color: var(--light-edge);
  border-radius: 50%;
  background: var(--deep-glass);
  color: var(--lobby-ink);
  box-shadow: inset 0 0 0 1px var(--soft-edge), 0 1px 2px var(--tea-shadow);
  font-size: clamp(10px, 2.54cqi, 13px);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: var(--text-shadow);
}

.profile-name {
  min-width: 0;
  max-width: 23cqi;
  margin-inline-start: -4px;
  padding-block: 1px 2px;
  padding-inline: clamp(11px, 3cqi, 15px) clamp(7px, 2.2cqi, 12px);
  overflow: hidden;
  border-block: 1px solid var(--soft-edge);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #7d5833c4, #523728ba 53%, #70503b66);
  color: var(--lobby-ink);
  font-family: var(--font-title);
  font-size: clamp(13px, 4.05cqi, 20px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.54;
  text-overflow: ellipsis;
  text-shadow: var(--hero-text-shadow);
  white-space: nowrap;
}

.profile-name-slot {
  container-type: inline-size;
  display: flex;
  align-items: center;
  min-width: 0;
  height: var(--hud-pill-height);
  margin-inline-start: -4px;
  font-size: clamp(13px, 4.05cqi, 20px);
}

.profile-link .profile-name {
  --profile-name-padding: clamp(4px, 6cqi, 10px);
  display: flex;
  align-items: center;
  max-width: 100%;
  height: 100%;
  margin-inline-start: 0;
  padding: 0 var(--profile-name-padding);
  overflow: visible;
  font-size: min(1em, max(1px, calc((100cqi - 2 * var(--profile-name-padding)) / var(--nickname-units, 2.24))));
  letter-spacing: .035em;
  line-height: 1.2;
  text-overflow: clip;
}

.resources {
  --resource-width: clamp(68px, 21.2cqi, 112px);
  display: flex;
  flex: none;
  gap: clamp(4px, 1.6cqi, 8px);
  align-items: center;
  margin-block-start: clamp(7px, 2.6cqi, 14px);
}

.garden-lobby .hud--main .resources { margin-block-start: 0; }

.resource {
  position: relative;
  display: flex;
  flex: 0 0 var(--resource-width);
  inline-size: var(--resource-width);
  align-items: center;
  justify-content: space-between;
  gap: clamp(4px, 1.25cqi, 7px);
  min-height: var(--hud-pill-height, clamp(24px, 6.45cqi, 34px));
  padding: 1px clamp(7px, 2.1cqi, 11px) 1px clamp(5px, 1.55cqi, 8px);
  border: 1px solid var(--warm-edge);
  border-top-color: var(--light-edge);
  border-radius: 5px 12px 5px 12px;
  background: var(--warm-glass);
  color: var(--lobby-ink);
  box-shadow: 0 1px 3px var(--tea-shadow);
  font-size: clamp(11px, 3.22cqi, 17px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: var(--hero-text-shadow);
  white-space: nowrap;
}

.resource::after {
  content: "";
  position: absolute;
  inset: 2px -2px -2px 3px;
  border: 1px solid transparent;
  border-right-color: var(--soft-edge);
  border-bottom-color: var(--soft-edge);
  border-radius: inherit;
  pointer-events: none;
}

.resource--diamond::after { border-right-color: var(--reflected-edge); }

.resource img {
  display: block;
  flex: none;
  width: clamp(15px, 4.65cqi, 24px);
  height: clamp(15px, 4.65cqi, 24px);
  object-fit: contain;
  filter: saturate(.68) contrast(.95) brightness(1.13) drop-shadow(0 1px 1px var(--tea-shadow));
}

.resource--diamond img {
  filter: saturate(.47) contrast(.93) brightness(1.22) drop-shadow(0 1px 1px var(--tea-shadow));
}

.resource strong {
  min-inline-size: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: end;
}

@container (max-width: 320px) {
  .garden-lobby .hud--main .lobby-portrait { width: max(37px, 13.9cqi); }
  .garden-lobby .hud--main .resources { --resource-width: max(54px, 21.2cqi); }

  .garden-lobby .hud--main .resource {
    gap: 3px;
    padding-inline: 5px;
    font-size: clamp(9px, 3.22cqi, 11px);
  }

  .garden-lobby .hud--main .resource img { width: max(12px, 4.65cqi); height: auto; }
}

.shortcuts {
  position: absolute;
  top: max(12%, calc(max(2.6cqh, var(--top)) + clamp(40px, 13.9cqi, 69px) + 11px));
  left: max(2.7cqi, env(safe-area-inset-left));
  display: grid;
  gap: clamp(2px, .8cqi, 5px);
}

.shortcut, .destination {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  touch-action: manipulation;
  white-space: nowrap;
  transition: filter 150ms ease, transform 150ms ease;
}

.shortcut {
  width: max(48px, 13.1cqi);
  height: max(56px, 14.5cqi);
  align-content: center;
  gap: 1px;
}
.garden-lobby .home-post-entry {
  position: absolute;
  z-index: 3;
  top: max(12%, calc(max(2.6cqh, var(--top)) + clamp(40px, 13.9cqi, 69px) + 11px));
  right: max(var(--lobby-edge), env(safe-area-inset-right));
  width: clamp(54px, 15.9cqi, 80px);
  height: auto;
  gap: 0;
}
.home-post-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 432 / 322;
  filter: drop-shadow(0 1px 2px #39291c74);
}
.home-post-art :is(.home-post-base, canvas) { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-post-art .home-post-base { z-index: 1; }
.home-post-art img { filter: none; }
.home-post-art .home-post-bell {
  position: absolute;
  /* Match the Spine setup pose so the stationary bell hangs from the same ring. */
  left: calc(100% * 53.5 / 432);
  top: calc(100% * 115.75 / 322);
  width: calc(100% * 72 / 432);
  height: auto;
}
.home-post-entry[data-spine-ready] .home-post-bell { visibility: hidden; }
.garden-lobby .home-post-entry .shortcut-label { margin-top: 1px; }

.shortcut-crest {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(37px, 10.6cqi, 53px);
  aspect-ratio: 1;
  isolation: isolate;
}

.shortcut-crest::before, .shortcut-crest::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.shortcut-crest::before {
  inset: 16% 12% 16% 20%;
  rotate: 45deg;
  border: 1px solid transparent;
  border-right-color: var(--warm-edge);
  border-bottom-color: var(--soft-edge);
  border-radius: 3px;
  background:
    radial-gradient(ellipse at 83% 93%, #f4c99c78, #6f4e354f 42%, transparent 74%);
  box-shadow: 0 1px 3px #45322446;
}

.shortcut-crest::after {
  inset: 15% 16% 17% 14%;
  rotate: 45deg;
  border: 1px solid var(--warm-edge);
  border-top-color: var(--light-edge);
  border-left-color: var(--light-edge);
  border-radius: 3px;
  background:
    linear-gradient(174deg, #ffedc68c, #ffedcc0c 28%, #52332238 31%, transparent 61%),
    linear-gradient(105deg, #7b573c96 12%, #4a3024b8 57%, #88593f58 80%, #edcb9b52);
  box-shadow: inset 0 0 0 1px var(--soft-edge);
}

.shortcut img {
  display: block;
  width: 63%;
  height: 63%;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px var(--tea-shadow));
}

.shortcut-glint {
  position: absolute;
  inset: 12% auto auto 15%;
  width: 15%;
  aspect-ratio: 1;
  background: var(--light-edge);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
  pointer-events: none;
}

.shortcut-label {
  font-size: clamp(11px, 3.12cqi, 15px);
}

.activities {
  min-width: 0;
}

.banner-frame {
  position: relative;
  isolation: isolate;
  padding: 2px;
  border: 1px solid var(--warm-edge);
  border-top-color: var(--light-edge);
  border-left-color: var(--light-edge);
  border-radius: var(--angle-radius);
  background: var(--warm-glass);
  box-shadow: 0 2px 5px var(--tea-shadow);
}

.banner-frame::before {
  content: "";
  position: absolute;
  inset: 3px -3px -3px 3px;
  border: 1px solid transparent;
  border-bottom-color: var(--warm-edge);
  border-right-color: var(--soft-edge);
  border-radius: inherit;
  pointer-events: none;
}

.banner-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 7%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, #fff9e9f0, #fce8cba6 61%, transparent);
  pointer-events: none;
}

.banner-frame:has(.banner-viewport:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.banner-viewport {
  position: relative;
  display: flex;
  width: 100%;
  overflow: hidden;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 5px 15px 5px 15px;
  background: var(--chestnut);
}

.banner-frame .banner-viewport:focus-visible { outline: 0; }

.banner-viewport::-webkit-scrollbar { display: none; }

.banner {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  isolation: isolate;
  padding: 0;
  border: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--chestnut);
  text-align: left;
}

.banner-poster, .banner::after { position: absolute; inset: 0; pointer-events: none; }
.banner-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner:focus-visible { outline-offset: -3px; }

.banner::after {
  content: "";
  z-index: 3;
  background: linear-gradient(112deg, transparent 38%, #fff7de92 50%, transparent 63%);
  opacity: 0;
  transform: translateX(-105%);
}

.banner[data-spotlight]::after {
  animation: poster-sweep 600ms ease-out;
}

@keyframes poster-sweep {
  0% { opacity: 0; transform: translateX(-105%); }
  20% { opacity: .44; }
  100% { opacity: 0; transform: translateX(108%); }
}

.banner-caption {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 clamp(8px, 2.45cqi, 13px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 50%;
  align-content: center;
  justify-items: start;
  gap: clamp(3px, .8cqi, 5px);
  color: var(--lobby-ink);
  line-height: 1.05;
  pointer-events: none;
}

.banner-caption small {
  color: var(--lobby-ink);
  font-size: clamp(8.5px, 2.35cqi, 11px);
  font-weight: 550;
  line-height: 1.18;
  text-shadow: var(--text-shadow);
  white-space: nowrap;
}

.dock .banner {
  display: flex;
  flex-direction: column;
}

.dock .banner-poster {
  position: static;
  height: auto;
  aspect-ratio: 9 / 4;
}

.dock .banner-caption {
  inset-inline-start: clamp(6px, 2.25cqi, 12px);
  width: 42%;
  gap: clamp(2px, .82cqi, 4px);
}

.banner-wordmark {
  display: block;
  inline-size: 100%;
  min-inline-size: 0;
  max-inline-size: 100%;
  height: auto;
  filter: drop-shadow(0 1px 1px #382719d9);
}

.dock .banner-caption small {
  color: #fff8e9;
  text-shadow: 0 1px 1px #251e18ed, 0 0 3px #21190ea1;
}

.activity-controls {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.activity-markers { display: flex; }
.activity-marker, .activity-rotation {
  display: grid;
  place-items: center;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  touch-action: manipulation;
}

.activity-marker i {
  width: 4px;
  height: 4px;
  rotate: 45deg;
  background: var(--warm-edge);
  box-shadow: 0 0 3px var(--tea-shadow);
  pointer-events: none;
}

.activity-marker[aria-current="true"] i {
  width: 14px;
  height: 2px;
  rotate: 0deg;
  background: var(--light-edge);
  box-shadow: 0 1px 2px var(--tea-shadow), 0 0 4px var(--soft-edge);
}

.activity-rotation i {
  width: 6px;
  height: 8px;
  border-inline: 1px solid var(--light-edge);
  filter: drop-shadow(0 1px 2px var(--tea-shadow));
  pointer-events: none;
}

.activity-rotation[data-playing="false"] i {
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left: 6px solid var(--light-edge);
  border-right: 0;
}

.dock {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 148px), 57%);
  align-items: end;
  column-gap: clamp(7px, 2.4cqi, 13px);
  padding-inline: max(var(--lobby-edge), env(safe-area-inset-left)) max(2.5%, env(safe-area-inset-right));
  padding-bottom: max(var(--lobby-bottom), env(safe-area-inset-bottom));
}

.destinations {
  grid-column: 2;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  row-gap: clamp(18px, 4cqi, 22px);
  column-gap: clamp(3px, 1.08cqi, 6px);
}

.destinations:has(.destination--companion[hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.destination {
  grid-row: 2;
  align-content: end;
  isolation: isolate;
  --scene-light: #fff5de;
  --scene-edge: #ffe9bdbd;
  --scene-tint: #ebcf946b;
  --scene-shadow: #76583578;
  --scene-tilt: -11deg;
}

.destination--home { grid-column: 1; }

.destination--travel {
  grid-column: 2;
  --scene-edge: #ffe3b1c7;
  --scene-tint: #e4b46879;
  --scene-shadow: #8b5e367c;
  --scene-tilt: -15deg;
}

.destination--companion {
  grid-column: 3;
  --scene-edge: #ffdfc4cc;
  --scene-tint: #e3a07d8a;
  --scene-shadow: #874e387c;
  --scene-tilt: -8deg;
}

.destination-scene {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(49px, 16.6cqi, 87px);
  pointer-events: none;
}

.destination-scene::before {
  content: "";
  position: absolute;
  inset: 14% -3% 0;
  background: radial-gradient(ellipse 47% 42% at 50% 56%, var(--scene-shadow), transparent);
}

.destination-panes {
  position: absolute;
  inset: 11% 12% 11% 12%;
  transform: rotate(var(--scene-tilt));
}

.destination-panes::before, .destination-panes::after {
  content: "";
  position: absolute;
  border: 1px solid transparent;
  border-radius: 48% 32% 49% 27% / 44% 31% 56% 39%;
}

.destination-panes::before {
  inset: 7% -7% -5% 8%;
  border-right-color: var(--scene-edge);
  border-bottom-color: var(--scene-edge);
  background: linear-gradient(137deg, transparent 53%, var(--scene-tint) 88%, #fff2d82e);
  box-shadow: 0 2px 5px #5b412749;
}

.destination-panes::after {
  inset: 0;
  border-top-color: var(--scene-light);
  border-left-color: var(--scene-edge);
  border-bottom-color: var(--scene-tint);
  background:
    linear-gradient(148deg, transparent 29%, #fff6db5e 31%, #fff6e229 47%, transparent 49%),
    radial-gradient(ellipse at 22% 8%, #fff4d790 3%, transparent 54%),
    linear-gradient(137deg, #ffedd93f, #fff6df11 37%, var(--scene-tint) 92%);
  box-shadow: inset 0 0 0 1px #fbeed839;
}

.destination-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 77%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 2px 1.5px var(--scene-shadow));
}

.destination--travel .destination-icon { width: 85%; transform: translate(3%, -5%); }
.destination--companion .destination-icon { width: 80%; transform: translateY(1%); }

.destination-reflection {
  position: absolute;
  z-index: 2;
  inset: auto 6% 5% 6%;
  height: 30%;
  border-bottom: 1px solid var(--scene-light);
  border-radius: 46% 60% 50% 55%;
  transform: rotate(var(--scene-tilt));
  background:
    radial-gradient(ellipse 16% 24% at 17% 76%, #fff4dfbd, transparent),
    radial-gradient(ellipse 25% 33% at 76% 78%, var(--scene-tint), transparent);
  box-shadow: 0 2px 0 -1px var(--scene-edge), 0 4px 5px -4px var(--scene-light);
}

.destination-reflection::before, .destination-reflection::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, #fffdf2 17%, #fff1cbb3 36%, transparent 72%);
}

.destination-reflection::before { left: 11%; bottom: 0; width: 12%; }
.destination-reflection::after { right: 7%; bottom: 15%; width: 7%; }

.shortcut-label, .destination-label {
  padding-inline-start: .13em;
  color: var(--lobby-ink);
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: .13em;
  text-shadow: var(--hero-text-shadow);
}

.destination-label {
  position: relative;
  z-index: 3;
  display: grid;
  align-items: center;
  min-height: 24px;
  margin-block-start: -6px;
  font-size: clamp(13px, 3.8cqi, 20px);
}

.destination--adventure {
  --adventure-inset: clamp(4px, 1.8cqi, 10px);
  grid-row: 1;
  grid-column: 1 / -1;
  justify-self: end;
  width: min(calc(100% - var(--adventure-inset)), clamp(96px, 33cqi, 174px));
  aspect-ratio: 164 / 115;
  margin-inline-end: var(--adventure-inset);
}

.adventure-plates, .adventure-wordmark, .adventure-pennant {
  display: block;
  position: absolute;
  pointer-events: none;
}

.adventure-plates {
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  aspect-ratio: 164 / 115;
  overflow: visible;
  filter: drop-shadow(0 1px 1px #4d32275e);
}

.adventure-glow {
  opacity: .67;
  filter: blur(1.55px);
}

.adventure-route {
  filter: drop-shadow(0 0 1.1px #fff2df96);
}

.adventure-pennant {
  top: 3%;
  right: 6%;
  width: 34%;
  height: auto;
  transform: rotate(-8deg);
  filter: drop-shadow(0 1px 1px var(--tea-shadow));
}

.adventure-wordmark {
  width: 75%;
  height: auto;
  top: 27%;
  left: 2%;
  filter: drop-shadow(0 1px 1px #3f291fe0);
}

.shortcut:active, .destination:active { transform: translateY(1px) scale(.97); filter: brightness(.95); }
@media (hover: hover) and (pointer: fine) {
  .shortcut:hover:not(:active), .destination:hover:not(:active) { transform: translateY(-1px); filter: brightness(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .shortcut, .destination { transition: none; }
  .banner[data-spotlight]::after { animation: none; }
  .shortcut:active, .destination:active, .shortcut:hover, .destination:hover { transform: none; }
}

.garden-lobby :is(.shortcuts, .dock) { z-index: 3; }
.garden-lobby button:focus-visible,
.garden-lobby .banner-viewport:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.garden-lobby .banner:focus-visible { outline-offset: -3px; }

.garden-lobby :is(.shortcut, .profile-link)[data-ready="true"]::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 3px;
  right: 5px;
  width: 8px;
  height: 8px;
  border: 1px solid #fff4d7;
  border-radius: 50%;
  background: #d45041;
  box-shadow: 0 1px 4px #48271a80;
  pointer-events: none;
}
.garden-lobby .profile-link[data-ready="true"]::after { right: auto; left: clamp(35px, 12cqi, 62px); }
.garden-lobby .home-post-entry[data-ready="true"]::after { top: 22%; right: 5%; }
.garden-lobby .banner[aria-hidden="true"] { pointer-events: none; }

.garden-lobby .home-mascot { position: absolute; z-index: 0; inset: 0; display: block; pointer-events: none; }
.garden-lobby .mascot-figure {
  position: absolute;
  left: 50%;
  bottom: max(21%, calc(50% - var(--lobby-scene-height) * .29));
  width: min(65%, calc(var(--lobby-scene-height) * .34));
  margin: 0;
  transform: translateX(-50%);
  pointer-events: auto;
}
.garden-lobby #mascot:focus-visible { outline-offset: -4px; }

.lobby-dialogue {
  position: absolute;
  z-index: 4;
  inset: auto auto calc(100% + clamp(9px, 1.6cqh, 15px)) 50%;
  width: max-content;
  max-width: min(60cqi, 320px);
  margin: 0;
  padding: .48em .9em;
  transform: translateX(-50%);
  border: 1px solid #ffdfb784;
  border-radius: 8px 18px 8px 18px;
  background: linear-gradient(110deg, #3f3025bf, #30241da6);
  box-shadow: inset 0 1px #fff1d333, 0 4px 16px #25190e54;
  backdrop-filter: blur(5px);
  color: #fff6e4;
  font-weight: 650;
  font-size: clamp(12px, 3.5cqi, 16px);
  line-height: 1.52;
  text-align: center;
  text-shadow: 0 1px 2px #24170e;
  text-wrap: balance;
  pointer-events: none;
}
.lobby-dialogue:empty { visibility: hidden; }
.lobby-dialogue:not(:empty) { animation: lobby-dialogue-in .18s ease both; }
@keyframes lobby-dialogue-in {
  from { opacity: 0; translate: 0 4px; }
  to { opacity: 1; translate: 0 0; }
}

.home-destination-preview {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px 8px 13px;
  border: 1px solid #c89f735e;
  border-top-color: #fffcf4;
  border-radius: 8px 18px;
  background:
    radial-gradient(ellipse at 50% 24%, #fff8e8df 0%, #f8e9d2bd 43%, #e9d2ad95 78%),
    url("assets/garden-ui/conservatory.webp?v=wide-lobby") center 36% / cover;
  box-shadow: inset 0 0 0 1px #fff8e8af;
  text-align: center;
}
.home-destination-preview[data-destination="home-travel-button"] {
  background:
    radial-gradient(ellipse at 50% 18%, #fff8e7f0 0%, #f4e6d5d7 44%, #e7d2bcb3 78%),
    url("assets/lobby-wind-post-dusk.webp?v=wide-lobby") center 31% / cover;
}
.home-destination-preview img {
  width: clamp(64px, 23vw, 104px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px #71533056);
}
.collection-dialog .home-destination-preview p { margin: 0; color: #5e422f; font-weight: 750; }

@media (max-height: 560px) {
  .garden-lobby .lobby-portrait { width: clamp(35px, min(13.9cqi, 11.5cqh), 56px); }
  .garden-lobby .shortcuts { top: max(13%, calc(var(--top) + 16cqh)); gap: 0; }
  .garden-lobby .shortcut { height: 44px; gap: 0; }
  .garden-lobby .shortcut-crest { width: 29px; }
  .garden-lobby .home-post-entry { top: max(13%, calc(var(--top) + 16cqh)); width: clamp(54px, 15cqh, 64px); }
  .garden-lobby .destinations { row-gap: 4px; }
  .garden-lobby .destination--adventure { width: min(100%, 100px); }
  .garden-lobby .destination-scene { width: 81%; height: clamp(40px, 13cqh, 62px); }
}

@media (orientation: landscape) and (max-height: 560px) {
  .garden-home-layout { width: min(100%, max(440px, 116dvh)); }
  .garden-lobby .dock { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
  .garden-lobby .shortcuts { grid-template-columns: repeat(2, minmax(44px, 1fr)); }
  .garden-lobby .dock .banner { aspect-ratio: 2.8; }
}

@container (max-width: 320px) {
  .garden-lobby .dock { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 5px; }
  .garden-lobby .destination { min-width: 38px; }
}
