:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #2f3440;
  --muted: #8791a6;
  --line: #edf0f7;
  --purple: #9d4edd;
  --pink: #f43f8f;
  --blue: #5f78ff;
  --shadow: 0 4px 14px rgba(28, 34, 50, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 10px;
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: var(--pink);
  font-size: 17px;
}

.brand-mark {
  color: var(--purple);
  font-size: 20px;
  line-height: 1;
}

.brand strong {
  font-weight: 500;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
}

.top-nav a {
  padding: 7px 9px;
  border-radius: 7px;
}

.top-nav a:hover,
.nav-cta {
  background: #f7f3ff;
  color: var(--pink);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 20px;
  color: var(--blue);
  font-size: 14px;
}

.breadcrumb span:last-child {
  color: #9aa3b7;
}

.hero {
  min-height: 224px;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(110deg, #a748e8 0%, #c943c3 48%, #f13875 100%);
  box-shadow: var(--shadow);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 224px;
  padding: 38px 24px 28px;
  color: #fff;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  margin: 24px 0 22px;
  color: rgba(255, 255, 255, .94);
  font-size: 16px;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 145px 145px auto;
  gap: 10px;
  width: min(760px, 100%);
  padding: 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .18);
}

.search-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.search-field span {
  color: #707b93;
  font-size: 13px;
}

.search-field input,
.search-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-panel button,
.large-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.search-panel button,
.large-button {
  border: 0;
  background: #e45f49;
  color: #fff;
}

.outline-button {
  border: 1px solid #e6e9f2;
  background: #fff;
  color: var(--blue);
}

.last-updated {
  margin: 44px 0 64px 12px;
  color: var(--muted);
  font-size: 13px;
}

.quick-stats {
  display: none;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.map-index {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 58px;
}

.map-shell,
.selected-panel,
.shop-card,
.info-band,
.register-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 14px;
}

h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.ghost-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #e6e9f2;
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}

.google-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, .65) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, .65) 49% 51%, transparent 52%),
    #eef1f8;
  background-size: 64px 64px;
}

.google-map iframe,
.google-map.is-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-key-message {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: none;
  width: min(390px, calc(100% - 32px));
  padding: 13px;
  border-radius: 7px;
  background: rgba(47, 52, 64, .88);
  color: #fff;
}

.map-key-message strong,
.map-key-message span {
  display: block;
}

.map-key-message span {
  margin-top: 5px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
}

.google-map.needs-key .map-key-message {
  display: block;
}

.selected-panel {
  align-self: stretch;
  padding: 20px;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 2px;
}

.summary-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7f3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 16px 0 20px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.summary-actions {
  display: grid;
  gap: 10px;
}

.shop-section {
  margin-bottom: 58px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  text-align: center;
}

.section-head .eyebrow {
  display: none;
}

.section-head h2 {
  color: var(--pink);
  font-size: 24px;
}

.section-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.result-count {
  color: var(--muted);
  font-weight: 700;
}

.chapter-list {
  display: grid;
  gap: 42px;
}

.shop-chapter {
  display: grid;
  gap: 16px;
}

.chapter-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--pink);
  text-align: center;
}

.chapter-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  justify-self: center;
  padding: 3px 18px;
  border-radius: 10px;
  background: #FF00FF;
  color:#fff;
}

.chapter-head span {
  color: var(--purple);
  font-size: 15px;
}

.shop-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shop-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.shop-card:hover,
.shop-card.is-selected {
  border-color: rgba(244, 63, 143, .28);
  box-shadow: 0 7px 20px rgba(46, 52, 78, .16);
  transform: translateY(-2px);
}

.shop-main {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 0 0 16px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: center;
}

.shop-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.shop-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(255, 255, 255, .42), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0));
}

.shop-thumb span {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
}

.shop-topline {
  display: grid;
  gap: 6px;
  padding: 4px 18px 0;
}

.shop-topline strong {
  color: var(--pink);
  font-size: 18px;
  font-weight: 700;
}

.shop-topline span {
  justify-self: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: #faf0ff;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
}

.shop-meta,
.shop-address {
  padding: 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
}

.tags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f7f3ff;
  color: var(--blue);
  font-size: 12px;
}

.shop-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.shop-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.shop-actions a + a {
  border-left: 1px solid var(--line);
  color: var(--pink);
}

.info-band,
.register-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4px;
  margin-bottom: 42px;
  padding: 26px;
  border: 0;
  background: linear-gradient(110deg, #a748e8 0%, #f13875 100%);
  color: #fff;
}

.info-band {
  grid-template-columns: 1fr;
  text-align: center;
}

.notice-copy {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.notice-copy strong {
  max-width: 980px;
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 700;
  line-height: 1.45;
}

.notice-copy span {
  max-width: 920px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.55;
}

.info-band .eyebrow,
.register-band .eyebrow {
  color: rgba(255, 255, 255, .75);
}

.info-band ul {
  margin: 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, .9);
}

.info-band li + li {
  margin-top: 8px;
}

.register-band {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.register-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .86);
}

.empty-state {
  padding: 26px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .search-panel,
  .map-index,
  .info-band,
  .register-band {
    grid-template-columns: 1fr;
  }

  .shop-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header,
  main {
    width: min(100% - 24px, 1180px);
  }

  .hero-content {
    padding: 30px 16px 22px;
  }

  .search-panel,
  .shop-list {
    grid-template-columns: 1fr;
  }

  .map-toolbar,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .last-updated {
    margin: 28px 0 42px;
  }

  .google-map {
    min-height: 320px;
  }

  .summary-list div {
    flex-direction: column;
    gap: 4px;
  }

  .summary-list dd {
    text-align: left;
  }
}
