/* tea-challenge.css — 🍃 無糖茶 30 日挑戰「三十日茶約」（2026-07-10）
   美學：宣紙米白 × 印章紅「飲」章 × 深綠燙金 CTA（同 tea-fortune 家族語彙）；
   overlay z 10060 對齊 fortune/quiz/tasting-draw（購物車 FAB 10000 不穿透）。
   ⚠️ 輸入框一律 16px（iOS 防自動放大鐵則）；面板高度 vh fallback＋dvh 兩行。 */

.hh-chal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(28, 34, 28, 0.55);
  -webkit-backdrop-filter: var(--hh-scrim-blur);
  backdrop-filter: var(--hh-scrim-blur);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hh-chal-overlay.is-open { opacity: 1; }
.hh-chal-panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 90vh;
  max-height: 90dvh; /* iOS 動態視口（舊 Safari 吃上行 fallback） */
  overflow-y: auto;
  background:
    radial-gradient(circle at 85% 6%, rgba(166, 61, 47, 0.05), transparent 34%),
    linear-gradient(175deg, #fbf8ef 0%, #f6f1e2 100%);
  border-radius: 18px;
  padding: 22px 20px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
  color: #2c3a2e;
  font-family: "Noto Serif TC", "Noto Serif TC Fallback", serif;
}
.hh-chal-overlay.is-open .hh-chal-panel { transform: none; }
.hh-chal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: rgba(31, 46, 33, 0.06);
  color: #4a4a42;
  font-size: 15px;
  cursor: pointer;
  z-index: 2;
}
.hh-chal-loading { text-align: center; padding: 40px 0; color: #8a8878; }
.hh-chal-eyebrow {
  font: italic 500 11px/1 "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.32em;
  color: #a8894f;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── ① 介紹頁 ── */
.hh-chal-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 24px 18px 22px;
  margin-top: 6px;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(191, 160, 99, 0.28), transparent 52%),
    radial-gradient(90% 70% at 0% 110%, rgba(20, 32, 24, 0.55), transparent 60%),
    linear-gradient(160deg, #2a4232 0%, #1c2e22 100%);
  color: #f4efe2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  min-height: 180px;
}
.hh-chal-hero::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(191, 160, 99, 0.35);
  border-radius: 10px;
  pointer-events: none;
}
.hh-chal-hero-vert {
  writing-mode: vertical-rl;
  font: 600 12.5px/1.9 "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.4em;
  color: rgba(244, 239, 226, 0.6);
  border-right: 1px solid rgba(191, 160, 99, 0.4);
  padding-right: 10px;
  align-self: flex-start;
  margin-top: 2px;
}
.hh-chal-hero-main { display: flex; flex-direction: column; justify-content: flex-end; }
.hh-chal-hero-main .hh-chal-eyebrow { color: #bfa063; margin-bottom: 10px; }
.hh-chal-hero-title { margin: 0; font: 900 27px/1.28 "Noto Serif TC", "Noto Serif TC Fallback", serif; letter-spacing: 0.1em; }
.hh-chal-hero-slogan { margin: 8px 0 0; font-size: 12.5px; letter-spacing: 0.13em; color: rgba(244, 239, 226, 0.78); }
.hh-chal-hero-seal {
  position: absolute;
  right: 15px; bottom: 15px;
  width: 42px; height: 42px;
  border-radius: 9px;
  background: #a63d2f;
  color: #f7ead9;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 16px/1.15 "Noto Serif TC", "Noto Serif TC Fallback", serif;
  writing-mode: vertical-rl;
  box-shadow: 0 3px 10px rgba(166, 61, 47, 0.4);
  transform: rotate(-3deg);
}
.hh-chal-rules { margin: 17px 2px 2px; display: flex; flex-direction: column; gap: 12px; }
.hh-chal-rule { display: flex; gap: 12px; align-items: flex-start; }
.hh-chal-rule-no {
  flex: 0 0 30px;
  height: 30px;
  border: 1px solid rgba(168, 137, 79, 0.38);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font: italic 500 13px "Cormorant Garamond", Georgia, serif;
  color: #a8894f;
}
.hh-chal-rule b { display: block; font-size: 14.5px; letter-spacing: 0.1em; margin-bottom: 2px; }
.hh-chal-rule span { font-size: 12px; color: #5a6157; letter-spacing: 0.04em; line-height: 1.6; }
.hh-chal-weightbox {
  margin-top: 15px;
  background: rgba(36, 56, 43, 0.045);
  border: 1px solid rgba(44, 58, 46, 0.1);
  border-radius: 12px;
  padding: 13px 14px;
}
.hh-chal-weightbox label {
  font-size: 13px;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hh-chal-weightbox label em { font-style: normal; font-size: 11px; color: #a8894f; letter-spacing: 0.14em; }
.hh-chal-win { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.hh-chal-win input {
  flex: 1;
  min-width: 0;
  font: 600 16px "Noto Serif TC", "Noto Serif TC Fallback", serif; /* ⚠️ ≥16px：iOS 聚焦防自動放大 */
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid rgba(44, 58, 46, 0.18);
  background: #fffdf6;
  color: #2c3a2e;
}
.hh-chal-win span { font-size: 13px; color: #5a6157; }
.hh-chal-priv { margin: 9px 0 0; font-size: 10.5px; color: #8a8878; line-height: 1.65; letter-spacing: 0.03em; }
.hh-chal-cta {
  margin-top: 15px;
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(150deg, #2f4a38, #1c2e22);
  color: #f2ecdc;
  font: 700 16px "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  box-shadow: 0 10px 22px rgba(28, 46, 34, 0.35), inset 0 0 0 1px rgba(191, 160, 99, 0.35);
}
.hh-chal-cta:disabled { opacity: 0.6; }
.hh-chal-cta small {
  display: block;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  color: rgba(242, 236, 220, 0.62);
  margin-top: 4px;
}

/* ── ② 進行中 ── */
.hh-chal-head { display: flex; align-items: baseline; gap: 10px; }
.hh-chal-head h3 { margin: 0; font: 700 17px "Noto Serif TC", "Noto Serif TC Fallback", serif; letter-spacing: 0.14em; white-space: nowrap; }
.hh-chal-day {
  margin-left: auto;
  padding-right: 30px; /* 讓過 ✕ 鈕 */
  font: italic 500 11px/1.6 "Cormorant Garamond", Georgia, serif;
  color: #a8894f;
  letter-spacing: 0.14em;
  text-align: right;
}
.hh-chal-count { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; flex-wrap: wrap; }
.hh-chal-count b { font: 900 32px/1 "Noto Serif TC", "Noto Serif TC Fallback", serif; color: #1c2e22; }
.hh-chal-count > span { font-size: 12.5px; color: #5a6157; letter-spacing: 0.1em; }
.hh-chal-streak {
  margin-left: auto;
  font-size: 11.5px;
  color: #a63d2f;
  letter-spacing: 0.08em;
  border: 1px solid rgba(166, 61, 47, 0.3);
  border-radius: 99px;
  padding: 4px 10px;
  background: rgba(166, 61, 47, 0.05);
}
.hh-chal-done-tag { margin-left: 0; color: #a8894f; border-color: rgba(168, 137, 79, 0.45); background: rgba(168, 137, 79, 0.08); }
.hh-chal-social {
  margin-top: 4px;
  font-size: 11.5px;
  color: #7d6330;
  letter-spacing: 0.06em;
}
.hh-chal-social--intro { text-align: center; margin: 13px 0 -4px; }
/* 🎁 小禮收件表單（達成即免費寄送） */
.hh-chal-ship {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 137, 79, 0.35);
  background: rgba(255, 253, 246, 0.85);
}
.hh-chal-ship b { font-size: 13.5px; letter-spacing: 0.06em; color: #1c2e22; }
.hh-chal-ship > span { font-size: 11px; color: #8a8878; letter-spacing: 0.04em; margin-top: -3px; }
/* （2026-07-10 v2）小禮領取改走結帳流程，頁內表單 input 已移除；領取按鈕沿用下規則 */
.hh-chal-ship button {
  font-family: inherit;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  padding: 11px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(150deg, #2f4a38, #1c2e22);
  color: #f2ecdc;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(191, 160, 99, 0.35);
}
.hh-chal-ship button:disabled { opacity: 0.6; }
.hh-chal-ship--done {
  font-size: 12.5px;
  color: #7d6330;
  letter-spacing: 0.05em;
  text-align: left;
}
.hh-chal-ship--done span { display: block; font-size: 11px; color: #8a8878; margin-top: 4px; }

/* 📷 茶照打卡 */
.hh-chal-photo-row { display: flex; align-items: center; gap: 10px; margin-top: 11px; flex-wrap: wrap; }
.hh-chal-photo-thumb {
  width: 42px; height: 42px;
  border: 1px solid rgba(168, 137, 79, 0.4);
  border-radius: 9px;
  padding: 0;
  overflow: hidden;
  background: none;
  cursor: pointer;
  flex: 0 0 auto;
}
.hh-chal-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-chal-photo-btn {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 13px;
  border-radius: 99px;
  border: 1px dashed rgba(168, 137, 79, 0.45);
  background: rgba(191, 160, 99, 0.06);
  color: #7d6330;
  cursor: pointer;
}
.hh-chal-photo-hint { font-size: 10px; color: #8a8878; letter-spacing: 0.04em; }
.hh-chal-photos .hh-chal-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.hh-chal-photo-cell {
  position: relative;
  flex: 0 0 74px;
  width: 74px; height: 74px;
  border: 1px solid rgba(44, 58, 46, 0.12);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
}
.hh-chal-photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hh-chal-photo-cell i {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font: 600 9.5px "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  color: #f6f1e2;
  background: linear-gradient(0deg, rgba(28, 46, 34, 0.65), transparent);
  padding: 8px 0 3px;
  text-align: center;
  letter-spacing: 0.08em;
}
.hh-chal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10070;
  background: rgba(20, 26, 20, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  cursor: zoom-out;
}
.hh-chal-lightbox img {
  max-width: 100%;
  max-height: 92vh;
  max-height: 92dvh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.hh-chal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 12px 0 4px; }
.hh-chal-dow {
  font: 600 10px "Noto Serif TC", "Noto Serif TC Fallback", serif;
  color: #8a8878;
  text-align: center;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
}
.hh-chal-cell.pad { border: none; background: none; }
.hh-chal-cell {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(44, 58, 46, 0.13);
  background: #fffdf6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hh-chal-cell i {
  font-style: normal;
  font: 400 9.5px "Cormorant Garamond", Georgia, serif;
  color: #b9b4a2;
}
.hh-chal-cell.st {
  border: none;
  background: radial-gradient(circle at 34% 30%, #c05442, #a63d2f 72%);
  box-shadow: 0 2px 6px rgba(166, 61, 47, 0.35);
}
.hh-chal-cell.st::after { content: "飲"; color: #f7ead9; font: 700 13px "Noto Serif TC", "Noto Serif TC Fallback", serif; }
.hh-chal-cell.st i { display: none; }
.hh-chal-cell.st.r1 { transform: rotate(-6deg); }
.hh-chal-cell.st.r2 { transform: rotate(4deg); }
.hh-chal-cell.st.r3 { transform: rotate(-2deg); }
.hh-chal-cell.miss { background: rgba(44, 58, 46, 0.03); }
.hh-chal-cell.miss i { display: none; }
.hh-chal-cell.miss::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #cfc9b6; }
.hh-chal-cell.today { border: 1.5px dashed #a8894f; animation: hhChalBreathe 2.2s ease-in-out infinite; }
.hh-chal-cell.today i { color: #a8894f; font-weight: 600; }
@keyframes hhChalBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 137, 79, 0); }
  50% { box-shadow: 0 0 0 5px rgba(168, 137, 79, 0.14); }
}
@media (prefers-reduced-motion: reduce) {
  .hh-chal-cell.today { animation: none; }
}
.hh-chal-ms { margin: 15px 2px 2px; }
.hh-chal-track { position: relative; height: 3px; background: rgba(44, 58, 46, 0.1); border-radius: 2px; }
.hh-chal-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #bfa063, #a8894f);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.hh-chal-nodes { display: flex; justify-content: space-between; margin-top: -9px; position: relative; }
.hh-chal-node {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #efe9d6;
  border: 1.5px solid rgba(168, 137, 79, 0.5);
  margin-top: 1px;
}
.hh-chal-node.on {
  background: radial-gradient(circle at 35% 30%, #d9c08c, #a8894f);
  border-color: #a8894f;
  box-shadow: 0 0 0 3px rgba(168, 137, 79, 0.18);
}
.hh-chal-labels { display: flex; justify-content: space-between; margin-top: 7px; }
.hh-chal-labels span { font-size: 10px; color: #5a6157; letter-spacing: 0.06em; width: 33%; text-align: center; }
.hh-chal-labels span:first-child { text-align: left; }
.hh-chal-labels span:last-child { text-align: right; }
.hh-chal-labels b { display: block; font-size: 11px; color: #a8894f; letter-spacing: 0.08em; }
.hh-chal-labels .got b { color: #8a8878; text-decoration: line-through; }
.hh-chal-giftline {
  margin-top: 10px;
  font-size: 11.5px;
  color: #7d6330;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-align: center;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px dashed rgba(168, 137, 79, 0.35);
  background: rgba(191, 160, 99, 0.05);
}
.hh-chal-stamp {
  margin-top: 16px;
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 13px;
  cursor: pointer;
  background: linear-gradient(150deg, #2f4a38, #1c2e22);
  color: #f2ecdc;
  font: 700 17px "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  box-shadow: 0 10px 22px rgba(28, 46, 34, 0.35), inset 0 0 0 1px rgba(191, 160, 99, 0.35);
  transition: transform 0.12s ease;
}
.hh-chal-stamp:active { transform: scale(0.97); }
.hh-chal-stamp-mini {
  display: inline-flex;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: #a63d2f;
  color: #f7ead9;
  font-size: 12px;
  align-items: center;
  justify-content: center;
  vertical-align: -6px;
  margin-right: 10px;
  transform: rotate(-4deg);
  letter-spacing: 0;
  text-indent: 0;
}
.hh-chal-stamp.done {
  background: linear-gradient(150deg, #efe9d6, #e7dfc7);
  color: #2c3a2e;
  box-shadow: inset 0 0 0 1px rgba(168, 137, 79, 0.4);
  letter-spacing: 0.14em;
  cursor: default;
}
/* 🧋 卡路里恭喜卡（簽到後顯示；「少攝取」替代算術，合規不涉減重字眼） */
.hh-chal-kcal {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(168, 137, 79, 0.32);
  background: linear-gradient(150deg, rgba(191, 160, 99, 0.13), rgba(191, 160, 99, 0.04));
  animation: hhChalKcalIn 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
@keyframes hhChalKcalIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-chal-kcal { animation: none; }
}
.hh-chal-kcal-ico { font-size: 22px; line-height: 1; margin-top: 2px; }
.hh-chal-kcal b { display: block; font-size: 14px; letter-spacing: 0.06em; color: #1c2e22; }
.hh-chal-kcal span { display: block; font-size: 11px; color: #8a8878; letter-spacing: 0.04em; margin-top: 2px; }
.hh-chal-kcal em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 700;
  color: #a8894f;
  letter-spacing: 0.06em;
  margin-top: 6px;
}
.hh-chal-kcal-done { margin: 10px 0 0; font-size: 12px; color: #7d6330; letter-spacing: 0.06em; }
.hh-chal-after {
  margin-top: 14px;
  border: 1px dashed rgba(168, 137, 79, 0.38);
  border-radius: 12px;
  padding: 12px 13px 13px;
  background: rgba(255, 253, 246, 0.7);
}
.hh-chal-after h5 { margin: 0 0 9px; font-size: 12.5px; letter-spacing: 0.14em; color: #5a6157; font-weight: 600; }
.hh-chal-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.hh-chal-chip {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 99px;
  border: 1px solid rgba(44, 58, 46, 0.16);
  background: #fffdf6;
  color: #2c3a2e;
  cursor: pointer;
}
.hh-chal-chip.on { background: #1c2e22; color: #efe9d6; border-color: #1c2e22; }
.hh-chal-chip-custom { border-style: dashed; color: #7d6330; background: rgba(191, 160, 99, 0.06); }
.hh-chal-chip-custom.on { background: #1c2e22; color: #efe9d6; border-color: #1c2e22; border-style: solid; }
.hh-chal-custom-row { display: flex; gap: 8px; margin-top: 10px; }
.hh-chal-custom-row[hidden] { display: none; }
.hh-chal-custom-row input {
  flex: 1;
  min-width: 0;
  font: 500 16px "Noto Serif TC", "Noto Serif TC Fallback", serif; /* ⚠️ ≥16px：iOS 聚焦防自動放大 */
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid rgba(44, 58, 46, 0.16);
  background: #fffdf6;
  color: #2c3a2e;
}
.hh-chal-custom-row button {
  font-family: inherit;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 9px;
  border: none;
  background: #1c2e22;
  color: #efe9d6;
  cursor: pointer;
}
.hh-chal-wline { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.hh-chal-wline label { font-size: 12px; color: #5a6157; letter-spacing: 0.08em; flex: 0 0 auto; }
.hh-chal-wline input {
  width: 86px;
  font: 600 16px "Noto Serif TC", "Noto Serif TC Fallback", serif; /* ⚠️ ≥16px */
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid rgba(44, 58, 46, 0.16);
  background: #fffdf6;
  text-align: center;
}
.hh-chal-wline span { font-size: 12px; color: #5a6157; }
.hh-chal-wsave {
  margin-left: auto;
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid rgba(168, 137, 79, 0.45);
  background: rgba(168, 137, 79, 0.08);
  color: #7d6330;
  cursor: pointer;
}
.hh-chal-duo { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.hh-chal-card {
  border: 1px solid rgba(44, 58, 46, 0.1);
  border-radius: 12px;
  background: rgba(255, 253, 246, 0.8);
  padding: 12px;
}
.hh-chal-card h6 { margin: 0 0 7px; font-size: 11px; letter-spacing: 0.18em; color: #a8894f; font-weight: 600; }
.hh-chal-spark { width: 100%; height: 38px; display: block; }
.hh-chal-wnow { font-size: 11.5px; color: #5a6157; margin-top: 5px; letter-spacing: 0.05em; }
.hh-chal-tea {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: none;
  padding: 2px 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: #2c3a2e;
}
.hh-chal-tea img { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 9px; object-fit: cover; }
.hh-chal-tea-name { font-size: 13px; letter-spacing: 0.08em; font-weight: 600; }
.hh-chal-tea-go { margin-left: auto; color: #a8894f; }
.hh-chal-invite {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(44, 58, 46, 0.2);
  background: none;
  font: 600 13.5px "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.14em;
  color: #2c3a2e;
  cursor: pointer;
}
.hh-chal-foot { margin: 13px 2px 0; font-size: 10.5px; color: #8a8878; letter-spacing: 0.04em; line-height: 1.7; }
.hh-chal-wdel {
  font-family: inherit;
  font-size: 10.5px;
  color: #8a8878;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
}

/* ── ③ 結算頁 ── */
.hh-chal-donewrap { text-align: center; padding: 10px 4px 2px; }
.hh-chal-donewrap .hh-chal-eyebrow { text-align: center; }
.hh-chal-bigseal {
  width: 112px; height: 112px;
  margin: 14px auto 4px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 34% 28%, #c05442, #a63d2f 74%);
  box-shadow: 0 10px 26px rgba(166, 61, 47, 0.4);
  transform: rotate(-4deg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hh-chal-bigseal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1.5px solid rgba(247, 234, 217, 0.55);
  border-radius: 50%;
}
.hh-chal-bigseal span {
  writing-mode: vertical-rl;
  color: #f7ead9;
  font: 900 28px/1.14 "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.14em;
}
.hh-chal-done-title { margin: 14px 0 0; font: 900 21px "Noto Serif TC", "Noto Serif TC Fallback", serif; letter-spacing: 0.18em; }
.hh-chal-done-sub { margin: 7px 0 0; font-size: 12.5px; color: #5a6157; letter-spacing: 0.08em; line-height: 1.8; }
.hh-chal-ptsband {
  margin: 15px auto 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid rgba(168, 137, 79, 0.38);
  background: linear-gradient(160deg, rgba(191, 160, 99, 0.14), rgba(191, 160, 99, 0.04));
}
.hh-chal-ptsband b { font: 900 23px "Noto Serif TC", "Noto Serif TC Fallback", serif; color: #a8894f; }
.hh-chal-ptsband span { font-size: 12px; letter-spacing: 0.12em; color: #5a6157; }
.hh-chal-done-gift {
  margin: 12px auto 0;
  max-width: 300px;
  font-size: 12px;
  color: #7d6330;
  letter-spacing: 0.06em;
  line-height: 1.7;
  padding: 9px 14px;
  border: 1px dashed rgba(168, 137, 79, 0.45);
  border-radius: 10px;
  background: rgba(191, 160, 99, 0.07);
}
.hh-chal-stats { display: flex; justify-content: center; gap: 26px; margin-top: 16px; }
.hh-chal-stats b { display: block; font: 700 19px "Noto Serif TC", "Noto Serif TC Fallback", serif; color: #1c2e22; }
.hh-chal-stats small { font-size: 12px; }
.hh-chal-stats span { font-size: 10.5px; color: #5a6157; letter-spacing: 0.12em; }
.hh-chal-dbtns { display: flex; gap: 10px; margin-top: 20px; }
.hh-chal-ghost {
  flex: 1;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid rgba(44, 58, 46, 0.2);
  background: none;
  font: 600 13.5px "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.14em;
  color: #2c3a2e;
  cursor: pointer;
}
.hh-chal-main {
  flex: 1.4;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(150deg, #2f4a38, #1c2e22);
  color: #f2ecdc;
  font: 700 13.5px "Noto Serif TC", "Noto Serif TC Fallback", serif;
  letter-spacing: 0.14em;
  box-shadow: inset 0 0 0 1px rgba(191, 160, 99, 0.35);
  cursor: pointer;
}
.hh-chal-main:disabled { opacity: 0.6; }
