/* tea-wrapped.css — 📜 茶人年鑑（games-plan ⑥）
   深綠×燙金年度故事卡（會員卡語彙），橫向 snap 翻頁；z 10060 家族 */
.hh-wr-overlay {
  position: fixed; inset: 0; z-index: 10060;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(16, 22, 17, 0.72);
  -webkit-backdrop-filter: var(--hh-scrim-blur);
  backdrop-filter: var(--hh-scrim-blur);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.hh-wr-overlay.is-open { opacity: 1; }
.hh-wr-panel {
  position: relative;
  width: 100%; max-width: 420px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.25s ease;
}
.hh-wr-overlay.is-open .hh-wr-panel { transform: none; }
.hh-wr-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(243, 234, 208, 0.35); border-radius: 50%;
  background: rgba(243, 234, 208, 0.08);
  color: #f3ead0; font-size: 15px; cursor: pointer;
  z-index: 2;
}
.hh-wr-loading { padding: 60px 0; text-align: center; color: rgba(243, 234, 208, 0.6); }

.hh-wr-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 12px;
  border-radius: 22px;
}
.hh-wr-track::-webkit-scrollbar { display: none; }
.hh-wr-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 34px 26px;
  border-radius: 22px;
  border: 1px solid rgba(240, 193, 120, 0.25);
  background:
    radial-gradient(circle at 80% 8%, rgba(240, 193, 120, 0.12), transparent 42%),
    linear-gradient(168deg, #1d2b20 0%, #16211a 100%);
  color: #f3ead0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hh-wr-card--single { min-height: 320px; }
.hh-wr-eyebrow {
  margin: 0 0 14px;
  font: 700 11px/1.2 var(--font-ui, sans-serif);
  letter-spacing: 0.24em;
  color: #f0c178;
}
.hh-wr-big {
  margin: 0 0 10px;
  font: 700 26px/1.35 "Noto Serif TC", "Noto Serif TC Fallback", serif;
  color: #f6e9c8;
  letter-spacing: 0.04em;
}
.hh-wr-big--tea { font-size: 21px; }
.hh-wr-note { margin: 0; font: 500 13.5px/1.8 var(--font-ui, sans-serif); color: rgba(243, 234, 208, 0.72); }
.hh-wr-tea-img {
  width: 96px; height: 96px;
  border-radius: 18px;
  object-fit: cover;
  margin-bottom: 14px;
  border: 1px solid rgba(240, 193, 120, 0.35);
}
.hh-wr-stats { display: flex; gap: 22px; margin: 6px 0 14px; }
.hh-wr-stats b {
  display: block;
  font: 700 40px/1.1 "Cormorant Garamond", "Noto Serif TC", "Noto Serif TC Fallback", serif;
  color: #f6d9a0;
}
.hh-wr-stats span { font: 600 11.5px/1.4 var(--font-ui, sans-serif); color: rgba(243, 234, 208, 0.6); }
.hh-wr-cats { width: 100%; max-width: 280px; display: flex; flex-direction: column; gap: 12px; }
.hh-wr-cat { display: flex; align-items: center; gap: 10px; }
.hh-wr-cat-name {
  flex: 0 0 auto; width: 88px; text-align: left;
  font: 600 12.5px/1.3 var(--font-ui, sans-serif); color: #f3ead0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hh-wr-cat-track { flex: 1; height: 7px; border-radius: 999px; background: rgba(243, 234, 208, 0.12); overflow: hidden; }
.hh-wr-cat-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8cba84, #f0c178); }
.hh-wr-cat-pct { flex: 0 0 auto; min-width: 34px; text-align: right; font: 700 12px/1 var(--font-ui, sans-serif); color: #f0c178; }
.hh-wr-btn {
  margin-top: 16px;
  min-height: 44px; padding: 0 24px;
  border: 1px solid rgba(240, 193, 120, 0.5);
  border-radius: 999px;
  background: rgba(240, 193, 120, 0.1);
  color: #f6d9a0;
  font: 700 13.5px/1 var(--font-ui, sans-serif);
  cursor: pointer;
}
.hh-wr-btn:active { transform: scale(0.96); }
.hh-wr-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.hh-wr-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(243, 234, 208, 0.25); }
.hh-wr-dots i.is-cur { background: #f0c178; }
.hh-wr-swipe-hint { margin: 8px 0 0; text-align: center; font: 500 11px/1.4 var(--font-ui, sans-serif); color: rgba(243, 234, 208, 0.45); }

/* [hidden] 防禦：桌機 #dtMember 年鑑卡帶 inline display:flex，需 !important 才壓得過 */
#dtMember .dt-ov-card[hidden] { display: none !important; }
