@font-face {
  font-family: Invitation;
  src: url("/assets/body.woff2");
}
@font-face {
  font-family: Editorial;
  src: url("/assets/display.woff2");
}
@font-face {
  font-family: Accent;
  src: url("/assets/accent.woff2");
}
:root {
  --outside: #e7dfda;
  --accent: #c2b0a2;
  --panel: #ede7e3;
  --ink: #444;
  --muted: #7b716a;
  --section: 80px;
  --body-size: 16px;
  --line: 1.9;
  --width: 400px;
  --inset: 44px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--outside);
  color: var(--ink);
  font-family: Invitation, serif;
  font-size: var(--body-size);
  line-height: var(--line);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #795d49;
  outline-offset: 4px;
}
button {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  min-height: 48px;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-weight: 400;
}
h1,
.editorial {
  font-family: Editorial, Georgia, serif;
  font-size: 38px;
  line-height: 1.2;
}
h2 {
  font-size: 22px;
}
p + p {
  margin-top: 16px;
}
.invitation {
  max-width: var(--width);
  margin: 48px auto;
  background: #fff;
  box-shadow: 0 8px 32px #65503b12;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.cover {
  height: calc(100svh - 38px);
  min-height: 620px;
}
.cover img {
  height: 75%;
  width: 100%;
  object-fit: cover;
  display: block;
}
.cover-caption {
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre-line;
  text-align: center;
}
#welcome-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--outside); opacity: 1; transition: opacity .55s ease; }
#welcome-overlay.is-leaving { opacity: 0; }
.welcome-frame { position: relative; width: min(100vw, var(--width)); height: 100dvh; overflow: hidden; background: #383431; }
#welcome-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.welcome-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .56); }
#welcome-lettering { position: absolute; top: 56%; left: 0; width: 100%; aspect-ratio: 680 / 400; transform: translateY(-50%); pointer-events: none; }
#welcome-lettering svg { display: block; width: 100%; height: 100%; filter: grayscale(1) brightness(0) invert(1); }
.music {
  position: fixed;
  top: 60px;
  right: max(calc((100vw - var(--width)) / 2 + 12px), 12px);
  width: 28px;
  height: 28px;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: #444b;
  z-index: 3;
  font: 16px Arial;
  color: white;
}
section {
  padding: var(--section) var(--inset);
  text-align: center;
}
.pre {
  white-space: pre-line;
  word-break: keep-all;
}
.muted {
  color: var(--muted);
}
.lead {
  margin: 28px 0 40px;
  color: #82766b;
}
.rsvp-card {
  padding: 32px;
  background: var(--panel);
  border-radius: 6px;
  font-size: 15px;
}
.rsvp-card hr {
  border: 0;
  border-top: 1px solid var(--outside);
  margin: 24px 0;
}
.rsvp-card p {
  margin: 8px 0;
}
.rsvp-card .venue {
  padding: 16px 0;
}
.rsvp-card button {
  width: 100%;
}
.couple {
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  white-space: nowrap;
  font-size: 15px;
}
.invitation-text {
  padding-top: 56px;
  padding-bottom: 0;
}
.invitation-text .pre {
  line-height: 2.3;
  margin: 50px -18px 36px;
}
.full-photo {
  display: block;
  width: 100%;
  height: auto;
}
.small-title {
  font-family: Editorial, Georgia, serif;
  letter-spacing: 2px;
  font-size: 23px;
}
.timeline {
  padding: 75px 28px;
}
.timeline-list {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}
.timeline-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    20px Editorial,
    Georgia,
    serif;
}
.timeline-list span:last-child {
  font-size: 16px;
}
.date-copy {
  margin: 28px -26px 8px;
  font-size: 15px;
}
.date-english {
  font:
    14px Georgia,
    serif;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px 0;
  padding: 28px 0;
  margin: 26px 0;
  border-top: 1px solid #eee8e3;
  border-bottom: 1px solid #eee8e3;
  font-family: Invitation, serif;
}
.calendar span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.calendar .chosen {
  border-radius: 50%;
  background: var(--accent);
  color: white;
}
.calendar .sun {
  color: #bc736f;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 32px -12px 18px;
}
.countdown strong {
  font:
    28px Editorial,
    serif;
  display: block;
}
.countdown small {
  font:
    10px Georgia,
    serif;
  letter-spacing: 1px;
}
.gallery {
  padding-left: 20px;
  padding-right: 20px;
}
.gallery h2 {
  font:
    34px Editorial,
    serif;
  margin: 12px 0 36px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.gallery-grid button {
  padding: 0;
  border-radius: 0;
  background: none;
  overflow: hidden;
  aspect-ratio: 0.75;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-grid button:last-child {
  grid-column: 2;
}
.flower {
  width: 64px;
  height: auto;
  margin: 30px auto;
  display: block;
}
.accounts details {
  text-align: left;
  margin: 12px 0;
  background: var(--panel);
  border-radius: 5px;
}
.accounts summary {
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
}
.accounts summary:after {
  content: "⌄";
  float: right;
  display: inline-block;
  transition: transform .26s ease;
}
.accounts details[open] summary:after { transform: rotate(180deg); }
.account-row {
  border-top: 1px solid #fff8;
  padding: 15px 18px;
  font-size: 14px;
}
.account-row button {
  min-height: 32px;
  padding: 3px 10px;
  background: white;
  color: var(--ink);
  float: right;
}
.location {
  padding-left: 28px;
  padding-right: 28px;
}
.location h3 {
  font-size: 17px;
  font-weight: 400;
  margin-top: 30px;
}
.map {
  width: 100%;
  height: 250px;
  border: 0;
  margin: 24px 0 0;
}
.map-buttons {
  display: flex;
  justify-content: space-evenly;
  background: var(--panel);
  font-size: 14px;
  padding: 12px;
  gap: 12px;
}
.map-buttons a {
  text-decoration: none;
}
.travel {
  text-align: left;
  padding: 24px 4px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  white-space: pre-line;
  word-break: keep-all;
}
.travel strong {
  display: block;
  color: #8d7563;
  margin-bottom: 12px;
  font-size: 17px;
}
.album {
  background: var(--panel);
}
.album .editorial {
  font-size: 30px;
  margin: 20px 0 28px;
}
.album button {
  width: 100%;
  margin: 28px 0 12px;
}
.quote {
  padding: 0;
  position: relative;
}
.quote img {
  display: block;
  width: 100%;
}
.quote .pre {
  padding: 60px 24px;
}
.sharing {
  padding: 25px 32px 55px;
}
.sharing button {
  display: block;
  width: 100%;
  margin: 10px 0;
  background: var(--panel);
  color: var(--ink);
  font-size: 15px;
}
.sharing .kakao {
  background: #fae100;
  color: #382b18;
}
.footer-mark {
  font:
    42px Editorial,
    serif;
  margin: 35px 0 10px;
  text-align: center;
  color: #ad9788;
}
dialog {
  border: 0;
  border-radius: 4px;
  padding: 34px 25px;
  max-width: min(400px, calc(100vw - 24px));
  width: 100%;
  max-height: 90svh;
  color: var(--ink);
  font-family: Invitation, serif;
  line-height: 1.8;
}
dialog::backdrop {
  background: #37312e60;
}
@media (prefers-reduced-motion: no-preference) {
  dialog:not(.lightbox)[open] { animation: modal-appear .2s ease-out both; }
  dialog[open]::backdrop { animation: backdrop-appear .2s ease-out both; }
  @keyframes modal-appear { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes backdrop-appear { from { opacity: 0; } to { opacity: 1; } }
}
dialog h2 {
  text-align: center;
  margin: 16px 0 22px;
  color: #9f8571;
}
.close {
  position: absolute;
  right: 9px;
  top: 6px;
  padding: 0;
  min-height: 36px;
  width: 36px;
  background: transparent;
  color: #666;
  font: 26px Arial;
}
.intro {
  text-align: center;
}
.intro .rsvp-card {
  margin: 32px 0 12px;
}
.plain {
  background: transparent;
  color: #776b61;
  width: 100%;
  font-size: 14px;
}
.form-intro {
  text-align: center;
  margin-bottom: 28px;
  font-size: 15px;
}
.form-field {
  display: block;
  margin-top: 22px;
}
.form-field > span,
fieldset legend {
  display: block;
  margin-bottom: 9px;
  font-size: 15px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 22px 0;
}
.choice {
  display: flex;
  gap: 7px;
}
.choice label {
  flex: 1;
}
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: block;
  text-align: center;
  padding: 8px 4px;
  border: 1px solid #e6dfd9;
  border-radius: 5px;
  font-size: 15px;
}
.choice input:checked + span {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.choice input:focus-visible + span {
  outline: 2px solid #795d49;
  outline-offset: 2px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #ddd4ce;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  color: #444;
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.submit {
  width: 100%;
  margin-top: 28px;
}
.error {
  color: #a22d2d;
  white-space: pre-line;
  font-size: 14px;
}
.privacy {
  font-size: 13px;
  color: #7c7169;
  margin-top: 16px;
  line-height: 1.6;
}
.privacy input {
  width: auto;
  margin-right: 8px;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  background: #fff;
  width: min(100vw, 448px);
  max-width: 448px;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  overflow: hidden;
}
.lightbox-stage { width: 100%; height: 100%; overflow: hidden; }
.lightbox-track { display: flex; width: 100%; height: 100%; transition: transform .36s ease; }
.lightbox-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; height: 100%; overflow: hidden; }
.lightbox-slide img { display: block; width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-hit { position: absolute; top: 56px; bottom: 72px; width: 80px; min-height: 0; padding: 0; background: transparent; z-index: 1; }
.lightbox-hit.hit-prev { left: 0; }
.lightbox-hit.hit-next { right: 0; }
.lightbox-hit:disabled { pointer-events: none; }
.lightbox-controls { position: absolute; left: 20px; right: 20px; bottom: 32px; height: 25px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.lightbox-controls button { display: grid; place-items: center; width: 24px; height: 25px; min-height: 0; padding: 0; background: transparent; color: #999; }
.lightbox-controls button:disabled { opacity: .5; }
.lightbox-controls svg { width: 24px; height: 25px; }
.lightbox-controls span { color: #666; font: 14px/25px Suit, Arial, sans-serif; }
.lightbox .close { z-index: 3; top: 16px; right: 16px; width: 20px; height: 20px; min-height: 0; font-size: 0; opacity: .7; }
.lightbox .close::before, .lightbox .close::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 1px; background: #777; transform: rotate(45deg); }
.lightbox .close::after { transform: rotate(-45deg); }
.upload-list {
  font-size: 14px;
  padding-top: 12px;
}
.success {
  text-align: center;
  padding: 30px 0;
}
.success .heart {
  font-size: 36px;
  color: var(--accent);
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #3d3730ec;
  color: #fff;
  border-radius: 8px;
  padding: 12px 22px;
  max-width: 90vw;
  width: max-content;
  font:
    15px/1.6 Invitation,
    serif;
  z-index: 20;
  display: none;
}
#toast.visible {
  display: block;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .invitation {
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none;
    max-width: 448px;
  }
  .music {
    top: 12px;
    right: 12px;
  }
  .cover {
    height: 100svh;
    min-height: 580px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .invitation {
    animation: fade 0.7s ease;
  }
  .invitation .scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
  .invitation .scroll-reveal.is-visible { opacity: var(--reveal-opacity, 1); transform: translateY(0); }
  @keyframes fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
/* 원본의 세로 타임라인, 날짜 전환 화면과 앨범 색상을 재현합니다. */
.small-title {
  font-size: 36px;
  letter-spacing: 1px;
}
.butterflies {
  width: 160px;
  height: 46px;
  display: block;
  margin: 0 auto 40px;
}
.butterflies > img,
.butterflies > svg { display: block; width: 100%; height: 100%; }
.timeline {
  background: #fafafa;
}
.timeline-list {
  position: relative;
  margin-top: 72px;
  margin-left: -28px;
  margin-right: -28px;
  width: calc(100% + 56px);
  gap: 72px;
  padding: 0 0 28px;
}
.timeline-list:before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  top: 0;
  bottom: 0;
  background: #ccc;
}
.timeline-list div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-left: 50%;
  padding-left: 24px;
  gap: var(--timeline-badge-gap, 16px);
  min-height: 68px;
  font:
    14px/20px Invitation,
    serif;
  text-align: left;
}
.timeline-list div:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -4px;
  top: 12px;
  outline: 5px solid #fafafa;
}
.timeline-list div:nth-child(even) {
  margin-left: 0;
  margin-right: 50%;
  padding-left: 0;
  padding-right: 24px;
  align-items: flex-end;
  text-align: right;
}
.timeline-list div:nth-child(even):before {
  left: auto;
  right: -4px;
}
.timeline-list span:first-child {
  background: var(--accent);
  color: white;
  padding: 4px 10px;
  border-radius: 18px;
  font-size: 14px;
}
.timeline-list span:last-child {
  font-size: 14px;
  font-weight: 600;
}
.gallery {
  padding-left: 0;
  padding-right: 0;
}
.gallery h2 {
  font:
    16px/1.8 Invitation,
    serif;
  margin: 38px 0;
}
.gallery-grid {
  gap: 1.5px;
}
.gallery-grid button {
  aspect-ratio: 1;
}
.gallery-grid button:last-child { grid-column: auto; }
.flower-section {
  padding: 70px 32px;
}
.accounts {
  background: #f8f8f8;
  min-height: 384px;
  padding-left: 32px;
  padding-right: 32px;
}
.accounts hr {
  width: 60px;
  border: 0;
  border-top: 1px solid #333;
  margin: 32px auto 70px;
}
.accounts summary {
  background: white;
  min-height: 60px;
  box-shadow: 0 2px 8px #00000008;
  border-radius: 7px;
  padding: 17px 16px;
  font-size: 14px;
}
.accounts details {
  margin: 24px 0;
}
.date-interlude {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: #9b8d82;
  color: white;
  text-align: center;
  font:
    96px/1.17 Accent,
    Georgia,
    serif;
}
.date-lines { display: flex; flex-direction: column; align-items: center; }
.date-line { display: flex; align-items: center; justify-content: center; gap: 20px; height: 112px; }
.date-word { display: inline-flex; height: 112px; overflow: hidden; }
.date-letter { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .date-interlude.motion-ready .date-letter { opacity: 0; transform: translateY(100%); transition: opacity .8s ease, transform 1s cubic-bezier(.22,1,.36,1); transition-delay: calc(var(--letter-index) * 75ms); }
  .date-interlude.motion-ready.is-visible .date-letter { opacity: 1; transform: translateY(0); }
}
.album {
  background: #87786c;
  padding-left: 32px;
  padding-right: 32px;
}
.album > .small-title {
  color: white;
}
.album-card {
  margin-top: 40px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 40px 24px;
  box-shadow: 0 5px 18px #0002;
}
.album .editorial {
  font:
    italic 22px Georgia,
    serif;
  color: #87786c;
}
.album-card button:not(.plain) {
  background: #87786c;
}
.album-card > p {
  font-size: 14px;
}
.album-card .muted {
  color: #287140;
  background: #e1f5e8;
  padding: 8px;
  border: 1px solid #36ab5c;
  border-radius: 8px;
}
.quote {
  background: #6f6259;
  color: white;
}
.quote .pre {
  padding: 64px 44px;
  line-height: 2;
}
.sharing {
  background: #eee7e2;
  padding-top: 30px;
}
.sharing .kakao,
.sharing button {
  background: transparent;
  color: #444;
  text-align: left;
  font-size: 14px;
  padding: 8px;
  min-height: 40px;
}
.invitation-text .pre {
  font-size: var(--body-size);
  line-height: var(--line);
}
.invitation-text {
  padding-left: var(--inset);
  padding-right: var(--inset);
}
.calendar {
  padding: 32px 0;
  gap: 16px 0;
}
.intro {
  padding-left: 25px;
  padding-right: 25px;
}
.intro .lead {
  color: #8c8178;
  font-size: 15px;
}
.intro .rsvp-card {
  font-size: 14px;
}
.intro .couple {
  font-size: 14px;
}
.date-copy {
  line-height: 1.8;
}
.gallery-grid button img { transition: opacity .3s ease; }
.gallery-grid button:active img { opacity: .8; }

/* 원본 초대장의 문단 리듬을 유지하면서 관리자 문구 수정은 그대로 반영한다. */
#rsvp h1 {
  font-size: 36px;
  line-height: 40px;
}
#rsvp .lead {
  margin: 24px 0 48px;
  line-height: 24px;
}
#rsvp .rsvp-card {
  font-size: 16px;
  line-height: 24px;
}
#rsvp .rsvp-card button {
  min-height: 48px;
  padding: 12px;
}
.invitation-text .butterflies {
  margin-bottom: 0;
}
.invitation-copy {
  margin: 43px -18px 0;
  line-height: calc(var(--line) * 0.947368);
}
.invitation-text .invitation-copy p {
  margin: 0;
  line-height: inherit;
}
.invitation-text .invitation-copy p + p {
  margin-top: 28px;
}
.invitation-text .invitation-copy p:first-child + p {
  margin-top: 58px;
}
.invitation-signature {
  margin-top: 40px;
  margin-bottom: 19px;
}
.travel.parking {
  font-size: 14px;
  line-height: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}
.travel.parking p {
  margin: 0;
  line-height: 24px;
}
.travel.parking p + p {
  margin-top: 24px;
}

#album {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#album > .small-title {
  font-size: 36px;
  line-height: 40px;
}
.album-shell {
  margin-top: 8px;
  padding: 32px;
  height: 716px;
}
.album-panel {
  height: 652px;
  padding: 40px 24px;
  background: #f9f9f9;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px #0002;
}
.album-camera {
  display: block;
  width: 34px;
  height: 34px;
  flex: none;
  color: #87786c;
  margin: 0 0 64px;
}
.album-panel .album-card {
  width: 100%;
  height: 348px;
  flex: none;
  margin: 0;
  padding: 24px 20px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 5px 18px #0002;
}
.album-panel .album-card .editorial {
  font: italic 18px/28px Accent, Georgia, serif;
  margin: 0;
  color: #756a61;
}
.album-names {
  font-size: 15px;
  line-height: 24px;
  margin-top: 16px;
}
.album-date {
  display: grid;
  place-items: center;
  height: 160px;
  margin-top: 16px;
  border-radius: 14px;
  background: #f8f7f6;
  box-shadow: inset 0 1px 5px #0000000d;
  font-size: 14px;
  line-height: 24px;
  white-space: nowrap;
}
.album-panel .album-card button {
  width: 100%;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
}
.album-status {
  display: block;
  width: 100%;
  margin: 32px 0 0;
  min-height: 38px;
  padding: 6px 8px;
  background: #e1f5e8;
  border: 1px solid #36ab5c;
  border-radius: 12px;
  color: #287140;
  font-size: 12px;
  line-height: 24px;
  white-space: nowrap;
}
.album-status span {
  float: left;
  border-radius: 8px;
  background: #66c687;
  color: white;
  padding: 0 4px;
  margin-right: 6px;
}
.album-panel .plain {
  min-height: 38px;
  margin: 18px 0 0;
  font-size: 13px;
  color: #7c6d60;
}

.album-panel .album-card .editorial { font-weight: 600; }
.quote .pre { line-height: 24px; }
.sharing { padding-bottom: 35px; }
.closing-space { height: 168px; background: white; }

.touch-edit-preview [data-edit] { cursor: pointer; outline: 1px dashed #c5a68188; outline-offset: -1px; }
.touch-edit-preview [data-edit]:hover, .touch-edit-preview [data-edit]:focus { outline: 2px solid #9d785d; }
.touch-edit-preview [data-edit-kind="image"] { opacity: .92; }
#gallery > .small-title { line-height: 40px; }
#timeline > .small-title { line-height: 40px; }
#rsvp h1, #timeline h2, #wedding h2, #gallery > .small-title, #location h2 { opacity: .9; }
#gallery h2 { margin: 40px 0; font-size: 16px; line-height: 24px; }
#gallery h2 { opacity: .8; }
.gallery-grid:not(.expanded) button:nth-child(n+10) { display: none; }
.gallery-grid.expanded button:nth-child(n+10) { animation: gallery-appear .4s ease both; }
@keyframes gallery-appear { from { opacity: 0; } to { opacity: 1; } }
.gallery-more { display: block; width: 100%; height: 142px; padding: 36px 0; margin: 0; background: white; color: #666; border-radius: 0; }
.gallery-more img { display: block; width: 320px; max-width: 100%; height: 70px; margin: auto; }
.flower-section { padding: 80px 32px; background: #9b8d82; color: white; }
.flower-wreath { width: 120px; height: 120px; margin: 0 auto; position: relative; }
.flower-section .flower { display: block; width: 120px; height: 120px; margin: 0; }
.flower-wreath .remaining { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; line-height: 24px; letter-spacing: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .flower-wreath .flower { animation: flower-rotate 60s linear infinite; }
  @keyframes flower-rotate { to { transform: rotate(-360deg); } }
}
.flower-copy { padding-top: 48px; font-size: 16px; line-height: 24px; }
.flower-copy p { margin: 0; }
.flower-copy p + p { margin-top: 8px; }

.music { width: 24px; height: 24px; right: max(calc((100vw - var(--width)) / 2 + 4px), 12px); }
.music svg { display: block; width: 20px; height: 20px; margin: 2px; fill: none; stroke: white; stroke-width: 1.3; stroke-linecap: round; }
@media (max-width: 600px) { .music { right: 12px; } }


#wedding .small-title { line-height: 40px; }
#wedding .date-copy { margin: 48px -26px 0; font-size: 16px; line-height: 24px; }
#wedding .date-copy + .date-english { margin-top: 8px; font: 16px/24px Invitation, serif; color: #a7a09a; }
#wedding .calendar { margin: 32px 0 0; padding: 32px 0; gap: 32px 0; grid-auto-rows: 24px; }
#wedding .calendar span { aspect-ratio: auto; height: 24px; font-size: 14px; }
#wedding .calendar .chosen { width: 32px; height: 32px; justify-self: center; align-self: center; }
#wedding .countdown { height: 92px; margin: 32px 0 0; gap: 4px; align-items: stretch; }
#wedding .countdown > div { flex: 1; display: flex; flex-direction: column; justify-content: center; background: #fafafa; border-radius: 6px; }
#wedding .countdown strong { font-size: 27px; line-height: 34px; font-weight: 400; }
#wedding .countdown small { font-size: 10px; line-height: 18px; }
#wedding .remaining { height: 83px; margin: 0; padding-top: 32px; font-size: 14px; line-height: 19px; color: #8d8986; }
#location { background: #f2efee; }
#location > .small-title { line-height: 40px; }
.venue-line { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 39px; height: 22px; }
.venue-line h3 { margin: 0; font-size: 14px; line-height: 22px; }
.venue-line a { font-size: 14px; line-height: 22px; text-decoration: none; color: #827a74; }
#location > .address-line { margin: 8px 0 0; font-size: 14px; line-height: 22px; color: #928c87; }
.map-wrap { position: relative; margin: 56px -28px 0; width: calc(100% + 56px); height: 224px; }
.map-wrap .map { display: block; width: 100%; height: 224px; margin: 0; background: #e7e2dd; }
.map-overlay { position: absolute; z-index: 1000; top: 16px; left: 16px; background: #4d4b48; color: white; border-radius: 5px; padding: 2px 8px; font-size: 12px; line-height: 20px; text-decoration: none; }
.map-wrap .leaflet-control-attribution { font: 10px/15px sans-serif; background: #ffffffd9; }
.map-wrap .leaflet-control-attribution a { color: #555; }
.map-wrap .leaflet-top.leaflet-right { margin-top: 12px; margin-right: 10px; }
.map-wrap .leaflet-control-zoom { border: 0; box-shadow: 0 1px 5px #0003; }
#location .map-buttons { position: relative; margin: 22px -28px 0; width: calc(100% + 56px); height: 44px; padding: 0 32px; gap: 8px; align-items: center; justify-content: space-between; background: transparent; }
#location .map-buttons a { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 44px; padding: 0 8px; border-radius: 6px; background: white; box-shadow: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a; color: #111; font: 14px/19.25px Invitation, sans-serif; white-space: nowrap; }
#location .map-buttons img { display: block; width: auto; height: 16px; max-width: 21px; }
#location .map-buttons a:nth-child(2) img { height: 14px; }
#location .map-buttons a:nth-child(3) img { height: 16px; }
#location .map-buttons::after { content: ""; position: absolute; top: 73px; left: 32px; right: 32px; height: 1px; background: #c7b9ad; }
#location .travel { margin-left: 12px; margin-right: 12px; }
#location .map-buttons + .travel { margin-top: 47px; padding-top: 8px; padding-bottom: 31px; }
#location .travel.parking { padding-top: 8px; }
#location .travel.parking strong { margin-bottom: 24px; }
