/* Mẫu Tinh Khôi (phong cách Hàn Quốc) */
body.theme-tinh-khoi {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
}

.theme-tinh-khoi .wi-page {
  background: var(--c-paper);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.06);
}

.tk-container {
  padding: 36px 20px 48px;
}

/* Phần mở đầu: Khung vòm */
.tk-hero {
  text-align: center;
  margin-bottom: 32px;
}

.tk-kicker-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.tk-leaf-deco {
  font-size: 1rem;
  opacity: 0.7;
}

.tk-kicker {
  font-family: var(--f-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0;
}

.tk-names {
  font-size: clamp(1.98rem, 8.36vw, 2.89rem);
  color: var(--c-primary);
  margin: 8px 0 6px;
  line-height: 1.1;
  font-weight: 500;
}

.tk-amp {
  font-family: var(--f-title);
  font-style: italic;
  font-size: 0.7em;
  color: var(--c-accent);
  margin: 0 4px;
}

.tk-date-banner {
  font-family: var(--f-title);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  margin: 0 0 24px;
}

/* Khung vòm ảnh cưới (Arch Photo Frame) */
.tk-arch-wrapper {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.tk-arch-frame {
  border-radius: 220px 220px 16px 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 4px solid #ffffff;
  outline: 1px solid var(--c-border);
}

.tk-arch-frame .wi-cover-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.tk-arch-label {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--c-border);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--c-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-top: 14px;
}

/* Thư mời đích danh có con dấu sáp (Wax Seal) */
.tk-guest-section {
  margin: 28px 0;
}

.tk-guest-card {
  position: relative;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 34px 22px 24px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

.tk-wax-seal {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--c-seal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(181, 70, 70, 0.35);
}

.tk-guest-tag {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--c-muted);
  margin: 0 0 4px;
}

.tk-guest-name {
  font-size: clamp(1.52rem, 6.08vw, 2.13rem);
  color: var(--c-primary);
  margin: 2px 0 10px;
  line-height: 1.2;
}

.tk-invite-text {
  font-family: var(--f-quote);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-text);
  max-width: 420px;
  margin: 0 auto;
}

/* Cặp đôi & Gia đình */
.tk-couple-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tk-person-box {
  text-align: center;
}

.tk-role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--c-muted);
  margin-bottom: 2px;
}

.tk-person-box h3 {
  font-size: 1.7rem;
  color: var(--c-primary);
  margin: 0;
}

.tk-heart-sep {
  color: var(--c-accent);
  font-size: 1.2rem;
}

/* Header cho các phần tiếp theo */
.tk-section {
  margin: 44px 0;
}

.tk-sec-head {
  text-align: center;
  margin-bottom: 24px;
}

.tk-sec-sub {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--c-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.tk-sec-title {
  font-family: var(--f-title);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--c-primary);
  margin: 0;
}

.tk-title-line {
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  margin: 10px auto 0;
  border-radius: 999px;
  opacity: 0.7;
}

/* Timeline Chuyện Tình Yêu (Our Love Story) */
.tk-timeline {
  display: grid;
  gap: 20px;
  position: relative;
  padding-left: 36px;
  border-left: 2px dashed var(--c-border);
  margin-left: 12px;
}

.tk-timeline-step {
  position: relative;
}

.tk-step-dot {
  position: absolute;
  left: -49px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-paper);
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
  font-weight: 700;
  font-size: 0.76rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.tk-step-time {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.tk-step-title {
  font-family: var(--f-title);
  font-size: 1.25rem;
  color: var(--c-primary);
  margin: 0 0 6px;
}

.tk-step-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
  text-align: justify;
}

/* Lịch trình hôn lễ & Đếm ngược */
.theme-tinh-khoi .wi-event {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.theme-tinh-khoi .wi-countdown div {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 10px;
}

.theme-tinh-khoi .wi-countdown b {
  font-family: var(--f-title);
  color: var(--c-primary);
  font-size: 1.85rem;
}

.theme-tinh-khoi .wi-cal-day.is-wedding {
  background: var(--c-accent);
  color: #fff;
}

/* Quà mừng cưới */
.theme-tinh-khoi .wi-gift {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}

.theme-tinh-khoi .wi-btn {
  background: var(--c-primary);
  color: #ffffff;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 0;
  padding: 10px 24px;
  transition: all 0.2s ease;
}

.theme-tinh-khoi .wi-btn:hover {
  background: color-mix(in srgb, var(--c-primary) 85%, #fff);
  transform: translateY(-1px);
}

/* Tabs phân loại tâm trạng lời chúc */
.tk-mood-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tk-mood-btn {
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-muted);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tk-mood-btn.is-active, .tk-mood-btn:hover {
  background: var(--c-primary);
  color: #ffffff;
  border-color: var(--c-primary);
}

.tk-mood-group {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.tk-mood-group.is-shown {
  display: flex;
}

.tk-rsvp-box {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 24px 20px;
}

.theme-tinh-khoi .wi-wish {
  background: #ffffff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.theme-tinh-khoi .wi-wish-avatar {
  background: var(--c-accent);
}

/* Nút nhạc đĩa than nổi ở góc */
.theme-tinh-khoi .wi-music {
  background: #ea4c89;
  box-shadow: 0 4px 16px rgba(234, 76, 137, 0.4);
}

/* trái tim 3D ở ảnh bìa dùng màu nhấn (màu chữ chính quá tối cho trái tim) */
.theme-tinh-khoi { --fx-heart: var(--c-accent); }
