:root {
  color-scheme: light;
  font: 18px/1.55 system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  color: #392421;
  background: #fff4ef;
  --brand: #861e36;
  --brand-dark: #6c182c;
  --text: #392421;
  --muted: #694f48;
  --card: #fffdfa;
  --warm: #faede8;
  --yellow: #fff3c4;
  --yellow-text: #5c3f00;
  --border: #dbc9c3;
  --focus: #861e3633;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body { margin: 0; padding: 0; padding-bottom: env(safe-area-inset-bottom); }

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 10;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid #861e36;
  outline-offset: 3px;
}

.hero {
  background: var(--brand);
  color: #fff8f3;
  text-align: center;
  padding: 32px 20px 28px;
  padding-top: calc(32px + env(safe-area-inset-top));
}
.hero h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.hero .tagline {
  margin: 8px 0 14px;
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 650;
  line-height: 1.35;
}
.hero .facts {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: #ffe8df;
}
.hero a:focus-visible, footer a:focus-visible {
  outline-color: #fff8f3;
}

.btn-primary, .btn-ghost, .btn-map, .btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 20px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
}
.btn-primary {
  width: 100%;
  max-width: 360px;
  min-height: 56px;
  background: #fff;
  color: var(--brand);
  font-size: 20px;
  box-shadow: 0 4px 16px #3a0b1230;
}
.btn-primary:hover { background: #fff4ef; }
.btn-dark {
  background: var(--brand);
  color: #fff8f3;
  box-shadow: none;
  border: 1px solid var(--brand);
}
.btn-dark:hover { background: var(--brand-dark); }
.btn-ghost {
  width: 100%;
  max-width: 360px;
  margin-top: 10px;
  background: transparent;
  color: #fff8f3;
  border: 2px solid #ffd9ce;
  font-size: 18px;
  font-weight: 700;
}
.btn-ghost:hover { background: #ffffff18; }
.pickup-note {
  margin: 16px 0 0;
  font-size: 15px;
  color: #ffd9ce;
}

main { max-width: 630px; margin: 0 auto; padding: 0 10px 8px; }

.identify, .howto {
  margin: 16px 0;
  padding: 20px 16px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 28px #641e2214;
}
.identify {
  border: 2px solid var(--brand);
}
.identify h2, .stores h2, .howto h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  color: var(--brand);
}
.identify .lead {
  margin: 0 0 14px;
  text-wrap: pretty;
}
.identify ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.identify li {
  position: relative;
  margin: 0;
  padding: 10px 8px 10px 36px;
  border-top: 1px solid #ecd2cb;
  text-wrap: pretty;
}
.identify li:first-of-type { border-top: 0; }
.identify li::before {
  content: "✓";
  position: absolute;
  left: 6px;
  top: 10px;
  color: var(--brand);
  font-weight: 800;
}
.identify a {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.stores { padding: 8px 0 20px; }
.stores h2 { margin-left: 4px; }
.store-count {
  margin: 0 4px 4px;
  color: var(--muted);
  font-size: 16px;
}
.group {
  margin: 0;
}
.group-title {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 12px 0 10px;
  padding: 10px 12px;
  background: #fff4eff5;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--brand);
  font-size: 19px;
  font-weight: 800;
  border-radius: 10px;
  border: 1px solid #ecd2cb;
}

.nowrap { white-space: nowrap; }
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
}
.jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 12px;
  border-radius: 99px;
  background: #fff;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #ecd2cb;
}
.jump a:hover { background: var(--warm); }
.store {
  scroll-margin-top: 58px;
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid #ecd2cb;
  border-radius: 16px;
  box-shadow: 0 6px 20px #641e2210;
}
.store-photo {
  display: block;
  width: calc(100% + 32px);
  max-width: none;
  height: auto;
  margin: -16px -16px 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 15px 15px 0 0;
  background: var(--warm);
}
.store-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 28%, #f3c9d15c 0 26%, transparent 27%),
    radial-gradient(circle at 82% 72%, #f3c9d145 0 20%, transparent 21%),
    linear-gradient(180deg, #fde8e4 0%, #faede8 100%);
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-align: center;
}
.store-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
}
.store h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}
.hours {
  font-weight: 800;
  font-size: 18px;
  color: var(--brand);
  letter-spacing: 0.01em;
}
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--brand);
  color: #fff8f3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.address {
  margin: 0;
  font-weight: 650;
  font-size: 16px;
  overflow-wrap: anywhere;
}
.landmark {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--warm);
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.45;
  text-wrap: pretty;
}
.landmark .label {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.store-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--yellow-text);
  font-weight: 800;
  border: 1px solid #e6c84a;
  text-wrap: pretty;
}
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.btn-map, .btn-order {
  width: 100%;
  font-size: 15px;
  padding: 10px 8px;
  min-height: 48px;
  white-space: nowrap;
}
.btn-map {
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  font-weight: 700;
}
.btn-order {
  background: var(--brand);
  color: #fff8f3;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 12px;
  margin: 0 0 14px;
  align-items: start;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff8f3;
  font-weight: 800;
  font-size: 18px;
  grid-row: 1 / span 2;
}
.steps strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 36px;
}
.steps span {
  display: block;
  grid-column: 2;
  color: var(--muted);
  font-size: 16px;
  margin-top: -4px;
  text-wrap: pretty;
}
.howto-note {
  margin: 4px 0 16px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--warm);
  color: var(--text);
  font-size: 16px;
  text-wrap: pretty;
  line-break: strict;
}
.howto .btn-primary { display: flex; margin: 0 auto; }

footer {
  background: var(--brand);
  color: #fff8f3;
  text-align: center;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
  margin-top: 8px;
}
.foot-brand {
  margin: 0;
  font-weight: 800;
  font-size: 18px;
}
.foot-label {
  margin: 14px 0 8px;
  font-size: 15px;
  color: #ffd9ce;
}
footer .btn-primary { max-width: 360px; }
.foot-note {
  margin: 14px 0 0;
  font-size: 15px;
  color: #ffd9ce;
}

@media (min-width: 700px) {
  body { background: #f8e8e1; }
  .hero { padding: 48px 24px 40px; }
  main { padding: 8px 14px 24px; }
}
