:root {
  --bg: #160824;
  --card: rgba(42, 18, 78, .78);
  --card-solid: #2a1452;
  --line: rgba(255, 255, 255, .12);
  --text: #fff;
  --muted: rgba(255, 255, 255, .62);
  --faint: rgba(255, 255, 255, .4);
  --pink: #ff7eb6;
  --grad: linear-gradient(90deg, #9a4dff 0%, #d946ef 46%, #ff8ec8 100%);
  --male: #5eb0ff;
  --female: #ff6eb4;
  --ok: #3dde8b;
  --busy: #ff4d6d;
  --shadow: 0 12px 28px rgba(0, 0, 0, .28);
  --phone: 430px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: #07040e;
  font-size: 14px;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; vertical-align: -0.125em; }
.phone {
  width: min(var(--phone), 100%);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background:
    radial-gradient(120% 42% at 50% -8%, #6d28a8 0%, transparent 52%),
    linear-gradient(180deg, #4b1d86 0%, #2c115c 16%, #1a0a34 46%, #12071f 100%);
  overflow: clip;
}
.phone.light {
  background: #f7f7f8;
  color: #111;
}
.topbar, .subbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 8px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.phone:not(.light) .topbar,
.phone:not(.light) .subbar {
  background: linear-gradient(180deg, rgba(58, 22, 110, .96), rgba(58, 22, 110, .78) 70%, transparent);
}
.subbar { justify-content: center; min-height: 48px; }
.subbar h1, .main-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .5px;
}
.main-title { position: relative; display: inline-block; padding-bottom: 4px; }
.main-title::after, .seg a.on::after, .sheet-tabs a.on::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 8px;
  bottom: -2px;
  height: 5px;
  border-radius: 6px;
  background: linear-gradient(90deg, #fff, #e879f9 70%, transparent);
  transform: rotate(-6deg);
  opacity: .9;
}
.back {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  position: absolute;
  left: 12px;
}
.back svg { width: 22px; height: 22px; }
.subbar .back { position: absolute; }
.main { padding: 0 0 28px; }
.has-tab .main { padding-bottom: 24px; }
.has-tab .legal { padding-bottom: 84px; }
.has-dock .legal { padding-bottom: 96px; }
.has-dock .main { padding-bottom: 108px; }
.flash {
  margin: 8px 16px 0;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
}
.phone.light .flash { background: #fff; color: #333; border-color: #eee; }

.home-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px 6px; }
.city-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.city-btn i { font-style: normal; font-size: 10px; opacity: .8; }
.search {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 0 8px 0 12px;
  min-width: 0;
}
.search input, .field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 10px 0;
}
.search input { font-size: 13px; padding: 8px 0; }
.search input::placeholder, .field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
.search button {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.8);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.search svg, .icon-btn svg { width: 18px; height: 18px; }
.cup { width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.cup svg { width: 26px; height: 26px; }

.hero { position: relative; margin: 8px 14px 22px; }
.hero-media {
  position: relative;
  height: 430px;
  border-radius: 22px;
  overflow: hidden;
  background: #1a0b2e;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-open { position: absolute; inset: 0; z-index: 1; }
.hero-top, .hero-dist, .hero-info, .heart-mark { z-index: 2; }
.hero-actions a { position: relative; z-index: 3; }
.book-float { z-index: 3; }
.hero-top, .hero-dist { position: absolute; z-index: 2; }
.hero-top { top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; }
.badge, .pill, .chip, .dist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(20, 10, 30, .55);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.dot.busy { background: var(--busy); }
.dot.off { background: #9ca3af; }
.hero-dist { top: 52px; right: 12px; }
.heart-mark {
  position: absolute;
  right: 18px;
  bottom: 92px;
  color: rgba(255, 200, 220, .75);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
}
.heart-mark svg { width: 42px; height: 42px; }
.hero-info { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.hero-name { font-size: 28px; font-weight: 700; display: flex; align-items: center; gap: 6px; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.hero-name svg { width: 18px; height: 18px; }
.hero-meta {
  display: inline-block;
  margin-top: 6px;
  background: rgba(20, 10, 30, .45);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 14px;
}
.hero-actions { display: flex; gap: 8px; margin-top: 10px; }
.hero-actions a {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(40, 16, 70, .35);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}
.hero-actions a.gold { border-color: rgba(246, 196, 69, .7); color: #ffe08a; }
.book-float {
  position: absolute;
  right: 6px;
  bottom: -18px;
  z-index: 3;
  background: var(--grad);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 18px 22px 22px 8px;
  box-shadow: 0 8px 20px rgba(180, 60, 180, .35);
}

.catbar { display: flex; align-items: center; gap: 4px; padding: 6px 8px 10px 14px; }
.cats { display: flex; gap: 16px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { color: rgba(255,255,255,.72); white-space: nowrap; padding: 6px 0 8px; position: relative; font-size: 14px; }
.cats a.on { color: #fff; font-weight: 800; font-size: 16px; }
.cats a.on::after {
  content: "";
  position: absolute;
  left: 0; right: 6px; bottom: 0;
  height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #fff, #f0abfc);
  transform: rotate(-8deg);
}
.filter-btn { width: 36px; height: 36px; display: grid; place-items: center; color: #e9d5ff; flex: none; }
.filter-btn svg { width: 20px; height: 20px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 14px; }
.tcard {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  background: #241046;
  box-shadow: var(--shadow);
}
.tcard img { width: 100%; height: 100%; object-fit: cover; }
.tcard .badges { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; justify-content: space-between; }
.tcard .foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 8px 10px;
  background: linear-gradient(transparent, rgba(58, 16, 104, .2) 20%, #4c1d95 70%, #3b0764);
  text-align: center;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.gicon { width: 16px; height: 16px; display: inline-grid; place-items: center; border-radius: 50%; }
.gicon svg { width: 12px; height: 12px; }
.gicon.male { color: var(--male); background: rgba(94,176,255,.15); }
.gicon.female { color: var(--female); background: rgba(255,110,180,.15); }

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(var(--phone), 100%);
  height: 64px;
  display: flex;
  background: linear-gradient(180deg, #3a1868, #2a1248);
  border-top: 1px solid rgba(255,255,255,.06);
  z-index: 30;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
}
.tabbar svg { width: 22px; height: 22px; }
.tabbar a.on { color: #f0abfc; }

.legal { text-align: center; color: var(--faint); font-size: 12px; padding: 18px 16px 8px; }
.legal a { margin: 0 6px; color: rgba(255,255,255,.55); }
.legal p { margin: 6px 0 0; }

.seg { display: flex; gap: 22px; padding: 8px 16px 12px; align-items: flex-end; }
.seg a { color: rgba(255,255,255,.66); font-size: 16px; position: relative; padding-bottom: 6px; }
.seg a.on { color: #fff; font-weight: 800; font-size: 20px; }
.feed-item { padding: 8px 16px 18px; }
.feed-user { display: flex; align-items: center; gap: 10px; }
.avatar, .avatar img, .ring img { border-radius: 50%; object-fit: cover; }
.avatar { width: 42px; height: 42px; background: #3b1764; flex: none; }
.avatar.lg { width: 64px; height: 64px; }
.feed-user .name { font-weight: 700; display: flex; align-items: center; gap: 4px; }
.feed-user .time { color: var(--muted); font-size: 12px; margin-top: 2px; }
.follow-btn, .btn, .btn-grad, .btn-line, .btn-ghost {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-size: 14px;
}
.follow-btn, .btn-grad { background: var(--grad); }
.btn-line { background: transparent; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost { background: rgba(255,255,255,.08); }
.btn-block { width: 100%; display: block; text-align: center; padding: 13px 16px; font-size: 16px; font-weight: 700; }
.feed-body { margin: 10px 0; font-size: 15px; }
.feed-photo { border-radius: 16px; overflow: hidden; max-height: 460px; }
.feed-photo img { width: 100%; max-height: 460px; object-fit: cover; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photos img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; height: 100%; }
.fab {
  position: fixed;
  right: max(18px, calc(50% - var(--phone) / 2 + 18px));
  bottom: 86px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(180, 60, 180, .4);
  z-index: 25;
}
.fab svg { width: 26px; height: 26px; }

.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.empty svg, .empty img { width: 180px; margin: 0 auto 16px; opacity: .85; }
.empty p { margin: 0; }

.profile-cover { height: 340px; position: relative; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.overlay-back {
  position: absolute;
  top: 12px;
  left: 10px;
  z-index: 3;
  color: #fff;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}
.overlay-back svg { width: 22px; height: 22px; }
.profile-head {
  margin-top: -118px;
  position: relative;
  z-index: 2;
  padding: 0 16px;
}
.who { display: flex; gap: 10px; align-items: center; }
.who .nm { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 6px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.idbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
}
.idbadge i {
  font-style: italic;
  font-weight: 800;
  background: linear-gradient(90deg, #a855f7, #f472b6);
  border-radius: 8px;
  padding: 0 6px;
  font-size: 11px;
}
.counts { display: flex; gap: 28px; margin: 12px 0; color: rgba(255,255,255,.8); }
.counts b { color: #fff; margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  background: rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 12px;
}
.sheet {
  margin-top: 14px;
  background: linear-gradient(180deg, #2a1158, #1a0a32 30%, #140824);
  border-radius: 22px 22px 0 0;
  min-height: 280px;
  padding: 14px 16px 20px;
  position: relative;
}
.sheet-tabs { display: flex; align-items: center; gap: 22px; }
.sheet-tabs a { position: relative; color: rgba(255,255,255,.6); padding-bottom: 6px; }
.sheet-tabs a.on { color: #fff; font-weight: 800; }
.msg-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
}
.msg-pill svg { width: 16px; height: 16px; }
.post-mini { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(var(--phone), 100%);
  display: flex;
  gap: 12px;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, #140824 30%);
  z-index: 30;
}
.dock .btn-grad, .dock .btn-line, .dock form { flex: 1; }
.dock form { margin: 0; }
.dock button, .dock a.btn-grad, .dock a.btn-line { width: 100%; text-align: center; padding: 12px 8px; font-size: 16px; }

.panel {
  margin: 12px 14px;
  border: 1px solid rgba(186, 140, 255, .28);
  border-radius: 16px;
  padding: 14px;
  background: rgba(28, 10, 56, .45);
}
.panel h2 { margin: 0 0 12px; font-size: 16px; }
.pick label, .hours label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #24143f;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 10px;
  position: relative;
}
.hours label { justify-content: center; }
.pick input, .hours input, .amount input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.pick label:has(input:checked), .hours label:has(input:checked) {
  background: var(--grad);
}
.addr select {
  width: 100%;
  background: transparent;
  color: #e879f9;
  border: 0;
  font-size: 16px;
  outline: 0;
}
.addr select option { color: #222; }
.paybar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(var(--phone), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: #1a0b2e;
  z-index: 30;
}
.paybar .fee { font-size: 20px; font-weight: 800; }
.paybar .sum { color: var(--muted); font-size: 12px; margin-top: 2px; }
.paybar .btn-grad { padding: 12px 28px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.hint { color: var(--muted); font-size: 12px; margin: 0 16px 8px; }

.wallet-card {
  margin: 12px 16px;
  border-radius: 18px;
  padding: 18px 16px;
  min-height: 132px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.wallet-card.coin { background: linear-gradient(135deg, #ff8a3d, #ffc14d 70%, #ffe08a); color: #fff; }
.wallet-card.earn { background: linear-gradient(135deg, #a855f7, #f472b6); }
.wallet-card .k { font-size: 15px; opacity: .95; }
.wallet-card .n { font-size: 32px; font-weight: 800; margin-top: 8px; letter-spacing: .5px; }
.wallet-card .side {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 13px;
}
.wallet-card .go {
  position: absolute;
  right: 14px;
  bottom: 16px;
  background: #fff;
  color: #c2410c;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  border: 0;
}
.wallet-card.earn .go { color: #7c3aed; }
.section-title { margin: 18px 16px 10px; font-size: 16px; font-weight: 700; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 16px; }
.amount label {
  background: #24143f;
  border-radius: 16px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  position: relative;
  font-size: 20px;
  font-weight: 700;
}
.amount label em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  background: #3a3050;
  color: #ddd;
  border-radius: 999px;
  padding: 3px 10px;
}
.amount label:has(input:checked) { border-color: #c084fc; }
.amount label:has(input:checked) em { background: var(--grad); color: #fff; }
.field { margin: 0 16px 12px; }
.field.plain input, .field.plain textarea, .box input, .box textarea {
  width: 100%;
  background: #2a1848;
  border: 0;
  border-radius: 999px;
  color: #fff;
  padding: 12px 16px;
  outline: 0;
  font-size: 16px;
}
.field.plain textarea, .box textarea { border-radius: 16px; min-height: 96px; resize: vertical; }
.code-row { display: flex; gap: 8px; align-items: center; margin: 0 16px 12px; }
.code-row input { flex: 1; background: #2a1848; border: 0; border-radius: 999px; color: #fff; padding: 12px 16px; font-size: 16px; outline: 0; }
.code-row button { border: 0; background: transparent; color: #e879f9; white-space: nowrap; font-size: 14px; }
.upload {
  margin: 12px 16px;
  background: #4a2478;
  border-radius: 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.upload svg { width: 42px; height: 42px; color: rgba(255,255,255,.45); }
.upload input { position: absolute; inset: 0; opacity: 0; }
.upload img.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pay-method { display: flex; align-items: center; gap: 8px; margin: 8px 16px 20px; }
.pay-method svg { width: 22px; height: 22px; }
.pay-method .ck { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }

.me-head { text-align: center; padding: 12px 16px 6px; }
.ring {
  width: 86px; height: 86px; margin: 0 auto;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #c084fc, #fb7185, #818cf8);
  box-shadow: 0 0 16px rgba(192, 132, 252, .45);
}
.ring i, .ring img { width: 100%; height: 100%; border-radius: 50%; display: block; background: #1a0b2e; object-fit: cover; }
.me-name { margin-top: 10px; font-size: 18px; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 4px; }
.me-counts { display: flex; justify-content: center; gap: 28px; margin-top: 8px; color: rgba(255,255,255,.8); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; }
.duo a {
  border-radius: 16px;
  padding: 14px 12px;
  min-height: 78px;
  position: relative;
  overflow: hidden;
}
.duo .w { background: linear-gradient(135deg, #7c4a12, #e7b008); }
.duo .c { background: linear-gradient(135deg, #6d28d9, #db2777); }
.duo small { display: block; opacity: .85; margin-top: 6px; }
.icon-row, .menu {
  margin: 0 14px 12px;
  background: rgba(74, 30, 120, .55);
  border-radius: 16px;
  padding: 14px 6px;
}
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.menu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 0; }
.icon-row a, .menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.88);
  position: relative;
}
.icon-row svg, .menu svg { width: 26px; height: 26px; color: #e9d5ff; }
.badge-n {
  position: absolute;
  top: -6px;
  right: 18px;
  background: #ff4d6d;
  color: #fff;
  border-radius: 999px;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.role-switch { display: flex; gap: 8px; justify-content: center; margin: 4px 0 8px; }
.role-switch a { color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.role-switch a.on { color: #fff; background: rgba(255,255,255,.1); }

.list { padding: 0 14px; }
.mcard, .row, .conv {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(62, 28, 112, .72);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 10px;
}
.mcard img, .thumb {
  width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; background: #1a0b2e;
}
.mcard .meta, .row .meta, .conv .meta { flex: 1; min-width: 0; }
.mcard h3, .row h3 { margin: 0 0 6px; font-size: 16px; }
.sub { color: rgba(255,255,255,.72); font-size: 13px; }
.dist-ico { float: right; color: rgba(255,255,255,.75); font-size: 12px; }
.slider { margin: 8px 14px 12px; border-radius: 16px; overflow: hidden; position: relative; height: 168px; }
.slider img { width: 100%; height: 168px; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.slider img.on { opacity: 1; }
.dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); display: block; }
.dots i.on { background: #6366f1; }

.row { background: transparent; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; padding: 14px 2px; }
.row .amt { color: #e879f9; font-weight: 700; }
.row .amt.in { color: #86efac; }

.chat-head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  color: #111;
  font-weight: 600;
}
.chat-head a { position: absolute; left: 8px; color: #111; width: 32px; height: 32px; display: grid; place-items: center; }
.chat-head svg { width: 22px; height: 22px; }
.msgs { padding: 16px 16px 92px; min-height: calc(100vh - 120px); }
.bubble { display: flex; gap: 8px; margin-bottom: 12px; align-items: flex-start; }
.bubble.me { flex-direction: row-reverse; }
.bubble .tx {
  max-width: 70%;
  background: #fff;
  color: #222;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 15px;
}
.bubble.me .tx { background: #95ec69; }
.composer {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(var(--phone), 100%);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: #f2f2f2;
}
.composer input {
  flex: 1;
  border: 0;
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  outline: 0;
}
.composer button { border: 0; background: transparent; color: #666; }
.emojis { display: flex; gap: 8px; padding: 0 12px 8px; background: #f2f2f2; }
.emojis button { border: 0; background: transparent; font-size: 20px; }

.login-wrap { padding: 48px 22px 20px; }
.brand { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.brand small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 6px; }
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.stack input, .stack select {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: #fff;
  padding: 12px 14px;
  font-size: 16px;
  outline: 0;
}
.linkrow { text-align: center; margin-top: 16px; color: var(--muted); }
.linkrow a { color: #f0abfc; }

.doc { padding: 8px 18px 24px; color: rgba(255,255,255,.86); font-size: 14px; }
.doc h2 { font-size: 16px; margin: 18px 0 8px; }
.doc p { margin: 0 0 8px; }

.merchant-hero { height: 200px; }
.merchant-hero img { width: 100%; height: 200px; object-fit: cover; }
.pad { padding: 14px 16px; }
.rank { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.rank .no { width: 24px; text-align: center; font-weight: 800; color: #f0abfc; }
.note { color: var(--muted); font-size: 12px; padding: 0 16px; }

.city-list a, .people a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.city-list a.on { color: #f0abfc; }
.check-list label { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.actions { padding: 16px; }

@media (min-width: 480px) {
  body { background: #07040e; }
  .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 20px 60px rgba(0,0,0,.45); }
}
