/* ---------- 기본 & 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

:root {
  --bg: #FFF8F0;
  --bg-2: #FDEFE2;
  --peach-1: #F4C2B7;
  --peach-2: #E8A598;
  --sage: #B8C9A9;
  --text: #5C4A3A;
  --text-soft: #8A7663;
  --text-mute: #B39F8C;
  --line: #EAD9C8;
  --white: #FFFDFA;
  --shadow-soft: 0 20px 60px -30px rgba(92, 74, 58, .35);
  --shadow-card: 0 8px 30px -18px rgba(92, 74, 58, .30);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

html { background: var(--bg); }
body {
  font-family: 'Gowun Batang', 'Nanum Myeongjo', 'Noto Serif KR', serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 50% -200px, #FFE9D5 0%, transparent 60%),
    radial-gradient(500px 400px at -100px 600px, #FDE4D5 0%, transparent 65%),
    radial-gradient(500px 400px at calc(100% + 100px) 900px, #F0E4D0 0%, transparent 60%),
    var(--bg);
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0 0 140px; /* room for fab */
  overflow-x: hidden;
}

/* ---------- 카드(초대장 본체) ---------- */
.card {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 36px 24px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,253,250,.85) 220px, var(--white) 320px);
  box-shadow: var(--shadow-soft);
  border-radius: 0;
  overflow: hidden;
}
@media (min-width: 520px) {
  .card {
    margin: 28px auto;
    border-radius: var(--radius-lg);
    padding: 44px 28px 32px;
  }
}

.petal {
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.petal--1 { background: #F7D2C4; top: -60px; left: -60px; }
.petal--2 { background: #E7D8BF; top: 40%; right: -80px; opacity: .45; }
.petal--3 { background: #D8E1C7; bottom: -50px; left: -40px; opacity: .55; }

.card > section, .card > .rsvp-anchor { position: relative; z-index: 1; }

/* ---------- 등장 애니메이션 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,.7,.28,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 히어로 ---------- */
.hero { text-align: center; padding: 20px 0 8px; }
.hero__eyebrow {
  color: var(--peach-2);
  letter-spacing: .28em;
  font-size: 12px;
  margin: 0 0 22px;
  font-weight: 700;
  text-transform: none;
}

.photo-wrap {
  position: relative;
  display: inline-block;
  margin: 6px 0 22px;
}
.photo-ring {
  width: 190px; height: 190px;
  border-radius: 50%;
  padding: 10px;
  background:
    conic-gradient(from 200deg, #F4C2B7, #E8A598, #B8C9A9, #F4C2B7);
  box-shadow: 0 18px 40px -20px rgba(232,165,152,.7), inset 0 0 0 1px rgba(255,255,255,.4);
  animation: ringSpin 26s linear infinite;
}
.photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #FFFDF7 0%, #FBEADC 45%, #F4C2B7 100%);
  display: grid; place-items: center;
  box-shadow: inset 0 6px 16px rgba(255,255,255,.7), inset 0 -10px 24px rgba(232,165,152,.35);
  animation: ringSpin 26s linear infinite reverse;
}
.photo__initial {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 76px;
  color: var(--peach-2);
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(255,255,255,.6);
  letter-spacing: -.02em;
}
.photo__glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 195, .5), transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.baby-name {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0 0 8px;
  color: var(--text);
}
.baby-birth {
  color: var(--text-soft);
  font-size: 14px;
  letter-spacing: .08em;
  margin: 0;
}

.divider {
  display: flex; align-items: center;
  gap: 14px;
  margin: 26px auto 6px;
  color: var(--peach-2);
}
.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider em { font-style: normal; font-size: 14px; }

/* ---------- 편지글 ---------- */
.letter {
  text-align: center;
  padding: 22px 6px 28px;
  color: var(--text);
  font-size: 16px;
  line-height: 2;
}
.letter__line { margin: 0; }
.letter__line b { color: var(--peach-2); font-weight: 700; }
.letter__gap { height: 14px; margin: 0; }
.letter__sign {
  margin-top: 22px;
  color: var(--text-soft);
  font-size: 13px;
  letter-spacing: .05em;
}

/* ---------- 섹션 공통 ---------- */
.section-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  letter-spacing: .18em;
  margin: 0 0 18px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 26px; height: 1px;
  background: var(--peach-2);
  margin: 10px auto 0;
}

/* ---------- 정보 카드 ---------- */
.info { padding: 22px 0; }
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 8px 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(234, 217, 200, .6);
}
.info-row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.info-row:last-child { border-bottom: 0; }
.info-row__label {
  flex: 0 0 60px;
  font-size: 13px;
  color: var(--peach-2);
  font-weight: 700;
  letter-spacing: .1em;
  padding-top: 2px;
}
.info-row__value strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}
.info-row__value span {
  display: block;
  font-size: 13.5px;
  color: var(--text-soft);
}
.map-card { padding: 0 20px 8px; }
.map-illust {
  margin: 0 -20px 4px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  height: 140px;
}
.map-illust svg { width: 100%; height: 100%; }

/* ---------- 캘린더 ---------- */
.calendar { padding: 4px 0 8px; }
.cal {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(234, 217, 200, .6);
  text-align: center;
}
.cal__month {
  font-family: 'Nanum Myeongjo', serif;
  color: var(--peach-2);
  letter-spacing: .3em;
  font-weight: 700;
  margin-bottom: 12px;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px 2px;
}
.cal__dow {
  font-size: 12px;
  color: var(--text-mute);
  padding: 6px 0;
  font-weight: 700;
  letter-spacing: .05em;
}
.cal__day {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  font-size: 13px;
  color: var(--text);
  border-radius: 50%;
}
.cal__day--dim { color: var(--text-mute); opacity: .4; }
.cal__day--sun { color: #D08880; }
.cal__day--target {
  background: var(--peach-2);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 12px -6px rgba(232,165,152,.9);
  position: relative;
}
.cal__day--target::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px dashed var(--peach-2);
}
.cal__note {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 13.5px;
}
.cal__note b { color: var(--peach-2); font-weight: 800; letter-spacing: .04em; }

/* ---------- 갤러리 (플레이스홀더) ---------- */
.gallery { padding: 24px 0 12px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.poly {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  color: var(--text);
  font-size: 15px;
  letter-spacing: .18em;
  font-weight: 700;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.poly span {
  background: rgba(255,255,255,.7);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 13px;
  color: var(--text);
  backdrop-filter: blur(2px);
}
.poly--1 { background: linear-gradient(135deg, #F7D9C6, #F4C2B7); }
.poly--2 { background: linear-gradient(135deg, #FCE9C9, #F4C2B7); }
.poly--3 { background: linear-gradient(135deg, #EED0BC, #E8A598); }
.poly--4 { background: linear-gradient(135deg, #D8E1C7, #B8C9A9); color: #4a5a3d; }

/* ---------- 계좌 ---------- */
.account {
  padding: 24px 0 12px;
}
.acc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(234, 217, 200, .6);
}
.acc-item__who {
  font-size: 12px;
  color: var(--peach-2);
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 4px;
}
.acc-item__num {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 15px;
  color: var(--text);
  letter-spacing: .02em;
}
.acc-copy {
  flex: 0 0 auto;
  background: var(--peach-1);
  color: #6c4a3f;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .2s;
}
.acc-copy:hover { background: var(--peach-2); color: #fff; }
.acc-copy:active { transform: scale(.94); }

/* ---------- 감사 문구 ---------- */
.thanks {
  text-align: center;
  padding: 30px 0 24px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 2;
}
.thanks__line {
  width: 1px; height: 30px;
  background: var(--line);
  margin: 6px auto;
}

.rsvp-anchor { height: 8px; }

/* ---------- FAB (하단 고정) ---------- */
.rsvp-fab {
  position: fixed;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  width: min(94%, 420px);
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #F4C2B7, #E8A598);
  color: #fff;
  box-shadow: 0 18px 30px -14px rgba(232,165,152,.75), 0 6px 12px -6px rgba(92,74,58,.2);
  z-index: 60;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .2s;
}
.rsvp-fab:hover { transform: translateX(-50%) translateY(-2px); }
.rsvp-fab:active { transform: translateX(-50%) scale(.98); }
.rsvp-fab__title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
}
.rsvp-fab__sub {
  font-size: 11.5px;
  letter-spacing: .1em;
  opacity: .9;
}
.rsvp-fab.is-hidden {
  transform: translateX(-50%) translateY(140%);
  pointer-events: none;
  opacity: 0;
  transition: transform .3s ease, opacity .3s;
}

/* ---------- 관리자 코너 진입 ---------- */
.admin-corner {
  position: fixed;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  color: var(--text-soft);
  display: grid; place-items: center;
  box-shadow: 0 4px 10px -4px rgba(92,74,58,.25);
  backdrop-filter: blur(6px);
  z-index: 70;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.admin-corner:hover { color: var(--peach-2); background: #fff; }

/* ---------- Sheet / 모달 ---------- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.sheet.is-open { display: block; }
.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(60, 40, 30, .35);
  backdrop-filter: blur(2px);
  animation: fadeIn .3s ease;
}
.sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: 460px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px 24px 0 0;
  padding: 14px 22px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -20px 40px -10px rgba(92,74,58,.35);
  animation: slideUp .35s cubic-bezier(.2,.8,.3,1);
  max-height: 92dvh;
  overflow-y: auto;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }

.sheet__handle {
  width: 44px; height: 4px;
  background: var(--line);
  border-radius: 999px;
  margin: 2px auto 14px;
}
.sheet__x {
  position: absolute;
  top: 10px; right: 12px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}
.sheet__x:hover { color: var(--peach-2); }
.sheet__title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 22px;
  margin: 4px 0 4px;
  text-align: center;
  letter-spacing: .1em;
}
.sheet__sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 13.5px;
  margin: 0 0 22px;
}

/* ---------- 폼 ---------- */
.rsvp-form { display: flex; flex-direction: column; gap: 16px; }

.pill-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pill {
  border: 1.5px solid var(--line);
  background: var(--bg-2);
  padding: 14px 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-soft);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  min-height: 60px;
}
.pill__emoji { font-size: 20px; line-height: 1; }
.pill.is-active {
  background: linear-gradient(135deg, #F4C2B7 0%, #E8A598 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 18px -10px rgba(232,165,152,.9);
  transform: translateY(-1px) scale(1.03);
}
.pill:not(.is-active):active { transform: scale(.97); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: .06em;
  font-weight: 700;
}
.field__label em { color: var(--text-mute); font-style: normal; font-weight: 400; margin-left: 4px; }
.field__hint { font-size: 12px; color: var(--text-mute); margin: 0; }

.field input[type="text"],
.field textarea {
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.field input[type="text"]:focus,
.field textarea:focus {
  border-color: var(--peach-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232,165,152,.15);
}
.field textarea { resize: none; line-height: 1.6; }

.field--attend-only.is-hidden { display: none; }

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  width: fit-content;
}
.stepper__btn {
  width: 36px; height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  color: var(--peach-2);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px -2px rgba(92,74,58,.2);
  transition: transform .12s ease, background .2s, color .2s;
}
.stepper__btn:hover { background: var(--peach-1); color: #fff; }
.stepper__btn:active { transform: scale(.9); }
.stepper__btn[disabled] { opacity: .35; cursor: not-allowed; }
.stepper input {
  width: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: 'Nanum Myeongjo', serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  outline: none;
  padding: 0;
}
.stepper__unit {
  color: var(--text-soft);
  font-size: 13px;
  padding-right: 8px;
}

.form-err {
  color: #c15a4a;
  font-size: 13px;
  margin: -6px 0 0;
  min-height: 18px;
}

.submit-btn {
  margin-top: 4px;
  padding: 16px 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #E8A598, #D68A7C);
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 0 16px 28px -14px rgba(214,138,124,.8);
  transition: transform .18s ease, box-shadow .2s, filter .2s;
}
.submit-btn:hover { transform: translateY(-1px); }
.submit-btn:active { transform: scale(.98); }
.submit-btn[disabled] { filter: grayscale(.4); opacity: .7; cursor: not-allowed; }

/* ---------- 감사 오버레이 ---------- */
.thanks-veil {
  position: fixed;
  inset: 0;
  background: rgba(255, 248, 240, .95);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}
.thanks-veil.is-open { display: flex; animation: fadeIn .4s ease; }
.thanks-veil__inner {
  text-align: center;
  padding: 30px;
  max-width: 340px;
}
.thanks-heart {
  display: inline-block;
  margin-bottom: 20px;
  animation: pop .6s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.thanks-veil h3 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 28px;
  letter-spacing: .2em;
  margin: 0 0 12px;
  color: var(--text);
}
.thanks-veil p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 24px;
  white-space: pre-line;
}
.thanks-veil__close {
  padding: 12px 30px;
  border: 1.5px solid var(--peach-2);
  color: var(--peach-2);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: background .2s, color .2s;
}
.thanks-veil__close:hover { background: var(--peach-2); color: #fff; }

/* ---------- 하트 캔버스 ---------- */
.heart-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  overflow: hidden;
}
.heart-p {
  position: absolute;
  bottom: -30px;
  font-size: 24px;
  animation: floatUp 2.5s ease-out forwards;
  will-change: transform, opacity;
}
@keyframes floatUp {
  0% { transform: translate(0, 0) rotate(0) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--dx, 0px), -110vh) rotate(var(--rot, 20deg)) scale(1); opacity: 0; }
}

/* ---------- 토스트 ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 90px;
  transform: translateX(-50%) translateY(20px);
  background: rgba(92, 74, 58, .92);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  max-width: 92%;
  text-align: center;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- 관리자 페이지 ---------- */
.admin-body { padding: 0; overflow-x: hidden; }
.admin-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}
.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-head__title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 22px;
  letter-spacing: .15em;
  margin: 0;
  color: var(--text);
}
.admin-back {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: background .2s, color .2s;
}
.admin-back:hover { background: var(--peach-1); color: #fff; border-color: var(--peach-1); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  background: var(--white);
  border: 1px solid rgba(234, 217, 200, .6);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat__label {
  font-size: 12px;
  color: var(--text-soft);
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 6px;
}
.stat__value {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
}
.stat__value b { color: var(--peach-2); }
.stat--attend .stat__value { color: var(--peach-2); }
.stat--absent .stat__value { color: var(--text-soft); }
.stat--head .stat__value { color: var(--sage); }

.admin-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn.is-active {
  background: var(--peach-2);
  color: #fff;
  border-color: var(--peach-2);
}
.filter-search {
  flex: 1;
  min-width: 160px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}
.filter-search:focus { border-color: var(--peach-2); }

.rsvp-list { display: flex; flex-direction: column; gap: 10px; }
.rsvp-item {
  background: var(--white);
  border: 1px solid rgba(234, 217, 200, .6);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
}
.rsvp-item__name {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.rsvp-item__meta {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 4px;
}
.rsvp-item__msg {
  grid-column: 1 / -1;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: 12px;
  border-left: 3px solid var(--peach-1);
  white-space: pre-line;
  word-break: break-word;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  align-self: start;
  white-space: nowrap;
}
.tag--attend { background: rgba(232,165,152,.18); color: var(--peach-2); }
.tag--absent { background: rgba(184,201,169,.25); color: #5b6d4a; }

.rsvp-item__del {
  border: 0;
  background: transparent;
  color: var(--text-mute);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  align-self: end;
  justify-self: end;
}
.rsvp-item__del:hover { color: #c15a4a; background: rgba(193,90,74,.08); }

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
}
.empty__icon {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: .6;
}
.empty p { margin: 4px 0; font-size: 14px; }

.admin-loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-mute);
  font-size: 14px;
}

/* ---------- 반응형 ---------- */
@media (max-width: 400px) {
  .baby-name { font-size: 36px; }
  .photo-ring { width: 160px; height: 160px; }
  .photo__initial { font-size: 62px; }
  .card { padding: 30px 18px 20px; }
  .info-row__label { flex-basis: 52px; font-size: 12px; }
  .cal { padding: 16px 12px; }
  .cal__day { font-size: 12px; }
}
