/* 官網商圈版樣式：沿用食客端 Warm Stone 色票（暖奶白底、白卡、鏽紅主色、膠囊按鈕、票券優惠、評語明信片列）；全站用系統黑體、字級放大、版面只留主線。首頁、商圈頁、店家專區、活動招募與角色下載頁共用。 */
:root {
  --bg: #f7f4ec;
  --surface: #efebde;
  --card: #ffffff;
  --card-soft: #fffbf5;
  --card-alt: #faf7ee;
  --ink: #1c1917;
  --ink-body: #2b2622;
  --ink-mute: #5e5852;
  --ink-fade: #8c857c;
  --rust: #b85c38;
  --rust-deep: #8f4322;
  --rust-pale: #f0dcd0;
  --success: #2f7d50;
  --sage-bg: #dce9e1;
  --sand-pale: #e8dfc8;
  --border: #ece5d6;
  --border-med: #ddd3c1;
  --stone-pale: #ddd3c1;
  --shadow-card: 0 2px 12px rgba(28, 25, 23, 0.05);
  --shadow-elev: 0 6px 20px rgba(28, 25, 23, 0.08);
  --shadow-cta: 0 4px 12px rgba(143, 67, 34, 0.18);
  --font-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
  --font-serif: var(--font-sans);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
}
html {
  font-size: 112.5%;
  scroll-padding-top: 1rem;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-180%);
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.skip-link:focus {
  transform: translateY(0);
}
.shell {
  width: min(100%, 64rem);
  margin-inline: auto;
  padding-inline: 1rem;
}
.h-page {
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  line-height: 1.25;
}
.label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rust-deep);
}
.sub {
  font-size: 1.05rem;
  color: var(--ink-mute);
  margin-top: 0.5rem;
}
.caption {
  font-size: 0.95rem;
  color: var(--ink-mute);
}

/* 膠囊按鈕 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 3rem;
  padding: 0.7em 1.5em;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rust);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--rust-deep);
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border-med);
}
.btn-secondary:hover {
  background: var(--card-alt);
}


/* 頁首 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}
.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 2.4rem;
  height: 2.4rem;
  object-fit: contain;
}
.brand b {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.site-nav a[aria-current='page'] {
  color: var(--ink);
  background: var(--surface);
}
.site-nav .btn {
  margin-left: 0.4rem;
  min-height: 2.5rem;
  padding: 0.5em 1.1em;
  font-size: 0.95rem;
  background: transparent;
  box-shadow: none;
}
@media (max-width: 720px) {
  .site-nav a.hide-m {
    display: none;
  }
  .site-nav a {
    padding: 0.5rem 0.6rem;
  }
}

main {
  padding-block: 0.5rem 3rem;
}

/* 刊頭 */
.hero {
  padding: 1.5rem 0 0.5rem;
}
.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 0.6rem 0.6rem 1.1rem;
  box-shadow: var(--shadow-card);
  color: var(--ink-fade);
  margin-top: 1rem;
  max-width: 34rem;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 0.2rem 0;
}
.search input::placeholder {
  color: var(--ink-fade);
}
.search input:focus {
  outline: none;
}
.search button {
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.45em 1em;
}

/* 分區標題 */
.sec {
  margin-top: 2rem;
}
.sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.sec-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
}
.sec-title::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--rust);
  flex: 0 0 auto;
}
.sec-title small {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink-fade);
  margin-left: 0.25rem;
}
.sec-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rust-deep);
  text-decoration: none;
}

/* 商圈卡 */
.districts {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 820px) {
  .districts {
    grid-template-columns: 1fr;
  }
}
.dcard {
  display: grid;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.dcard:hover {
  box-shadow: var(--shadow-elev);
}
.dcard-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 0.5rem 0.5rem 0;
}
.dcard-photos img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
  width: 100%;
  background: var(--sand-pale);
}
.dcard-body {
  padding: 1rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.dcard h2 {
  font-size: 1.6rem;
}
.dcard-meta {
  font-size: 1rem;
  color: var(--ink-mute);
}
.dcard-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 1rem;
  color: var(--ink-mute);
}
.dcard-stats b {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}
.dcard-stats-empty {
  font-size: 0.95rem;
}
.dcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rust-deep);
}
.dside {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.dcard-soon {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.9rem 1.1rem;
  gap: 0.75rem;
}
.dcard-soon .dcard-body {
  padding: 0;
  gap: 0.2rem;
}
.dcard-soon h2 {
  font-size: 1.25rem;
}
.dcard-arrow {
  color: var(--ink-fade);
  font-size: 1.4rem;
}

/* 票券 */
.rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.1rem 1rem 0.6rem;
  margin-inline: -1rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar {
  display: none;
}
.ticket {
  scroll-snap-align: start;
  flex: 0 0 18rem;
  background: var(--card-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: grid;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.ticket::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  pointer-events: none;
}
.ticket-photo {
  margin: 0.5rem 0.5rem 0;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--surface);
  aspect-ratio: 2.3 / 1;
  display: block;
}
.ticket-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ticket-img-empty {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8dcd6, #faefd2);
}
.ticket-end {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(28, 25, 23, 0.62);
  color: #fffbf5;
  font-size: 0.75rem;
  line-height: 1.2;
  padding: 0.3em 0.5em;
  border-radius: 8px;
}
.ticket-body {
  padding: 0.8rem 1rem 0.5rem;
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}
.ticket-store {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-body);
  white-space: normal;
}
.ticket-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket-perf {
  position: relative;
  height: 1.1rem;
  display: flex;
  align-items: center;
  margin: 0 -0.55rem;
}
.ticket-perf::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 50%;
  border-top: 1px dashed var(--border-med);
}
.ticket-perf i {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  position: absolute;
  top: 0;
}
.ticket-perf i:first-child {
  left: 0;
}
.ticket-perf i:last-child {
  right: 0;
}
.ticket-stub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 1rem 0.9rem;
  min-height: 3rem;
}
.ticket-cond {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-mute);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}
.ticket-go {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rust-deep);
  white-space: nowrap;
}
.ticket-fallback .ticket-body {
  padding: 1.2rem 1rem;
}
.ticket-fallback .ticket-store {
  white-space: normal;
}

/* 首頁餐飲店家招募：明確標示合作對象與跨地區申請入口。 */
.merchant {
  margin-top: 2rem;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-top: 4px solid var(--rust);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
}
.merchant-copy {
  flex: 1 1 24rem;
  min-width: 0;
}
.merchant h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  max-width: 17em;
}
.merchant h2 span {
  display: inline-block;
}
.merchant p {
  color: var(--ink-mute);
  margin-top: 0.65rem;
  max-width: 32em;
}
.merchant .merchant-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust-deep);
}
.merchant .merchant-scope {
  color: var(--ink-body);
  font-weight: 700;
}
.merchant > .btn {
  flex-shrink: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
@media (max-width: 600px) {
  .merchant > .btn {
    width: 100%;
  }
}

/* 商圈頁 */
.dhead {
  padding: 1.25rem 0 0.25rem;
}
.dhead h1 {
  margin-top: 0;
}
.area-hint {
  font-weight: 600;
}
.area-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 28rem;
  margin-top: 1.25rem;
  padding-block: 0.25rem;
}
.area-stats > span {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.area-stats b {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1.1;
}
.area-stats > span:nth-child(2) b {
  color: var(--rust-deep);
}
.area-stats small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-mute);
  white-space: nowrap;
}
.filters {
  position: sticky;
  top: 4rem;
  z-index: 20;
  background: rgba(247, 244, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  margin-top: 0.75rem;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}
.filters .shell {
  display: grid;
  gap: 0.5rem;
}
.chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.1rem 0;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chips:empty {
  display: none;
}
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 2.5rem;
  padding: 0.4em 1em;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-body);
  white-space: nowrap;
}
.chip small {
  font-size: 0.8rem;
  color: var(--ink-fade);
  font-weight: 600;
}
.chip[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip[aria-pressed='true'] small {
  color: rgba(255, 255, 255, 0.75);
}
.chip-cat[aria-pressed='true'] {
  background: var(--rust-pale);
  color: var(--rust-deep);
  border-color: var(--rust);
}
.chip-cat[aria-pressed='true'] small {
  color: var(--rust-deep);
}
[data-store-list] {
  padding-top: 1rem;
}
.group {
  margin-bottom: 1.5rem;
}
.group[hidden] {
  display: none;
}
.group .sec-title {
  margin-bottom: 0.6rem;
}
.list {
  display: grid;
  gap: 0.6rem;
}
.store {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.store:hover {
  box-shadow: var(--shadow-elev);
}
.store[hidden] {
  display: none;
}
.store-photo {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--sand-pale);
}
.store-photo-empty {
  display: block;
  background: linear-gradient(135deg, #f8dcd6, #faefd2);
}
.store-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}
.store-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.store-entry-link { color: inherit; text-decoration: none; }
.store-entry-link::after { content: ""; position: absolute; inset: 0; }
.store-address { display: block; color: var(--ink-body); line-height: 1.45; overflow-wrap: anywhere; }
.store-map-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-inline-start: 0.25rem;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--surface);
  color: var(--rust-deep);
  text-decoration: none;
}
.store-map-link svg { width: 1.1rem; height: 1.1rem; }
.store-map-link:hover { background: var(--sand-pale); }
.store-map-link:focus-visible { outline: 2px solid var(--rust-deep); outline-offset: 2px; }
.store-meta {
  font-size: 0.95rem;
  color: var(--ink-mute);
  overflow-wrap: anywhere;
}
.store-spend {
  color: var(--ink-mute);
  overflow-wrap: anywhere;
}
.store-deal {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  min-width: 0;
  font-size: 0.95rem;
  color: var(--ink-body);
  white-space: normal;
}
.store-deal b {
  flex: 0 0 auto;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2em 0.6em;
  border-radius: 999px;
}
.store-deal small {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: var(--ink-fade);
}
.empty {
  padding: 1.75rem;
  border: 1px dashed var(--border-med);
  border-radius: var(--r-lg);
  color: var(--ink-mute);
  text-align: center;
  background: var(--card-alt);
}
.empty[hidden] {
  display: none;
}
.empty a {
  color: var(--rust-deep);
  font-weight: 700;
}
.app-card {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 1.25rem;
  display: grid;
  gap: 0.6rem;
}
.app-card p {
  color: var(--ink-mute);
}
.faq {
  margin-top: 2rem;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.faq details p {
  margin-top: 0.6rem;
  color: var(--ink-mute);
}
.faq a {
  color: var(--rust-deep);
}


/* 評語與合作店家共用拍立得相框；評語另外保留便條與等級貼紙。 */
.partner-section,
#home-stores-title {
  scroll-margin-top: var(--site-header-height, 4rem);
}
.rail-stores {
  align-items: flex-start;
  padding-block: 1rem;
}
.rail-stores .pola-photo {
  display: block;
}
.partner-store-name {
  overflow-wrap: anywhere;
}
.rail-reviews {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
[data-auto-rail] {
  cursor: grab;
  scroll-snap-type: none;
}
[data-auto-rail].dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
[data-auto-rail]:focus-visible {
  outline-offset: -3px;
}
.pola {
  flex: 0 0 13.5rem;
  display: block;
  margin: 0;
  padding: 0.6rem 0.6rem 0.5rem 0.25rem;
  user-select: none;
  -webkit-user-drag: none;
  text-decoration: none;
  color: inherit;
}
.pola-frame {
  position: relative;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 6px 6px 14px;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.08);
}
.pola-l .pola-frame {
  transform: rotate(-1.2deg);
}
.pola-r .pola-frame {
  transform: rotate(1.1deg);
}
.pola-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  pointer-events: none;
  object-fit: cover;
  border-radius: 4px;
  background: var(--sand-pale);
}
.pola-dish {
  display: block;
  margin-top: 6px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  color: var(--ink);
}
.pola-sticker {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sticker-fg);
  background: #fff;
  transform: rotate(10deg);
  clip-path: polygon(
    50% 0,
    59% 13%,
    73% 5%,
    77% 20%,
    94% 16%,
    91% 34%,
    100% 43%,
    88% 53%,
    96% 69%,
    80% 71%,
    81% 88%,
    62% 85%,
    53% 100%,
    43% 87%,
    26% 96%,
    24% 79%,
    7% 83%,
    11% 65%,
    0 56%,
    13% 45%,
    4% 28%,
    22% 27%,
    19% 10%,
    39% 15%
  );
}
.pola-sticker::before {
  content: '';
  position: absolute;
  inset: 3px;
  clip-path: inherit;
  background: var(--sticker-bg);
  z-index: -1;
}
.pola-sticker-love {
  --sticker-bg: #2f7d50;
  --sticker-fg: #fff;
}
.pola-sticker-great {
  --sticker-bg: #f0b429;
  --sticker-fg: #1c1917;
  clip-path: polygon(50% 2%, 63% 34%, 98% 38%, 72% 62%, 80% 97%, 50% 79%, 20% 97%, 28% 62%, 2% 38%, 37% 34%);
}
.pola-sticker-like {
  --sticker-bg: #dce9e1;
  --sticker-fg: #2f7d50;
  clip-path: circle(48%);
}
.pola-note {
  position: relative;
  display: block;
  margin: -6px -2px 0 0.75rem;
  background: var(--stone-pale, #ddd3c1);
  border-radius: 8px;
  padding: 12px 10px 8px;
  box-shadow: 0 1px 6px rgba(28, 25, 23, 0.06);
}
.pola-l .pola-note {
  transform: rotate(0.8deg);
}
.pola-r .pola-note {
  transform: rotate(-0.8deg);
}
.pola-tape {
  position: absolute;
  left: 16px;
  top: -7px;
  width: 2.4rem;
  height: 0.85rem;
  background: rgba(226, 217, 197, 0.75);
  transform: rotate(-6deg);
  border-radius: 1px;
}
.pola-text {
  display: block;
  font-size: 0.85rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink-body);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pola-by {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--ink-mute);
}
.pola-avatar {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #f4d4bd;
  color: #a4684a;
  font-size: 0.65rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* 頁尾 */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.75rem 2.5rem;
  color: var(--ink-mute);
  font-size: 0.95rem;
}
.site-footer .shell {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 700px) {
  .site-footer .shell {
    grid-template-columns: 1fr;
  }
}
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer .brand {
  margin-bottom: 0.5rem;
}
.site-footer .contact {
  margin-top: 0.4rem;
  color: var(--ink);
  user-select: all;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 保留原版商圈版面；本輪只突出動態統計並換成指定封面。 */
[hidden] { display: none !important; }
.districts { align-items: start; margin-top: .9rem; }
.dcard-photo { width: calc(100% - 1rem); margin: .5rem .5rem 0; aspect-ratio: 1.6; object-fit: cover; border-radius: var(--r-md); }
.dcard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: .6rem 0; padding: 1rem 0; border-block: 1px solid var(--border); }
.dcard-stats > span { display: flex; align-items: baseline; gap: .35rem; }
.dcard-stats b { font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.1; font-weight: 800; }
.dcard-stats > span:nth-child(2) b { color: var(--rust-deep); }
.dcard-stats small { font-size: .95rem; white-space: nowrap; }
.site-nav .btn-primary { background: transparent; color: var(--rust-deep); border-color: transparent; box-shadow: none; }
.filters { top: var(--site-header-height, 4rem); }
.offers-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border-med);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.offers-toggle input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--rust-deep);
  cursor: pointer;
}
.offers-toggle:has(input:checked) {
  background: var(--rust-pale);
  border-color: var(--rust);
  color: var(--rust-deep);
}
.offers-toggle:has(input:focus-visible) {
  outline: 2px solid var(--rust-deep);
  outline-offset: 2px;
}
.store-deal > span { min-width: 0; overflow-wrap: anywhere; }
.image-placeholder { display: block; background: var(--sand-pale); }
html:not(.js-enabled) .store-image-deferred { display: none; }
html.js-enabled .store-image-deferred { visibility: hidden; }
html.js-enabled .store-image-deferred[data-image-state="loaded"] { visibility: visible; }
.app-card .btn { justify-self: start; margin-top: .5rem; }
.review-empty { padding: 1.25rem 0; color: var(--ink-mute); }
@media (max-width: 480px) {
  .site-header .shell { flex-wrap: wrap; gap: 0; padding-block: .5rem; }
  .site-header .brand { margin-right: auto; }
  .site-header .brand b { font-size: 1rem; }
  .site-nav a { font-size: .85rem; padding: .4rem .5rem; }
  .site-nav .btn { font-size: .85rem; padding: .4rem .5rem; margin-left: 0; }
  .dcard-stats { gap: .6rem; }
  .dcard-stats b { font-size: 2.3rem; }
}

/* 店家專區沿用首頁視覺，依認識、到店、再訪、成效串起合作內容。 */
.merchant-landing { padding-bottom: 1rem; }
.merchant-landing section[id],
.merchant-feature { scroll-margin-top: calc(var(--site-header-height, 4rem) + 1.25rem); }
.merchant-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem; padding: 3.75rem 0 4.5rem; }
.merchant-eyebrow { color: var(--rust-deep); font-size: .9rem; font-weight: 700; letter-spacing: .06em; }
.merchant-hero h1 { font-size: clamp(2.35rem, 4.2vw, 3.4rem); letter-spacing: -.035em; line-height: 1.28; margin: .85rem 0 1.2rem; }
.merchant-hero h1 span { display: block; }
.merchant-hero h1 span:last-child { color: var(--rust-deep); }
.merchant-intro { max-width: 29rem; font-size: 1.05rem; line-height: 1.8; color: var(--ink-mute); }
.merchant-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.65rem; }
.merchant-text-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.merchant-text-link:hover, .merchant-feature-link:hover { color: var(--rust-deep); text-decoration: underline; text-underline-offset: .2em; }
.merchant-hero-note { margin-top: 1rem; font-size: .78rem; color: var(--ink-mute); }
.merchant-hero-photo { margin: 0 .4rem; padding: .7rem .7rem 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-elev); }
.merchant-hero-photo > img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; border-radius: var(--r-md); }
.merchant-hero-photo figcaption { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: 1rem .5rem; }
.merchant-hero-photo figcaption small { display: block; font-size: .7rem; color: var(--ink-mute); }
.merchant-hero-photo figcaption strong { display: block; font-size: 1.15rem; }
.merchant-hero-photo figcaption a { color: var(--rust-deep); font-size: .8rem; font-weight: 600; padding-block: .5rem; text-decoration: none; }
.merchant-section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: .6rem 0; letter-spacing: -.025em; }
.merchant-section-heading > p:last-child:not(.merchant-eyebrow) { color: var(--ink-mute); }
.merchant-tools { padding-top: .5rem; }
.merchant-loop { position: relative; width: 100%; max-width: 22rem; aspect-ratio: 6 / 5; margin: 0 auto 1.4rem; }
.merchant-journey { margin: 0; padding: 0; list-style: none; }
.merchant-journey li { position: absolute; width: 36%; transform: translate(-50%, -50%); }
.merchant-journey li:nth-child(1) { top: 15%; left: 50%; }
.merchant-journey li:nth-child(2) { top: 50%; left: 82%; }
.merchant-journey li:nth-child(3) { top: 85%; left: 50%; }
.merchant-journey li:nth-child(4) { top: 50%; left: 18%; }
.merchant-journey a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 2.75rem; padding: .15rem; text-align: center; text-decoration: none; border-radius: var(--r-sm); }
.merchant-journey a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.merchant-journey a:focus-visible { outline: 2px solid var(--rust-deep); outline-offset: 3px; }
.merchant-journey a > span { color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.5; }
.merchant-journey strong { color: var(--rust-deep); font-size: clamp(.95rem, 4vw, 1.2rem); font-weight: 750; line-height: 1.6; white-space: nowrap; }
.merchant-loop-ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--rust); pointer-events: none; }
.merchant-loop-arrow { stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; marker-end: url(#merchant-loop-head); }
.merchant-loop-center { position: absolute; top: 50%; left: 50%; width: 28%; margin: 0; transform: translate(-50%, -50%); color: var(--ink); font-size: clamp(1rem, 4vw, 1.2rem); line-height: 1.45; text-align: center; letter-spacing: -.02em; pointer-events: none; }
.merchant-loop-center span { display: block; }
.merchant-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.merchant-feature { display: flex; flex-direction: column; min-width: 0; padding: clamp(1rem, 2.5vw, 1.65rem); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-card); }
.merchant-feature-label { display: flex; align-items: center; gap: .65rem; color: var(--rust-deep); font-size: .8rem; font-weight: 700; }
.merchant-feature h3 { margin: .65rem 0; font-size: clamp(1.35rem, 2.2vw, 1.65rem); letter-spacing: -.02em; }
.merchant-feature-copy > p:last-child { color: var(--ink-mute); font-size: .9rem; line-height: 1.7; margin-bottom: 1rem; }
.merchant-status { padding: .12rem .5rem; border-radius: 999px; background: var(--surface); color: var(--ink-mute); font-size: .65rem; font-weight: 600; }
.merchant-feature-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .75rem; margin-bottom: .6rem; }
.merchant-feature-heading .merchant-feature-label { margin: 0; color: var(--rust-deep); }
.merchant-feature-heading h3 { margin: 0; }
.merchant-screen-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: .1rem auto .35rem; width: 100%; max-width: 25rem; }
.merchant-screen-gallery figure { display: flex; flex-direction: column; align-items: center; margin: 0; min-width: 0; }
.merchant-screen-gallery a { display: flex; justify-content: center; align-items: flex-start; flex: 1; width: 100%; border-radius: .7rem; cursor: zoom-in; }
.merchant-screen-gallery a:focus-visible { outline: 2px solid var(--rust-deep); outline-offset: 3px; }
.merchant-screen-gallery img { width: auto; height: auto; max-width: 100%; max-height: 14rem; object-fit: contain; border-radius: .7rem; }
.merchant-screen-gallery figcaption { display: flex; align-items: center; gap: .4rem; margin-top: .45rem; color: var(--ink); font-size: .75rem; font-weight: 600; }
.merchant-feature .merchant-feature-link { align-self: flex-start; gap: .5rem; margin-top: .2rem; padding-top: .25rem; min-height: 2rem; }
.merchant-feature-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.6rem; padding-top: .7rem; color: var(--rust-deep); font-weight: 600; font-size: .82rem; text-decoration: none; }
.merchant-screen-gallery--single { grid-template-columns: 1fr; }
.merchant-loyalty-gallery { grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); }
.merchant-insights-preview { display: flex; flex: 1; padding-top: .25rem; }
.merchant-demo-metrics { display: grid; flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(5.25rem, 1fr)); align-items: center; gap: 1.75rem .8rem; margin: .25rem 0; }
.merchant-demo-metrics > div { min-width: 0; }
.merchant-demo-metrics dt { font-size: .8rem; color: var(--ink-body); line-height: 1.5; }
.merchant-demo-metrics dd { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 750; margin: .3rem 0 0; line-height: 1.2; white-space: nowrap; }
.merchant-demo-metrics dd small { margin-inline-start: .3rem; color: var(--ink-body); font-size: .75rem; font-weight: 500; }
.merchant-demo-metrics > div:nth-child(3n) dd { color: var(--rust-deep); }
.merchant-start { padding: 4rem 0 3.5rem; }
.merchant-start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.merchant-start-steps li { display: flex; align-items: flex-start; gap: .8rem; }
.merchant-start-steps li > span { flex-shrink: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--surface); color: var(--rust-deep); font-weight: 700; font-size: .85rem; }
.merchant-start-steps h3 { margin: .3rem 0 .5rem; font-size: 1rem; }
.merchant-start-steps p { color: var(--ink-mute); font-size: .85rem; line-height: 1.7; }
.merchant-questions { max-width: 46rem; margin: 0 auto 3.5rem; }
.merchant-questions .merchant-section-heading { margin-bottom: 1.25rem; }
.merchant-questions details { border-bottom: 1px solid var(--border-med); }
.merchant-questions details:first-of-type { border-top: 1px solid var(--border-med); }
.merchant-questions summary { position: relative; list-style: none; cursor: pointer; padding: 1rem 2.25rem 1rem .15rem; font-weight: 650; font-size: .95rem; }
.merchant-questions summary::-webkit-details-marker { display: none; }
.merchant-questions summary::after { content: '+'; position: absolute; right: .25rem; top: .8rem; font-size: 1.4rem; font-weight: 400; color: var(--rust-deep); }
.merchant-questions details[open] summary::after { content: '−'; }
.merchant-questions details > p { padding: 0 2rem 1.1rem .15rem; color: var(--ink-body); font-size: .9rem; line-height: 1.8; }
.merchant-questions a { color: var(--rust-deep); text-underline-offset: .2em; }
.merchant-join-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.4rem; border: 1px solid var(--border-med); border-radius: var(--r-xl); background: var(--card-soft); box-shadow: var(--shadow-card); }
.merchant-join-panel h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: .6rem 0 .8rem; }
.merchant-join-panel p:last-child { color: var(--ink-mute); font-size: .9rem; }
.merchant-join-panel .btn { flex-shrink: 0; }
.merchant-join-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.merchant-existing { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.25rem; margin-top: 1.7rem; color: var(--ink-mute); font-size: .8rem; }
.merchant-existing > strong { font-weight: 600; }
.merchant-existing nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .1rem 1rem; }
.merchant-existing a { display: inline-flex; align-items: center; min-height: 2.5rem; text-underline-offset: .25em; }
@media (max-width: 900px) {
  .merchant-hero { gap: 1.75rem; }
  .merchant-hero h1 { font-size: 2.35rem; }
}
@media (max-width: 760px) {
  .merchant-hero { grid-template-columns: 1fr; gap: 2.3rem; padding: 2.25rem 0 3rem; }
  .merchant-hero h1 { font-size: clamp(1.75rem, 6.8vw, 2.6rem); }
  .merchant-intro { font-size: .95rem; max-width: 30rem; }
  .merchant-actions { gap: .4rem 1rem; }
  .merchant-hero-note { font-size: .72rem; }
  .merchant-hero-photo { width: calc(100% - 1.1rem); max-width: 25rem; justify-self: center; }
  .merchant-hero-photo > img { aspect-ratio: 1.5; }
  .merchant-section-heading h2 { font-size: 1.65rem; }
  .merchant-feature-grid { grid-template-columns: 1fr; gap: 1rem; }
  .merchant-feature { padding: 1.2rem; border-radius: var(--r-lg); }
  .merchant-feature h3 { font-size: 1.4rem; }
  .merchant-feature-copy > p:last-child { font-size: .9rem; }
  .merchant-start { padding: 3rem 0; }
  .merchant-start-steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .merchant-questions { margin-bottom: 2.5rem; }
  .merchant-join-panel { flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 1.4rem; }
  .merchant-join-actions { flex-direction: column; width: 100%; }
}
@media (max-width: 360px) {
  .merchant-feature { padding: 1rem; }
  .merchant-demo-metrics dt { min-height: 3em; }
  .merchant-journey a > span { font-size: .8rem; }
  .merchant-hero-photo figcaption { padding-inline: .15rem; }
  .merchant-join-panel { padding: 1.2rem; }
}

/* 角色下載：版本選擇共用同一版型，手機選定版本才導向商店。 */
.download-page { padding-block: clamp(2rem, 6vw, 4rem); min-height: 65vh; }
.download-heading { margin-bottom: 1.8rem; }
.download-heading > p, .download-description { margin-top: .8rem; color: var(--ink-body); }
.download-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.download-role { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 3.5vw, 2.25rem); border: 1px solid var(--border-med); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-card); }
.download-role h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); }
.download-kicker { display: block; color: var(--rust-deep); font-size: .85rem; font-weight: 700; }
.download-role-merchant .download-kicker { color: #286144; }
.download-role-merchant { background: var(--card-soft); }
.download-role > p { margin-bottom: .75rem; }
.download-role > .btn { margin-top: auto; display: flex; justify-content: space-between; gap: .5rem; white-space: normal; text-align: left; }
.download-role-merchant > .btn { background: var(--ink); box-shadow: none; }
.download-target { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 2rem; padding: clamp(1.4rem, 4vw, 2.75rem); border: 1px solid var(--border-med); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-card); }
.download-copy { min-width: 0; }
.download-copy > h1 { margin-top: .55rem; }
.download-context { margin-top: 1.4rem; padding-block: 1rem; border-block: 1px solid var(--border); }
.download-context h2 { font-size: 1.25rem; margin: .4rem 0; }
.download-context p { font-size: .9rem; }
.download-open { display: inline-flex; margin-top: 1.5rem; gap: .65rem; }
.download-status { margin-top: 1.4rem; font-size: .9rem; color: var(--ink-body); }
.download-stores { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
.download-stores > .btn { display: inline-flex; justify-content: center; gap: .5rem; font-size: .9rem; white-space: normal; }
.download-stores > [hidden] { display: none; }
.download-installed, .download-return { margin-top: 1rem; font-size: .85rem; }
.download-installed > a, .download-return { color: var(--rust-deep); text-underline-offset: .2em; }
.download-return { display: inline-block; }
.download-qr { margin: 0; text-align: center; padding: 1rem .5rem; border-radius: var(--r-lg); background: var(--card-alt); }
.download-qr img { width: 200px; height: 200px; margin: 0 auto; }
.download-qr figcaption { margin-top: .75rem; font-size: .85rem; }
.download-qr strong { display: block; color: var(--ink); }
.download-switch { display: inline-block; margin-top: 1.2rem; color: var(--ink-mute); font-size: .9rem; text-underline-offset: .2em; }
.download-target[data-mobile-platform] .download-qr { display: none; }
.download-target[data-mobile-platform] { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 650px) {
  .download-choices, .download-target { grid-template-columns: minmax(0, 1fr); }
  .download-role { padding: 1.25rem; gap: .8rem; }
  .download-role > .btn { font-size: .9rem; padding-inline: 1rem; }
  .download-target { padding: 1.25rem; gap: 1.5rem; }
  .download-target .h-page { font-size: 1.55rem; }
  .download-stores { flex-direction: column; }
  .download-qr { width: min(100%, 240px); justify-self: center; }
  .download-open { font-size: .9rem; padding-inline: 1rem; }
}

/* 活動招募：沿用官網色票，以季節主視覺、清楚流程與店家分工呈現。 */
.event-page { padding-bottom: 1.5rem; }
.event-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .65rem; padding-top: 1.35rem; color: var(--ink-mute); font-size: .75rem; }
.event-breadcrumbs a { min-height: 2rem; display: inline-flex; align-items: center; text-decoration: none; }
.event-breadcrumbs a:hover { color: var(--rust-deep); text-decoration: underline; text-underline-offset: .2em; }
.event-breadcrumbs [aria-current] { color: var(--ink); }
.event-eyebrow { color: var(--rust-deep); font-weight: 700; font-size: .82rem; letter-spacing: .03em; }
.event-lead { color: var(--ink-body); font-size: 1.05rem; line-height: 1.85; }
.event-index-heading { padding-block: 2.35rem 2.5rem; }
.event-index-heading h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.035em; margin: .65rem 0 .8rem; }
.event-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.event-card { min-width: 0; border: 1px solid var(--border-med); background: var(--card-soft); border-radius: var(--r-xl); box-shadow: var(--shadow-card); overflow: hidden; }
.event-card:only-child { grid-column: 1 / -1; }
.event-card > a { display: grid; height: 100%; color: inherit; text-decoration: none; }
.event-card:only-child > a { grid-template-columns: 1fr 1.1fr; }
.event-card > a:focus-visible { outline-offset: -4px; }
.event-card-visual { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .3rem; min-width: 0; background: var(--surface); padding: 1.6rem; }
.event-season { color: var(--rust-deep); font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.event-card-visual img { width: 100%; max-width: 24rem; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.event-card-copy { padding: clamp(1.4rem, 3vw, 2.3rem); display: flex; flex-direction: column; min-width: 0; }
.event-labels { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; color: var(--ink-body); font-size: .8rem; font-weight: 600; }
.event-badge { display: inline-flex; align-items: center; gap: .35rem; color: var(--rust-deep); background: var(--rust-pale); padding: .25rem .65rem; border-radius: 999px; }
.event-badge::before { content: ''; width: .35rem; height: .35rem; border-radius: 50%; background: currentColor; }
.event-card-copy h2 { margin: 1.1rem 0 .7rem; font-size: clamp(1.45rem, 2.5vw, 1.9rem); line-height: 1.45; letter-spacing: -.02em; }
.event-card-copy > p { font-size: .95rem; line-height: 1.8; }
.event-card-meta { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.3rem; font-size: .8rem; }
.event-card-meta strong { color: var(--ink); font-size: 1rem; font-weight: 650; }
.event-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.6rem; font-size: .85rem; }
.event-card-bottom > strong { display: inline-flex; align-items: center; gap: .6rem; color: var(--rust-deep); white-space: nowrap; }
.event-arrow { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--rust); color: white; border-radius: 50%; font-size: 1.2rem; transition: background .15s; }
.event-card > a:hover .event-arrow { background: var(--rust-deep); }
.event-contact { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; color: var(--rust-deep); font-size: .85rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.event-index-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2rem 0 .5rem; }
.event-index-contact h2 { font-size: 1rem; margin-bottom: .35rem; }
.event-index-contact p { font-size: .85rem; color: var(--ink-body); }
/* 兩張直式文宣保留真實文字；A4 比例為桌機基準，窄螢幕及文字放大時自然增高。 */
.event-detail { max-width: 56rem; }
.event-booklet { display: grid; gap: 2rem; padding-block: 1.35rem 2.5rem; }
.event-sheet { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0; aspect-ratio: 210 / 297; padding: 2.2rem; border: 1px solid var(--border-med); border-top: 5px solid var(--rust); border-radius: .4rem; background: var(--card); box-shadow: var(--shadow-elev); color: var(--ink-body); }
.event-sheet[id], .event-store-brief[id] { scroll-margin-top: calc(var(--site-header-height, 4rem) + 1rem); }
.event-sheet-hero { display: flex; flex-direction: column; gap: .85rem; }
.event-sheet-hero .event-logo { width: min(100%, 14rem); align-self: center; margin: 0; line-height: 0; }
.event-logo img { width: 100%; height: auto; object-fit: contain; }
.event-sheet-intro { font-size: 1.1rem; line-height: 1.8; }
.event-sheet-intro strong { color: var(--rust-deep); }
.event-sheet-dates { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1rem; padding: .8rem 1.15rem; margin: 0; background: var(--card-alt); border-block: 1px solid var(--border); }
.event-sheet-dates > div + div { border-left: 1px solid var(--border-med); padding-left: 1.15rem; }
.event-sheet-dates dt { font-size: .78rem; color: var(--ink-body); }
.event-sheet-dates dd { margin: .1rem 0 0; font-size: 1.35rem; font-weight: 750; line-height: 1.4; color: var(--ink); }
.event-sheet-dates small { font-size: .8rem; font-weight: 600; }
.event-sheet-section-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin-bottom: .7rem; }
.event-sheet-section-title h2 { font-size: 1.35rem; }
.event-sheet-section-title > span { font-size: .8rem; }
.event-counter-flow { list-style: none; padding: 0; margin: 0; }
.event-counter-flow > li { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); align-items: start; gap: .65rem; padding: .9rem .75rem; }
.event-counter-flow > li + li { border-top: 1px solid var(--border); }
.event-flow-number { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: white; font-size: .95rem; font-weight: 750; margin-top: .1rem; }
.event-counter-flow h3 { font-size: 1.3rem; line-height: 1.45; text-wrap: initial; margin-bottom: .35rem; }
.event-counter-flow em { color: var(--rust-deep); font-style: normal; white-space: nowrap; }
.event-counter-flow p { font-size: 1.05rem; line-height: 1.7; }
.event-staff-step { background: var(--card-alt); border-radius: var(--r-sm); }
.event-staff-step .event-flow-number { background: var(--rust-deep); }
.event-counter-flow > .event-staff-step, .event-counter-flow > .event-staff-step + li { border-top-color: transparent; }
.event-rules { border-top: 1px solid var(--border-med); padding-top: 1rem; margin-top: .5rem; }
.event-rules h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.event-rules ul { list-style: none; padding: 0; margin: 0; font-size: 1rem; line-height: 1.75; }
.event-rules li + li { margin-top: .45rem; }
.event-rules strong { font-weight: 650; }
.event-sheet-note { font-size: .8rem; line-height: 1.75; }
.event-store-brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; padding: 1rem 0; border-block: 1px solid var(--border-med); }
.event-store-brief h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.event-store-brief p { font-size: .9rem; line-height: 1.8; }
.event-sheet-footer { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.4rem; margin-top: auto; font-size: .75rem; }
.event-sheet-footer > p { max-width: 29em; }
.event-sheet-footer a { display: inline-flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 2.75rem; color: var(--rust-deep); font-weight: 750; text-decoration: none; }
.event-sheet-footer a:hover { text-decoration: underline; text-underline-offset: .25em; }
.event-sheet-footer a > span { font-size: 1.2rem; }
.event-sheet-photo { border-top-color: var(--success); gap: 1rem; }
.event-sheet-photo .event-counter-flow em { color: var(--success); }
.event-sheet-photo .event-flow-number { background: var(--success); }
.event-sheet-photo .event-eyebrow { color: var(--success); }
.event-photo-heading .event-logo { width: min(100%, 22rem); }
.event-prizes { padding: 1rem 1.15rem; border: 1px solid var(--border-med); border-radius: var(--r-sm); background: var(--card-alt); }
.event-prize-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem .8rem; }
.event-prize-heading h2, .event-prize-heading h3 { font-size: 1.4rem; }
.event-prize-heading > span { font-size: 1rem; white-space: nowrap; }
.event-prize-heading > span strong { color: var(--rust-deep); }
.event-voucher-prizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin: .7rem 0 0; }
.event-voucher-prizes > li { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding-inline: .35rem; }
.event-voucher-prizes > li + li { border-left: 1px solid var(--border-med); }
.event-voucher-prizes strong { color: var(--rust-deep); font-size: 1.7rem; font-weight: 800; line-height: 1.35; white-space: nowrap; }
.event-voucher-prizes small { font-size: .9rem; }
.event-voucher-prizes span { font-size: 1.05rem; font-weight: 650; }
.event-photo-prizes { background: var(--card); }
.event-photo-prize-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.1rem; margin-top: .7rem; }
.event-photo-prize-content img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.event-photo-prize-content ul { list-style: none; padding: 0; margin: 0; }
.event-photo-prize-content li { display: flex; flex-direction: column; gap: .2rem; }
.event-photo-prize-content li + li { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--border-med); }
.event-photo-prize-content strong { font-size: 1.15rem; line-height: 1.45; }
.event-photo-prize-content span { font-size: .95rem; }
.event-photo-prize-content b { font-size: 1.2rem; color: var(--success); }
.event-invite-bonus { padding-block: .9rem; border-block: 1px solid var(--border-med); }
.event-invite-bonus h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.event-invite-bonus ul { padding-left: 1.2em; margin: 0; font-size: 1rem; line-height: 1.75; }
.event-invite-bonus li + li { margin-top: .35rem; }
.event-invite-bonus h3 strong { color: var(--rust-deep); }
.event-sheet-registration { --christmas-red: #b42328; margin-top: auto; padding-top: .25rem; }
.event-sheet-registration h2 { font-size: 1.4rem; margin-block: .4rem .55rem; }
.event-registration-christmas { color: var(--christmas-red); }
.event-registration-store { color: var(--success); }
.event-sheet-registration > div > p:last-child { font-size: .9rem; }
.event-sheet-register-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: .8rem; }
.event-registration-pending { color: var(--ink-body); background: var(--surface); border: 1px solid var(--border-med); cursor: not-allowed; white-space: normal; box-shadow: none; font-size: .9rem; }
.event-photo-footer { padding-top: .5rem; margin-top: 0; }
/* 第一張以較大字級呈現操作資訊，讓正文與規則都可直接閱讀，不靠小字塞進紙張。 */
.event-sheet-stamps { gap: 1rem; }
.event-sheet-stamps .event-eyebrow,
.event-sheet-stamps .event-sheet-dates dt,
.event-sheet-stamps .event-sheet-dates small { font-size: 1rem; }
.event-sheet .event-sheet-section-title h2 { font-size: 1.6rem; }
.event-sheet-stamps .event-sheet-section-title > span { font-size: .95rem; }
.event-sheet-stamps .event-sheet-note { font-size: 1rem; }
.event-sheet-stamps .event-store-brief h2 { font-size: 1.3rem; }
.event-sheet-stamps .event-store-brief p { font-size: 1.05rem; line-height: 1.75; }
.event-sheet-stamps .event-sheet-footer { font-size: .95rem; }
@media (max-width: 760px) {
  .event-index-heading { padding-block: 1.6rem 1.7rem; }
  .event-index-heading h1 { font-size: 2rem; }
  .event-grid, .event-card:only-child > a { grid-template-columns: 1fr; }
  .event-card-visual { padding: 1.2rem 1.5rem .8rem; }
  .event-card-visual img { max-width: 21rem; }
  .event-card-copy { padding: 1.4rem; }
  .event-card-copy h2 { font-size: 1.45rem; margin-top: .85rem; }
  .event-card-copy > p, .event-lead { font-size: .95rem; }
  .event-card-bottom { padding-top: 1.25rem; }
  .event-booklet { gap: 1.5rem; }
  .event-sheet { aspect-ratio: auto; padding: 1.4rem; gap: 1.3rem; }
  .event-sheet-dates dd { font-size: 1.15rem; }
  .event-store-brief p { font-size: .9rem; }
  .event-voucher-prizes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1rem; }
  .event-voucher-prizes > li:nth-child(3) { border-left: 0; }
}
@media (max-width: 540px) {
  .event-detail { padding-inline: .65rem; }
  .event-sheet { padding: 1.15rem; gap: 1.25rem; }
  .event-sheet-hero .event-logo { width: 10rem; }
  .event-sheet-dates { grid-template-columns: 1fr; gap: .65rem; padding: .85rem; }
  .event-sheet-dates > div + div { border-left: 0; padding: .6rem 0 0; border-top: 1px solid var(--border-med); }
  .event-sheet-dates dd { font-size: 1.25rem; }
  .event-sheet-section-title h2 { font-size: 1.4rem; }
  .event-counter-flow > li { gap: .5rem; padding-inline: .5rem; }
  .event-store-brief p { font-size: .95rem; }
  .event-sheet-note { font-size: .85rem; }
  .event-store-brief { grid-template-columns: 1fr; gap: 1rem; }
  .event-store-brief h2 { font-size: 1.15rem; }
  .event-sheet-footer { flex-direction: column; align-items: stretch; gap: .4rem; font-size: .8rem; }
  .event-sheet-footer a { border-top: 1px solid var(--border); padding-top: .4rem; font-size: .95rem; }
  .event-photo-heading .event-logo { width: min(100%, 17rem); }
  .event-prizes { padding: 1rem .85rem; }
  .event-prize-heading h2, .event-prize-heading h3 { font-size: 1.3rem; }
  .event-photo-prize-content { grid-template-columns: 1fr; gap: .85rem; }
  .event-invite-bonus { padding-block: 1rem; }
  .event-invite-bonus h3 { font-size: 1.15rem; }
  .event-sheet-registration h2 { font-size: 1.4rem; }
  .event-sheet-register-actions { flex-direction: column; align-items: stretch; }
  .event-sheet-register-actions .event-contact { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .event-arrow { transition: none; }
}
