:root {
  color-scheme: light;
  --ink: #17231d;
  --muted: #68746d;
  --paper: #f5f2e9;
  --surface: #fffdf7;
  --line: #d7d8cf;
  --green: #153f2e;
  --lime: #d9ff5b;
  --orange: #ff713f;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 86% 2%, #e3f2c2 0, transparent 28rem), var(--paper); }
a { color: inherit; }
.site-header { min-height: 76px; padding: 16px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--lime); background: var(--green); border-radius: 50% 50% 46% 54%; }
.header-note, .header-link { color: var(--muted); font-size: .9rem; }
.header-link { text-underline-offset: 4px; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: clamp(68px, 12vw, 150px) 0 clamp(72px, 10vw, 120px); }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .catalog-intro h1, .store-detail h1, .error-main h1 { margin: 0; max-width: 900px; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.hero-copy { max-width: 600px; margin: 32px 0 0 auto; color: var(--muted); font-size: clamp(1rem, 2vw, 1.3rem); line-height: 1.8; }
.city-section { padding: 42px 0 70px; border-top: 1px solid var(--ink); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(2rem, 4vw, 3.8rem); font-weight: 500; }
.section-heading > p { color: var(--muted); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.city-card { min-height: 250px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; color: var(--surface); background: var(--green); border-radius: 2px 32px 2px 2px; text-decoration: none; transition: transform .2s ease, border-radius .2s ease; }
.city-card:hover, .city-card:focus-visible { transform: translateY(-4px); border-radius: 2px 50px 2px 2px; }
.city-card:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.city-province { color: #b7c9bf; font-size: .85rem; }
.city-card strong { font-family: Georgia, "Noto Serif SC", serif; font-size: 3rem; font-weight: 500; }
.city-action { color: var(--lime); }
.catalog-main { padding-bottom: 60px; }
.catalog-intro { padding: 70px 0 46px; }
.catalog-intro h1 { font-size: clamp(3rem, 7vw, 6rem); }
.catalog-intro > p:last-child { color: var(--muted); }
.search-panel { position: sticky; top: 12px; z-index: 2; padding: 18px; display: flex; align-items: end; gap: 14px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(30, 45, 36, .08); backdrop-filter: blur(12px); }
.field { display: grid; gap: 7px; min-width: 220px; }
.field-grow { flex: 1; }
label { font-size: .78rem; font-weight: 800; }
input, select, button { min-height: 46px; padding: 0 14px; border: 1px solid #9ca59f; border-radius: 0; background: white; color: var(--ink); font: inherit; }
button { padding-inline: 28px; border-color: var(--green); background: var(--green); color: white; font-weight: 800; cursor: pointer; }
.store-grid { padding: 30px 0 50px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.store-card { min-width: 0; background: var(--surface); }
.store-card-link { min-height: 230px; padding: 24px; display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; text-decoration: none; }
.store-card-link:hover { background: #eff5df; }
.store-index { color: #9ca59f; font: .8rem/1 ui-monospace, monospace; }
.store-category { margin: 0 0 24px; color: var(--orange); font-size: .73rem; font-weight: 800; line-height: 1.5; }
.store-card h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 500; line-height: 1.15; }
.store-address { margin: 18px 0 0; color: var(--muted); line-height: 1.6; }
.card-arrow { color: var(--green); font-size: 1.4rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 30px 0; }
.pagination a { text-underline-offset: 4px; }
.pagination span { color: #a4aaa6; }
.empty-state { margin: 30px 0; padding: 60px 24px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.empty-state h2, .empty-state h3 { font-family: Georgia, "Noto Serif SC", serif; font-size: 2rem; font-weight: 500; }
.text-link { color: var(--green); font-weight: 800; text-underline-offset: 4px; }
.ad-slot { min-height: 90px; margin: 20px 0 60px; display: grid; place-items: center; color: #8d9690; border: 1px dashed #aeb5b0; font-size: .72rem; letter-spacing: .1em; }
.detail-main { padding: 30px 0 70px; }
.breadcrumbs { display: flex; gap: 9px; color: var(--muted); font-size: .85rem; overflow: hidden; white-space: nowrap; }
.breadcrumbs a { text-underline-offset: 3px; }
.store-detail { margin-top: 40px; padding: clamp(28px, 6vw, 72px); background: var(--surface); border-top: 8px solid var(--lime); }
.detail-heading { display: flex; align-items: start; justify-content: space-between; gap: 30px; }
.store-detail h1 { font-size: clamp(2.7rem, 7vw, 6.5rem); }
.source-badge { padding: 8px 12px; color: var(--green); border: 1px solid var(--green); font-size: .72rem; white-space: nowrap; }
.detail-list { margin: 64px 0 36px; border-top: 1px solid var(--line); }
.detail-list > div { padding: 20px 0; display: grid; grid-template-columns: 120px 1fr; border-bottom: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: .8rem; }
.detail-list dd { margin: 0; line-height: 1.6; }
.map-button { display: inline-flex; min-height: 50px; padding: 0 22px; align-items: center; gap: 16px; background: var(--green); color: white; font-weight: 800; text-decoration: none; }
.error-main { padding: 12vh 0; text-align: center; }
.error-main h1 { margin: 0 auto; font-size: clamp(2.8rem, 7vw, 6rem); }
.error-main > p:not(.error-code) { color: var(--muted); }
.error-code { color: var(--orange); font: 1rem ui-monospace, monospace; }
footer { min-height: 90px; padding: 24px clamp(20px, 5vw, 72px); display: flex; justify-content: space-between; gap: 30px; color: var(--muted); border-top: 1px solid var(--line); font-size: .78rem; }

@media (max-width: 760px) {
  main { width: min(100% - 28px, 1180px); }
  .header-note { display: none; }
  .hero { padding-top: 70px; }
  .hero-copy { margin-left: 0; }
  .section-heading, .detail-heading { align-items: start; flex-direction: column; }
  .search-panel { position: static; align-items: stretch; flex-direction: column; }
  .field { min-width: 0; }
  .store-grid { grid-template-columns: 1fr; }
  .store-card-link { min-height: 190px; grid-template-columns: 36px 1fr auto; padding: 20px; gap: 12px; }
  .detail-list > div { grid-template-columns: 80px 1fr; }
  footer { align-items: start; flex-direction: column; }
}

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