:root {
  --bg: #0b0b0c;
  --bg-elevated: #121214;
  --bg-wash: radial-gradient(120% 80% at 50% 0%, #1a1814 0%, #0b0b0c 58%);
  --text: #f5f2eb;
  --text-secondary: #9a958c;
  --gold: #c4a574;
  --line: rgba(245, 242, 235, 0.08);
  --success: #7a9e7e;
  --warning: #b8956c;
  --danger: #b87a7a;
  --font-display: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-btn: 6px;
  --motion: 220ms;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-body);
  background: #12100e;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.desk {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 28px 20px;
  flex-wrap: wrap;
  background: radial-gradient(80% 60% at 30% 20%, #2a241c 0%, #12100e 55%);
}

.hint { max-width: 260px; color: #cfc8bc; }
.hint-mark {
  width: 56px; height: 56px; border-radius: 10px; object-fit: cover;
  border: 1px solid rgba(196,165,116,.35); margin-bottom: 12px;
}
.hint h1 {
  margin: 0 0 8px; font-weight: 500; letter-spacing: .08em;
  font-family: var(--font-body); font-size: 28px;
}
.hint p { margin: 0 0 12px; color: var(--text-secondary); font-size: 14px; line-height: 1.5; }
.hint ul { padding-left: 18px; margin: 0 0 16px; font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.hint .path { font-size: 12px; opacity: .7; word-break: break-all; }

.phone {
  width: 390px;
  height: 820px;
  background: #000;
  border-radius: 36px;
  border: 10px solid #2a2a2c;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  height: 26px; flex-shrink: 0; background: var(--bg); position: relative; z-index: 5;
}
.phone-notch::after {
  content: ""; position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 108px; height: 9px; background: #111; border-radius: 10px;
}

.app {
  flex: 1; overflow: auto; background: var(--bg); -webkit-overflow-scrolling: touch;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.app::-webkit-scrollbar { width: 0; height: 0; display: none; }
.phone.is-sheet .app { overflow: hidden; }
body.web-app {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.web-app::-webkit-scrollbar { width: 0; height: 0; display: none; }

.tabbar {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(11,11,12,.98);
  border-top: 1px solid var(--line);
  padding: 8px 0 14px;
}
.tabbar.hidden { display: none; }
.tabbar button {
  background: none; border: 0; color: var(--text-secondary);
  font-size: 10px; letter-spacing: .08em; padding: 6px 4px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  position: relative; font-family: var(--font-body);
}
.tabbar button::before {
  content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 1px;
  background: transparent; transition: background var(--motion);
}
.tabbar button img {
  width: 22px; height: 22px; border-radius: 6px; object-fit: cover; opacity: .55;
  filter: grayscale(.3);
}
.tabbar button.on { color: var(--gold); }
.tabbar button.on::before { background: var(--gold); }
.tabbar button.on img { opacity: 1; filter: none; box-shadow: none; }

.screen { min-height: 100%; padding-bottom: 16px; background: var(--bg); }
.screen.home-screen { background: var(--bg); }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 20px 10px; position: sticky; top: 0;
  background: var(--nav-bg, rgba(11,11,12,.72)); backdrop-filter: blur(12px); z-index: 3;
}
.nav-city {
  background: none; border: 0; color: var(--text); font-size: 15px; font-weight: 500;
  cursor: pointer; padding: 0; font-family: var(--font-body);
}
.nav-title { font-size: 15px; }
.nav-back, .nav-link {
  background: none; border: 0; color: var(--gold); font-size: 13px; cursor: pointer; padding: 0;
}
.nav-brand-wrap { display: flex; align-items: center; gap: 8px; }
.nav-brand-wrap img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
.nav-brand { letter-spacing: .06em; font-size: 15px; font-weight: 500; }

.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 22px 0 12px;
}
.section-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.section-head button {
  background: none; border: 0; color: var(--gold); font-size: 12px; cursor: pointer;
}

.hscroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }

.mag-card {
  flex: 0 0 auto; width: 140px; border: 0; padding: 0; background: none;
  color: var(--text); text-align: left; cursor: pointer;
}
.mag-card img {
  width: 140px; height: 96px; object-fit: cover; border-radius: 8px;
  display: block;
}
.mag-t { margin-top: 8px; font-size: 13px; font-weight: 500; }
.mag-d { margin-top: 2px; font-size: 11px; color: var(--text-secondary); }

.rest-list { display: flex; flex-direction: column; gap: 8px; }
.rest-card {
  display: grid; grid-template-columns: 104px 1fr; gap: 14px;
  background: var(--bg-elevated); border-radius: 10px; padding: 10px;
  border: 1px solid var(--line); color: var(--text); text-align: left; cursor: pointer; width: 100%;
  font-family: var(--font-body);
  animation: rowIn .45s ease both;
}
.rest-card:nth-child(1) { animation-delay: .03s; }
.rest-card:nth-child(2) { animation-delay: .06s; }
.rest-card:nth-child(3) { animation-delay: .09s; }
.rest-card:nth-child(4) { animation-delay: .12s; }
.rest-card:nth-child(5) { animation-delay: .15s; }
.rest-card:nth-child(6) { animation-delay: .18s; }
.rest-card img {
  width: 104px; height: 104px; object-fit: cover; border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.rest-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.rest-card .name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.rest-card .meta { margin-top: 4px; font-size: 11px; color: var(--text-secondary); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rest-card .pitch { margin-top: 6px; font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.rest-card .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 10px; color: var(--gold); border: 1px solid rgba(196,165,116,.35);
  border-radius: 4px; padding: 2px 6px;
}

.trust {
  margin-top: 24px; padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  text-align: center; color: var(--text-secondary); font-size: 11px; line-height: 1.55;
}

/* buttons */
.btn {
  display: block; width: 100%; height: 50px;
  border: 1px solid rgba(196,165,116,.45); border-radius: var(--radius-btn);
  background: #f5f2eb; color: #1a1917;
  font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: var(--font-body);
  transition: transform 160ms ease, opacity var(--motion) ease, background var(--motion);
}
.btn:hover { opacity: .94; }
.btn:active { transform: scale(0.96); }
.btn:disabled { opacity: .35; transform: none; }
.btn-ghost {
  background: var(--bg-elevated); color: var(--text);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
}
.btn-text {
  background: transparent; color: var(--gold); border-color: transparent;
  height: auto; padding: 10px 0; letter-spacing: .08em;
}
.link {
  display: inline-block; margin-top: 12px; color: var(--gold); font-size: 13px;
  background: none; border: 0; cursor: pointer; padding: 0; letter-spacing: .06em;
}

.pad { padding: 12px 20px 24px; }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* legacy hero (detail etc.) */
.hero {
  height: 240px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, #0b0b0c 0%, rgba(11,11,12,.28) 32%, transparent 68%),
    radial-gradient(120% 80% at 50% 100%, rgba(0,0,0,.12), transparent 55%);
}
.hero-copy { position: relative; padding: 20px 20px 18px; z-index: 1; }
.hero-copy h2 {
  margin: 0; font-size: 28px; font-weight: 500;
  font-family: var(--font-body);
}
.hero-copy p { margin: 8px 0 0; color: rgba(245,242,235,.78); font-size: 13px; line-height: 1.45; }
.city-band.hero { height: 240px; min-height: 220px; }
.hero-city {
  display: block; margin: 0 0 6px; font-size: 28px; font-weight: 500;
  color: var(--text); padding: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); text-align: left;
}

.chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: transparent;
  color: var(--text-secondary); border-radius: 0; padding: 8px 14px;
  font-size: 12px; cursor: pointer; letter-spacing: .06em;
}
.chip.on { color: var(--text); border-color: rgba(196,165,116,.55); }

.service-card, .area-card, .cat-card {
  flex: 0 0 auto; width: 132px; border: 0; padding: 0; background: none;
  text-align: left; color: var(--text); cursor: pointer;
}
.service-card img, .area-card img, .cat-card img {
  width: 132px; height: 88px; object-fit: cover; border-radius: 4px; display: block;
}
.service-card .t, .area-card .t, .cat-card .t {
  margin-top: 8px; font-size: 13px; font-weight: 500; font-family: var(--font-display);
}
.service-card .d, .area-card .d {
  margin-top: 2px; font-size: 11px; color: var(--text-secondary);
}
.badge-soon {
  display: inline-block; margin-left: 4px; font-size: 10px; color: var(--warning);
}

.cover-lg {
  width: 100%; height: 240px; object-fit: cover; display: block;
}
.detail-panel { padding: 16px 24px 28px; }
.detail-panel h2 {
  margin: 0; font-size: 28px; font-weight: 500;
  font-family: var(--font-display); letter-spacing: .04em;
}
.detail-panel .ja { margin-top: 4px; color: var(--text-secondary); font-size: 13px; }
.kv { display: flex; gap: 8px; margin-top: 10px; font-size: 14px; }
.kv .k { width: 72px; color: var(--text-secondary); flex-shrink: 0; }
.diff {
  display: flex; gap: 3px; margin-top: 10px; align-items: center;
}
.diff i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: inline-block;
}
.diff i.on { background: var(--gold); }
.sticky-cta {
  position: sticky; bottom: 0; padding: 12px 24px 18px;
  background: rgba(11,11,12,.96); border-top: 1px solid var(--line);
}

.group { margin-top: 22px; }
.group h3 { margin: 0; font-size: 18px; font-weight: 500; font-family: var(--font-display); }
.hint-line { margin: 6px 0 10px; color: var(--text-secondary); font-size: 12px; }
.label { margin-top: 12px; margin-bottom: 6px; color: var(--text-secondary); font-size: 12px; letter-spacing: .06em; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  flex: 1; min-width: 70px; border: 1px solid var(--line); background: transparent;
  color: var(--text-secondary); border-radius: var(--radius-btn); padding: 10px 8px;
  font-size: 13px; cursor: pointer; font-family: var(--font-body);
}
.seg button.on {
  color: var(--text); border-color: rgba(196,165,116,.55); background: var(--bg-elevated);
}
.seg button:disabled { opacity: .35; }
input, textarea {
  width: 100%; background: var(--bg-elevated); border: 0; border-radius: 4px;
  padding: 12px; color: var(--text); font-size: 14px; font-family: inherit;
}
textarea { min-height: 80px; resize: vertical; }
.row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 32px; height: 32px; border-radius: var(--radius-btn); border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer;
}
.footer-bar {
  position: sticky; bottom: 0; display: flex; gap: 12px; align-items: center;
  padding: 12px 24px 18px; background: rgba(11,11,12,.96); border-top: 1px solid var(--line);
}
.footer-bar .btn { flex: 1; }

.card { background: var(--bg-elevated); border-radius: 4px; padding: 14px; margin-top: 10px; }
.order-card { cursor: pointer; width: 100%; border: 0; color: var(--text); text-align: left; }
.order-card .top {
  display: flex; justify-content: space-between; color: var(--text-secondary); font-size: 12px; margin-bottom: 8px;
}
.gold { color: var(--gold); }
.empty { padding: 70px 0 20px; }
.status-head { display: flex; gap: 12px; margin-top: 6px; }
.status-bar { width: 2px; border-radius: 2px; background: var(--gold); }
.status-bar.success { background: var(--success); }
.status-bar.warning { background: var(--warning); }
.status-bar.danger { background: var(--danger); }
.status-head h2 {
  margin: 0; font-size: 24px; font-weight: 500; font-family: var(--font-display);
}
.status-head p { margin: 8px 0 0; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.tl-item { display: flex; gap: 10px; min-height: 42px; }
.tl-rail { width: 14px; display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--text-secondary); margin-top: 6px;
}
.tl-dot.done { background: var(--gold); border-color: var(--gold); }
.tl-dot.current { background: var(--text); border-color: var(--text); box-shadow: 0 0 0 3px rgba(196,165,116,.25); }
.tl-line { flex: 1; width: 1px; background: var(--line); margin: 4px 0; min-height: 18px; }
.tl-title { font-size: 14px; }
.tl-title.muted { color: var(--text-secondary); }
.fee-row { display: flex; justify-content: space-between; align-items: baseline; }
.fee-row strong { font-size: 20px; font-weight: 500; font-family: var(--font-display); }
.risk {
  margin-top: 12px; padding: 14px; background: var(--bg-elevated); border-radius: 4px;
  color: var(--text-secondary); font-size: 13px; line-height: 1.55;
}
.actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.actions .demo { opacity: .55; font-size: 12px; }
.advisor-chat {
  margin-top: 18px;
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: var(--elevated, #141416);
  border: 1px solid var(--line, rgba(245,242,235,0.08));
}
.advisor-chat-label {
  font-size: 12px;
  color: var(--gold, #C4A574);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.advisor-bubble {
  position: relative;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(245, 242, 235, 0.06);
  color: var(--text, #F5F2EB);
  font-size: 13px;
  line-height: 1.55;
}
.advisor-bubble strong { color: var(--gold, #C4A574); font-weight: 600; }
.menu-item {
  padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; cursor: pointer;
  background: none; border-left: 0; border-right: 0; border-top: 0; color: var(--text); width: 100%; text-align: left;
}
.rules h2 { margin: 8px 0 12px; font-size: 24px; font-weight: 500; font-family: var(--font-display); }
.rules h3 { margin: 18px 0 8px; font-size: 15px; font-weight: 500; }
.rules p { margin: 0 0 8px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.bullet { margin: 8px 0; font-size: 14px; }
.bullet::before { content: "· "; color: var(--gold); }

.search-box {
  display: flex; gap: 8px; margin-bottom: 10px;
}
.search-box input { flex: 1; }
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin: 4px 0 8px;
}
.filter-bar-title {
  font-size: 13px; font-weight: 500; color: var(--text); letter-spacing: .04em;
}
.filter-reset {
  background: none; border: 0; color: var(--gold); font-size: 12px; cursor: pointer; padding: 0;
  font-family: var(--font-body);
}
.filter-reset:disabled { opacity: .35; cursor: default; }
.filter-block { margin-bottom: 6px; }
.filter-block .label { margin-top: 8px; margin-bottom: 6px; }
.filter-scroll { gap: 8px; }

.toast {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%);
  background: rgba(40,38,34,.95); color: var(--text); padding: 10px 16px;
  border-radius: 6px; font-size: 13px; z-index: 20; pointer-events: none;
  opacity: 0; transition: opacity .2s; white-space: nowrap; max-width: 90%;
}
.toast.show { opacity: 1; }

.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 45;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(196, 165, 116, 0.45);
  background: rgba(18, 18, 20, 0.92);
  color: var(--gold, #C4A574);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, bottom .2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  border-color: rgba(196, 165, 116, 0.8);
  color: #e8d5b0;
}
.phone .back-top {
  position: absolute;
  right: 14px;
  bottom: 18px;
  width: 40px;
  height: 40px;
}
.phone .back-top.above-tab {
  bottom: calc(66px + env(safe-area-inset-bottom, 0px));
}
.phone .back-top.above-cta {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}
.phone .back-top.above-tab.above-cta {
  bottom: calc(132px + env(safe-area-inset-bottom, 0px));
}
body.layout-pc .back-top {
  right: 28px;
  bottom: 28px;
  z-index: 60;
}

.city-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px;
}
.city-card {
  border: 0; padding: 0; background: none; color: var(--text); text-align: left; cursor: pointer;
}
.city-card img {
  width: 100%; height: 96px; object-fit: cover; border-radius: 4px; display: block;
}
.city-meta { margin-top: 8px; }
.city-meta strong {
  display: block; font-size: 16px; font-weight: 500; font-family: var(--font-display); letter-spacing: .04em;
}
.city-meta span { font-size: 11px; color: var(--text-secondary); }

.seg-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px;
}
.seg-tabs button {
  border: 1px solid var(--line); background: transparent; color: var(--text-secondary);
  border-radius: var(--radius-btn); padding: 10px 0; font-size: 13px; cursor: pointer;
  font-family: var(--font-body);
}
.seg-tabs button.on {
  color: var(--text); border-color: color-mix(in srgb, var(--seg-accent, var(--gold)) 70%, transparent);
  background: var(--bg-elevated); box-shadow: inset 0 -2px 0 var(--seg-accent, var(--gold));
}

.cat-trigger {
  width: 100%; display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 4px;
  background: transparent; color: var(--text); cursor: pointer; text-align: left;
}
.cat-trigger-label { font-size: 15px; font-weight: 500; font-family: var(--font-display); }
.cat-trigger-hint { margin-left: auto; font-size: 12px; color: var(--text-secondary); }
.cat-trigger-chev { font-size: 12px; color: var(--text-secondary); }
.cat-pick-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--seg-accent, var(--gold)); flex-shrink: 0;
}

.sheet-mask {
  position: absolute; inset: 0; background: rgba(0,0,0,.48); z-index: 40;
}
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 41;
  background: var(--bg-elevated); border-radius: 16px 16px 0 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(0,0,0,.35);
  animation: sheetUp .22s ease-out;
}
@keyframes sheetUp {
  from { transform: translateY(18px); opacity: .6; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rowIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.sheet-handle {
  width: 36px; height: 4px; border-radius: 4px; background: var(--line);
  margin: 0 auto 12px;
}
.sheet-title {
  font-size: 15px; font-weight: 500; text-align: center; margin-bottom: 14px; color: var(--text);
  font-family: var(--font-display); letter-spacing: .08em;
}
.cat-pick-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.cat-pick-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 12px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); text-align: left;
}
.cat-pick-item.on {
  border-color: var(--seg-accent, var(--gold));
  box-shadow: inset 0 0 0 1px var(--seg-accent, var(--gold));
}
.cat-pick-name { flex: 1; font-size: 14px; }
.cat-pick-check { color: var(--seg-accent, var(--gold)); font-size: 14px; }
.sheet-cancel { margin-top: 4px; }

.theme-panel img {
  width: 100%; height: 180px; object-fit: cover; border-radius: 4px;
}
.theme-panel h3 {
  margin: 14px 0 8px; font-size: 22px; font-weight: 500; font-family: var(--font-display);
}
.theme-panel p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0 0 16px; }

.svc-scroll {
  display: flex; gap: 8px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 4px;
  scrollbar-width: none;
}
.svc-scroll::-webkit-scrollbar { display: none; }
.svc-chip {
  flex: 0 0 auto; display: flex; align-items: center;
  border: 1px solid rgba(245,242,235,.12); background: transparent; color: var(--text-secondary);
  border-radius: 999px; padding: 9px 14px; font-size: 12px; cursor: pointer;
  transition: color var(--motion), border-color var(--motion);
}
.svc-chip:hover, .svc-chip:focus {
  color: var(--text);
  border-color: rgba(196,165,116,.55);
  box-shadow: inset 0 -1px 0 var(--gold);
}
.svc-dot { display: none; }

.want-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check {
  display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px;
}
.want-item {
  margin-top: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px;
  background: transparent;
}
.want-item:has(input:checked) {
  border-color: color-mix(in srgb, var(--want-accent, var(--gold)) 70%, transparent);
}
.want-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--want-accent, var(--gold)); flex-shrink: 0;
}
.pick-list { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow: auto; }
.pick-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: transparent; border: 1px solid var(--line); border-radius: 4px;
  padding: 8px; color: var(--text); text-align: left; cursor: pointer; font-size: 13px;
}
.pick-item img { width: 44px; height: 44px; border-radius: 4px; object-fit: cover; }
.pick-item.on { border-color: rgba(196,165,116,.55); }

.intent-box textarea {
  width: 100%; min-height: 84px; resize: vertical;
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: 4px;
  color: var(--text); padding: 12px; font: inherit; line-height: 1.5; margin: 8px 0 10px;
}
.btn-ghost {
  background: transparent !important; color: var(--gold) !important;
  border: 1px solid rgba(196,165,116,.45) !important;
}
.btn-ghost:disabled { opacity: .55; }
.brief-preview {
  margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(196,165,116,.04);
}
.brief-preview pre, .brief-pre {
  margin: 8px 0 0; white-space: pre-wrap; word-break: break-word;
  font-family: var(--font-body); font-size: 12px; line-height: 1.55; color: var(--text-secondary);
}
.brief-card .link { background: none; border: 0; color: var(--gold); cursor: pointer; font: inherit; padding: 0; }

.zc-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 10px;
  background: transparent; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 0; margin-top: 0;
}
.zc-card img, .zc-ph {
  width: 72px; height: 72px; border-radius: 4px; object-fit: cover; background: #222;
}
.zc-title { font-size: 13px; font-weight: 500; line-height: 1.35; }
.zc-actions { display: flex; gap: 12px; margin-top: 6px; }
.zc-empty { margin-top: 10px; }

.hint-link { color: var(--gold); text-decoration: none; }
.hint-link:hover { text-decoration: underline; }
.mobile-only { display: none; }
.web-topbar {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px calc(8px + env(safe-area-inset-top, 0px));
  background: rgba(11,11,12,.96); border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.web-topbar-brand { color: var(--text); font-weight: 500; letter-spacing: .06em; }
.web-topbar-back, .web-topbar-wx { color: var(--gold); text-decoration: none; }

/* PC：左侧说明 + 手机框预览 */
@media (min-width: 821px) {
  body.web-app .desk {
    min-height: 100vh;
    align-items: center;
  }
  body.web-app .phone {
    width: 390px;
    height: min(820px, calc(100vh - 48px));
  }
}

/* 手机：全屏网页版，去掉手机壳 */
@media (max-width: 820px) {
  .desk-only { display: none !important; }
  .mobile-only { display: flex; }
  body.web-app {
    background: var(--bg);
  }
  body.web-app .desk {
    min-height: 100%;
    min-height: 100dvh;
    padding: 0;
    gap: 0;
    background: var(--bg);
    align-items: stretch;
    justify-content: stretch;
  }
  body.web-app .phone {
    width: 100%;
    height: 100dvh;
    height: 100vh;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--bg);
  }
  body.web-app .tabbar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 820px) {
  .hint { max-width: 100%; text-align: center; }
  .hint-mark { margin-left: auto; margin-right: auto; }
}
