:root {
  --coral: #f0573c;
  --coral-deep: #d94429;
  --ink: #141414;
  --muted: #666;
  --line: #e6e6e6;
  --paper: #f5f5f5;
  --surface: #fff;
  --shell: 1180px;
  --font-ui: "Zen Maru Gothic", "PingFang TC", "Noto Sans TC", sans-serif;
  --font-en: "Figtree", var(--font-ui);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(1400px 520px at 85% -8%, rgba(240, 87, 60, 0.1), transparent 60%),
    var(--paper);
  font-family: var(--font-ui);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(var(--shell), calc(100% - 2.5rem));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link.is-active {
  border-bottom-color: var(--coral);
}

.page {
  padding: 1.5rem 0 2.5rem;
}

.page-hero {
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 900;
}

.page-hero > p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.page-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-jump a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--muted);
}

.page-jump a:hover {
  border-color: var(--coral);
  color: var(--coral-deep);
}

.about-lead p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.about-grid article {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.about-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 900;
}

.about-grid p,
.about-legal {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.share-hero {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.share-hero img {
  border-radius: 16px;
}

.share-hero h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.share-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.store {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.store--soon {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.district-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.district-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.district-card {
  display: block;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.district-card:hover {
  border-color: rgba(240, 87, 60, 0.45);
  transform: translateY(-2px);
}

.district-card__top h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 900;
}

.district-card__top span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.district-card__cta {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--coral);
  font-weight: 800;
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .about-grid,
  .district-cards {
    grid-template-columns: 1fr;
  }

  .share-hero {
    align-items: flex-start;
  }
}

.muted { color: var(--muted); }
.ok { color: #0f766e; font-weight: 700; }
.hint { color: var(--coral-deep); font-weight: 600; min-height: 1.2rem; }
.back { color: var(--muted); font-weight: 700; font-size: 0.9rem; }

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  font-size: 1.15rem;
}

.top__brand img {
  border-radius: 9px;
}

.top__en {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

/* —— carousel 400px —— */
.carousel {
  position: relative;
  height: 400px;
  margin-top: 1.25rem;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1a1a;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.72) 0%, rgba(10, 10, 12, 0.28) 55%, rgba(10, 10, 12, 0.15) 100%),
    var(--bg) center / cover no-repeat;
  color: #fff;
}

.carousel__copy {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 2.75rem);
  max-width: 28rem;
}

.carousel__kicker {
  margin: 0 0 0.45rem;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.carousel__copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 900;
  line-height: 1.3;
}

.carousel__copy h2 em {
  font-style: normal;
  color: #ffb39f;
}

.carousel__dots {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.carousel__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.carousel__dots button.is-active {
  width: 22px;
  background: #fff;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.carousel__nav:hover {
  background: rgba(0, 0, 0, 0.55);
}

.carousel__nav--prev { left: 0.85rem; }
.carousel__nav--next { right: 0.85rem; }

/* —— search —— */
.search {
  margin-top: 1.75rem;
  animation: rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.search--hero {
  margin-top: 2rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 24px;
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(240, 87, 60, 0.14), transparent 55%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(20, 20, 20, 0.06);
}

.search__brand {
  margin: 0 0 0.35rem;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--coral);
}

.search__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.9rem, 4.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.25;
}

.search__title-accent {
  color: var(--coral);
}

.search__lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.search__form {
  display: grid;
  grid-template-columns: 170px 170px minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: end;
  padding: 1.15rem;
  background: #fafafa;
  border: 2px solid rgba(240, 87, 60, 0.28);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(240, 87, 60, 0.06);
}

.field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--muted);
}

.field select,
.field input {
  width: 100%;
  min-height: 3.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.btn--search {
  min-height: 3.6rem;
  min-width: 8.5rem;
  font-size: 1.1rem;
  border-radius: 14px;
}

.field select:focus,
.field input:focus {
  border-color: var(--coral);
  background: #fff;
}

.field select:disabled {
  opacity: 0.55;
}

.suggest {
  position: relative;
}

.suggest__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  max-height: 240px;
  overflow: auto;
}

.suggest__list button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
}

.suggest__list button:hover {
  background: rgba(240, 87, 60, 0.08);
}

.suggest__list small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  min-width: 7.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  cursor: pointer;
}

.btn--primary {
  background: var(--coral);
  color: #fff;
}

.btn--primary:hover {
  background: var(--coral-deep);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.search__hint {
  min-height: 1.25rem;
  margin-top: 0.75rem;
  color: var(--coral-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

/* —— horizontal cards —— */
.results {
  margin-top: 2.25rem;
  animation: rise 0.55s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.results__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.results__head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.results__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rail {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0.15rem 0.85rem;
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar {
  height: 6px;
}

.rail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.rail li {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.rail li:hover {
  border-color: rgba(240, 87, 60, 0.45);
  transform: translateY(-2px);
}

.rail a {
  display: grid;
  min-height: 168px;
  padding: 1.1rem 1.15rem 1.15rem;
  gap: 0.55rem;
  grid-template-rows: auto auto auto auto;
}

.card__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* —— detail / auth —— */
.detail__head h1 {
  margin: 0.55rem 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  line-height: 1.3;
}

.detail__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
}

.tags span,
.badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f0f0f0;
  font-size: 0.8rem;
  font-weight: 700;
}

.detail__unlock {
  margin: 1.25rem 0;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.detail__reviews h2 {
  margin: 1.5rem 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.review {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 0.75rem;
}

.review__top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.review__text {
  margin: 0.55rem 0 0;
  line-height: 1.55;
}

.auth {
  display: grid;
  place-items: start center;
}

.auth__card {
  width: min(440px, 100%);
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.auth__card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  font-weight: 900;
}

.auth__form {
  display: grid;
  gap: 0.85rem;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
}

.auth__switch {
  margin-top: 1rem;
  color: var(--muted);
}

.auth__switch a {
  color: var(--coral);
  font-weight: 800;
}

.social {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.btn--google,
.btn--apple {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.btn--google:hover {
  border-color: #4285f4;
}

.btn--apple {
  background: #111;
  color: #fff;
  border-color: #111;
}

.btn--apple:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.divider {
  display: grid;
  place-items: center;
  margin: 1rem 0 1.15rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--line);
}

.divider span {
  position: relative;
  background: #fff;
  padding: 0 0.65rem;
}

.review__block {
  margin-top: 0.75rem;
}

.review__block h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f0f0f0;
}

.tag--pro {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.tag--con {
  background: rgba(240, 87, 60, 0.12);
  color: var(--coral-deep);
}

.check-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.check-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.check-tag__mark {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}

.check-tag.is-on {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.28);
}

.check-tag.is-on .check-tag__mark {
  background: #10b981;
  color: #fff;
}

.check-tag.is-off {
  background: #f3f3f3;
  color: #b0b0b0;
  border-color: #e8e8e8;
}

.check-tag.is-off .check-tag__mark {
  background: #e5e5e5;
  border: 1.5px solid #cfcfcf;
}

.panel {
  margin-bottom: 1.75rem;
}

.panel h1,
.panel h2 {
  margin: 0 0 0.65rem;
  font-weight: 900;
}

.panel h2 {
  font-size: 1.15rem;
}

.results__head a {
  color: var(--coral);
  font-weight: 800;
  font-size: 0.92rem;
}

/* —— latest marquee —— */
.latest-marquee {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  --marquee-duration: 40s;
}

.marquee.is-running .marquee__track {
  animation: marquee-x var(--marquee-duration) linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__chip {
  flex: 0 0 auto;
  display: grid;
  gap: 0.2rem;
  min-width: 220px;
  max-width: 280px;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.marquee__chip:hover {
  border-color: rgba(240, 87, 60, 0.45);
  transform: translateY(-1px);
}

.marquee__area {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--coral-deep);
}

.marquee__addr {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.marquee__scores {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

@keyframes marquee-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* —— fuzzy map —— */
.map-section {
  margin: 2.25rem 0 1.5rem;
}

.map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #0d0d0f;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.home-map {
  height: 460px;
  width: 100%;
  z-index: 0;
  background: #121212;
}

.map-note {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  background: #171717;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.leaflet-container {
  font-family: var(--font-ui);
  background: #121212;
}

.leaflet-control-zoom a {
  background: #1c1c1c !important;
  color: #fff !important;
  border-color: #333 !important;
}

.leaflet-control-attribution {
  background: rgba(0, 0, 0, 0.55) !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.leaflet-control-attribution a {
  color: rgba(255, 255, 255, 0.7) !important;
}

.leaflet-popup-content-wrapper {
  background: #1a1a1a;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

.leaflet-popup-tip {
  background: #1a1a1a;
}

.leaflet-popup-content {
  font-family: var(--font-ui);
  margin: 0.75rem 0.9rem !important;
}

.map-popup {
  display: grid;
  gap: 0.3rem;
  min-width: 160px;
}

.map-popup strong {
  font-size: 0.98rem;
}

.map-popup span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 700;
}

.map-popup a {
  color: #ff7a5c;
  font-weight: 800;
  margin-top: 0.2rem;
}

/* 醒目地標 */
.map-pin {
  background: transparent !important;
  border: 0 !important;
}

.map-pin__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 999px;
  background: linear-gradient(160deg, #ff7a5c, #f0573c 55%, #d94429);
  border: 3px solid #fff;
  box-shadow:
    0 0 0 4px rgba(240, 87, 60, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 2;
}

.map-pin__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 999px;
  background: rgba(240, 87, 60, 0.45);
  animation: map-pulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes map-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin__pulse { animation: none; opacity: 0; }
}

/* —— homepage info blocks —— */
.districts,
.info-block {
  margin: 2.4rem 0 0;
}

.districts__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.districts__grid button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.districts__grid button:hover {
  border-color: var(--coral);
  color: var(--coral-deep);
  transform: translateY(-1px);
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  counter-reset: check;
}

.checklist li {
  counter-increment: check;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.checklist li::before {
  content: counter(check, decimal-leading-zero);
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--coral);
  font-size: 0.95rem;
  margin-top: 0.1rem;
}

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.flow li {
  padding: 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.flow span {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--coral);
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.flow h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 900;
}

.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.guide-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.guide-card:hover {
  border-color: rgba(240, 87, 60, 0.45);
  transform: translateY(-2px);
}

.guide-card__tag {
  width: fit-content;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 87, 60, 0.1);
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.guide-card h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.info-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq details[open] summary {
  color: var(--coral-deep);
  margin-bottom: 0.45rem;
}

.faq details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-wrap;
}

@media (max-width: 560px) {
  .home-map {
    height: 340px;
  }

  .map-pin__dot {
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    font-size: 0.78rem;
  }

  .search--hero {
    padding: 1.25rem 1rem 1.1rem;
  }

  .flow,
  .guides {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee.is-running .marquee__track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }
}

.card__area {
  display: inline-flex;
  width: fit-content;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(240, 87, 60, 0.1);
  color: var(--coral-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.card__addr {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.card__score {
  color: var(--coral);
  font-weight: 800;
}

/* —— split star ratings —— */
.rating-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 0.85rem 0 0.65rem;
}

.rating-pair__item {
  min-width: 0;
}

.rating-pair__label {
  display: block;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.rating-pair__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.rating-pair__num {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.stars {
  display: inline-flex;
  gap: 0.08em;
  letter-spacing: 0;
  line-height: 1;
}

.star {
  position: relative;
  display: inline-block;
  color: #e5e5e5;
  line-height: 1;
}

.star::after {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--fill, 0) * 100%);
  overflow: hidden;
  color: var(--coral);
}

.rating-pair--md .rating-pair__label { font-size: 0.78rem; }
.rating-pair--md .stars { font-size: 1.15rem; }
.rating-pair--md .rating-pair__num { font-size: 1.15rem; }

.rating-pair--lg .rating-pair__label { font-size: 0.92rem; }
.rating-pair--lg .stars { font-size: 1.55rem; }
.rating-pair--lg .rating-pair__num { font-size: 1.45rem; }

.rating-pair--xl {
  gap: 1rem 1.75rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 1rem 0 0.85rem;
}

.rating-pair--xl .rating-pair__label {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.rating-pair--xl .stars { font-size: 2rem; }
.rating-pair--xl .rating-pair__num { font-size: 1.85rem; }

.review .rating-pair {
  margin-top: 0;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 560px) {
  .rating-pair {
    grid-template-columns: 1fr;
  }

  .rating-pair--xl .stars { font-size: 1.75rem; }
  .rating-pair--xl .rating-pair__num { font-size: 1.55rem; }
}

.rail--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0;
}

.rail--grid li {
  flex: none;
}

.empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.foot {
  padding: 0 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.foot p { margin: 0.2rem 0; }
.foot strong { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track { transition: none; }
  .search, .results { animation: none; }
}

@media (max-width: 900px) {
  .search__form {
    grid-template-columns: 1fr 1fr;
  }

  .field--grow,
  .btn--primary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  :root { --shell: 100%; }

  .shell {
    width: calc(100% - 1.5rem);
  }

  .top__en { display: none; }

  .nav {
    gap: 0.35rem 0.75rem;
  }

  .nav__link {
    font-size: 0.88rem;
  }

  .carousel {
    height: 280px;
    border-radius: 16px;
  }

  .carousel__nav { display: none; }

  .search__form {
    grid-template-columns: 1fr;
  }

  .field--grow,
  .btn--primary {
    grid-column: auto;
  }

  .code-row {
    grid-template-columns: 1fr;
  }
}
