/*!**************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./components/fairs/wedmarket/wedmarket.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************/
/* 拍拍印 婚禮小物市集 /wedmarket — 手機優先；所有 class 以 wm- 開頭避免污染 */
:root {
  --wm-bg: #fbf7f1;
  --wm-paper: #ffffff;
  --wm-ink: #2b2320;
  --wm-ink2: #5d514b;
  --wm-mute: #8f837c;
  --wm-line: #eadfd4;
  --wm-rose: #b8575a;
  --wm-rose-d: #973f45;
  --wm-blush: #f5e6e0;
  --wm-gold: #a8834a;
  --wm-gold-l: #efe3cc;
  --wm-sage: #6f7f63;
  --wm-serif: 'Noto Serif TC', serif;
  --wm-sans: 'Noto Sans TC', -apple-system, 'PingFang TC', sans-serif;
  --wm-latin: 'Cormorant Garamond', 'Noto Serif TC', serif;
  /* 數字一律 Noto Serif：Cormorant 的 1 帶飾線會被讀成 I（01→OI、11→II） */
  --wm-num: 'Noto Serif TC', serif;
  --wm-r: 18px;
  /* 固定頂欄／底部報名列高度：整屏區塊高度與吸附位置都以此扣除 */
  --wm-top-h: 54px;
  --wm-dock-h: calc(78px + env(safe-area-inset-bottom));
  color-scheme: light;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wm-bg); color: var(--wm-ink); font-family: var(--wm-sans); line-height: 1.7; }
.wm * { box-sizing: border-box; }
.wm img { display: block; max-width: 100%; }
.wm a { color: inherit; }
.wm button { font: inherit; }
.wm { overflow-x: clip; padding-bottom: 86px; }

/* ---------- 頂欄 ---------- */
.wm-top {
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--wm-top-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  transition: background .25s, box-shadow .25s, color .25s; color: #fff;
}
.wm-top.is-solid { background: rgba(251, 247, 241, .94); color: var(--wm-ink); box-shadow: 0 1px 0 var(--wm-line); backdrop-filter: blur(10px); }
.wm-top-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--wm-serif); font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.wm-top-brand img { height: 20px; width: auto; }
.wm-top.is-solid .wm-top-brand img { filter: brightness(0) saturate(100%) invert(38%) sepia(35%) saturate(900%) hue-rotate(310deg); }
.wm-top-cta { white-space: nowrap; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--wm-rose); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }

/* ---------- 版型分流：判斷前不顯示；表單在前＝活動資訊＋報名表同一畫面 ---------- */
.wm[data-layout="pending"] { visibility: hidden; }
.wm-hero.wm-formhero { min-height: 100svh; align-items: stretch; padding-top: 64px; }
.wm[data-layout="form"] .wm-top-cta { display: none; } /* 表單就在首屏，頂欄不再放報名鈕 */
.wm-hero.wm-formhero::before { background: linear-gradient(180deg, rgba(30, 20, 18, .62) 0%, rgba(30, 20, 18, .7) 40%, rgba(30, 20, 18, .9) 100%); }
.wm-hero.wm-formhero .wm-hero-inner { padding: 0 16px 20px; display: flex; flex-direction: column; justify-content: center; }
.wm-hero.wm-formhero .wm-mini-info { margin-top: auto; padding-top: 14px; }
.wm-formhero-top { padding: 0 6px; }
.wm-hero.wm-formhero .wm-eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: none; }
.wm-hero.wm-formhero h1.sm { font-size: clamp(30px, 8.6vw, 44px); margin-top: 6px; }
.wm-hero.wm-formhero .wm-hero-lead { margin-top: 6px; font-size: 14px; line-height: 1.55; }
.wm-mini-perks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wm-mini-perks li { font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--wm-rose-d); padding: 3px 10px; border-radius: 99px; }
.wm-form-card.is-compact { margin-top: 14px; padding: 14px 14px 14px; border-radius: 18px; color: var(--wm-ink); box-shadow: 0 1px 0 var(--wm-line), 0 24px 60px rgba(0, 0, 0, .35); }
.wm-form-card.is-compact .wm-slot { padding: 9px 12px; font-size: 14px; }
.wm-form-card.is-compact .wm-field { margin-bottom: 10px; }
.wm-form-card.is-compact .wm-input { padding: 11px 12px; }
.wm-form-card.is-compact .wm-btn-block { padding: 13px 20px; font-size: 15px; }
/* 報名卡抬頭：標題＋日期時間地點＋步驟數；下方細進度條 */
.wm-form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.wm-form-head b { display: block; font-family: var(--wm-serif); font-size: 19px; font-weight: 700; line-height: 1.2; }
.wm-form-head span { display: block; font-size: 12.5px; color: var(--wm-mute); margin-top: 3px; font-family: var(--wm-num); letter-spacing: .01em; }
.wm-form-head em { font-style: normal; font-family: var(--wm-num); font-size: 22px; font-weight: 700; color: var(--wm-rose); line-height: 1; flex: none; }
.wm-form-head em i { font-style: normal; font-size: 13px; color: var(--wm-mute); font-weight: 600; }
.wm-form-bar { height: 3px; border-radius: 3px; background: var(--wm-line); overflow: hidden; margin: 10px 0 14px; }
.wm-form-bar span { display: block; height: 100%; background: var(--wm-rose); transition: width .35s ease; }
.wm-inline { display: flex; align-items: center; gap: 10px; }
.wm-inline .lbl { margin: 0; flex: none; font-size: 13px; }
.wm-inline .wm-seg { flex: 1; }
.wm-seg-sm button { padding: 8px 6px; font-size: 13px; border-radius: 10px; }
.wm-lbl-note { display: inline; font-weight: 500; color: var(--wm-mute); margin-left: 8px; font-size: 12px; }
.wm-help.wm-center { text-align: center; margin-top: 8px; }
.wm-form-card .wm-summary { margin: 0 0 10px; border: 0; background: none; padding: 0 2px; font-size: 13px; color: var(--wm-mute); }
.wm-form-card .wm-summary b { font-size: 13px; color: var(--wm-ink2); font-weight: 600; }
.wm-form-card .wm-summary em { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.wm-mini-info { margin: 12px auto 0; background: none; border: 0; color: #fff; font-size: 13px; opacity: .85; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
#intro { scroll-margin-top: 0; }

/* ---------- Hero ---------- */
.wm-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.wm-hero-img { position: absolute; inset: 0; z-index: -2; }
.wm-hero-img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(30, 20, 18, .45) 0%, rgba(30, 20, 18, 0) 18%, rgba(30, 20, 18, .35) 42%, rgba(30, 20, 18, .82) 62%, rgba(30, 20, 18, .94) 100%);
}
.wm-hero-inner { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 22px 34px; }
.wm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.wm-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.wm-hero-tag { margin-top: 10px; display: inline-block; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--wm-rose-d); padding: 4px 12px; border-radius: 99px; }
.wm-hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); margin: 12px 0 0; font-family: var(--wm-serif); font-weight: 900; font-size: clamp(42px, 13vw, 76px); line-height: 1.08; letter-spacing: .02em; }
.wm-hero h1 span { display: block; }
.wm-hero h1.sm { font-size: clamp(36px, 10.5vw, 64px); }
.wm-hero h1 span + span { color: #f6d9c8; }
.wm-hero-lead { margin: 16px 0 0; font-size: 17px; line-height: 1.65; font-weight: 500; max-width: 30em; }
.wm-hero-sub { margin: 6px 0 0; font-size: 14px; opacity: .85; }
.wm-hero-facts { margin: 20px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.wm-hero-facts dt { opacity: .7; letter-spacing: .1em; }
.wm-hero-facts dd { margin: 0; font-weight: 500; }
.wm-hero-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.wm-figure { position: relative; }

.wm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .12s, background .2s; }
.wm-btn:active { transform: scale(.97); }
.wm-btn-primary { background: var(--wm-rose); color: #fff; box-shadow: 0 8px 22px rgba(184, 87, 90, .35); }
.wm-btn-primary:hover { background: var(--wm-rose-d); }
.wm-btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.wm-btn-line { background: #06c755; color: #fff; }
.wm-btn-outline { background: transparent; color: var(--wm-ink); border: 1px solid var(--wm-ink); }
.wm-btn-block { width: 100%; }

/* 倒數 */
.wm-count { display: block; margin-top: 16px; font-size: 13.5px; font-weight: 500; opacity: .92; }
.wm-count b { font-family: var(--wm-num); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- 區塊共用 ---------- */
.wm-sec { padding: 64px 20px; }
.wm-sec-in { max-width: 760px; margin: 0 auto; }
.wm-sec.alt { background: var(--wm-paper); }
.wm-sec.blush { background: var(--wm-blush); }
.wm-sec.dark { background: #2b2320; color: #f4ece4; }
.wm-kicker { font-family: var(--wm-latin); font-style: italic; font-size: 18px; color: var(--wm-gold); letter-spacing: .04em; }
.wm-h2 { margin: 4px 0 0; font-family: var(--wm-serif); font-weight: 700; font-size: clamp(26px, 7vw, 36px); line-height: 1.3; letter-spacing: .02em; }
.wm-h2 em { font-style: normal; color: var(--wm-rose); }
.wm-sec.dark .wm-h2 em { color: #f0bfa9; }
.wm-desc { margin: 12px 0 0; color: var(--wm-ink2); font-size: 15px; }
.wm-sec.dark .wm-desc { color: #cbbfb5; }

/* ---------- 數字條 ---------- */
.wm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--wm-line); border: 1px solid var(--wm-line); border-radius: var(--wm-r); overflow: hidden; }
.wm-stat { background: var(--wm-paper); padding: 18px 16px; }
.wm-stat b { display: block; font-family: var(--wm-serif); font-weight: 900; font-size: 34px; line-height: 1.1; color: var(--wm-rose); font-variant-numeric: lining-nums; }
.wm-stat b small { font-size: 15px; font-weight: 700; margin-left: 2px; color: var(--wm-ink); }
.wm-stat span { font-size: 13px; color: var(--wm-ink2); }
@media (min-width: 640px) { .wm-stats { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 亮點 ---------- */
.wm-hl-list { margin: 28px -20px 0; }
@media (min-width: 768px) { .wm-hl-list { margin: 28px 0 0; } }
.wm-hl { height: 100%; background: var(--wm-paper); border-radius: var(--wm-r); overflow: hidden; box-shadow: 0 1px 0 var(--wm-line), 0 10px 30px rgba(80, 50, 40, .06); }
.wm-hl-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wm-gold-l); }
.wm-hl-img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-hl-body { padding: 18px 18px 20px; }
.wm-hl-top { display: flex; align-items: center; gap: 10px; }
.wm-hl-no { font-family: var(--wm-num); font-size: 24px; line-height: 1; color: var(--wm-gold); font-weight: 600; }
.wm-hl-kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--wm-rose); background: var(--wm-blush); padding: 3px 10px; border-radius: 99px; }
.wm-hl h3 { margin: 10px 0 0; font-family: var(--wm-serif); font-size: 22px; line-height: 1.35; }
.wm-hl-value { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--wm-gold); font-size: 14px; }
.wm-hl p { margin: 8px 0 0; color: var(--wm-ink2); font-size: 15px; }
.wm-hl ul { margin: 10px 0 0; padding-left: 0; list-style: none; font-size: 13px; color: var(--wm-mute); }
.wm-hl ul li { padding-left: 14px; position: relative; }
.wm-hl ul li::before { content: '＊'; position: absolute; left: 0; }
.wm-hl ul.ex li::before { content: '・'; }
.wm-hl ul.ex { color: var(--wm-ink2); }
/* 可點放大的圖片（lightbox） */
.wm-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.wm-zoom::after { content: ''; position: absolute; right: 8px; bottom: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .38) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.wm-mosaic .wm-zoom { flex: none; width: auto; scroll-snap-align: start; }
.wm-mosaic .wm-zoom img { scroll-snap-align: none; }

/* ---------- 品牌牆 ---------- */
.wm-chips { display: flex; gap: 8px; overflow-x: auto; margin: 22px -20px 0; padding: 0 20px 4px; scrollbar-width: none; }
.wm-chips::-webkit-scrollbar { display: none; }
.wm-chip { flex: none; border: 1px solid var(--wm-line); background: var(--wm-paper); color: var(--wm-ink2); padding: 7px 14px; border-radius: 99px; font-size: 14px; cursor: pointer; }
.wm-chip.on { background: var(--wm-ink); color: #fff; border-color: var(--wm-ink); }
.wm-chip small { opacity: .6; margin-left: 4px; }
.wm-brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
@media (min-width: 560px) { .wm-brands { grid-template-columns: repeat(3, 1fr); } }
.wm-brand { text-align: left; background: var(--wm-paper); border: 1px solid var(--wm-line); border-radius: 14px; padding: 12px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; position: relative; }
.wm-brand-logo { aspect-ratio: 3 / 2; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wm-brand-logo img { max-height: 78%; max-width: 82%; -o-object-fit: contain; object-fit: contain; }
.wm-brand-logo .txt { font-family: var(--wm-serif); font-weight: 700; font-size: 18px; color: var(--wm-rose); }
.wm-brand b { font-size: 14px; line-height: 1.35; }
.wm-brand span { font-size: 12px; color: var(--wm-mute); line-height: 1.5; }
.wm-brand-cover { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--wm-gold-l); }
.wm-brand-cover > img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-brand-chip { position: absolute; left: 6px; bottom: 6px; width: 40px; height: 40px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); overflow: hidden; }
.wm-brand-chip img { max-width: 86%; max-height: 86%; -o-object-fit: contain; object-fit: contain; }
.wm-lead { font-size: 15px; color: var(--wm-ink); }
.wm-brand-badge { z-index: 1; position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; letter-spacing: .06em; background: var(--wm-gold); color: #fff; padding: 2px 7px; border-radius: 99px; }
.wm-brand-badge.offer { left: auto; right: 8px; background: var(--wm-rose); }
.wm-more-note { margin-top: 14px; font-size: 13px; color: var(--wm-mute); text-align: center; }

/* 品牌詳情 bottom sheet */
.wm-sheet-bg { position: fixed; inset: 0; z-index: 60; background: rgba(20, 14, 12, .55); display: flex; align-items: flex-end; justify-content: center; animation: wmFade .2s; }
.wm-sheet { background: var(--wm-bg); width: 100%; max-width: 640px; max-height: 88svh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 10px 20px 28px; animation: wmUp .25s ease-out; overscroll-behavior: contain; }
.wm-sheet-grab { width: 40px; height: 4px; border-radius: 4px; background: var(--wm-line); margin: 0 auto 12px; }
.wm-sheet-head { display: flex; gap: 12px; align-items: center; }
.wm-sheet-head .wm-brand-logo { width: 72px; flex: none; border: 1px solid var(--wm-line); }
.wm-sheet-head h3 { margin: 0; font-family: var(--wm-serif); font-size: 20px; line-height: 1.3; }
.wm-sheet-head p { margin: 2px 0 0; font-size: 13px; color: var(--wm-mute); }
.wm-sheet-x { margin-left: auto; align-self: flex-start; border: 0; background: var(--wm-line); width: 32px; height: 32px; border-radius: 50%; font-size: 18px; cursor: pointer; flex: none; }
.wm-shots { display: flex; gap: 8px; overflow-x: auto; margin: 16px -20px 0; padding: 0 20px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wm-shots figure { margin: 0; flex: none; width: 78%; scroll-snap-align: start; }
.wm-shots img { width: 100%; aspect-ratio: 4 / 3; -o-object-fit: cover; object-fit: cover; border-radius: 12px; background: var(--wm-gold-l); }
.wm-shots figcaption { font-size: 12px; color: var(--wm-mute); margin-top: 4px; line-height: 1.5; }
.wm-box { margin-top: 16px; background: var(--wm-paper); border: 1px solid var(--wm-line); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.wm-box h4 { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; color: var(--wm-rose); }
.wm-box p { margin: 0; white-space: pre-line; color: var(--wm-ink2); }
.wm-box.gift { background: var(--wm-gold-l); border-color: transparent; }
.wm-box.gift dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; }
.wm-box.gift dt { font-weight: 700; color: var(--wm-gold); font-size: 13px; }
.wm-box.gift dd { margin: 0; color: var(--wm-ink2); }
.wm-intro { white-space: pre-line; font-size: 14px; color: var(--wm-ink2); margin-top: 14px; }
.wm-intro.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.wm-link-btn { background: none; border: 0; color: var(--wm-rose); padding: 4px 0; cursor: pointer; font-size: 14px; font-weight: 500; }

@keyframes wmUp { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes wmFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 現場優惠一覽 ---------- */
.wm-offers { margin: 24px -20px 0; }
@media (min-width: 768px) { .wm-offers { margin: 24px 0 0; } }
.wm-offer-more { display: block; font-style: normal; font-size: 12px; color: var(--wm-rose); margin-top: 4px; font-weight: 700; }
.wm-offer { height: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: start; background: var(--wm-paper); border-radius: 14px; padding: 12px 14px; border: 1px solid var(--wm-line); cursor: pointer; text-align: left; width: 100%; }
.wm-offer .wm-brand-logo { width: 52px; aspect-ratio: 1; border: 1px solid var(--wm-line); }
.wm-offer b { font-size: 14px; display: block; }
.wm-offer span { font-size: 13px; color: var(--wm-ink2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.wm-prizes { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.wm-prize { font-size: 13px; background: var(--wm-gold-l); color: #6e5429; padding: 6px 12px; border-radius: 99px; }

/* ---------- 歷屆 ---------- */
.wm-timeline { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 26px; }
.wm-tl-card { border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 14px; }
.wm-tl-card.now { background: rgba(240, 191, 169, .12); border-color: rgba(240, 191, 169, .45); }
.wm-tl-card b { font-family: var(--wm-num); font-size: 30px; font-weight: 600; line-height: 1; display: block; }
.wm-tl-card span { font-size: 12.5px; color: #cbbfb5; display: block; margin-top: 6px; line-height: 1.55; }
.wm-tl-arrow { font-family: var(--wm-latin); font-size: 26px; color: #f0bfa9; }
.wm-mosaic { display: flex; gap: 10px; overflow-x: auto; margin: 26px -20px 0; padding: 0 20px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.wm-mosaic::-webkit-scrollbar { display: none; }
.wm-mosaic img { flex: none; height: 240px; width: auto; aspect-ratio: 3 / 2; -o-object-fit: cover; object-fit: cover; border-radius: 12px; scroll-snap-align: start; }
.wm-mosaic img.tall { aspect-ratio: 3 / 4; }
.wm-quote { margin: 28px 0 0; padding: 20px 20px 18px; border-left: 3px solid #f0bfa9; background: rgba(255, 255, 255, .05); border-radius: 0 14px 14px 0; }
.wm-quote p { margin: 0; font-family: var(--wm-serif); font-size: 17px; line-height: 1.8; }
.wm-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; color: #cbbfb5; }
.wm-quote cite a { color: #f0bfa9; }
.wm-returning { margin-top: 22px; font-size: 14px; color: #cbbfb5; }
.wm-returning b { color: #f4ece4; }
.wm-returning-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wm-returning-list span { font-size: 13px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: #f4ece4; }
.wm-hint { font-size: 12px; color: #a79a90; margin-top: 8px; }

/* ---------- 一天怎麼逛 ---------- */
.wm-flow { list-style: none; margin: 26px 0 0; padding: 0; position: relative; }
.wm-flow::before { content: ''; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: var(--wm-line); }
.wm-flow li { position: relative; padding: 0 0 20px 52px; }
.wm-flow li i { position: absolute; left: 0; top: 0; width: 35px; height: 35px; border-radius: 50%; background: var(--wm-paper); border: 1px solid var(--wm-gold); color: var(--wm-gold); font-style: normal; font-family: var(--wm-num); font-weight: 600; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.wm-flow b { display: block; font-size: 16px; }
.wm-flow span { font-size: 14px; color: var(--wm-ink2); }
.wm-flow-photo { margin-top: 8px; border-radius: var(--wm-r); overflow: hidden; aspect-ratio: 16 / 10; }
.wm-flow-photo img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }

/* ---------- 場地 ---------- */
.wm-venue { margin-top: 24px; background: var(--wm-paper); border-radius: var(--wm-r); overflow: hidden; border: 1px solid var(--wm-line); }
.wm-venue-img { aspect-ratio: 16 / 9; overflow: hidden; }
.wm-venue-img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-venue dl { margin: 0; padding: 16px 18px; display: grid; grid-template-columns: 64px 1fr; gap: 10px 8px; font-size: 15px; }
.wm-venue dt { color: var(--wm-mute); font-size: 13px; padding-top: 2px; }
.wm-venue dd { margin: 0; font-weight: 500; }
.wm-venue-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 18px 18px; }
.wm-venue-actions .wm-btn { padding: 12px 10px; font-size: 14px; }

/* ---------- FAQ ---------- */
.wm-faq { margin-top: 22px; }
.wm-faq details { border-bottom: 1px solid var(--wm-line); }
.wm-faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; font-size: 15px; position: relative; }
.wm-faq summary::-webkit-details-marker { display: none; }
.wm-faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--wm-gold); font-weight: 400; }
.wm-faq details[open] summary::after { content: '−'; }
.wm-faq p { margin: 0 0 16px; color: var(--wm-ink2); font-size: 14.5px; }

/* ---------- 報名表 ---------- */
.wm-form-card { scroll-margin-top: 12px; margin-top: 24px; background: var(--wm-paper); border-radius: 22px; padding: 22px 18px; box-shadow: 0 1px 0 var(--wm-line), 0 18px 40px rgba(80, 50, 40, .08); }
.wm-form-perks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.wm-form-perks span { font-size: 12.5px; background: var(--wm-blush); color: var(--wm-rose-d); padding: 4px 10px; border-radius: 99px; font-weight: 500; }
.wm-field { margin-bottom: 14px; }
.wm-field label, .wm-field .lbl { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.wm-field label i, .wm-field .lbl i { color: var(--wm-rose); font-style: normal; margin-left: 2px; }
.wm-field small { display: block; font-size: 12px; color: var(--wm-mute); margin-top: 4px; }
.wm-input { width: 100%; border: 1px solid var(--wm-line); background: var(--wm-bg); border-radius: 12px; padding: 13px 14px; font-size: 16px; color: var(--wm-ink); font-family: inherit; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.wm-input-ph { color: var(--wm-mute); opacity: .7; cursor: text; -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.wm-input:focus { outline: 2px solid rgba(184, 87, 90, .35); border-color: var(--wm-rose); background: #fff; }
select.wm-input { background-image: linear-gradient(45deg, transparent 50%, var(--wm-mute) 50%), linear-gradient(135deg, var(--wm-mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.wm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wm-slots { display: grid; gap: 8px; }
.wm-slot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--wm-line); border-radius: 12px; padding: 12px 14px; background: var(--wm-bg); cursor: pointer; font-size: 15px; text-align: left; width: 100%; color: var(--wm-ink); }
.wm-slot b { font-family: var(--wm-num); font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.wm-slot em { font-style: normal; font-size: 12.5px; color: var(--wm-sage); font-weight: 700; }
.wm-slot em.low { color: var(--wm-rose); }
.wm-slot.on { border-color: var(--wm-rose); background: var(--wm-blush); box-shadow: inset 0 0 0 1px var(--wm-rose); }
.wm-slot:disabled { opacity: .45; cursor: not-allowed; }
.wm-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.wm-seg button { flex: 1 1 auto; border: 1px solid var(--wm-line); background: var(--wm-bg); border-radius: 12px; padding: 11px 10px; font-size: 14px; cursor: pointer; color: var(--wm-ink); }
.wm-seg button.on { border-color: var(--wm-rose); background: var(--wm-blush); color: var(--wm-rose-d); font-weight: 700; }
.wm-err { background: #fdecea; color: #a1302b; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.wm-consent { font-size: 12px; color: var(--wm-mute); margin-top: 10px; text-align: center; }
.wm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wm-more-toggle { margin: 4px 0 12px; }

.wm-done { text-align: center; }
.wm-done-code { margin: 14px auto 6px; display: inline-block; font-family: var(--wm-num); font-weight: 700; font-size: 38px; letter-spacing: .18em; padding: 8px 20px 4px 28px; border: 2px dashed var(--wm-gold); border-radius: 16px; color: var(--wm-ink); }
.wm-done h3 { font-family: var(--wm-serif); font-size: 22px; margin: 6px 0 0; }
.wm-done p { margin: 6px 0 0; color: var(--wm-ink2); font-size: 14px; }
.wm-done-actions { display: grid; gap: 10px; margin-top: 18px; }

/* ---------- 底部固定 CTA ---------- */
.wm-dock { box-sizing: border-box; height: var(--wm-dock-h); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 0 14px env(safe-area-inset-bottom); background: rgba(251, 247, 241, .96); box-shadow: 0 -1px 0 var(--wm-line), 0 -8px 24px rgba(60, 40, 30, .08); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 12px; transform: translateY(120%); transition: transform .3s; }
.wm-dock.show { transform: none; }
.wm-dock-info { flex: 1; min-width: 0; line-height: 1.35; }
.wm-dock-info b { display: block; font-size: 14px; }
.wm-dock-info span { font-size: 12px; color: var(--wm-rose); font-weight: 500; }
.wm-dock .wm-btn { padding: 12px 22px; font-size: 15px; flex: none; }

/* ---------- 頁尾 ---------- */
.wm-foot { padding: 40px 20px 30px; text-align: center; font-size: 12.5px; color: var(--wm-mute); background: var(--wm-bg); border-top: 1px solid var(--wm-line); }
.wm-foot img { height: 22px; margin: 0 auto 10px; filter: brightness(0) saturate(100%) invert(38%) sepia(35%) saturate(900%) hue-rotate(310deg); }
.wm-foot p { margin: 4px 0; }
.wm-foot a { color: var(--wm-ink2); }

@media (min-width: 900px) {
  .wm-sec { padding: 88px 24px; }
  .wm-hero-inner { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) { .wm * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- 整屏區塊 scroll snap（#highlights #history #flow #signup） ---------- */
/* CSS scroll-snap（proximity）：只有這四個整屏區塊是吸附點。
   吸附位置＝固定頂欄下緣（scroll-padding-top）；
   區塊高度＝可視高度扣掉頂欄與底部報名列（#signup 出現時報名列會自動收起，只扣頂欄）。 */
html:has(.wm) { scroll-snap-type: y proximity; scroll-padding-top: var(--wm-top-h); }
.wm-snap {
  scroll-snap-align: start;
  min-height: calc(100svh - var(--wm-top-h) - var(--wm-dock-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 14px; padding-bottom: 14px;
}
#signup.wm-snap { min-height: calc(100svh - var(--wm-top-h)); }
/* 表單在前版：首屏（資訊＋表單）與下一屏（原 hero）各自吸附、一次翻一頁（mandatory＋snap-stop）；再往下恢復 proximity 手感 */
html[data-wm-snap="page"] { scroll-snap-type: y mandatory; } /* 只在首屏範圍內 mandatory（FairLanding onScroll 設），翻到第二屏就回 proximity；吸附位置仍扣頂欄高 */
.wm[data-layout="form"] .wm-formhero, .wm[data-layout="form"] .wm-hero#intro { scroll-snap-align: start; scroll-snap-stop: always; }
.wm[data-layout="form"] .wm-hero#intro { min-height: calc(100svh - var(--wm-top-h)); }
.wm-snap > .wm-sec-in { width: 100%; }
@media (min-width: 900px) { .wm-snap { padding-top: 32px; padding-bottom: 32px; } }

/* 整屏時壓縮內容高度，讓一屏放得下 */
.wm-snap .wm-h2 { font-size: clamp(24px, 6.4vw, 34px); }
.wm-snap .wm-desc { margin-top: 8px; font-size: 14px; }
#highlights .wm-hl-list { margin-top: 18px; }
#highlights .wm-hl-img { aspect-ratio: 2 / 1; }
#highlights .wm-hl-body { padding: 14px 16px 16px; }
#highlights .wm-hl h3 { font-size: 20px; margin-top: 6px; }
#highlights .wm-hl p { font-size: 14px; line-height: 1.65; }
#highlights .wm-hl ul { font-size: 12px; margin-top: 6px; }
#highlights .wm-hl p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
#history .wm-timeline { margin-top: 16px; }
#history .wm-tl-card { padding: 10px 12px; }
#history .wm-tl-card b { font-size: 24px; }
#history .wm-mosaic { margin-top: 8px; }
#history .wm-mosaic img { height: 160px; }
#history .wm-hint { margin-top: 14px; }
#history .wm-quote { margin-top: 16px; padding: 14px 16px; }
#history .wm-quote p { font-size: 15px; line-height: 1.7; }
#history .wm-returning { margin-top: 14px; }
#flow .wm-flow { margin-top: 18px; }
#flow .wm-flow li { padding-bottom: 14px; }
#flow .wm-flow-photo { aspect-ratio: 16 / 7; }
#flow .wm-flow b { font-size: 15px; }
#flow .wm-flow span { font-size: 13.5px; }
#signup .wm-form-card { margin-top: 16px; padding: 18px 16px; }

/* ---------- 兩步驟報名 ---------- */
.wm-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--wm-mute); }
.wm-step { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; }
.wm-step i { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 700; background: var(--wm-line); color: var(--wm-ink2); }
.wm-step.on { color: var(--wm-ink); font-weight: 700; }
.wm-step.on i { background: var(--wm-rose); color: #fff; }
.wm-step.done i { background: var(--wm-sage); color: #fff; }
.wm-step-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--wm-line); overflow: hidden; }
.wm-step-bar span { display: block; height: 100%; background: var(--wm-rose); transition: width .35s ease; }
.wm-step-body { animation: wmStepIn .28s ease-out; }
@keyframes wmStepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wm-date-card { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 12px; background: var(--wm-blush); border: 1px solid transparent; }
.wm-date-card b { font-family: var(--wm-num); font-size: 26px; font-weight: 900; color: var(--wm-rose); line-height: 1; }
.wm-date-card span { font-size: 13px; line-height: 1.5; color: var(--wm-ink2); }
.wm-signup .wm-slots, #signup .wm-slots { grid-template-columns: 1fr 1fr; }
#signup .wm-slots { grid-template-columns: repeat(3, 1fr); gap: 6px; }
#signup .wm-slot { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 8px; }
#signup .wm-slot b { font-size: 13.5px; letter-spacing: 0; }
#signup .wm-field { margin-bottom: 12px; }
#signup .wm-date-card { padding: 8px 12px; }
#signup .wm-date-card b { font-size: 22px; }
#signup .wm-input { padding: 11px 12px; }
#signup .wm-slot em { font-size: 12px; }
.wm-slots.is-bad .wm-slot, .wm-input.is-bad { border-color: #d9534f; background: #fff7f6; }
.wm-help { display: block; font-size: 12px; color: var(--wm-mute); line-height: 1.6; }
.wm-mt { margin-top: 14px; }
.wm-mb { margin: 0 0 12px; }
.wm-summary { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border: 1px dashed var(--wm-gold); background: var(--wm-gold-l); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; font-size: 13px; color: var(--wm-ink2); cursor: pointer; }
.wm-summary b { color: var(--wm-ink); font-size: 14px; }
.wm-summary em { font-style: normal; color: var(--wm-rose); font-weight: 700; flex: none; }
.wm-back { display: block; margin: 8px auto 0; }
#signup .wm-seg button { padding: 10px 6px; }

/* ---------- 品牌分類橫滑提示 ---------- */
.wm-chips-wrap { position: relative; margin: 22px -20px 0; }
.wm-chips-wrap .wm-chips { margin: 0; padding-right: 56px; }
.wm-chips-wrap::after { content: ''; position: absolute; right: 0; top: 0; bottom: 4px; width: 64px; pointer-events: none; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--wm-paper) 70%); transition: opacity .25s; }
.wm-chips-wrap.at-end::after { opacity: 0; }
.wm-chips-more { position: absolute; right: 10px; top: 50%; margin-top: -17px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--wm-line); background: #fff; color: var(--wm-rose); font-size: 22px; line-height: 1; padding: 0 0 3px 2px; cursor: pointer; box-shadow: 0 3px 10px rgba(80, 50, 40, .15); transition: opacity .25s; animation: wmNudge 1.4s ease-in-out 3; }
.wm-chips-wrap.at-end .wm-chips-more { opacity: 0; pointer-events: none; }
@keyframes wmNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.wm-chips-swipe { display: block; font-size: 12px; color: var(--wm-mute); margin: 8px 0 0; }
#history .wm-mosaic img { height: 140px; }
#history .wm-desc { font-size: 13.5px; }
#history .wm-returning { font-size: 13px; }
#history .wm-returning-list { margin-top: 6px; gap: 6px; }
#history .wm-returning-list span { font-size: 12px; padding: 3px 10px; }
#history .wm-quote cite { margin-top: 6px; font-size: 12px; }

/* 矮螢幕（iPhone SE／8 等 ≤740px 高）：收掉次要說明，盡量一屏放下 */
@media (max-height: 740px) {
  .wm-snap { padding-top: 10px; padding-bottom: 10px; }
  .wm-snap .wm-kicker, .wm-snap > .wm-sec-in > .wm-desc { display: none; }
  #highlights .wm-hl ul.ex { display: none; }
  #flow .wm-flow-photo { display: none; }
  #history .wm-quote { display: none; }
  #signup .wm-help, #signup .wm-consent { display: none; }
  #signup .wm-date-card { display: none; }
  #signup .wm-field .lbl:first-child:has(+ .wm-date-card) { display: none; }
}

/* ---------- 五大好禮：卡片可點 → 全頁卡片檢視 ---------- */
.wm-hl-click { cursor: pointer; transition: transform .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.wm-hl-click:active { transform: scale(.985); }
.wm-hl-click:focus-visible { outline: 2px solid var(--wm-rose); outline-offset: 2px; }
.wm-hl-more { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--wm-rose); }
.wm-hv { position: fixed; inset: 0; z-index: 120; background: var(--wm-bg); display: flex; flex-direction: column; animation: wmHvIn .22s ease-out; }
@keyframes wmHvIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.wm-hv-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; font-size: 13px; font-weight: 700; color: var(--wm-ink2); letter-spacing: .04em; }
.wm-hv-viewport { flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; -moz-user-select: none; user-select: none; -webkit-user-select: none; }
.wm-hv-track { display: flex; height: 100%; will-change: transform; }
.wm-hv-slide { flex: none; width: 100%; height: 100%; overflow-y: auto; padding: 0 16px 16px; overscroll-behavior: contain; touch-action: pan-y; }
.wm-hv-slide img { -webkit-user-drag: none; pointer-events: none; }
.wm-hl-full { max-width: 560px; margin: 0 auto; }
.wm-hl-full .wm-hl-img { aspect-ratio: 4 / 3; }
.wm-hl-full .wm-hl-body { padding: 20px 20px 24px; }
.wm-hl-full h3 { font-size: 24px; }
.wm-hl-full .wm-hl-value { font-size: 15px; }
.wm-hl-full p { font-size: 15.5px; line-height: 1.8; }
.wm-hl-full ul { font-size: 13.5px; line-height: 1.8; }
.wm-hv-nav { flex: none; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--wm-line); background: rgba(251, 247, 241, .96); }
.wm-hv-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--wm-line); background: #fff; color: var(--wm-rose); font-size: 24px; line-height: 1; padding-bottom: 3px; cursor: pointer; }
.wm-hv-nav button:disabled { opacity: .35; cursor: default; }
.wm-hv-dots { display: flex; gap: 6px; }
.wm-hv-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: #e6c9c6; transition: width .2s; cursor: pointer; }
.wm-hv-dots button.on { width: 20px; background: var(--wm-rose); }
.wm-hv-nav .wm-hv-dots button { width: 6px; height: 6px; border: 0; font-size: 0; }
.wm-hv-nav .wm-hv-dots button.on { width: 20px; }
.wm-hv-hint { position: absolute; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); margin: 0; text-align: center; font-size: 12px; color: var(--wm-mute); pointer-events: none; animation: wmHintOut 3s ease forwards; }
@keyframes wmHintOut { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@media (max-height: 740px) { .wm-hl-full .wm-hl-img { aspect-ratio: 16 / 9; } }

/* ---------- 早鳥免費報名鈕：每 4.5 秒一道光暈掃過 ---------- */
.wm-btn-primary, .wm-top-cta { position: relative; overflow: hidden; isolation: isolate; }
.wm-btn-primary::after, .wm-top-cta::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg); animation: wmShine 4.5s ease-in-out 2s infinite;
}
@keyframes wmShine { 0% { left: -60%; } 22% { left: 130%; } 100% { left: 130%; } }
.wm-btn-primary:disabled::after { animation: none; opacity: 0; }

/* 矮螢幕五大好禮再壓一點（375×667 原本超出 19px） */
@media (max-height: 740px) {
  #highlights .wm-hl-img { aspect-ratio: 2.4 / 1; }
  #highlights .wm-hl p { -webkit-line-clamp: 3; }
  #highlights .wm-hl-more { margin-top: 4px; }
}

/* 品牌卡「現場優惠」：.wm-brand span 的灰字會蓋掉 badge 顏色 → 提高權重，白字粗體＋陰影 */
.wm-brand .wm-brand-badge.offer { left: auto; right: 8px; top: 8px; color: #fff; background: var(--wm-rose); font-size: 11px; font-weight: 700; line-height: 1.5; padding: 2px 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }

/* ---------- IP 入口 /wedmarket、歷屆回顧 /wedmarket/2023 ---------- */
.wm-ip { padding-bottom: 0; }
.wm-hero-short { min-height: 62svh; }
.wm-next { display: block; margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .95); color: var(--wm-ink); text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.wm-next b { display: block; font-family: var(--wm-serif); font-size: 22px; margin: 6px 0 2px; }
.wm-next span { font-size: 13.5px; color: var(--wm-ink2); }
.wm-next .wm-next-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: var(--wm-rose); padding: 3px 10px; border-radius: 99px; }
.wm-why { display: grid; gap: 12px; margin-top: 20px; }
.wm-why div { background: var(--wm-paper); border: 1px solid var(--wm-line); border-radius: 14px; padding: 14px 16px; }
.wm-why b { display: block; font-family: var(--wm-serif); font-size: 17px; color: var(--wm-rose); }
.wm-why span { font-size: 14px; color: var(--wm-ink2); }
@media (min-width: 720px) { .wm-why { grid-template-columns: repeat(3, 1fr); } }
.wm-editions { display: grid; gap: 14px; margin-top: 20px; }
@media (min-width: 720px) { .wm-editions { grid-template-columns: 1fr 1fr; } }
.wm-edition { display: block; border-radius: 18px; overflow: hidden; background: var(--wm-paper); border: 1px solid var(--wm-line); text-decoration: none; color: var(--wm-ink); }
.wm-edition.now { border-color: var(--wm-rose); box-shadow: 0 10px 26px rgba(184, 87, 90, .15); }
.wm-edition-img { aspect-ratio: 16 / 9; overflow: hidden; }
.wm-edition-img img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-edition-body { padding: 14px 16px 16px; }
.wm-edition-body b { display: block; font-family: var(--wm-serif); font-size: 20px; margin-top: 6px; }
.wm-edition-body span { font-size: 13.5px; color: var(--wm-ink2); }
.wm-edition-body em { display: block; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--wm-rose); }
.wm-edition-tag { display: inline-block; font-size: 11.5px !important; font-weight: 700; color: #fff !important; background: var(--wm-rose); padding: 2px 10px; border-radius: 99px; }
.wm-edition-tag.past { background: var(--wm-gold); }
.wm-join { display: grid; gap: 10px; margin-top: 18px; }
.wm-facts { margin: 0; display: grid; grid-template-columns: 52px 1fr; gap: 10px 8px; font-size: 15px; }
.wm-facts dt { color: var(--wm-mute); font-size: 13px; padding-top: 2px; }
.wm-facts dd { margin: 0; font-weight: 500; }
.wm-quote.light { background: var(--wm-blush); border-left-color: var(--wm-rose); }
.wm-quote.light p { color: var(--wm-ink); }
.wm-quote.light cite { color: var(--wm-mute); }
.wm-quote.light cite a { color: var(--wm-rose); }
.wm-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 18px; }
@media (min-width: 720px) { .wm-gallery { grid-template-columns: repeat(4, 1fr); } }
.wm-gallery img { width: 100%; aspect-ratio: 1; -o-object-fit: cover; object-fit: cover; border-radius: 8px; }
.wm-vendors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.wm-vendors span { font-size: 13.5px; padding: 6px 12px; border-radius: 99px; background: var(--wm-paper); border: 1px solid var(--wm-line); }
/* .wm a { color: inherit } 權重較高，會把 hero 的白字傳進白底卡片 → 指定連結卡片自己的字色 */
.wm a.wm-next, .wm a.wm-edition { color: var(--wm-ink); }

/* 早鳥報名截止倒數：純文字（非按鈕樣式），數字到秒 */
.wm-countdown { margin-top: 18px; }
.wm-countdown-label { display: block; font-size: 12px; letter-spacing: .18em; opacity: .8; }
.wm-countdown-num { display: flex; align-items: baseline; gap: 2px; margin-top: 2px; }
.wm-countdown-num b { font-family: var(--wm-num); font-size: 30px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; min-width: 1.2em; text-align: center; }
.wm-countdown-num b.sec { color: #f6d9c8; }
.wm-countdown-num i { font-style: normal; font-size: 13px; opacity: .8; margin: 0 8px 0 3px; }
.wm-countdown-num i:last-child { margin-right: 0; }

.wm-mt-s { margin-top: 8px; }
.wm-venue-pick { animation: wmStepIn .25s ease-out; }
/* 頂欄標題後的活動日期 */
.wm-top-date { margin-left: 6px; font-family: var(--wm-num); font-size: 12px; font-weight: 700; letter-spacing: .02em; opacity: .85; white-space: nowrap; }
.wm-top-brand > span { white-space: nowrap; }
@media (max-width: 370px) { .wm-top-brand img { display: none; } }

/* ── 報名小幫手（SignupAssistant）：往下滑自動彈出的對話式報名 ── */
.wm-ast-launch { position: fixed; right: 12px; bottom: calc(var(--wm-dock-h) + 12px); z-index: 45; display: flex; align-items: center; gap: 4px; padding: 4px 12px 4px 4px; border: 0; border-radius: 999px; background: var(--wm-paper); color: var(--wm-ink); font-weight: 700; font-size: 13px; box-shadow: 0 6px 22px rgba(60, 30, 20, .22); cursor: pointer; animation: wmAstIn .35s ease-out; }
.wm-ast-launch img { width: 46px; height: 46px; -o-object-fit: contain; object-fit: contain; animation: wmAstBob 2.6s ease-in-out infinite; }
.wm-ast { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.wm-ast-scrim { position: absolute; inset: 0; background: rgba(30, 18, 12, .38); }
.wm-ast-panel { position: relative; width: 100%; max-width: 480px; height: min(86svh, 720px); display: flex; flex-direction: column; background: var(--wm-bg); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); animation: wmAstUp .32s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom); }
.wm-ast-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--wm-line); }
.wm-ast-head img { width: 44px; height: 44px; -o-object-fit: contain; object-fit: contain; }
.wm-ast-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.wm-ast-head b { font-size: 15px; }
.wm-ast-head span { font-size: 12px; color: var(--wm-mute); }
.wm-ast-head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--wm-line); color: var(--wm-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.wm-ast-body { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.wm-ast-body > div { display: flex; flex-direction: column; gap: 8px; }
.wm-ast-bot { align-self: flex-start; max-width: 86%; margin: 0; padding: 10px 14px; border-radius: 4px 18px 18px 18px; background: var(--wm-paper); font-size: 15px; line-height: 1.6; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.wm-ast-me { align-self: flex-end; max-width: 80%; margin: 0; padding: 9px 14px; border: 0; border-radius: 18px 4px 18px 18px; background: var(--wm-rose); color: #fff; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
.wm-ast-me small { margin-left: 8px; font-size: 11px; font-weight: 500; opacity: .75; }
.wm-ast-me.static { cursor: default; }
.wm-ast-typing { display: flex; gap: 4px; padding: 14px 16px; }
.wm-ast-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--wm-mute); animation: wmAstDot 1s infinite; }
.wm-ast-typing i:nth-child(2) { animation-delay: .15s; }
.wm-ast-typing i:nth-child(3) { animation-delay: .3s; }
.wm-ast-err { align-self: flex-start; margin: 0; color: var(--wm-rose-d); font-size: 13px; font-weight: 700; }
.wm-ast-foot { padding: 10px 14px 14px; border-top: 1px solid var(--wm-line); background: var(--wm-bg); }
.wm-ast-chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 34svh; overflow-y: auto; }
.wm-ast-chips.grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.wm-ast-chips button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--wm-rose); border-radius: 14px; background: var(--wm-paper); color: var(--wm-rose-d); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.25; cursor: pointer; }
.wm-ast-chips button small { font-size: 11px; font-weight: 600; color: var(--wm-mute); }
.wm-ast-chips button.on { background: var(--wm-blush); }
.wm-ast-chips button:disabled { opacity: .4; cursor: not-allowed; }
.wm-ast-loading { font-size: 13px; color: var(--wm-mute); }
.wm-ast-input { display: flex; gap: 8px; }
.wm-ast-input input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 1.5px solid var(--wm-line); border-radius: 14px; background: var(--wm-paper); font: inherit; font-size: 16px; color: var(--wm-ink); }
.wm-ast-input input:focus { outline: none; border-color: var(--wm-rose); }
.wm-ast-input .wm-btn { padding: 0 20px; height: 48px; }
.wm-ast-done { display: flex; flex-direction: column; gap: 10px; }
.wm-ast-done .wm-btn { margin-top: 4px; }
.wm-ast-print { position: relative; align-self: center; width: 180px; height: 230px; margin-top: 8px; }
.wm-ast-print img { position: absolute; left: 0; bottom: 0; width: 180px; z-index: 2; }
.wm-ast-ticket { position: absolute; left: 50%; top: 0; z-index: 1; width: 130px; margin-left: -58px; padding: 8px 6px 10px; border-radius: 6px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); text-align: center; display: flex; flex-direction: column; animation: wmAstPrint 1.4s .2s cubic-bezier(.3, .7, .2, 1) both; }
.wm-ast-ticket small { font-size: 11px; color: var(--wm-mute); letter-spacing: .1em; }
.wm-ast-ticket b { font-family: var(--wm-num); font-size: 26px; letter-spacing: .12em; color: var(--wm-rose-d); }
.wm-ast-ticket span { font-size: 11px; color: var(--wm-ink); }
@keyframes wmAstPrint { from { transform: translateY(150px) rotate(3deg); } to { transform: translateY(40px) rotate(-3deg); } }
@keyframes wmAstUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes wmAstIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wmAstBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes wmAstDot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wm-ast-launch, .wm-ast-launch img, .wm-ast-panel, .wm-ast-ticket { animation: none; } }

/* ── 2026-10-16 業內建議改版：首屏直接看到「來就有」、字放大、報名列放大 ── */
.wm-hero-sub { font-size: 18px; font-weight: 700; opacity: 1; line-height: 1.5; margin-top: 10px; }
.wm-hero-when { margin: 6px 0 0; font-size: 15px; font-weight: 500; opacity: .9; }
.wm-perks { margin-top: 16px; }
.wm-perks-title { font-size: 14px; font-weight: 900; letter-spacing: .2em; margin-bottom: 6px; }
.wm-perks ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wm-perks li { display: grid; grid-template-columns: auto 1fr; align-items: center; -moz-column-gap: 8px; column-gap: 8px; padding: 9px 10px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--wm-ink); box-shadow: 0 2px 0 rgba(0, 0, 0, .06); }
.wm-perks li .i { font-size: 24px; line-height: 1; grid-row: span 2; }
.wm-perks li .k { font-size: 12.5px; font-weight: 700; color: var(--wm-mute); white-space: nowrap; }
.wm-perks li b { font-size: clamp(15px, 4.5vw, 18px); line-height: 1.3; color: var(--wm-rose-d); white-space: nowrap; }
.wm-perks li b small { font-size: 11px; font-weight: 500; color: var(--wm-mute); }
.wm-perks-lucky { margin: 8px 0 0; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--wm-ink); font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-perks-lucky b { color: var(--wm-rose-d); }
.wm-perks.compact { margin-top: 10px; }
.wm-perks.compact .wm-perks-title { display: none; }
.wm-perks.compact ul { gap: 6px; }
.wm-perks.compact li { padding: 6px 9px; -moz-column-gap: 6px; column-gap: 6px; }
.wm-perks.compact li .i { font-size: 16px; }
.wm-perks.compact li .k { font-size: 12px; margin: 0; }
.wm-perks.compact li b { font-size: clamp(13.5px, 3.9vw, 15px); }
.wm-perks.compact .wm-perks-lucky { margin-top: 6px; padding: 6px 10px; font-size: 13px; }
.wm-dock-info { line-height: 1.4; }
.wm-dock-info b { font-size: 17px; }
.wm-dock-info span { font-size: 15px; font-weight: 700; }
.wm-dock .wm-btn { padding: 15px 26px; font-size: 18px; }

/* 2026-10-16 首屏三句放大：一站搞定／30 家品牌無帶位／來就送好禮 */
.wm-hero-onestop { margin: 4px 0 0; font-size: clamp(26px, 7.6vw, 34px); font-weight: 900; line-height: 1.25; letter-spacing: .02em; }
.wm-hero-sub.big { font-size: clamp(20px, 5.8vw, 26px); font-weight: 900; line-height: 1.35; margin-top: 6px; }
.wm-perks-title { font-size: clamp(24px, 7vw, 30px); letter-spacing: .12em; margin-bottom: 10px; text-align: center; }
.wm-perks.compact .wm-perks-title { display: block; font-size: 20px; margin-bottom: 6px; }

/* 2026-10-16 第三方評審 v1 修正：好禮卡實拍小圖＋價值、不推銷保證列、品牌牆收合、收尾 CTA */
.wm-perks li { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 8px 8px 10px; text-align: left; }
.wm-perks li .ph { width: 100%; aspect-ratio: 16 / 10; -o-object-fit: cover; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.wm-perks li .v { display: block; font-size: 12px; font-weight: 700; color: var(--wm-rose-d); line-height: 1.3; margin-top: 2px; }
.wm-perks.compact li .ph { display: none; }
.wm-promise { list-style: none; padding: 0; margin: 12px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 900; }
.wm-promise b { color: var(--wm-sage); margin-right: 4px; }
.wm-brands-all { display: block; margin: 18px auto 0; width: 100%; max-width: 360px; font-size: 17px; }
.wm-closing { text-align: center; padding: 44px 20px 48px; background: var(--wm-blush); }
.wm-closing h2 { margin: 0; font-family: var(--wm-serif); font-size: clamp(24px, 7vw, 30px); font-weight: 900; line-height: 1.35; }
.wm-closing p { margin: 10px 0 18px; font-size: 15px; font-weight: 700; color: var(--wm-ink2); }
.wm-closing .wm-btn { font-size: 19px; padding: 16px 30px; }
.wm-perks .wm-promise { display: flex; grid-template-columns: none; }
.wm-perks .wm-promise li, .wm-hero-ip .wm-perks .wm-promise li { display: inline-flex; flex-direction: row; align-items: center; padding: 0; background: none; box-shadow: none; border-radius: 0; color: var(--wm-ink); }
/* 評審：報名區上下大片空白 → 不再強制滿版高 */
#signup.wm-snap { min-height: 0; padding-top: 36px; padding-bottom: 36px; }
/* 評審 v2 */
.wm-perks li.tap { cursor: pointer; }
.wm-perks li .more { position: absolute; right: 8px; bottom: 8px; font-size: 12px; font-weight: 700; color: var(--wm-mute); }
.wm-perks li .k { font-size: 13.5px; }
.wm-perks li .v { font-size: 13px; }
.wm-perks-sum { margin: 12px 0 0; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.5; }
.wm-perks-sum b { color: var(--wm-rose-d); font-size: 18px; }
.wm-lucky-card { position: relative; display: block; width: 100%; margin-top: 10px; border: 0; padding: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; cursor: pointer; text-align: left; }
.wm-lucky-card img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-lucky-card span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 18px; color: #fff; background: linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 75%); }
.wm-lucky-card small { font-size: 14px; font-weight: 700; }
.wm-lucky-card b { font-family: var(--wm-serif); font-size: 26px; font-weight: 900; line-height: 1.2; }
.wm-form-promise { margin: 12px 0 0; text-align: center; font-size: 14px; font-weight: 700; color: var(--wm-ink); line-height: 1.7; }
.wm-perks li .more { position: static; margin-top: 4px; align-self: flex-end; }
/* 評審 v3 */
.wm-coupon { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 0; background: linear-gradient(135deg, #c95a6c, #973f45); color: #fff; border: 2px dashed rgba(255, 255, 255, .7); outline: 4px solid #c95a6c; outline-offset: -6px; }
.wm-coupon b { font-family: var(--wm-num); font-size: clamp(22px, 7vw, 28px); font-weight: 900; line-height: 1.1; color: #fff !important; white-space: nowrap; }
.wm-coupon small { font-size: 11px; font-weight: 700; opacity: .95; }
.wm-takehome { list-style: none; padding: 12px 14px; margin: 10px 0 0; background: rgba(255, 255, 255, .9); border-radius: 14px; display: block !important; }
.wm-perks .wm-takehome li { display: block; padding: 3px 0; background: none; box-shadow: none; font-size: 15px; font-weight: 700; color: var(--wm-ink); line-height: 1.5; border-radius: 0; }
.wm-takehome b { color: var(--wm-sage); margin-right: 6px; }
.wm-takehome em { font-style: normal; color: var(--wm-rose-d); }
.wm-real-strip { padding: 22px 16px 6px; }
.wm-real-strip-t { font-size: 14px; font-weight: 900; color: var(--wm-ink2); margin-bottom: 8px; text-align: center; letter-spacing: .08em; }
.wm-real-strip-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; height: 130px; }
.wm-real-strip-row img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; border-radius: 10px; }
.wm-brand-offer { display: block; margin-top: 4px; font-size: 13px !important; font-weight: 700; color: var(--wm-rose-d) !important; line-height: 1.4; }
.wm-chip small { font-size: .8em; opacity: .7; }
.wm-perks ul.wm-takehome { padding: 10px 14px; }
.wm-perks.compact li .wm-coupon { display: none !important; }
/* 評審 v4 */
.wm-hero-real { position: relative; margin: 8px 16px 0; height: 168px; border-radius: 16px; overflow: hidden; }
.wm-hero-real img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; -o-object-position: 50% 35%; object-position: 50% 35%; }
.wm-hero-real span { position: absolute; left: 10px; bottom: 8px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 8px; border-radius: 99px; }
.wm-hero-actions.ip { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 16px; }
.wm-hero-actions.ip .wm-btn-primary { font-size: 20px; padding: 16px; width: 100%; }
.wm-hero-link { text-align: center; font-size: 15px; font-weight: 700; color: var(--wm-ink2) !important; text-decoration: underline; text-underline-offset: 3px; }
.wm-urgent { margin: 12px 0 4px; text-align: center; background: #fff1c9; border: 1px solid #f0c95c; color: #6b4a00; border-radius: 12px; padding: 8px 10px; font-size: 14.5px; font-weight: 900; line-height: 1.5; }
.wm-coupon b { font-size: clamp(26px, 8.4vw, 32px); }
.wm-brand > span:not(.wm-brand-offer):not(.wm-brand-badge) { display: none; }
@media (min-width: 760px) { .wm-brand > span:not(.wm-brand-offer):not(.wm-brand-badge) { display: block; } }
/* 評審 v5 */
.wm-gift-row-t { margin: 16px 0 8px; text-align: center; font-family: var(--wm-serif); font-weight: 900; font-size: clamp(24px, 7vw, 30px); letter-spacing: .12em; color: var(--wm-rose-d); }
.wm-gift-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wm-gift-row li { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; }
.wm-gift-row img, .wm-gift-row .c { width: 74px; height: 74px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .15); margin-bottom: 6px; }
.wm-gift-row .c.coupon { display: grid; place-items: center; background: linear-gradient(135deg, #c95a6c, #973f45); color: #fff; font-family: var(--wm-num); font-weight: 900; font-size: 16px; letter-spacing: -.02em; }
.wm-gift-row .c.coupon i { font-style: normal; font-size: 14px; }
.wm-gift-row b { font-size: 14px; font-weight: 900; white-space: nowrap; color: var(--wm-ink); }
.wm-gift-row small { font-size: 13px; font-weight: 700; color: var(--wm-rose-d); white-space: nowrap; }
.wm-perks-cond { display: block; margin: 0 auto 8px; border: 0; background: none; font-size: 15px; font-weight: 700; color: var(--wm-rose-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wm-perks li .tag { position: absolute; top: 12px; right: 12px; background: var(--wm-rose); color: #fff; font-size: 15px; font-weight: 900; padding: 2px 8px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.wm-perks .wm-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.wm-perks .wm-promise li, .wm-hero-ip .wm-perks .wm-promise li { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 12px; padding: 10px 4px; font-size: 15px; font-weight: 900; line-height: 1.35; box-shadow: 0 2px 0 rgba(0, 0, 0, .05); }
.wm-promise i { font-style: normal; font-size: 26px; margin-bottom: 4px; }
.wm-hero-real { margin: 14px 0 0; }
.wm-ipkv { width: min(50%, 300px) !important; }
.wm input::-moz-placeholder { color: #c4b8b0; }
.wm input::placeholder { color: #c4b8b0; }
.wm-gift-row .c.coupon { display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 15px; letter-spacing: -.04em; }
/* 評審 v6（A） */
.wm-perks ul.wm-takehome { display: flex !important; flex-direction: column; gap: 8px; background: none; padding: 0; }
.wm-perks .wm-takehome li { display: flex; flex-direction: row; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 8px 12px; }
.wm-takehome img { width: 54px; height: 54px; border-radius: 50%; -o-object-fit: cover; object-fit: cover; flex: none; }
.wm-takehome span { display: flex; flex-direction: column; }
.wm-takehome span b { color: var(--wm-rose-d); font-size: 17px; font-weight: 900; margin: 0; }
.wm-takehome span small { font-size: 14px; color: var(--wm-ink2); font-weight: 500; }
.wm-promise { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 14px !important; }
.wm-promise li { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 12px; padding: 10px 4px; font-size: 15px; font-weight: 900; line-height: 1.35; }
.wm-promise i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--wm-sage); color: #fff; font-size: 16px; margin-bottom: 6px; }
.wm-chips { flex-wrap: wrap; overflow: visible; }
.wm-chips-more { display: none !important; }
.wm-chips-wrap::after { display: none !important; }
.wm-ipkv { width: min(42%, 260px) !important; }
.wm-hero-ip .wm-hero-when { font-size: 17px; }
.wm-chips { gap: 6px !important; } .wm-chips .wm-chip { font-size: 14px; padding: 6px 12px; }
/* 評審 v7（A） */
.wm-hero-top-photo { position: relative; height: 210px; overflow: hidden; margin-top: var(--wm-top-h); }
.wm-hero-top-photo img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; -o-object-position: 50% 35%; object-position: 50% 35%; }
.wm-hero-top-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--wm-bg) 0%, rgba(255,255,255,0) 45%); }
.wm-hero-top-photo span { position: absolute; z-index: 1; top: 10px; right: 10px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 8px; border-radius: 99px; }
.wm-hero-ip .wm-ipkv { position: relative; z-index: 2; margin-top: -78px !important; width: min(56%, 320px) !important; filter: drop-shadow(0 4px 10px rgba(255, 248, 238, .9)); }
.wm-gift-row b { font-size: 14.5px; }
.wm-gift-row small { font-size: 14px; }
.wm-gift-note { margin: 6px 0 0; text-align: center; font-size: 13px; color: var(--wm-ink2); }
.wm-takehome .cp { width: 54px; height: 54px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; white-space: nowrap; background: linear-gradient(135deg, #c95a6c, #973f45); color: #fff; font-family: var(--wm-num); font-weight: 900; font-size: 12px; letter-spacing: -.04em; }
.wm-takehome .cp i { font-style: normal; }
.wm-chips { flex-wrap: nowrap; overflow-x: auto; }
.wm-hero-top-photo { margin-top: 0; }
/* 評審 v8（A） */
.wm-date-pill { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; background: var(--wm-ink); color: #fff; border-radius: 14px; padding: 8px 14px; }
.wm-date-pill b { font-family: var(--wm-num); font-size: 40px; font-weight: 900; line-height: 1; }
.wm-date-pill span { font-size: 15px; font-weight: 700; line-height: 1.4; }
.wm-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.wm-cats figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.wm-cats figure.big { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.wm-cats img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wm-cats figcaption { position: absolute; inset: auto 0 0; padding: 26px 10px 10px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0)); display: flex; flex-direction: column; }
.wm-cats b { font-size: 19px; font-weight: 900; }
.wm-cats span { font-size: 14px; }
.wm-pains { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.wm-pains li { background: #fff; border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; }
.wm-pains s { color: var(--wm-mute); font-size: 14px; }
.wm-pains b { font-size: 17px; font-weight: 900; color: var(--wm-rose-d); }
.wm-pains b::before { content: '→ '; color: var(--wm-sage); }
.wm-desc { font-size: 15px; color: #4d433e; }
/* 評審 v9（A） */
.wm-hero-top-photo { height: 150px; }
.wm-hero-ip .wm-ipkv { margin-top: -64px !important; width: min(50%, 290px) !important; }
.wm-gift-row-t { font-size: 20px; margin: 12px 0 6px; }
.wm-urgent { margin: 12px 0 0; }
.wm-hero-actions.ip { margin-top: 10px; }
.wm-hero-promise { margin: 8px 0 0; text-align: center; font-size: 15px; font-weight: 900; color: var(--wm-sage); }
.wm-value-banner { margin: 18px 0 0; text-align: center; background: linear-gradient(135deg, #c95a6c, #973f45); color: #fff; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; }
.wm-value-banner b { font-family: var(--wm-num); font-size: 38px; font-weight: 900; line-height: 1.1; }
.wm-value-banner small { font-size: 15px; font-weight: 700; }
.wm-pains s { font-size: 15px; }
.wm-pains b { font-size: 18px; }
/* 評審 v10（A） */
.wm-gift-row .c.coupon { background: #fff; color: var(--wm-rose-d); border: 3px dashed var(--wm-rose); box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.wm-gift-sum-line { margin: 10px 0 0; text-align: center; font-size: 17px; font-weight: 900; }
.wm-gift-sum-line b { color: var(--wm-rose-d); font-size: 22px; }
.wm-gift-row small { font-size: 14.5px; }
.wm-pains { margin: 14px 0 16px; }
/* 評審 v11（A） */
.wm-brands-cta { display: block; margin: 12px auto 0; width: 100%; max-width: 360px; font-size: 18px; }
.wm-brand-cat { position: absolute; top: 18px; left: 18px; z-index: 2; font-size: 11px !important; font-weight: 700; color: #fff !important; background: rgba(0,0,0,.5); padding: 1px 7px; border-radius: 99px; line-height: 1.6 !important; }
.wm-brand > span.wm-brand-cat { display: inline-block !important; }
.wm-pains s { color: #6e5f5a; font-size: 15px; }
.wm-cats span { font-size: 15px; }
.wm-cats figcaption { background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0)); }
.wm-cat-by { position: absolute; top: 8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff !important; background: rgba(0,0,0,.45); padding: 1px 8px; border-radius: 99px; }
.wm-gift-row li { min-width: 0; } .wm-gift-row small { white-space: normal; line-height: 1.3; font-size: 13px; }

/* 2026-10-16 小燈箱名額倒數 */
.wm-lbleft{margin:8px 0 2px;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.18);backdrop-filter:blur(4px);color:#fff;font-size:13px;line-height:1.4;display:inline-block}
.wm-lbleft b{font-weight:800;color:#ffd166}
.wm-slot small.wm-slot-lb{display:block;font-size:11px;color:#8b7b6e;margin-top:2px}
.wm-slot small.wm-slot-lb.low{color:#b8456f;font-weight:700}
.wm-done.is-leadform h3{margin:6px 0 4px;font-size:18px}

/* 2026-10-16 表單在前首屏要塞進 FB／IG 內建瀏覽器的視窗（約 660–720px）：短視窗收掉誘因卡與導言，只留日期、標題、小燈箱倒數、表單 */
@media (max-height: 860px) {
  .wm-hero.wm-formhero .wm-perks { display: none; }
  .wm-hero.wm-formhero .wm-hero-lead { display: none; }
  .wm-hero.wm-formhero h1.sm { font-size: clamp(26px, 7.4vw, 36px); margin-top: 2px; }
  .wm-hero.wm-formhero { padding-top: 56px; }
  .wm-hero.wm-formhero .wm-hero-inner { padding-bottom: 10px; }
  .wm-hero.wm-formhero .wm-mini-info { padding-top: 8px; }
  .wm-lbleft { margin: 4px 0 0; font-size: 12px; padding: 5px 10px; }
}
@media (max-height: 700px) {
  .wm-hero.wm-formhero .wm-eyebrow { display: none; }
  .wm-hero.wm-formhero h1.sm { font-size: clamp(22px, 6.4vw, 30px); }
}
html[data-wm-snap="off"]:has(.wm) { scroll-snap-type: none; }
html[data-wm-snap="off"] .wm[data-layout="form"] .wm-formhero, html[data-wm-snap="off"] .wm[data-layout="form"] .wm-hero#intro, html[data-wm-snap="off"] .wm-snap { scroll-snap-align: none; scroll-snap-stop: normal; }

/* 2026-10-16 一般 hero（非 IP、非表單在前）：照片上文字加深底紋＋字下方半透明墊，避免被照片干擾 */
.wm-hero:not(.wm-formhero):not(.wm-hero-ip)::before {
  background: linear-gradient(180deg, rgba(30, 20, 18, .5) 0%, rgba(30, 20, 18, .25) 16%, rgba(30, 20, 18, .55) 36%, rgba(30, 20, 18, .9) 58%, rgba(30, 20, 18, .96) 100%);
}
.wm-hero:not(.wm-formhero):not(.wm-hero-ip) h1 { text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 6px 28px rgba(0, 0, 0, .45); }
.wm-hero:not(.wm-formhero):not(.wm-hero-ip) .wm-hero-lead,
.wm-hero:not(.wm-formhero):not(.wm-hero-ip) .wm-hero-sub { display: inline-block; background: rgba(20, 14, 10, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 12px; border-radius: 12px; text-shadow: none; max-width: 100%; }
.wm-hero:not(.wm-formhero):not(.wm-hero-ip) .wm-hero-lead { font-size: 16px; line-height: 1.5; }
.wm-hero:not(.wm-formhero):not(.wm-hero-ip) .wm-hero-sub { font-size: 14px; font-weight: 700; margin-top: 8px; display: block; width: -moz-fit-content; width: fit-content; }
.wm-hero:not(.wm-formhero):not(.wm-hero-ip) .wm-hero-when { text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }

/* 2026-10-16 報名區塊不吸附：表單第 2 步比視窗高時，proximity 會把小幅捲動吸回區塊頂端，送出鈕滑不到（一般版 discover／perks2／discover2 皆受影響） */
#signup.wm-snap { scroll-snap-align: none; scroll-snap-stop: normal; }
/* 2026-10-31 報名完成頁：邀朋友 */
.wm-invite { margin-top: 18px; padding: 16px; border-radius: 14px; background: #fff6ef; border: 1px dashed #e3b9c6; text-align: center; }
.wm-invite b { font-size: 16px; }
.wm-invite p { margin: 6px 0 12px; font-size: 14px; color: #5a4a40; }
.wm-invite .wm-btn + .wm-btn { margin-top: 8px; }

/*!*****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./components/fairs/wedmarket/wedmarket-ip.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * 婚禮小物市集 IP 視覺（2026-10-07 設計師新 KV「備婚就來」）—— 疊在 wedmarket.css 之後載入。
 * 牛皮紙米底、巧克力棕字、薄荷綠緞帶、粉紅布條、圓體標題（Huninn＝jf open 粉圓）。
 * 要退回舊版（酒紅＋襯線）：拿掉 FairLanding / IpPages 的 import './wedmarket-ip.css' 即可。
 * 顏色取自 KV 原檔；按鈕粉紅比 KV 布條（#e3729b）深一階，白字才有 4.5:1 對比。
 */
:root {
  --wm-bg: #f3ebde;
  --wm-paper: #fffaf3;
  --wm-ink: #4a3020;
  --wm-ink2: #6b4f3c;
  --wm-mute: #94796a;
  --wm-line: #e6d7c0;
  --wm-rose: #c24e7a;
  --wm-rose-d: #9c3862;
  --wm-blush: #f8e1e8;
  --wm-gold: #1f7d64;
  --wm-gold-l: #dcefe7;
  --wm-sage: #3fae90;
  --wm-choco: #69442a;
  --wm-kraft: #ede4d4;
  --wm-serif: 'Huninn', 'Noto Sans TC', sans-serif;
  --wm-latin: 'Huninn', 'Noto Sans TC', sans-serif;
  --wm-num: 'Huninn', 'Noto Sans TC', sans-serif;
  --wm-r: 22px;
}
/* Huninn 只有一個字重：不要讓瀏覽器假粗體 */
.wm { font-synthesis: none; }
body:has(.wm) {
  background-color: var(--wm-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .18 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
.wm-kicker { font-style: normal; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--wm-gold); }
.wm-h2 { font-weight: 400; letter-spacing: .01em; color: var(--wm-choco); }
.wm-h2 em { color: var(--wm-rose); }
.wm-top.is-solid { background: rgba(243, 235, 222, .96); }
.wm-top-brand span { font-family: var(--wm-serif); font-weight: 400; }
.wm-dock { background: rgba(243, 235, 222, .96); }
.wm-btn-primary { box-shadow: 0 4px 0 rgba(105, 68, 42, .18); }
.wm-sec.dark { background: var(--wm-choco); color: #fbf3e6; }
.wm-sec.dark .wm-h2 { color: #fbf3e6; }
.wm-sec.dark .wm-h2 em { color: #f6bfd3; }
.wm-sec.dark .wm-desc { color: #e8d6c3; }
.wm-sec.dark .wm-kicker { color: #9ad9c3; }
.wm-hero h1 { font-weight: 400; }
.wm-hero h1 span + span { color: #f8c9d8; }
.wm-stat b { font-weight: 400; }

/* ── IP 首屏：KV 標準字＋吉祥物＋市集插畫 ── */
.wm-hero.wm-hero-ip { display: block; min-height: 100svh; padding-top: var(--wm-top-h); color: var(--wm-ink); background: transparent; }
.wm-hero.wm-hero-ip::before { display: none; }
.wm-ipkv { position: relative; width: min(92%, 520px); margin: 10px auto 0; }
.wm-ipkv h1 { margin: 0; }
.wm-ipkv h1 img { width: 100%; height: auto; }
.wm-ip-say { display: flex; align-items: flex-end; gap: 6px; width: min(92%, 520px); margin: 4px auto 0; }
.wm-ip-say img { width: 96px; flex: none; animation: wmAstBob 3s ease-in-out infinite; }
.wm-ip-say p { position: relative; margin: 0 0 18px; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--wm-paper); font-family: var(--wm-serif); font-size: 17px; line-height: 1.5; color: var(--wm-choco); box-shadow: 0 2px 0 rgba(105, 68, 42, .12); }
.wm-hero-ip .wm-hero-inner { padding: 6px 22px 0; }
.wm-hero-ip .wm-hero-sub { opacity: 1; color: var(--wm-ink2); font-size: 15px; margin-top: 0; }
.wm-hero-ip .wm-hero-facts { margin-top: 12px; }
.wm-hero-ip .wm-hero-facts dt { color: var(--wm-mute); }
.wm-hero-ip .wm-btn-ghost { background: var(--wm-paper); color: var(--wm-choco); border: 1.5px solid var(--wm-line); }
.wm-hero-ip .wm-countdown, .wm-hero-ip .wm-count { color: var(--wm-ink2); }
.wm-ipkv-stalls { height: 200px; margin-top: 18px; background: url('https://storage.googleapis.com/linein-event-bucket/website/fairs/wedmarket/ip/stalls.jpg') center 38% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%); mask-image: linear-gradient(180deg, transparent 0, #000 28%); }
.wm-foot img.wm-foot-mascot { width: 84px; height: auto; margin: 0 auto 6px; filter: none; opacity: 1; }
/* 2026-10-16：首屏副標放大（業內建議「字太小」） */
.wm-hero-ip .wm-hero-sub { font-size: 19px; font-weight: 700; color: var(--wm-ink); line-height: 1.5; }
.wm-hero-ip .wm-hero-when { color: var(--wm-ink2); }
.wm-hero-ip .wm-perks-title { color: var(--wm-gold); }
.wm-hero-ip .wm-perks li, .wm-hero-ip .wm-perks-lucky { background: var(--wm-paper); box-shadow: 0 2px 0 rgba(105, 68, 42, .1); }
.wm-hero-ip .wm-hero-onestop { color: var(--wm-rose, #b8575a); }
.wm-hero-ip .wm-hero-sub.big { font-size: clamp(20px, 5.8vw, 26px); font-weight: 900; color: var(--wm-ink); }
/* 評審 v2：插畫標題縮小，好禮早點進首屏 */
.wm-ipkv { width: min(62%, 360px); }
.wm-hero-ip .wm-hero-when { font-size: 15px; font-weight: 700; color: var(--wm-ink); }

