/* =========================================================
   Dear-mood inspired clean wedding style
   - not a clone
   - large whitespace / warm ivory / editorial typography
   - no blur, filter, backdrop-filter
   ========================================================= */

:root {
  --outer: #e9e6e1;
  --bg: #f4f1ec;
  --panel: #faf8f4;
  --paper: #fffdfa;
  --text: #38332f;
  --muted: #918981;
  --line: #ddd7cf;
  --accent: #9c8d81;
  --deep: #514943;
  --serif: "Times New Roman", Georgia, "Noto Serif KR", serif;
  --sans: Arial, "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html { background: var(--outer); }

body {
  min-width: 320px;
  color: var(--text);
  background: var(--outer);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

button, a {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button { color: inherit; }

.card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--bg);
}

/* HERO */
.hero {
  padding: 38px 24px 64px;
  text-align: center;
}

.hero__top {
  margin-bottom: 27px;
}

.mini-title,
.mini-date {
  margin: 0;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .22em;
}

.mini-title {
  color: #6f6760;
  font-weight: 700;
}

.mini-date {
  margin-top: 8px;
  color: #aaa29a;
}

.hero__photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ddd6ce;
}

.hero__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__content {
  padding-top: 33px;
}

.hero__en {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .25em;
}

.hero h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -.025em;
}

.hero h1 span {
  margin: 0 6px;
  color: #9c8b7e;
  font-size: 9px;
  vertical-align: 5px;
}

.hero__date {
  margin: 15px 0 0;
  color: #6f6862;
  font-size: 11px;
  line-height: 1.6;
}

/* COMMON */
.section {
  padding: 90px 28px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .27em;
}

.section h2,
.ending h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -.025em;
}

.section-sub {
  margin: 13px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.7;
}

/* INVITATION */
.invitation {
  background: var(--panel);
}

.divider {
  margin: 30px auto 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.divider span {
  width: 33px;
  height: 1px;
  background: var(--line);
}

.divider i {
  color: #a99a8e;
  font-size: 7px;
  font-style: normal;
}

.invitation__text {
  margin: 0;
  color: #5f5852;
  font-size: 13px;
  line-height: 2.18;
}

/* COUPLE */
.couple {
  background: var(--bg);
}

.couple__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.couple__person {
  min-width: 90px;
}

.role {
  display: block;
  margin-bottom: 8px;
  color: #a19890;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: .18em;
}

.couple__person strong {
  font-size: 19px;
  font-weight: 400;
}

.couple__heart {
  color: #a7978b;
  font-size: 8px;
}

.family {
  width: 100%;
  max-width: 315px;
  margin: 36px auto 0;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.family p {
  margin: 9px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.family b {
  font-weight: 400;
}

.family span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.contact,
.location-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 28px;
}

.contact button,
.location-buttons button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  font-family: var(--sans);
  font-size: 9px;
}

button:disabled { opacity: .48; }

/* WEDDING DAY */
.wedding-day {
  background: var(--panel);
}

.calendar {
  max-width: 340px;
  margin: 42px auto 0;
  padding: 24px 3px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar__month {
  margin-bottom: 25px;
  color: #6c655f;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
}

.calendar__month span {
  margin-left: 6px;
  color: #aaa19a;
  font-weight: 400;
}

.calendar__week,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar__week {
  margin-bottom: 9px;
  color: #aca39b;
  font-family: var(--sans);
  font-size: 7px;
}

.calendar__days {
  row-gap: 6px;
}

.calendar__days div {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 10px;
}

.calendar__days .empty {
  visibility: hidden;
}

.calendar__days .selected {
  z-index: 1;
  color: #fff;
}

.calendar__days .selected::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
}

.dday {
  margin: 29px 0 0;
  color: #948b84;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .1em;
}

/* GALLERY */
.gallery-section {
  padding-left: 14px;
  padding-right: 14px;
  background: var(--bg);
}

.gallery-section h2 {
  margin-bottom: 0;
}

.gallery {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.gallery__item {
  aspect-ratio: 1 / 1.13;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ddd6ce;
  cursor: pointer;
}

.gallery__item:nth-child(7n + 1) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* LOCATION */
.location {
  background: var(--panel);
}

.place {
  margin-top: 37px;
}

.place__name,
.place__hall,
.place__address {
  margin: 0;
}

.place__name {
  font-size: 17px;
}

.place__hall {
  margin-top: 7px;
  color: #625b55;
  font-size: 11px;
}

.place__address {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.map-card {
  height: 210px;
  margin-top: 28px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #efebe5;
}

.map-card__mark {
  width: 37px;
  height: 37px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border: 1px solid #d8d0c8;
  border-radius: 50%;
  color: #766d65;
  background: #f8f5f0;
  font-size: 16px;
}

.map-card strong {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .18em;
}

.map-card span {
  max-width: 250px;
  margin-top: 9px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.7;
}

/* TRANSPORT */
.transport-section {
  padding-top: 14px;
  padding-bottom: 80px;
  text-align: left;
  background: var(--panel);
}

.transport {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.transport:last-child {
  border-bottom: 1px solid var(--line);
}

.transport__no {
  padding-top: 2px;
  color: #a4988e;
  font-family: var(--sans);
  font-size: 8px;
}

.transport h3 {
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 400;
}

.transport p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.75;
}

/* ACCOUNT */
.account-section {
  background: var(--bg);
}

.account-sub {
  margin-top: 16px;
}

.account {
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.account:first-of-type {
  margin-top: 32px;
}

.account__head {
  width: 100%;
  min-height: 61px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.account__head i {
  position: relative;
  width: 27px;
  height: 27px;
  border: 1px solid #ded7cf;
  border-radius: 50%;
}

.account__head i::before,
.account__head i::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 8px;
  width: 10px;
  height: 1px;
  background: #766c64;
  transition: transform .24s ease;
}

.account__head i::after {
  transform: rotate(90deg);
}

.account.open .account__head i::after {
  transform: rotate(0deg);
}

.account__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.account.open .account__panel {
  grid-template-rows: 1fr;
}

.account__inner {
  min-height: 0;
  overflow: hidden;
}

.account__row {
  margin: 0 14px;
  padding: 15px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.account__row b,
.account__row span {
  display: block;
}

.account__row b {
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 400;
}

.account__row span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.copy {
  min-width: 60px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f0eb;
  font-family: var(--sans);
  font-size: 9px;
}

/* ENDING */
.ending {
  padding: 88px 24px 34px;
  text-align: center;
  background: var(--panel);
}

.ending__top {
  margin-bottom: 33px;
}

.ending__photo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ddd6ce;
}

.ending__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ending__copy {
  padding: 28px 12px 0;
}

.ending__copy p {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
  font-style: italic;
}

.ending__copy span {
  display: block;
  margin-top: 12px;
  color: #8f867f;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: .19em;
}

.share {
  width: 100%;
  min-height: 47px;
  margin-top: 29px;
  border: 0;
  background: var(--deep);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .04em;
  cursor: pointer;
}

.footer {
  margin: 18px 0 0;
  color: #aaa19a;
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: .12em;
}

/* REVEAL - only opacity + translateY */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .72s ease,
    transform .72s cubic-bezier(.22,.72,.22,1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .gallery__item.reveal:nth-child(3n + 2) {
  transition-delay: .05s;
}

.js .gallery__item.reveal:nth-child(3n + 3) {
  transition-delay: .10s;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: rgba(17,16,15,.96);
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.lightbox__close {
  z-index: 2002;
  top: max(14px, env(safe-area-inset-top));
  right: 16px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 33px;
  line-height: 1;
  touch-action: manipulation;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  opacity: .75;
}

.lightbox__nav--prev { left: 6px; }
.lightbox__nav--next { right: 6px; }

.lightbox__count {
  position: absolute;
  bottom: 18px;
  color: #fff;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .12em;
}

/* TOAST */
.toast {
  position: fixed;
  z-index: 1100;
  left: 50%;
  bottom: 23px;
  transform: translate(-50%, 9px);
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: #403a35;
  font-family: var(--sans);
  font-size: 9px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 370px) {
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .gallery-section {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero h1 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================================================
   Dynamic family / contact / account info
   ========================================================= */

.family:empty,
.contact:empty {
  display: none;
}

.family p {
  gap: 18px;
}

.family .family-side {
  color: #6d655f;
}

.family .family-names {
  text-align: right;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.contact a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 9px;
}

.contact a:active {
  background: #eee9e3;
}

.account-person {
  display: block;
  margin-bottom: 5px;
  color: #4d4640;
  font-size: 10px;
  font-weight: 400;
}

.account-bankline {
  display: block;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1.65;
}

.account__row + .account__row {
  border-top: 1px solid var(--line);
}

.copy:not(:disabled) {
  cursor: pointer;
}

.copy:not(:disabled):active {
  background: #e8e1da;
}

.account-group-hidden {
  display: none !important;
}


/* ===== 혼주 연락처 표시 ===== */
.family {
  max-width: 330px;
}

.family-block {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.family-block:last-child {
  border-bottom: 1px solid var(--line);
}

.family-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.family-title-row .family-side {
  font-size: 11px;
  font-weight: 400;
}

.family-title-row .family-names {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
}

.family-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 13px;
}

.family-contact-row a {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #625b55;
  background: #f7f3ee;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 8px;
}

.family-contact-row a:active {
  background: #ece5de;
}


/* =========================================================
   혼주 영역 최종 디자인 수정
   ========================================================= */

.family {
  width: 100%;
  max-width: 330px;
  margin: 34px auto 0;
  padding-top: 0;
  border-top: 0;
}

.family:empty {
  display: none;
}

.family-card {
  padding: 20px 0 18px;
  border-top: 1px solid var(--line);
}

.family-card:last-child {
  border-bottom: 1px solid var(--line);
}

.family-card-title {
  margin: 0 0 14px !important;
  color: #9a8f86;
  font-family: var(--sans);
  font-size: 8px !important;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
}

.parent-list {
  display: grid;
  gap: 10px;
}

.parent-row {
  min-height: 42px;
  padding: 0 2px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.parent-name {
  flex: 1 1 auto;
  color: #4a443f;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.parent-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.parent-action,
.family a.parent-action {
  width: 48px;
  min-height: 31px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ded6ce;
  border-radius: 999px;
  color: #70675f !important;
  background: #f7f3ee;
  text-decoration: none !important;
  font-family: var(--sans);
  font-size: 8px;
  line-height: 1;
  white-space: nowrap;
}

.parent-action:visited,
.family a.parent-action:visited {
  color: #70675f !important;
}

.parent-action:active {
  background: #ebe4dd;
}

/* 과거 family p / family contact 규칙 충돌 방지 */
.family p {
  display: block;
}

.family-contact-row,
.family-title-row,
.family-block {
  display: none !important;
}

@media (max-width: 360px) {
  .family {
    max-width: 300px;
  }

  .parent-name {
    font-size: 12px;
  }

  .parent-action,
  .family a.parent-action {
    width: 44px;
  }
}


/* ===== 예식장 지도 링크 ===== */
.location-buttons .location-map-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 9px;
}

.location-buttons .location-map-link:visited {
  color: var(--text);
}

.location-buttons .location-map-link:active {
  background: #ece6df;
}


/* =========================================================
   MOOD-4 : 전체 글자 확대 + 지도 버튼 정리
   ========================================================= */

/* 상단 */
.mini-title,
.mini-date {
  font-size: 10px;
  line-height: 1.5;
}

.hero__en {
  font-size: 10px;
}

.hero h1 {
  font-size: 32px;
}

.hero__date {
  font-size: 13px;
  line-height: 1.75;
}

/* 공통 제목 */
.section-kicker {
  font-size: 10px;
}

.section h2,
.ending h2 {
  font-size: 24px;
  line-height: 1.75;
}

.section-sub {
  font-size: 11px;
  line-height: 1.8;
}

/* 초대글 */
.invitation__text {
  font-size: 15px;
  line-height: 2.15;
}

/* 신랑/신부 */
.role {
  font-size: 9px;
}

.couple__person strong {
  font-size: 22px;
}

.family-card-title {
  font-size: 10px !important;
}

.parent-name {
  font-size: 15px;
}

.parent-action,
.family a.parent-action {
  width: 52px;
  min-height: 34px;
  font-size: 10px;
}

/* 달력 */
.calendar__month {
  font-size: 10px;
}

.calendar__week {
  font-size: 8.5px;
}

.calendar__days div {
  font-size: 12px;
}

.dday {
  font-size: 10.5px;
  line-height: 1.6;
}

/* 갤러리 안내 */
.gallery-section .section-sub {
  font-size: 11px;
}

/* 예식장 */
.place__name {
  font-size: 20px;
}

.place__hall {
  font-size: 13px;
}

.place__address {
  font-size: 11px;
  line-height: 1.7;
}

/* 지도 API 영역은 제거. 버튼만 표시 */
.location-buttons {
  margin-top: 30px;
}

.location-buttons button,
.location-buttons .location-map-link {
  min-height: 48px;
  font-size: 11px;
}

/* 교통 */
.transport__no {
  font-size: 9.5px;
}

.transport h3 {
  font-size: 14px;
}

.transport p {
  font-size: 11px;
  line-height: 1.8;
}

/* 계좌 */
.account__head {
  font-size: 13px;
}

.account-person {
  font-size: 12px;
}

.account-bankline {
  font-size: 11px;
  line-height: 1.7;
}

.copy {
  min-width: 64px;
  height: 36px;
  font-size: 10px;
}

/* 마지막 */
.ending__copy p {
  font-size: 28px;
  line-height: 1.3;
}

.ending__copy span {
  font-size: 9px;
}

.share {
  min-height: 50px;
  font-size: 11px;
}

.footer {
  font-size: 8.5px;
}

/* 작은 화면에서는 너무 작아지지 않도록 유지 */
@media (max-width: 370px) {
  .hero h1 {
    font-size: 29px;
  }

  .section h2,
  .ending h2 {
    font-size: 22px;
  }

  .invitation__text {
    font-size: 14px;
  }

  .parent-name {
    font-size: 14px;
  }
}


/* =========================================================
   MOOD-6 : 작은 보조 글자만 확대
   큰 제목 / 본문은 기존 크기 유지
   ========================================================= */

/* 최상단 작은 영문 */
.mini-title,
.mini-date {
  font-size: 11px;
}

/* 섹션 영문 소제목 */
.section-kicker,
.hero__en {
  font-size: 11px;
}

/* GROOM / BRIDE */
.role {
  font-size: 10px;
}

/* 혼주 구분 타이틀 */
.family-card-title {
  font-size: 11px !important;
}

/* 혼주 전화 / 문자 버튼 */
.parent-action,
.family a.parent-action {
  font-size: 11px;
}

/* 달력 작은 영문 */
.calendar__month {
  font-size: 11px;
}

.calendar__week {
  font-size: 10px;
}

/* D-day */
.dday {
  font-size: 11px;
}

/* 설명 문구 */
.section-sub,
.gallery-section .section-sub {
  font-size: 12px;
}

/* 예식장 주소 */
.place__address {
  font-size: 12px;
}

/* 네이버 / 카카오 지도 버튼 */
.location-buttons button,
.location-buttons .location-map-link {
  font-size: 12px;
}

/* 계좌 은행/번호 */
.account-bankline {
  font-size: 12px;
}

/* 복사 버튼 */
.copy {
  font-size: 11px;
}

/* 마지막 작은 영문 */
.ending__copy span {
  font-size: 10px;
}

.footer {
  font-size: 10px;
}

/* 아주 작은 화면에서도 과도하게 작아지지 않도록 */
@media (max-width: 370px) {
  .mini-title,
  .mini-date,
  .section-kicker,
  .hero__en {
    font-size: 10.5px;
  }

  .role,
  .calendar__week,
  .ending__copy span,
  .footer {
    font-size: 9.5px;
  }
}


/* =========================================================
   MOOD-7 : 혼주/예금주 이름 확대 + 엔딩 영문 축소
   ========================================================= */

/* 혼주 이름 */
.parent-name {
  font-size: 17px !important;
  line-height: 1.5;
  font-weight: 400;
}

/* 신랑측 혼주 / 신부측 혼주 타이틀 */
.family-card-title {
  font-size: 12px !important;
  line-height: 1.5;
}

/* 전화 / 문자 버튼도 이름 크기에 맞춰 조금 확대 */
.parent-action,
.family a.parent-action {
  width: 56px;
  min-height: 36px;
  font-size: 11.5px;
}

/* 계좌 영역 예금주 이름 */
.account-person {
  font-size: 14px !important;
  line-height: 1.45;
}

/* 계좌 은행 / 번호 */
.account-bankline {
  font-size: 12.5px !important;
}

/* Thank you 문구는 살짝 축소 */
.ending__copy p {
  font-size: 22px !important;
  line-height: 1.3;
}

/* 모바일에서도 다시 너무 작아지지 않게 */
@media (max-width: 370px) {
  .parent-name {
    font-size: 16px !important;
  }

  .family-card-title {
    font-size: 11.5px !important;
  }

  .account-person {
    font-size: 13.5px !important;
  }

  .ending__copy p {
    font-size: 21px !important;
  }
}

/* =========================================================
   MOOD-10 : 예식장 정보 글자 확대
   ========================================================= */

.place__name {
  font-size: 23px !important;
  line-height: 1.45;
}

.place__hall {
  margin-top: 9px;
  font-size: 15px !important;
  line-height: 1.55;
}

.place__address {
  margin-top: 10px;
  font-size: 13.5px !important;
  line-height: 1.75;
}

@media (max-width: 370px) {
  .place__name {
    font-size: 22px !important;
  }

  .place__hall {
    font-size: 14.5px !important;
  }

  .place__address {
    font-size: 13px !important;
  }
}

/* =========================================================
   MOOD-11 : 배경음악 버튼
   ========================================================= */

.bgm-toggle {
  position: fixed;
  z-index: 1200;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, calc((100vw - 440px) / 2 + 16px));
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(81, 73, 67, .14);
  border-radius: 50%;
  color: #6e655e;
  background: rgba(255, 253, 250, .90);
  box-shadow: 0 3px 12px rgba(56, 51, 47, .08);
  cursor: pointer;
}

.bgm-toggle__icon {
  display: block;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1;
  transform-origin: 50% 50%;
}

.bgm-toggle.is-playing .bgm-toggle__icon {
  animation: bgm-spin 4.2s linear infinite;
}

@keyframes bgm-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 440px) {
  .bgm-toggle {
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bgm-toggle.is-playing .bgm-toggle__icon {
    animation: none;
  }
}

