/* =================================================
   PPT马上有 工作台 · iOS 原生工作台风
   ================================================= */

:root {
  --bg:        #f7f8fb;
  --card:      #ffffff;
  --text:      #1a1a1a;
  --text-sub:  #6b7c93;
  --brand:     #0a1929;
  --accent:    #d4af37;
  --accent2:   #4f8cff;
  --accent3:   #ff6b6b;
  --accent4:   #4ecdc4;
  --accent5:   #a78bfa;
  --accent6:   #fbbf24;
  --accent7:   #f06292;
  --accent8:   #66bb6a;
  --border:    #eef0f4;
  --shadow:    0 4px 16px rgba(20,30,50,.06);
  --shadow-h:  0 12px 32px rgba(20,30,50,.12);
}

* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body { padding-bottom: env(safe-area-inset-bottom); padding-top: env(safe-area-inset-top); }

/* ===== App 容器 ===== */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 90px;
  background: var(--bg);
}

/* ===== 顶部 Header ===== */
.header {
  background: linear-gradient(160deg, #0a1929 0%, #1a2942 100%);
  color: #fff;
  padding: 18px 20px 28px;
  position: relative;
  overflow: hidden;
}
.header::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,.25), transparent 70%);
  pointer-events: none;
}
.header .top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.brand { font-size: 17px; font-weight: 700; letter-spacing: .3px; display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: rgba(255,255,255,.2); }

.header h1 {
  font-size: 26px; font-weight: 800;
  margin-bottom: 4px; line-height: 1.2;
  letter-spacing: -.5px;
}
.header .subtitle { font-size: 13px; color: #c4d4e3; margin-bottom: 16px; }

.search-bar {
  display: flex; align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 8px 14px;
  backdrop-filter: blur(20px);
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  padding: 6px 0;
}
.search-bar input::placeholder { color: rgba(255,255,255,.5); }
.search-bar .icon-btn { width: 30px; height: 30px; background: transparent; }

/* ===== 区块 ===== */
.section {
  background: var(--card);
  margin: 12px 12px 0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.section-title h2::before {
  content: '';
  width: 4px; height: 18px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  border-radius: 2px;
}
.section-title .more {
  font-size: 13px; color: var(--text-sub); text-decoration: none;
}
.section-title .more:hover { color: var(--accent2); }

/* ===== 工作台入口网格 ===== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.entry {
  aspect-ratio: 1;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.entry:active { transform: scale(.95); }
.entry:hover { box-shadow: var(--shadow-h); }
.entry .icon {
  font-size: 24px; margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.entry .name {
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
}
.entry.bg1 { background: linear-gradient(135deg, #4f8cff, #6cb0ff); }
.entry.bg2 { background: linear-gradient(135deg, #ff6b6b, #ff9d9d); }
.entry.bg3 { background: linear-gradient(135deg, #4ecdc4, #6ee7de); }
.entry.bg4 { background: linear-gradient(135deg, #a78bfa, #c4b1ff); }
.entry.bg5 { background: linear-gradient(135deg, #fbbf24, #fcd34d); }
.entry.bg6 { background: linear-gradient(135deg, #f06292, #f8a5c2); }
.entry.bg7 { background: linear-gradient(135deg, #66bb6a, #9ccc65); }
.entry.bg8 { background: linear-gradient(135deg, #d4af37, #f4d03f); }
.entry.bg0 { background: linear-gradient(135deg, #6b7c93, #94a3b8); }

/* ===== 卡片列表 ===== */
.list { padding: 0; }
.list-card {
  display: flex; align-items: stretch;
  background: #fff;
  border-radius: 12px;
  margin: 0 12px 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
  box-shadow: var(--shadow);
}
.list-card:active { transform: scale(.98); }
.list-card:hover { box-shadow: var(--shadow-h); }
.list-card .thumb {
  width: 100px; flex-shrink: 0;
  background: #f0f3f7;
  position: relative;
}
.list-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.list-card .info {
  flex: 1; padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0;
}
.list-card .info h3 {
  font-size: 13px; font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .info .meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--text-sub); margin-top: 6px;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  background: #eef5ff;
  color: var(--accent2);
}

/* ===== 分类筛选器 ===== */
.cats {
  display: flex; gap: 8px;
  padding: 14px 12px 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display:none; }
.cat-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cat-pill.active {
  background: var(--brand);
  color: var(--accent);
  border-color: var(--brand);
}

/* ===== 网格卡片（小图多列） ===== */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
}
.grid2 .cell {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
  box-shadow: var(--shadow);
}
.grid2 .cell:active { transform: scale(.97); }
.grid2 .cell .thumb {
  aspect-ratio: 16/9;
  background: #f0f3f7;
  position: relative;
  overflow: hidden;
}
.grid2 .cell .thumb img { width:100%; height:100%; object-fit: cover; object-position: top; }
.grid2 .cell .info {
  padding: 8px 10px;
}
.grid2 .cell .info h4 {
  font-size: 12px; font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 32px;
}
.grid2 .cell .info .meta {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--text-sub); margin-top: 4px;
}

/* ===== 底部 Tab ===== */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1;
  text-align: center;
  padding: 10px 0 8px;
  cursor: pointer;
  color: var(--text-sub);
  font-size: 11px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: color .2s;
}
.tab.active { color: var(--brand); font-weight: 600; }
.tab .ico { font-size: 22px; line-height: 1; }
.tab.active .ico { color: var(--accent); }

/* ===== 预览弹窗 ===== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 200;
  display: none;
  flex-direction: column;
}
.modal-mask.show { display: flex; }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  color: #fff;
  flex-shrink: 0;
}
.modal-header h3 {
  font-size: 15px; font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 12px;
}

.preview-body {
  flex: 1;
  overflow-y: auto;
  display: flex; justify-content: center;
  padding: 0 16px;
  background: #1a1a1a;
}
.preview-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}

.modal-footer {
  background: #fff;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
}
.nav {
  display: flex; align-items: center; gap: 10px;
}
.nav button {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  font-size: 14px;
}
.nav button:disabled { opacity: .3; cursor: not-allowed; }
.nav .counter { font-size: 13px; color: var(--text-sub); }

.btn-primary {
  background: linear-gradient(135deg, #0a1929, #1a2942);
  color: var(--accent);
  border: none;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.btn-primary:active { transform: scale(.97); }

/* ===== 激活码弹窗 ===== */
.gate {
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 24px 20px;
  margin-top: auto;
  animation: slideUp .3s cubic-bezier(.2,.9,.3,1.2);
  /* 手机键盘弹出/内容超高时允许内部滚动，弹窗永不被顶出屏幕 */
  max-height: 86%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.gate::-webkit-scrollbar { display: none; }
/* 静默换取链接的 loading 态 */
.gate-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 22px 0 10px; color: #555; font-size: 14px; }
.spinner { width: 18px; height: 18px; border: 2px solid #e5e7eb; border-top-color: #6366f1; border-radius: 50%; animation: spin .8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideUp { from { transform: translateY(40px); opacity:0; } }

.gate h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.gate .sub { font-size: 13px; color: var(--text-sub); margin-bottom: 16px; }

.code-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px dashed var(--accent);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  font-family: "Courier New", monospace;
  outline: none;
  background: #fffbeb;
}
.code-input:focus { border-color: var(--accent2); background: #f0f7ff; }

.btn-block {
  width: 100%;
  background: linear-gradient(135deg, #0a1929, #1a2942);
  color: var(--accent);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-block:active { transform: scale(.99); }

.qr-area {
  text-align: center;
  padding: 20px 0 0;
  border-top: 1px dashed var(--border);
  margin-top: 20px;
}
.qr-area p { font-size: 13px; color: var(--text-sub); margin-bottom: 12px; }
.qr-img {
  width: 140px; height: 140px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.qr-img img { width: 100%; height: 100%; display: block; }
.qr-tip { font-size: 12px; color: var(--accent); margin-top: 10px; font-weight: 600; }

.pan-result {
  display: none;
  background: linear-gradient(135deg, #fff8e7, #fffaf0);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.pan-result.show { display: block; }
.pan-result h4 {
  color: var(--text);
  font-size: 14px;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.pan-result h4 .ico { color: var(--accent); }
.pan-link {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: var(--text);
  font-family: "Courier New", monospace;
  word-break: break-all;
  margin-bottom: 10px;
  border: 1px solid #f0e3b8;
}
.btn-copy {
  width: 100%;
  background: var(--brand);
  color: var(--accent);
  border: none;
  padding: 11px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn-copy:active { transform: scale(.98); }
.btn-copy.copied { background: #22c55e; color: #fff; }

.use-guide {
  background: #f0f7ff;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 10px;
  line-height: 1.5;
}
.use-guide strong { color: var(--accent); }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10,25,41,.96);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  z-index: 1000;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { border-color: #ef4444; color: #fff; }

/* ===== 安装 PWA 提示 ===== */
.install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #0a1929, #1a2942);
  color: #fff;
  padding: 16px 20px;
  z-index: 99;
  display: none;
  transform: translateY(100%);
  transition: transform .3s;
}
.install-banner.show { display: block; transform: translateY(0); }
.install-banner .row { display: flex; align-items: center; gap: 12px; }
.install-banner .text { flex: 1; }
.install-banner h4 { font-size: 14px; margin-bottom: 2px; }
.install-banner p { font-size: 11px; color: #c4d4e3; }
.install-banner button {
  background: var(--accent);
  color: var(--brand);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}
.install-banner .later {
  background: transparent;
  color: #c4d4e3;
  border: none;
  padding: 8px 8px;
  font-size: 12px;
  cursor: pointer;
}

/* 我的页面 */
.me-item {
  display: flex; align-items: center;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.me-item:active { background: #f7f8fb; }
.me-item .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-right: 12px;
}
.me-item .info { flex: 1; }
.me-item .info h4 { font-size: 14px; font-weight: 600; }
.me-item .info p  { font-size: 12px; color: var(--text-sub); }
.me-item .arr { color: var(--text-sub); font-size: 14px; }

.empty {
  text-align: center; padding: 60px 20px;
  color: var(--text-sub);
}
.empty .ico { font-size: 50px; margin-bottom: 12px; opacity: .5; }

.loading {
  text-align: center; padding: 30px; color: var(--text-sub); font-size: 13px;
}

/* 适配小屏 */
@media (max-width: 380px) {
  .entry-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .header h1 { font-size: 22px; }
}

/* ====================== 悬浮按钮（留言 / 客服） ====================== */
/* 统一让 hidden 属性优先于任何 display */
[hidden] { display: none !important; }

.float-btn {
  position: fixed; z-index: 90; width: 56px; height: 56px;
  border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  font-size: 12px; line-height: 1; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .2s;
}
.float-btn:active { transform: scale(.92); }
.float-btn .ico { font-size: 22px; margin-bottom: 2px; }
.float-btn .lbl { font-size: 10px; opacity: .9; }

.fb-msg { left: 14px; bottom: 78px; background: linear-gradient(135deg,#ff7a5c,#ff4d6d); }
.fb-chat { right: 14px; bottom: 78px; background: linear-gradient(135deg,#2b6cff,#0e2bd6); }
.fb-msg .badge-dot {
  position: absolute; top: 6px; right: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #ffd23f; border: 2px solid #fff;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }

/* ====================== 留言抽屉 ====================== */
.msg-drawer {
  position: fixed; left: 0; right: 0; bottom: 0; top: 30%;
  z-index: 95; background: #fff; border-radius: 18px 18px 0 0;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0,0,0,.2);
  animation: drawerUp .25s ease-out;
  max-width: 480px; margin: 0 auto;
}
@keyframes drawerUp { from { transform: translateY(100%);} to {transform: translateY(0);} }

.md-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.md-tabs { display: flex; gap: 18px; }
.md-tab {
  background: none; border: none; padding: 8px 0; font-size: 15px; color: #666;
  position: relative; cursor: pointer;
}
.md-tab.active { color: #0a1929; font-weight: 700; }
.md-tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,#2b6cff,#0e2bd6); border-radius: 2px;
}
.md-tab small { color: #ff4d6d; margin-left: 4px; }
.md-close {
  background: #f5f5f7; border: none; width: 32px; height: 32px; border-radius: 50%;
  font-size: 18px; color: #333; cursor: pointer;
}

.md-body {
  flex: 1; overflow-y: auto; padding: 16px;
  -webkit-overflow-scrolling: touch;
}
.md-sub { color: #888; font-size: 12px; margin-bottom: 12px; }

.md-types { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.md-type { flex: 1; min-width: 80px; }
.md-type input { display: none; }
.md-type span {
  display: block; padding: 10px 4px; text-align: center;
  background: #f5f5f7; border-radius: 10px; cursor: pointer;
  font-size: 13px; color: #666; transition: all .15s;
}
.md-type input:checked + span {
  background: linear-gradient(135deg,#2b6cff,#0e2bd6);
  color: #fff; font-weight: 600;
}

.md-input, .md-textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #e5e5ea; border-radius: 10px;
  padding: 10px 12px; font-size: 14px; margin-bottom: 10px;
  background: #fafafa;
}
.md-textarea { min-height: 90px; resize: vertical; font-family: inherit; }
.md-input:focus, .md-textarea:focus { outline: none; border-color: #2b6cff; background: #fff; }
.md-tip { color: #888; font-size: 11px; text-align: center; margin-top: 8px; }

/* 我的消息列表 */
.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg-list-item {
  background: #f8f9fb; border-radius: 12px; padding: 12px; cursor: pointer;
}
.msg-list-item .mt-type {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 11px; color: #fff; background: #2b6cff; margin-right: 6px;
}
.msg-list-item.has-reply .mt-type { background: #18a36f; }
.msg-list-item .mt-content { color: #333; font-size: 14px; margin: 6px 0; line-height: 1.5; }
.msg-list-item .mt-meta { color: #aaa; font-size: 11px; }
.msg-list-item .mt-reply-count {
  float: right; background: #ff4d6d; color: #fff; border-radius: 10px;
  padding: 1px 6px; font-size: 11px;
}

/* 消息详情 */
.msg-detail {
  padding: 16px;
  background: #f8f9fb; height: calc(100vh - 60px); overflow-y: auto;
}
.md-bubble {
  margin-bottom: 16px; padding: 12px 14px; border-radius: 12px;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.05);
  max-width: 85%;
}
.md-bubble.me { margin-left: auto; background: linear-gradient(135deg,#2b6cff,#0e2bd6); color: #fff; }
.md-bubble.admin { background: linear-gradient(135deg,#18a36f,#0d8a5b); color: #fff; }
.md-bubble .who { font-size: 11px; opacity: .8; margin-bottom: 4px; }
.md-bubble .text { font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.md-bubble .when { font-size: 11px; opacity: .7; margin-top: 6px; }

/* ====================== 客服弹层 ====================== */
.chat-popover {
  position: fixed; right: 14px; bottom: 144px; z-index: 95;
  background: #fff; border-radius: 14px; min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  overflow: hidden; animation: popIn .2s ease-out;
}
@keyframes popIn { from { opacity: 0; transform: translateY(8px);} to {opacity: 1; transform: translateY(0);} }
.cp-head {
  padding: 12px 16px; background: linear-gradient(135deg,#2b6cff,#0e2bd6);
  color: #fff; font-weight: 600; font-size: 15px;
}
.cp-list { display: flex; flex-direction: column; }
.cp-item {
  display: flex; align-items: center; padding: 12px 14px;
  text-decoration: none; color: #333; gap: 12px;
  border-bottom: 1px solid #f5f5f5;
}
.cp-item:last-child { border-bottom: none; }
.cp-item:active { background: #f8f9fb; }
.cp-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: #f0f4ff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.cp-text { flex: 1; min-width: 0; }
.cp-name { font-size: 14px; font-weight: 600; }
.cp-sub { font-size: 11px; color: #888; margin-top: 2px; }
.cp-arrow { color: #ccc; font-size: 18px; }

/* ===== 免费/精品 徽章 & 下载数 ===== */
.tag.free { background:#eafaf0; color:#16a34a; }
.tag.vip  { background:#fff4e5; color:#b8860b; }
.grid2 .cell .thumb .tag { position:absolute; top:6px; left:6px; z-index:2; }
.meta .dl { color:#f59e0b; font-weight:600; }

/* 预览下方 meta */
.preview-meta {
  background:#fff;
  padding:8px 16px;
  display:flex; justify-content:space-between;
  font-size:12px; color:var(--text-sub);
  flex-shrink:0;
  border-top:1px solid var(--border);
}
.badge {
  padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700;
  flex-shrink:0;
}
.badge.free { background:#22c55e; color:#fff; }
.badge.vip  { background:linear-gradient(135deg,#d4af37,#f4d03f); color:#0a1929; }

/* 代做按钮 */
.btn-daizuo {
  width:100%;
  background:#fff;
  border:none;
  border-top:1px solid var(--border);
  padding:12px;
  color:#b8860b;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  flex-shrink:0;
}
.btn-daizuo:active { background:#fff8e7; }

/* ===== 淘宝式商品详情页 ===== */
.detail-mask { background:#f5f5f7 !important; }
.detail-mask .modal-header { background:#fff; color:var(--text); border-bottom:1px solid var(--border); }
.detail-mask .modal-header h3 { color:var(--text); }
.detail-scroll { flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.detail-cover { width:100%; height:300px; background:#fff; overflow:hidden; }
.detail-cover img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.detail-info { background:#fff; padding:14px 16px 16px; }
.detail-title { font-size:17px; font-weight:700; line-height:1.5; color:#111; margin:0 0 12px; }
.detail-price-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:14px; }
.detail-price-row .price { color:#d4af37; font-size:24px; font-weight:800; }
.detail-price-row .price.free { color:#22c55e; }
.detail-price-row .dlmeta { font-size:12px; color:#888; }
.detail-actions { display:flex; }
.detail-actions .btn-primary { flex:1; justify-content:center; background:linear-gradient(90deg,#d4af37,#f4d03f); color:#0a1929; }
.detail-sec-title { background:#fff; padding:12px 16px; font-size:15px; font-weight:700; color:#333; margin-top:10px; display:flex; align-items:center; gap:6px; }
.detail-long { background:#fff; padding-bottom:24px; }
.detail-long img { width:100%; display:block; }
.detail-bar { border-top:1px solid var(--border); }


/* ===== 淘宝式商品详情页 ===== */
.tb-mask { background:#f5f5f7 !important; }
/* 详情页顶部栏：返回（左）+ 关闭 X（右）。中间不放标题，避免与下方 tb-info 重复 */
.tb-topbar {
  position:absolute; top:0; left:0; right:0; z-index:6;
  display:flex; align-items:center; justify-content:space-between; padding:10px 12px;
  background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,0));
  color:#fff; gap:10px;
}
.tb-back, .tb-close {
  height:34px; border-radius:17px;
  background:rgba(0,0,0,.42); color:#fff; border:none;
  font-size:22px; cursor:pointer; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  backdrop-filter:blur(6px);
}
.tb-back { width:auto; padding:0 14px 0 6px; gap:2px; }
.tb-back:active, .tb-close:active { background:rgba(0,0,0,.62); }
.tb-back .tb-back-ico { font-size:22px; line-height:1; margin-top:-3px; }
.tb-back .tb-back-txt { font-size:14px; font-weight:500; }
.tb-close { width:34px; font-size:17px; }
/* 右上角用户数字 ID（替代原收藏按钮；收藏入口保留在底部操作栏） */
.tb-uid {
  position:absolute; top:56px; right:12px; z-index:4;
  display:flex; align-items:center; gap:5px;
  height:30px; padding:0 10px 0 8px;
  background:rgba(0,0,0,.42); color:#fff;
  border:1px solid rgba(255,255,255,.22); border-radius:15px;
  font-size:12px; font-weight:600; cursor:pointer;
  backdrop-filter:blur(6px);
  max-width:60%;
}
.tb-uid:active { background:rgba(0,0,0,.62); }
.tb-uid-ico { font-size:13px; }
.tb-uid-txt { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; letter-spacing:.3px; }
.tb-uid-arr { font-size:13px; opacity:.75; margin-left:-1px; }
/* 滚动区 */
.tb-scroll { flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; }
/* 主图轮播 */
.tb-gallery { position:relative; width:100%; background:#fff; }
.tb-gallery-main { width:100%; height:340px; overflow:hidden; }
.tb-gallery-main img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.tb-gal-nav { position:absolute; top:50%; transform:translateY(-50%); width:30px; height:44px; border:none; background:rgba(0,0,0,.25); color:#fff; font-size:22px; cursor:pointer; }
.tb-gal-nav.prev { left:0; border-radius:0 8px 8px 0; }
.tb-gal-nav.next { right:0; border-radius:8px 0 0 8px; }
.tb-gal-count { position:absolute; bottom:8px; left:50%; transform:translateX(-50%); background:rgba(0,0,0,.4); color:#fff; font-size:12px; padding:2px 10px; border-radius:20px; }
.tb-collect { position:absolute; top:10px; right:10px; background:rgba(0,0,0,.4); color:#fff; font-size:13px; border:none; border-radius:20px; padding:5px 12px; cursor:pointer; }
/* 信息区 */
.tb-info { background:#fff; padding:14px 14px 12px; }
.tb-price-row { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:8px; }
.tb-price { color:#ff5000; font-size:26px; font-weight:800; }
.tb-price.free { color:#ff5000; }
.tb-price:before { content:''; }
.tb-sold { font-size:12px; font-weight:700; color:#b8860b; padding:4px 12px; border-radius:14px; background:linear-gradient(90deg,#fff4e5,#fff1e0); border:1px solid #f6dfa8; }
.tb-title { font-size:16px; font-weight:600; color:#111; line-height:1.5; margin:0 0 10px; }
.tb-tags { display:flex; flex-wrap:wrap; gap:6px; }
.tb-tag { background:#fff1e8; color:#ff5000; font-size:11px; padding:3px 8px; border-radius:4px; }
.tb-tag b { font-weight:600; }
/* 代做 */
.tb-daizuo { display:flex; align-items:center; justify-content:space-between; gap:10px; background:linear-gradient(90deg,#fff7e6,#fff); margin:10px; padding:12px 14px; border-radius:10px; }
.tb-daizuo .dz-txt { flex:1; min-width:0; }
.tb-daizuo span { font-size:13px; color:#b8860b; }
.tb-daizuo .dz-promo { font-size:12px; color:#ff5000; margin-top:4px; }
.tb-daizuo .dz-btn, .tb-daizuo button { flex-shrink:0; background:linear-gradient(90deg,#ffb03a,#ff8f0a); color:#fff; border:none; border-radius:20px; padding:8px 14px; font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
.dz-hero { color:#ff5000; font-size:18px; font-weight:800; }
.hl2 { color:#ff5000; }
.dz-steps { margin-top:14px; font-size:12px; color:#999; }
/* 服务保障 */
.tb-svc { background:#fff; margin:10px 0; padding:6px 14px; }
.tb-svc-row { padding:9px 0; font-size:13px; color:#555; border-bottom:1px solid #f5f5f5; }
.tb-svc-row:last-child { border-bottom:none; }
.tb-svc-row .ico { margin-right:8px; }
/* 评价 */
.tb-reviews { background:#fff; margin:10px 0; padding:12px 14px; }
.tb-rev-head { display:flex; align-items:center; gap:10px; font-size:13px; color:#333; padding-bottom:10px; border-bottom:1px solid #f5f5f5; }
.tb-rev-head b { color:#ff5000; }
.tb-rev-head .hl { font-size:15px; }
.tb-rev-head button { margin-left:auto; border:none; background:none; color:#999; font-size:12px; cursor:pointer; }
.tb-rev-item { padding:12px 0; border-bottom:1px solid #f5f5f5; }
.tb-rev-item:last-child { border-bottom:none; }
.tb-rev-user { font-size:13px; color:#333; display:flex; align-items:center; gap:8px; }
.tb-rev-score { color:#ff9500; font-size:12px; }
.tb-rev-tag { background:#fff1e8; color:#ff5000; font-size:10px; padding:1px 6px; border-radius:3px; }
.tb-rev-text { font-size:13px; color:#555; margin-top:6px; }
.tb-rev-date { font-size:11px; color:#bbb; margin-top:5px; }
/* 详情长图 */
.tb-detail { background:#fff; margin-top:10px; padding-bottom:24px; }
.tb-detail-title { font-size:15px; font-weight:700; color:#333; padding:12px 14px; }
.tb-detail img { width:100%; display:block; }
/* 底部操作栏 */
.tb-bar { display:flex; align-items:stretch; background:#fff; border-top:1px solid #eee; flex-shrink:0; padding:8px 8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); }
.tb-bar-item { flex:0 0 52px; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:11px; color:#666; cursor:pointer; }
.tb-bar-item span { font-size:18px; margin-bottom:2px; }
.tb-btn-add { flex:1; margin:0 6px; background:linear-gradient(90deg,#ffb03a,#ff8f0a); border:none; border-radius:24px; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.tb-btn-buy { flex:1.3; margin:0 6px 0 0; background:linear-gradient(90deg,#ff6a00,#ff2d2d); border:none; border-radius:24px; color:#fff; font-size:14px; font-weight:700; cursor:pointer; }
.tb-btn-add:active, .tb-btn-buy:active { transform:scale(.97); }

/* ===== 独立搜索页 ===== */
.search-page {
  position:fixed; inset:0; z-index:150;
  margin:0 auto; max-width:480px;       /* 与首页 .app 同宽，桌面端也不被拉成"平铺大白页" */
  background:#f5f5f7;
  box-shadow:0 0 0 1px var(--border);
  display:none; flex-direction:column;
  overflow-y:auto;                    /* 关键：列表页必须能滚动，否则只能看到首屏几条 */
  -webkit-overflow-scrolling:touch;   /* iOS 惯性滚动 */
  overscroll-behavior:contain;        /* 防止滚动穿透到 body */
}
.search-page.show { display:flex; }
/* 列表页网格留出底部间距，避免最后一行贴边/被遮 */
#catPage .grid2, #searchPage .grid2 { padding:10px 10px 4px; }

/* ===== App 风格统一顶栏（所有二级页共用） ===== */
.app-bar {
  position:sticky; top:0; z-index:5;
  display:flex; align-items:center;
  height:48px; padding:0 6px;
  background:#fff;
  border-bottom:1px solid var(--border);
  flex-shrink:0;
}
.ab-back, .ab-home {
  width:40px; height:40px; border:none; background:transparent;
  color:var(--text); font-size:24px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; border-radius:50%;
}
.ab-back:active, .ab-home:active { background:#f2f3f5; }
.ab-title {
  flex:1; margin:0; text-align:center;
  font-size:16px; font-weight:600; color:var(--text);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  padding:0 4px;
}
.ab-home { font-size:20px; color:var(--accent2); }

/* 搜索框（独立行，不挤在顶栏里） */
.sp-search-bar {
  display:flex; align-items:center; gap:8px;
  padding:8px 12px; background:#fff;
  border-bottom:1px solid var(--border);
}
.sp-search-bar .sp-ico { margin:0 6px 0 4px; color:#999; font-size:14px; }
.sp-search-bar input {
  flex:1; border:none; outline:none; background:transparent;
  font-size:14px; color:var(--text); padding:0;
}
.sp-btn {
  background:linear-gradient(90deg,#ff5000,#ff2d2d); color:#fff;
  border:none; border-radius:18px; padding:7px 14px;
  font-size:14px; font-weight:600; cursor:pointer; flex-shrink:0;
}
.sp-more { display:block; width:calc(100% - 24px); margin:14px 12px; padding:11px; background:#fff; border:none; border-radius:10px; color:#ff5000; font-size:14px; font-weight:600; cursor:pointer; }

/* 面包屑（细灰字辅助提示，紧贴顶栏下） */
.sp-breadcrumb {
  display:flex; align-items:center; gap:4px;
  padding:7px 14px; font-size:12px; color:#999;
  background:#fafbfc; border-bottom:1px solid var(--border);
}
.sp-breadcrumb .sep { color:#c0c4cc; padding:0 2px; }
.sp-breadcrumb span:last-child { color:#555; font-weight:500; }

/* ===== 分类专属页 ===== */
.cat-page .cp-title { flex:1; font-size:16px; font-weight:700; color:#111; }
.cp-banner { position:relative; height:132px; overflow:hidden; flex-shrink:0; border-bottom:1px solid var(--border); }
.cp-banner img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
/* 底部渐隐，让 banner 与下面列表过渡自然 */
.cp-banner::after { content:''; position:absolute; left:0; right:0; bottom:0; height:22px; background:linear-gradient(180deg,rgba(245,245,247,0),rgba(245,245,247,.85)); pointer-events:none; }
.cp-banner-fallback {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(120deg,#0a1929,#1d3557 60%,#2b6cff);
  font-size:46px;
}
.tb-barrage {
  position:absolute; top:94px; right:0;   /* 下移到「返回 / ID 徽标」下方，避免相互压字 */
  z-index:3; pointer-events:none;
  display:flex; flex-direction:column; gap:8px; align-items:flex-end;
  max-width:100%;
}

/* ===== 激活码说明（4档） ===== */
.code-guide { margin:14px 0 2px; background:#f8f9fb; border:1px solid #eef0f4; border-radius:10px; padding:10px 12px; }
.cg-title { font-size:13px; font-weight:700; color:#333; margin-bottom:6px; }
.cg-row { display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px dashed #e8e8ee; }
.cg-row:last-of-type { border-bottom:none; }
.cg-ico { font-size:18px; flex-shrink:0; }
.cg-txt { flex:1; display:flex; flex-direction:column; min-width:0; }
.cg-txt b { font-size:13px; color:#111; }
.cg-txt span { font-size:11px; color:#888; margin-top:2px; }
.cg-tip { font-size:11px; color:#b8860b; margin-top:8px; }



/* 代做价格档 */
.daizuo-price {
  display:flex; justify-content:center; gap:10px; margin-top:16px;
}
.daizuo-price span {
  flex:1; max-width:100px;
  background:#f7f8fb; border-radius:10px; padding:10px 4px;
  font-size:11px; color:var(--text-sub);
  display:flex; flex-direction:column; gap:2px;
}
.daizuo-price b { font-size:18px; color:#b8860b; }

/* 免费领 banner */
.free-banner {
  display:flex; align-items:center; gap:12px;
  background:linear-gradient(135deg,#16a34a,#22c55e);
  border-radius:14px; padding:16px; color:#fff;
  cursor:pointer;
}
.free-banner:active { transform:scale(.98); }
.free-banner .fb-icon { font-size:32px; }
.free-banner .fb-text { flex:1; }
.free-banner .fb-text h3 { font-size:15px; font-weight:700; margin-bottom:2px; }
.free-banner .fb-text p { font-size:11px; opacity:.9; }
.free-banner .fb-btn {
  background:#fff; color:#16a34a; font-weight:700;
  padding:8px 14px; border-radius:20px; font-size:12px;
}

/* ===== 实时下载弹幕 ===== */
.barrage-layer {
  position:fixed;
  top:70px; right:12px;
  z-index:150;
  pointer-events:none;
  display:flex; flex-direction:column; gap:8px;
  align-items:flex-end;
}
.barrage {
  background:rgba(10,25,41,.82);
  color:#fff;
  font-size:12px;
  padding:8px 14px;
  border-radius:20px;
  border:1px solid var(--accent);
  max-width:280px;
  opacity:0;
  transform:translateX(120%);
  transition:all .4s ease;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  box-shadow:0 4px 16px rgba(0,0,0,.2);
}
.barrage.show { opacity:1; transform:translateX(0); }

/* ===== 热搜词（首页搜索框下方小字） ===== */
.hot-kw { display:flex; align-items:center; gap:6px; margin-top:10px; padding:0 4px; flex-wrap:wrap; min-height:18px; }
.hot-kw .hk-lbl { font-size:11px; color: rgba(255,255,255,.55); flex-shrink:0; }
.hot-kw .hk-list { display:flex; gap:10px; flex-wrap:wrap; }
.hot-kw .hk-chip {
  font-size:11px; color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; padding: 3px 10px; cursor: pointer;
  transition: all .15s;
}
.hot-kw .hk-chip:hover { background: rgba(255,255,255,.18); color:#fff; }
.hot-kw .hk-chip.hot-1 { color: #ff6b6b; border-color: rgba(255,107,107,.4); }
.hot-kw .hk-chip.hot-2 { color: #fbbf24; border-color: rgba(251,191,36,.4); }
.hot-kw .hk-chip.hot-3 { color: #4ecdc4; border-color: rgba(78,205,196,.4); }

/* ===== 分页器（分类/搜索页用，替代"加载更多"） ===== */
.pager { display:flex; align-items:center; justify-content:center; gap:6px; padding:18px 12px 30px; flex-wrap:wrap; }
.pager .pg-num {
  min-width: 36px; height: 36px; padding: 0 10px;
  display:inline-flex; align-items:center; justify-content:center;
  background: #fff; border:1px solid #e5e7eb; border-radius: 8px;
  color: #555; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.pager .pg-num:hover { border-color: #ff5000; color: #ff5000; }
.pager .pg-num.active { background: #ff5000; color: #fff; border-color: #ff5000; font-weight:700; box-shadow: 0 2px 6px rgba(255,80,0,.25); }
.pager .pg-num.disabled { background:#f7f8fa; color:#c0c4cc; border-color:#eef0f4; cursor:not-allowed; }
.pager .pg-dots { color:#c0c4cc; font-size:13px; padding: 0 2px; }

/* ===== 下载到桌面 · 操作指引弹窗 ===== */
.dg-card { background:#fff; border-radius:18px; width: 480px; max-width: 92vw; max-height: 88vh; overflow: hidden; display:flex; flex-direction:column; animation: slideUp .3s cubic-bezier(.2,.9,.3,1.2); }
.dg-head { display:flex; align-items:center; gap:10px; padding:16px 18px; background: linear-gradient(135deg, #4f8cff, #6cb0ff); color:#fff; }
.dg-head .dg-ico { font-size:30px; }
.dg-head h3 { flex:1; font-size:16px; font-weight:700; margin:0; }
.dg-head .dg-close { color:#fff; background: rgba(255,255,255,.18); }
.dg-body { flex:1; overflow-y:auto; padding:16px 18px; -webkit-overflow-scrolling:touch; }
.dg-body .dg-tip { font-size:13px; color:#555; line-height:1.6; margin-bottom:14px; padding:10px 12px; background:#f7f8fa; border-radius:8px; }
.dg-body .dg-step { display:flex; gap:12px; padding:10px 0; border-bottom: 1px dashed #eef0f4; }
.dg-body .dg-step:last-child { border-bottom:none; }
.dg-body .dg-num { width:24px; height:24px; border-radius:50%; background:#4f8cff; color:#fff; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dg-body .dg-txt { font-size:13px; color:#333; line-height:1.6; flex:1; }
.dg-body .dg-txt b { background:#fff8e7; padding: 1px 4px; border-radius:3px; }
.dg-body .dg-platform { font-size:12px; color:#999; margin: 4px 0 2px; font-weight:600; }
.dg-foot { display:flex; gap:10px; padding: 14px 18px; border-top:1px solid #eef0f4; background:#fafbfc; }
.dg-foot .btn-primary { flex:1; background:linear-gradient(135deg,#4f8cff,#6cb0ff); color:#fff; border:none; padding:12px; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; }
.dg-foot .btn-primary:disabled { background:#c0c4cc; cursor:not-allowed; }
.dg-foot .btn-ghost { padding:12px 16px; background:transparent; border:1px solid #dcdfe6; border-radius:10px; font-size:14px; color:#666; cursor:pointer; }
#desktopGuide { justify-content:center; align-items:center; }
@media (max-width: 480px) { .dg-card { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius:0; } .dg-foot { padding-bottom: max(14px, env(safe-area-inset-bottom)); } }

/* =================================================
   个人中心（#mePage）—— 点详情页右上角数字 ID 进入
   ================================================= */
.me-body { padding: 0 0 40px; }

/* 头部身份卡 */
.me-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg,#0a1929 0%,#1a2942 60%,#24365a 100%);
  color: #fff; padding: 18px 16px 16px;
}
.me-hero::after {
  content:''; position:absolute; top:-70px; right:-60px; width:200px; height:200px;
  background: radial-gradient(circle, rgba(212,175,55,.3), transparent 70%); pointer-events:none;
}
.me-hero-top { display:flex; align-items:center; gap:12px; position:relative; z-index:1; }
.me-avatar {
  width:52px; height:52px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,#d4af37,#f4d03f);
  color:#0a1929; font-size:22px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(212,175,55,.35);
}
.me-hero-main { flex:1; min-width:0; }
.me-hero-name { font-size:16px; font-weight:700; margin-bottom:3px; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.me-hero-name .me-vip {
  font-size:10px; font-weight:700; padding:2px 7px; border-radius:9px;
  background:linear-gradient(90deg,#d4af37,#f4d03f); color:#3a2a00;
}
.me-hero-name .me-vip.free { background:rgba(255,255,255,.16); color:#dfe6f0; }
.me-idline { display:flex; align-items:center; gap:6px; font-size:12px; color:#a9bad2; }
.me-idline b { color:#fff; font-size:14px; letter-spacing:1px; font-family:ui-monospace,Menlo,Consolas,monospace; }
.me-idcopy {
  border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#dfe6f0;
  font-size:11px; padding:2px 8px; border-radius:10px; cursor:pointer;
}
.me-idcopy:active { background:rgba(255,255,255,.2); }
.me-hero-sub { margin-top:12px; font-size:12px; color:#9fb0c8; line-height:1.6; position:relative; z-index:1; }
.me-hero-sub b { color:#f4d03f; }

/* 数据概览 */
.me-stats { display:flex; background:#fff; border-bottom:1px solid var(--border); }
.me-stat { flex:1; text-align:center; padding:13px 4px; cursor:pointer; }
.me-stat:active { background:#f7f8fb; }
.me-stat .n { font-size:17px; font-weight:800; color:var(--text); line-height:1.2; }
.me-stat .t { font-size:11px; color:var(--text-sub); margin-top:3px; }

/* 区块 */
.me-sec { margin-top:10px; background:#fff; }
.me-sec-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px 8px;
}
.me-sec-head h3 { font-size:14px; font-weight:700; color:var(--text); display:flex; align-items:center; gap:6px; }
.me-sec-head .act { font-size:12px; color:var(--accent2); cursor:pointer; }
.me-sec-body { padding:0 14px 14px; }

/* 激活码卡片 */
.me-code {
  display:flex; align-items:center; gap:10px;
  padding:11px 12px; margin-bottom:8px;
  background:linear-gradient(100deg,#fffaf0,#fff); border:1px solid #f2e6c8; border-radius:10px;
}
.me-code:last-child { margin-bottom:0; }
.me-code-ico { width:38px; height:38px; border-radius:10px; flex-shrink:0; font-size:19px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#fff3d6,#ffe9b0); }
.me-code-main { flex:1; min-width:0; }
.me-code-name { font-size:13px; font-weight:700; color:#7a5c00; display:flex; align-items:center; gap:6px; }
.me-code-name .me-code-num { font-family:ui-monospace,Menlo,Consolas,monospace; font-weight:600; color:#333; background:#f3f4f7; padding:1px 6px; border-radius:4px; font-size:11px; letter-spacing:.4px; }
.me-code-meta { font-size:11px; color:#9a8b6a; margin-top:3px; line-height:1.5; }
.me-code-meta .ok { color:#22c55e; font-weight:600; }
.me-code-meta .warn { color:#f59e0b; font-weight:600; }
.me-code-meta .bad { color:#ef4444; font-weight:600; }
.me-code-btn {
  flex-shrink:0; border:none; border-radius:16px; padding:6px 12px; cursor:pointer;
  background:linear-gradient(90deg,#d4af37,#f4d03f); color:#3a2a00; font-size:12px; font-weight:700;
}
.me-code-btn.ghost { background:#f2f3f7; color:#555; }

/* 续费/升级条 */
.me-renew {
  display:flex; align-items:center; gap:10px;
  margin-top:10px; padding:11px 12px; border-radius:10px;
  background:linear-gradient(100deg,#fff7e6,#fff); border:1px dashed #eed9a8;
}
.me-renew .txt { flex:1; font-size:12px; color:#8a7440; line-height:1.6; }
.me-renew .txt b { color:#b8860b; }
.me-renew button {
  flex-shrink:0; border:none; border-radius:16px; padding:7px 13px; cursor:pointer;
  background:linear-gradient(90deg,#ffb03a,#ff8f0a); color:#fff; font-size:12px; font-weight:700;
}

/* 列表项（收藏 / 下载记录） */
.me-item {
  display:flex; align-items:center; gap:10px; padding:9px 0;
  border-bottom:1px solid #f5f6f8; cursor:pointer;
}
.me-item:last-child { border-bottom:none; }
.me-item:active { background:#fafbfc; }
.me-item .th { width:62px; height:36px; border-radius:6px; overflow:hidden; flex-shrink:0; background:#f0f3f7; }
.me-item .th img { width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.me-item .tx { flex:1; min-width:0; }
.me-item .tx h4 { font-size:12.5px; font-weight:600; color:var(--text); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.me-item .tx p { font-size:11px; color:var(--text-sub); margin-top:3px; }
.me-item .go { color:var(--text-sub); font-size:13px; flex-shrink:0; }

/* 资料表单 */
.me-form { display:flex; flex-direction:column; gap:9px; }
.me-field { display:flex; align-items:center; gap:8px; background:#f7f8fb; border:1px solid #eef0f4; border-radius:9px; padding:0 10px; }
.me-field label { font-size:12px; color:var(--text-sub); width:52px; flex-shrink:0; }
.me-field input { flex:1; border:none; outline:none; background:transparent; font-size:13px; color:var(--text); padding:11px 0; min-width:0; }
.me-btn {
  width:100%; border:none; border-radius:10px; padding:12px; cursor:pointer;
  background:linear-gradient(90deg,#4f8cff,#6cb0ff); color:#fff; font-size:14px; font-weight:700;
}
.me-btn:active { opacity:.88; }
.me-btn.gold { background:linear-gradient(90deg,#d4af37,#f4d03f); color:#3a2a00; }
.me-btn.ghost { background:#fff; color:#4f8cff; border:1px solid #cfe0ff; }
.me-btn-row { display:flex; gap:9px; }

/* 说明条 */
.me-tip {
  display:flex; gap:8px; align-items:flex-start;
  background:#f4f8ff; border:1px solid #e0ebff; border-radius:10px;
  padding:10px 12px; font-size:12px; color:#4a6a99; line-height:1.7;
}
.me-tip .i { flex-shrink:0; }
.me-tip b { color:#2b6cff; }

/* 找回区（抽屉式展开） */
.me-find { margin-top:10px; padding-top:10px; border-top:1px dashed #e6e9ef; display:none; }
.me-find.show { display:block; }
.me-find-res { margin-top:10px; }
.me-find-res .hit { font-size:12px; color:#22c55e; font-weight:600; margin-bottom:6px; }
.me-find-res .miss { font-size:12px; color:#f59e0b; line-height:1.7; }

.me-empty { text-align:center; padding:22px 10px; color:var(--text-sub); font-size:12.5px; }
.me-empty .ic { font-size:30px; opacity:.45; display:block; margin-bottom:6px; }

/* 底部版本信息 */
.me-foot { text-align:center; color:var(--text-sub); font-size:11px; padding:18px 20px 0; line-height:1.8; }

/* 激活码输入窗口（个人中心） */
.me-activate { display:flex; gap:8px; }
.me-activate input {
  flex:1; min-width:0; border:1px solid #e6e9ef; border-radius:10px;
  padding:11px 12px; font-size:14px; color:var(--text); background:#fff;
  letter-spacing:.5px; outline:none; text-transform:uppercase;
}
.me-activate input:focus { border-color:var(--accent2); box-shadow:0 0 0 3px rgba(43,108,255,.12); }
.me-activate button {
  flex-shrink:0; border:none; border-radius:10px; padding:0 16px; cursor:pointer;
  background:linear-gradient(90deg,#d4af37,#f4d03f); color:#3a2a00; font-size:14px; font-weight:700;
}
.me-activate button:active { opacity:.88; }
.me-activate-tip { margin-top:8px; font-size:11.5px; color:#9a8b6a; line-height:1.7; }
.me-activate-tip b { color:#b8860b; }

/* 会员今日额度提示条 */
.me-quota { margin:10px 14px 0; background:linear-gradient(120deg,#fffaf0,#fff); border:1px solid #f2e6c8; border-radius:12px; padding:12px 14px; }
.me-quota-head { display:flex; align-items:center; justify-content:space-between; font-size:13px; color:#5a4a14; }
.me-quota-head b { color:#7a5c00; }
.me-quota-left { color:#e07b00; font-size:16px; }
.me-quota-bar { margin-top:9px; height:7px; border-radius:5px; background:#f3ecd6; overflow:hidden; }
.me-quota-fill { height:100%; border-radius:5px; background:linear-gradient(90deg,#d4af37,#f4d03f); transition:width .5s; }
.me-quota-foot { margin-top:7px; font-size:11px; color:#9a8b6a; }

/* 激活码弹窗里的会员额度提示条 */
.gate-quota {
  margin:10px 0 2px; padding:10px 12px;
  background:linear-gradient(120deg,#fffaf0,#fff); border:1px solid #f2e6c8; border-radius:10px;
  font-size:12px; color:#7a5c00; line-height:1.6;
}

/* =================================================
   详情页 · 资源货号（标题旁一键复制）
   ================================================= */
.tb-sn-row { display:flex; align-items:center; gap:6px; margin:6px 0 0; }
.tb-sn-label { font-size:11px; color:var(--text-sub); }
.tb-sn { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:13px; color:var(--accent2,#4f8cff); letter-spacing:.5px; }
.tb-sn-copy {
  margin-left:auto; border:1px solid #cfe0ff; background:#f2f7ff; color:#2b6cff;
  font-size:11px; padding:3px 9px; border-radius:12px; cursor:pointer; white-space:nowrap;
}
.tb-sn-copy:active { background:#dceaff; }

/* =================================================
   AI 客服聊天窗（悬浮小窗，可拖动，点右上角 ✕ 关闭）
   ================================================= */
.ai-chat {
  position:fixed; z-index:300;
  right:12px; bottom:92px;            /* 默认悬浮在详情页操作栏上方 */
  width:min(350px, calc(100vw - 24px));
  height:min(500px, 60vh);
  background:#f2f3f7; border-radius:16px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 14px 44px rgba(0,0,0,.24);
  display:none; flex-direction:column; overflow:hidden;
}
.ai-chat.show { display:flex; animation:aiPop .2s ease; }
@keyframes aiPop { from { opacity:0; transform:translateY(14px) scale(.96); } to { opacity:1; transform:none; } }
.ai-chat-bar {
  flex-shrink:0; display:flex; align-items:center; gap:9px;
  padding:10px 12px; background:#fff; border-bottom:1px solid #eef0f4;
  cursor:move; touch-action:none; user-select:none; -webkit-user-select:none;
}
.ai-chat-close {
  margin-left:auto; width:30px; height:30px; border-radius:50%; flex-shrink:0;
  border:none; background:rgba(0,0,0,.05); color:#666; font-size:14px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.ai-chat-close:active { background:rgba(0,0,0,.12); }
.ai-sound-btn {
  width:30px; height:30px; border-radius:50%; flex-shrink:0;
  border:none; background:rgba(79,140,255,.12); color:#3c7bff; font-size:15px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:opacity .2s, background .2s;
}
.ai-sound-btn:active { background:rgba(79,140,255,.25); }
.ai-sound-btn.muted { background:rgba(0,0,0,.05); color:#aaa; opacity:.75; }
.ai-chat-head { flex:1; display:flex; align-items:center; gap:9px; min-width:0; }
.ai-chat-avatar {
  width:34px; height:34px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,#4f8cff,#6cb0ff); font-size:18px;
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.ai-chat-head-txt { min-width:0; }
.ai-chat-head-txt h1 { font-size:15px; font-weight:700; color:var(--text,#1a1a1a); line-height:1.2; }
.ai-chat-head-txt span { font-size:11px; color:var(--text-sub,#888); }
.ai-chat-msg {
  flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding:12px 12px 8px; display:flex; flex-direction:column; gap:9px;
}
.ai-bubble { max-width:82%; padding:9px 12px; border-radius:12px; font-size:13px; line-height:1.6; word-break:break-word; }
.ai-me { align-self:flex-end; background:linear-gradient(135deg,#4f8cff,#6cb0ff); color:#fff; border-bottom-right-radius:3px; }
.ai-ai { align-self:flex-start; background:#fff; color:#333; border-bottom-left-radius:3px; box-shadow:0 1px 3px rgba(0,0,0,.05); }
.ai-sys { align-self:center; background:transparent; color:#999; font-size:12px; }
.ai-text { white-space:normal; }
.ai-link-ttl { font-size:12px; color:#8a6d1a; font-weight:700; margin-bottom:4px; }
.ai-link-line { font-size:12.5px; color:#333; margin:2px 0; word-break:break-all; }
.ai-link-line b { color:#c0392b; }
.ai-copy {
  display:block; width:100%; margin-top:7px; border:none; border-radius:8px; padding:7px;
  background:linear-gradient(90deg,#ffb03a,#ff8f0a); color:#fff; font-size:12px; font-weight:700; cursor:pointer;
}
.ai-copy.copied { background:#22c55e; }
.ai-typing { display:flex; gap:3px; padding:12px 14px; }
.ai-typing span {
  width:6px; height:6px; border-radius:50%; background:#b9c2d0;
  animation: aiBlink 1.2s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay:.15s; }
.ai-typing span:nth-child(3) { animation-delay:.3s; }
@keyframes aiBlink { 0%,60%,100% { opacity:.3; } 30% { opacity:1; } }
.ai-chat-input {
  flex-shrink:0; display:flex; gap:8px; padding:9px 12px;
  background:#fff; border-top:1px solid #eef0f4; padding-bottom:calc(9px + env(safe-area-inset-bottom));
}
.ai-chat-input input {
  flex:1; border:1px solid #e6e8ee; border-radius:20px; padding:9px 14px;
  font-size:14px; outline:none; background:#f7f8fb; min-width:0;
}
.ai-chat-input button {
  border:none; border-radius:20px; padding:0 18px; cursor:pointer;
  background:linear-gradient(90deg,#4f8cff,#6cb0ff); color:#fff; font-size:14px; font-weight:700;
}
.ai-chat-input button:active { opacity:.85; }

/* =================================================
   商用增强：添加到桌面 / 购买面板 / 分类导航 / 定制卡片
   ================================================= */

/* 首页常驻「添加到桌面」入口 */
.add2desktop {
  display:flex; align-items:center; gap:6px;
  margin:10px 0 2px; padding:9px 14px;
  background:linear-gradient(90deg,#fff7e8,#fffdf7);
  border:1px solid #ffe3b0; border-radius:22px;
  color:#a3690b; font-size:13px; font-weight:600;
  cursor:pointer; user-select:none;
}
.add2desktop:active { transform:scale(.98); }
.add2desktop .a2d-arrow { margin-left:auto; color:#c98f2c; font-weight:700; }

/* 激活码说明「立即开通」按钮 */
.cg-buy {
  flex-shrink:0; border:none; border-radius:15px;
  padding:7px 13px; font-size:12px; font-weight:700; cursor:pointer;
  background:linear-gradient(90deg,#4f8cff,#6cb0ff); color:#fff;
}
.cg-buy:active { opacity:.85; }
.cg-buy-hot { background:linear-gradient(90deg,#ff6b6b,#ff9a6b); }
.cg-price { font-style:normal; }

/* 套餐购买面板 */
.pay-sheet { padding:18px 16px 24px; }
.pay-plans { display:flex; flex-direction:column; gap:10px; margin-bottom:14px; }
.pay-plan {
  display:flex; align-items:center; gap:12px;
  padding:14px; border:1.5px solid var(--border); border-radius:14px;
  background:#fff; cursor:pointer; transition:border-color .15s, box-shadow .15s;
}
.pay-plan.sel { border-color:#4f8cff; box-shadow:0 0 0 3px rgba(79,140,255,.12); }
.pp-ico { font-size:24px; }
.pp-txt { flex:1; min-width:0; display:flex; flex-direction:column; }
.pp-txt b { font-size:15px; color:#1a1a1a; }
.pp-txt span { font-size:12px; color:#8a94a6; margin-top:2px; }
.pp-price { font-size:18px; font-weight:800; color:#ff5b3a; }
.pp-radio {
  width:18px; height:18px; border-radius:50%;
  border:2px solid #d3dae6; position:relative;
}
.pay-plan.sel .pp-radio { border-color:#4f8cff; }
.pay-plan.sel .pp-radio::after {
  content:''; position:absolute; inset:3px;
  border-radius:50%; background:#4f8cff;
}
.pay-agree { font-size:11px; color:#98a1b3; line-height:1.6; margin-bottom:12px; }
.pay-safely { text-align:center; font-size:11px; color:#98a1b3; margin-top:10px; }

/* 分类页：搜索框复用 sp-search-bar；切换分类导航模块 */
.cp-cats-wrap { margin:10px 0 4px; padding:12px 14px; background:var(--card); border-radius:14px; box-shadow:var(--shadow); }
.cp-cats-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.cp-cats-head b { font-size:14px; color:#1a1a1a; }
.cp-cats-head a { font-size:12px; color:#4f8cff; text-decoration:none; }
.cp-cats { display:flex; flex-wrap:wrap; gap:8px; }
.cp-cat {
  padding:7px 14px; border-radius:18px; font-size:13px;
  background:#f4f6fa; color:#4a5568; cursor:pointer; white-space:nowrap;
}
.cp-cat.cur { background:linear-gradient(90deg,#4f8cff,#6cb0ff); color:#fff; font-weight:700; }
.cp-cat:active { transform:scale(.96); }

/* 分类总览页 */
.cats-hero {
  margin:12px 14px 10px; padding:14px 16px;
  background:linear-gradient(135deg,#eef4ff,#f8fbff);
  border:1px solid #e3ecff; border-radius:14px;
  color:#3a4a63; font-size:14px;
}
.cats-hero b { color:#0a66e8; font-size:17px; }
.cats-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; padding:0 14px 24px; }
.cats-cell {
  background:var(--card); border-radius:14px; box-shadow:var(--shadow);
  padding:16px 8px; text-align:center; cursor:pointer;
}
.cats-cell:active { transform:scale(.96); }
.cc-ico { font-size:28px; }
.cc-name { font-size:13px; font-weight:700; color:#1a1a1a; margin-top:8px; }
.cc-cnt { font-size:11px; color:#98a1b3; margin-top:3px; }

/* 搜索空结果「找人定制」卡片 */
.se-custom-card {
  position:relative; margin:10px 16px 14px; padding:20px 16px 16px;
  background:linear-gradient(150deg,#0f2036,#173a63);
  border-radius:18px; color:#fff; cursor:pointer; overflow:hidden;
  box-shadow:0 12px 30px rgba(15,35,70,.28);
}
.se-custom-card::after {
  content:''; position:absolute; right:-40px; top:-40px;
  width:140px; height:140px; border-radius:50%;
  background:radial-gradient(circle,rgba(79,140,255,.35),transparent 70%);
}
.se-badge {
  display:inline-block; padding:3px 10px; border-radius:12px;
  background:linear-gradient(90deg,#ff6b6b,#ff9a6b);
  font-size:11px; font-weight:700; margin-bottom:10px;
}
.se-title { font-size:18px; font-weight:800; letter-spacing:.5px; }
.se-slogan { font-size:13px; color:#c7d6ec; margin:8px 0 12px; }
.se-slogan b { color:#ffd479; }
.se-points { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.se-points span {
  font-size:11px; padding:4px 9px; border-radius:12px;
  background:rgba(255,255,255,.1); color:#dfe9f8;
}
.se-custom-card .btn-primary { position:relative; z-index:1; }
.se-sub { font-size:11px; color:#8fa5c4; text-align:center; margin-top:10px; }
.se-hchip {
  padding:6px 12px; border-radius:14px; background:#fff;
  border:1px solid var(--border); font-size:12px; color:#4a5568;
  cursor:pointer; text-decoration:none;
}

/* =================================================
   一期功能：价格模式 / 相似推荐 / AI卡片引导
   ================================================= */

/* 会员免费态价格 */
.tb-price.vip {
  background:linear-gradient(90deg,#ff9a3c,#ff6b2c);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:#ff7a2e;
}

/* 相似推荐 */
.tb-similar { margin:10px 12px 6px; padding:12px; background:var(--card); border-radius:14px; box-shadow:var(--shadow); }
.sim-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px; }
.sim-cell {
  background:#f7f9fc; border-radius:10px; overflow:hidden; cursor:pointer;
  display:flex; flex-direction:column;
}
.sim-cell:active { transform:scale(.97); }
.sim-cell img { width:100%; aspect-ratio:16/9; object-fit:cover; object-position:top; display:block; background:#eef1f6; }
.sim-name {
  font-size:11px; color:#3a4356; padding:5px 6px 2px; line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  min-height:34px;
}
.sim-price { font-size:12px; font-weight:800; color:#ff5b3a; padding:0 6px 6px; }
.sim-price .free { font-style:normal; color:#1aad4b; }

/* AI客服卡片：复制引导 */
.ai-guide {
  margin-top:8px; padding:8px 10px;
  background:rgba(79,140,255,.08); border:1px dashed rgba(79,140,255,.35);
  border-radius:10px; font-size:11.5px; line-height:1.7; color:#5a6b85;
}

/* ===== 主图显示比例（后台「营销与展示」可配） =====
   rgrid-*  = 主页/列表页/相似推荐卡片主图
   rdetail-*= 详情页主图（淘宝式主图 + 简版封面都覆盖） */
body.rgrid-11 .grid2 .cell .thumb { aspect-ratio: 1/1; }
body.rgrid-11 .sim-cell img { aspect-ratio: 1/1; }
body.rgrid-34 .grid2 .cell .thumb { aspect-ratio: 3/4; }
body.rgrid-34 .sim-cell img { aspect-ratio: 3/4; }
body.rdetail-11 .tb-gallery-main,
body.rdetail-11 .detail-cover { height:auto; aspect-ratio: 1/1; }
body.rdetail-34 .tb-gallery-main,
body.rdetail-34 .detail-cover { height:auto; aspect-ratio: 3/4; }

/* ============ Batch6 ============ */
/* 写评价弹窗（此前 .gate-mask/.gate-card 无样式 → 弹窗不可见，点「评价」像跳回首页） */
.gate-mask { position: fixed; inset: 0; z-index: 400; background: rgba(8,16,28,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.gate-card { background: #fff; color: #182233; border-radius: 16px; padding: 16px; width: 100%; max-width: 340px; max-height: 80vh; overflow: auto; box-shadow: 0 12px 40px rgba(0,0,0,.25); }

/* 详情页「下载流程广告位」（评价与商品详情之间，后台可开关） */
.tb-ad { background: linear-gradient(135deg, #fff7ec, #ffefd6); border: 1px solid #ffd9a0; border-radius: 12px; margin: 10px 0; padding: 12px 14px; }
.tb-ad .tb-ad-title { font-size: 14px; font-weight: 800; color: #b25e00; margin-bottom: 6px; }
.tb-ad .tb-ad-body { font-size: 13px; color: #7a4a08; line-height: 1.9; }

/* 首页工作台入口：图片图标（后台可配图片 URL） */
.entry .icon img { width: 30px; height: 30px; object-fit: cover; border-radius: 8px; display: block; }

/* 详情页付费模板购买区（所有人都要付款，会员折扣价/原价） */
.buy-box { background: #fff8f0; border: 1px solid #ffd9a0; border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.buy-box .buy-head { font-size: 14px; font-weight: 800; color: #b25e00; margin-bottom: 10px; }
.buy-box .buy-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px dashed #f0d9b8; font-size: 13px; color: #5c4321; }
.buy-box .buy-row b { flex: 1; font-size: 16px; color: #d8261c; }
.buy-box .buy-row b.vip-p { color: #c07818; }
.buy-box .buy-row button { border: 0; background: linear-gradient(135deg, #ff9f2e, #ff7a00); color: #fff; font-weight: 700; border-radius: 18px; padding: 8px 14px; font-size: 13px; }
.buy-box .buy-row button.ghost { background: #fff; color: #ff7a00; border: 1.5px solid #ff9f2e; }
.buy-box .buy-alt { font-size: 12px; color: #8a6a3a; margin-top: 8px; }
.buy-box .buy-alt a { color: #0a66e8; }
.buy-box .buy-or { font-size: 11px; color: #b08a55; margin-top: 4px; text-align: center; }

/* 个人中心 · 下载记录：评价按钮独立一列（不再叠在商品行上） */
.me-dl-row { display: flex; align-items: stretch; gap: 8px; }
.me-dl-row .me-item { flex: 1; min-width: 0; }
.me-review-btn { border: 1.5px solid #f0c86a; background: #fffaef; color: #b07900; border-radius: 10px; width: 46px; font-size: 16px; line-height: 1.1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.me-review-btn i { font-style: normal; font-size: 11px; }
