/* 每月活動（/events/）：跟首頁同一套黑底桃粉 */
body.ev { margin: 0; background: #0c0809; color: #f7ecee; }
.ev-wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 56px; }
.ev-title { margin: 32px 0 8px; font: 900 34px/1.2 'Noto Serif TC', 'Songti TC', serif; }
.ev-h2 { margin: 32px 0 12px; font: 700 23px/1.3 'Noto Serif TC', 'Songti TC', serif; color: #f2d9b8; }
.ev-sub { margin: -6px 0 14px; color: #d4bfc4; font-size: 15px; line-height: 1.6; }
.ev-sec { scroll-margin-top: 72px; }

.ev-card { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid rgba(240, 160, 185, .3); border-radius: 16px; background: #1a0d12; color: inherit; text-decoration: none; }
.ev-card img { display: block; width: 100%; height: 190px; object-fit: cover; border-radius: 10px; }
.ev-card b { display: block; font: 700 20px/1.4 'Noto Serif TC', 'Songti TC', serif; }
.ev-card time { display: block; margin-top: 2px; color: #f2c88f; font-size: 14px; }
.ev-card p { margin: 8px 0 0; color: #d4bfc4; font-size: 15px; line-height: 1.6; }
.ev-plain { grid-template-columns: 1fr; }
.ev-link { display: inline-block; margin-top: 10px; color: #ff79a8; font-weight: 700; font-size: 15px; }

.ev-hero { position: relative; overflow: hidden; }
.ev-hero img { display: block; width: 100%; height: auto; min-height: 280px; object-fit: cover; }
.ev-hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; width: min(60%, 640px); padding-left: max(16px, calc((100vw - 1100px) / 2)); }
.ev-hero h1 { margin: 0; font: 900 clamp(34px, 5vw, 60px)/1.1 'Noto Serif TC', 'Songti TC', serif; letter-spacing: .04em; color: #fff4e6; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); white-space: nowrap; }
.ev-hero p { margin: 0; font: 700 clamp(14px, 1.7vw, 19px)/1.5 'Noto Serif TC', 'Songti TC', serif; text-shadow: 0 1px 10px rgba(0, 0, 0, .8); }
.ev-hero time { font-size: 15px; letter-spacing: .06em; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.ev-pill { padding: 3px 14px; border: 1px solid rgba(255, 214, 170, .6); border-radius: 999px; background: rgba(40, 8, 12, .5); font-size: 14px; white-space: nowrap; }

.ev-who { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ev-who button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; border: 1px solid rgba(240, 160, 185, .3); border-radius: 999px; background: transparent; color: #d4bfc4; font: inherit; font-size: 15px; cursor: pointer; }
.ev-who button[aria-pressed="true"] { border-color: #ff79a8; color: #fff; background: rgba(226, 69, 127, .18); }
.ev-who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

.ev-panel { padding: 18px; border: 1px solid rgba(240, 160, 185, .3); border-radius: 16px; background: #1a0d12; }
.ev-skel { height: 120px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.ev-num { font: 700 30px/1.2 'Noto Serif TC', 'Songti TC', serif; color: #ff9dbd; font-variant-numeric: tabular-nums; }
.ev-num small { font: 400 15px/1 sans-serif; color: #d4bfc4; }
.ev-bar { display: flex; align-items: center; gap: 10px; margin: 10px 0 16px; }
.ev-bar i { flex: 1; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.ev-bar i span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ff79a8, #e2457f); }
.ev-bar em { font-style: normal; font-size: 14px; color: #d4bfc4; font-variant-numeric: tabular-nums; }
.ev-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ev-goals li { padding: 12px; border: 1px solid rgba(242, 200, 143, .28); border-radius: 12px; font-size: 14px; line-height: 1.5; color: #d4bfc4; }
.ev-goals b { display: block; color: #f2c88f; font-size: 16px; font-variant-numeric: tabular-nums; }
.ev-goals li.on { border-color: #f2c88f; background: rgba(242, 200, 143, .1); color: #fff; }
.ev-reveal { display: block; width: 100%; margin-top: 14px; border-radius: 12px; }
.ev-go { display: flex; margin-top: 16px; justify-content: center; }

.ev-gifts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ev-gift { padding: 8px 8px 12px; border: 1px solid rgba(240, 160, 185, .3); border-radius: 14px; background: #1a0d12; text-align: center; }
.ev-gift img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.ev-gift b { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; }
.ev-gift span { display: block; margin-top: 4px; color: #f2c88f; font-size: 13px; font-variant-numeric: tabular-nums; }

.ev-rewards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ev-rewards li { padding: 14px; border: 1px solid rgba(242, 200, 143, .28); border-radius: 12px; background: #1a0d12; }
.ev-rewards b { display: block; color: #f2c88f; font-size: 16px; line-height: 1.4; }
.ev-rewards span { display: block; margin-top: 4px; color: #d4bfc4; font-size: 15px; line-height: 1.6; }

.ev-rules { margin: 0; padding-left: 20px; color: #d4bfc4; font-size: 15px; line-height: 1.8; }

@media (max-width: 900px) { .ev-gifts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .ev-card { grid-template-columns: 1fr; }
  .ev-plain { grid-template-columns: 1fr; }
  .ev-hero-copy { width: 62%; gap: 6px; }
  .ev-hero .btn { padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  .ev-goals { grid-template-columns: 1fr; }
  .ev-rewards { grid-template-columns: 1fr; }
}

/* 12 月星願聖誕夜（/events/2026-12-xmas/）：沒有即時進度，只有禮物、集章、旗艦造型、免費卡 */
.ev-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ev-hero-xmas h1 { white-space: normal; }
.ev-hero-xmas p { text-wrap: balance; }
.ev-note { margin: 12px 0 0; color: #9a8287; font-size: 14px; line-height: 1.6; }
.ev-tag { display: inline-block; padding: 1px 10px; border: 1px solid rgba(242, 200, 143, .55); border-radius: 999px; color: #f2c88f; font-size: 12px; font-style: normal; line-height: 1.6; white-space: nowrap; }

.ev-gifts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ev-gift-icon { position: relative; padding-top: 12px; }
.ev-gift-icon img { width: min(100%, 160px); height: auto; margin: 0 auto; object-fit: contain; border-radius: 0; }
.ev-gift-icon .ev-tag { position: absolute; top: 8px; left: 8px; }
.ev-gift-icon span { font-size: 15px; }

.ev-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ev-steps::before { content: ''; position: absolute; top: 68px; left: 16.6%; right: 16.6%; border-top: 1px dashed rgba(242, 200, 143, .45); }
.ev-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px 16px; border: 1px solid rgba(240, 160, 185, .2); border-radius: 14px; background: #1a0d12; text-align: center; }
.ev-steps li.on { border-color: rgba(242, 200, 143, .55); }
.ev-step-day { color: #d4bfc4; font-size: 14px; white-space: nowrap; }
.ev-step-art { position: relative; display: grid; place-items: center; width: 56px; height: 56px; }
.ev-step-badge { border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe2b0, #c98d3d); color: #4a1620; box-shadow: 0 0 18px rgba(242, 200, 143, .4); }
.ev-step-dot::after { content: ''; width: 18px; height: 18px; border: 2px solid rgba(242, 200, 143, .6); border-radius: 50%; background: #1a0d12; }
.ev-step-card { width: 44px; height: 66px; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.ev-steps b { color: #f2c88f; font-size: 15px; line-height: 1.4; }
.ev-step-text { color: #d4bfc4; font-size: 14px; line-height: 1.5; }

.ev-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 260px)); gap: 12px; margin-bottom: 14px; }
.ev-look { margin: 0; overflow: hidden; border: 1px solid rgba(240, 160, 185, .3); border-radius: 14px; background: #1a0d12; }
.ev-look img { display: block; width: 100%; aspect-ratio: 7 / 10; object-fit: cover; background: rgba(255, 255, 255, .05); }
.ev-look-noimg img { visibility: hidden; }
.ev-look figcaption { padding: 10px 12px; font-size: 15px; line-height: 1.4; text-align: center; }
.ev-look figcaption span { display: inline-block; }
.ev-steps b, .ev-step-text { text-wrap: balance; }

.ev-free { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid rgba(240, 160, 185, .3); border-radius: 16px; background: #1a0d12; }
.ev-free img { display: block; width: 100%; height: auto; border-radius: 10px; }
.ev-free p { margin: 10px 0 14px; color: #d4bfc4; font-size: 15px; line-height: 1.6; }
.ev-rules a { color: #ff79a8; }
ol.ev-rules li + li, ul.ev-rules li + li { margin-top: 2px; }

@media (max-width: 700px) {
  .ev-gifts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-look figcaption { padding: 10px 8px; font-size: 14px; }
  .ev-steps b { font-size: 14px; }
  .ev-free { grid-template-columns: 120px 1fr; gap: 14px; }
  /* 手機版：主視覺上方再接一段同色底，接縫用漸層淡入；文字放上面置中，不壓到星星和聖誕樹 */
  .ev-hero-xmas { padding-top: 130px; background: #220405; }
  .ev-hero-xmas picture { position: relative; display: block; }
  .ev-hero-xmas picture::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 90px; background: linear-gradient(#220405, rgba(34, 4, 5, 0)); pointer-events: none; }
  .ev-hero-xmas .ev-hero-copy { width: 100%; box-sizing: border-box; justify-content: flex-start; align-items: center; gap: 4px; padding: 14px 16px 0; text-align: center; }
  .ev-hero-xmas .ev-pill { font-size: 13px; }
  .ev-hero-xmas h1 { font-size: 36px; }
  .ev-hero-xmas p { font-size: 14px; }
  .ev-hero-xmas time { font-size: 14px; }
  .ev-hero-xmas .ev-hero-btns { flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; }
  .ev-hero-xmas .btn-ghost { min-height: 38px; font-size: 14px; background: rgba(20, 6, 9, .72); }
}
@media (max-width: 360px) {
  .ev-hero-xmas .ev-hero-copy { padding-top: 12px; gap: 4px; }
  .ev-hero-xmas h1 { font-size: 32px; }
  .ev-hero-xmas .btn { font-size: 14px; }
  .ev-steps { gap: 6px; }
  .ev-steps li { padding: 12px 6px 14px; }
  .ev-step-day { font-size: 13px; }
  .ev-steps b, .ev-step-text { font-size: 13px; }
}
