/* A connected, one-screen Gather: keep the watercolor map whole and let the photo doors meet it at the bottom. */
body.gather-edited {
  height: 100svh !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #18352d !important;
}
body.gather-edited main {
  height: calc(100svh - var(--gather-nav-height, 84px)) !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
body.gather-edited footer.footer { display: none !important; }
body.gather-edited .gather-burgundy-hero.gather-living-scene {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  background: #18352d !important;
}
body.gather-edited .gather-living-scene > .gather-scene-stage {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
body.gather-edited .gather-living-scene > .gather-scene-stage > .gather-scene-motion {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
}
body.gather-edited .gather-scene-motion > .gather-scene-map,
body.gather-edited .gather-scene-motion > .gather-bridge-occlusion {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* The welcome stays directly on the artwork, with no panel behind it. */
body.gather-edited .gather-banner-heading {
  z-index: 8 !important;
  left: clamp(24px, 5.2vw, 82px) !important;
  top: clamp(22px, 5.2vh, 58px) !important;
  width: auto !important;
  max-width: min(46vw, 620px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #fff4dc !important;
}
body.gather-edited .gather-banner-heading h1 {
  width: auto !important;
  max-width: none !important;
  margin: 0 0 5px !important;
  font-size: clamp(60px, 7.3vw, 108px) !important;
  line-height: .9 !important;
  text-shadow: 0 2px 20px rgba(10, 25, 20, .68) !important;
}
body.gather-edited .gather-banner-heading > p {
  margin: 0 0 0 5px !important;
  color: #fbf0d8 !important;
  text-shadow: 0 1px 10px rgba(10, 25, 20, .85) !important;
}
body.gather-edited .gather-banner-heading > .gather-typewriter {
  margin-bottom: 5px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Raise the gold pinecone welcome slightly and keep it floating cleanly over the map. */
body.gather-edited .gather-scene-stage > .gather-pine-door {
  top: 12% !important;
  right: 12% !important;
  width: 142px !important;
  padding: 0 !important;
  gap: 2px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
body.gather-edited .gather-scene-stage > .gather-pine-door > strong {
  font-size: 28px !important;
  line-height: 1.05 !important;
  text-shadow: 0 1px 7px rgba(12, 30, 22, .9) !important;
}

/* Seamless image doors; captions sit on the photograph itself, with a fine shared footer rule. */
body.gather-edited .gather-living-scene > .gather-map-wayfinding {
  position: absolute !important;
  box-sizing: border-box !important;
  inset: auto 0 0 !important;
  z-index: 40 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  width: 100% !important;
  height: min(35svh, 370px) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 3px solid #cfb677 !important;
  background: transparent !important;
  transform: none !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(15px, 2vw, 30px) !important;
  overflow: hidden !important;
  border: 0 !important;
  border-right: 1px solid rgba(241, 222, 177, .68) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff6df !important;
  text-align: left !important;
  box-shadow: none !important;
  transform: none !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button:last-child { border-right: 0 !important; }
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  background: linear-gradient(0deg, rgba(11, 29, 22, .88), rgba(11, 29, 22, .18) 48%, rgba(11, 29, 22, .04)) !important;
  pointer-events: none !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button .gather-invitation-photo {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 45% !important;
  filter: saturate(.95) contrast(1.03) !important;
  transition: transform .45s ease !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button.gather-invitation-dream .gather-invitation-photo { object-position: center 47% !important; }
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button:hover .gather-invitation-photo,
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button:focus-visible .gather-invitation-photo { transform: scale(1.025) !important; }
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button > strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  max-width: 19ch !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff7e4 !important;
  font: 400 clamp(24px, 2.35vw, 36px)/1.02 'EB Garamond', Georgia, serif !important;
  text-shadow: 0 2px 13px rgba(5, 17, 12, .72) !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button > .gather-door-summary { display: none !important; }
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button > .gather-door-action {
  position: absolute !important;
  right: clamp(14px, 1.8vw, 26px) !important;
  bottom: clamp(15px, 1.8vw, 25px) !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button > .gather-door-action img {
  display: block !important;
  width: 29px !important;
  height: 33px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .55)) !important;
}
body.gather-edited .gather-living-scene > .gather-map-wayfinding > button:focus-visible {
  z-index: 5 !important;
  outline: 3px solid #f0d58f !important;
  outline-offset: -4px !important;
}
body.gather-edited .gather-room-panels:not(:has(.gather-room-panel:not([hidden]))) { display: none !important; }
body.gather-edited .gather-room-panels:has(.gather-room-panel:not([hidden])) {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 100vw !important;
  height: 100svh !important;
  max-height: 100svh !important;
  margin: 0 !important;
  padding: clamp(12px, 3vw, 34px) !important;
  overflow: hidden !important;
  background: rgba(12, 28, 22, .72) !important;
  backdrop-filter: blur(8px) !important;
}

@media (max-width: 800px) {
  body.gather-edited .gather-living-scene { display: grid !important; grid-template-rows: min(28svh, 270px) minmax(0, 1fr) !important; }
  body.gather-edited .gather-living-scene > .gather-scene-stage {
    position: relative !important;
    inset: auto !important;
    grid-row: 1 !important;
    height: 100% !important;
  }
  body.gather-edited .gather-living-scene > .gather-map-wayfinding {
    position: relative !important;
    inset: auto !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    height: auto !important;
    min-height: 0 !important;
    border-bottom-width: 3px !important;
  }
  body.gather-edited .gather-living-scene > .gather-map-wayfinding > button {
    padding: 12px 18px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(241, 222, 177, .55) !important;
  }
  body.gather-edited .gather-living-scene > .gather-map-wayfinding > button:last-child { border-bottom: 0 !important; }
  body.gather-edited .gather-living-scene > .gather-map-wayfinding > button > strong { max-width: 80% !important; font-size: clamp(21px, 5vw, 27px) !important; }
  body.gather-edited .gather-scene-stage > .gather-pine-door { top: 8% !important; right: 7% !important; width: 108px !important; }
  body.gather-edited .gather-scene-stage > .gather-pine-door > img { width: 39px !important; height: 38px !important; }
  body.gather-edited .gather-scene-stage > .gather-pine-door > strong { font-size: 22px !important; }
  body.gather-edited .gather-banner-heading { top: 8% !important; left: 5% !important; max-width: 56vw !important; }
  body.gather-edited .gather-banner-heading h1 { font-size: clamp(43px, 11vw, 60px) !important; }
  body.gather-edited .gather-banner-heading > p:last-child { max-width: 22ch !important; font-size: 12px !important; }
}
@media (max-width: 420px) {
  body.gather-edited .gather-living-scene { grid-template-rows: min(27svh, 230px) minmax(0, 1fr) !important; }
  body.gather-edited .gather-living-scene > .gather-map-wayfinding > button { padding: 10px 14px !important; }
  body.gather-edited .gather-living-scene > .gather-map-wayfinding > button > strong { font-size: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.gather-edited .gather-living-scene > .gather-map-wayfinding > button .gather-invitation-photo { transition: none !important; }
}

/* Match the legacy ID selectors so the photos stay edge-to-edge under this finish. */
#gather-map > .gather-map-wayfinding { box-sizing: border-box !important; }
#gather-map > .gather-map-wayfinding > button {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: clamp(15px, 2vw, 30px) !important;
  border: 0 !important;
  border-right: 1px solid rgba(241, 222, 177, .68) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#gather-map > .gather-map-wayfinding > button:last-child { border-right: 0 !important; }
#gather-map > .gather-map-wayfinding > button::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  display: block !important;
  background: linear-gradient(0deg, rgba(11, 29, 22, .88), rgba(11, 29, 22, .18) 48%, rgba(11, 29, 22, .04)) !important;
  pointer-events: none !important;
}
#gather-map > .gather-map-wayfinding > button > .gather-invitation-photo {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 45% !important;
  filter: saturate(.95) contrast(1.03) !important;
  transition: transform .45s ease !important;
}
#gather-map > .gather-map-wayfinding > button.gather-invitation-dream > .gather-invitation-photo { object-position: center 47% !important; }
#gather-map > .gather-map-wayfinding > button:hover > .gather-invitation-photo,
#gather-map > .gather-map-wayfinding > button:focus-visible > .gather-invitation-photo { transform: scale(1.025) !important; }
#gather-map > .gather-map-wayfinding > button > strong {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  max-width: 19ch !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff7e4 !important;
  font: 400 clamp(24px, 2.35vw, 36px)/1.02 'EB Garamond', Georgia, serif !important;
  text-shadow: 0 2px 13px rgba(5, 17, 12, .72) !important;
}
#gather-map > .gather-map-wayfinding > button > .gather-door-summary { display: none !important; }
#gather-map > .gather-map-wayfinding > button > .gather-door-action {
  position: absolute !important;
  right: clamp(14px, 1.8vw, 26px) !important;
  bottom: clamp(15px, 1.8vw, 25px) !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  width: 34px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#gather-map > .gather-map-wayfinding > button > .gather-door-action img {
  display: block !important;
  width: 29px !important;
  height: 33px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .55)) !important;
}
#gather-map > .gather-scene-stage > .gather-pine-door {
  inset: auto !important;
  top: 21% !important;
  right: 23% !important;
  width: 142px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: none !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 800px) {
  #gather-map > .gather-map-wayfinding > button { padding: 12px 18px !important; border-right: 0 !important; border-bottom: 1px solid rgba(241, 222, 177, .55) !important; }
  #gather-map > .gather-map-wayfinding > button:last-child { border-bottom: 0 !important; }
  #gather-map > .gather-map-wayfinding > button > strong { max-width: 80% !important; font-size: clamp(21px, 5vw, 27px) !important; }
  #gather-map > .gather-scene-stage > .gather-pine-door { inset: auto !important; top: 8% !important; right: 7% !important; width: 108px !important; height: auto !important; }
}
@media (max-width: 420px) {
  #gather-map > .gather-map-wayfinding > button { padding: 10px 14px !important; }
  #gather-map > .gather-map-wayfinding > button > strong { font-size: 20px !important; }
}
/* A legible, compact pinecone welcome floats in the open night sky. */
#gather-map > .gather-scene-stage > .gather-pine-door {
  inset: auto !important;
  top: 13% !important;
  right: 23% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 150px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  gap: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
#gather-map > .gather-scene-stage > .gather-pine-door > img {
  display: block !important;
  width: 39px !important;
  height: 38px !important;
  margin: 0 !important;
  filter: drop-shadow(0 1px 5px rgba(4, 19, 13, .72)) !important;
}
#gather-map > .gather-scene-stage > .gather-pine-door > .gather-pine-invite {
  display: block !important;
  margin: 0 !important;
  color: #f4e6c4 !important;
  font: 500 10px/1.15 'Courier New', Courier, monospace !important;
  letter-spacing: .15em !important;
  text-transform: lowercase !important;
  text-shadow: 0 1px 6px rgba(5, 17, 12, .9) !important;
}
#gather-map > .gather-scene-stage > .gather-pine-door > strong {
  display: block !important;
  margin: 0 !important;
  color: #fff3d8 !important;
  font: 500 25px/1.03 'Courier New', Courier, monospace !important;
  letter-spacing: .06em !important;
  text-transform: lowercase !important;
  text-shadow: 0 1px 7px rgba(5, 17, 12, .92) !important;
}
@media (max-width: 800px) {
  #gather-map > .gather-scene-stage > .gather-pine-door { top: 8% !important; right: 7% !important; width: 118px !important; }
  #gather-map > .gather-scene-stage > .gather-pine-door > img { width: 34px !important; height: 33px !important; }
  #gather-map > .gather-scene-stage > .gather-pine-door > .gather-pine-invite { font-size: 8.5px !important; }
  #gather-map > .gather-scene-stage > .gather-pine-door > strong { font-size: 19px !important; }
}
@media (max-width: 420px) {
  #gather-map > .gather-scene-stage > .gather-pine-door { right: 5% !important; width: 102px !important; }
  #gather-map > .gather-scene-stage > .gather-pine-door > img { width: 29px !important; height: 28px !important; }
  #gather-map > .gather-scene-stage > .gather-pine-door > strong { font-size: 17px !important; }
}
