:root {
  --rose: #e65472;
  --rose-deep: #bf3858;
  --rose-soft: #fff0f3;
  --ivory: #fffdfa;
  --paper: #ffffff;
  --ink: #242124;
  --muted: #777176;
  --line: #eee7e5;
  --sage: #6d7b6a;
  --gold: #a47742;
  --shadow: 0 8px 28px rgba(70, 30, 40, .06);
  --shell: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 250, .94);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
  backdrop-filter: blur(14px);
}
.topbar-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand-area { display: flex; align-items: center; gap: 22px; min-width: 0; }
.wordmark {
  color: var(--rose-deep);
  font: 500 34px/1 "Bodoni 72", Didot, "Times New Roman", serif;
  text-decoration: none;
}
.location-trigger {
  max-width: 180px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.location-trigger span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-trigger svg { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 2.4; }
.location-trigger:focus { outline: 0; }
.location-trigger:focus-visible { outline: 2px solid rgba(230,84,114,.4); outline-offset: 4px; border-radius: 4px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn svg { width: 21px; height: 21px; }
#favoriteHeaderButton, .my-bookings-shortcut {
  color: var(--rose);
  border-radius: 50%;
  transition: color .18s ease, background-color .18s ease;
}
#favoriteHeaderButton:hover, .my-bookings-shortcut:hover {
  color: var(--rose-deep);
  background: var(--rose-soft);
}
.notification-btn { position: relative; }
.notification-btn span {
  position: absolute;
  top: 8px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--rose);
  border-radius: 50%;
  border: 1px solid white;
}
.admin-shortcut { color: var(--muted); text-decoration: none; font-size: 13px; margin-left: 6px; }

.search-wrap { padding-top: 18px; }
.search-box {
  height: 54px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 27px;
  display: grid;
  grid-template-columns: 22px 1fr 42px;
  align-items: center;
  gap: 10px;
  padding: 0 7px 0 18px;
}
.search-box > svg { width: 20px; color: #9a9498; }
.search-box input {
  border: 0;
  outline: 0;
  min-width: 0;
  background: transparent;
  color: var(--ink);
}
.search-box input::placeholder { color: #aaa3a7; }
.filter-trigger { color: var(--muted); }

.hero-section { margin-top: 16px; }
.hero-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 8px;
  background-color: #f8eeea;
  border: 1px solid rgba(0,0,0,.04);
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-image {
  margin: 0;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  user-select: none;
}
.primary-button, .secondary-button, .book-button {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.primary-button, .book-button { color: white; background: var(--rose); }
.secondary-button { color: var(--ink); background: white; border-color: var(--line); }

.category-section, .designs-section, .shops-section { padding-top: 38px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-heading.compact { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: 23px; line-height: 1.3; }
.eyebrow { margin: 0 0 5px; color: var(--rose-deep); font-size: 11px; font-weight: 800; }
.text-action { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.category-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.category-item {
  border: 0;
  background: transparent;
  min-width: 0;
  padding: 6px 2px;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #5b5659;
  cursor: pointer;
}
.category-symbol {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #595154;
  font: italic 500 20px/1 "Times New Roman", serif;
}
.category-item.is-active { color: var(--rose-deep); font-weight: 700; }
.category-item.is-active .category-symbol { background: var(--rose-soft); border-color: #f3bcc7; color: var(--rose-deep); }

.design-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 23%);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.design-card { cursor: pointer; min-width: 0; text-align: center; }
.design-card img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  border-radius: 8px;
  background: #f3efed;
  display: block;
}
.design-card h3 { margin: 10px 0 3px; font-size: 15px; text-align: center; }
.design-card p { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.inline-empty { color: var(--muted); font-size: 14px; padding: 24px 0; }

.availability-band {
  margin-top: 44px;
  padding: 36px 0;
  background: white;
  border-block: 1px solid var(--line);
}
.freshness { color: var(--muted); font-size: 12px; }
.date-scroller, .time-scroller { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.date-scroller::-webkit-scrollbar, .time-scroller::-webkit-scrollbar { display: none; }
.date-button {
  width: 76px;
  min-width: 76px;
  height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  cursor: pointer;
  scroll-snap-align: start;
}
.date-button span { font-size: 12px; color: var(--muted); }
.date-button strong { font-size: 15px; }
.date-button.is-active { background: var(--rose); border-color: var(--rose); color: white; }
.date-button.is-active span { color: white; }
.time-scroller { margin-top: 14px; min-height: 42px; align-items: center; }
.time-button {
  min-width: 76px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  cursor: pointer;
  scroll-snap-align: start;
}
.time-button.is-active { background: var(--ink); border-color: var(--ink); color: white; }
.time-empty { color: var(--muted); font-size: 14px; }

.shops-section { padding-bottom: 110px; }
.result-count { color: var(--rose-deep); font-weight: 800; }
.active-filter-row { display: flex; gap: 8px; flex-wrap: wrap; min-height: 10px; margin-bottom: 12px; }
.filter-chip { border: 1px solid var(--line); background: white; border-radius: 18px; padding: 7px 11px; color: var(--muted); font-size: 12px; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shop-load-more { display: block; min-width: 132px; margin: 28px auto 0; }
.shop-load-more[hidden] { display: none; }
.shop-card {
  background: white;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 0;
}
.shop-image {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  background: #f2eeec;
  display: block;
}
.shop-image-fallback {
  aspect-ratio: 1.45 / 1;
  background: #f5efed;
  color: #b88791;
  display: grid;
  place-items: center;
  font: 500 38px/1 "Times New Roman", serif;
}
.shop-body { padding: 18px; }
.shop-title-row { display: grid; grid-template-columns: minmax(0,1fr) 36px; align-items: start; gap: 10px; }
.shop-title-row h3 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.favorite-button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; color: #9e969b; }
.favorite-button svg { width: 20px; }
.favorite-button.is-active { color: var(--rose); }
.shop-meta { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.status-line { margin: 16px 0 9px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.status-line strong { color: var(--sage); }
.slot-row { display: flex; gap: 7px; min-height: 33px; overflow-x: auto; scrollbar-width: none; }
.slot-chip { min-width: 58px; padding: 7px 10px; border-radius: 17px; background: var(--rose-soft); color: var(--rose-deep); font-size: 12px; text-align: center; }
.no-slot { color: var(--muted); font-size: 13px; }
.shop-footer { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.source-note { color: #9b9498; font-size: 11px; }
.book-button { min-height: 38px; padding-inline: 16px; font-size: 13px; }
.empty-state { text-align: center; padding: 56px 20px; color: var(--muted); }

.location-sheet { position: fixed; inset: 0; z-index: 75; display: none; }
.location-sheet.is-open { display: block; }
.location-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(31,24,27,.44); }
.location-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(680px, 100%);
  height: min(78vh, 720px);
  transform: translateX(-50%);
  border-radius: 8px 8px 0 0;
  background: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -18px 50px rgba(0,0,0,.12);
}
.location-handle { flex: 0 0 4px; width: 42px; height: 4px; margin: 12px auto 2px; border-radius: 2px; background: #eee9eb; }
.location-header { flex: 0 0 70px; min-height: 70px; padding: 0 24px; background: white; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f2edef; position: relative; z-index: 2; }
.location-title-row { min-width: 0; display: flex; align-items: center; gap: 14px; }
.location-header h2 { margin: 0; font-size: 24px; }
.current-location-button {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rose-deep);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.current-location-button svg { width: 18px; height: 18px; stroke-width: 2; }
.current-location-button:disabled { color: #aaa3a7; cursor: wait; }
.current-location-button:focus-visible { outline: 2px solid rgba(230,84,114,.35); outline-offset: 3px; border-radius: 4px; }
.location-close { flex: 0 0 40px; }
.location-close svg { width: 24px; height: 24px; }
.location-picker { flex: 1; min-height: 0; display: grid; grid-template-columns: 154px minmax(0, 1fr); }
.province-list, .district-list { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.province-list::-webkit-scrollbar, .district-list::-webkit-scrollbar { display: none; }
.province-list { padding: 10px; background: #f7f7f8; }
.province-button, .district-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.province-button { padding: 0 18px; color: #777d82; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.province-button.is-active { border-radius: 8px; background: white; color: var(--ink); font-weight: 800; box-shadow: 0 4px 18px rgba(20,20,20,.06); }
.province-button.has-selection { color: var(--rose-deep); font-weight: 800; }
.province-count { min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 10px; background: var(--rose); color: white; display: inline-grid; place-items: center; font-size: 11px; }
.district-list { padding: 14px 24px 20px; }
.district-button { padding: 0 6px; display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: center; gap: 10px; font-size: 16px; }
.district-check { width: 22px; height: 22px; border: 1px solid #d7d3d5; border-radius: 6px; display: grid; place-items: center; color: transparent; font-size: 14px; font-weight: 900; }
.district-button.is-active { font-weight: 800; }
.district-button.is-active .district-check { border-color: var(--ink); background: var(--ink); color: white; }
.location-selection { flex: 0 0 64px; min-height: 64px; padding: 12px 22px; border-top: 1px solid #f0ecee; display: flex; align-items: center; gap: 8px; overflow-x: auto; }
.location-chip { min-height: 36px; border: 0; border-radius: 6px; padding: 0 12px; background: #f4f5f6; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; font-weight: 700; cursor: pointer; }
.location-chip:hover { background: var(--rose-soft); color: var(--rose-deep); }
.location-selection-empty { color: var(--muted); font-size: 13px; }
.location-actions { flex: 0 0 auto; padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); background: white; display: grid; grid-template-columns: minmax(120px,.7fr) minmax(180px,1.3fr); gap: 12px; }
.location-actions .primary-button { background: var(--ink); }
.location-actions .primary-button, .location-actions .secondary-button { min-height: 52px; border-radius: 8px; }

.filter-sheet { position: fixed; inset: 0; z-index: 60; display: none; }
.filter-sheet.is-open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(31,24,27,.36); width: 100%; }
.sheet-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 100%);
  background: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: -12px 0 34px rgba(0,0,0,.08);
}
.sheet-handle { display: none; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; }
.sheet-header h2 { margin: 0; font-size: 21px; }
.sheet-panel label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; }
.sheet-panel input:not([type=checkbox]) { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 13px; outline: 0; }
.sheet-panel input:focus { border-color: var(--rose); }
.sheet-panel .check-row { display: flex; align-items: center; gap: 9px; }
.check-row input { accent-color: var(--rose); width: 18px; height: 18px; }
.sheet-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }

.bottom-nav {
  display: none;
  position: fixed;
  z-index: 50;
  inset: auto 0 0;
  width: 100%;
  height: calc(64px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(5, 1fr);
  opacity: 1;
  visibility: visible;
  transform: none;
  -webkit-transform: none;
  box-shadow: 0 -6px 20px rgba(70, 30, 40, .07);
  isolation: isolate;
}
.bottom-nav button, .bottom-nav a { border: 0; background: transparent; display: grid; place-items: center; align-content: center; gap: 3px; color: #817a7e; font-size: 10px; cursor: pointer; text-decoration: none; }
.bottom-nav svg { width: 21px; height: 21px; }
.bottom-nav .is-active { color: var(--rose); }

.favorites-main { min-height: calc(100vh - 70px); }
.favorites-head {
  padding-top: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.favorites-head h1 { margin: 0; font-size: 30px; line-height: 1.25; }
.favorites-actions { display: flex; align-items: center; gap: 10px; color: var(--rose-deep); }
.favorites-actions strong { font-size: 15px; }
.clear-favorites { color: var(--muted); border: 1px solid var(--line); border-radius: 50%; }
.favorites-content { padding-top: 24px; padding-bottom: 110px; }
.favorites-empty {
  min-height: 420px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 16px;
  color: var(--muted);
  text-align: center;
}
.favorites-empty > svg { width: 42px; height: 42px; color: #c7bcc0; }
.favorites-empty h2 { margin: 0 0 4px; color: var(--ink); font-size: 20px; }

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 90px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: white;
  padding: 11px 16px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; }
}

@media (max-width: 1024px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .category-row { grid-template-columns: repeat(7, minmax(68px, 1fr)); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .category-item { scroll-snap-align: start; }
  .design-scroller { grid-auto-columns: 210px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 701px) and (max-width: 1024px) {
  .availability-band { padding-block: 32px; }
  .availability-band .shell {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
  }
  .availability-band .section-heading { grid-row: 1 / span 2; display: block; margin: 3px 0 0; }
  .availability-band .freshness { display: block; margin-top: 10px; line-height: 1.45; }
  .availability-band .date-scroller,
  .availability-band .time-scroller { grid-column: 2; }
  .shop-body { padding: 16px; }
}

@media (min-width: 601px) and (max-width: 700px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .category-row { grid-template-columns: repeat(7, 74px); }
  .shop-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  html, body { height: 100%; overflow: hidden; }
  body {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--mobile-viewport-height, 100dvh);
    min-height: 0;
    padding-bottom: 0;
  }
  .topbar { flex: 0 0 auto; }
  main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .topbar-inner { height: 56px; }
  .brand-area { gap: 14px; }
  .wordmark { font-size: 27px; }
  .location-trigger { max-width: 112px; min-height: 36px; font-size: 17px; }
  .location-trigger svg { width: 16px; height: 16px; }
  .admin-shortcut, #favoriteHeaderButton, .notification-btn, .my-bookings-shortcut { display: none; }
  .search-wrap {
    position: static;
    z-index: auto;
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 253, 250, .96);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    backdrop-filter: blur(14px);
  }
  .location-sheet {
    top: var(--mobile-viewport-offset-top, 0px);
    bottom: auto;
    height: var(--mobile-viewport-height, 100dvh);
  }
  .location-panel { height: min(82dvh, 720px); max-height: calc(100% - 8px); border-radius: 8px 8px 0 0; }
  .location-header { flex-basis: 64px; min-height: 64px; padding-inline: 18px; }
  .location-header h2 { font-size: 22px; }
  .location-title-row { gap: 11px; }
  .current-location-button { font-size: 13px; }
  .current-location-button svg { width: 17px; height: 17px; }
  .location-picker { grid-template-columns: 118px minmax(0,1fr); }
  .province-list { padding: 8px; }
  .province-button { min-height: 50px; padding-inline: 12px; font-size: 15px; }
  .district-list { padding: 12px 16px 18px; }
  .district-button { min-height: 50px; font-size: 15px; }
  .location-selection { min-height: 58px; padding: 10px 14px; }
  .location-actions { padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); grid-template-columns: 1fr 1.5fr; }
  .search-box { height: 46px; box-shadow: 0 5px 18px rgba(70, 30, 40, .04); }
  .hero-section { width: 100%; margin-top: 0; }
  .hero-track { border-inline: 0; border-radius: 0; }
  .category-section, .designs-section, .shops-section { padding-top: 22px; }
  .section-heading { margin-bottom: 14px; }
  .section-heading h2 { font-size: 19px; }
  .category-row { grid-template-columns: repeat(7, 60px); gap: 2px; margin-right: -12px; padding-right: 12px; }
  .category-symbol { width: 44px; height: 44px; font-size: 18px; }
  .category-item { font-size: 11px; }
  .design-scroller { grid-auto-columns: 138px; gap: 10px; }
  .design-card img { aspect-ratio: 1 / .9; }
  .availability-band { margin-top: 24px; padding: 24px 0 22px; }
  .availability-band .section-heading { align-items: center; }
  .freshness { max-width: 110px; text-align: right; line-height: 1.4; }
  .date-scroller, .time-scroller { margin-right: -12px; padding-right: 12px; }
  .date-button { width: 62px; min-width: 62px; height: 64px; }
  .time-scroller { margin-top: 11px; }
  .time-button { min-width: 66px; height: 38px; }
  .shops-section { padding-top: 24px; }
  .shop-grid { grid-template-columns: 1fr; gap: 12px; }
  .shop-card { display: grid; grid-template-columns: 116px minmax(0,1fr); min-height: 188px; box-shadow: 0 5px 18px rgba(70, 30, 40, .055); }
  .shop-image, .shop-image-fallback { height: 100%; min-height: 188px; aspect-ratio: auto; }
  .shop-body { min-width: 0; padding: 13px; display: flex; flex-direction: column; }
  .shop-title-row { grid-template-columns: minmax(0,1fr) 30px; gap: 5px; }
  .shop-title-row h3 { font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .favorite-button { width: 30px; height: 30px; }
  .shop-meta { margin-top: 5px; font-size: 11px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .status-line { margin: 9px 0 7px; }
  .slot-row { min-height: 28px; gap: 5px; }
  .slot-chip { min-width: 52px; padding: 6px 8px; font-size: 11px; }
  .shop-footer { align-items: flex-end; margin-top: auto; padding-top: 9px; }
  .source-note { display: none; }
  .book-button { min-height: 34px; padding-inline: 13px; font-size: 12px; }
  .bottom-nav {
    display: grid;
    position: absolute;
    top: auto;
    bottom: 0;
    height: calc(62px + env(safe-area-inset-bottom));
  }
  .bottom-nav button, .bottom-nav a { gap: 2px; }
  .bottom-nav .is-active { font-weight: 700; }
  .shops-section { padding-bottom: 24px; }
  .favorites-head { padding-top: 25px; align-items: center; }
  .favorites-head h1 { font-size: 23px; }
  .favorites-content { padding-top: 18px; padding-bottom: 24px; }
  .favorites-empty { min-height: calc(var(--mobile-viewport-height, 100dvh) - 220px); }
  .favorites-page .top-actions .icon-btn:first-child { display: none; }
  .sheet-panel { top: auto; bottom: 0; height: auto; max-height: 88vh; border-radius: 8px 8px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .sheet-handle { display: block; width: 38px; height: 4px; border-radius: 2px; background: #d8d1d4; margin: -12px auto 0; }
}

@media (max-width: 390px) {
  .shop-card { grid-template-columns: 108px minmax(0,1fr); }
  .shop-body { padding: 12px; }
  .book-button { padding-inline: 11px; }
}

@media (hover: none) and (pointer: coarse) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; }
}
