/* 张北诚信便民 - 朋友圈风格主样式 */
:root {
  --brand: #22a5f6;
  --link: #094dcc;
  --like: #36648b;
  --muted: #757575;
  --bg: #f5f5f5;
  --card: #fff;
  --border: #f2eeee;
  --tab-h: 49px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: #333;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  max-width: 750px;
  margin: 0 auto;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; outline: none; border: none; }

#app { min-height: 100vh; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 8px); }

/* ===== 顶栏搜索 ===== */
.moments__top {
  height: 220px;
  margin-bottom: 2px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.moments__top .banner-swiper {
  width: 100%;
  height: 100%;
  position: relative;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.moments__top .banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}
.moments__top .banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  box-shadow: 0 0 2px rgba(0,0,0,.35);
}
.moments__top .banner-dot.on {
  background: #fff;
  width: 14px;
  border-radius: 4px;
}
.moments__top .banner-slide {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: none;
  position: relative;
}
.moments__top .banner-slide.active { display: block; }
.moments__top .banner-slide.banner-placeholder {
  background: linear-gradient(180deg, #e8eef3 0%, #dfe7ee 100%);
}
.moments__top .banner-slide .banner-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.banner-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  pointer-events: none;
}
.banner-cap strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.banner-cap span { display: block; margin-top: 2px; font-size: 13px; opacity: .95; }
.moments__top .banner-swiper.banner-clickable .banner-slide.is-link.active { cursor: pointer; }
.banner-text-box { text-align: left; max-width: 88vw; }
.banner-text-body {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  max-height: 60vh;
  overflow-y: auto;
  padding: 4px 2px 8px;
}
.member-page { background:#f5f5f5; min-height:100vh; padding-bottom:40px; }
.member-card {
  margin:14px 12px; background:linear-gradient(160deg,#1a1a1a 0%,#3a2a12 45%,#c9a227 160%);
  color:#fff; border-radius:16px; padding:22px 18px 20px; position:relative; overflow:hidden;
}
.member-badge {
  display:inline-block; background:rgba(255,255,255,.18); border-radius:4px;
  padding:2px 8px; font-size:12px; margin-bottom:10px;
}
.member-card h1 { margin:0 0 8px; font-size:24px; font-weight:700; }
.member-desc { margin:0; opacity:.9; font-size:13px; line-height:1.65; white-space:pre-line; }
.member-plans {
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; margin:16px 0 14px;
}
.member-plan {
  appearance:none; border:1.5px solid rgba(255,255,255,.28); background:rgba(0,0,0,.22);
  color:#fff; border-radius:12px; padding:12px 8px; text-align:left; cursor:pointer;
}
.member-plan.on {
  border-color:#ffe08a; background:rgba(255,224,138,.16);
  box-shadow:inset 0 0 0 1px rgba(255,224,138,.35);
}
.member-plan__name { display:block; font-size:12px; opacity:.9; margin-bottom:6px; }
.member-plan__price { display:block; font-size:22px; font-weight:700; letter-spacing:.5px; line-height:1.1; }
.member-plan__price i { font-style:normal; font-size:14px; margin-right:1px; font-weight:600; }
.member-plan__meta { display:block; margin-top:6px; font-size:11px; opacity:.78; }
.member-price { margin:18px 0 4px; font-size:40px; font-weight:700; letter-spacing:1px; }
.member-price span { font-size:18px; margin-right:2px; }
.member-meta { font-size:13px; opacity:.85; margin-bottom:14px; }
.member-status { background:rgba(0,0,0,.25); border-radius:8px; padding:10px 12px; font-size:13px; margin-bottom:14px; }
.member-status b { font-weight:600; }
.member-pay {
  display:block; width:100%; border:none; border-radius:10px; padding:14px;
  background:#07c160; color:#fff; font-size:16px; font-weight:600; cursor:pointer;
}
.member-pay:disabled { opacity:.6; }
.member-tip { margin:12px 2px 0; font-size:12px; opacity:.75; line-height:1.5; }
.mall-page { background:#f5f5f5; min-height:100vh; }
.mall-head { background:#fff; padding:14px 16px 10px; }
.mall-head h1 { font-size:20px; margin:0 0 6px; }
.mall-head p { margin:0; color:#666; font-size:13px; }
.mall-head .mall-lead { color:#333; font-size:15px; line-height:1.5; }
.mall-notice { margin-top:8px; background:#fff7e8; color:#ad6800; border-radius:6px; padding:8px 10px; font-size:13px; }
.mall-buyer {
  margin:0; padding:0; background:transparent;
}
.mall-buyer__title { font-size:14px; font-weight:600; margin-bottom:8px; color:#333; }
.mall-buyer label { display:block; font-size:12px; color:#666; margin:8px 0 4px; }
.mall-buyer label em { color:#ff4d4f; font-style:normal; }
.mall-buyer input, .mall-buyer textarea {
  width:100%; box-sizing:border-box; border:1px solid #ddd; border-radius:8px;
  padding:10px 12px; font-size:15px; background:#fff; margin:0;
}
.mall-buyer textarea { resize:vertical; min-height:56px; }
.mall-check {
  display:flex!important; align-items:center; gap:6px; margin:10px 0 0!important;
  font-size:13px!important; color:#333!important; font-weight:400!important;
}
.mall-check input { width:auto!important; margin:0!important; }
.mall-actions {
  position: relative;
  z-index: 5;
  display:flex; gap:10px; margin-top:16px; padding-bottom:calc(8px + env(safe-area-inset-bottom, 0px));
}
.mall-order-btn {
  position: relative;
  z-index: 6;
  flex:1; border:none; border-radius:8px; padding:14px 12px;
  background:#07c160; color:#fff; font-size:16px; font-weight:600; cursor:pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mall-order-btn:disabled { opacity: .65; cursor: not-allowed; }
.mall-call {
  flex:1; display:flex; align-items:center; justify-content:center;
  text-align:center; background:#22a5f6; color:#fff;
  border-radius:8px; padding:14px 12px; text-decoration:none; font-size:16px; font-weight:600;
}
.mall-call--solo { flex:1; }
.mall-chat-btn {
  flex:1; display:flex; align-items:center; justify-content:center;
  text-align:center; background:#fff7e6; color:#d48806;
  border:1px solid #ffd591; border-radius:8px; padding:14px 12px;
  text-decoration:none; font-size:15px; font-weight:600;
}
.mall-sheet-chat {
  display:block; margin-top:12px; text-align:center;
  color:#d48806; font-size:13px; font-weight:600; text-decoration:none;
  padding:10px 0; border-radius:8px; background:#fffbeb; border:1px dashed #ffd591;
}
.mall-head .mall-call { margin:12px 0 0; display:block; }
.mall-sheet-mask {
  position:fixed; inset:0; z-index:1200; background:rgba(0,0,0,.45);
  display:flex; align-items:flex-end; justify-content:center;
}
.mall-sheet-mask[hidden] { display:none!important; }
.mall-sheet {
  width:100%; max-width:520px; max-height:88vh; overflow:auto;
  background:#fff; border-radius:14px 14px 0 0; padding-bottom:env(safe-area-inset-bottom);
}
.mall-sheet__hd {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid #eee; position:sticky; top:0; background:#fff; z-index:1;
}
.mall-sheet__x { border:none; background:transparent; font-size:26px; color:#999; line-height:1; padding:0 4px; cursor:pointer; }
.mall-sheet__bd { padding:12px 16px 20px; }
.mall-profiles { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.mall-profiles__empty { font-size:12px; color:#999; padding:6px 0; }
.mall-profile {
  text-align:left; border:1px solid #e5e5e5; background:#fafafa; border-radius:10px;
  padding:10px 12px; cursor:pointer; position:relative;
}
.mall-profile.on { border-color:#22a5f6; background:#f0f9ff; }
.mall-profile .t { font-size:14px; font-weight:600; color:#222; }
.mall-profile .t .def {
  display:inline-block; margin-left:6px; font-size:11px; font-weight:500;
  color:#22a5f6; background:#e8f6ff; border-radius:4px; padding:1px 5px;
}
.mall-profile .s { font-size:12px; color:#888; margin-top:4px; line-height:1.4; word-break:break-all; }
.mall-profile .ops { position:absolute; right:8px; top:8px; display:flex; gap:8px; }
.mall-profile .ops i { font-style:normal; font-size:12px; color:#22a5f6; }
.mall-profile .ops i[data-act=del] { color:#ff4d4f; }
.mall-profile--new { text-align:center; color:#22a5f6; font-weight:600; border-style:dashed; }
.mall-pay {
  display:block; width:100%; margin:14px 0 0; border:none; border-radius:8px; padding:14px;
  background:#07c160; color:#fff; font-size:16px; font-weight:600; cursor:pointer;
}
.mall-pay:disabled { opacity:.6; }
.mall-cats { display:flex; gap:8px; overflow-x:auto; padding:10px 12px; background:#fff; -webkit-overflow-scrolling:touch; }
.mall-cats a {
  flex:0 0 auto; padding:6px 12px; border-radius:16px; background:#f3f3f3; color:#333;
  text-decoration:none; font-size:13px; white-space:nowrap; border:1px solid transparent;
}
.mall-cats a.on { background:#22a5f6; color:#fff; }
.mall-cats a.mall-cat-all {
  display:inline-flex; align-items:center; gap:5px;
  background:#eef7ff; color:#1a8fd0; font-weight:600; border-color:#c5e4f8;
}
.mall-cats a.mall-cat-all em {
  font-style:normal; font-size:11px; font-weight:700; line-height:1;
  min-width:16px; padding:2px 5px; border-radius:9px;
  background:rgba(34,165,246,.15); color:#1a8fd0;
}
.mall-cats a.mall-cat-all.on { background:#22a5f6; color:#fff; border-color:#22a5f6; }
.mall-cats a.mall-cat-all.on em { background:rgba(255,255,255,.28); color:#fff; }
.mall-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; padding:10px 10px 20px; }
.mall-card { background:#fff; border-radius:8px; overflow:hidden; text-decoration:none; color:#222; box-shadow:0 1px 2px rgba(0,0,0,.04); display:flex; flex-direction:column; height:100%; }
.mall-card img, .mall-ph { width:100%; aspect-ratio:1; height:auto; object-fit:cover; display:block; background:#e8f4ff; flex:none; }
.mall-ph { display:flex; align-items:center; justify-content:center; color:#22a5f6; font-size:18px; font-weight:700; }
.mall-card-t {
  padding:4px 4px 0; font-size:13px; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em; flex:1 1 auto;
}
.mall-card-p { padding:2px 4px 6px; color:#ff4d4f; font-size:14px; font-weight:600; margin-top:auto; }
.mall-cover { width:100%; max-height:240px; object-fit:cover; display:block; background:#eee; }
.mall-gallery { position:relative; background:#111; }
.mall-gallery__viewport {
  display:flex; width:100%; aspect-ratio:1/1; max-height:78vw;
  overflow-x:auto; overflow-y:hidden; background:#000;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  touch-action:pan-x; scrollbar-width:none; cursor:grab;
}
.mall-gallery__viewport::-webkit-scrollbar { display:none; width:0; height:0; }
.mall-gallery__viewport.is-drag { cursor:grabbing; scroll-snap-type:none; }
.mall-gallery__slide {
  flex:0 0 100%; width:100%; height:100%; background:#000;
  scroll-snap-align:start; scroll-snap-stop:always;
}
.mall-gallery__slide img {
  width:100%; height:100%; object-fit:contain; display:block;
  user-select:none; -webkit-user-drag:none; pointer-events:none;
}
.mall-gallery__ph {
  aspect-ratio:1/1; max-height:78vw; display:flex; align-items:center; justify-content:center;
  background:#e8f4ff; color:#22a5f6; font-size:48px; font-weight:700;
}
.mall-gallery__dots {
  position:absolute; left:0; right:0; bottom:10px; display:flex; justify-content:center; gap:6px; z-index:2;
}
.mall-gallery__dots span {
  width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.45);
}
.mall-gallery__dots span.on { background:#fff; }
.mall-gallery__count {
  position:absolute; right:10px; bottom:10px; z-index:2;
  background:rgba(0,0,0,.45); color:#fff; font-size:12px; padding:2px 8px; border-radius:10px;
}
.mall-intro { margin:14px 0 4px; padding-top:12px; border-top:1px solid #f0f0f0; }
.mall-intro__title { font-size:15px; font-weight:600; color:#222; margin-bottom:8px; }
.mall-intro__body { font-size:14px; line-height:1.7; color:#444; white-space:pre-wrap; word-break:break-word; }
.mall-detail { background:#fff; margin:0; padding:14px 16px 20px; }
.mall-tag { display:inline-block; background:#e8f6ff; color:#22a5f6; border-radius:4px; padding:2px 8px; font-size:12px; }
.mall-detail h1 { font-size:20px; margin:8px 0; }
.mall-price { color:#ff4d4f; font-size:18px; font-weight:700; margin-bottom:10px; }
.mall-summary { white-space:pre-wrap; line-height:1.7; font-size:15px; color:#333; }
.moments__searchbox {
  margin: 8px 12px 6px;
  padding: 10px 0;
  font-size: 15px;
  color: #aaadbf;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 4px 0 rgba(109,114,120,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.moments__searchbox .search-icon {
  width: 16px; height: 16px;
  opacity: .55;
}
.moments__searchbox span { line-height: 1; }

/* ===== 快捷入口 + 广播 ===== */
.public-info {
  background: #fff;
  padding: 10px 12px 0;
  margin-bottom: 5px;
}
.home-entries {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 4px;
  padding: 2px 0 10px;
}
.home-entries:has(> :nth-child(5)) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.home-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  -webkit-tap-highlight-color: transparent;
}
.home-entry__ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  margin-bottom: 6px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.home-entry__ico::before,
.home-entry__ico::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, .95);
}
.home-entry__ico--img {
  background: #f3f5f7;
  overflow: hidden;
  padding: 0;
}
.home-entry__ico--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.home-entry__ico--mall {
  background: linear-gradient(145deg, #2fd07a, #07c160);
}
.home-entry__ico--mall::before {
  width: 18px; height: 14px; left: 13px; top: 14px;
  border-radius: 2px 2px 0 0;
  box-shadow: 0 14px 0 -4px rgba(255,255,255,.95), 0 14px 0 -1px rgba(255,255,255,.55);
}
.home-entry__ico--hao {
  background: linear-gradient(145deg, #ff9f43, #ff6b3d);
}
.home-entry__ico--hao::before {
  width: 10px; height: 10px; left: 17px; top: 12px;
  border-radius: 50%;
  box-shadow: 8px 10px 0 -2px #fff, -8px 10px 0 -2px #fff, 0 16px 0 -1px #fff;
}
.home-entry__ico--vip {
  background: linear-gradient(145deg, #e8c36a, #c9a227);
}
.home-entry__ico--vip::before {
  width: 16px; height: 16px; left: 14px; top: 14px;
  border-radius: 3px;
  transform: rotate(45deg);
}
.home-entry__ico--job {
  background: linear-gradient(145deg, #5bb8ff, #22a5f6);
}
.home-entry__ico--job::before {
  width: 16px; height: 12px; left: 14px; top: 12px;
  border-radius: 2px;
}
.home-entry__ico--job::after {
  width: 10px; height: 8px; left: 17px; top: 24px;
  border-radius: 0 0 4px 4px;
}
.home-entry__txt {
  font-size: 13px;
  color: #444;
  text-align: center;
  line-height: 1.2;
}
.home-entry:active .home-entry__ico { transform: scale(.94); }
.haowu-cat {
  padding: 0 10px 10px;
  font-size: 12px;
  color: #999;
}
.broadcast {
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  padding: 6px 0 8px;
  gap: 6px;
  overflow: hidden;
}
.broadcast .newIcon {
  flex-shrink: 0;
  background: #ff4d4f;
  color: #fff;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  line-height: 1.2;
}
.broadcast .u-notice {
  flex: 1;
  min-width: 0;
  height: 18px;
  overflow: hidden;
  position: relative;
}
.broadcast .u-notice__swiper {
  height: 18px;
}
.broadcast .notice-item {
  font-size: 12px;
  color: #f9ae3d;
  line-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== 分类 tabs ===== */
.moments__tabs {
  background: #fff;
  padding: 0 5px 5px;
  margin-bottom: 5px;
  box-shadow: 0 5px 7px 0 #dadcf2;
  height: 45px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.moments__tabs::-webkit-scrollbar { display: none; }
.tabBox { display: inline-flex; }
.tab-item {
  padding: 7.5px 10px;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  color: #666;
  position: relative;
}
.tab-item.active {
  color: var(--brand);
  font-weight: 600;
}
.tab-item.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}

/* ===== 帖子卡片（朋友圈） ===== */
.moments__post {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 15px 10px 21px;
  display: flex;
  position: relative;
}
.moments__post .post-left {
  flex-shrink: 0;
  width: 42px;
}
.moments__post .post-left img,
.moments__post .avatar {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: #eee;
}
.moments__post .post_right {
  font-size: 16px;
  padding-left: 10px;
  flex: 1;
  min-width: 0;
  width: auto;
}
.moments__post .post-username {
  display: block;
  color: var(--link);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.moments__post .post_header {
  display: block;
  width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  text-align: left;
  color: rgba(0,0,0,.9) !important;
  font-size: 15px;
  line-height: 1.55;
}
.moments__post .post_header br + br { display: none; }
.moments__post .post_header a[phone],
.moments__post .post_header a[href^="tel:"] {
  color: var(--brand);
  margin-right: 5px;
}
.moments__post .post_header a[style*="22a5f6"] {
  display: inline-block;
  border-radius: 4px !important;
  padding: 0 6px !important;
  font-size: 13px !important;
  line-height: 1.6;
  vertical-align: middle;
}
.full_text {
  font-size: 15px;
  color: #037cd2;
  text-align: left;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  padding-top: 4px;
  cursor: pointer;
}
.moments__post .thumbnails {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-top: 8px;
}
.moments__post .thumbnails .thumbnail {
  width: 30%;
  height: 90px;
  margin: 2px;
  background: #757575;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}
.moments__post .thumbnails .thumbnail img,
.moments__post .thumbnails .thumbnail video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moments__post .thumbnails .my-gallery {
  width: auto;
  max-width: 72%;
  margin: 2px 0;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  background: #f3f3f3;
}
.moments__post .thumbnails .my-gallery img,
.moments__post .thumbnails .my-gallery video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  vertical-align: top;
  background: #f3f3f3;
}
.play {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  margin: auto;
  width: 35px; height: 35px;
  pointer-events: none;
}
.moments__post .toolbar {
  position: relative;
  top: 5px;
  display: flex;
  align-items: center;
  margin-top: 6px;
  gap: 4px;
}
.moments__post .toolbar .timestamp {
  color: var(--muted);
  font-size: 11px;
  flex: 1;
}
.moments__post .toolbar .id {
  font-size: 10px;
  color: #a9a9a9;
  margin-right: 8px;
}
.moments__post .like,
.moments__post .fav,
.moments__post .comment,
.moments__post .zhuanfa {
  display: flex;
  align-items: center;
  padding: 4px 6px;
  gap: 2px;
}
.moments__post .toolbar img.tool-icon {
  width: 20px;
  height: 20px;
}
.moments__post .post-footer {
  margin-top: 10px;
  background: #f7f7f7;
  border-radius: 3px;
  padding: 6px 8px;
}
.moments__post .footer_content {
  padding-left: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
}
.liked {
  position: relative;
  margin-right: 5px;
  width: 17px;
  height: 17px;
}
.moments__post .footer_content .nickname {
  color: var(--like);
  font-size: 12px;
}
.moments__post .comment-line {
  font-size: 12px;
  line-height: 1.6;
  padding: 2px 0;
}
.moments__post .comment-nickname {
  color: var(--like);
  font-size: 12px;
}
.moments__post .comment-content {
  color: #000;
  font-size: 12px;
}
.topimage {
  position: absolute;
  right: 10px;
  top: 12px;
  width: 32px;
  height: auto;
}

/* ===== 底栏 ===== */
.tabBar {
  width: 100%;
  max-width: 750px;
  height: var(--tab-h);
  background: #fff;
  border-top: 1px solid #e5e5e5;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 201;
}
.tabBar .tabBar_list {
  width: 100%;
  padding: 0 28px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.tabBar .tabBar_item,
.tabBar .tabBar_item2 {
  width: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 10px;
  color: #333;
  text-decoration: none;
}
/* 首页 / 我的：往中间靠一点 */
.tabBar .tabBar_item:first-of-type {
  margin-left: 18px;
  width: auto;
  min-width: 44px;
}
.tabBar .tabBar_item:last-of-type {
  margin-right: 18px;
  width: auto;
  min-width: 40px;
}
.tabBar .tabBar_item img { width: 24px; height: 24px; margin-bottom: 1px; }
.tabBar .tabBar_item:first-of-type img {
  width: 28px;
  height: 28px;
}
.tabBar .tabBar_name {
  font-size: 11px;
  line-height: 1.2;
}
/* 主页两字更大更醒目 */
.tabBar .tabBar_item:first-of-type .tabBar_name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #22a5f6;
  margin-top: 1px;
}
.tabBar .tabBar_item:first-of-type .tabBar_name.nav_active {
  color: #0d8ee0;
}
.tabBar .tabBar_item2,
.tabBar .tabBar_mid {
  width: auto;
  min-width: 48px;
  margin-top: -20px;
  position: relative;
  z-index: 101;
}
.tabBar .tabBar_mid {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: -18px;
}
.tabBar .tabBar_item2 img { width: 48px; height: 48px; }
.tabBar .tabBar_publish {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4db8ff, #22a5f6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(34, 165, 246, .4);
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}
.tabBar .tabBar_mid:active .tabBar_publish { transform: scale(.94); }
.tabBar .tabBar_stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  max-width: 56px;
  line-height: 1.15;
  text-align: center;
}
.tabBar .tabBar_stat b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #22a5f6;
  font-style: normal;
}
.tabBar .tabBar_stat i {
  display: block;
  font-size: 10px;
  color: #888;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 56px;
}
.tabBar .nav_active { color: var(--brand); }

/* ===== 加载更多 ===== */
.loadmore {
  text-align: center;
  padding: 16px;
  color: #999;
  font-size: 13px;
}

/* ===== 图片预览 ===== */
.img-preview {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.img-preview.show { display: flex; }
.img-preview__stage {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.img-preview__img,
.img-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.img-preview__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}
.img-preview__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.img-preview__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.img-preview__dot.on {
  background: #fff;
  width: 14px;
  border-radius: 4px;
}

/* ===== 评论弹层 ===== */
.comment-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,.4);
}
.comment-sheet.show { display: block; }
.comment-sheet .footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  width: 100%;
  height: 48px;
  border-top: solid 1px #bbb;
  padding: 4px;
  background: #f4f5f6;
  align-items: center;
}
.comment-sheet .footer-center {
  flex: 1;
  padding: 0 10px;
}
.comment-sheet .input-text {
  width: 100%;
  height: 34px;
  background: #fff;
  border-radius: 4px;
  padding: 0 10px;
}
.comment-sheet .send-comment {
  background: #007aff;
  text-align: center;
  line-height: 30px;
  color: #fff;
  width: 48px;
  height: 30px;
  border-radius: 5px;
  font-size: 12px;
  margin-right: 6px;
}

/* ===== 侧边客服小娃娃（可拖动） ===== */
.kefu-float {
  position: fixed;
  right: 4px;
  top: auto;
  bottom: clamp(5.5rem, 18vh, 8.5rem);
  z-index: 280;
  width: 76px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: grab;
  text-decoration: none;
  color: inherit;
  display: block;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  animation: kefuBob 2.4s ease-in-out infinite;
  visibility: hidden;
}
.kefu-float.is-placed {
  visibility: visible;
  bottom: auto;
}
.kefu-float.is-dragging {
  cursor: grabbing;
  animation: none !important;
  z-index: 320;
}
.kefu-float__ring {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: rgba(34, 165, 246, .16);
  animation: kefuPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.kefu-float__doll {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(34, 165, 246, .35);
  border: 2px solid #fff;
  background: #e8f6ff;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.kefu-float__tag {
  display: block;
  margin-top: 5px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
  background: #22a5f6;
  border-radius: 10px;
  padding: 3px 0;
  box-shadow: 0 2px 6px rgba(34, 165, 246, .35);
  pointer-events: none;
}
.kefu-float:active { transform: scale(.94); animation: none; }
@keyframes kefuBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes kefuPulse {
  0% { transform: scale(.85); opacity: .9; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ===== 客服弹窗 ===== */
.kefu-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,.55);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.kefu-mask.show { display: flex; }
.kefu-box {
  background: #fff;
  border-radius: 10px;
  max-width: 320px;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  padding: 16px;
  position: relative;
}
.kefu-body { text-align: center; padding: 8px 4px 4px; }
.kefu-qr {
  width: 200px; height: 200px; object-fit: contain;
  border-radius: 8px; background: #f7f7f7; display: block; margin: 0 auto 12px;
}
.kefu-tip { color: #666; font-size: 14px; line-height: 1.5; margin: 0; }
.kefu-box .close-btn {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 22px;
  color: #999;
}

/* ===== 搜索页 ===== */
.search-page { background: #fff; min-height: 100vh; }
.search-bar {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.search-bar input {
  flex: 1;
  height: 34px;
  background: #f5f5f5;
  border-radius: 17px;
  padding: 0 14px;
  font-size: 14px;
}
.search-bar .btn-search { color: var(--brand); font-size: 15px; }
.search-bar .btn-back { font-size: 15px; color: #666; padding: 4px; }
.search-section { padding: 16px; }
.search-section h3 { font-size: 14px; color: #999; margin-bottom: 10px; font-weight: 500; }
.hot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hot-tags span {
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 13px;
  color: #666;
}
.history-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.history-list .del { color: #ccc; font-size: 12px; }

/* ===== 登录 / 我的 ===== */
.login-page {
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% -10%, #cfe9fb 0%, transparent 55%),
    linear-gradient(180deg, #edf6fc 0%, #f5f7fa 42%, #f0f2f5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 100px;
  box-sizing: border-box;
}
.login-hero {
  position: relative;
  width: 100%;
  max-width: 380px;
  text-align: center;
  padding: 8px 8px 28px;
  animation: loginFadeUp .45s ease both;
}
.login-hero__glow {
  position: absolute;
  left: 50%; top: 18px;
  width: 160px; height: 160px;
  margin-left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,165,246,.22), transparent 70%);
  pointer-events: none;
  animation: loginPulse 3.2s ease-in-out infinite;
}
.login-avatar-wrap {
  position: relative;
  z-index: 1;
  width: 96px; height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, #fff, #b9ddf5);
}
.login-avatar {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #dcecf7;
  border: 2px solid #fff;
}
.login-vip-v {
  position: absolute;
  right: -2px;
  top: -2px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: #5a3d00;
  text-decoration: none;
  background: linear-gradient(145deg, #ffe08a, #e0a800);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.login-vip-v[hidden] { display: none !important; }
.login-brand {
  position: relative; z-index: 1;
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #15384f;
  line-height: 1.25;
}
.login-tip {
  position: relative; z-index: 1;
  margin: 0;
  color: #6a8496;
  font-size: 14px;
  line-height: 1.5;
}
.login-panel {
  width: 100%;
  max-width: 380px;
  animation: loginFadeUp .5s .08s ease both;
}
.login-panel--user { margin-top: 4px; }
.login-wx-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #1ad16b 0%, #07c160 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.login-wx-btn:active { transform: scale(.98); filter: brightness(.96); }
.login-wx-btn__ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 40%, #fff 0 28%, transparent 29%),
    radial-gradient(circle at 65% 40%, #fff 0 22%, transparent 23%),
    #fff;
  opacity: .95;
  position: relative;
}
.login-wx-btn__ico::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #07c160;
  border-right-color: #07c160;
  transform: rotate(35deg);
  opacity: .35;
}
.login-fine {
  margin: 14px 0 0;
  text-align: center;
  color: #8a9eae;
  font-size: 12px;
}
.login-wx-hint {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.75);
  color: #5a7385;
  font-size: 14px;
  line-height: 1.6;
  border: 1px solid rgba(34,165,246,.12);
}
.login-user-meta {
  text-align: center;
  margin-bottom: 14px;
  animation: loginFadeUp .4s ease both;
}
.login-user-name {
  font-size: 20px;
  font-weight: 700;
  color: #15384f;
}
.login-user-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(7,193,96,.12);
  color: #07a352;
  font-size: 12px;
  font-weight: 600;
}
.login-page.is-login .login-brand { font-size: 20px; }
.login-out-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  min-height: 44px;
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  background: #fff;
  color: #7a8b99;
  font-size: 15px;
  cursor: pointer;
}
.login-out-btn:active { background: #f5f7fa; }

.mine-menus {
  width: 100%;
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(20,60,90,.06);
  backdrop-filter: blur(6px);
}
.mine-menu {
  display: flex;
  align-items: center;
  padding: 15px 16px;
  text-decoration: none;
  color: #243848;
  border-bottom: 1px solid #f0f3f6;
  font-size: 15px;
  transition: background .15s ease;
}
.mine-menu:last-child { border-bottom: none; }
.mine-menu:active { background: #f3f8fc; }
.mine-menu__mark {
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 12px;
  flex: 0 0 auto;
}
.mine-menu__mark--vip { background: linear-gradient(135deg, #e8c36a, #c9a227); }
.mine-menu__mark--order { background: #07c160; }
.mine-menu__mark--chat { background: #f59e0b; }
.mine-menu__mark--like { background: #22a5f6; }
.mine-menu__mark--cmt { background: #7bb8e8; }
.mine-menu__mark--fav { background: #5ac8a0; }
.mine-menu__txt { flex: 1; text-align: left; font-weight: 500; }
.mine-menu__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-right: 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}
.mine-menu__arrow { color: #c5d0d8; font-size: 20px; line-height: 1; }

/* ===== 站内消息 ===== */
.chat-page {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--tab-h, 56px) - env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #eaf4fc 0%, #f3f6f9 40%, #f3f6f9 100%);
}
.chat-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.chat-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin: 10px 12px 12px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 55, 90, .08);
  min-height: 0;
}
.chat-shell__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef3f7;
  background: linear-gradient(180deg, #fff, #f7fbfe);
}
.chat-shell__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3aa0e8, #1f7ec4);
  color: #fff; font-weight: 800; font-size: 14px; flex: 0 0 auto;
}
.chat-shell__who { min-width: 0; }
.chat-shell__who strong { display: block; font-size: 15px; color: #1a2b3c; }
.chat-shell__who span { display: block; font-size: 12px; color: #7a8b9a; margin-top: 2px; }
.chat-shell__msgs {
  flex: 1;
  overflow: auto;
  padding: 16px 12px 12px;
  background:
    radial-gradient(circle at 12% 8%, rgba(34,165,246,.06), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(7,193,96,.05), transparent 35%),
    #edf2f6;
  min-height: 280px;
  -webkit-overflow-scrolling: touch;
}
.chat-loading, .chat-empty {
  text-align: center; color: #8a9aaa; padding: 48px 16px; font-size: 14px;
}
.chat-empty__ico { font-size: 34px; margin-bottom: 8px; }
.chat-empty p { color: #445566; font-weight: 600; margin: 0 0 4px; }
.chat-empty span { font-size: 12px; color: #8a9aaa; }
.c-row { display: flex; align-items: flex-end; gap: 8px; margin: 10px 0; }
.c-row.is-me { justify-content: flex-end; }
.c-ava {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #3aa0e8, #1f7ec4);
  color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.c-bubble {
  max-width: min(78%, 320px);
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  box-shadow: 0 2px 8px rgba(15, 40, 70, .06);
}
.c-row.is-me .c-bubble {
  background: linear-gradient(180deg, #1fd36a, #07b85a);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.c-row.is-admin .c-bubble {
  background: #fff;
  color: #1f2937;
  border-bottom-left-radius: 5px;
}
.c-bubble__t { font-size: 11px; opacity: .68; margin-top: 5px; }
.chat-shell__compose {
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid #e8eef4;
  background: #fff;
  align-items: flex-end;
}
.chat-shell__compose textarea {
  flex: 1;
  border: 1px solid #d5e2ee;
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  resize: none;
  min-height: 42px;
  max-height: 110px;
  line-height: 1.4;
  background: #f7fafc;
  outline: none;
}
.chat-shell__compose textarea:focus {
  border-color: #7cc4f0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34,165,246,.12);
}
.chat-shell__compose button {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #2ad06e, #07b85a);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 0 18px;
  min-height: 42px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(7,184,90,.28);
}
.chat-shell__compose button:disabled { opacity: .55; }
.chat-shell__guest {
  padding: 14px 16px 18px;
  text-align: center;
  border-top: 1px solid #eef3f7;
  background: #fff;
}
.chat-shell__guest p { margin: 0 0 10px; color: #667788; font-size: 13px; }
.chat-login-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: #22a5f6;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* 右下角消息实时提示（避开客服小人） */
.msg-tip {
  position: fixed;
  right: 10px;
  bottom: calc(var(--tab-h, 56px) + env(safe-area-inset-bottom) + 12px);
  z-index: 320;
  width: min(78vw, 270px);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(20, 32, 48, .92);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
}
.msg-tip.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.msg-tip__top {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 4px;
}
.msg-tip__title { font-size: 13px; font-weight: 800; }
.msg-tip__badge {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: #ef4444; font-size: 11px; line-height: 18px; text-align: center; font-weight: 800;
}
.msg-tip__preview {
  font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.msg-tip__go { display: block; margin-top: 8px; font-size: 12px; color: #7dd3fc; font-weight: 700; }
@keyframes msgTipPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(0,0,0,.28); }
  50% { box-shadow: 0 12px 28px rgba(34,165,246,.45); }
}
.msg-tip.has-new { animation: msgTipPulse 1.6s ease-in-out 3; }

@keyframes loginFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loginPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.mine-page { padding-bottom: 20px; }
.mine-tabs {
  display: flex;
  gap: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}
.mine-tabs a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.mine-tabs a.on { color: #22a5f6; border-bottom-color: #22a5f6; font-weight: 600; }
.mine-my-comment {
  margin: -4px 12px 12px 70px;
  padding: 8px 10px;
  background: #f7f7f7;
  border-radius: 6px;
  font-size: 13px;
  color: #555;
}
.auth_wrap { width: 100%; max-width: 340px; }
.auth_ul { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.auth_li {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  gap: 12px;
}
.auth_li:last-child { border-bottom: none; }
.auth_li .tit { width: 64px; color: #666; font-size: 14px; flex-shrink: 0; }
.auth_li input { flex: 1; font-size: 15px; }
.avatar-pick {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #eee;
  object-fit: cover;
  cursor: pointer;
}
.confirm_btn {
  margin-top: 28px;
  width: 100%;
  height: 46px;
  background: var(--brand);
  color: #fff;
  border-radius: 23px;
  font-size: 16px;
  font-weight: 600;
}
.confirm_btn:disabled { opacity: .5; }

/* ===== 发布页 ===== */
.publish-page { background: #fff; min-height: 100vh; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.publish-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
.publish-nav .title { font-weight: 600; }
.publish-nav__spacer { width: 48px; }
.publish-nav .submit {
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
}
.publish-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96);
  border-top: 1px solid #eee;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
}
.publish-bottom-bar__btn {
  display: block;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(145deg, #4db8ff, #22a5f6);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 6px 16px rgba(34, 165, 246, .35);
}
.publish-bottom-bar__btn:active { transform: scale(.98); opacity: .92; }
.publish-body { padding: 16px; }
.publish-body textarea {
  width: 100%;
  min-height: 140px;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
}
.cat-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}
.cat-pick label {
  padding: 6px 12px;
  background: #f5f5f5;
  border-radius: 14px;
  font-size: 13px;
  cursor: pointer;
}
.cat-pick input { display: none; }
.cat-pick input:checked + span {
  background: var(--brand);
  color: #fff;
  padding: 6px 12px;
  border-radius: 14px;
  display: inline-block;
}
.img-upload-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.img-upload-list .thumb-wrap {
  position: relative;
  width: 80px;
  height: 80px;
}
.img-upload-list .thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  background: #f0f0f0;
  display: block;
}
.img-upload-list .thumb-del {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  border: none;
  padding: 0;
}
.img-upload-list .add-btn {
  width: 80px;
  height: 80px;
  border: 1px dashed #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 32px;
  background: #fafafa;
}
.img-upload-tip {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

/* ===== 详情页微调 ===== */
.detail-nav {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
  gap: 10px;
}
/* 返回按钮加大、加深，减少误触微信顶栏关闭 X */
.detail-nav .back {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 72px;
  padding: 8px 14px 8px 10px;
  margin: 0;
  border: none;
  border-radius: 20px;
  background: #22a5f6;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 165, 246, .35);
  -webkit-tap-highlight-color: transparent;
}
.detail-nav .back:active {
  background: #1a8fd6;
  transform: scale(.97);
}
.detail-nav .title { font-weight: 600; font-size: 16px; flex: 1; text-align: center; padding-right: 72px; }
.detail-nav .nav-right {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #22a5f6;
  text-decoration: none;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(17,17,17,.78);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  z-index: 1000;
  display: none;
  max-width: 80%;
  text-align: center;
}
.toast.show { display: block; }

.empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 14px;
}

/* 一键分享：引导点右上角 ··· */
.wx-share-guide { position: fixed; inset: 0; z-index: 2000; }
.wx-share-guide__mask { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.wx-share-guide__panel {
  position: absolute; right: 12px; top: 12px;
  background: #fff; color: #222; border-radius: 10px;
  padding: 16px 18px; width: 240px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-size: 14px; line-height: 1.55;
}
.wx-share-guide__arrow {
  position: absolute; right: 10px; top: -28px;
  color: #fff; font-size: 28px; font-weight: 700; line-height: 1;
}
.wx-share-guide__panel p { margin: 0 0 6px; }
.wx-share-guide__sub { color: #888; font-size: 12px; }
.wx-share-guide__btn {
  margin-top: 10px; width: 100%; border: 0; background: #07c160; color: #fff;
  padding: 8px 0; border-radius: 6px; font-size: 14px;
}

.mall-page { background:#f5f5f5; min-height:60vh; }
.mall-head { background:#fff; padding:14px 16px 10px; }
.mall-head h1 { font-size:20px; margin:0 0 6px; }
.mall-head p { margin:0; color:#666; font-size:13px; }
.mall-head .mall-lead { color:#333; font-size:15px; line-height:1.5; }
.mall-notice { margin-top:8px; background:#fff7e8; color:#ad6800; border-radius:6px; padding:8px 10px; font-size:13px; }
.mall-cats { display:flex; gap:8px; overflow-x:auto; padding:10px 12px; background:#fff; -webkit-overflow-scrolling:touch; }
.mall-cats a {
  flex:0 0 auto; padding:6px 12px; border-radius:16px; background:#f3f3f3; color:#333;
  text-decoration:none; font-size:13px; white-space:nowrap; border:1px solid transparent;
}
.mall-cats a.on { background:#22a5f6; color:#fff; }
.mall-cats a.mall-cat-all {
  display:inline-flex; align-items:center; gap:5px;
  background:#eef7ff; color:#1a8fd0; font-weight:600; border-color:#c5e4f8;
}
.mall-cats a.mall-cat-all em {
  font-style:normal; font-size:11px; font-weight:700; line-height:1;
  min-width:16px; padding:2px 5px; border-radius:9px;
  background:rgba(34,165,246,.15); color:#1a8fd0;
}
.mall-cats a.mall-cat-all.on { background:#22a5f6; color:#fff; border-color:#22a5f6; }
.mall-cats a.mall-cat-all.on em { background:rgba(255,255,255,.28); color:#fff; }
.mall-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; padding:10px 10px 20px; }
.mall-card { background:#fff; border-radius:8px; overflow:hidden; text-decoration:none; color:#222; box-shadow:0 1px 2px rgba(0,0,0,.04); display:flex; flex-direction:column; height:100%; }
.mall-card img, .mall-ph { width:100%; aspect-ratio:1; height:auto; object-fit:cover; display:block; background:#e8f4ff; flex:none; }
.mall-ph { display:flex; align-items:center; justify-content:center; color:#22a5f6; font-size:18px; font-weight:700; }
.mall-card-t {
  padding:4px 4px 0; font-size:13px; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em; flex:1 1 auto;
}
.mall-card-p { padding:2px 4px 6px; color:#ff4d4f; font-size:14px; font-weight:600; margin-top:auto; }
.mall-cover { width:100%; max-height:240px; object-fit:cover; display:block; background:#eee; }
.mall-detail { background:#fff; padding:14px 16px 20px; }
.mall-tag { display:inline-block; background:#e8f6ff; color:#22a5f6; border-radius:4px; padding:2px 8px; font-size:12px; }
.mall-detail h1 { font-size:20px; margin:8px 0; }
.mall-price { color:#ff4d4f; font-size:18px; font-weight:700; margin-bottom:10px; }
.mall-summary { white-space:pre-wrap; line-height:1.7; font-size:15px; color:#333; }

.mall-head-actions { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.mall-orders-btn {
  display: block; text-align: center; background: #f0faf4; color: #07c160;
  border: 1px solid #b7e6c9; border-radius: 8px; padding: 11px 12px;
  text-decoration: none; font-size: 15px; font-weight: 600;
}
.mall-head .mall-call { margin: 0; }

.orders-page { background: #f5f5f5; min-height: 60vh; padding-bottom: 24px; }
.orders-tabs { margin-bottom: 0; }
#ordersFeed { padding: 10px 12px; }
.order-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.order-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.order-kind {
  font-size: 12px;
  color: #22a5f6;
  background: #e8f6ff;
  padding: 2px 8px;
  border-radius: 4px;
}
.order-status { font-size: 13px; font-weight: 600; }
.order-card.is-paid .order-status { color: #07c160; }
.order-card.is-pending .order-status { color: #fa8c16; }
.order-card.is-refund-pending .order-status { color: #d48806; }
.order-card.is-refunded .order-status { color: #999; }
.order-title { font-size: 16px; font-weight: 600; color: #222; margin-bottom: 4px; }
.order-sub { font-size: 13px; color: #888; margin-bottom: 10px; }
.order-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.order-amt { color: #ff4d4f; font-size: 17px; font-weight: 700; }
.order-time { font-size: 12px; color: #999; }
.order-no { font-size: 12px; color: #bbb; word-break: break-all; margin-bottom: 8px; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-link, .order-tel, .order-chat, .order-del, .order-refund {
  flex: 1;
  min-width: 30%;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  padding: 8px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  box-sizing: border-box;
}
.order-link { background: #f5f5f5; color: #333; }
.order-tel { background: #22a5f6; color: #fff; }
.order-chat { background: #fff7e6; color: #d48806; border: 1px solid #ffd591; }
.order-del { background: #fff1f0; color: #ff4d4f; border: 1px solid #ffccc7; }
.order-refund { background: #f0f5ff; color: #2f54eb; border: 1px solid #adc6ff; }
.orders-chat-link { color: #d48806 !important; font-size: 13px; font-weight: 600; }
.order-del:disabled, .order-refund:disabled { opacity: .55; }

/* platform coupons */
.home-entry__ico--coupon{background:linear-gradient(145deg,#ff9f43,#ee5a24)}
.home-entry__ico--coupon::before{
  width:20px;height:14px;left:12px;top:15px;border-radius:3px;
  border:2px solid rgba(255,255,255,.95);box-sizing:border-box;background:transparent;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.home-entry__ico--coupon::after{
  width:6px;height:6px;left:19px;top:12px;border-radius:50%;
  box-shadow:0 18px 0 0 rgba(255,255,255,.95);
}
.home-entry__ico--activity{background:linear-gradient(145deg,#ff6b6b,#ee5a24)}
.home-entry__ico--activity::before{
  content:"";position:absolute;left:14px;top:12px;width:16px;height:16px;
  border-radius:50% 50% 50% 0;transform:rotate(-45deg);
  background:rgba(255,255,255,.95);box-shadow:0 0 0 2px rgba(255,255,255,.25);
}
.home-entry__ico--activity::after{
  content:"";position:absolute;left:19px;top:17px;width:6px;height:6px;border-radius:50%;
  background:#ee5a24;
}
.entry-def-ico--activity{background:linear-gradient(145deg,#ff6b6b,#ee5a24)}

/* 同城热点活动 — 公众号信息流风格 */
.act-ui{min-height:60vh;background:#f3f3f3;padding-bottom:28px}
.act-ui__nav{
  position:sticky;top:0;z-index:20;
  display:flex;align-items:center;justify-content:space-between;
  height:48px;padding:0 8px;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);
  border-bottom:1px solid #ececec;
}
.act-ui__back{
  border:0;background:transparent;color:#576b95;font-size:16px;font-weight:500;
  padding:8px 10px;line-height:1;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.act-ui__title{font-size:17px;font-weight:600;color:#111;letter-spacing:.2px}
.act-ui__nav-spacer{width:56px}
.act-ui__feed{padding:12px 12px 8px;display:flex;flex-direction:column;gap:12px}
.act-feed-card{
  display:block;background:#fff;border-radius:12px;padding:14px 14px 12px;
  text-decoration:none;color:inherit;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.act-feed-card__title{
  margin:0 0 12px;font-size:18px;font-weight:700;line-height:1.45;color:#111;
  letter-spacing:.1px;text-decoration:none;color:inherit;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.act-feed-card__media{
  position:relative;width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;
  background:#e8e8e8;isolation:isolate;cursor:pointer;
}
.act-feed-card__media--video{background:#000;cursor:default;aspect-ratio:4/5;max-height:46vh}
.act-feed-card__video{
  position:absolute;inset:0;width:100%;height:100%;z-index:1;
  object-fit:cover;object-position:center;display:block;background:#111;
  -webkit-playsinline:true;
}
.act-feed-card__actions{
  position:absolute;right:8px;bottom:12px;z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:12px;
}
.act-feed-btn{
  width:44px;min-height:44px;border:0;border-radius:50%;
  background:rgba(0,0,0,.42);color:#fff;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  padding:8px 0 6px;cursor:pointer;-webkit-tap-highlight-color:transparent;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.act-feed-btn .act-ico{width:22px;height:22px;display:block}
.act-feed-btn__n{font-size:10px;line-height:1;font-weight:600;opacity:.95}
.act-feed-btn--mute .act-ico--sound{display:none}
.act-feed-btn--mute.is-on .act-ico--muted{display:none}
.act-feed-btn--mute.is-on .act-ico--sound{display:block}
.act-feed-btn--like.is-on{background:rgba(255,77,79,.92);color:#fff}
.act-feed-btn--comment{text-decoration:none;color:#fff}
.act-feed-btn--share{padding-bottom:8px}
.act-detail__meta{display:flex;gap:14px;margin:8px 0 4px;font-size:13px;color:#888}
.act-detail__toolbar{display:flex;gap:10px;margin:16px 0 8px}
.act-tool{
  flex:1;height:40px;border:0;border-radius:10px;background:#eef6fc;color:#22a5f6;
  font-size:14px;font-weight:600;cursor:pointer
}
.act-tool--like.is-on{background:#ffe8e8;color:#e03131}
.act-tool--share{background:#22a5f6;color:#fff}
.act-detail__comments{margin-top:18px;padding-top:12px;border-top:1px solid #f0f0f0}
.act-cmt{padding:10px 0;border-bottom:1px solid #f5f5f5}
.act-cmt__name{font-size:13px;font-weight:600;color:#22a5f6;margin-bottom:4px}
.act-cmt__body{font-size:14px;color:#333;line-height:1.45;word-break:break-word}
.act-cmt-empty{padding:12px 0;color:#999;font-size:13px}
@media(min-width:560px){
  .act-feed-card__media--video{aspect-ratio:16/9;max-height:none}
}
.act-feed-swiper__vp{
  display:flex;width:100%;height:100%;
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  touch-action:pan-x;scrollbar-width:none;cursor:grab;
}
.act-feed-swiper__vp::-webkit-scrollbar{display:none;width:0;height:0}
.act-feed-swiper__vp.is-drag{cursor:grabbing;scroll-snap-type:none}
.act-feed-swiper__slide{
  position:relative;flex:0 0 100%;width:100%;height:100%;
  scroll-snap-align:start;scroll-snap-stop:always;background:#e8e8e8;
}
.act-feed-card__img{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:center;display:block;border:0;background:#e8e8e8;
  user-select:none;-webkit-user-drag:none;pointer-events:none;
}
.act-feed-swiper__dots{
  position:absolute;left:0;right:0;bottom:8px;z-index:2;
  display:flex;justify-content:center;gap:5px;pointer-events:none;
}
.act-feed-swiper__dots span{
  width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.45);
  box-shadow:0 0 1px rgba(0,0,0,.35);
}
.act-feed-swiper__dots span.on{background:#fff}
.act-feed-swiper__count{
  position:absolute;right:8px;bottom:8px;z-index:2;
  background:rgba(0,0,0,.42);color:#fff;font-size:11px;line-height:1;
  padding:3px 7px;border-radius:10px;pointer-events:none;
}
.act-feed-card__ph{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-size:36px;font-weight:700;color:#bbb;background:#f0f0f0;
}
.act-feed-card__foot{
  margin-top:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;
  text-decoration:none;color:inherit;
}
.act-feed-card__author{font-size:13px;color:#888;font-weight:500;min-width:0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.act-feed-card__badge{
  flex:none;font-style:normal;font-size:11px;font-weight:600;
  color:#576b95;background:#edf3ff;border-radius:4px;padding:2px 7px;
}
.act-feed-card__badge--img{color:#07c160;background:#eafff0}
.act-detail{background:#f5f7fb;min-height:60vh;padding-bottom:24px}
.act-detail__video,.act-detail__cover{background:#111}
.act-detail__video video,.act-detail__cover img,.act-video{
  width:100%;max-height:56vh;object-fit:contain;display:block;background:#000;
  -webkit-playsinline:true;
}
.act-detail__gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:8px 12px 0}
.act-detail__gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px;background:#eee}
.act-detail__panel{background:#fff;margin:12px;padding:16px;border-radius:14px;box-shadow:0 4px 14px rgba(30,60,100,.06)}
.act-detail__panel h1{font-size:20px;margin:0 0 8px;line-height:1.35}
.act-detail__shop{font-size:13px;color:#22a5f6;font-weight:600;margin-bottom:8px}
.act-detail__summary{margin:0 0 10px;color:#555;font-size:14px;line-height:1.55}
.act-detail__info{font-size:13px;color:#666;line-height:1.7;margin-bottom:12px;padding:10px;background:#f8fafc;border-radius:10px}
.act-detail__info a{color:#22a5f6}
.act-detail__label{font-size:15px;font-weight:700;margin-bottom:8px}
.act-detail__body{font-size:14px;line-height:1.7;color:#444;white-space:pre-wrap;word-break:break-word}
.act-detail__body--rich{white-space:normal}
.act-detail__body--rich p{margin:0 0 .75em}
.act-detail__body--rich img,.act-detail__body--rich video{display:block;max-width:100%;height:auto;margin:12px 0;border-radius:8px;background:#111}
.act-detail__actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.mine-menu__mark--coupon{background:#ee5a24}
.cp-page{padding-bottom:24px}
.cp-head{padding:16px 16px 8px}
.cp-head h1{font-size:22px;margin:0 0 6px;font-weight:700}
.cp-lead{margin:0;color:#666;font-size:13px;line-height:1.5}
.cp-list{padding:8px 12px 20px;display:flex;flex-direction:column;gap:10px}
.cp-card{display:flex;gap:12px;background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.cp-card.is-soldout{opacity:.55}
.cp-card__cover{width:96px;height:96px;flex-shrink:0;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:28px;color:#999}
.cp-card__cover img{width:100%;height:100%;object-fit:cover}
.cp-card__body{flex:1;padding:10px 12px 10px 0;min-width:0}
.cp-card__title{font-size:15px;font-weight:600;line-height:1.35;margin-bottom:4px}
.cp-card__shop{font-size:12px;color:#888;margin-bottom:8px}
.cp-card__row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.cp-card__price{color:#ff4d4f;font-size:18px}
.cp-card__row em{font-style:normal;font-size:12px;color:#999}
.cp-card__row i{font-style:normal;font-size:12px;color:#999}
.cp-detail .cp-face{font-size:13px;color:#999;font-weight:400;margin-left:6px}
.cp-deal-tip{margin:-4px 0 10px;font-size:13px;color:#ee5a24;font-weight:600}
.mall-head-actions .mall-order-btn{display:block;width:100%;text-align:center;text-decoration:none;box-sizing:border-box}
.cp-shop-deal{
  margin:12px 0 10px;padding:12px 14px;border-radius:12px;
  background:linear-gradient(135deg,#fff7f0,#ffe8e0);
  border:1px solid #ffd0bc;
}
.cp-shop-deal__main{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.cp-shop-deal__main em{
  font-style:normal;font-size:12px;font-weight:700;color:#fff;
  background:#ff4d4f;border-radius:4px;padding:2px 6px;line-height:1.2;
}
.cp-shop-deal__main strong{font-size:22px;font-weight:800;color:#ff4d4f;letter-spacing:-.3px}
.cp-shop-deal__sub{margin-top:6px;font-size:13px;color:#8c4a2f;line-height:1.45}
.cp-shop-deal__list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.cp-shop-deal__opt{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 12px;border-radius:999px;cursor:pointer;font-family:inherit;
  background:#fff;color:#ff4d4f;font-size:12px;font-weight:700;
  border:1px solid #ffc2ad;line-height:1.2;
}
.cp-shop-deal__opt.is-on{
  background:#ff4d4f;color:#fff;border-color:#ff4d4f;
  box-shadow:0 4px 10px rgba(255,77,79,.28);
}
.cp-mall-grid .mall-card.cp-shop-pick{
  border:none;padding:0;font:inherit;text-align:left;cursor:pointer;width:100%;
  appearance:none;-webkit-appearance:none;background:#fff;
}
.cp-mall-grid .mall-card.cp-shop-pick.is-picked{
  outline:2px solid #22a5f6;outline-offset:0;
  box-shadow:0 4px 14px rgba(34,165,246,.25);
}
.cp-mall-grid .mall-card.cp-shop-pick:disabled{opacity:.55;cursor:not-allowed}
.cp-meta{margin:12px 0;padding:12px;background:#fafafa;border-radius:10px;font-size:13px;color:#555;line-height:1.7}
.cp-ticket{margin:10px 12px;padding:14px;border-radius:12px;background:#fff;border:1px dashed #ffb38a}
.cp-ticket.is-ok{border-color:#ff9f43;background:linear-gradient(180deg,#fff8f2,#fff)}
.cp-ticket.is-used,.cp-ticket.is-dead{opacity:.65;border-color:#ddd;background:#f7f7f7}
.cp-ticket__hd{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}
.cp-ticket__hd strong{font-size:15px}
.cp-ticket__hd em{font-style:normal;font-size:12px;color:#ee5a24}
.cp-ticket__src{display:inline-block;margin:0 0 8px;padding:2px 8px;border-radius:999px;font-size:11px;color:#ad4e00;background:#fff7e6;border:1px solid #ffd591}
.cp-ticket__code{font-family:ui-monospace,Consolas,monospace;font-size:22px;letter-spacing:.08em;font-weight:700;margin:8px 0;color:#222;text-align:center}
.cp-ticket__qr{display:flex;flex-direction:column;align-items:center;gap:6px;margin:10px 0 4px}
.cp-ticket__qrbox{
  width:220px;height:220px;padding:10px;box-sizing:border-box;
  background:#fff;border-radius:10px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  border:1px solid #f0f0f0;
}
.cp-ticket__qrbox img,.cp-ticket__qrbox canvas{width:200px!important;height:200px!important;display:block}
.cp-ticket__qrbox table{margin:0 auto;width:200px!important;height:200px!important}
.cp-ticket__qr-fallback{font-size:12px;color:#999;text-align:center;line-height:1.5;padding:12px}
.cp-ticket__qr span{font-size:12px;color:#888}
.cp-ticket.is-used .cp-ticket__qr,.cp-ticket.is-dead .cp-ticket__qr{display:none}
.cp-mine-tip{margin:8px 16px 24px;font-size:12px;color:#999;line-height:1.5;text-align:center}
.cp-ticket__shop,.cp-ticket__ft{font-size:12px;color:#888;line-height:1.5}
.cp-ticket__tel{display:inline-block;margin-top:8px;font-size:13px;color:#22a5f6}
/* ===== 商家核销页（对齐 docs/image.png） ===== */
.rd-page{
  position:relative;
  min-height:100%;
  padding-bottom:24px;
  background:linear-gradient(180deg,#d9f5e4 0%,#eefaf3 140px,#f3f5f7 280px,#f3f5f7 100%);
  overflow:hidden;
}
.rd-bg{position:absolute;inset:0 0 auto 0;height:180px;pointer-events:none;z-index:0}
.rd-bg__art{position:absolute;right:-6px;top:36px;width:168px;height:126px;opacity:.9}
.rd-nav{position:relative;z-index:2;background:transparent!important}
.rd-card{
  position:relative;z-index:1;
  margin:8px 14px 16px;
  padding:16px 14px 18px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(47,158,95,.08);
}
.rd-card__hero{display:flex;align-items:center;gap:10px;margin-bottom:14px;position:relative}
.rd-avatar{
  width:48px;height:48px;border-radius:50%;
  background:linear-gradient(145deg,#3ecf7a,#2f9e5f);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;flex-shrink:0;
  box-shadow:0 4px 10px rgba(47,158,95,.25);
}
.rd-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.rd-card__hero-txt{flex:1;min-width:0;padding-right:88px}
.rd-card__hero-txt strong{display:block;font-size:18px;color:#1a1a1a;line-height:1.3}
.rd-card__hero-txt span{display:block;margin-top:3px;font-size:12px;color:#8a9a90}
.rd-slogan{
  position:absolute;right:0;top:4px;
  font-size:12px;color:#2f9e5f;font-weight:600;
  letter-spacing:.02em;line-height:1.35;text-align:right;
  max-width:96px;
}
.rd-slogan:after{
  content:"";display:block;margin:4px 0 0 auto;width:52px;height:3px;
  border-radius:3px;background:linear-gradient(90deg,transparent,#3ecf7a);
}
.rd-seg{
  display:flex;gap:0;padding:3px;margin-bottom:14px;
  background:#f1f4f2;border-radius:999px;
}
.rd-seg__btn{
  flex:1;border:0;background:transparent;color:#7a8780;
  padding:10px 8px;font-size:15px;border-radius:999px;font-weight:500;
}
.rd-seg__btn.is-on{
  background:#2f9e5f;color:#fff;font-weight:600;
  box-shadow:0 4px 10px rgba(47,158,95,.28);
}
.rd-tip{
  display:flex;align-items:flex-start;gap:8px;
  margin:0 0 14px;padding:10px 12px;
  background:#eaf8ef;border-radius:10px;
  font-size:12px;color:#3d6b50;line-height:1.5;
}
.rd-tip i{
  flex-shrink:0;width:16px;height:16px;margin-top:1px;
  border-radius:50%;background:#2f9e5f;color:#fff;
  font-style:normal;font-size:11px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;
}
.rd-label{
  display:flex;align-items:center;gap:6px;
  margin:0 0 8px;font-size:13px;color:#44554b;font-weight:600;
}
.rd-field{position:relative;margin-bottom:14px}
.rd-field input{
  width:100%;box-sizing:border-box;
  padding:12px 42px 12px 14px;
  border:1px solid #dce8e0;border-radius:12px;
  background:#fafcfb;font-size:15px;color:#222;
}
.rd-field input:focus{outline:none;border-color:#3ecf7a;background:#fff;box-shadow:0 0 0 3px rgba(62,207,122,.15)}
.rd-field__ico{
  position:absolute;right:8px;top:50%;transform:translateY(-50%);
  border:0;background:transparent;padding:6px;line-height:0;color:#2f9e5f;
}
.rd-btn{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;box-sizing:border-box;border:0;border-radius:12px;
  padding:13px 16px;font-size:16px;font-weight:600;cursor:pointer;
}
.rd-scan-row{display:flex;gap:10px;margin:0 0 8px}
.rd-scan-row .rd-btn{
  flex:1;margin:0!important;justify-content:center;gap:6px;
  color:#fff!important;display:flex;align-items:center;
}
.rd-btn--album{
  background:linear-gradient(135deg,#36cfc9,#13c2c2)!important;
  box-shadow:0 8px 18px rgba(19,194,194,.28)!important;
}
.rd-tip--sm{margin:0 0 14px;font-size:12px;opacity:.9}
.rd-btn--scan{
  background:linear-gradient(90deg,#3ecf7a,#2f9e5f);
  color:#fff;
  box-shadow:0 8px 18px rgba(47,158,95,.28);
  position:relative;
}
.rd-btn--scan .rd-btn__arrow{margin-left:auto;font-size:22px;opacity:.9;line-height:1}
.rd-btn--primary{
  background:linear-gradient(90deg,#3ecf7a,#2f9e5f);color:#fff;
  box-shadow:0 6px 14px rgba(47,158,95,.22);
}
.rd-btn--ghost{
  background:#fff;color:#2f9e5f;border:1.5px solid #2f9e5f;
}
.rd-btn--sm{width:auto;padding:11px 16px;font-size:14px;flex-shrink:0}
.rd-actions{display:flex;flex-direction:column;gap:10px;margin-top:2px}
.rd-logout{
  display:block;width:100%;margin-top:12px;border:0;background:transparent;
  color:#99a69e;font-size:13px;padding:8px;
}
.rd-result{
  margin-top:14px;padding:12px;background:#f6ffed;border-radius:12px;
  font-size:13px;line-height:1.6;display:flex;gap:10px;align-items:flex-start;color:#2d5a3d;
}
.rd-result.is-err{background:#fff5f5;color:#b42318}
.rd-result__img{width:56px;height:56px;object-fit:cover;border-radius:8px;background:#eee;flex-shrink:0}
.rd-search{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.rd-search .rd-field{flex:1;margin:0}
.rd-search .rd-field input{padding-right:14px}
.rd-feed{min-height:80px}
.rd-item{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eef3f0}
.rd-item:last-child{border-bottom:0}
.rd-item__cover{width:72px;height:72px;border-radius:10px;overflow:hidden;background:#f3f3f3;flex-shrink:0}
.rd-item__cover img{width:100%;height:100%;object-fit:cover;display:block}
.rd-item__ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#bbb;font-size:14px;background:#f5f5f5}
.rd-item__body{flex:1;min-width:0}
.rd-item__body strong{display:block;font-size:15px;line-height:1.35;margin-bottom:4px;color:#222}
.rd-item__code{font-family:ui-monospace,Consolas,monospace;font-size:13px;color:#333;letter-spacing:.04em}
.rd-item__deal{font-size:12px;color:#ee5a24;margin-top:2px}
.rd-item__meta{font-size:12px;color:#888;margin-top:4px;line-height:1.4}
.rd-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px;padding-top:4px}
.rd-pager button{
  border:1px solid #dce8e0;background:#f7faf8;color:#44554b;
  border-radius:10px;padding:8px 14px;font-size:13px;
}
.rd-pager button:disabled{opacity:.4}
.rd-pager span{font-size:13px;color:#666}
.cp-mall-grid .mall-card.is-soldout{opacity:.55}
.cp-shop-banner{margin:0 -4px 12px;border-radius:10px;overflow:hidden;background:#eee}
.cp-shop-banner img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.cp-buy-hint{color:#ee5a24!important;font-weight:600}

/* ===== 商家优惠券页 UI（复刻参考稿） ===== */
.cp-ui{
  min-height:100%;
  background:linear-gradient(180deg,#eaf6ff 0%,#f5f9fc 120px,#f3f5f7 100%);
  padding-bottom:20px;
}
.cp-ui__nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:10px 12px;position:sticky;top:0;z-index:20;
  background:rgba(234,246,255,.92);backdrop-filter:blur(8px);
}
.cp-ui__back{
  border:none;background:#22a5f6;color:#fff;border-radius:10px;
  min-height:36px;padding:0 12px;font-size:14px;font-weight:600;cursor:pointer;
  font-family:inherit;box-shadow:0 4px 10px rgba(34,165,246,.28);
}
.cp-ui__title{
  display:flex;align-items:center;gap:6px;font-size:17px;font-weight:700;color:#1a2b3c;
}
.cp-ui__title-ico{font-size:18px;line-height:1}
.cp-ui__mine{
  display:inline-flex;align-items:center;gap:4px;
  color:#22a5f6;text-decoration:none;font-size:13px;font-weight:600;
}
.cp-ui__tabs{
  display:flex;gap:6px;overflow-x:auto;padding:4px 8px 10px;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.cp-ui__tabs::-webkit-scrollbar{display:none}
.cp-ui__tab{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:3px;
  padding:5px 9px;border-radius:999px;background:#fff;color:#333;
  text-decoration:none;font-size:12px;font-weight:500;white-space:nowrap;
  box-shadow:0 1px 3px rgba(20,40,80,.06);border:1px solid #eef2f6;
}
.cp-ui__tab i{font-style:normal;font-size:13px;line-height:1}
.cp-ui__tab em{
  font-style:normal;font-size:11px;font-weight:700;
  min-width:16px;padding:1px 5px;border-radius:8px;margin-left:2px;
  background:rgba(255,255,255,.28);color:#fff;
}
.cp-ui__tab.is-on{
  background:#22a5f6;color:#fff;border-color:#22a5f6;
  box-shadow:0 4px 12px rgba(34,165,246,.35);
}
.cp-ui__hero{
  margin:0 12px 14px;padding:18px 14px;border-radius:16px;
  background:
    linear-gradient(100deg,rgba(255,236,179,.92) 0%,rgba(255,210,122,.55) 42%,rgba(255,210,122,.15) 62%,transparent 78%),
    var(--cp-hero) right center / auto 100% no-repeat,
    linear-gradient(115deg,#ffe9b0 0%,#ffd27a 45%,#ffc56e 100%);
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  box-shadow:0 8px 20px rgba(255,170,40,.22);position:relative;overflow:hidden;
  min-height:96px;
}
.cp-ui__hero-txt{position:relative;z-index:1;max-width:58%}
.cp-ui__hero-txt strong{
  display:block;font-size:18px;font-weight:800;color:#1e3a8a;letter-spacing:.5px;line-height:1.25;
}
.cp-ui__hero-txt span{
  display:block;margin-top:6px;font-size:12px;color:#4b5563;font-weight:500;
}
.cp-ui__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;padding:0 12px 24px;
}
.cp-ui__card{
  background:#fff;border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;
  box-shadow:0 4px 14px rgba(30,60,100,.08);display:flex;flex-direction:column;
}
.cp-ui__visual{
  position:relative;aspect-ratio:1.05;background:#ffe8d6;
  overflow:hidden;
}
.cp-ui__cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cp-ui__ticket{
  position:relative;z-index:1;height:100%;padding:10px 8px 8px;
  display:flex;flex-direction:column;justify-content:center;
}
.cp-ui__ticket--onimg .cp-ui__ticket-price{text-shadow:0 1px 0 rgba(255,255,255,.5)}
.cp-ui__ticket-badge{
  position:absolute;left:0;top:8px;
  background:#22a5f6;color:#fff;font-size:10px;font-weight:700;
  padding:3px 8px 3px 6px;border-radius:0 10px 10px 0;
}
.cp-ui__ticket-main{padding-right:22px}
.cp-ui__ticket-price{
  color:#ef4444;font-size:26px;font-weight:800;line-height:1.05;letter-spacing:-.5px;
}
.cp-ui__ticket-price small{font-size:13px;margin-right:1px;font-weight:700}
.cp-ui__ticket-cond{margin-top:4px;font-size:11px;color:#6b7280;font-weight:500}
.cp-ui__ticket-seal{
  position:absolute;right:8px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border-radius:50%;
  border:2px dashed rgba(239,68,68,.45);color:#ef4444;
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;background:rgba(255,255,255,.55);
}
.cp-ui__card-body{padding:8px 8px 10px;display:flex;flex-direction:column;gap:6px;flex:1}
.cp-ui__name{
  font-size:13px;font-weight:700;color:#111;line-height:1.3;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;
}
.cp-ui__tags{display:flex;flex-wrap:wrap;gap:4px}
.cp-ui__tags span{
  font-size:10px;color:#1d7ab8;background:#e8f5ff;border-radius:999px;
  padding:2px 6px;line-height:1.3;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.cp-ui__foot{
  margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;
}
.cp-ui__foot strong{color:#ff4d4f;font-size:13px;font-weight:800;letter-spacing:-.2px}
.cp-ui__get{
  flex:0 0 auto;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  min-height:26px;padding:0 11px 0 9px;
  background:linear-gradient(180deg,#4db6ff 0%,#3cabff 55%,#2f9ef0 100%);
  color:#fff;border-radius:999px;
  font-size:12px;font-weight:700;line-height:1;letter-spacing:.5px;
  box-shadow:0 4px 10px rgba(60,171,255,.42), inset 0 1px 0 rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.25);
}
.cp-ui__get-ico{
  width:15px;height:11px;display:block;flex:0 0 auto;
  filter:drop-shadow(0 1px 0 rgba(0,0,0,.08));
}
.cp-ui__card:active .cp-ui__get{
  transform:scale(.96);
  filter:brightness(.96);
}
@media (max-width:360px){
  .cp-ui__ticket-price{font-size:22px}
  .cp-ui__foot strong{font-size:12px}
  .cp-ui__get{min-height:24px;padding:0 9px 0 7px;font-size:11px}
  .cp-ui__get-ico{width:13px;height:10px}
}
/* 便民：三列；二手：四列；横幅用主题插画 */
.cp-ui--bianmin .cp-ui__hero{
  background:
    linear-gradient(100deg,rgba(224,242,254,.96) 0%,rgba(186,230,253,.72) 38%,rgba(186,230,253,.18) 58%,transparent 72%),
    var(--cp-hero) right -4px center / auto 108% no-repeat,
    linear-gradient(115deg,#e0f2fe 0%,#7dd3fc 48%,#38bdf8 100%);
  box-shadow:0 8px 20px rgba(14,165,233,.2);
}
.cp-ui--bianmin .cp-ui__hero-txt strong{color:#0c4a6e}
.cp-ui--ershou .cp-ui__hero{
  background:
    linear-gradient(100deg,rgba(255,237,213,.96) 0%,rgba(254,215,170,.72) 38%,rgba(254,215,170,.18) 58%,transparent 72%),
    var(--cp-hero) right -4px center / auto 108% no-repeat,
    linear-gradient(115deg,#ffedd5 0%,#fdba74 48%,#fb923c 100%);
  box-shadow:0 8px 20px rgba(249,115,22,.2);
}
.cp-ui--ershou .cp-ui__hero-txt strong{color:#7c2d12}
.cp-ui--ershou .cp-ui__grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:0 10px 24px;
}
.cp-ui--ershou .cp-ui__card{border-radius:10px}
.cp-ui--ershou .cp-ui__card-body{padding:6px 6px 8px;gap:4px}
.cp-ui--ershou .cp-ui__name{font-size:12px;min-height:2.4em}
.cp-ui--ershou .cp-ui__tags span{font-size:9px;padding:1px 5px}
.cp-ui--ershou .cp-ui__foot strong{font-size:12px}
.cp-ui--ershou .cp-ui__get{
  min-height:22px;padding:0 8px 0 7px;font-size:11px;gap:2px;
}
.cp-ui--ershou .cp-ui__get-ico{width:12px;height:9px}

/* ===== 侧浮标：抽奖 + 客服（各自可拖） ===== */
.side-floats {
  display: contents;
}
.side-floats .kefu-float {
  position: fixed;
  z-index: 280;
  visibility: hidden;
}
.side-floats .kefu-float.is-placed {
  visibility: visible;
}
.lottery-float {
  position: fixed;
  right: 8px;
  top: auto;
  bottom: calc(clamp(5.5rem, 18vh, 8.5rem) + 86px);
  z-index: 281;
  width: 64px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: grab;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  animation: kefuBob 2.6s ease-in-out infinite;
  visibility: hidden;
}
.lottery-float.is-placed {
  visibility: visible;
  bottom: auto;
}
.lottery-float.is-dragging {
  cursor: grabbing;
  animation: none !important;
  z-index: 321;
}
.lottery-float__ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd666, #fa8c16);
  box-shadow: 0 4px 14px rgba(250, 140, 22, .4);
  border: 2px solid #fff;
}
.lottery-float__tag {
  display: block;
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  color: #fff;
  background: #fa8c16;
  border-radius: 10px;
  padding: 3px 0;
  box-shadow: 0 2px 6px rgba(250, 140, 22, .35);
}
.lottery-float:active { transform: scale(.94); animation: none; }

.lottery-mask {
  position: fixed;
  inset: 0;
  z-index: 420;
  background: rgba(20, 12, 8, .62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.lottery-mask[hidden] { display: none !important; }
.lottery-box {
  position: relative;
  width: min(92vw, 340px);
  background:
    radial-gradient(120% 80% at 50% -10%, #ffe7ba 0%, transparent 55%),
    linear-gradient(180deg, #fffaf0 0%, #fff 48%, #fff7e6 100%);
  border-radius: 22px;
  padding: 20px 14px 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.9);
  text-align: center;
  border: 1px solid rgba(250, 173, 20, .35);
}
.lottery-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.06);
  color: #8c8c8c;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lottery-head { padding: 2px 28px 0; }
.lottery-box h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #ad4e00;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
.lottery-tip {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #8c8c8c;
}
.lottery-wheel-wrap {
  position: relative;
  width: 268px;
  height: 268px;
  margin: 4px auto 14px;
}
.lottery-wheel-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, .35), transparent 68%);
  pointer-events: none;
}
.lottery-pointer {
  position: absolute;
  left: 50%;
  top: -4px;
  z-index: 5;
  width: 28px;
  height: 34px;
  margin-left: -14px;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.28));
  pointer-events: none;
}
.lottery-pointer i {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 26px solid #f5222d;
}
.lottery-pointer::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 2px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #f5222d;
}
.lottery-wheel {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 7px solid #ffc53d;
  box-shadow:
    0 0 0 3px #d48806,
    0 0 0 6px #ffe58f,
    0 10px 24px rgba(0,0,0,.2),
    inset 0 0 0 2px rgba(255,255,255,.45);
  overflow: hidden;
  background: #fff;
}
.lottery-svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.lottery-svg__txt {
  font-weight: 800;
  paint-order: stroke fill;
  stroke: rgba(0,0,0,.3);
  stroke-width: .55px;
}
.lottery-go {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffd666, #fa8c16 55%, #d46b08);
  color: #fff;
  box-shadow:
    0 6px 16px rgba(212, 107, 8, .45),
    inset 0 2px 0 rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
}
.lottery-go span {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.lottery-go:active:not(:disabled) { transform: scale(.96); }
.lottery-go:disabled {
  opacity: .85;
  cursor: not-allowed;
  filter: grayscale(.15);
}
.lottery-result {
  min-height: 24px;
  margin: 0;
  padding: 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #ad4e00;
  font-weight: 600;
}
