:root {
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #f7f0e4;
  background: #080d1d;
  font-synthesis: none;
  --gold: #d9bd88;
  --muted: #a1a5ae;
  --line: rgba(217, 189, 136, 0.25);
  --serif: "Bodoni MT", "Times New Roman", "Songti SC", "SimSun", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
label,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
label:focus-within,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
#app {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 3.4vw;
  background: radial-gradient(ellipse at 66% 48%, #111a2c33, transparent 60%);
}
.header {
  height: 88px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.brand {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 4px;
  display: flex;
  gap: 16px;
  align-items: center;
  white-space: nowrap;
}
.brand-star {
  font-size: 42px;
  font-weight: 100;
  color: var(--gold);
  line-height: 1;
}
.edition {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 4px;
}
.edition i {
  width: 27px;
  height: 1px;
  background: var(--line);
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13px;
  letter-spacing: 2px;
}
nav span {
  color: #807b72;
}
nav button {
  padding: 12px 0;
}
nav button:hover,
.text-button:hover {
  color: var(--gold);
}
.experience {
  position: relative;
  flex: 1;
  min-height: 690px;
  height: calc(100svh - 145px);
}
#scene {
  position: absolute;
  inset: -25px -3.4vw 0;
  overflow: hidden;
  touch-action: pan-y;
}
#scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#scene canvas:active {
  cursor: grabbing;
}
.intro {
  position: relative;
  z-index: 1;
  padding-top: clamp(50px, 8vh, 110px);
  pointer-events: none;
  width: 47%;
}
.intro h1 {
  font-family: var(--serif);
  font-size: clamp(66px, 7.2vw, 116px);
  font-style: italic;
  line-height: 0.88;
  font-weight: 400;
  letter-spacing: -4px;
  margin: 0 0 26px;
}
.intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.7vw, 43px);
  letter-spacing: 7px;
  margin: 0;
}
.small-rule {
  display: block;
  width: 39px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
.description {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 2px;
  line-height: 1.8;
  margin: 0 0 4px;
  white-space: nowrap;
}
.english {
  font: italic 15px var(--serif);
  letter-spacing: 1.6px;
  margin: 0;
  color: #d9d3ca;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-top: 41px;
  pointer-events: auto;
}
.button {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 14px;
  letter-spacing: 2px;
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.primary {
  background: linear-gradient(115deg, #f3dba5, #c8a86e);
  color: #29231b;
  box-shadow: inset 0 0 0 1px #ffe6ad44;
}
.primary:hover {
  box-shadow: 0 0 27px #d9bd8825;
  transform: translateY(-2px);
}
.plus {
  font-size: 26px;
  font-weight: 200;
  line-height: 20px;
}
.text-button {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 1px;
  border-bottom: 1px solid #d9bd8866;
  padding: 9px 0;
}
.featured {
  margin-top: 47px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  pointer-events: auto;
  text-align: left;
}
.featured img {
  height: 53px;
  width: 53px;
  border: 1px solid var(--gold);
  padding: 3px;
  object-fit: cover;
  border-radius: 2px;
}
.featured span {
  border-left: 1px solid #d9bd8866;
  padding-left: 18px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 1px;
}
.featured small {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 8px;
}
.featured em {
  margin-right: 10px;
}
.featured b {
  font-weight: 400;
  margin-right: 10px;
  color: var(--gold);
}
.palette {
  position: absolute;
  z-index: 2;
  bottom: 31px;
  right: 0;
  padding: 18px 23px;
  background: linear-gradient(120deg, #212936a8, #151c2bbe);
  border: 1px solid #d9bd8866;
  border-radius: 12px;
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 40px #0002;
}
.palette-heading {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.palette-heading > span {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #b7b9bf;
}
.swatches {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
.swatch {
  background:
    radial-gradient(circle at 30% 25%, #ffffff66, transparent 70%),
    var(--swatch);
  border: 1px solid #ffffff44;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  padding: 0;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.swatch:before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid transparent;
}
.swatch.selected:before {
  border-color: #e8d1a0;
}
.swatch.selected {
  box-shadow: 0 0 19px var(--swatch);
}
.swatch:hover {
  transform: scale(1.12);
}
.swatch-divider {
  height: 23px;
  width: 1px;
  background: #d9bd8844;
  margin: 0 3px;
}
.custom-color {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 1px;
}
.custom-color input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.color-wheel {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: conic-gradient(
    #eca2bd,
    #b49be6,
    #82cce4,
    #8bbe87,
    #f4cd82,
    #eca2bd
  );
  position: relative;
}
.color-wheel:after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #202632;
  border-radius: 50%;
}
.explore-hint {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 49%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #c8c2b9;
  pointer-events: none;
}
.mouse-icon {
  height: 23px;
  width: 14px;
  border: 1px solid #c8c2b9;
  border-radius: 8px;
  position: relative;
}
.mouse-icon:before {
  content: "";
  height: 6px;
  width: 1px;
  background: #c8c2b9;
  position: absolute;
  top: 3px;
  left: 6px;
}
.tree-toolbar {
  position: absolute;
  top: 22px;
  right: 0;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.icon-button {
  width: 35px;
  height: 35px;
  border: 1px solid #d9bd8833;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #beb5a3;
  background: #0c132244;
}
.icon-button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.icon-button svg {
  height: 15px;
  width: 15px;
}
.mobile-story {
  display: none;
}
footer {
  height: 57px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  font-size: 12px;
  letter-spacing: 2px;
}
footer em {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 1.2px;
}
footer > span {
  color: #bcb9b4;
}
#ornament-label {
  position: absolute;
  pointer-events: none;
  padding: 8px 12px;
  background: #101829d9;
  border: 1px solid var(--line);
  font: 12px var(--serif);
  letter-spacing: 1px;
  opacity: 0;
  z-index: 3;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.modal {
  border: 1px solid #d9bd8866;
  max-height: 90svh;
  overflow-y: auto;
  padding: 45px;
  max-width: min(600px, 92vw);
  width: 100%;
  color: #f7f0e4;
  background: #111a2b;
  box-shadow: 0 20px 100px #0006;
  scrollbar-width: thin;
  scrollbar-color: #8a7958 #111a2b;
}
.modal::backdrop {
  background: #030713b8;
  backdrop-filter: blur(12px);
}
.modal[open] {
  animation: modal-in 0.4s ease-out;
}
.close {
  position: absolute;
  right: 13px;
  top: 9px;
  width: 36px;
  height: 36px;
  font-size: 28px;
  font-weight: 200;
  color: #a9a59d;
  z-index: 1;
}
.close:hover {
  color: var(--gold);
}
.modal-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  margin: 9px 0 20px;
}
.modal h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 2px;
  line-height: 1.5;
  margin: 0 0 12px;
}
.modal-intro {
  font-size: 14px;
  line-height: 1.8;
  color: #acaeb5;
  margin: 0 0 25px;
}
form {
  display: grid;
  gap: 18px;
}
form > label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: #d7d2c8;
  letter-spacing: 1px;
}
input:not([type="file"]):not([type="color"]),
textarea {
  border: 1px solid #d9bd8833;
  background: #080e1c66;
  padding: 12px;
  color: #f7f0e4;
  min-width: 0;
  border-radius: 0;
  font-size: 15px;
}
textarea {
  resize: vertical;
  line-height: 1.9;
}
input::placeholder,
textarea::placeholder {
  color: #747d8c;
  font-size: 13px;
}
.upload {
  height: 140px;
  border: 1px dashed #d9bd8877;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}
.upload input,
.import-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.upload > span {
  text-align: center;
  font-size: 13px;
}
.upload-plus {
  display: block;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 6px;
}
.upload small {
  display: block;
  font-size: 11px;
  color: #8e96a4;
  margin-top: 9px;
  letter-spacing: 0;
}
.privacy {
  font-size: 12px;
  line-height: 1.9;
  color: #939eae;
  letter-spacing: 0.2px;
  margin: 0;
}
.error {
  color: #f3b6b6;
  font-size: 13px;
  margin: 0;
}
.error:empty {
  display: none;
}
.wide {
  width: 100%;
}
.letter-modal {
  background: #f3ede1;
  color: #38352f;
  max-width: min(920px, 94vw);
  padding: 42px 48px;
  border-color: #d9bd88;
  background-image: repeating-linear-gradient(
    0deg,
    #b8a77d05 0,
    #b8a77d05 1px,
    transparent 1px,
    transparent 4px
  );
}
.letter-brand {
  text-align: center;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 5px;
}
.letter-archive {
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  color: #8c7753;
  margin: 12px 0 30px;
}
.letter-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 38px;
  align-items: start;
}
.letter-layout figure {
  margin: 0;
  transform: rotate(-3deg);
  background: #fff9ed;
  padding: 9px 9px 18px;
  box-shadow: 0 6px 20px #71634b23;
}
.letter-layout figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.letter-layout figcaption {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  margin: 13px 0 0;
  color: #8b7857;
  font-size: 13px;
}
.letter-layout h2 {
  font-size: 26px;
  margin-bottom: 17px;
  overflow-wrap: anywhere;
}
.letter-layout article {
  min-width: 0;
}
.letter-layout #letter-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.letter-signature {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
  text-align: right;
  white-space: pre-line;
  margin: 24px 0 0;
}
.letter-bottom {
  border-top: 1px solid #b99e6b66;
  margin-top: 32px;
  padding-top: 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.letter-bottom em {
  font-family: var(--serif);
  font-size: 14px;
  color: #8b7857;
}
.letter-bottom button {
  color: #796441;
  font-size: 12px;
  border-bottom: 1px solid #b99e6b;
}
.archive-row {
  display: flex;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.archive-open {
  display: flex;
  gap: 18px;
  align-items: center;
  text-align: left;
  flex: 1;
  min-width: 0;
  padding: 0;
}
.archive-open img {
  width: 62px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--gold);
  padding: 3px;
}
.archive-open span {
  min-width: 0;
}
.archive-open strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  display: block;
  overflow-wrap: anywhere;
}
.archive-open small {
  display: block;
  color: #9e9fa7;
  font-size: 11px;
  letter-spacing: 1px;
  margin-top: 9px;
}
.delete-memory {
  color: #a89a8c;
  font-size: 12px;
  flex-shrink: 0;
}
.archive-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.archive-actions .button {
  font-size: 12px;
  letter-spacing: 1px;
  flex: 1;
}
.import-button {
  position: relative;
  cursor: pointer;
}
.about-modal p:not(.privacy) {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.1;
  color: #c9c8c5;
}
.about-modal h2 {
  font-size: 40px;
}
.about-sign {
  display: block;
  font-family: var(--serif);
  margin-top: 30px;
  color: var(--gold);
}
#toast {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 14px 23px;
  border: 1px solid #d9bd8877;
  background: #192232f2;
  color: #f7f0e4;
  font-size: 13px;
  letter-spacing: 1px;
  z-index: 20;
  opacity: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.fallback-tree {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-left: 30%;
  background: radial-gradient(ellipse at 65% 60%, #d9bd8812, transparent 40%);
}
.fallback-tree svg {
  height: 75%;
  max-width: 70%;
  filter: drop-shadow(0 0 8px #d9bd88);
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1700px) {
  .intro {
    padding-top: 12vh;
  }
  .actions {
    margin-top: 55px;
  }
  .featured {
    margin-top: 60px;
  }
  .description {
    font-size: 20px;
  }
}
@media (max-width: 1150px) {
  .brand {
    font-size: 15px;
    letter-spacing: 2px;
    gap: 9px;
  }
  .edition {
    font-size: 12px;
    letter-spacing: 3px;
    gap: 10px;
  }
  nav {
    font-size: 12px;
    gap: 15px;
  }
  .intro {
    width: 49%;
  }
  .intro h1 {
    font-size: 82px;
  }
  .description {
    font-size: 15px;
    letter-spacing: 1px;
  }
  .english {
    font-size: 13px;
  }
  .actions {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 30px;
  }
  .featured {
    margin-top: 30px;
  }
  .palette {
    padding: 16px 19px;
  }
  .swatches {
    gap: 13px;
  }
  .explore-hint {
    left: 36%;
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  #app {
    padding: 0 22px;
    min-height: 100svh;
  }
  .header {
    height: 70px;
  }
  .brand {
    font-size: 13px;
    letter-spacing: 1.9px;
    gap: 8px;
  }
  .brand-star {
    font-size: 31px;
  }
  .edition {
    position: absolute;
    left: 42px;
    top: 49px;
    font-size: 8px;
    letter-spacing: 2px;
    gap: 0;
  }
  .edition i {
    display: none;
  }
  nav {
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0;
  }
  nav span {
    display: none;
  }
  nav button {
    padding: 14px 0;
  }
  .experience {
    height: auto;
    min-height: 960px;
  }
  .intro {
    padding-top: 35px;
    width: 100%;
    text-align: center;
  }
  .intro h1 {
    font-size: 62px;
    line-height: 0.91;
    letter-spacing: -2px;
    margin-bottom: 18px;
  }
  .intro h1 br {
    display: none;
  }
  .intro h2 {
    font-size: 23px;
    letter-spacing: 6px;
  }
  .small-rule {
    margin: 17px auto;
    width: 29px;
  }
  .description {
    font-size: 13px;
    letter-spacing: 0.7px;
    white-space: normal;
  }
  .english {
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 5px;
  }
  .actions {
    margin-top: 21px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .actions .button {
    font-size: 12px;
    padding: 10px 16px;
    min-height: 43px;
    letter-spacing: 1px;
  }
  .actions .text-button {
    font-size: 12px;
  }
  .featured {
    display: none;
  }
  #scene {
    inset: 240px -22px 110px;
  }
  .tree-toolbar {
    top: 308px;
    right: 0;
    gap: 7px;
  }
  .icon-button {
    width: 30px;
    height: 30px;
  }
  .palette {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 41px;
    width: max-content;
    max-width: 100%;
    padding: 16px 20px;
  }
  .palette-heading {
    font-size: 14px;
  }
  .swatches {
    gap: 15px;
  }
  .swatch {
    width: 24px;
    height: 24px;
  }
  .explore-hint {
    bottom: 158px;
    left: 50%;
    font-size: 10px;
    gap: 8px;
    letter-spacing: 0.7px;
  }
  .mobile-story {
    display: none;
  }
  footer {
    height: 61px;
    gap: 15px;
  }
  footer em {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  footer > span {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .modal {
    padding: 35px 23px;
    max-height: 91svh;
  }
  .modal h2 {
    font-size: 26px;
  }
  .modal-eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .modal-intro {
    font-size: 13px;
  }
  .letter-modal {
    padding: 36px 24px;
  }
  .letter-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .letter-layout figure {
    width: 58%;
    margin: 0 auto;
  }
  .letter-layout figure img {
    aspect-ratio: 1;
  }
  .letter-layout h2 {
    font-size: 23px;
  }
  .letter-layout #letter-body {
    font-size: 16px;
    line-height: 2;
  }
  .letter-bottom {
    flex-wrap: wrap;
  }
  .letter-brand {
    font-size: 13px;
  }
  .letter-archive {
    margin-bottom: 25px;
  }
  .fallback-tree {
    padding-left: 0;
  }
  .fallback-tree svg {
    max-width: 100%;
    height: 92%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 701px) and (max-height: 800px) {
  .experience {
    min-height: 530px;
    height: calc(100svh - 130px);
  }
  .header {
    height: 74px;
  }
  footer {
    height: 56px;
  }
  .intro {
    padding-top: 45px;
  }
  .intro h1 {
    font-size: clamp(68px, 7.1vw, 105px);
    margin-bottom: 22px;
  }
  .intro h2 {
    font-size: 31px;
  }
  .small-rule {
    margin: 20px 0;
  }
  .actions {
    margin-top: 30px;
    flex-direction: row;
    align-items: center;
  }
  .featured {
    margin-top: 30px;
  }
  .palette {
    bottom: 24px;
  }
  .explore-hint {
    bottom: 26px;
    left: 42%;
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  .intro h1 {
    font-size: 56px;
    line-height: 0.92;
    letter-spacing: -2px;
  }
  .intro h1 br {
    display: initial;
  }
  #scene canvas {
    touch-action: pan-y;
  }
  .intro {
    padding-top: 32px;
  }
}

/* 并入陪伴实验室主站：页脚"陪伴实验室"可回首页 */
footer .footer-home{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
footer .footer-home:hover{color:var(--gold);border-color:var(--line)}
footer > span + span,footer .footer-home + span{margin-left:0}

/* 窄屏：右上两个圆按钮挪到按钮行下方，避免压住"阅读三秋的故事" */
@media (max-width: 700px) {
  .tree-toolbar { top: 348px; }
}

/* 礼物与明信片（2026-11-24） */
.gather-button {
  position: absolute;
  z-index: 3;
  bottom: 74px;
  left: 49%;
  transform: translateX(-50%);
  padding: 10px 22px;
  border: 1px solid #d9bd8866;
  border-radius: 999px;
  background: #0c1322cc;
  color: #f1e4c8;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 2px;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.gather-button:hover { border-color: var(--gold); color: #fff6e2; }
.gather-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gather-button[hidden] { display: none; }
.postcard-modal {
  max-width: min(460px, 92vw);
  padding: 34px 30px 28px;
  text-align: center;
}
.postcard-modal .modal-eyebrow { margin-top: 0; }
#postcard-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 64svh;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f8f6f2;
  box-shadow: 0 24px 60px #0008;
}
.postcard-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: #acaeb5;
}
.postcard-note a { color: var(--gold); margin-left: 4px; }
.postcard-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 18px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 700px) {
  .gather-button { bottom: 196px; left: 50%; font-size: 13px; }
  .postcard-modal { padding: 30px 18px 22px; }
}
