:root {
  --bg: #f4f4f1;
  --bg-2: #ffffff;
  --ink: #111111;
  --muted: #6a6a66;
  --line: rgba(17, 17, 17, 0.08);
  --accent: #ff5a36;
  --accent-deep: #e03e1c;
  --pop: #d6ff3f;
  --shade: rgba(17, 17, 17, 0.55);
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Segoe UI", sans-serif;
  --top: 56px;
  --tab: 64px;
  --radius: 22px;
  --max: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 {
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--top) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 20px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(244, 244, 241, 0.78);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}

.logo {
  justify-self: start;
  text-decoration: none;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.05em;
}

.desk-nav {
  display: none;
  gap: 4px;
  justify-self: center;
}
.desk-nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.desk-nav a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.lang {
  justify-self: end;
  display: flex;
  background: #fff;
  border-radius: 999px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.lang button {
  border: 0;
  background: transparent;
  min-width: 40px;
  min-height: 32px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.stage {
  min-height: calc(100dvh - var(--top) - var(--tab) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding-bottom: calc(var(--tab) + 24px + env(safe-area-inset-bottom));
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(244, 244, 241, 0.9);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 0;
}
.tabbar svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar a[aria-current="page"] svg { stroke: var(--accent); }

.pack {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section {
  padding: 28px 0 8px;
}
.section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.section-hd h2 {
  font-size: clamp(28px, 6vw, 44px);
}
.section-hd a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}

/* Hero swipe */
.hero-swipe { position: relative; }
.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-card {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: min(72dvh, 740px);
  min-height: 520px;
  background: #1a1a1a;
  overflow: hidden;
}
.hero-card a.hero-fill {
  position: absolute;
  inset: 0;
  color: #fff;
  text-decoration: none;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-card .hero-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2b2b2b, #ff5a36 80%);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.15) 40%, rgba(17,17,17,0.78) 100%);
}
.hero-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}
.hero-body {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 36px;
  z-index: 1;
}
.hero-body .label { color: var(--pop); }
.hero-body h2 {
  margin-top: 8px;
  font-size: clamp(40px, 9vw, 72px);
  max-width: 16ch;
}
.hero-body .venue {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
}
.hero-dots button[aria-current="true"] {
  width: 22px;
  background: var(--pop);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17,17,17,0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.pill-pop {
  background: var(--pop);
  color: #111;
}
.pill-live {
  background: var(--accent);
  color: #fff;
}

.avatar-stack {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 14px;
}
.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -8px;
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack span, .hero-tba {
  margin-left: 10px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

/* Avatar rail */
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.story {
  flex: 0 0 auto;
  width: 84px;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
}
.story i {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 8px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 200deg, var(--accent), var(--pop), var(--accent));
}
.story img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--bg);
  background: #ddd;
}
.story b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* Product feed */
.feed {
  columns: 2;
  column-gap: 10px;
}
.feed-card {
  break-inside: avoid;
  margin: 0 0 10px;
  position: relative;
  background: var(--bg-2);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.feed-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 58%;
  background: #e8e8e4;
}
.feed-card:only-child {
  column-span: all;
  display: block;
  max-width: 520px;
}
.feed-card:only-child img { aspect-ratio: 4 / 5; max-height: 640px; object-position: center 58%; }
.feed-meta { padding: 10px 12px 14px; }
.feed-meta h3 { font-size: 16px; letter-spacing: -0.03em; line-height: 1.2; }
.feed-meta p { margin-top: 4px; color: var(--muted); font-size: 13px; }
.tag {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--pop);
  color: #111;
  font-size: 11px;
  font-weight: 700;
}
.sticker {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pop);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  transform: rotate(-6deg);
}

.heart {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  padding: 0;
}
.heart svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
}
.heart.is-on svg { fill: var(--accent); stroke: var(--accent); }

/* Mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 120px;
  gap: 6px;
}
.mosaic a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: #222;
}
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mosaic a:nth-child(5n+1) {
  grid-column: span 2;
  grid-row: span 2;
}
.mosaic figcaption, .mosaic .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(17,17,17,0.78));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.mosaic .cap-date {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.92;
}

/* Explore compact */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ex-card {
  display: block;
  text-decoration: none;
  background: var(--bg-2);
  border-radius: 18px;
  overflow: hidden;
}
.ex-card img, .ex-card .mark {
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: #e8e8e4;
}
.ex-card .mark {
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  background: var(--ink);
  color: var(--pop);
}
.ex-card div { padding: 10px 12px 12px; }
.ex-card strong { display: block; font-size: 14px; letter-spacing: -0.03em; }
.ex-card span { color: var(--muted); font-size: 12px; }

/* Press + media wait */
.press:active, .feed-card:active, .story:active, .hero-card:active, .ex-card:active, .stall-row:active, .fair-tile:active {
  transform: scale(0.98);
}
.press, .feed-card, .story, .ex-card, .stall-row, .fair-row, .fair-tile {
  transition: transform 0.16s ease;
}

.is-wait {
  background: linear-gradient(90deg, #e8e8e4 0%, #f6f6f3 50%, #e8e8e4 100%);
  background-size: 200% 100%;
  animation: shimmer 1.1s ease-in-out infinite;
  color: transparent;
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Stall profile */
.profile-cover {
  position: relative;
  height: min(42vw, 280px);
  min-height: 180px;
  background: #1a1a1a;
  overflow: hidden;
}
.profile-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.profile {
  position: relative;
  padding: 0 20px 16px;
  margin-top: -42px;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
  background: #ddd;
  box-shadow: 0 0 0 1px var(--line);
}
.profile h1 { margin-top: 12px; font-size: clamp(32px, 8vw, 48px); }
.profile .handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
.profile .handle .ig-icon {
  width: 20px;
  height: 20px;
  flex: none;
  display: block;
}
.profile .handle:hover { color: var(--accent); }
.profile .lede { margin-top: 10px; max-width: 40em; color: #333; }
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--ink);
  color: #fff;
}

.segs {
  display: flex;
  gap: 0;
  margin: 8px 20px 0;
  border-bottom: 1px solid var(--line);
}
.segs button {
  flex: 1;
  border: 0;
  background: transparent;
  min-height: 44px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.segs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.panel-block { padding: 18px 20px 80px; }

.stall-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--tab) + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(244, 244, 241, 0.92);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.stall-cta .btn { flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--accent-deep); }
.btn:active { transform: scale(0.97); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.enquiry {
  margin-top: 18px;
  padding: 16px;
  background: #fff;
  border-radius: 18px;
}
.enquiry h3 { font-size: 20px; margin-bottom: 8px; }
.enquiry .note, .enquiry-hint { color: var(--muted); font-size: 13px; margin-top: 8px; }
.enquiry-msg {
  margin: 12px 0;
  padding: 12px 14px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  line-height: 1.55;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Lists */
.fair-row, .stall-row {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.fair-row img, .stall-row img, .ph-sq {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
  background: #e8e8e4;
}
.ph-sq { display: block; background: linear-gradient(135deg, #222, var(--accent)); }
.fair-row h3, .stall-row h3 { font-size: 20px; }
.fair-row p, .stall-row p { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* Weekly fair tiles */
.week-block { margin: 8px 0 36px; }
.week-block .section-hd { margin-bottom: 14px; }
.week-block h2 {
  font-size: 22px;
  letter-spacing: -0.03em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.week-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  vertical-align: middle;
}
.week-block:not(:first-of-type) .week-tag {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.fair-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.fair-tile {
  position: relative;
  display: block;
  background: var(--bg-2);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
}
.fair-tile-pic img, .fair-tile-pic .ph-sq {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: linear-gradient(135deg, #222, var(--accent));
}
.fair-tile-body { padding: 12px 14px 16px; }
.fair-tile h3 { font-size: 17px; letter-spacing: -0.02em; }
.fair-tile p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.fair-tile-cta { color: var(--accent-deep); font-weight: 700; margin-top: 8px; }
.fair-tile > .heart { position: absolute; top: 10px; right: 10px; }

/* Map */
.map-page {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  height: calc(100dvh - var(--top) - var(--tab) - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: 520px;
}
.map-picks {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.map-picks::-webkit-scrollbar { display: none; }
.map-picks button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.map-picks button[aria-current="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.map-frame {
  flex: 1;
  min-height: 280px;
  margin: 0 16px 12px;
  border-radius: 20px;
  overflow: hidden;
  background: #e8e8e4;
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.map-caption { padding: 0 20px 16px; color: var(--muted); font-size: 13px; }
.map-caption strong { color: var(--ink); display: block; font-size: 16px; letter-spacing: -0.03em; margin-bottom: 2px; }

.page-hd { padding: 20px 0 8px; }
.page-hd h1 { font-size: clamp(36px, 8vw, 56px); }
.page-hd p { margin-top: 8px; color: var(--muted); max-width: 36em; }

.empty {
  padding: 48px 8px;
  text-align: center;
  color: var(--muted);
}
.empty a { color: var(--accent); font-weight: 700; }

.note { color: var(--muted); font-size: 13px; }
.credit { color: var(--muted); font-size: 12px; margin-top: 14px; }
.back {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.search {
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  margin: 8px 0 12px;
}

.detail-hero { margin: 0; }
.detail-hero img { width: 100%; height: min(52vw, 380px); object-fit: cover; background: #222; }
.prose { max-width: 40em; }
.prose p + p { margin-top: 10px; }
.prose h2 { font-size: 24px; margin: 20px 0 8px; }
.prose ul { margin: 8px 0; padding-left: 1.1em; }
.aside-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  margin: 12px 0;
}

.timeline { display: grid; gap: 10px; }
.time-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
}
.time-card h3 { font-size: 18px; }
.past-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.past-mini a, .past-mini figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}
.past-mini img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.past-mini figcaption { padding: 8px 10px 10px; font-size: 13px; font-weight: 700; }

.boot, .noscript { padding: 40px 20px; color: var(--muted); }
.foot {
  display: none;
  width: min(var(--max), calc(100% - 40px));
  margin: 40px auto 0;
  padding: 24px 0 8px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.foot a { font-weight: 700; text-decoration: none; }

@media (min-width: 640px) {
  .fair-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .desk-nav { display: flex; }
  .tabbar { display: none; }
  .stage { padding-bottom: 40px; }
  .stall-cta {
    left: auto;
    right: auto;
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    bottom: 0;
    border-radius: 20px 20px 0 0;
    position: sticky;
  }
  .feed { columns: 4; }
  .feed-card:only-child {
    display: block;
    max-width: 480px;
  }
  .feed-card:only-child img {
    aspect-ratio: 4 / 5;
    height: auto;
    max-height: 640px;
    object-position: center 58%;
  }
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
  }
  .explore-grid { grid-template-columns: repeat(4, 1fr); }
  .fair-grid { grid-template-columns: repeat(3, 1fr); }
  .week-block h2 { font-size: 26px; }
  .hero-card { height: min(78dvh, 800px); }
  .hero-body { left: 48px; right: 48px; bottom: 48px; }
  .profile, .panel-block, .segs { max-width: var(--max); margin-left: auto; margin-right: auto; }
  .segs { padding: 0; }
  .panel-block { padding-bottom: 40px; }
  .map-page {
    display: grid;
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto 1fr auto;
    height: calc(100dvh - var(--top) - env(safe-area-inset-top));
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
    gap: 0 20px;
  }
  .map-page .page-hd { grid-column: 1 / -1; }
  .map-picks {
    flex-direction: column;
    overflow: auto;
    padding: 0;
    grid-row: 2;
  }
  .map-picks button { white-space: normal; text-align: left; border-radius: 16px; }
  .map-frame { grid-column: 2; grid-row: 2; margin: 0; min-height: 480px; }
  .map-caption { grid-column: 1 / -1; padding: 12px 0 24px; }
  .fair-row, .stall-row { grid-template-columns: 160px 1fr auto; }
  .fair-row img, .stall-row img, .ph-sq { width: 160px; height: 110px; }
  .foot { display: block; }
  .past-mini { grid-template-columns: repeat(4, 1fr); }
  .profile-cover { height: 360px; min-height: 280px; }
}


@media (hover: hover) and (pointer: fine) {
  .feed-card:hover, .ex-card:hover, .story:hover, .fair-row:hover, .stall-row:hover, .fair-tile:hover {
    transform: translateY(-2px);
  }
}

body.is-stall .stage {
  padding-bottom: calc(var(--tab) + 88px + env(safe-area-inset-bottom));
}
body.is-stall .panel-block { padding-bottom: 24px; }
.hero-card > .heart { top: 16px; right: 16px; }
.profile { position: relative; }
.profile > .heart { position: absolute; top: 8px; right: 20px; }

body.is-stall .feed-card img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center center;
  background: #f3eee6;
}
@media (max-width: 899px) {
  .hero-card {
    height: calc(100dvh - var(--top) - var(--tab) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 168px);
    min-height: 390px;
  }
  .hero-body { bottom: 28px; }
  .profile-cover { height: 148px; min-height: 140px; }
  .profile { margin-top: -36px; padding-bottom: 10px; }
  .profile-avatar { width: 76px; height: 76px; }
  .profile h1 { margin-top: 8px; }
  .profile .lede { margin-top: 6px; }
  .chip-row { margin-top: 8px; }
  body.is-stall .feed-card img {
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: contain;
    object-position: center center;
    background: #f3eee6;
  }
}


.region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}
.map-page .page-hd {
  flex: 0 0 auto;
}
.map-page .region-filters {
  margin: 10px 0 0;
}
.map-picks .note {
  flex: 1;
  margin: 0;
}
.street-filters {
  margin: 0 0 4px;
}

body.is-product { overflow: hidden; }
body.is-product .stall-cta { display: none; }
.product-sheet {
  position: fixed;
  top: calc(var(--top) + env(safe-area-inset-top));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  overflow: auto;
  background: var(--bg);
  padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom) + 16px);
}
.product-sheet > img,
.product-gallery img {
  width: 100%;
  max-height: min(58dvh, 640px);
  object-fit: contain;
  background: #f3eee6;
}
.product-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.product-gallery img {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.product-gallery .zoom-btn {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: block;
  padding: 0;
  border: 0;
  background: #f3eee6;
  cursor: zoom-in;
}
.product-gallery .zoom-btn img { flex: none; }

body.is-zoom { overflow: hidden; }
.zoom-view {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 10, 10, 0.94);
  color: #fff;
}
.zoom-stage {
  position: absolute;
  inset: 0;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pinch-zoom pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}
.zoom-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.zoom-stage.is-big { display: block; }
.zoom-stage.is-big img {
  max-width: none;
  max-height: none;
  width: 200%;
  cursor: zoom-out;
}
@media (min-width: 900px) {
  .zoom-stage.is-big img { width: auto; }
}
.zoom-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 12px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.zoom-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.zoom-prev { left: 12px; }
.zoom-next { right: 12px; }
.zoom-count {
  position: absolute;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.product-sheet > .heart { top: 16px; right: 16px; }
.product-sheet-close {
  display: inline-flex;
  align-items: center;
  margin: 12px 16px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.product-sheet-body { padding: 8px 16px 24px; }
.product-sheet-body h2 { font-size: 22px; letter-spacing: -0.03em; margin: 8px 0 6px; }
.product-sheet .enquiry { margin-top: 16px; }
