:root {
  --bg: #f8f7f9;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6570;
  --line: #efe6ea;
  --primary: #ff5a70;
  --primary-dark: #e0435a;
  --primary-soft: #ffe5ea;
  --field: #efeff2;
  --ok: #1f7a4d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
button, input { font: inherit; }
a { color: var(--primary); }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(248, 247, 249, 0.94);
  backdrop-filter: blur(10px);
  padding: 10px 12px 8px;
}
.bar { display: flex; gap: 8px; align-items: center; max-width: 720px; margin: 0 auto; }
.iconbtn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--primary);
  font-size: 1.35rem;
  cursor: pointer;
  flex: none;
}
.iconbtn.on { background: var(--primary-soft); }
.world {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  flex: none;
  min-height: 40px;
}
.world-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.world.family .world-mark { background: #3fae86; }
.chev { font-size: 0.7rem; }
.search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--field);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted);
  min-width: 0;
}
.search input {
  border: 0;
  background: transparent;
  width: 100%;
  margin: 0;
  padding: 0;
  outline: none;
  color: var(--text);
}
.menu {
  position: absolute;
  left: 12px;
  top: 58px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(40, 10, 20, 0.14);
  padding: 6px;
  min-width: 148px;
  z-index: 6;
}
.menu button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 600;
}
.menu button.on, .menu button:hover { background: var(--primary-soft); color: var(--primary); }
.hub {
  background: var(--card);
  border-radius: 16px;
  margin: 8px auto 4px;
  padding: 14px 8px;
  box-shadow: 0 8px 18px rgba(40, 10, 20, 0.06);
  border: 1px solid rgba(255, 90, 112, 0.08);
  width: calc(100% - 24px);
  max-width: 720px;
}
#worldMenu { left: 64px; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 10px;
}
.count { margin: 4px 16px 0; color: var(--muted); font-size: 0.82rem; max-width: 720px; }
.gate {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 32px 24px;
}
.gate .lock { font-size: 3rem; color: var(--primary); }
.row { display: flex; gap: 8px; align-items: center; }
.grow { flex: 1; min-width: 0; }
.gitem {
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
}
.gicon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 3px 7px rgba(40, 10, 20, 0.18);
  border: 1.2px solid rgba(255, 255, 255, 0.55);
}
.gicon.plain {
  background: var(--field);
  color: var(--primary);
  box-shadow: none;
  border-color: rgba(107, 101, 112, 0.35);
}
.gitem.on .gicon { outline: 3px solid var(--primary); outline-offset: 2px; }
.card {
  display: block;
  background: var(--card);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 18px rgba(40, 10, 20, 0.06);
}
.card-top { display: flex; gap: 12px; }
.card img, .card .ph {
  width: 108px;
  height: 108px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--primary-soft);
  flex: none;
}
.card h2 { margin: 0; font-size: 1rem; line-height: 1.3; flex: 1; min-width: 0; }
.name-row { display: flex; gap: 8px; align-items: flex-start; }
.pill {
  flex: none;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 10px;
}
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
}
.quote {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exp { overflow: hidden; }
.exp div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.exp {
  margin-top: 10px;
  background: #fff5f7;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 16px 4px;
  max-width: 720px;
  margin: 0 auto;
}
.trip-item { margin: 0 0 10px; }
.trip-item h2 { font-size: 1rem; }
.gate label { width: min(360px, 100%); text-align: left; }
.gate.auth { align-items: stretch; width: min(360px, 100%); margin: 0 auto; }
.gate.auth .btn, .gate.auth .back { display: block; width: 100%; margin-top: 8px; text-align: center; }
button#googleBtn {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 4px 0 8px;
  background: #fff;
  border: 1px solid #d8d4da;
  color: var(--text);
  font-weight: 700;
}
.check { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 0.85rem; color: var(--text); }
.check input { width: auto; margin: 2px 0 0; }
a.btn { display: inline-block; text-decoration: none; }
.chip, .btn, .back {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.chip.on, .btn.primary { background: var(--primary); color: #fff; }
.btn.primary { border-radius: 12px; padding: 12px 16px; font-weight: 700; }
.btn:disabled { opacity: 0.5; cursor: default; }
.list, .detail { padding: 8px 16px 32px; max-width: 720px; margin: 0 auto; }
.meta { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.hot { color: var(--primary); font-weight: 700; }
.cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--primary-soft);
}
.block {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  margin-top: 12px;
}
.slot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
  cursor: pointer;
}
.slot.on { border-color: var(--primary); background: var(--primary-soft); }
label { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
input, select {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.note { color: var(--muted); font-size: 0.82rem; }
.err { color: #b42318; font-size: 0.88rem; }
.ok { color: var(--ok); font-weight: 700; }
.hidden { display: none; }
.empty { color: var(--muted); padding: 24px 0; }
.filter-card, .module, .sunset {
  background: var(--card);
  border-radius: 16px;
  margin: 8px auto;
  width: calc(100% - 24px);
  max-width: 720px;
  box-shadow: 0 8px 18px rgba(40, 10, 20, 0.06);
}
.filter-card { padding: 8px 10px; }
.pills { display: flex; gap: 8px; overflow-x: auto; }
.pill-btn {
  border: 0;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.pill-btn .mark { color: var(--primary); margin-right: 4px; }
.sum { margin: 6px 2px 0; color: var(--muted); font-size: 12px; }
.sunset {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(135deg, #fffbf8, #ffe5ea 55%, #fff);
  border: 1px solid rgba(255, 90, 112, 0.12);
}
.sun {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #ffb088, #ff5a70);
  flex: none;
}
.sunset .k { font-size: 10px; color: var(--muted); font-weight: 600; }
.sunset .t { font-size: 18px; font-weight: 700; }
.sunset .sub { font-size: 10px; color: var(--muted); margin-left: 4px; }
.hko {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 90, 112, 0.2);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--primary-dark);
  font-size: 8px;
  font-weight: 600;
  text-align: center;
  background: #fff;
}
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 12px 8px; max-width: 744px; margin: 0 auto; }
.spot {
  flex: none;
  width: 248px;
  height: 118px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  text-align: left;
  padding: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #e0435a;
  background-size: cover;
  background-position: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}
.spot b, .spot span { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45); }
.spot b { font-size: 17px; }
.spot span { font-size: 12px; opacity: 0.92; }
.module { padding: 16px; }
.mod-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mod-head h3 { margin: 0; font-size: 18px; }
.mod-head button, .cat-bar button {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}
.disclaimer { margin: 4px 0 10px; color: var(--muted); font-size: 11px; }
.mini {
  flex: none;
  width: 200px;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 14px rgba(40, 10, 20, 0.07);
}
.mini img, .mini .ph {
  width: 200px;
  height: 148px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.mini div { padding: 8px 10px 10px; }
.mini strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
.mini p { margin: 4px 0 0; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.end-tile {
  flex: none;
  width: 200px;
  min-height: 210px;
  border-radius: 14px;
  border: 1.5px dashed rgba(107, 101, 112, 0.45);
  background: var(--field);
  cursor: pointer;
  color: var(--text);
}
.cat-bar { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; }
.cat-bar h2 { margin: 0; font-size: 20px; }
.sec-title { margin: 8px 0 2px; font-size: 17px; font-weight: 700; }
.sec-sub { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.prow {
  display: block;
  background: var(--card);
  border-radius: 16px;
  margin: 0 0 18px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(40, 10, 20, 0.06);
  color: inherit;
  text-decoration: none;
}
.prow-cover { position: relative; height: 168px; background: var(--primary-soft); display: block; }
.prow-cover img, .prow-cover .ph { width: 100%; height: 168px; object-fit: cover; display: block; border-radius: 0; }
.mini .ph { width: 200px; height: 148px; border-radius: 0; }
.heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
}
.heart.on { color: var(--primary); }
.prow-body { padding: 10px 14px 12px; }
.prow a, .mini { color: inherit; text-decoration: none; }
.prow h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.decide { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 600; }
.star { color: var(--primary-dark); }
.star i { color: #f5c400; font-style: normal; }
.indoor { color: var(--primary); }
.muted-bit { color: var(--muted); font-weight: 600; }
.dot { color: #aea8b2; font-weight: 700; }
.top-badge { background: #7ec8a3; color: #fff; border-radius: 999px; font-size: 10px; padding: 2px 7px; }
.region-line { margin-top: 8px; color: var(--primary); font-size: 13px; font-weight: 600; }
.addr, .transit { color: var(--muted); font-size: 13px; margin-top: 4px; }
.transit { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addr { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow-actions { display: flex; align-items: center; margin-top: 10px; min-height: 32px; }
.fav-note { color: #7ec8a3; font-size: 12px; font-weight: 600; }
.save-pill {
  margin-left: auto;
  border: 0;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.sheet {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 12, 0.28);
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sheet.hidden { display: none; }
.sheet-card {
  width: min(720px, 100%);
  max-height: 74vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px 28px;
}
.sheet-card h3 { margin: 0 0 12px; }
.opt {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 10px 8px;
  cursor: pointer;
  font-weight: 600;
}
.opt.on { background: var(--primary-soft); color: var(--primary); }
.opt-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-grid .opt { width: auto; background: var(--field); }
.opt-grid .opt.on { background: var(--primary); color: #fff; }
.brand, .shell-side, .shell-switch { display: none; }
body.wide:not(.desk) {
  background: #e7e4ea;
}
body.wide:not(.desk) .top,
body.wide:not(.desk) #home,
body.wide:not(.desk) #page,
body.wide:not(.desk) #store {
  width: min(430px, 100%);
  margin-left: auto;
  margin-right: auto;
  background: var(--bg);
}
body.wide:not(.desk) #home:not(.hidden),
body.wide:not(.desk) #page:not(.hidden),
body.wide:not(.desk) #store:not(.hidden) {
  min-height: calc(100vh - 64px);
}
body.wide:not(.desk) .shell-switch {
  display: inline-flex;
  align-items: center;
  flex: none;
  border: 0;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
body.desk {
  padding-left: 232px;
  background: #f3f1f5;
}
body.desk .top {
  background: #f8f7f9;
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.desk #menuBtn { display: none; }
body.desk #menu,
body.desk #menu.hidden {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 232px;
  height: 100vh;
  margin: 0;
  padding: 18px 12px 16px;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid var(--line);
  background: #fff;
  z-index: 20;
  min-width: 0;
  overflow: auto;
}
body.desk .brand { display: block; padding: 6px 10px 16px; }
body.desk .brand strong {
  display: block;
  color: var(--primary);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
body.desk .brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
body.desk #menu button[data-tab] { padding: 12px; font-size: 1rem; }
body.desk .shell-side {
  display: block;
  margin-top: auto;
  border: 1px solid var(--line);
  background: var(--field);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}
body.desk .bar,
body.desk .hub,
body.desk .filter-card,
body.desk .module,
body.desk .sunset,
body.desk .hscroll,
body.desk .list,
body.desk .detail,
body.desk .chips,
body.desk .count { max-width: 1120px; }
body.desk .grid { grid-template-columns: repeat(8, 1fr); }
body.desk .hscroll.spots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: visible;
}
body.desk .spot { width: auto; height: 148px; }
body.desk .list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 16px;
  align-items: start;
}
body.desk .list > :not(.prow):not(.card) { grid-column: 1 / -1; }
body.desk .prow, body.desk .card { margin-bottom: 0; }
body.desk .sheet { left: 232px; align-items: center; }
body.desk .sheet-card {
  width: min(520px, calc(100% - 32px));
  border-radius: 16px;
  margin-bottom: 8vh;
}
body.desk #worldMenu { left: 12px; }
