/* ============================================================
 * 仿抖音 SPA · 全局样式
 * ============================================================ */

/* ---------- v2.12.0 科技感设计变量 ---------- */
:root {
  --bg-deep: #050811;
  --bg-space: #0a0f1a;
  --neon-cyan: #00d4ff;
  --neon-blue: #2d7dff;
  --neon-purple: #9b59b6;
  --neon-pink: #ff2d75;
  --neon-gold: #ffd859;
  --text-primary: #e8f4ff;
  --text-secondary: #7f9bb8;
  --border-glow: rgba(0, 212, 255, 0.28);
  --bg-glass: linear-gradient(160deg, rgba(18, 28, 58, 0.72), rgba(8, 12, 26, 0.82));
  --shadow-glow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 212, 255, 0.08);
  --transition-smooth: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- dyPrompt 自定义弹窗 ---------- */
.dy-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.dy-prompt-box {
  width: 82%;
  max-width: 320px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(18, 28, 58, 0.95), rgba(8, 12, 26, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  box-shadow: var(--shadow-glow);
  animation: dyPromptPop 0.22s ease-out;
}
@keyframes dyPromptPop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.dy-prompt-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-align: center;
}
.dy-prompt-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  outline: none;
  margin-bottom: 16px;
}
.dy-prompt-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}
.dy-prompt-btns {
  display: flex;
  gap: 10px;
}
.dy-prompt-btn {
  flex: 1;
  padding: 11px 0;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.dy-prompt-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}
.dy-prompt-ok {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 212, 255, 0.35); }
  50% { box-shadow: 0 0 28px rgba(0, 212, 255, 0.7), 0 0 50px rgba(155, 89, 182, 0.3); }
}
@keyframes scan-line {
  0% { top: 0; }
  100% { top: 100%; }
}
@keyframes hologram-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes rainbow-text {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #050811;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(0, 212, 255, 0.08), transparent 55%),
              radial-gradient(1000px 700px at -10% 110%, rgba(155, 89, 182, 0.08), transparent 55%),
              linear-gradient(180deg, var(--bg-space) 0%, var(--bg-deep) 60%, #02040a 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow: hidden;
  user-select: none;
}
input, textarea, select, button { font-family: inherit; }
img { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; color: inherit; }

/* ---------- 布局 ---------- */
.app-view {
  position: fixed;
  top: 0; left: 0; right: 0;
  bottom: calc(54px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
/* 首页商城Tab时：为顶部导航栏预留空间 */
.app-view.home-mall-mode {
  top: 48px;
}

/* ---------- 滚动条：移动端隐藏 / 电脑端显示 ---------- */
.app-view {
  scrollbar-width: none;
}
.app-view::-webkit-scrollbar { display: none; }

/* 电脑端（≥768px）显示科技感滚动条 */
@media (min-width: 768px) {
  .app-view {
    scrollbar-width: 6px;
    scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.3);
  }
  .app-view::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  .app-view::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
  }
  .app-view::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
  }
  .app-view::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-cyan));
  }
}

.app-tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: calc(54px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.95), rgba(5, 8, 17, 0.98));
  border-top: 1px solid var(--border-glow);
  box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.08);
  display: flex;
  z-index: 900;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.2s;
}
.tab-item.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
.tab-icon { font-size: 22px; line-height: 1; font-style: normal; }
.tab-label { font-size: 10px; margin-top: 3px; }
.tab-badge {
  position: absolute; top: 6px; left: 58%;
  min-width: 16px; height: 16px;
  background: #fe2c55;
  color: #fff;
  font-size: 10px; font-style: normal;
  border-radius: 8px;
  text-align: center;
  line-height: 16px;
  padding: 0 4px;
}
.tab-post { position: relative; }
.post-icon {
  width: 38px; height: 26px;
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  border-radius: 8px 8px 8px 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(254, 44, 85, 0.4);
}

/* ---------- Toast ---------- */
.dy-toast {
  position: fixed;
  left: 50%; top: 18%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.92);
  color: #fff;
  padding: 10px 20px;
  border-radius: 22px;
  font-size: 14px;
  max-width: 80%;
  text-align: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.dy-toast.show { opacity: 1; }

/* ---------- 登录弹层 ---------- */
.login-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.login-mask.show { display: flex; }
.login-box,
.login-panel {
  width: 78%;
  max-width: 320px;
  background: linear-gradient(160deg, #121c3a, #080c1a);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.login-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.login-desc { font-size: 13px; color: #aaa; margin-bottom: 18px; }
.login-btn {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #fe2c55;
  margin-bottom: 10px;
}
.login-btn-cancel {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  color: #ccc;
  background: transparent;
}

/* ---------- 按钮 ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  color: #fff;
  font-weight: 700;
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(254, 44, 85, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:active { transform: scale(0.97); box-shadow: 0 2px 8px rgba(254, 44, 85, 0.25); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  border-radius: 22px;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  transition: background 0.15s;
}
.btn-secondary:active { background: rgba(255, 255, 255, 0.15); }

/* ---------- 通用空态/加载 ---------- */
.page-empty {
  text-align: center;
  padding: 60px 20px;
  color: #8a8a8a;
  font-size: 14px;
}
.page-empty::before {
  content: '📭';
  display: block;
  font-size: 40px;
  margin-bottom: 12px;
}

/* ---------- 首页视频流 ---------- */
/* 仿抖音固定整屏滑动：一次滑动正好翻一屏，无平滑连续滚动 */
.snap-mode .feed-card { scroll-snap-align: start; }
.snap-mode { scroll-snap-type: y mandatory; }

.feed-card {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}
.feed-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;   /* 根治：让 video 不拦截点击，浏览器不会在 video 上显示原生控制条 */
}
.video-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 25%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}
.src-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.src-tag-ad { top: auto; bottom: 14px; right: 14px; left: auto; background: rgba(254, 44, 85, 0.85); }
.feed-left {
  position: absolute;
  left: 14px; right: 78px;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
}
.feed-title {
  font-size: 17px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 6px;
}
.feed-desc {
  font-size: 13px;
  color: #eee;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  margin-bottom: 6px;
  word-break: break-all;
}
.feed-meta { display: flex; gap: 10px; font-size: 12px; color: #ddd; align-items: baseline; }
.meta-nick { font-weight: 600; color: #fff; background: linear-gradient(90deg, #00d4ff, #ff2d75, #ffd859, #00d4ff); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow-text 3s linear infinite; }

.goods-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 24, 35, 0.75);
  border-radius: 10px;
  padding: 8px;
  margin-top: 12px;
  max-width: 280px;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.goods-cart img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.goods-cart-info { flex: 1; min-width: 0; }
.gc-name {
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.gc-price { font-size: 14px; font-weight: 700; color: #ffd859; }
.gc-btn {
  background: #fe2c55;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 16px;
  white-space: nowrap;
}

/* 首页视频左下角迷你推广商品卡片（仿抖音样式，位于视频标题上方） */
.goods-cart-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 20px;
  padding: 6px 12px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, border-color 0.2s;
  max-width: 280px;
}
.goods-cart-mini:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 216, 89, 0.35);
}
.goods-cart-icon {
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.goods-cart-mini .goods-cart-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
  min-width: 0;
}
.goods-cart-mini .gc-name {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
  display: block;
}
.goods-cart-mini .gc-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.goods-cart-mini .gc-price {
  font-size: 13px;
  font-weight: 700;
  color: #ffd859;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.goods-cart-mini .gc-oprice {
  font-size: 10px;
  color: #a9b0bf;
  text-decoration: line-through;
}
.goods-cart-mini .gc-rebate {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #fe2c55, #ff7a18);
  border-radius: 8px;
  padding: 1px 6px;
  white-space: nowrap;
}

.feed-right {
  position: absolute;
  right: 10px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  /* v2.9.8：提到最高层，确保任何内核注入的悬浮控制条都不会把按钮压到视频下方 */
  z-index: 9999;
}
.avatar-wrap { position: relative; }
.avatar-wrap img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  display: block;
}
.follow-mini {
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%);
  background: #fe2c55;
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  border: 2px solid #000;
}
.op-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.op-ico { font-size: 28px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.op-num,
.op-item em {
  display: block;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-style: normal;
  white-space: nowrap;
}
.op-item em { min-width: 24px; text-align: center; }
.sound-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 14px;
  opacity: 0.9;
  z-index: 10;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.followed-tag {
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}
.follow-btn {
  width: 36px; height: 36px;
  background: #fe2c55;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ---------- 二级页面通用 ---------- */
.page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 14px;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.page-header .back-btn {
  position: absolute; left: 10px;
  background: none; border: none; color: #fff;
  font-size: 22px; cursor: pointer; line-height: 1;
}
.page-header .page-title { font-size: 16px; font-weight: 700; }
.page-body { padding: 12px 16px; }
.page-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
}
.page-row:active { background: rgba(255,255,255,0.04); }

/* ---------- 分段 Tab ---------- */
.segment-bar {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 14px;
}
.segment-bar button {
  flex: 1;
  padding: 7px;
  border-radius: 6px;
  font-size: 13px;
  color: #aaa;
  background: transparent;
  text-align: center;
}
.segment-bar button.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

/* ---------- 搜索栏（添加好友） ---------- */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 14px;
}
.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.search-bar input::placeholder { color: #888; }

/* ---------- 用户列表 ---------- */
.user-list .user-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.user-row img {
  width: 48px; height: 48px;
  border-radius: 50%; object-fit: cover;
  background: #222;
}
.user-row .u-info { flex: 1; min-width: 0; }
.user-row .u-name { font-size: 15px; font-weight: 600; }
.user-row .u-meta { font-size: 12px; color: #aaa; margin-top: 3px; }

/* ---------- 他人主页 ---------- */
.home-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.home-cover img {
  width: 100%; height: 100%; object-fit: cover;
}
.home-avatar {
  position: absolute;
  left: 16px; bottom: -30px;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid #000;
  object-fit: cover;
  background: #222;
}
.home-info { padding: 38px 16px 14px; }
.home-name { font-size: 17px; font-weight: 700; }
.home-bio { font-size: 13px; color: #bbb; margin-top: 4px; }
.home-stats { display: flex; gap: 18px; padding: 10px 0; font-size: 13px; color: #aaa; }
.home-stat b { color: #fff; margin-right: 4px; }
.home-actions { display: flex; gap: 10px; padding-top: 8px; }

/* ---------- 消息中心 ---------- */
.msg-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.msg-row img {
  width: 48px; height: 48px;
  border-radius: 50%; object-fit: cover;
  background: #222;
}
.msg-row .m-body { flex: 1; min-width: 0; }
.msg-row .m-title { font-size: 15px; font-weight: 600; }
.msg-row .m-text { font-size: 13px; color: #aaa; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-row .m-time { font-size: 11px; color: #777; white-space: nowrap; }

/* ---------- 私信 ---------- */
.chat-head {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.chat-head .back-btn { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.chat-head .chat-name { font-size: 16px; font-weight: 700; }
.chat-head .chat-more { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }

.chat-messages {
  padding: 14px;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
  min-height: calc(100vh - 48px - 60px);
}
.msg-bubble {
  max-width: 76%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
  position: relative;
}
.msg-bubble.me {
  background: #fe2c55;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.msg-bubble.you {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.msg-bubble img { max-width: 100%; border-radius: 10px; margin-top: 4px; }

.chat-input-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center;
  gap: 8px;
  padding: 8px 12px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(14px);
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  z-index: 110;
}
.chat-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 20px;
  padding: 9px 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.chat-input-bar button {
  width: 34px; height: 34px;
  background: #fe2c55;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 商城 ---------- */
.mall-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 14px;
}
.mall-banner img { width: 100%; height: 100%; object-fit: cover; }
.mall-cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.mall-cats::-webkit-scrollbar { display: none; }
.mall-cat {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 64px;
}
.mall-cat img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}
.mall-cat span { font-size: 12px; color: #ccc; }

.goods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.goods-cell {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.goods-cell img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
}
.goods-cell .g-info { padding: 10px; }
.goods-cell .g-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.goods-cell .g-price { font-size: 15px; font-weight: 700; color: #fe2c55; margin-top: 6px; }

/* 商品详情 */
.gd-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #222;
}
.gd-title { font-size: 17px; font-weight: 700; padding: 14px 16px 6px; }
.gd-price { font-size: 22px; font-weight: 800; color: #fe2c55; padding: 0 16px; }
.gd-desc { font-size: 14px; color: #ccc; padding: 10px 16px; line-height: 1.6; }
.gd-actions {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(14px);
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  gap: 10px;
  z-index: 110;
}
.gd-actions .btn-cart { flex: 1; background: rgba(255,255,255,0.1); color: #fff; border-radius: 22px; padding: 12px; font-size: 15px; font-weight: 600; }
.gd-actions .btn-buy { flex: 1; background: #fe2c55; color: #fff; border-radius: 22px; padding: 12px; font-size: 15px; font-weight: 600; }

/* 订单 */
.order-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.order-card .o-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.order-card .o-id { font-size: 12px; color: #aaa; }
.order-card .o-status { font-size: 12px; color: #25f4ee; font-weight: 600; }
.order-card .o-body { display: flex; gap: 10px; }
.order-card .o-body img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #222; }
.order-card .o-info { flex: 1; }
.order-card .o-name { font-size: 14px; font-weight: 600; }
.order-card .o-meta { font-size: 12px; color: #aaa; margin-top: 4px; }
.order-card .o-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.order-card .o-total { font-size: 14px; }
.order-card .o-total b { color: #fe2c55; }

/* 积分商城 */
.points-card {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.15), rgba(37, 244, 238, 0.15));
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.points-card .p-balance { font-size: 32px; font-weight: 800; color: #ffd859; }
.points-card .p-label { font-size: 13px; color: #aaa; margin-top: 4px; }

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal-mask.show { display: flex; }
.modal-box {
  width: 82%;
  max-width: 360px;
  max-height: 80vh;
  overflow-y: auto;
  background: #16181d;
  border: 1px solid var(--border-glow, rgba(0, 212, 255, 0.2));
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.mb-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.mb-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}
.mb-price { color: #f7b733; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.mb-desc { font-size: 13px; color: #bbb; line-height: 1.7; margin-bottom: 12px; word-break: break-all; }
.mb-form { margin-bottom: 12px; }
.mb-form-title { font-size: 13px; color: #aaa; margin-bottom: 8px; }
.mb-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.mb-acts .btn-main, .mb-acts .btn-ghost { flex: 1; padding: 10px 0; min-width: 90px; }
.mb-secret { font-size: 14px; color: #fff; line-height: 2; }
/* 编辑作品弹层 · 推广商品选品区（卡片网格 + 渐变背景） */
.we-editor-box {
  background: linear-gradient(160deg, #1e2431 0%, #14161c 55%, #1c1420 100%);
  border-color: rgba(0, 212, 255, 0.35);
}
.we-goods-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 4px;
}
.we-goods-title em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #ffd859;
  background: rgba(255, 216, 89, 0.12);
  border: 1px solid rgba(255, 216, 89, 0.3);
  border-radius: 8px;
  padding: 1px 8px;
}
.we-goods-tip { font-size: 11px; color: #8a93a8; margin-bottom: 8px; }
.we-goods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.07), rgba(254, 44, 85, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 14px;
}
.we-goods-item {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.we-goods-item:hover { background: rgba(255, 255, 255, 0.12); }
.we-goods-item.sel {
  border-color: #fe2c55;
  background: rgba(254, 44, 85, 0.13);
  box-shadow: 0 0 0 1px #fe2c55 inset;
}
.we-goods-item .we-gn {
  font-size: 12px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 40px;
}
.we-goods-item .we-gsub { font-size: 10px; color: #9aa4b8; }
.we-goods-item .we-greb {
  position: absolute;
  top: 6px;
  right: 6px;
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  color: #241a02;
  background: linear-gradient(90deg, #ffd859, #ffb347);
  border-radius: 8px;
  padding: 1px 6px;
  white-space: nowrap;
}
.we-goods-loading, .we-goods-empty {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #8a93a8;
  text-align: center;
  padding: 14px 0;
}
/* 订单评价弹窗：商品摘要 + 星级 + 晒图 */
.mb-goods { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mb-cover { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; border: 1px solid rgba(0, 212, 255, 0.2); flex-shrink: 0; }
.mb-gname { font-size: 13px; color: var(--text-secondary, #bbb); line-height: 1.4; }
.rv-stars { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.rv-label { font-size: 13px; color: var(--text-secondary, #bbb); margin-right: 4px; }
.rv-star { font-style: normal; font-size: 26px; color: rgba(255, 255, 255, 0.18); cursor: pointer; transition: color 0.15s, transform 0.15s; }
.rv-star.on { color: #ffd859; text-shadow: 0 0 10px rgba(255, 216, 89, 0.5); }
.rv-star:active { transform: scale(1.2); }
.rv-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rv-img { position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0, 212, 255, 0.2); }
.rv-img img { width: 100%; height: 100%; object-fit: cover; }
.rv-img i { position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: rgba(255, 45, 85, 0.92); color: #fff; font-style: normal; font-size: 11px; line-height: 16px; text-align: center; cursor: pointer; border-radius: 0 0 0 6px; }
/* 评价列表晒图 */
.dd-rv-imgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dd-rv-imgs img { width: 62px; height: 62px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(0, 212, 255, 0.15); cursor: zoom-in; }
.modal-inner {
  width: 82%;
  max-width: 340px;
  background: #1c1c1e;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}
.modal-inner .modal-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.modal-inner .modal-body { font-size: 14px; color: #ccc; margin-bottom: 18px; }
.modal-inner .modal-actions { display: flex; gap: 10px; }
.modal-inner .modal-actions button { flex: 1; padding: 12px; border-radius: 10px; font-size: 15px; }
.modal-inner .modal-actions .btn-cancel { background: rgba(255,255,255,0.1); color: #fff; }
.modal-inner .modal-actions .btn-confirm { background: #fe2c55; color: #fff; }

/* ---------- 评论 ---------- */
.comment-panel {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-height: 72vh;
  background: #1c1c1e;
  border-radius: 18px 18px 0 0;
  padding: 14px 0;
  z-index: 1200;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.comment-panel.show { transform: translateY(0); }
.comment-head { display: flex; justify-content: space-between; align-items: center; padding: 0 16px 10px; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
.comment-head h3 { font-size: 15px; font-weight: 700; background: linear-gradient(90deg, #00d4ff, #ff2d75, #ffd859, #00d4ff); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow-text 3s linear infinite; }
.comment-head .close-btn { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.comment-list { padding: 10px 16px; max-height: calc(72vh - 120px); overflow-y: auto; }
.comment-row { display: flex; gap: 10px; margin-bottom: 12px; }
.comment-row img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #222; }
.comment-row .c-body { flex: 1; }
.comment-row .c-nick { font-size: 13px; font-weight: 600; background: linear-gradient(90deg, #00d4ff, #ff2d75, #ffd859, #00d4ff); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow-text 3s linear infinite; }
.comment-row .c-text { font-size: 14px; color: #eee; margin-top: 3px; line-height: 1.4; }
.comment-row .c-time { font-size: 11px; color: #777; margin-top: 3px; }
.comment-input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-top: 0.5px solid rgba(255,255,255,0.08);
}
.comment-input-bar input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 20px;
  padding: 9px 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.comment-input-bar button {
  width: 34px; height: 34px;
  background: #fe2c55;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* 抖音风格分享面板 */
.share-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1c1c1e;
  border-radius: 18px 18px 0 0;
  padding: 16px;
  z-index: 1300;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.share-sheet.show { transform: translateY(0); }
.share-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 14px 0;
}
.share-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ccc;
  background: none;
}
.share-grid button .ico {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.share-cancel {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 15px;
  color: #fff;
  margin-top: 10px;
}

/* 评论区置顶推广商品：样式与评论一致，字体高亮 */
.comment-goods {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(255,45,85,0.15), rgba(37,244,238,0.15));
  border-radius: 10px;
  padding: 10px;
  margin: 8px 16px;
}
.comment-goods img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.comment-goods .cg-info { flex: 1; }
.comment-goods .cg-name { font-size: 13px; font-weight: 600; }
.comment-goods .cg-price { font-size: 14px; color: #fe2c55; font-weight: 700; margin-top: 3px; }

/* ---------- 礼物打赏 ---------- */
.gift-panel {
  padding: 0 16px 16px;
}
.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 0;
}
.gift-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px;
  border: 0.5px solid rgba(255,255,255,0.06);
}
.gift-cell .g-ico { font-size: 28px; }
.gift-cell .g-name { font-size: 12px; color: #ccc; }
.gift-cell .g-price { font-size: 13px; color: #ffd859; font-weight: 700; }
.gift-cell.selected {
  border-color: #fe2c55;
  background: rgba(254, 44, 85, 0.12);
}
.gift-actions {
  display: flex; gap: 10px; margin-top: 10px;
}
.gift-actions button { flex: 1; padding: 12px; border-radius: 22px; font-size: 15px; font-weight: 600; }
.gift-actions .btn-send { background: #fe2c55; color: #fff; }
.gift-actions .btn-cancel { background: rgba(255,255,255,0.1); color: #fff; }

/* ---- 定位引导页（附近好友未授权时） ---- */
.loc-guide {
  text-align: center;
  padding: 60px 20px;
}
.loc-guide::before {
  content: '📍';
  display: block;
  font-size: 48px;
  margin-bottom: 14px;
}
.loc-guide h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.loc-guide p { font-size: 14px; color: #aaa; margin-bottom: 20px; }

/* 帮助/说明型 Toast */
.help-toast {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
}
.help-toast.show { display: flex; }
.help-toast-inner {
  width: 80%;
  max-width: 300px;
  background: #1c1c1e;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.help-toast-inner p { font-size: 14px; color: #ccc; line-height: 1.6; }
.help-toast-inner button {
  margin-top: 16px;
  padding: 10px 24px;
  background: #fe2c55;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
}

/* ---------- 分享海报 ---------- */
.poster-canvas {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.poster-canvas img { width: 100%; display: block; }
.poster-actions { display: flex; gap: 10px; padding: 14px; }
.poster-actions button { flex: 1; padding: 12px; border-radius: 22px; font-size: 15px; font-weight: 600; }
.poster-actions .btn-save { background: #fe2c55; color: #fff; }
.poster-actions .btn-share { background: rgba(255,255,255,0.1); color: #fff; }

/* ---------- 分享卡片（图文 + 二维码 + 域名） ---------- */
.share-card {
  width: 92%;
  max-width: 340px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(255,45,85,0.12), rgba(37,244,238,0.12));
  border-radius: 14px;
  padding: 16px;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 12px;
  align-items: center;
}
.share-card img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: #222; }
.share-card .sc-info { flex: 1; }
.share-card .sc-title { font-size: 15px; font-weight: 700; }
.share-card .sc-desc { font-size: 12px; color: #aaa; margin-top: 4px; }
.share-card .sc-domain { font-size: 11px; color: #25f4ee; margin-top: 6px; }

/* ---------- 上传 ---------- */
.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  margin: 14px;
  color: #aaa;
  font-size: 14px;
}
.upload-area::before { content: '📤'; font-size: 36px; }
.upload-preview {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 12px;
  background: #222;
}
.upload-form {
  padding: 0 14px 14px;
}
.upload-form input, .upload-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
  outline: none;
}
.upload-form input::placeholder, .upload-form textarea::placeholder { color: #777; }
.upload-form textarea { min-height: 80px; resize: none; }

/* ---------- 我的 ---------- */
.me-header {
  position: relative;
  padding: 24px 16px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, rgba(254, 44, 85, 0.2), transparent);
}
.me-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
  background: #222;
}
.me-name { font-size: 18px; font-weight: 700; margin-top: 10px; }
.me-bio { font-size: 13px; color: #bbb; margin-top: 4px; }
.me-stats { display: flex; gap: 24px; padding: 16px 0; }
.me-stat { text-align: center; }
.me-stat b { display: block; font-size: 18px; font-weight: 700; }
.me-stat span { font-size: 12px; color: #aaa; }

.me-menu {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  margin: 0 14px 14px;
  overflow: hidden;
}
.me-menu .menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.me-menu .menu-row:last-child { border-bottom: none; }
.me-menu .menu-row .m-icon { font-size: 20px; margin-right: 10px; }
.me-menu .menu-row .m-label { flex: 1; font-size: 15px; }
.me-menu .menu-row .m-arrow { font-size: 14px; color: #777; }

/* 编辑主页 */
.edit-form {
  padding: 14px;
}
.edit-form .edit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.edit-form .edit-row label { width: 60px; font-size: 14px; color: #aaa; }
.edit-form .edit-row input, .edit-form .edit-row textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.edit-form .edit-row textarea { min-height: 60px; resize: none; }
.edit-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
}

/* 临时账号完善资料提示浮层 */
.temp-prompt {
  background: linear-gradient(90deg, rgba(255, 45, 85, 0.2), rgba(37, 244, 238, 0.2));
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 14px 14px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.temp-prompt button {
  margin-left: auto;
  padding: 6px 12px;
  background: #fe2c55;
  color: #fff;
  border-radius: 14px;
  font-size: 12px;
}

/* ---------- VIP / 充值 ---------- */
.vip-banner {
  background: linear-gradient(135deg, #ffd859, #ff8c00);
  border-radius: 14px;
  padding: 16px;
  margin: 14px;
  color: #000;
  text-align: center;
}
.vip-banner .vip-title { font-size: 18px; font-weight: 800; }
.vip-banner .vip-desc { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.vip-plans { padding: 0 14px; }
.vip-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.vip-plan .vp-name { font-size: 15px; font-weight: 700; }
.vip-plan .vp-price { font-size: 14px; color: #ffd859; font-weight: 700; }
.vip-plan .vp-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(255, 45, 85, 0.2);
  color: #fe2c55;
  border-radius: 8px;
  margin-left: 8px;
}
.vip-plan.selected {
  border-color: #ffd859;
  background: rgba(255, 216, 89, 0.1);
}

.recharge-plans { padding: 0 14px; }
.recharge-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.recharge-plan .rp-points { font-size: 18px; font-weight: 700; color: #ffd859; }
.recharge-plan .rp-price { font-size: 14px; color: #ccc; }
.recharge-plan.selected {
  border-color: #25f4ee;
  background: rgba(37, 244, 238, 0.1);
}

/* ---------- 积分明细 ---------- */
.plog {
  padding: 12px 12px 24px;
}
.plog-bal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
}
.plog-bal b {
  font-size: 16px;
  color: var(--text-primary);
}
.plog-bal .pos, .plog .pos {
  color: var(--neon-cyan);
}
.plog-bal .neg, .plog .neg {
  color: var(--neon-pink);
}
.plog-tabs {
  display: flex;
  gap: 8px;
  padding: 4px 2px 12px;
}
.plog-tab {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.plog-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}
.plog ul {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  overflow: hidden;
}
.plog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.plog-row:last-child {
  border-bottom: none;
}
.pl-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pl-time {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
}
.pl-chg {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.pl-chg.pos {
  color: var(--neon-cyan);
}
.pl-chg.neg {
  color: var(--neon-pink);
}

/* ---------- 我的作品 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}
.works-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #222;
}

/* 视频简单列表（赞藏） */
.video-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.video-list-item img {
  width: 100px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
  background: #222;
}
.video-list-item .v-info { flex: 1; }
.video-list-item .v-title { font-size: 14px; font-weight: 600; }
.video-list-item .v-meta { font-size: 12px; color: #aaa; margin-top: 6px; }

/* ---------- 邀请（海报样式） ---------- */
.invite-poster {
  width: 92%;
  max-width: 320px;
  margin: 14px auto;
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  color: #fff;
}
.invite-poster .ip-title { font-size: 20px; font-weight: 800; }
.invite-poster .ip-desc { font-size: 14px; opacity: 0.9; margin: 8px 0 14px; }
.invite-poster .ip-code {
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 2px;
}
.invite-poster .ip-qrcode {
  width: 120px;
  height: 120px;
  margin: 14px auto 0;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}

/* ---------- 分销中心 ---------- */
.dist-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
}
.dist-stat {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.dist-stat b { display: block; font-size: 18px; font-weight: 700; color: #ffd859; }
.dist-stat span { font-size: 12px; color: #aaa; }

/* 表单卡片 */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  margin: 0 14px 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
 * 快手全屏播放器
 * ============================================================ */
.ks-fullplayer {
  position: fixed; inset: 0;
  background: #000;
  z-index: 1500;
  display: none;
  flex-direction: column;
}
.ks-fullplayer.show { display: flex; }
.ks-fullplayer video {
  flex: 1;
  width: 100%;
  object-fit: contain;
  background: #000;
}
.ks-fp-info {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 100px;
  pointer-events: none;
}
.ks-fp-title { font-size: 15px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.ks-fp-meta { font-size: 12px; color: #ddd; margin-top: 4px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.ks-fp-actions {
  position: absolute;
  right: 14px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
}
.ks-fp-actions button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.ks-fp-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

/* ============================================================
 * 快手瀑布流双列
 * ============================================================ */
.ks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
}
.ks-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
}
.ks-card .ks-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.ks-card video, .ks-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.ks-card .ks-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), transparent);
}
.ks-card .ks-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ks-card .ks-meta {
  font-size: 11px;
  color: #ddd;
  margin-top: 3px;
}

/* 首页顶部 Tab：商城 */
.mall-cat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 10px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mall-cat-bar::-webkit-scrollbar {
  display: none;
}
.mall-home-body {
  padding: 0 14px 20px;
}
/* 首页顶部 Tab：商城 */
.home-tabs {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}
.home-tabs .home-tab {
  text-align: center;
}
.home-tab {
  font-size: 15px;
  color: #aaa;
  font-weight: 600;
  padding: 6px 0;
  position: relative;
  background: none;
}
.home-tab.active { color: #fff; }
.home-tab.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 1px;
}

/* ================= 仿抖音商城：轮播 / 分类 / 地址 ================= */
.mall-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}
.mall-swiper img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}
.mall-swiper img.active { opacity: 1; }
.mall-swiper-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.mall-swiper-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.mall-swiper-dots span.active { background: #fff; }

.mall-search-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 14px;
}
.mall-search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.mall-search-bar input::placeholder { color: #888; }
.mall-search-bar button {
  padding: 8px 14px;
  background: #fe2c55;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
}

.mall-type-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.mall-type-bar button {
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 18px;
  font-size: 13px;
  color: #ccc;
}
.mall-type-bar button.active { background: #fe2c55; color: #fff; }

/* ---------- 地址管理 ---------- */
.addr-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}
.addr-card .addr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.addr-card .addr-name { font-size: 15px; font-weight: 600; }
.addr-card .addr-phone { font-size: 13px; color: #aaa; }
.addr-card .addr-detail { font-size: 13px; color: #ccc; line-height: 1.4; }
.addr-card .addr-default { font-size: 11px; color: #25f4ee; margin-top: 4px; }

/* ---------- 下单地址选择 ---------- */
.addr-select-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 10px;
}
.addr-select-row .as-info { flex: 1; }
.addr-select-row .as-name { font-size: 15px; font-weight: 600; }
.addr-select-row .as-phone { font-size: 13px; color: #aaa; margin-left: 8px; }
.addr-select-row .as-detail { font-size: 13px; color: #ccc; margin-top: 4px; }
.addr-select-row .as-tag {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(37, 244, 238, 0.15);
  color: #25f4ee;
  border-radius: 6px;
  margin-left: 8px;
}

/* ---------- 订单状态栏 ---------- */
.order-status-bar {
  display: flex;
  justify-content: space-around;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 14px;
}
.order-status-bar .os-item { text-align: center; }
.order-status-bar .os-item .os-ico { font-size: 24px; margin-bottom: 4px; }
.order-status-bar .os-item .os-label { font-size: 12px; color: #ccc; }

/* ---------- 发布商品 ---------- */
.pg-form {
  padding: 14px;
}
.pg-form .pg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.pg-form .pg-row label { width: 70px; font-size: 14px; color: #aaa; }
.pg-form .pg-row input, .pg-form .pg-row textarea, .pg-form .pg-row select {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.pg-form .pg-row textarea { min-height: 80px; resize: none; }
.pg-cover-preview {
  width: 100px; height: 100px;
  border-radius: 10px;
  object-fit: cover;
  background: #222;
}

/* ================= 积分提现 ================= */
.withdraw-form {
  padding: 14px;
}
.withdraw-form .wd-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.withdraw-form .wd-row label { width: 80px; font-size: 14px; color: #aaa; }
.withdraw-form .wd-row input, .withdraw-form .wd-row select {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.withdraw-form .wd-balance {
  text-align: center;
  padding: 20px 0;
}
.withdraw-form .wd-balance b { font-size: 32px; font-weight: 800; color: #ffd859; }
.withdraw-form .wd-balance span { font-size: 13px; color: #aaa; display: block; margin-top: 4px; }

/* ================= 游戏中心 ================= */
.game-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
  align-items: center;
}
.game-card img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #222; }
.game-card .g-info { flex: 1; }
.game-card .g-name { font-size: 15px; font-weight: 600; }
.game-card .g-desc { font-size: 12px; color: #aaa; margin-top: 4px; }
.game-card .g-btn {
  padding: 8px 16px;
  background: #fe2c55;
  color: #fff;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ============================================================
 * 全量覆盖：所有 WebKit 原生媒体控件伪元素
 * ============================================================ */
video::-webkit-media-controls,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-volume-slider,
video::-webkit-media-controls-mute-button,
video::-webkit-media-controls-timeline,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-toggle-closed-captions-button,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-enclosure {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 终极兜底：直接禁用 video 的 controls 交互 */
video[controls] {
  pointer-events: none !important;
}

/* v2.9.8：屏蔽渲染在页面 DOM 层之内的浏览器系统悬浮条（夸克/UC/华为等内核以伪元素或 -internal- 私有实现注入） */
video::--webkit-internal-media-controls,
video::--webkit-internal-media-controls-overlay-cast-button,
video::--webkit-media-controls-enclosure,
video::-internal-media-controls,
video::-internal-media-controls-overlay-cast-button,
video::internal-media-controls {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 强制 video 保持在文档流内，禁止浏览器弹出原生层 */
video {
  position: relative !important;
  z-index: 1 !important;
}

/* ============================================================
 * 全局：禁用任意 video 的默认全屏弹出行为（CSS 层面）
 * ============================================================ */
@media all and (display-mode: fullscreen) {
  body > *:not(video):not(.feed-card):not(.ks-fullplayer) {
    display: none !important;
  }
}

/* 桌面端登录/弹窗面板微调：限宽更精致 */
@media (min-width: 768px) {
  .login-panel, .modal-inner { max-width: 360px; }
  .app-view { max-width: 480px; margin: 0 auto; }
  .app-tabbar { max-width: 480px; margin: 0 auto; }
  .page-header { max-width: 480px; margin: 0 auto; }
  .app-topbar { max-width: 480px; margin: 0 auto; }
}

/* ================= 群聊（V2.9.12） ================= */
.gc-head {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.gc-head .back-btn { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.gc-head .gc-name { font-size: 16px; font-weight: 700; }
.gc-head .gc-more { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; line-height: 1; }

/* 群聊表情面板：复用私聊的 chat-emoji-item */
.gc-emoji-panel {
  display: none;
  position: absolute;
  left: 10px;
  bottom: 62px;
  background: #1c1c1e;
  border-radius: 12px;
  padding: 10px;
  z-index: 95;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6);
}
.gc-emoji-panel.open { display: block; }

/* 群聊语音录制状态 */
.gc-voice-recording {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  z-index: 200;
  display: none;
}
.gc-voice-recording.show { display: flex; flex-direction: column; align-items: center; }
.gc-voice-recording .gc-vr-ico { font-size: 48px; margin-bottom: 10px; }
.gc-voice-recording .gc-vr-text { font-size: 14px; color: #fff; }

.gc-msg-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.gc-msg-row .gc-avatar {
  width: 34px; height: 34px;
  border-radius: 50%; object-fit: cover; background: #222;
  flex-shrink: 0;
}
.gc-msg-row .gc-msg-body { flex: 1; min-width: 0; }
.gc-msg-row .gc-sender { font-size: 11px; color: #9c9ca6; margin-bottom: 2px; }
.gc-msg-bubble {
  max-width: 76%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.45;
  word-break: break-word;
  display: inline-block;
}
.gc-msg-bubble.me {
  background: #fe2c55;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.gc-msg-bubble.you {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.gc-msg-bubble img { max-width: 100%; border-radius: 10px; margin-top: 4px; }
.gc-msg-bubble.voice {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
}
.gc-msg-bubble.voice .voice-ico { font-size: 18px; }
.gc-msg-bubble.voice .voice-dur { font-size: 12px; opacity: 0.8; }

.gc-system-msg {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 8px 0;
}

.gc-input-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(14px);
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  z-index: 110;
}
.gc-input-bar .gc-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gc-input-bar input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 18px;
  padding: 8px 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
}
.gc-input-bar .gc-send {
  width: 36px; height: 36px;
  background: #fe2c55;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============ 群聊管理（右上角菜单 / 群信息弹层 / 群主操作） ============ */
.gc-more-menu {
  display: none;
  position: absolute;
  right: 10px;
  top: 52px;
  background: #1c1c1e;
  border-radius: 12px;
  padding: 6px 0;
  z-index: 120;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6);
  min-width: 140px;
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.gc-more-menu.open { display: block; }
.gc-menu-item {
  padding: 11px 16px;
  font-size: 14px;
  color: #eee;
  cursor: pointer;
  white-space: nowrap;
}
.gc-menu-item:active { background: #2a2a2c; }
.gc-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, .78);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
}
.gc-overlay-inner {
  position: relative;
  width: 86%;
  max-width: 380px;
  max-height: 76dvh;
  overflow-y: auto;
  background: #141416;
  border-radius: 14px;
  padding: 52px 16px 16px;
}
.gc-overlay-inner .back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.gc-info-head { text-align: center; padding-bottom: 14px; border-bottom: 1px solid #26262a; }
.gc-info-head img {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
  background: #222;
  /* 修复闪烁：覆盖 glass 卡片的 backdrop-filter，避免 GPU 频繁重绘 */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
}
.gc-info-name { font-size: 17px; font-weight: 600; color: #fff; margin-top: 8px; }
.gc-info-notice { font-size: 12px; color: #9c9ca6; margin-top: 6px; word-break: break-all; }
/* 群聊顶部公告栏 */
.gc-notice-bar {
  display: none;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.06);
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
  overflow: hidden;
  white-space: nowrap;
}
.gc-notice-bar.open { display: block; }
.gc-notice-text {
  display: inline-block;
  font-size: 13px;
  color: var(--neon-cyan);
  padding-left: 100%;
  animation: gcNoticeMarquee 12s linear infinite;
}
@keyframes gcNoticeMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.gc-info-members {
  font-size: 13px; color: #aaa; margin: 14px 0 6px;
  display: flex; align-items: center; justify-content: space-between;
}
.gc-info-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 4px; border-bottom: 1px solid #1f1f22;
  font-size: 14px; color: #eee;
}
.gc-info-row img {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #222;
}
.gc-info-row b { color: #fe2c55; font-size: 11px; font-weight: 600; }
.gc-info-row button {
  margin-left: auto;
  background: #26262a; border: none; border-radius: 14px;
  color: #eee; font-size: 12px; padding: 5px 10px;
}
.gc-info-row button:active { background: #33343a; }
.chat-sender { font-size: 11px; color: #9c9ca6; line-height: 13px; padding-top: 4px; margin-bottom: 3px; }
.gc-del-msg {
  background: none; border: none; color: #8a8a91;
  font-size: 12px; padding: 0 4px; cursor: pointer;
}
.gc-del-msg:active { color: #fe2c55; }

/* ============ 聊天左侧 ⊞ 功能面板（红包/转账） ============ */
.chat-grid-menu {
  display: none;
  position: absolute;
  left: 10px;
  bottom: 62px;
  width: 210px;
  background: #1c1c1e;
  border-radius: 12px;
  padding: 8px;
  z-index: 95;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .6);
}
.chat-grid-menu.open { display: block; }
.chat-grid-item {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 12px;
  font-size: 14px; color: #eee;
  border-radius: 8px;
}
.chat-grid-item:active { background: #2a2a2c; }
.chat-rp-form {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 4px;
  border-top: 1px solid #26262a;
  margin-top: 4px;
}
.chat-rp-form .chat-input-light { width: 100%; }

/* ============ 红包卡片（消息气泡内） ============ */
.red-packet {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  min-width: 180px;
}
.red-packet .rp-ico { font-size: 32px; }
.red-packet .rp-info { flex: 1; }
.red-packet .rp-title { font-size: 14px; font-weight: 600; }
.red-packet .rp-desc { font-size: 11px; opacity: 0.8; margin-top: 2px; }
.red-packet .rp-status {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 6px;
  margin-top: 4px;
  display: inline-block;
}

/* ============================================================
 * 私聊顶部 UI 调整（V2.10.0）：头像移到右侧顶部
 * ============================================================ */
.chat-head-light {
  position: relative;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 48px;
  padding: 0 14px;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.chat-head-light .back-btn { background: none; border: none; color: var(--neon-cyan); font-size: 22px; cursor: pointer; line-height: 1; justify-self: start; }
.chat-head-light .chat-name { font-size: 16px; font-weight: 700; text-align: center; }
.chat-head-light .chat-more-btn {
  justify-self: end;
  flex-shrink: 0;
  color: var(--neon-cyan);
}
.chat-peer-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  cursor: pointer;
}
.chat-more-btn {
  background: none; border: none; color: #fff;
  font-size: 20px; cursor: pointer; line-height: 1;
  padding: 4px;
}
.chat-head-light .chat-avatar-tip { cursor: pointer; }

/* 居中导航包裹 */
.chat-peer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  justify-self: center;
  min-width: 0;
}
.chat-peer-center .chat-peer-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; background: #222; cursor: pointer;
}
.chat-peer-center .chat-peer-name {
  font-size: 15px; font-weight: 700;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* 快手视频广告位样式 */
.ad-card {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}
.ad-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.ad-inner .ad-img {
  width: 100%;
  max-height: 60%;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 16px;
}
.ad-inner .ad-body {
  text-align: center;
  width: 100%;
}
.ad-inner .ad-tag {
  display: inline-block;
  background: rgba(254, 44, 85, 0.85);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.ad-inner .ad-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ad-inner .ad-text {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 16px;
}
.ad-inner .ad-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #fe2c55;
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* MobileVideoPlayer 容器：承接原来 video 的占位和布局 */
.feed-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  pointer-events: none;
  /* 隔离层：防止浏览器自动全屏扫描 */
  contain: strict;
  isolation: isolate;
  transform: translateZ(0);
}
.feed-video-container iframe,
.feed-video-container video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border: none !important;
  display: block !important;
}

/* ============================================================
 * v2.12.0 科技感全局升级 — 覆盖与增强
 * ============================================================ */

/* ---------- 全局玻璃态面板 ---------- */
.page-body,
.me-menu,
.form-card,
.order-card,
.goods-cell,
.game-card,
.dist-stat,
.points-card,
.vip-plan,
.recharge-plan,
.addr-card,
.comment-panel,
.share-sheet,
.gift-panel,
.modal-inner,
.help-toast-inner,
.gc-overlay-inner,
.chat-grid-menu,
.gc-more-menu,
.gc-emoji-panel {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: var(--shadow-glow) !important;
}

/* ---------- 头部栏科技升级 ---------- */
.page-header,
.chat-head,
.chat-head-light,
.gc-head {
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.95), rgba(5, 8, 17, 0.9)) !important;
  border-bottom: 1px solid var(--border-glow) !important;
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1) !important;
}
.page-header .page-title,
.chat-head .chat-name,
.chat-head-light .chat-name,
.gc-head .gc-name {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 霓虹按钮升级 ---------- */
.btn-primary,
.login-btn,
.gift-actions .btn-send,
.modal-inner .modal-actions .btn-confirm,
.help-toast-inner button,
.comment-input-bar button,
.chat-input-bar button,
.gc-input-bar .gc-send,
.ad-inner .ad-btn,
.gd-actions .btn-buy,
.gc-btn,
.goods-cart .gc-btn {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.4), 0 0 30px rgba(155, 89, 182, 0.2) !important;
  border: none !important;
  transition: all var(--transition-smooth) !important;
}
.btn-primary:active,
.login-btn:active {
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.6), 0 0 50px rgba(155, 89, 182, 0.3) !important;
  transform: scale(0.97);
}

.btn-secondary,
.gd-actions .btn-cart,
.gift-actions .btn-cancel,
.modal-inner .modal-actions .btn-cancel,
.share-cancel,
.poster-actions .btn-share {
  background: rgba(0, 212, 255, 0.1) !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
  color: var(--neon-cyan) !important;
}

/* ---------- 个人中心科技大改造 ---------- */
.me-header {
  background: linear-gradient(180deg, 
    rgba(0, 212, 255, 0.15) 0%, 
    rgba(155, 89, 182, 0.1) 40%,
    rgba(5, 8, 17, 0.95) 100%) !important;
  position: relative;
  overflow: hidden;
}
.me-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(155, 89, 182, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.me-avatar {
  border: 3px solid var(--neon-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.2) !important;
  animation: pulse-glow 2s ease-in-out infinite;
}
.me-name {
  background: linear-gradient(90deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}
.me-stats {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 24px;
  margin: 0 14px 14px;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.me-stat b {
  background: linear-gradient(180deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 22px;
}
.me-stat span {
  color: var(--text-secondary);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- 菜单项科技风格 ---------- */
.me-menu .menu-row,
.page-row {
  border-bottom: 1px solid rgba(0, 212, 255, 0.1) !important;
  transition: all var(--transition-smooth);
}
.me-menu .menu-row:active,
.page-row:active {
  background: rgba(0, 212, 255, 0.08) !important;
}
.me-menu .menu-row .m-icon {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.me-menu .menu-row .m-arrow {
  color: var(--neon-cyan);
  opacity: 0.6;
}

/* ---------- 卡片与列表项 ---------- */
.user-row,
.msg-row,
.comment-row,
.video-list-item,
.points-log-row {
  border-bottom: 1px solid rgba(0, 212, 255, 0.08) !important;
  transition: all var(--transition-smooth);
}
.user-row:active,
.msg-row:active {
  background: rgba(0, 212, 255, 0.05) !important;
}

/* ---------- 输入框科技升级 ---------- */
input, textarea, select,
.search-bar input,
.mall-search-bar input,
.chat-input-bar input,
.gc-input-bar input,
.comment-input-bar input,
.upload-form input,
.upload-form textarea,
.edit-form .edit-row input,
.edit-form .edit-row textarea,
.pg-form .pg-row input,
.pg-form .pg-row textarea,
.pg-form .pg-row select,
.withdraw-form .wd-row input,
.withdraw-form .wd-row select {
  background: rgba(0, 212, 255, 0.05) !important;
  border: 1px solid rgba(0, 212, 255, 0.15) !important;
  border-radius: 12px !important;
  transition: all var(--transition-smooth) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
  outline: none !important;
}

/* ---------- 商城卡片 ---------- */
.goods-cell {
  background: var(--bg-glass) !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: var(--shadow-glow) !important;
  transition: all var(--transition-smooth);
}
.goods-cell:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2) !important;
}
.goods-cell .g-price {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- VIP / 充值 ---------- */
.vip-banner {
  background: linear-gradient(135deg, 
    rgba(255, 216, 89, 0.2), 
    rgba(255, 140, 0, 0.15)) !important;
  border: 1px solid rgba(255, 216, 89, 0.3) !important;
  box-shadow: 0 0 30px rgba(255, 216, 89, 0.15) !important;
}
.vip-plan.selected,
.recharge-plan.selected {
  border-color: var(--neon-cyan) !important;
  background: rgba(0, 212, 255, 0.1) !important;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2) !important;
}
.vip-plan .vp-price,
.recharge-plan .rp-points,
.dist-stat b,
.points-card .p-balance,
.withdraw-form .wd-balance b {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 消息气泡 ---------- */
.msg-bubble.me {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 2px 15px rgba(0, 212, 255, 0.3) !important;
}
.msg-bubble.you {
  background: rgba(0, 212, 255, 0.1) !important;
  border: 1px solid rgba(0, 212, 255, 0.15) !important;
}
.gc-msg-bubble.me {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 2px 15px rgba(0, 212, 255, 0.3) !important;
}
.gc-msg-bubble.you {
  background: rgba(0, 212, 255, 0.1) !important;
  border: 1px solid rgba(0, 212, 255, 0.15) !important;
}

/* ---------- 上传区域 ---------- */
.upload-area {
  border: 2px dashed rgba(0, 212, 255, 0.3) !important;
  background: rgba(0, 212, 255, 0.03) !important;
}

/* ---------- 扫码线动画 ---------- */
.scan-line {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  animation: scan-line 3s linear infinite;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.3;
}

/* ---------- 邀请海报 ---------- */
.invite-poster {
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.2), 
    rgba(155, 89, 182, 0.2)) !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: var(--shadow-glow) !important;
}

/* ---------- 分享卡片 ---------- */
.share-card {
  background: linear-gradient(135deg, 
    rgba(0, 212, 255, 0.08), 
    rgba(155, 89, 182, 0.08)) !important;
  border: 1px solid var(--border-glow) !important;
}

/* ---------- 快手瀑布流 ---------- */
.ks-card {
  border: 1px solid rgba(0, 212, 255, 0.1) !important;
  transition: all var(--transition-smooth);
}
.ks-card:active {
  transform: scale(0.98);
  border-color: rgba(0, 212, 255, 0.3) !important;
}

/* ---------- 顶部 Tab ---------- */
.home-tabs {
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.9), rgba(5, 8, 17, 0.7)) !important;
  border-bottom: 1px solid var(--border-glow) !important;
}
.home-tab.active {
  color: var(--neon-cyan) !important;
}
.home-tab.active::after {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 10px var(--neon-cyan) !important;
}

/* ---------- 标签与徽章 ---------- */
.src-tag {
  background: rgba(0, 212, 255, 0.2) !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
  color: var(--neon-cyan) !important;
}
.src-tag-ad {
  background: rgba(255, 45, 85, 0.3) !important;
  border: 1px solid rgba(255, 45, 85, 0.4) !important;
}

/* ---------- Toast 科技风 ---------- */
.dy-toast {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: var(--shadow-glow) !important;
  color: var(--text-primary) !important;
}

/* ---------- 加载动画 ---------- */
.page-empty::before {
  content: '◈' !important;
  font-size: 48px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ---------- 临时提示 ---------- */
.temp-prompt {
  background: linear-gradient(90deg, 
    rgba(0, 212, 255, 0.15), 
    rgba(155, 89, 182, 0.15)) !important;
  border: 1px solid var(--border-glow) !important;
}

/* ---------- 分段标签 ---------- */
.segment-bar {
  background: rgba(0, 212, 255, 0.05) !important;
  border: 1px solid rgba(0, 212, 255, 0.1) !important;
}
.segment-bar button.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
}

/* ---------- 订单状态 ---------- */
.order-card .o-status {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* ---------- 游戏中心 ---------- */
.game-card .g-btn {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
}

/* ---------- 商城分类 ---------- */
.mall-type-bar button.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
}

/* ---------- 评论置顶商品 ---------- */
.comment-goods {
  background: linear-gradient(90deg, 
    rgba(0, 212, 255, 0.1), 
    rgba(155, 89, 182, 0.1)) !important;
  border: 1px solid var(--border-glow) !important;
}

/* ---------- 红包 ---------- */
.red-packet {
  background: linear-gradient(135deg, 
    rgba(255, 107, 107, 0.8), 
    rgba(238, 90, 36, 0.8)) !important;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3) !important;
}

/* ---------- 地址标签 ---------- */
.as-tag {
  background: rgba(0, 212, 255, 0.15) !important;
  color: var(--neon-cyan) !important;
  border: 1px solid rgba(0, 212, 255, 0.2) !important;
}

/* ---------- 商城科技感（v2.12.0） ---------- */
.mall-search,
.mall-search-bar {
  margin: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
}
.mall-search input,
.mall-search-bar input {
  flex: 1;
  padding: 7px 12px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
}
.mall-search input:focus,
.mall-search-bar input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.3);
}
.mall-search button,
.mall-search-bar button {
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}
.mall-cat-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 10px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mall-cat-scroll::-webkit-scrollbar {
  display: none;
}
.mall-cat-pill {
  display: inline-flex;
  flex-shrink: 0;
  padding: 8px 16px;
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 999px;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}
.mall-cat-pill.on {
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.4);
}
.goods-grid { gap: 12px; }
.goods-cell {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.goods-cell:active {
  transform: scale(0.97);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.25);
}
.goods-cell img,
.goods-cell .g-cover {
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}
.goods-cell .g-name {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px 2px;
  color: var(--text-primary);
  /* 长商品名最多两行截断，避免撑高卡片 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 39px;
  word-break: break-all;
}
.goods-cell .g-cat {
  font-size: 11px;
  color: var(--neon-cyan);
  opacity: 0.7;
  padding: 0 12px;
}
.goods-cell .g-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 12px;
}
.goods-cell .g-price {
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.goods-cell .g-sales {
  font-size: 11px;
  color: var(--text-secondary);
}
/* 商品详情 */
.gd-imgs { border-bottom: 1px solid rgba(0, 212, 255, 0.12); }
.gd-info {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  margin: 12px 14px;
  padding: 16px;
  box-shadow: var(--shadow-glow);
}
.gd-price {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gd-desc-title {
  font-size: 12px;
  color: var(--neon-cyan);
  letter-spacing: 3px;
  margin-top: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}
.gd-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.gd-meta span {
  color: var(--text-secondary);
  font-size: 12px;
}
/* 购买底栏 */
.gd-buybar {
  position: fixed;
  left: 0; right: 0; bottom: calc(54px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.92), rgba(2, 4, 10, 0.96));
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  z-index: 100;
}
.qty-box {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}
.qty-box select,
.ps-title select {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  color: var(--text-primary);
  padding: 6px 10px;
}
.gd-buybar .btn-main {
  flex: 1;
  padding: 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border: none;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.35);
}
.gd-buybar .btn-main.alt {
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 16px rgba(255, 45, 117, 0.35);
}
/* 支付方式 */
.pay-ch-row { display: flex; gap: 8px; margin-bottom: 12px; }
.pay-ch {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition-smooth);
}
.pay-ch.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}
/* 地址选择 */
.ps-addr-item {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  transition: all var(--transition-smooth);
}
.ps-addr-item.on {
  border-color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.2);
}
.psi-name { font-weight: 600; color: var(--text-primary); font-size: 14px; display: block; }
.psi-addr { font-size: 12px; color: var(--text-secondary); margin-top: 3px; display: block; }
.psi-def {
  float: right;
  font-size: 10px;
  font-style: normal;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.4);
  padding: 1px 6px;
  border-radius: 8px;
}
/* 订单卡片 */
.order-card {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-glow) !important;
}
/* 积分商城 */
.stock-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 11px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}
.g-price.pm {
  background: linear-gradient(90deg, #ffd859, #ff9f1a) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- 社交/消息科技感（v2.12.0） ---------- */
/* 会话列表 */
.conv-row,
.user-row,
.msg-row {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: 14px;
  margin: 8px 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-smooth);
}
.conv-row:active,
.user-row:active,
.msg-row:active {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.06);
  transform: scale(0.99);
}
.conv-row.unread,
.msg-row.unread {
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.12);
}
.conv-name {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}
.conv-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  text-align: center;
  font-size: 11px;
  font-style: normal;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255, 45, 117, 0.5);
}
.conv-last {
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 3px;
}
.conv-time {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 11px;
}
/* 消息中心 */
.msg-ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(155, 89, 182, 0.18));
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: inset 0 0 12px rgba(0, 212, 255, 0.08);
}
.msg-title {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}
.msg-text {
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 3px;
}
.msg-time {
  color: var(--text-secondary);
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.8;
}
/* 分段标签（消息中心/好友页） */
.seg-tabs,
.segment-bar {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 999px;
  margin: 14px;
  padding: 4px;
  display: flex;
  backdrop-filter: blur(14px);
}
.seg {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: all var(--transition-smooth);
}
.seg.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}
/* 消息分类Tab未读角标 */
.seg-badge {
  display: inline-block;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 5px;
  margin-left: 4px;
  font-size: 10px;
  font-style: normal;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #ff2d75, #ff6b6b);
  border-radius: 999px;
  vertical-align: top;
}
.seg-badge:empty { display: none; }
/* 底部导航消息角标 */
.nav-badge {
  position: absolute;
  top: 2px;
  right: 50%;
  transform: translateX(14px);
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 5px;
  font-size: 10px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #ff2d75, #ff6b6b);
  border-radius: 999px;
  z-index: 2;
}
.nav-badge:empty { display: none; }
/* 消息提示音开关 */
.msg-sound-toggle {
  display: inline-block;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.8;
  vertical-align: middle;
  margin-left: 8px;
}
.msg-sound-toggle.off { opacity: 0.4; }
/* 附近好友定位提示 */
.loc-tip {
  margin: 10px 14px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.06);
  border: 1px dashed rgba(0, 212, 255, 0.3);
  border-radius: 12px;
}
/* 用户条目 */
.u-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
  flex-shrink: 0;
}
.u-name {
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
}
.u-dist {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 999px;
}
.u-bio {
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: 3px;
}
.u-btn {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border: none;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
.u-btn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--neon-cyan);
  box-shadow: none;
}
.u-btn.followed {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.15);
  color: var(--text-secondary);
  box-shadow: none;
}
.u-btn.small {
  padding: 4px 10px;
  font-size: 11px;
}
.u-acts {
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
/* 私聊/群聊头部 */
.chat-head-light,
.gc-head {
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.96), rgba(5, 8, 17, 0.92)) !important;
  border-bottom: 1px solid var(--border-glow) !important;
  backdrop-filter: blur(20px);
}
.chat-head-light .chat-name,
.gc-head .gc-name {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
/* 聊天气泡 */
.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
  max-width: 70vw;
  word-break: break-word;
}
.chat-msg-row.mine .chat-bubble {
  background: linear-gradient(135deg, var(--neon-cyan), #2d7dff) !important;
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 16px rgba(0, 212, 255, 0.3);
}
.chat-msg-row.other .chat-bubble {
  background: rgba(0, 212, 255, 0.08) !important;
  color: var(--text-primary);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-bottom-left-radius: 4px;
}
.gc-msg-row.mine .gc-msg-bubble,
.gc-msg-bubble.me {
  background: linear-gradient(135deg, var(--neon-cyan), #2d7dff) !important;
  color: #fff;
  box-shadow: 0 2px 16px rgba(0, 212, 255, 0.3);
}
/* 聊天媒体：图片 / 视频 / 音频 */
.chat-media {
  display: block;
  max-width: 60vw;
  border-radius: 12px;
  overflow: hidden;
}
.chat-media-img {
  max-height: 40vh;
  object-fit: cover;
  cursor: zoom-in;
  border: 1px solid rgba(0, 212, 255, 0.15);
}
.chat-media-video {
  width: min(60vw, 320px);
  max-height: 40vh;
  background: #000;
}
.chat-media-audio {
  width: min(60vw, 280px);
  height: 36px;
}
/* 聊天视频缩略图（仿图片预览样式） */
.chat-video-thumb {
  position: relative;
  display: inline-block;
  max-width: 60vw;
  max-height: 40vh;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.chat-video-thumb video {
  width: min(60vw, 320px);
  height: auto;
  max-height: 40vh;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.chat-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.chat-video-play span {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 18px;
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,0.25);
}
.gc-msg-row.other .gc-msg-bubble,
.gc-msg-bubble.you {
  background: rgba(0, 212, 255, 0.08) !important;
  color: var(--text-primary);
  border: 1px solid rgba(0, 212, 255, 0.18);
}
/* 群聊头像堆 */
.gc-avatars img,
.gc-avatar {
  border: 2px solid rgba(0, 212, 255, 0.35);
}
/* 输入条 */
.chat-input-bar-light,
.gc-input-bar {
  background: linear-gradient(0deg, rgba(5, 8, 17, 0.96), rgba(8, 12, 26, 0.92)) !important;
  border-top: 1px solid var(--border-glow) !important;
}
.chat-input-light,
.gc-input-bar input {
  background: rgba(0, 212, 255, 0.08) !important;
  border: 1px solid rgba(0, 212, 255, 0.35) !important;
  border-radius: 999px !important;
  color: var(--text-primary) !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  min-height: 40px !important;
  flex: 1 !important;
}
.chat-input-light:focus,
.gc-input-bar input:focus {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.3) !important;
  outline: none !important;
}
.chat-input-bar-light button,
.gc-input-bar button {
  color: var(--neon-cyan) !important;
}
/* 日期分隔 */
.chat-date-divider {
  margin: 12px auto;
  width: fit-content;
  padding: 3px 14px;
  font-size: 11px;
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 999px;
}
/* 已读 */
.chat-read {
  color: var(--neon-cyan);
  font-size: 11px;
}
/* 红包卡片 */
.rp-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(238, 90, 36, 0.12));
  border: 1px solid rgba(255, 107, 107, 0.3);
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.rp-card:active {
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.35);
}
.rp-card .rp-icon {
  font-size: 24px;
  font-style: normal;
}
.rp-card .rp-info em {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: #ffd0c0;
  font-weight: 600;
}
.rp-card .rp-info i {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
}
/* 附加面板（表情/附件） */
.chat-emoji-panel,
.chat-attach-sheet {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid var(--border-glow) !important;
  border-radius: 16px 16px 0 0 !important;
  box-shadow: var(--shadow-glow) !important;
}
.chat-attach-item {
  color: var(--text-primary) !important;
}
.chat-attach-item:active {
  background: rgba(0, 212, 255, 0.1) !important;
}

/* ---------- VIP / 充值 科技感（v2.12.0） ---------- */
/* 特权卡片 */
.vip-perms {
  display: flex;
  gap: 10px;
  padding: 6px 14px 0;
}
.vip-perms .vp {
  flex: 1;
  padding: 14px 8px;
  border-radius: 14px;
  text-align: center;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.vip-perms .vp .vp-ico {
  display: block;
  font-size: 22px;
  font-style: normal;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}
.vip-perms .vp b {
  display: block;
  font-size: 13px;
  background: linear-gradient(90deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vip-perms .vp span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.4;
}
/* 会员状态 */
.vip-status {
  margin: 14px;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  box-shadow: var(--shadow-glow);
}
.vip-status.ok {
  background: linear-gradient(135deg, rgba(255, 216, 89, 0.15), rgba(255, 140, 0, 0.12));
  border-color: rgba(255, 216, 89, 0.35);
  color: #ffe9a8;
}
/* 套餐卡片 */
.vip-plans,
.rech-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 4px 14px;
}
.vip-plan,
.rech-plan {
  position: relative;
  padding: 16px 10px;
  border-radius: 16px;
  text-align: center;
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-smooth);
  overflow: hidden;
}
.vip-plan.active,
.rech-plan.active {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}
.vip-plan .vp-hot {
  position: absolute;
  top: 10px; right: -18px;
  transform: rotate(40deg);
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 18px;
  box-shadow: 0 0 10px rgba(255, 45, 117, 0.4);
}
.vip-plan .vp-name,
.rech-plan .rp-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.vip-plan .vp-days {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 3px;
}
.vip-plan .vp-price,
.rech-plan .rp-price {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.vip-plan .vp-benefit {
  font-size: 10px;
  color: #ffd859;
  margin-top: 4px;
  min-height: 14px;
}
.vip-plan .vp-acts { margin-top: 10px; display: flex; gap: 6px; }
.vip-plan .vp-acts .btn-main {
  flex: 1;
  padding: 8px 0;
  font-size: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}
.vip-plan .vp-acts .btn-ghost {
  flex: 1;
  padding: 8px 0;
  font-size: 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--neon-cyan);
}
/* 充值余额卡 */
.rech-bal {
  position: relative;
  margin: 14px 14px 0;
  padding: 20px 18px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(155, 89, 182, 0.14));
  border: 1px solid var(--border-glow);
  overflow: hidden;
}
.rech-bal::before {
  content: '';
  position: absolute;
  top: -60%; left: -30%;
  width: 160%; height: 200%;
  background: radial-gradient(circle at 70% 40%, rgba(0, 212, 255, 0.12), transparent 50%);
  pointer-events: none;
}
.rech-bal .rb-label {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 3px;
}
.rech-bal b {
  display: block;
  margin-top: 4px;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.4);
}
.rech-bal .rb-unit {
  display: block;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 6px;
  color: var(--neon-cyan);
  opacity: 0.6;
  margin-top: 2px;
}
.rech-tip {
  margin: 10px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}
.rech-plan .rp-points {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffd859;
}
.rech-plan .btn-main {
  margin-top: 10px;
  width: 100%;
  padding: 9px 0;
  font-size: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border: none;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

/* ---------- 点赞/关注按钮 ---------- */
.op-item .op-ico,
.follow-btn {
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5)) !important;
}
.op-item.liked .op-ico {
  filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.6)) !important;
}

/* ---------- 声音按钮 ---------- */
.sound-badge {
  background: rgba(0, 212, 255, 0.2) !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(10px) !important;
}

/* ---------- 关注小按钮 ---------- */
.follow-mini {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5) !important;
}

/* ---------- 霓虹文字装饰 ---------- */
.neon-text {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.neon-border {
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 2px;
}

/* ---------- 全局过渡动画（仅交互元素，避免布局抖动） ---------- */
button, .btn-main, .btn-ghost, .btn-secondary, .auth-btn, .auth-tab,
input, textarea, select, .input-wrapper input,
.goods-cell, .vip-plan, .rech-plan, .vp, .glass,
.mall-cat-pill, .seg, .u-btn, .pay-ch,
.me-menu .menu-row, .chat-bubble, .msg-bubble,
.hud-corner, .play-ico, .tech-avatar {
  transition: background-color var(--transition-smooth),
              border-color var(--transition-smooth),
              box-shadow var(--transition-smooth),
              transform var(--transition-smooth),
              opacity var(--transition-smooth);
}

/* ---------- 禁用原生视频控件（强化） ---------- */
video::-webkit-media-controls {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* ---------- 选中文字颜色 ---------- */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: #fff;
}

/* ---------- 视频卡片 HUD 角标 ---------- */
.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 30;
  pointer-events: none;
  opacity: 0.85;
}
.hud-tl {
  top: 12px; left: 12px;
  border-top: 2px solid rgba(0, 212, 255, 0.8);
  border-left: 2px solid rgba(0, 212, 255, 0.8);
  border-top-left-radius: 6px;
  box-shadow: -2px -2px 10px rgba(0, 212, 255, 0.3);
}
.hud-br {
  bottom: 96px; right: 16px;
  border-bottom: 2px solid rgba(0, 212, 255, 0.5);
  border-right: 2px solid rgba(0, 212, 255, 0.5);
  border-bottom-right-radius: 6px;
  box-shadow: 2px 2px 10px rgba(0, 212, 255, 0.2);
}

/* ---------- 播放量图标 ---------- */
.play-ico {
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 5px;
  vertical-align: middle;
  border-left: 7px solid var(--neon-cyan);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.8));
}

/* ---------- 头像科技光环 ---------- */
.tech-avatar img,
.tech-avatar .avatar-ph {
  border: 2px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

/* ---------- 广告标签升级 ---------- */
.ad-inner .ad-tag {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

/* ============================================================
 * 个人中心 高端科技风（v2.12.0）
 * ============================================================ */
.tech-me {
  position: relative;
  overflow: hidden;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 18px 26px;
  background: linear-gradient(180deg,
    rgba(0, 212, 255, 0.16) 0%,
    rgba(45, 125, 255, 0.10) 35%,
    rgba(155, 89, 182, 0.08) 70%,
    rgba(5, 8, 17, 0.85) 100%) !important;
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.12);
}
/* 全息光斑背景 */
.tech-me .me-holo {
  position: absolute;
  top: -40%; left: -30%;
  width: 160%; height: 160%;
  background:
    radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(155, 89, 182, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 45, 117, 0.08) 0%, transparent 40%);
  pointer-events: none;
  animation: hologram-shimmer 6s ease-in-out infinite alternate;
}
/* 扫描线 */
.tech-me .me-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: 0 0 8px var(--neon-cyan);
  animation: scan-line 4s linear infinite;
  opacity: 0.5;
  pointer-events: none;
}
.me-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.me-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.tech-me .me-avatar {
  width: 78px; height: 78px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 212, 255, 0.9);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.55), 0 0 46px rgba(0, 212, 255, 0.22);
  animation: pulse-glow 2.4s ease-in-out infinite;
}
.me-vip-badge {
  position: absolute;
  right: -4px; bottom: -2px;
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 216, 89, 0.8));
}
.me-idc { flex: 1; min-width: 0; }
.tech-me .me-name {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff 10%, var(--neon-cyan) 60%, #8fd8ff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.tech-me .me-uid {
  font-size: 11px;
  color: var(--neon-cyan);
  opacity: 0.75;
  margin-top: 3px;
  letter-spacing: 1px;
}
.tech-me .me-bio {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me-edit-btn {
  flex-shrink: 0;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  transition: all 0.3s;
}
.me-edit-btn:active {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.4);
}
.tech-me .me-stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 18px;
  padding: 14px 6px;
  border-radius: 16px;
  z-index: 2;
}
.tech-me .ms {
  text-align: center;
  flex: 1;
}
.tech-me .ms b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  font-style: normal;
  background: linear-gradient(180deg, #ffffff, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 18px rgba(0, 212, 255, 0.3);
}
.tech-me .ms span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 2px;
}
.stats-sep {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}
/* VIP 横幅 */
.me-vip {
  margin: 14px 14px 4px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  border-radius: 14px;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(155, 89, 182, 0.14));
  border: 1px solid rgba(0, 212, 255, 0.25);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.1);
}
.me-vip.ok {
  background: linear-gradient(135deg, rgba(255, 216, 89, 0.16), rgba(255, 140, 0, 0.14));
  border-color: rgba(255, 216, 89, 0.35);
}
.me-vip .btn-main {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
  flex-shrink: 0;
}
/* 菜单分组 */
.me-menu-group {
  margin: 16px 14px 0;
}
.me-group-title {
  font-size: 11px;
  color: var(--neon-cyan);
  opacity: 0.65;
  letter-spacing: 3px;
  margin: 0 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.me-group-title::before,
.me-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.4), transparent);
  opacity: 0.6;
}
.tech-me .me-menu {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.tech-me .me-menu .menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  transition: background 0.25s;
}
.tech-me .me-menu .menu-row:last-child { border-bottom: none; }
.tech-me .me-menu .menu-row:active {
  background: rgba(0, 212, 255, 0.08);
}
.tech-me .me-menu .mr-ico {
  font-size: 18px;
  width: 28px;
  text-align: center;
  filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.4));
}
.tech-me .me-menu .mr-label {
  flex: 1;
  font-size: 15px;
}
.tech-me .me-menu .m-arrow {
  font-size: 16px;
  color: var(--neon-cyan);
  opacity: 0.55;
}
/* 退出 */
.me-out {
  margin: 22px 14px calc(30px + env(safe-area-inset-bottom, 0px));
  padding: 13px;
  text-align: center;
  font-size: 15px;
  color: var(--neon-pink);
  background: rgba(255, 45, 117, 0.06);
  border: 1px solid rgba(255, 45, 117, 0.3);
  border-radius: 14px;
  letter-spacing: 2px;
  transition: all 0.3s;
}
.me-out:active {
  background: rgba(255, 45, 117, 0.15);
  box-shadow: 0 0 18px rgba(255, 45, 117, 0.3);
}
.me-gender {
  font-size: 13px;
  color: var(--neon-cyan);
  margin-left: 4px;
}
.vip-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  color: #2a1a05;
  background: linear-gradient(135deg, #ffd859, #ff9f1a);
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255, 216, 89, 0.5);
}

/* ============================================================
 * v2.14.3 修复层：首页声音按钮遮挡 + 提现页科技感重构
 * ============================================================ */

/* 声音按钮：提升层级到 feed-right 之上 */
.feed-card > .sound-badge {
  position: absolute;
  z-index: 160 !important;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.18);
  border: 1px solid rgba(0, 212, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--neon-cyan);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25), inset 0 0 8px rgba(0, 212, 255, 0.08);
  pointer-events: auto !important;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.feed-card > .sound-badge:active {
  transform: scale(0.92);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
}

/* ---------- 提现页：科技感全息卡片 ---------- */
.wd-tech-bal {
  text-align: center;
  padding: 24px 16px 16px;
  margin: 0 16px;
  border-radius: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.wd-tech-bal::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  pointer-events: none;
}
.wd-tech-bal-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}
.wd-tech-bal-num {
  font-size: 28px;
  font-weight: 800;
  color: #ffd859;
  text-shadow: 0 0 20px rgba(255, 216, 89, 0.25);
  margin-top: 4px;
}
.wd-tech-bal-sub {
  font-size: 13px;
  color: var(--text-secondary);
}
.wd-tech-bal-sub span {
  color: var(--neon-gold);
  font-weight: 700;
}

.wd-tech-rate {
  margin: 14px 16px 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: #8aa0b4;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  text-align: center;
}

.wd-tech-card {
  margin: 10px 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.wd-tech-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wd-tech-title::before {
  content: '';
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
}

/* 提现方式选择 */
.wd-tech-chs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.wd-tech-ch {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wd-tech-ch:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.05);
}
.wd-tech-ch.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.2);
}
.wd-tech-ch-ico {
  font-size: 18px;
  display: block;
  margin-bottom: 2px;
}
.wd-tech-ch-name {
  font-size: 13px;
  color: #ccc;
}
.wd-tech-ch.active .wd-tech-ch-name {
  color: #fff;
  font-weight: 600;
}

/* 表单字段 */
.wd-tech-field {
  margin-bottom: 14px;
}
.wd-tech-field label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.wd-tech-in {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.12);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all var(--transition-smooth);
}
.wd-tech-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}
.wd-tech-in::placeholder { color: #5a6a80; }

/* 上传行 */
.wd-tech-upload {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wd-tech-qrprev {
  display: none;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

/* 提示文字 */
.wd-tech-tip {
  margin-top: 6px;
  font-size: 12px;
  color: #5a6a80;
}
.wd-tech-preview {
  font-size: 13px;
  color: var(--neon-gold);
  text-align: center;
  margin: -4px 0 14px;
  min-height: 20px;
}

/* 胶囊按钮 */
.wd-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  cursor: pointer;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(10px);
}
.wd-tech-pill:hover {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}
.wd-tech-capsule {
  display: block;
  width: 100%;
  padding: 15px 0;
  margin-top: 6px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.wd-tech-capsule::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.wd-tech-capsule:hover::before {
  left: 100%;
}
.wd-tech-capsule:active {
  transform: scale(0.97);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.5);
}
.wd-tech-capsule:disabled {
  opacity: 0.5;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

/* 提现记录列表 */
.wd-tech-history {
  margin: 10px 16px;
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.wd-tech-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wd-tech-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.wd-tech-row:last-child { border-bottom: none; }
.wd-tech-info { flex: 1; min-width: 0; }
.wd-tech-info b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.wd-tech-info span {
  display: block;
  font-size: 12px;
  color: #7f9bb8;
  margin-top: 1px;
}
.wd-tech-st {
  flex-shrink: 0;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.wd-tech-st.st-warn {
  color: #ffd859;
  background: rgba(255, 216, 89, 0.12);
  border: 1px solid rgba(255, 216, 89, 0.25);
}
.wd-tech-st.st-ok {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.25);
}
.wd-tech-st.st-bad {
  color: #ff5a5a;
  background: rgba(255, 90, 90, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.25);
}
.wd-tech-rej {
  padding: 10px 12px;
  margin: 6px 0;
  border-radius: 10px;
  background: rgba(255, 90, 90, 0.06);
  border: 1px solid rgba(255, 90, 90, 0.15);
  color: #ff8a8a;
  font-size: 12px;
}

/* 提现规则条目 */
.wd-tech-rule {
  padding: 10px 0;
  font-size: 13px;
  color: #9ab0cc;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.04);
}
.wd-tech-rule:last-child { border-bottom: none; }
.wd-tech-rule::before {
  content: '· ';
  color: var(--neon-cyan);
}

/* ============================================================
 * v2.14.5 修复层：声音按钮迁移 + 评论区 + 分享窗 + 红包 +
 * 个人主页 + VIP 按钮 + 分销二维码 + 提现扫光 —— 科技感统一
 * ============================================================ */

/* ---------- 声音按钮：从卡片角落迁移到右侧操作列（分享下方） ---------- */
.op-item.op-sound {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.op-item.op-sound .op-ico {
  font-size: 26px;
  line-height: 1;
  transition: transform var(--transition-smooth), filter var(--transition-smooth);
}
.op-item.op-sound:active .op-ico {
  transform: scale(0.88);
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
}

/* ---------- 首页评论区弹层（此前 CSS 缺失，表情面板常显、发送按钮竖排） ---------- */
.comment-sheet {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(3, 8, 20, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1400;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.comment-sheet.show {
  opacity: 1;
  visibility: visible;
}
.comment-sheet-box {
  width: 100%;
  max-height: 74vh;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 20px 20px 0 0;
  background: rgba(10, 16, 34, 0.94) !important;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border-glow);
  border-bottom: none;
  box-shadow: 0 -12px 40px rgba(0, 212, 255, 0.12);
  color: var(--text-primary);
}
.comment-sheet-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(96, 160, 255, 0.18);
  position: relative;
}
.comment-sheet-head .comment-sheet-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: linear-gradient(90deg, #00d4ff, #ff2d75, #ffd859, #00d4ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-text 3s linear infinite;
  margin: 0 8px;
}
.comment-sheet-head .comment-sheet-count {
  font-size: 10px;
  color: var(--text-secondary);
}
.comment-sheet-head .sheet-close {
  position: absolute;
  right: 14px;
}
.comment-sheet-head .sheet-close {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}
.comment-sheet .comment-list {
  flex: 1;
  overflow-y: auto;
  max-height: calc(74vh - 130px);
  padding: 12px 16px;
  background: transparent !important;
}
.comment-sheet .comment-row { display: flex; margin-bottom: 8px; }
.comment-sheet .comment-row img {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
}
.comment-sheet .comment-row .c-body {
  flex: 1;
  display: block;
}
/* 评论字号整体缩小，契合页面对齐 */
.comment-sheet .comment-row .c-nick {   font-size: 11px; line-height: 20px; display: flex; align-items: center; gap: 6px; background: linear-gradient(90deg, #00d4ff, #ff2d75, #ffd859, #00d4ff); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: rainbow-text 3s linear infinite; }
.comment-sheet .comment-row .c-nick-link { cursor: pointer; }
.comment-sheet .comment-row .c-nick-link:hover { opacity: 0.8; }
.comment-sheet .comment-row .c-text { font-size: 11.5px; }
.comment-sheet .comment-row .c-time { font-size: 9px; }
.comment-sheet .comment-input-bar {
  background: rgba(12, 20, 44, 0.9);
  padding: 10px 16px;
  border-top: 1px solid var(--border-glow);
}
.comment-sheet .comment-input-bar input {
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08) !important;
}
/* 发送按钮：横排文字胶囊（覆盖圆形按钮规则） */
.comment-input-bar .comment-emoji {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1) !important;
  border: 1px solid var(--border-glow) !important;
  box-shadow: none !important;
  font-size: 16px;
  cursor: pointer;
  flex: none;
}
.comment-input-bar .comment-send {
  width: auto !important;
  height: 34px !important;
  min-width: 68px;
  padding: 0 18px;
  border-radius: 20px !important;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35) !important;
  border: none !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
}
.comment-input-bar .comment-send:active {
  transform: scale(0.96);
}
/* 表情面板：默认收起，点开后在输入栏上方以胶囊网格展示 */
.comment-sheet .emoji-panel {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  width: min(92vw, 340px);
  max-height: 180px;
  overflow-y: auto;
  background: rgba(14, 22, 46, 0.96);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px;
  z-index: 60;
}
.comment-sheet .emoji-panel.open {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
}
.comment-sheet .emoji-panel span {
  font-size: 17px;
  text-align: center;
  padding: 5px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.comment-sheet .emoji-panel span:hover {
  background: rgba(0, 212, 255, 0.15);
}
.comment-sheet .emoji-panel::-webkit-scrollbar { width: 4px; }

/* ---------- 分享面板：科技感毛玻璃窗口，字号缩小整齐统一 ---------- */
.dy-share-host {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  background: rgba(3, 8, 20, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1450;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.dy-share-host.show {
  opacity: 1;
  visibility: visible;
}
.dy-share-sheet {
  width: 100%;
  border-radius: 20px 20px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 16, 34, 0.94) !important;
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border-glow);
  border-bottom: none;
  box-shadow: 0 -12px 40px rgba(0, 212, 255, 0.12);
}
.dy-share-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 2px 40px 12px 2px;
  border-bottom: 1px solid rgba(96, 160, 255, 0.15);
}
.dy-share-title {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 6px;
  background: linear-gradient(90deg, #00d4ff, #ff2d75, #ffd859, #00d4ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-text 3s linear infinite;
}
.dy-share-sub {
  font-size: 11px;
  color: var(--text-secondary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dy-share-head .sheet-close {
  position: absolute;
  top: 0; right: 0;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
}
.dy-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 0 6px;
}
.dy-share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 6px 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(96, 160, 255, 0.1);
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.dy-share-item:active {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.4);
  transform: scale(0.96);
}
.dy-share-ico {
  font-size: 24px;
  font-style: normal;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.dy-share-item em {
  font-size: 11px;
  font-style: normal;
  color: var(--text-secondary);
}
.dy-share-cancel {
  width: 100%;
  height: 42px;
  margin-top: 10px;
  border-radius: 24px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.28);
  color: var(--neon-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}
.dy-share-cancel:active {
  background: rgba(0, 212, 255, 0.16);
  transform: scale(0.98);
}

/* ---------- 私聊 / 群聊发红包：布局修复 + 发送按钮胶囊化 ---------- */
.chat-rp-form {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 12px 4px 4px;
  border-top: 1px solid rgba(96, 160, 255, 0.15);
  margin-top: 4px;
}
.chat-rp-form input,
.chat-rp-form select {
  border-radius: 14px;
}
.chat-rp-send {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff8a5c, #ff4d6d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(255, 77, 109, 0.35);
  transition: all var(--transition-smooth);
}
.chat-rp-send:active {
  transform: scale(0.97);
  box-shadow: 0 0 26px rgba(255, 77, 109, 0.55);
}
#chatGridMenu,
#gcGridMenu {
  width: 230px;
  background: rgba(12, 20, 42, 0.96) !important;
  border: 1px solid var(--border-glow) !important;
  border-radius: 16px !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow) !important;
}
#chatGridMenu .chat-grid-item,
#gcGridMenu .chat-grid-item {
  border-radius: 11px;
  font-size: 13.5px;
  padding: 11px 12px;
}
#chatGridMenu .chat-grid-item:active,
#gcGridMenu .chat-grid-item:active {
  background: rgba(0, 212, 255, 0.14);
}

/* ---------- 个人主页（群聊/私聊点头像进入）：布局修复 + 头像合理 + 胶囊信息 ---------- */
.u-home {
  padding: 0 0 24px;
}
.u-home-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(96, 160, 255, 0.1);
}
.u-h-avatar {
  width: 92px !important;
  height: 92px !important;
  border-radius: 26px !important;
  object-fit: cover;
  border: 2px solid var(--border-glow);
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.25);
  flex: none;
}
.u-h-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.u-h-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
}
.u-h-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(96, 160, 255, 0.12);
  border-radius: 12px;
  padding: 6px 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.u-h-acts {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.u-h-acts .btn-main,
.u-h-acts .btn-ghost {
  padding: 8px 18px;
  border-radius: 22px !important;
  font-size: 12.5px;
}
.u-h-stats {
  display: flex;
  justify-content: space-around;
  padding: 12px 16px;
  margin: 12px 16px 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(96, 160, 255, 0.12);
  border-radius: 16px;
}
.u-h-stats span {
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(96, 160, 255, 0.15);
  border-radius: 14px;
  padding: 6px 14px;
}
.u-home-videos .grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 12px 0;
}
.u-home-videos .g-cell {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #0a1020;
  border: 1px solid rgba(96, 160, 255, 0.1);
}
.u-home-videos .g-cell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.u-home-videos .g-cell span {
  position: absolute;
  left: 6px; bottom: 6px;
  font-size: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 8px;
  padding: 2px 7px;
}

/* ---------- VIP 会员页：积分购买居中 + 支付胶囊按钮移出卡片下方 ---------- */
.vip-act-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 8px;
}
.vip-capsule {
  height: 44px;
  padding: 0 28px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
}
.vip-capsule-main {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.4);
}
.vip-capsule-main:active {
  transform: scale(0.96);
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.6);
}
.vip-capsule-ghost {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.35) !important;
  color: var(--neon-cyan);
}
.vip-capsule-ghost:active {
  background: rgba(0, 212, 255, 0.16);
  transform: scale(0.96);
}
.vip-plans-x .rp-pts {
  margin-top: 5px;
  font-size: 11px;
  color: #ffd859;
}

/* ---------- 三级分销推广页：科技感布局 + 按 UID 自动生成的二维码 ---------- */
.dist-tech {
  position: relative;
  margin: 14px;
  padding: 20px 16px;
  border-radius: 22px;
  background: rgba(10, 16, 34, 0.7);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.dc-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
  pointer-events: none;
}
.dc-o1 { width: 150px; height: 150px; top: -50px; right: -40px; }
.dc-o2 { width: 90px; height: 90px; bottom: -30px; left: -20px; }
.dc-o3 { width: 56px; height: 56px; top: 40%; left: 12%; }
.dist-head { text-align: center; margin-bottom: 16px; }
.dist-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dist-rate {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.dist-rate b {
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 11px;
}
.dist-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 4px 0 12px;
}
.dist-qr-frame {
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  padding: 9px;
  box-shadow: 0 0 26px rgba(0, 212, 255, 0.28);
}
.dist-qr-img {
  display: block;
  width: 150px !important;
  height: 150px !important;
  border-radius: 8px;
}
.dist-qr-tip {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}
.dist-qr-fallback {
  font-size: 11px;
  color: #5d6c80;
  padding: 8px;
  text-align: center;
}
.dist-domain {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px 12px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(96, 160, 255, 0.14);
  border-radius: 12px;
  word-break: break-all;
}
.dist-actions-row {
  display: flex;
  gap: 8px;
}
.dist-actions-row .inv-btn {
  flex: 1;
  height: 40px;
  padding: 0 10px;
  border-radius: 22px !important;
  font-size: 12.5px;
  white-space: nowrap;
}
.dist-block-title {
  margin: 14px 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  padding-left: 10px;
  border-left: 3px solid var(--neon-cyan);
}
.dist-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(96, 160, 255, 0.1);
  border-radius: 14px;
}
.dist-user img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
}
.dist-user span {
  flex: 1;
  font-size: 13px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dist-user em {
  font-size: 11px;
  color: var(--text-secondary);
  font-style: normal;
}
.dist-team,
.dist-comm {
  padding: 4px 14px 10px;
}

/* ---------- 提现页：胶囊按钮扫光动画 + 渐变发光增强 ---------- */
.wd-tech-capsule {
  position: relative;
  overflow: hidden;
}
.wd-tech-capsule::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-22deg);
  animation: wdShimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wdShimmer {
  0% { left: -80%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

/* ---------- 发布视频页：此前 CSS 缺失导致白底与无样式，统一样式为科技玻璃 ---------- */
.upload-page {
  padding-bottom: 30px;
}
.up-title {
  margin: 14px 16px 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.up-card {
  margin: 0 16px;
  padding: 16px;
  border-radius: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}
.up-video-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 14px;
  border: 1.5px dashed rgba(0, 212, 255, 0.35);
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.04);
  cursor: pointer;
  transition: all var(--transition-smooth);
  color: var(--text-secondary);
}
.up-video-pick:active {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--neon-cyan);
}
.up-video-pick .up-icon { font-size: 34px; }
.up-video-pick .up-text { font-size: 13px; }
.up-hint {
  margin-top: 4px;
  font-size: 11px;
  color: #ffd859;
  text-align: center;
}
.up-field {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(96, 160, 255, 0.12);
  border-radius: 14px;
}
.up-field > label:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.5px;
}
.up-field .form-in,
.up-field input.form-in,
.up-field textarea.form-in,
.up-field select.form-in {
  width: 100%;
  background: rgba(10, 16, 34, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 13.5px;
}
.up-field .form-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
  outline: none;
}
/* 推广商品下拉：商品标题很长时，原生 select 会把选中文本绘制到卡片外，
   挤压/遮挡「发布视频」按钮。这里做硬约束（父级裁剪 + 自身省略）。 */
.up-field {
  overflow: hidden;
}
.up-field select.form-in {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  /* 原生下拉在部分内核（X5 / 安卓 WebView / iOS）下会忽略自定义背景，
     退化成系统白底，而文字色继承 --text-primary（浅色）→ 白底浅字，选项不可见。
     这里关掉原生外观、显式给深色背景，并把箭头画成背景图。 */
  -webkit-appearance: none;
  appearance: none;
  background-color: #0e1830;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb3d9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px 14px;
  padding-right: 34px;
  color: var(--text-primary);
}

/* 下拉展开项：统一用浅底深字。
   即便某些内核忽略这里的 background（回退成系统白底），深色文字在白底上依然可见，
   不会再出现「白底白字看不到商品」。 */
select.form-in option {
  background-color: #f7f9fc;
  color: #1a1a1a;
}
select.form-in option:checked {
  background-color: #dfe9f5;
  color: #0b1a2b;
}
/* 选中商品的价格与佣金：从 option 文本里剥离出来单独展示 */
.up-goods-meta {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--neon-cyan);
  letter-spacing: 0.2px;
  word-break: break-all;
}
.up-goods-meta:empty {
  display: none;
}
.up-field .up-cover-row { display: flex; align-items: center; gap: 8px; }
.up-field .up-cover-row .btn-ghost {
  border-radius: 18px !important;
  font-size: 12.5px;
}
.upload-page .btn-main.big {
  width: 100%;
  margin-top: 16px;
  height: 46px;
  border-radius: 24px !important;
  font-size: 15px;
  letter-spacing: 2px;
}
.up-form-tip,
.upload-page .form-tip {
  margin: 10px 4px 0;
  font-size: 11.5px;
  color: var(--text-secondary);
  text-align: center;
}

/* 商品选择胶囊：支持多行换行，价格小字科技化 */
.upload-page .wd-tech-chs {
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.upload-page .wd-tech-ch {
  flex: 1 1 calc(50% - 8px);
  min-width: 0;
  margin: 0;
  border-radius: 14px;
}
.wd-tech-ch-name small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  opacity: 0.78;
  color: #9ab0cc;
  width: 100%;
  text-align: center;
}

/* ============================================================
 * v2.14.6 缺失样式大补齐：sub-page / sub-nav / fixed-head /
 * 游戏中心 / 作品&历史&点赞列表 / 观看记录管理栏
 * ============================================================ */

/* ---------- 页面容器：统一子页面布局 ---------- */
.sub-page {
  min-height: 100vh;
  padding-bottom: 30px;
}

/* ---------- 统一返回栏（Dy.backBar → .sub-nav） ---------- */
.sub-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.95), rgba(5, 8, 17, 0.9));
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.sub-nav .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 20px;
  cursor: pointer;
  justify-self: start;
}
.sub-nav .sub-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: center;
  justify-self: center;
}
.sub-nav .sub-right {
  justify-self: end;
}

/* ---------- 固定头部（商城等有复杂顶部的页面） ---------- */
.fixed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.95), rgba(5, 8, 17, 0.9));
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.fixed-head .back-btn { order: 0; }
.fixed-head .page-title { order: 1; text-align: center; }
.fixed-head .cart-head-btn { order: 2; }
.fixed-head .back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
}
.fixed-head .page-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fixed-head .head-btn {
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  position: relative;
}
/* 顶部购物车按钮 */
.fixed-head .cart-head-btn {
  position: relative;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  border: none;
  cursor: pointer;
}
.fixed-head .cart-head-btn .fcart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b5c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(255, 59, 92, 0.6);
  z-index: 5;
}

/* ---------- 游戏中心 ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 16px 16px;
}
.game-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-smooth);
  overflow: hidden;
}
.game-card:active {
  transform: scale(0.98);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.3);
}
.gm-ico-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gm-ico-wrap img.gm-ico {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gm-ico-fallback {
  font-size: 28px;
}
.gm-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gm-body b {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.gm-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.gm-play {
  font-size: 12px;
  color: var(--neon-cyan);
  font-weight: 600;
  margin-top: 2px;
}
.gm-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.gm-tag.new {
  background: linear-gradient(135deg, #00d4ff, #0088ff);
  color: #fff;
}
.gm-tag.hot {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  color: #fff;
}
.gm-tag.rec {
  background: linear-gradient(135deg, #ffd859, #ffb347);
  color: #1a0a00;
}

/* ---------- 作品 / 点赞收藏 / 观看记录 统一列表 ---------- */
.wkBody, .lcBody, .hist-list {
  padding: 0 16px;
}
.wk-row, .vs-row, .hist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(96, 160, 255, 0.08);
}
.wk-row video, .hist-row video {
  width: 80px;
  height: 112px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a1020;
}
.vs-row img {
  width: 80px;
  height: 112px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a1020;
}
.wk-info, .vs-row > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wk-info b, .vs-row b {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.wk-st {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}
.wk-st.ok { background: rgba(0, 212, 255, 0.12); color: var(--neon-cyan); }
.wk-st.warn { background: rgba(255, 216, 89, 0.15); color: #ffd859; }
.wk-st.bad { background: rgba(255, 77, 109, 0.15); color: #ff4d6d; }
.wk-time, .vs-row span {
  font-size: 11px;
  color: var(--text-secondary);
}
.wk-del, .wk-edit, .vs-del {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.wk-del {
  background: rgba(255, 77, 109, 0.15);
  color: #ff4d6d;
}
.wk-edit {
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon-cyan);
}
.vs-del {
  background: rgba(255, 77, 109, 0.15);
  color: #ff4d6d;
}

/* ---------- 观看记录管理栏 ---------- */
.hist-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(10, 16, 34, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  z-index: 200;
}
.hist-bar-all {
  font-size: 13px;
  color: var(--neon-cyan);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
}
.hist-bar-all.on {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
}
.hist-bar-info {
  font-size: 12px;
  color: var(--text-secondary);
}
.hist-bar-del {
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  color: #fff;
  border: none;
  cursor: pointer;
}
.hist-bar-del.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.hist-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
}
.hist-check.on {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
}

/* ---------- 点赞收藏 / 观看记录 等简单列表（视频缩略图 + 文字） ---------- */
.video-simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.video-simple-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(96, 160, 255, 0.08);
}
.video-simple-list li img {
  width: 80px;
  height: 112px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a1020;
}
.video-simple-list li > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.video-simple-list li b {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.video-simple-list li span {
  font-size: 11px;
  color: var(--text-secondary);
}
.video-simple-list li button {
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   v2.14.7 第 4 轮 UI/交互修复段（追加于科技风重写版）
   覆盖：发布胶囊/编辑主页/顶部导航/订单分类/私聊布局/
   账号主页/登录弹层/商城搜索避让/全局返回钮/关注加号
   ============================================================ */

/* ---- T1/T2/T7 全局按钮基础（重写版丢失，补回胶囊风格） ---- */
.btn-main,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn-main { color: #fff; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)); box-shadow: 0 0 14px rgba(0, 212, 255, 0.35); }
.btn-ghost { color: var(--neon-cyan); background: rgba(0, 212, 255, 0.07); border: 1px solid rgba(0, 212, 255, 0.35); }
.btn-main:active, .btn-ghost:active { transform: scale(0.97); }
.btn-main.mini, .btn-ghost.mini { padding: 7px 16px; font-size: 12px; }
.btn-main.big, .btn-ghost.big { display: flex; width: 100%; padding: 13px 0; font-size: 15px; }
.u-h-acts .btn-main { border-radius: 22px !important; }

/* ---- T1 发布视频：封面选择 + 发布按钮真正胶囊 ---- */
.up-field .up-cover-row .btn-ghost { border-radius: 999px !important; }
.upload-page .btn-main.big { border-radius: 999px !important; }

/* ---- T7 登录弹层：立即登录/暂不登录 横排胶囊 ---- */
.login-acts { display: flex; gap: 12px; margin-top: 8px; }
.login-acts .btn-main, .login-acts .btn-ghost { flex: 1; padding: 12px 8px; }

/* ---- T3/T8 首页顶部容器与商城 Tab：导航/搜索互不遮挡 ---- */
.app-topbar { position: relative; z-index: 120; width: 100%; }
.app-topbar .home-tabs { position: sticky; top: 0; z-index: 120; width: 100%; justify-content: center; }
.mall-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  position: sticky;
  top: 44px;
  z-index: 110;
  background: rgba(10, 14, 28, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(96, 160, 255, 0.12);
}
.mall-kw-in {
  flex: 1;
  min-width: 0;
  height: 34px;
  box-sizing: border-box;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 12.5px;
  outline: none;
}
.mall-kw-in::placeholder { color: var(--text-secondary); }
.mall-kw-btn {
  flex-shrink: 0;
  height: 34px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

/* ---- T4 我的订单：分类文字胶囊化 ---- */
.ord-state-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  background: rgba(10, 14, 28, 0.9);
  border-bottom: 0.5px solid rgba(96, 160, 255, 0.1);
  scrollbar-width: none;
}
.ord-state-bar::-webkit-scrollbar { display: none; }
.ostate {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  white-space: nowrap;
}
.ostate.on {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

/* ---- T2 编辑主页：头像 76px、性别胶囊、保存按钮 ---- */
.ep-avatar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ep-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
  background: #16203a;
  flex-shrink: 0;
}
.ep-avatar-name { font-size: 15px; font-weight: 600; }
.ep-genders { display: flex; gap: 10px; }
.ep-gender {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  font-family: inherit;
}
.ep-gender.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  color: #fff !important;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

/* ---- T9 全局固定返回按钮（S.render 注入，原样式缺失） ---- */
.back-btn-fixed {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 12px;
  z-index: 900;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  background: rgba(10, 16, 34, 0.72);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---- T5 私聊/群聊：整体布局 / 头像 / 气泡 / 操作下拉 / 表情面板 ---- */
.chat-page-light { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.chat-page-light.sub-page { padding: 0 !important; }
.chat-window-light {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-msgs-light {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 120px;
  -webkit-overflow-scrolling: touch;
}
.chat-msg-row { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 14px; }
.chat-msg-row .chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 212, 255, 0.3);
}
.chat-msg-content { max-width: 72%; min-width: 0; display: flex; flex-direction: column; }
.chat-msg-row.other .chat-msg-content { align-items: flex-start; }
.chat-msg-row.mine .chat-msg-content { align-items: flex-end; }
.chat-msg-row.mine { flex-direction: row-reverse; }
.chat-meta { font-size: 10px; color: var(--text-secondary); margin-top: 4px; display: flex; gap: 6px; align-items: center; }
.chat-msg-content .chat-bubble { min-width: 0; word-break: break-word; }
.chat-input-bar-light {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  background: linear-gradient(0deg, rgba(5, 8, 17, 0.98), rgba(8, 12, 26, 0.94)) !important;
  border-top: 1px solid var(--border-glow) !important;
}
.chat-input-bar-light .chat-input-light {
  flex: 1; min-width: 0; box-sizing: border-box; height: 40px;
  background: rgba(0, 212, 255, 0.08) !important;
  border: 1px solid rgba(0, 212, 255, 0.35) !important;
  border-radius: 999px !important;
  color: var(--text-primary) !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
}
.chat-input-bar-light .chat-input-light:focus {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.3) !important;
  outline: none !important;
}
.chat-input-bar-light button {
  background: none;
  border: none;
  font-size: 18px;
  padding: 7px 6px;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
  color: var(--neon-cyan) !important;
}
.chat-input-bar-light .chat-send-light {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 600;
}
/* 语音按钮：撑到 40×40 触摸目标，避免和表情/加号挤在一起点不到或误触
   （按钮太小 + 紧邻是「按住说话没反应」的常见 UI 原因） */
.chat-input-bar-light .chat-voice-btn-light,
.gc-input-bar #gcVoiceBtn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px !important;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
.chat-input-bar-light .chat-voice-btn-light:active,
.gc-input-bar #gcVoiceBtn:active {
  background: rgba(0, 212, 255, 0.18) !important;
}
/* 拉黑/举报/删除 -> 顶部 ⋮ 下拉菜单 */
.chat-actions-float {
  position: fixed;
  top: 58px;
  right: 10px;
  z-index: 130;
  min-width: 150px;
  padding: 6px;
  background: rgba(10, 16, 34, 0.97);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  display: none;
  flex-direction: column;
  gap: 2px;
}
.chat-actions-float.open { display: flex; }
.chat-actions-float button {
  width: 100%;
  padding: 10px 12px;
  font-size: 12.5px;
  text-align: left;
  background: none;
  border: none;
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.chat-actions-float button:active { background: rgba(0, 212, 255, 0.12); }
/* 表情 / 附件面板（配合既有科技风背景，补定位与网格） */
.chat-emoji-panel {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: none;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  max-height: 224px;
  overflow-y: auto;
  padding: 10px;
}
.chat-emoji-panel.open { display: grid; }
.chat-emoji-item {
  font-size: 22px;
  text-align: center;
  padding: 6px 2px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.chat-emoji-item:active { background: rgba(0, 212, 255, 0.15); }
.chat-attach-sheet {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: none;
  padding: 12px;
}
.chat-attach-sheet.open { display: block; }
.chat-attach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chat-attach-item { text-align: center; font-size: 12px; color: var(--text-secondary); padding: 10px 4px; border-radius: 12px; background: rgba(0, 212, 255, 0.05); cursor: pointer; }
.chat-attach-item b { display: block; font-size: 22px; margin-bottom: 4px; }
/* 私聊头部：头像移到昵称前成组 */
.chat-head-single .chat-peer-avatar {
  margin-left: 0 !important;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 212, 255, 0.35);
}
.chat-head-single .chat-peer-name {
  flex: 0 1 auto !important;
  text-align: left !important;
  padding-left: 9px;
  color: #fff;
}
.chat-head-single .chat-more-btn { margin-left: auto !important; }

/* ---- T6 账号主页：头像 76px、资料统计胶囊 ---- */
.u-h-avatar {
  width: 76px !important;
  height: 76px !important;
  border-radius: 20px !important;
}
.u-h-stats span {
  font-size: 12px !important;
  color: var(--text-primary) !important;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(140, 100, 255, 0.12)) !important;
  border: 1px solid rgba(0, 212, 255, 0.28) !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
}

/* ---- T10 首页右侧关注 + 号：尺寸贴近头像 ---- */
.follow-mini {
  width: 22px !important;
  height: 22px !important;
  font-size: 15px !important;
  line-height: 22px !important;
  bottom: -6px !important;
  border-width: 2px !important;
}

/* ============================================================
 * v2.14.8 补丁段 — 礼物胶囊 / 上传页交互 / 选品窗 / 消息菜单 / 标题居中
 * ============================================================ */

/* ---------- 礼物面板：积分胶囊（T2） ---------- */
.gift-bal {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px 2px;
  font-size: 13px;
}
.gift-bal-l { color: #9fb4cc; }
.gift-pts-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(155,89,182,0.25));
  border: 1px solid rgba(0,212,255,0.3);
  color: #ffd859;
  font-weight: 700;
  font-size: 12px;
  text-shadow: 0 0 6px rgba(255,216,89,0.4);
  white-space: nowrap;
}
.gift-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(155,89,182,0.15));
  border: 1px solid rgba(0,212,255,0.25);
  color: #00d4ff;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

/* ---------- 发布视频标题居中（T7） ---------- */
.up-title { text-align: center; }

/* ---------- 发布视频页面底部不被遮挡（T8） ---------- */
.upload-page { padding-bottom: 80px; }

/* ---------- 推广商品选品窗口：固定+内部滚动+缩略图（T9） ---------- */
.upload-goods-select {
  margin-top: 8px;
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  background: var(--bg-glass);
  overflow: hidden;
}
.ug-s-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0,212,255,0.06);
  border-bottom: 1px solid var(--border-glow);
  font-size: 13px;
  font-weight: 600;
}
.ug-s-count { font-size: 11px; color: #9fb4cc; font-weight: 400; }
.ug-s-list {
  max-height: 240px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
}
.ug-s-list::-webkit-scrollbar { width: 4px; }
.ug-s-list::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.3); border-radius: 4px; }
.ug-s-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s;
  border: 1.5px solid transparent;
}
.ug-s-item:hover, .ug-s-item:active { background: rgba(0,212,255,0.05); }
.ug-s-item.active {
  background: rgba(0,212,255,0.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0,212,255,0.15);
}
.ug-s-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.ug-s-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.ug-s-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ug-s-info { flex: 1; min-width: 0; }
.ug-s-info b {
  display: block;
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ug-s-info small { display: block; font-size: 11px; color: #ffd859; margin-top: 3px; opacity: .85; }

/* ---------- 消息中心右上角菜单（T11） ---------- */
.head-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 10;
}
.msg-add-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 10px;
  min-width: 150px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  border-radius: 14px;
  padding: 8px 0;
  z-index: 200;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all .25s;
}
.msg-add-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.msg-menu-item {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color .25s;
  white-space: nowrap;
}
.msg-menu-item:hover, .msg-menu-item:active { background: rgba(0, 212, 255, 0.08); }

/* ---------- 好友页标题居中（T10） ---------- */
.fixed-head .page-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
.fixed-head { overflow: visible !important; }

/* ---------- 登录弹层按钮横排胶囊（T12-回归） ---------- */
.login-acts { display: flex; gap: 12px; margin-top: 8px; }
.login-acts .btn-main, .login-acts .btn-ghost { flex: 1; padding: 12px 8px; }

/* ============================================================
 * 抖音商城重构 · 科技感主题（商品详情页 / 购物车 / 列表增强）
 * ============================================================ */
/* ---------- 列表卡片增强 ---------- */
.goods-cell { position: relative; }
.goods-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.35), rgba(138, 43, 226, 0.25), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.gc-cover { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; }
.gc-cover .g-cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--transition-smooth); }
.goods-cell:active .gc-cover .g-cover { transform: scale(1.06); }
.g-type-tag {
  position: absolute; left: 8px; top: 8px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
  z-index: 2;
}
.g-type-tag.hot {
  background: linear-gradient(135deg, #ff2d55, #ff9500);
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
}
.gc-sales {
  position: absolute; right: 6px; bottom: 6px;
  font-size: 10px; color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 2px 7px;
  border-radius: 99px;
  z-index: 2;
}
.gc-shop {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--text-secondary);
  padding: 0 12px 12px;
  margin-top: -6px;
}
.gc-shop-ic { font-size: 12px; }
.goods-cell .g-price { position: relative; z-index: 1; }

/* ---------- 商品详情页 ---------- */
.dd-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #05070d;
  overflow: hidden;
}
.dd-swiper-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dd-swiper-track::-webkit-scrollbar { display: none; }
.dd-swiper-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
}
.dd-swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
.dd-swiper-count {
  position: absolute; right: 12px; bottom: 12px;
  padding: 3px 10px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  z-index: 3;
}
.dd-swiper-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 5px;
  z-index: 3;
}
.dd-swiper-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all .3s;
}
.dd-swiper-dots i.on {
  width: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}
.dd-info {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  margin: 12px 14px;
  padding: 16px;
  box-shadow: var(--shadow-glow);
}
.dd-price-row { display: flex; align-items: baseline; gap: 8px; }
.dd-price-row .gd-price {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dd-price-row .gd-old { color: var(--text-secondary); font-size: 13px; }
.dd-type {
  margin-left: auto;
  font-size: 11px;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 99px;
  padding: 2px 9px;
  background: rgba(0, 212, 255, 0.07);
  flex-shrink: 0;
}
.dd-info .gd-name { margin-top: 8px; font-size: 17px; line-height: 1.35; }
.dd-info .gd-meta { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gd-meta .stock-tag { color: #53f3c0; font-size: 12px; }
/* 店铺卡片 */
.dd-shop {
  display: flex; align-items: center; gap: 12px;
  margin: 0 14px 12px;
  padding: 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  box-shadow: var(--shadow-glow);
}
.dd-shop-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.dd-shop-info { flex: 1; min-width: 0; }
.dd-shop-name {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dd-shop-meta { font-size: 11px; color: var(--text-secondary); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.dd-shop-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}
/* 规格行 */
.dd-spec-row {
  display: flex; align-items: center;
  margin: 0 14px 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}
.dd-spec-row-inner { display: flex; align-items: center; width: 100%; }
.dd-spec-label { font-size: 12px; color: var(--text-secondary); flex-shrink: 0; }
.dd-spec-val { flex: 1; text-align: right; font-size: 13px; color: var(--neon-cyan); }
.dd-spec-arrow { margin-left: 6px; color: var(--text-secondary); font-size: 15px; }
/* 区块 */
.dd-block {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  margin: 0 14px 12px;
  padding: 16px;
  box-shadow: var(--shadow-glow);
}
.dd-desc-block { padding-bottom: 20px; }
.dd-block-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.dd-block-title span { font-weight: 400; }
.dd-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.dd-params .dd-param-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 0.5px dashed rgba(0, 212, 255, 0.12);
}
.dd-param-row span { color: var(--text-secondary); flex-shrink: 0; }
.dd-param-row b { color: var(--text-primary); font-weight: 500; text-align: right; }
/* 推荐商品 */
.dd-rec { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dd-rec::-webkit-scrollbar { display: none; }
.dd-rec-item {
  flex: 0 0 104px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(0, 212, 255, 0.15);
}
.dd-rec-item img { width: 104px; height: 104px; object-fit: cover; display: block; }
.dd-rec-name {
  font-size: 11px; color: var(--text-primary);
  padding: 6px 6px 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dd-rec-price {
  font-size: 13px; font-weight: 800;
  padding: 2px 6px 8px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* 评价 */
.dd-no-rev { font-size: 12px; color: var(--text-secondary); text-align: center; padding: 18px 0; }
.dd-stars { font-style: normal; color: #ffd859; font-size: 12px; letter-spacing: 1px; }

/* ============================================================
 * 抖音商城重构 · 科技感主题（商品详情页 / 购物车 / 列表增强）
 * ============================================================ */
/* ---------- 列表卡片增强 ---------- */
.goods-cell { position: relative; }
.goods-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.35), rgba(138, 43, 226, 0.25), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.gc-cover { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; }
.gc-cover .g-cover { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--transition-smooth); }
.goods-cell:active .gc-cover .g-cover { transform: scale(1.06); }
.g-type-tag {
  position: absolute; left: 8px; top: 8px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
  z-index: 2;
}
.g-type-tag.hot {
  background: linear-gradient(135deg, #ff2d55, #ff9500);
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.5);
}
.gc-sales {
  position: absolute; right: 6px; bottom: 6px;
  font-size: 10px; color: #fff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  padding: 2px 7px;
  border-radius: 99px;
  z-index: 2;
}
.gc-shop {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--text-secondary);
  padding: 0 12px 12px;
  margin-top: -6px;
}
.gc-shop-ic { font-size: 12px; }
.goods-cell .g-price { position: relative; z-index: 1; }

/* ---------- 商品详情页 ---------- */
.dd-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #05070d;
  overflow: hidden;
}
.dd-swiper-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dd-swiper-track::-webkit-scrollbar { display: none; }
.dd-swiper-slide {
  flex: 0 0 100%;
  height: 100%;
  scroll-snap-align: center;
  display: flex; align-items: center; justify-content: center;
}
.dd-swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
.dd-swiper-count {
  position: absolute; right: 12px; bottom: 12px;
  padding: 3px 10px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  z-index: 3;
}
.dd-swiper-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 5px;
  z-index: 3;
}
.dd-swiper-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: all .3s;
}
.dd-swiper-dots i.on {
  width: 16px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}
.dd-info {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  margin: 12px 14px;
  padding: 16px;
  box-shadow: var(--shadow-glow);
}
.dd-price-row { display: flex; align-items: baseline; gap: 8px; }
.dd-price-row .gd-price {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dd-price-row .gd-old { color: var(--text-secondary); font-size: 13px; }
.dd-type {
  margin-left: auto;
  font-size: 11px;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 99px;
  padding: 2px 9px;
  background: rgba(0, 212, 255, 0.07);
  flex-shrink: 0;
}
.dd-info .gd-name { margin-top: 8px; font-size: 17px; line-height: 1.35; }
.dd-info .gd-meta { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gd-meta .stock-tag { color: #53f3c0; font-size: 12px; }
/* 店铺卡片 */
.dd-shop {
  display: flex; align-items: center; gap: 12px;
  margin: 0 14px 12px;
  padding: 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  box-shadow: var(--shadow-glow);
}
.dd-shop-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.dd-shop-info { flex: 1; min-width: 0; }
.dd-shop-name {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dd-shop-meta { font-size: 11px; color: var(--text-secondary); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.dd-shop-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}
/* 规格行 */
.dd-spec-row {
  display: flex; align-items: center;
  margin: 0 14px 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}
.dd-spec-row-inner { display: flex; align-items: center; width: 100%; }
.dd-spec-label { font-size: 12px; color: var(--text-secondary); flex-shrink: 0; }
.dd-spec-val { flex: 1; text-align: right; font-size: 13px; color: var(--neon-cyan); }
.dd-spec-arrow { margin-left: 6px; color: var(--text-secondary); font-size: 15px; }
/* 区块 */
.dd-block {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  margin: 0 14px 12px;
  padding: 16px;
  box-shadow: var(--shadow-glow);
}
.dd-desc-block { padding-bottom: 20px; }
.dd-block-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.dd-block-title span { font-weight: 400; }
.dd-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.dd-params .dd-param-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 0.5px dashed rgba(0, 212, 255, 0.12);
}
.dd-param-row span { color: var(--text-secondary); flex-shrink: 0; }
.dd-param-row b { color: var(--text-primary); font-weight: 500; text-align: right; }
/* 推荐商品 */
.dd-rec { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dd-rec::-webkit-scrollbar { display: none; }
.dd-rec-item {
  flex: 0 0 104px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(0, 212, 255, 0.15);
}
.dd-rec-item img { width: 104px; height: 104px; object-fit: cover; display: block; }
.dd-rec-name {
  font-size: 11px; color: var(--text-primary);
  padding: 6px 6px 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dd-rec-price {
  font-size: 13px; font-weight: 800;
  padding: 2px 6px 8px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* 评价 */
.dd-no-rev { font-size: 12px; color: var(--text-secondary); text-align: center; padding: 18px 0; }
.dd-stars { font-style: normal; color: #ffd859; font-size: 12px; letter-spacing: 1px; }
.dd-review { display: flex; gap: 10px; padding: 12px 0; border-bottom: 0.5px dashed rgba(0, 212, 255, 0.1); }
.dd-review:last-child { border-bottom: none; }
.dd-rv-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.3);
  flex-shrink: 0;
}
.dd-rv-main { flex: 1; min-width: 0; }
.dd-rv-head { display: flex; align-items: center; justify-content: space-between; }
.dd-rv-head span { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.dd-rv-head i { font-style: normal; color: #ffd859; font-size: 11px; }
.dd-rv-content { font-size: 13px; color: var(--text-secondary); margin-top: 5px; line-height: 1.6; }
.dd-rv-time { font-size: 11px; color: var(--text-secondary); opacity: .6; margin-top: 5px; }
/* 底部悬浮购买栏 */
.dd-buybar {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(54px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.94), rgba(2, 4, 10, 0.98));
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  z-index: 100;
}
.dd-bar-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--text-primary);
  font-size: 10px;
  position: relative;
  padding: 2px 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.dd-bar-badge {
  position: absolute; top: -6px; right: -2px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  font-size: 10px;
  font-style: normal;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-pink), #ff2d55);
  box-shadow: 0 0 8px rgba(255, 45, 85, 0.6);
  align-items: center; justify-content: center;
  font-weight: 700;
}
.dd-add-cart, .dd-buy-now {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.dd-add-cart {
  background: linear-gradient(135deg, #2b3a67, #45348c);
  box-shadow: 0 0 14px rgba(69, 52, 140, 0.4);
}
.dd-buy-now {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
}
.dd-add-cart.disabled, .dd-buy-now.disabled { opacity: .4; pointer-events: none; }
.dd-add-cart.big, .dd-buy-now.big { border-radius: 14px; }
/* 店铺图标叠层 */
.dd-shop-avatar-wrap { position: relative; display: inline-block; }
.dd-shop-icon { position: absolute; bottom: -2px; right: -2px; width: 18px; height: 18px; background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; box-shadow: 0 0 8px rgba(0,212,255,.3); }
/* 底部弹层 sheet */
.dd-sheet-mask {
  position: fixed; inset: 0;
  background: rgba(2, 4, 10, 0.7);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: ddMaskIn .25s ease;
}
@keyframes ddMaskIn { from { opacity: 0; } to { opacity: 1; } }
.dd-sheet {
  width: 100%;
  max-width: 520px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0b1022 0%, #070a17 100%);
  border: 1px solid var(--border-glow);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 60px rgba(0, 212, 255, 0.15);
  animation: ddSheetUp .3s var(--transition-smooth);
}
@keyframes ddSheetUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.dd-sheet-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px 10px;
  position: relative;
}
.dd-sheet-cover {
  width: 74px; height: 74px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.25);
  flex-shrink: 0;
}
.dd-sheet-price { flex: 1; }
.dd-sheet-price b {
  display: block;
  font-size: 21px; font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dd-sheet-price span { font-size: 11px; color: var(--text-secondary); }
.dd-sheet-close {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
}
.dd-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 18px 14px;
}
.dd-sheet-body.order { padding-top: 0; }
.dd-spec-group { margin-bottom: 14px; }
.dd-spec-gname { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.dd-spec-none { font-size: 12px; color: var(--text-secondary); padding: 6px 0 14px; }
.dd-spec-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.dd-spec-opt {
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all .2s;
}
.dd-spec-opt.on {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}
.dd-qty-ctrl {
  display: flex; align-items: center; gap: 14px;
  margin-top: 4px;
}
.dd-qty-ctrl button {
  width: 32px; height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.08);
  color: var(--neon-cyan);
  font-size: 16px;
  cursor: pointer;
}
.dd-qty-ctrl span { min-width: 28px; text-align: center; font-size: 15px; font-weight: 700; color: var(--text-primary); }
.dd-qty-ctrl.mini { gap: 8px; margin-top: 0; }
.dd-qty-ctrl.mini button { width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
.dd-qty-ctrl.mini span { min-width: 20px; font-size: 13px; }
/* ========== 结算弹窗底部栏（覆盖tabbar） ========== */
.dd-sheet-foot {
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 310;
}
/* 地址输入框在弹窗内的样式增强 */
.dd-sheet-body .form-in,
.dd-sheet-body input.form-in,
.dd-sheet-body textarea.form-in {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(10, 15, 30, 0.85);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: all .2s;
  margin-bottom: 8px;
}
.dd-sheet-body .form-in::placeholder {
  color: var(--text-secondary);
}
.dd-sheet-body .form-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
}
.pay-ch-row.big-row .pay-ch { flex: 1; }

/* ---------- 购物车页 ---------- */
.cart-page { padding-bottom: 110px; }
/* 清空按钮固定在顶部右侧 */
#cartClearAll {
  margin-left: auto;
}
.cart-list { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
}
.cb-box { flex-shrink: 0; display: flex; }
.cb-box input, .cb-all input { accent-color: var(--neon-cyan); width: 17px; height: 17px; }
.cart-cover {
  width: 70px; height: 70px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.2);
  flex-shrink: 0;
}
.cart-info { flex: 1; min-width: 0; }
.cart-title {
  font-size: 13px; font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-spec {
  font-size: 11px;
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.07);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cart-mid { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-price {
  font-size: 16px; font-weight: 800;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cart-ops {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
  font-size: 11px; color: var(--text-secondary);
}
.cart-del {
  border: none;
  background: rgba(255, 45, 85, 0.1);
  color: #ff6b8b;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 99px;
  cursor: pointer;
}
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 0; color: var(--text-secondary); }
.cart-empty p { font-size: 14px; margin: 0; }
/* 底部结算栏 */
.cart-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(54px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(5, 8, 17, 0.94), rgba(2, 4, 10, 0.98));
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  z-index: 100;
}
.cb-all { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-primary); flex-shrink: 0; }
.cb-total { flex: 1; text-align: right; font-size: 12px; color: var(--text-secondary); }
.cb-total b {
  font-size: 17px; font-weight: 900;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cart-bar .dd-buy-now.big { max-width: 150px; }

/* 订单页补充（科技感卡片） */
.ord-row {
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  margin: 0 14px 12px;
  padding: 14px;
}
.o-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-secondary); }
.o-state { color: var(--neon-cyan); font-weight: 600; }
.o-state.ok { color: #53f3c0; }
.o-mid { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; }
.o-mid img {
  width: 62px; height: 62px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 212, 255, 0.2);
  flex-shrink: 0;
}
.o-info { flex: 1; min-width: 0; }
.o-title { font-size: 13px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.o-sub { font-size: 11px; color: var(--text-secondary); margin-top: 4px; }
.o-price { flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--neon-cyan); text-align: right; }
.o-price i { display: block; font-style: normal; font-size: 11px; font-weight: 400; color: var(--text-secondary); }
.o-ship, .o-addr, .o-promo { font-size: 11px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; }
.o-promo { color: #ffd859; }
.o-return-tag { font-size: 11px; color: #ff9500; margin-top: 6px; }
.o-return-tag.bad { color: #ff4d6d; }
.o-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; justify-content: flex-end; }
.o-btn {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  border: 1px solid var(--border-glow);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  cursor: pointer;
}
.o-btn.main { background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple)); border-color: transparent; color: #fff; box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
.o-btn.bad { color: #ff6b8b; border-color: rgba(255, 45, 85, 0.3); }
/* ============================================================
 * v2.17 修复层：滚屏 / 暗黑弹窗 / 更多菜单 / 支付分色 /
 * 游戏标签 / 红包备注 / 商城自适应 / 编辑框样式
 * ============================================================ */

/* 1) 电脑端滚动条：scroll-page 为所有需要滚动的子页面统一补充 */
.scroll-page {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .scroll-page {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.3);
  }
  .scroll-page::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  .scroll-page::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
  }
  .scroll-page::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
  }
}

/* 2) 自定义 confirm / prompt 暗黑科技弹窗（替代被浏览器拦截的原生弹窗） */
.dy-confirm-overlay,
.dy-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: dyFadeIn .18s ease;
}
@keyframes dyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.dy-confirm-box,
.dy-prompt-box {
  width: min(320px, 86vw);
  background: linear-gradient(180deg, rgba(18, 26, 46, 0.98), rgba(6, 10, 22, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 20px 18px 16px;
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 212, 255, 0.12);
  animation: dyModalIn .2s ease;
}
@keyframes dyModalIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.dy-confirm-msg {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  text-align: center;
  white-space: pre-line;
  word-break: break-all;
  margin-bottom: 18px;
}
.dy-confirm-btns,
.dy-prompt-btns {
  display: flex;
  gap: 10px;
}
.dy-confirm-btn,
.dy-prompt-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
}
.dy-confirm-btn.dy-confirm-cancel,
.dy-prompt-btn.dy-prompt-cancel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}
.dy-confirm-btn.dy-confirm-ok,
.dy-prompt-btn.dy-prompt-ok {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}
.dy-confirm-btn:active, .dy-prompt-btn:active { transform: scale(.97); }
.dy-prompt-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.dy-prompt-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 16px;
  transition: all .2s ease;
}
.dy-prompt-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.dy-prompt-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* 3) VIP 标签：阻止父级渐变文字透明继承，保证文字可见 */
.vip-tag {
  -webkit-text-fill-color: #2a1a05;
}

/* 4) 列表视频缩略图不拦截点击事件（个人主页/我的作品/观看记录/点赞收藏） */
.u-home-videos .g-cell video,
.wk-row video,
.hist-row video,
.vs-row video {
  pointer-events: none;
}

/* 5) 个人中心"更多"下拉菜单（科技感暗黑主题） */
.me-more-tile { position: relative; cursor: pointer; }
.me-more-menu {
  position: fixed;
  right: 14px;
  top: 158px;
  width: 178px;
  padding: 8px 6px;
  background: linear-gradient(180deg, rgba(16, 22, 40, 0.98), rgba(5, 8, 17, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(16px);
  z-index: 400;
}
.me-more-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
}
.me-more-item:hover {
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon-cyan);
  box-shadow: inset 0 0 14px rgba(0, 212, 255, 0.08);
}

/* 6) 视频卡片关注按钮：已关注态可点击来回切换 */
.follow-mini.is-followed {
  background: rgba(0, 212, 255, 0.16);
  border: 1px solid rgba(0, 212, 255, 0.55);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25);
}

/* 7) 充值中心底部提示字体缩小 */
.rech-page .form-tip {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: .8;
  margin: 8px 14px 0;
  line-height: 1.5;
}

/* 8) 支付方式选择框区分颜色（支付宝青 / 微信绿） */
.pay-ch.wx-ch.active {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.35);
}

/* 9) 游戏卡片标签绝对定位到右上角 */
.game-card {
  position: relative;
}
.gm-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.35);
}
.gm-tag.new { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.gm-tag.hot { background: linear-gradient(135deg, #f7b731, #f0932b); color: #1a0a00; }
.gm-tag.rec { background: linear-gradient(135deg, #a55eea, #8854d0); }

/* 10) 红包/转账留言在卡片中的样式 */
.rp-msg {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  opacity: .78;
  margin-top: 3px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rp-done .rp-msg { text-decoration: line-through; opacity: .4; }

/* 11) 编辑作品弹框：输入控件统一科技感暗黑 */
.modal-box .form-in {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  transition: all .2s ease;
}
.modal-box .form-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25);
  outline: none;
}
.modal-box .form-in::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* 收货地址弹窗：省/市/区三列并排，详细地址与输入框撑满 */
.addr-form { display: flex; flex-direction: column; gap: 10px; }
.addr-form .form-in { width: 100%; box-sizing: border-box; }
.addr-form textarea.form-in { resize: vertical; min-height: 56px; }
.addr-prov-row {
  display: flex;
  gap: 8px;
}
.addr-prov-row .form-in { flex: 1; min-width: 0; }
.addr-def-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.addr-def-row input[type="checkbox"] { accent-color: var(--neon-cyan); }

/* 12) 发布商品表单卡片科技化升级 */
.form-card {
  background: rgba(16, 22, 40, 0.65);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 16px;
  margin: 0 14px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.f-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.f-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.f-row .form-in,
.f-row input.form-in,
.f-row textarea.form-in,
.f-row select.form-in {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  transition: all .2s ease;
}
.f-row .form-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
  outline: none;
}
.f-row .form-in::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.f-row .seg-tabs {
  display: flex;
  gap: 8px;
}
.f-row .seg-tabs .seg {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s ease;
}
.f-row .seg-tabs .seg.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
/* 商品封面预览 */
.up-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}
.up-preview img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* 13) 商城 / 个人中心

/* ============================================================
 * v2.17 修复层：滚屏 / 暗黑弹窗 / 更多菜单 / 支付分色 /
 * 游戏标签 / 红包备注 / 商城自适应 / 编辑框样式
 * ============================================================ */

/* 1) 电脑端滚动条：scroll-page 为所有需要滚动的子页面统一补充 */
.scroll-page {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .scroll-page {
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) rgba(0, 0, 0, 0.3);
  }
  .scroll-page::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  .scroll-page::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
  }
  .scroll-page::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 3px;
  }
}

/* 2) 自定义 confirm / prompt 暗黑科技弹窗（替代被浏览器拦截的原生弹窗） */
.dy-confirm-overlay,
.dy-prompt-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: dyFadeIn .18s ease;
}
@keyframes dyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.dy-confirm-box,
.dy-prompt-box {
  width: min(320px, 86vw);
  background: linear-gradient(180deg, rgba(18, 26, 46, 0.98), rgba(6, 10, 22, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 20px 18px 16px;
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 212, 255, 0.12);
  animation: dyModalIn .2s ease;
}
@keyframes dyModalIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.dy-confirm-msg {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  text-align: center;
  white-space: pre-line;
  word-break: break-all;
  margin-bottom: 18px;
}
.dy-confirm-btns,
.dy-prompt-btns {
  display: flex;
  gap: 10px;
}
.dy-confirm-btn,
.dy-prompt-btn {
  flex: 1;
  padding: 10px 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
}
.dy-confirm-btn.dy-confirm-cancel,
.dy-prompt-btn.dy-prompt-cancel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
}
.dy-confirm-btn.dy-confirm-ok,
.dy-prompt-btn.dy-prompt-ok {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.35);
}
.dy-confirm-btn:active, .dy-prompt-btn:active { transform: scale(.97); }
.dy-prompt-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.dy-prompt-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 16px;
  transition: all .2s ease;
}
.dy-prompt-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
.dy-prompt-input::placeholder { color: rgba(255, 255, 255, 0.3); }

/* 3) VIP 标签：阻止父级渐变文字透明继承，保证文字可见 */
.vip-tag {
  -webkit-text-fill-color: #2a1a05;
}

/* 4) 列表视频缩略图不拦截点击事件（个人主页/我的作品/观看记录/点赞收藏） */
.u-home-videos .g-cell video,
.wk-row video,
.hist-row video,
.vs-row video {
  pointer-events: none;
}

/* 5) 个人中心"更多"下拉菜单（科技感暗黑主题） */
.me-more-tile { position: relative; cursor: pointer; }
.me-more-menu {
  position: fixed;
  right: 14px;
  top: 158px;
  width: 178px;
  padding: 8px 6px;
  background: linear-gradient(180deg, rgba(16, 22, 40, 0.98), rgba(5, 8, 17, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(16px);
  z-index: 400;
}
.me-more-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-primary);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s ease;
}
.me-more-item:hover {
  background: rgba(0, 212, 255, 0.12);
  color: var(--neon-cyan);
  box-shadow: inset 0 0 14px rgba(0, 212, 255, 0.08);
}

/* 6) 视频卡片关注按钮：已关注态可点击来回切换 */
.follow-mini.is-followed {
  background: rgba(0, 212, 255, 0.16);
  border: 1px solid rgba(0, 212, 255, 0.55);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25);
}

/* 7) 充值中心底部提示字体缩小 */
.rech-page .form-tip {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: .8;
  margin: 8px 14px 0;
  line-height: 1.5;
}

/* 8) 支付方式选择框区分颜色（支付宝青 / 微信绿） */
.pay-ch.wx-ch.active {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.35);
}

/* 9) 游戏卡片标签绝对定位到右上角 */
.game-card {
  position: relative;
}
.gm-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.35);
}
.gm-tag.new { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.gm-tag.hot { background: linear-gradient(135deg, #f7b731, #f0932b); color: #1a0a00; }
.gm-tag.rec { background: linear-gradient(135deg, #a55eea, #8854d0); }

/* 10) 红包/转账留言在卡片中的样式 */
.rp-msg {
  display: block;
  font-size: 10px;
  color: var(--text-secondary);
  opacity: .78;
  margin-top: 3px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rp-done .rp-msg { text-decoration: line-through; opacity: .4; }

/* 11) 编辑作品弹框：输入控件统一科技感暗黑 */
.modal-box .form-in {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  transition: all .2s ease;
}
.modal-box .form-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25);
  outline: none;
}
.modal-box .form-in::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* 12) 发布商品表单卡片科技化升级 */
.form-card {
  background: rgba(16, 22, 40, 0.65);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 16px;
  margin: 0 14px 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.f-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.f-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.f-row .form-in,
.f-row input.form-in,
.f-row textarea.form-in,
.f-row select.form-in {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  transition: all .2s ease;
}
.f-row .form-in:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.2);
  outline: none;
}
.f-row .form-in::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.f-row .seg-tabs {
  display: flex;
  gap: 8px;
}
.f-row .seg-tabs .seg {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s ease;
}
.f-row .seg-tabs .seg.active {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}
/* 商品封面预览 */
.up-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}
.up-preview img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* 13) 商城 / 个人中心 / 商品详情：电脑端居中自适应 + 商品网格3列 + 底部购买栏同宽 */
@media (min-width: 900px) {
  .mall-page, .me-page, .gd-page {
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 0 44px rgba(0, 212, 255, 0.1);
    border-left: 1px solid var(--border-glow);
    border-right: 1px solid var(--border-glow);
    min-height: 92vh;
  }
  .mall-body .goods-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dd-buybar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 720px;
    border-left: 1px solid var(--border-glow);
    border-right: 1px solid var(--border-glow);
    border-radius: 14px 14px 0 0;
  }
}

/* 14) 商品详情页底部购买栏留白，避免内容被遮挡 */
.gd-page {
  padding-bottom: 96px;
}

/* ---------- 评论区互动按钮（点赞/鄙视/回复） ---------- */
.c-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  align-items: center;
}
.c-like-btn, .c-dislike-btn, .c-reply-btn {
  font-size: 10px;
  color: #888;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.c-like-btn:hover, .c-like-btn.active { color: #ff4757; }
.c-dislike-btn:hover, .c-dislike-btn.active { color: #5352ed; }
.c-reply-btn:hover { color: #1e90ff; }

/* ---------- 回复列表 ---------- */
.c-replies {
  margin-top: 8px;
  padding-left: 8px;
  border-left: 2px solid rgba(96, 160, 255, 0.25);
}
.c-reply-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
  align-items: flex-start;
}
.c-reply-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
}
.c-reply-body { flex: 1; }
.c-reply-nick { font-size: 10px; font-weight: 600; color: #aaa; line-height: 16px; }
.c-reply-text { font-size: 11px; color: #ccc; margin-top: 2px; line-height: 1.4; }
.c-reply-actions {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}
.c-reply-actions .c-like-btn {
  font-size: 10px;
}

/* ---------- 回复输入栏 ---------- */
.c-reply-input-bar {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 0;
  border-top: 1px solid rgba(96, 160, 255, 0.12);
}
.c-reply-input-bar input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(96, 160, 255, 0.2);
  border-radius: 16px;
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  outline: none;
}
.c-reply-input-bar input::placeholder { color: #666; }
.c-reply-input-bar button {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 14px;
  padding: 4px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.c-reply-input-bar button:active { transform: scale(0.95); }

/* 暗黑模式适配 */
.dark .c-like-btn:hover, .dark .c-like-btn.active { color: #ff6b81; }
.dark .c-dislike-btn:hover, .dark .c-dislike-btn.active { color: #686de0; }
.dark .c-reply-btn:hover { color: #74b9ff; }
.dark .c-reply-input-bar input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(96, 160, 255, 0.15);
}

/* ---------- 发起群聊 ---------- */
.chat-create {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  min-height: 0;
  height: calc(100vh - 70px); /* 撑满视口剩余空间，保证好友列表可滚动 */
}
.chat-create-name {
  background: var(--bg-glass);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 12px 14px;
}
.chat-create-name .chat-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}
.chat-create-name .chat-input::placeholder { color: var(--text-secondary); }
.chat-create-tip {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0 2px;
}
.chat-create-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  border: 1px solid var(--border-glow);
  border-radius: 14px;
  background: var(--bg-glass);
  padding: 8px;
}
.chat-create-list .gc-friend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.chat-create-list .gc-friend:hover {
  background: rgba(0, 212, 255, 0.07);
}
.chat-create-list .gc-friend.sel {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.chat-create-list .gc-friend .gc-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
}
.chat-create-list .gc-friend .gc-check {
  font-size: 18px;
  color: var(--neon-cyan);
  width: 28px;
  text-align: center;
}
.chat-create-btn {
  align-self: stretch;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.chat-create-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.15);
}

/* ================= 编辑主页·修改密码 ================= */
.ep-divider {
  height: 1px;
  background: rgba(0, 212, 255, 0.15);
  margin: 18px 0 12px;
}
.ep-pwd-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-bottom: 12px;
}
.ep-card .up-field input[type="password"] {
  letter-spacing: 1px;
}

/* ================= ks-player 全屏视频播放器 ================= */
/* 个人主页 / 我的作品 / 观看记录 / 点赞收藏 / 私聊 / 群聊 点击视频共用弹层 */
.ks-player {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  background: #000;
}
.ks-player-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  flex-shrink: 0;
}
.ks-player-top .ks-back {
  font-size: 28px;
  line-height: 1;
  color: #fff;
  padding: 2px 10px 2px 2px;
  cursor: pointer;
}
.ks-player-title {
  flex: 1;
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ks-player-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}
.ks-player-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
/* 480px 桌面窄容器同样全屏覆盖播放 */
@media (min-width: 768px) {
  .ks-player {
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  }
}

/* ============================================================
 * v2.21 首页图标升级（SVG 线性图标）+ 微信风格语音消息
 * ============================================================ */

/* ---------- 底部导航 SVG 图标 ---------- */
.tab-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
.tab-icon svg { width: 24px; height: 24px; display: block; }
.tab-item.active .tab-icon svg { filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.55)); }
.post-icon svg { width: 18px; height: 18px; display: block; }

/* ---------- 首页右侧操作栏 SVG 图标 ---------- */
.op-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  font-size: 0; /* 兼容：不再使用文本字形 */
}
.op-ico svg { width: 30px; height: 30px; display: block; }
.op-item.liked .op-ico { color: #fe2c55; }
.op-item.collected .op-ico { color: #ffd119; }
.op-item .op-ico { transition: transform 0.15s ease, color 0.15s ease; }
.op-item:active .op-ico { transform: scale(0.86); }

/* ---------- 微信风格语音消息（波形气泡） ---------- */
.voice-msg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  min-width: 92px;
  padding: 3px 2px;
  -webkit-tap-highlight-color: transparent;
}
.voice-msg .voice-waves {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 20px;
  flex-shrink: 0;
}
.voice-msg .voice-waves i {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
  transform-origin: center bottom;
}
.voice-msg .voice-dur {
  font-size: 12.5px;
  font-style: normal;
  opacity: 0.8;
  min-width: 24px;
  white-space: nowrap;
}
.voice-msg .voice-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fe2c55;
  flex-shrink: 0;
  display: none;
  box-shadow: 0 0 6px rgba(254, 44, 85, 0.7);
}
.voice-msg.unplayed .voice-dot { display: block; }
/* 播放中：波形依次弹跳 */
.voice-msg.playing .voice-waves i { animation: voiceWave 0.85s ease-in-out infinite; }
.voice-msg.playing .voice-waves i:nth-child(1)  { animation-delay: 0s; }
.voice-msg.playing .voice-waves i:nth-child(2)  { animation-delay: 0.08s; }
.voice-msg.playing .voice-waves i:nth-child(3)  { animation-delay: 0.16s; }
.voice-msg.playing .voice-waves i:nth-child(4)  { animation-delay: 0.24s; }
.voice-msg.playing .voice-waves i:nth-child(5)  { animation-delay: 0.32s; }
.voice-msg.playing .voice-waves i:nth-child(6)  { animation-delay: 0.4s; }
.voice-msg.playing .voice-waves i:nth-child(7)  { animation-delay: 0.48s; }
.voice-msg.playing .voice-waves i:nth-child(8)  { animation-delay: 0.56s; }
.voice-msg.playing .voice-waves i:nth-child(9)  { animation-delay: 0.64s; }
.voice-msg.playing .voice-waves i:nth-child(10) { animation-delay: 0.72s; }
.voice-msg.playing .voice-waves i:nth-child(11) { animation-delay: 0.8s; }
.voice-msg.playing .voice-waves i:nth-child(12) { animation-delay: 0.88s; }
.voice-msg.playing .voice-waves i:nth-child(13) { animation-delay: 0.96s; }
.voice-msg.playing .voice-waves i:nth-child(14) { animation-delay: 1.04s; }
@keyframes voiceWave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
  50%      { transform: scaleY(1.5);  opacity: 1; }
}
/* 自己的语音消息：波形与时长右对齐，红点在另一侧 */
.chat-msg-row.mine .voice-msg { flex-direction: row-reverse; }
/* 语音气泡不要默认气泡内边距撑得过大 */
.chat-bubble .voice-msg { line-height: 1; }

/* ---------- 录音中遮罩（按住说话，仿微信） ---------- */
.voice-rec-mask {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.voice-rec-mask.show { display: flex; }
.voice-rec-box {
  min-width: 176px;
  padding: 24px 28px 18px;
  border-radius: 18px;
  background: rgba(12, 18, 38, 0.96);
  border: 1px solid var(--border-glow, rgba(0, 212, 255, 0.3));
  text-align: center;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
  transition: border-color 0.15s ease;
}
.voice-rec-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin-bottom: 14px;
}
.voice-rec-icon span {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, #25f4ee, #4f8bff);
  animation: recBar 0.9s ease-in-out infinite;
}
.voice-rec-icon span:nth-child(1) { height: 14px; animation-delay: 0s; }
.voice-rec-icon span:nth-child(2) { height: 26px; animation-delay: 0.12s; }
.voice-rec-icon span:nth-child(3) { height: 34px; animation-delay: 0.24s; }
.voice-rec-icon span:nth-child(4) { height: 22px; animation-delay: 0.36s; }
@keyframes recBar {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1); }
}
.voice-rec-tip { font-size: 13.5px; color: #e8eefc; font-weight: 600; }
.voice-rec-time { font-size: 12px; color: #93a3c4; margin-top: 6px; font-variant-numeric: tabular-nums; }
.voice-rec-mask.cancel .voice-rec-box { border-color: rgba(254, 44, 85, 0.65); }
.voice-rec-mask.cancel .voice-rec-icon span { background: linear-gradient(180deg, #ff7a90, #fe2c55); }
.voice-rec-mask.cancel .voice-rec-tip { color: #ff8299; }

/* 录音失败说明面板：toast 一闪而过看不清，长文案用面板承载 */
.voice-err-mask {
  position: fixed;
  inset: 0;
  z-index: 4100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.voice-err-mask.show { display: flex; }
.voice-err-box {
  width: 100%;
  max-width: 310px;
  padding: 20px 18px 16px;
  border-radius: 16px;
  background: rgba(12, 18, 38, 0.97);
  border: 1px solid rgba(254, 44, 85, 0.42);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.6);
  text-align: left;
  box-sizing: border-box;
}
.voice-err-title {
  font-size: 15px;
  font-weight: 700;
  color: #ff8299;
  margin-bottom: 8px;
}
.voice-err-msg {
  font-size: 13.5px;
  line-height: 1.6;
  color: #e8eefc;
  word-break: break-word;
}
.voice-err-diag {
  margin-top: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
  color: #93a3c4;
  word-break: break-all;
  -webkit-user-select: all;
  user-select: all;
}
.voice-err-btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 10px 0;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #25f4ee, #4f8bff);
  color: #04121f;
  font-size: 14px;
  font-weight: 700;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* ============================================================
 * 充值中心 · 科技风重设计（rch-*）
 * ============================================================ */
.rch-page { padding-bottom: 28px; }

/* ---- Hero 余额卡 ---- */
.rch-hero {
  position: relative;
  margin: 14px 14px 4px;
  padding: 22px 20px 18px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(0, 212, 255, 0.22), transparent 55%),
    radial-gradient(100% 90% at 8% 100%, rgba(155, 89, 182, 0.28), transparent 60%),
    linear-gradient(160deg, #101a33 0%, #070b18 70%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(0, 212, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* 网格底纹 */
.rch-hero .rch-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
/* 扫描线 */
.rch-hero .rch-scan {
  position: absolute; left: 0; right: 0; top: -40%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.14), transparent);
  animation: rchScan 4.5s linear infinite;
  pointer-events: none;
}
@keyframes rchScan {
  0%   { transform: translateY(0); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateY(340%); opacity: 0; }
}
.rch-hero-top {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
}
.rch-hero-label {
  font-size: 10px; letter-spacing: 3.5px;
  color: rgba(0, 212, 255, 0.75);
  font-weight: 700;
}
.rch-hero-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600;
  color: #9ef0ff;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.rch-hero-chip .rch-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #25f4ee;
  box-shadow: 0 0 8px #25f4ee;
  animation: rchBlink 1.6s ease-in-out infinite;
}
@keyframes rchBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.rch-hero-num {
  position: relative;
  margin-top: 10px;
  display: flex; align-items: baseline; gap: 8px;
}
.rch-hero-num b {
  font-size: 42px; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 20%, #7ee7ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.45));
}
.rch-hero-num i {
  font-style: normal; font-size: 12px; font-weight: 600;
  color: rgba(232, 244, 255, 0.55); letter-spacing: 2px;
}
.rch-hero-sub {
  position: relative;
  margin-top: 10px;
  font-size: 11px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.rch-hero-sub::before {
  content: ''; width: 14px; height: 1px;
  background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

/* ---- 分区标题 ---- */
.rch-sec {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 20px 16px 10px;
}
.rch-sec-t {
  position: relative;
  font-size: 15px; font-weight: 800; color: var(--text-primary);
  padding-left: 12px; letter-spacing: 0.5px;
}
.rch-sec-t::before {
  content: ''; position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
.rch-sec-x { font-size: 10.5px; color: rgba(255, 216, 89, 0.85); letter-spacing: 1px; }

/* ---- 套餐卡片 ---- */
.rch-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 14px;
}
.rch-plan {
  position: relative;
  padding: 16px 12px 14px;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(18, 28, 58, 0.72), rgba(8, 12, 26, 0.85));
  border: 1px solid rgba(0, 212, 255, 0.16);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-smooth);
  overflow: hidden;
}
/* 四角科技括号 */
.rch-plan::before,
.rch-plan::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  pointer-events: none;
  transition: all var(--transition-smooth);
}
.rch-plan::before {
  top: 7px; left: 7px;
  border-top: 2px solid rgba(0, 212, 255, 0.5);
  border-left: 2px solid rgba(0, 212, 255, 0.5);
  border-top-left-radius: 4px;
}
.rch-plan::after {
  bottom: 7px; right: 7px;
  border-bottom: 2px solid rgba(0, 212, 255, 0.5);
  border-right: 2px solid rgba(0, 212, 255, 0.5);
  border-bottom-right-radius: 4px;
}
.rch-plan.active {
  border-color: var(--neon-cyan);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.14), rgba(155, 89, 182, 0.12));
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.28), inset 0 0 18px rgba(0, 212, 255, 0.06);
  transform: translateY(-2px);
}
.rch-plan.active::before,
.rch-plan.active::after { width: 20px; height: 20px; border-color: var(--neon-cyan); }
.rch-plan.hot { border-color: rgba(255, 45, 117, 0.4); }
.rch-hot-tag {
  position: absolute; top: 0; right: 0;
  font-size: 9px; font-weight: 700; color: #fff;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 0 16px 0 10px;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  box-shadow: 0 0 12px rgba(255, 45, 117, 0.45);
}
.rch-p-name {
  font-size: 13px; font-weight: 700; color: var(--text-primary);
  letter-spacing: 0.5px;
}
.rch-p-pts {
  margin-top: 8px;
  font-size: 26px; font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, #fff, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.35));
}
.rch-p-pts i {
  font-style: normal; font-size: 10px; font-weight: 600;
  margin-left: 3px; letter-spacing: 1px;
  -webkit-text-fill-color: rgba(232, 244, 255, 0.5);
}
.rch-p-pts em {
  display: inline-block;
  font-style: normal; font-size: 10px; font-weight: 700;
  color: #ffd859;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 216, 89, 0.12);
  border: 1px solid rgba(255, 216, 89, 0.35);
  vertical-align: 4px;
}
.rch-p-price {
  margin-top: 8px;
  font-size: 15px; font-weight: 800; color: #ff9db8;
  text-shadow: 0 0 14px rgba(255, 45, 117, 0.35);
}
.rch-plan.hot .rch-p-price { color: #ffb3c7; }
.rch-p-avg { margin-top: 4px; font-size: 10px; color: var(--text-secondary); }
.rch-p-check {
  position: absolute; top: 8px; left: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #04121b;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
  opacity: 0; transform: scale(0.4);
  transition: all var(--transition-smooth);
}
.rch-plan.active .rch-p-check { opacity: 1; transform: scale(1); }

/* ---- 支付方式 ---- */
.rch-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 14px;
}
.rch-ch {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 12px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  background: linear-gradient(160deg, rgba(18, 28, 58, 0.72), rgba(8, 12, 26, 0.85));
  border: 1px solid rgba(0, 212, 255, 0.16);
  transition: all var(--transition-smooth);
}
.rch-ch.active {
  border-color: var(--neon-cyan);
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.13), rgba(45, 125, 255, 0.08));
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
}
.rch-pay-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; }
.rch-ch-info { flex: 1; min-width: 0; }
.rch-ch-info b { display: block; font-size: 13.5px; font-weight: 700; color: var(--text-primary); }
.rch-ch-info span { display: block; font-size: 10px; color: var(--text-secondary); margin-top: 2px; }
.rch-ch-ck {
  position: absolute; top: 8px; right: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-style: normal; font-weight: 800; color: #04121b;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.55);
  opacity: 0; transform: scale(0.4);
  transition: all var(--transition-smooth);
}
.rch-ch.active .rch-ch-ck { opacity: 1; transform: scale(1); }

/* ---- 底部确认按钮 ---- */
.rch-pay-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: calc(100% - 28px);
  margin: 20px 14px 0;
  padding: 15px 0;
  border: none; border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-blue) 55%, var(--neon-purple) 100%);
  background-size: 160% 160%;
  box-shadow: 0 8px 26px rgba(0, 212, 255, 0.35), 0 0 20px rgba(45, 125, 255, 0.25);
  transition: all var(--transition-smooth);
  animation: rchBtnGlow 3.2s ease-in-out infinite;
}
@keyframes rchBtnGlow {
  0%, 100% { box-shadow: 0 8px 26px rgba(0, 212, 255, 0.3), 0 0 16px rgba(45, 125, 255, 0.2); }
  50%      { box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5), 0 0 28px rgba(155, 89, 182, 0.35); }
}
.rch-pay-btn:active { transform: scale(0.97); }
.rch-pay-btn:disabled { opacity: 0.6; pointer-events: none; }
.rch-pay-t { font-size: 15px; font-weight: 800; letter-spacing: 2px; }
.rch-pay-amt { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rch-pay-btn .rch-pay-t::after {
  content: '|'; margin-left: 10px; opacity: 0.35; font-weight: 400;
}

/* ---- 流程说明 ---- */
.rch-notes {
  margin: 18px 14px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.04);
  border: 1px dashed rgba(0, 212, 255, 0.22);
}
.rch-note-t {
  font-size: 12px; font-weight: 700; color: var(--neon-cyan);
  letter-spacing: 2px; margin-bottom: 8px;
}
.rch-note-row {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; color: var(--text-secondary);
  padding: 4px 0;
}
.rch-note-row i {
  width: 16px; height: 16px; flex: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 9.5px; font-weight: 800;
  color: var(--neon-cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.35);
}
.rch-note-tip {
  margin: 8px 0 0;
  font-size: 10.5px; line-height: 1.6;
  color: rgba(127, 155, 184, 0.75);
}

/* ---------- 消息提示音开关（个人中心设置） ---------- */
.me-menu .menu-row .sound-switch {
  position: relative;
  width: 46px; height: 26px;
  flex: none;
  border-radius: 999px;
  background: rgba(127, 155, 184, 0.22);
  border: 1px solid rgba(0, 212, 255, 0.22);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
.me-menu .menu-row .sound-switch i {
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #8fa8c4;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.me-menu .menu-row .sound-switch.on {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
  border-color: transparent;
  box-shadow: 0 0 14px rgba(0, 212, 255, 0.45);
}
.me-menu .menu-row .sound-switch.on i {
  left: 22px;
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* ============================================================
 * v3.0 深空极光 · 高端大气科技风（追加式覆盖层）
 * 原则：仅追加覆盖，不改动既有规则；不触碰 rch-* 充值页；
 *       不重命名/删除任何 class 与 id，JS 钩子 100% 保留。
 * ============================================================ */
:root {
  /* v3 深空极光令牌 */
  --v3-bg-0: #03060e;
  --v3-bg-1: #070c18;
  --v3-bg-2: #0b1224;
  --v3-ice: #6ee7ff;
  --v3-cyan: #22d3ee;
  --v3-blue: #3b82f6;
  --v3-violet: #8b5cf6;
  --v3-magenta: #e946c3;
  --v3-gold: #fbbf24;
  --v3-text: #eaf2ff;
  --v3-text-dim: #8ba3c0;
  --v3-line: rgba(110, 231, 255, 0.16);
  --v3-line-strong: rgba(110, 231, 255, 0.38);
  --v3-glass: linear-gradient(165deg, rgba(20, 32, 64, 0.66), rgba(7, 12, 24, 0.82));
  --v3-glass-hi: linear-gradient(165deg, rgba(34, 52, 96, 0.78), rgba(10, 16, 34, 0.88));
  --v3-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(110, 231, 255, 0.05);
  --v3-glow-cyan: 0 0 24px rgba(34, 211, 238, 0.28);
  --v3-spring: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  --v3-aurora-1: rgba(34, 211, 238, 0.14);
  --v3-aurora-2: rgba(139, 92, 246, 0.13);
  --v3-aurora-3: rgba(233, 70, 195, 0.08);
}

/* ---------- 1. 深空环境：极光 + 星野 + 网格（纯装饰，pointer-events:none） ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -5%, var(--v3-aurora-1), transparent 60%),
    radial-gradient(800px 620px at -12% 28%, var(--v3-aurora-2), transparent 62%),
    radial-gradient(1000px 700px at 50% 112%, var(--v3-aurora-3), transparent 60%),
    radial-gradient(2px 2px at 12% 18%, rgba(255, 255, 255, 0.5), transparent 100%),
    radial-gradient(1.5px 1.5px at 32% 8%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1.5px 1.5px at 58% 22%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(2px 2px at 78% 12%, rgba(255, 255, 255, 0.45), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 32%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1.5px 1.5px at 22% 44%, rgba(255, 255, 255, 0.28), transparent 100%),
    radial-gradient(2px 2px at 46% 62%, rgba(255, 255, 255, 0.32), transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 78%, rgba(255, 255, 255, 0.26), transparent 100%),
    radial-gradient(1.5px 1.5px at 8% 88%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(2px 2px at 92% 66%, rgba(255, 255, 255, 0.3), transparent 100%);
  animation: v3-star-twinkle 6s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(110, 231, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 231, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 75%);
}
@keyframes v3-star-twinkle {
  from { opacity: 0.75; }
  to   { opacity: 1; }
}
/* 内容层级：上方 body::before/::after 装饰已改为 z-index:-1 置底，内容自然位于其之上。
   注意：.app-view/.app-tabbar/.login-mask/.dy-toast/各类弹层 原生均为 position:fixed，
   此处只补 z-index，【绝不能覆盖 position】——历史上曾在此误设 position:relative，
   破坏固定定位导致底部导航消失、登录遮罩/toast/确认弹窗全部错位。 */
.app-tabbar { z-index: 900; }
.login-mask { z-index: 940; }
.dy-toast { z-index: 950; }
.dy-confirm-overlay, .dy-prompt-overlay { z-index: 3000; }

/* ---------- 2. 玻璃面板再进化：内高光 + 分层描边 + 柔光晕 ---------- */
.glass-panel {
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  border-radius: 18px;
  box-shadow:
    var(--v3-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 24px rgba(34, 211, 238, 0.03);
  overflow: hidden;
}
.neon-border {
  border: 1px solid var(--v3-line-strong);
  box-shadow: var(--v3-shadow), var(--v3-glow-cyan);
}

/* ---------- 3. 按钮：极光渐变 + 高光扫过 + 悬浮光晕 ---------- */
.btn-main {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 52%, #8b5cf6 100%);
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 20px rgba(34, 211, 238, 0.28),
    0 2px 6px rgba(59, 130, 246, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform var(--v3-spring), box-shadow 0.3s ease, filter 0.3s ease;
}
.btn-main::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-main:hover {
  filter: brightness(1.08);
  box-shadow:
    0 8px 28px rgba(34, 211, 238, 0.4),
    0 4px 12px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-main:hover::after { left: 120%; }
.btn-main:active { transform: scale(0.96); }
.btn-ghost {
  color: var(--v3-ice);
  background: linear-gradient(165deg, rgba(34, 211, 238, 0.1), rgba(59, 130, 246, 0.06));
  border: 1px solid var(--v3-line-strong);
  border-radius: 14px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--v3-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.btn-ghost:hover {
  border-color: rgba(110, 231, 255, 0.6);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.btn-ghost:active { transform: scale(0.96); }

/* ---------- 4. 返回栏 / 固定头：磨砂冰玻璃 + 底部极光描边 ---------- */
.sub-nav,
.fixed-head {
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.88), rgba(7, 12, 24, 0.92));
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid var(--v3-line);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(110, 231, 255, 0.08);
}
.sub-nav::after,
.fixed-head::after {
  content: '';
  position: absolute;
  left: 8%; right: 8%; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--v3-cyan), transparent);
  opacity: 0.55;
}
.sub-nav .back-btn,
.fixed-head .back-btn,
.back-btn-fixed {
  background: linear-gradient(165deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.08));
  border: 1px solid var(--v3-line-strong);
  color: var(--v3-ice);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform var(--v3-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.sub-nav .back-btn:hover,
.fixed-head .back-btn:hover,
.back-btn-fixed:hover {
  border-color: rgba(110, 231, 255, 0.65);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.sub-nav .back-btn:active,
.fixed-head .back-btn:active,
.back-btn-fixed:active { transform: scale(0.9); }
.back-btn-fixed {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 120;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sub-nav .sub-title,
.fixed-head .page-title {
  background: linear-gradient(100deg, #ffffff 5%, var(--v3-ice) 45%, var(--v3-violet) 95%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v3-title-flow 5s linear infinite;
  letter-spacing: 1px;
}
@keyframes v3-title-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- 5. 底部 Tabbar：磨砂 + 激活光晕 + 中央按钮能量环 ---------- */
.app-tabbar {
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.9), rgba(3, 6, 14, 0.97));
  backdrop-filter: blur(22px) saturate(1.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.7);
  border-top: 1px solid var(--v3-line);
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(110, 231, 255, 0.06);
}
.app-tabbar::before {
  content: '';
  position: absolute;
  left: 10%; right: 10%; top: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}
.tab-item { transition: color 0.25s ease, transform var(--v3-spring); }
.tab-item:active { transform: scale(0.92); }
.tab-item.active {
  color: var(--v3-ice);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.65);
}
.tab-item.active .tab-icon {
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
  transform: translateY(-1px);
}
.tab-item.active .tab-label { font-weight: 600; }
.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 18px; height: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}
.post-icon {
  background: linear-gradient(135deg, #25f4ee, #3b82f6 55%, #8b5cf6);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform var(--v3-spring), box-shadow 0.3s ease;
}
.tab-post:active .post-icon { transform: scale(0.88) rotate(90deg); }
.tab-badge {
  background: linear-gradient(135deg, #ff4d6d, #e946c3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(255, 77, 109, 0.55);
  font-weight: 600;
}

/* ---------- 6. Toast：冰玻璃 + 极光边 ---------- */
.dy-toast {
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.92), rgba(7, 12, 24, 0.95));
  border: 1px solid var(--v3-line-strong);
  border-radius: 14px;
  box-shadow: var(--v3-shadow), 0 0 24px rgba(34, 211, 238, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ---------- 7. 确认框 / 输入框：全息面板 + 弹簧入场 ---------- */
.dy-confirm-overlay,
.dy-prompt-overlay {
  background: rgba(2, 4, 10, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dy-confirm-box,
.dy-prompt-box {
  background: linear-gradient(165deg, rgba(22, 34, 68, 0.96), rgba(8, 13, 28, 0.98));
  border: 1px solid var(--v3-line-strong);
  border-radius: 20px;
  box-shadow:
    var(--v3-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 48px rgba(34, 211, 238, 0.1);
  animation: v3-dlg-in 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  position: relative;
}
.dy-confirm-box::before,
.dy-prompt-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet), var(--v3-magenta));
  opacity: 0.85;
}
@keyframes v3-dlg-in {
  from { transform: scale(0.82) translateY(14px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.dy-confirm-msg,
.dy-prompt-title {
  color: var(--v3-text);
  font-weight: 600;
  letter-spacing: 0.4px;
  line-height: 1.6;
}
.dy-confirm-btn.dy-confirm-ok,
.dy-prompt-ok {
  background: linear-gradient(135deg, #22d3ee, #3b82f6 55%, #8b5cf6);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.dy-confirm-btn.dy-confirm-ok:hover,
.dy-prompt-ok:hover { filter: brightness(1.1); }
.dy-confirm-btn.dy-confirm-ok:active,
.dy-prompt-ok:active { transform: scale(0.95); }
.dy-confirm-btn.dy-confirm-cancel,
.dy-prompt-cancel {
  background: rgba(139, 163, 192, 0.1);
  border: 1px solid rgba(139, 163, 192, 0.22);
  color: var(--v3-text-dim);
  border-radius: 12px;
  transition: transform var(--v3-spring), border-color 0.25s ease;
}
.dy-confirm-btn.dy-confirm-cancel:hover,
.dy-prompt-cancel:hover { border-color: rgba(139, 163, 192, 0.4); color: var(--v3-text); }
.dy-confirm-btn.dy-confirm-cancel:active,
.dy-prompt-cancel:active { transform: scale(0.95); }
.dy-prompt-input {
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  color: var(--v3-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.dy-prompt-input:focus {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14), 0 0 16px rgba(34, 211, 238, 0.18);
}

/* ---------- 8. Spinner：三环轨道 + 空状态星云 ---------- */
.dy-spinner { display: flex; gap: 8px; align-items: center; justify-content: center; }
.dy-spinner i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--v3-cyan), var(--v3-violet));
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
  animation: v3-bounce 1.1s ease-in-out infinite;
}
.dy-spinner i:nth-child(2) { animation-delay: 0.14s; }
.dy-spinner i:nth-child(3) { animation-delay: 0.28s; }
@keyframes v3-bounce {
  0%, 70%, 100% { transform: translateY(0) scale(1); opacity: 0.65; }
  35% { transform: translateY(-10px) scale(1.18); opacity: 1; }
}
.page-empty {
  color: var(--v3-text-dim);
  padding: 56px 20px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
}
.page-empty::before {
  content: '✦';
  display: block;
  font-size: 34px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--v3-cyan), var(--v3-violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.5));
  animation: v3-empty-pulse 2.6s ease-in-out infinite;
}
@keyframes v3-empty-pulse {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* ---------- 9. 分段控件：胶囊 + 滑块光 ---------- */
.seg {
  color: var(--v3-text-dim);
  font-weight: 500;
  transition: color 0.3s ease;
}
.seg.active {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.seg:not(.active):hover { color: var(--v3-ice); }
.seg-badge {
  background: linear-gradient(135deg, #ff4d6d, #e946c3);
  box-shadow: 0 0 8px rgba(255, 77, 109, 0.5);
}

/* ---------- 10. 个人中心：全息头图 + 能量头像环 + 分组悬浮菜单 ---------- */
.me-page .me-header,
.me-header.tech-me {
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(90% 70% at 85% 10%, rgba(139, 92, 246, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(10, 18, 38, 0.6), rgba(5, 8, 17, 0.95));
}
.me-header .me-holo {
  background:
    radial-gradient(closest-side, rgba(34, 211, 238, 0.16), transparent 70%),
    conic-gradient(from 210deg, transparent 0deg, rgba(110, 231, 255, 0.14) 60deg, transparent 140deg, transparent 360deg);
  animation: v3-holo-spin 9s linear infinite;
}
@keyframes v3-holo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.me-header .me-scan {
  background: linear-gradient(180deg, transparent, rgba(110, 231, 255, 0.28), transparent);
  height: 90px;
  animation: v3-scan 4.5s ease-in-out infinite;
}
@keyframes v3-scan {
  0%   { top: -30%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}
.me-avatar-wrap .me-avatar {
  border: 2px solid rgba(110, 231, 255, 0.75) !important;
  box-shadow:
    0 0 0 4px rgba(34, 211, 238, 0.12),
    0 0 26px rgba(34, 211, 238, 0.45),
    inset 0 0 12px rgba(0, 0, 0, 0.4) !important;
}
.me-vip-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.6);
}
.me-name {
  background: linear-gradient(100deg, #ffffff 10%, var(--v3-ice) 55%, var(--v3-violet) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v3-title-flow 6s linear infinite;
}
.me-uid {
  color: var(--v3-text-dim);
  letter-spacing: 1.5px;
  font-size: 11px;
}
.me-bio { color: var(--v3-text-dim); }
.me-edit-btn {
  background: linear-gradient(165deg, rgba(34, 211, 238, 0.12), rgba(59, 130, 246, 0.07));
  border: 1px solid var(--v3-line-strong);
  color: var(--v3-ice);
  border-radius: 999px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform var(--v3-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.me-edit-btn:hover {
  border-color: rgba(110, 231, 255, 0.6);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.25);
}
.me-edit-btn:active { transform: scale(0.94); }
.me-gender {
  background: rgba(34, 211, 238, 0.16);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 8px;
  color: var(--v3-ice);
  padding: 1px 6px;
  font-size: 11px;
}
.vip-tag {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 700;
  color: #3a2503;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
  letter-spacing: 0.5px;
}
.me-stats-5 .ms {
  position: relative;
  transition: transform var(--v3-spring);
}
.me-stats-5 .ms:hover { transform: translateY(-2px); }
.me-stats-5 .ms b {
  background: linear-gradient(180deg, #ffffff, var(--v3-ice));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.me-stats-5 .ms span { color: var(--v3-text-dim); font-size: 11px; letter-spacing: 1px; }
.me-stats-5 .ms + .ms::before {
  content: '';
  position: absolute;
  left: 0; top: 22%;
  height: 56%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(110, 231, 255, 0.25), transparent);
}
.me-more-menu {
  background: linear-gradient(165deg, rgba(22, 34, 68, 0.97), rgba(8, 13, 28, 0.98));
  border: 1px solid var(--v3-line-strong);
  border-radius: 14px;
  box-shadow: var(--v3-shadow), 0 0 32px rgba(34, 211, 238, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  animation: v3-dlg-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.me-more-item {
  color: var(--v3-text);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.me-more-item:hover {
  background: rgba(34, 211, 238, 0.1);
  padding-left: 20px;
}
.me-more-item + .me-more-item { border-top: 1px solid rgba(110, 231, 255, 0.08); }
.me-vip {
  background: linear-gradient(100deg, rgba(251, 191, 36, 0.14), rgba(139, 92, 246, 0.1) 60%, rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 4px 18px rgba(251, 191, 36, 0.08);
  color: var(--v3-text);
}
.me-vip.ok { border-color: rgba(251, 191, 36, 0.55); }
.me-group-title {
  color: var(--v3-text-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.me-group-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--v3-cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
  margin-right: 8px;
  vertical-align: 2px;
}
.me-menu .menu-row {
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.5), rgba(8, 13, 28, 0.62));
  border: 1px solid rgba(110, 231, 255, 0.09);
  border-radius: 14px;
  margin-bottom: 8px;
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.me-menu .menu-row:hover {
  border-color: rgba(110, 231, 255, 0.32);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(34, 211, 238, 0.08);
  transform: translateX(3px);
}
.me-menu .menu-row:active { transform: scale(0.985); }
.me-menu .menu-row .mr-ico {
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.35));
}
.me-menu .menu-row .mr-label { color: var(--v3-text); font-weight: 500; }
.me-menu .menu-row .m-arrow { color: rgba(139, 163, 192, 0.6); }
.me-out {
  background: linear-gradient(100deg, rgba(255, 77, 109, 0.1), rgba(233, 70, 195, 0.08));
  border: 1px solid rgba(255, 77, 109, 0.35);
  border-radius: 14px;
  color: #ff8fa8;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 18px 14px 8px;
  transition: transform var(--v3-spring), box-shadow 0.3s ease, border-color 0.3s ease;
}
.me-out:hover {
  border-color: rgba(255, 77, 109, 0.65);
  box-shadow: 0 0 20px rgba(255, 77, 109, 0.22);
}
.me-out:active { transform: scale(0.97); }

/* ---------- 11. 消息中心：分组卡 + 声音开关辉光 ---------- */
.msg-title {
  color: var(--v3-text);
  letter-spacing: 1px;
}
.msg-group {
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  border-radius: 16px;
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.msg-menu-item {
  color: var(--v3-text);
  transition: background-color 0.2s ease, padding-left 0.25s ease;
}
.msg-menu-item:hover { background: rgba(34, 211, 238, 0.09); padding-left: 22px; }
.msg-menu-item + .msg-menu-item { border-top: 1px solid rgba(110, 231, 255, 0.07); }
.msg-ico { filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.35)); }
.msg-sound-toggle .sound-switch {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.msg-sound-toggle .sound-switch.on {
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ---------- 12. 聊天页：全息消息泡 + 输入舱 ---------- */
.chat-bubble {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.chat-bubble.me {
  background: linear-gradient(135deg, #22d3ee, #3b82f6 60%, #6366f1);
  box-shadow: 0 4px 18px rgba(34, 211, 238, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.chat-bubble:not(.me) {
  background: linear-gradient(165deg, rgba(28, 42, 78, 0.92), rgba(12, 18, 36, 0.94));
  border: 1px solid rgba(110, 231, 255, 0.14);
}
.chat-date-divider {
  color: var(--v3-text-dim);
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.chat-input,
.chat-input-light {
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.85), rgba(8, 13, 28, 0.9)) !important;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  color: var(--v3-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.chat-input:focus,
.chat-input-light:focus {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13), 0 0 18px rgba(34, 211, 238, 0.16);
}
.chat-send,
.chat-send-light {
  background: linear-gradient(135deg, #22d3ee, #3b82f6 55%, #8b5cf6);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.chat-send:hover, .chat-send-light:hover { filter: brightness(1.1); }
.chat-send:active, .chat-send-light:active { transform: scale(0.92); }
.chat-head-light {
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.9), rgba(7, 12, 24, 0.94));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--v3-line);
}
.chat-emoji-panel {
  background: linear-gradient(180deg, rgba(16, 26, 52, 0.97), rgba(6, 10, 22, 0.98));
  border-top: 1px solid var(--v3-line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.chat-emoji-item {
  border-radius: 10px;
  transition: transform var(--v3-spring), background-color 0.2s ease;
}
.chat-emoji-item:hover { background: rgba(34, 211, 238, 0.12); transform: scale(1.14); }
.chat-attach-sheet {
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.98), rgba(6, 10, 22, 0.99));
  border-top: 1px solid var(--v3-line-strong);
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: v3-sheet-up 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes v3-sheet-up {
  from { transform: translateY(30%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.chat-attach-item {
  border-radius: 14px;
  transition: transform var(--v3-spring), box-shadow 0.3s ease;
}
.chat-attach-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(34, 211, 238, 0.16);
}

/* ---------- 13. 朋友/用户卡：数据流光带 ---------- */
.u-item, .cl-item {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.u-item:hover, .cl-item:hover {
  border-color: rgba(110, 231, 255, 0.3);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4), 0 0 18px rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}
.u-btn {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.u-btn:active { transform: scale(0.93); }
.u-btn.ghost, .u-btn.followed {
  background: rgba(139, 163, 192, 0.1);
  border: 1px solid rgba(139, 163, 192, 0.25);
  color: var(--v3-text-dim);
  box-shadow: none;
}
.u-home-head {
  background:
    radial-gradient(110% 80% at 50% -15%, rgba(34, 211, 238, 0.2), transparent 60%),
    radial-gradient(80% 60% at 88% 8%, rgba(139, 92, 246, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(10, 18, 38, 0.55), rgba(5, 8, 17, 0.95));
  position: relative;
  overflow: hidden;
}
.u-h-name {
  background: linear-gradient(100deg, #fff, var(--v3-ice));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.u-h-stats .uhs b {
  background: linear-gradient(180deg, #fff, var(--v3-ice));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- 14. 首页信息流：HUD 辉光 + 渐变昵称 ---------- */
.feed-title { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.feed-meta .meta-nick {
  background: linear-gradient(90deg, #6ee7ff, #e946c3, #fbbf24, #6ee7ff);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v3-title-flow 4s linear infinite;
  font-weight: 700;
}
.op-item .op-ico {
  filter: drop-shadow(0 2px 8px rgba(34, 211, 238, 0.35));
  transition: transform var(--v3-spring), filter 0.3s ease;
}
.op-item:active .op-ico { transform: scale(0.85); filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.8)); }
.op-item .op-num, .op-item em { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.op-like.liked .op-ico, .op-collect.collected .op-ico {
  filter: drop-shadow(0 0 12px rgba(255, 77, 109, 0.8));
}
.goods-cart {
  background: linear-gradient(165deg, rgba(22, 34, 68, 0.92), rgba(8, 13, 28, 0.95));
  border: 1px solid var(--v3-line);
  border-radius: 14px;
  box-shadow: var(--v3-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.gc-btn {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.gc-btn:active { transform: scale(0.92); }
.gc-price {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.src-tag {
  background: rgba(13, 22, 44, 0.55);
  border: 1px solid rgba(110, 231, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.5px;
}
.src-tag-ad {
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.9), rgba(233, 70, 195, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 14px rgba(255, 77, 109, 0.4);
}

/* ---------- 15. 商城：搜索舱 + 分类胶囊 + 商品卡 ---------- */
.mall-search .form-in,
.mall-page .form-in {
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.8), rgba(8, 13, 28, 0.86));
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  color: var(--v3-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.mall-search .form-in:focus,
.mall-page .form-in:focus {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13), 0 0 16px rgba(34, 211, 238, 0.15);
}
.mall-cat-pill {
  background: rgba(20, 32, 64, 0.55);
  border: 1px solid rgba(110, 231, 255, 0.12);
  border-radius: 999px;
  color: var(--v3-text-dim);
  transition: all var(--v3-spring);
}
.mall-cat-pill:hover { border-color: rgba(110, 231, 255, 0.3); color: var(--v3-ice); }
.mall-cat-pill.active {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.goods-cell {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
  overflow: hidden;
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.goods-cell:hover {
  border-color: rgba(110, 231, 255, 0.32);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(34, 211, 238, 0.12);
  transform: translateY(-3px);
}
.gd-price {
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.gd-old { color: rgba(139, 163, 192, 0.65); }
.mall-banner-wrap { border-radius: 16px; overflow: hidden; }
.mall-banner-item {
  border-radius: 16px;
  border: 1px solid rgba(110, 231, 255, 0.14);
  box-shadow: var(--v3-shadow);
}
.mall-banner-dots span {
  background: rgba(110, 231, 255, 0.3);
  transition: all 0.3s ease;
}
.mall-banner-dots span.on {
  background: var(--v3-cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
  width: 16px;
}
/* 商品详情 */
.gd-page .gd-buybar {
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.92), rgba(3, 6, 14, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--v3-line);
}
.gd-buybar .btn-main {
  border-radius: 999px;
}
/* 购物车 */
.cart-bar {
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.94), rgba(3, 6, 14, 0.98));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--v3-line);
}
.cart-item {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
}
.cart-head-btn {
  background: rgba(20, 32, 64, 0.7);
  border: 1px solid var(--v3-line-strong);
  border-radius: 999px;
  color: var(--v3-ice);
}
/* 订单 */
.ord-state-bar {
  background: linear-gradient(100deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--v3-line);
  border-radius: 14px;
}
.ord-row {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
}
/* 地址管理 */
.addr-row, .addr-top {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
}
.addr-def-tag {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.35);
}
.addr-form .form-in {
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.8), rgba(8, 13, 28, 0.86));
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  color: var(--v3-text);
}
.addr-form .form-in:focus {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13);
}

/* ---------- 16. VIP：星冕计划卡 ---------- */
.vip-status {
  background:
    radial-gradient(100% 100% at 50% -30%, rgba(251, 191, 36, 0.2), transparent 60%),
    linear-gradient(165deg, rgba(30, 40, 74, 0.8), rgba(10, 14, 30, 0.9));
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 28px rgba(251, 191, 36, 0.07);
}
.vip-plans-x .vp {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.12);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.vip-plans-x .vp:hover {
  border-color: rgba(110, 231, 255, 0.35);
  transform: translateY(-2px);
}
.vip-plans-x .vp.sel, .vip-plans-x .vp.active {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(48, 42, 30, 0.75), rgba(14, 14, 26, 0.88));
}
.vip-plans-x .vp .vp-price, .vp-price {
  background: linear-gradient(90deg, #fbbf24, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.vip-capsule {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 999px;
  color: #3a2503;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.vip-capsule:hover { filter: brightness(1.07); }
.vip-capsule:active { transform: scale(0.95); }
.vip-capsule-ghost {
  background: rgba(139, 163, 192, 0.1);
  border: 1px solid rgba(139, 163, 192, 0.28);
  color: var(--v3-text-dim);
  border-radius: 999px;
}
.vip-perms .vp-ico { filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.45)); }

/* ---------- 17. 游戏中心 ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.game-card {
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.12);
  border-radius: 16px;
  box-shadow: var(--v3-shadow);
  overflow: hidden;
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.game-card:hover {
  border-color: rgba(110, 231, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(34, 211, 238, 0.14);
  transform: translateY(-3px);
}
.game-card:active { transform: scale(0.97); }

/* ---------- 18. 表单通用：聚焦能量环 ---------- */
.form-in {
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.72), rgba(8, 13, 28, 0.82));
  border: 1px solid var(--v3-line);
  border-radius: 12px;
  color: var(--v3-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.form-in::placeholder { color: rgba(139, 163, 192, 0.55); }
.form-in:focus {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13), 0 0 18px rgba(34, 211, 238, 0.15);
}
.up-card, .ep-card {
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  border-radius: 18px;
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.up-field label, .ep-title { color: var(--v3-text-dim); letter-spacing: 0.5px; }
.form-tip { color: rgba(139, 163, 192, 0.6); }
.ep-gender {
  background: rgba(20, 32, 64, 0.6);
  border: 1px solid rgba(110, 231, 255, 0.12);
  border-radius: 999px;
  color: var(--v3-text-dim);
  transition: all var(--v3-spring);
}
.ep-gender.active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(139, 92, 246, 0.18));
  border-color: rgba(110, 231, 255, 0.55);
  color: var(--v3-ice);
  font-weight: 600;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.18);
}
.ep-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 231, 255, 0.22), transparent);
  border: none;
}
.ep-pwd-title { color: var(--v3-ice); letter-spacing: 1px; }

/* ---------- 19. 登录弹层 ---------- */
.login-mask {
  background: rgba(2, 4, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.login-box, .login-panel {
  background: linear-gradient(165deg, rgba(22, 34, 68, 0.96), rgba(8, 13, 28, 0.98));
  border: 1px solid var(--v3-line-strong);
  border-radius: 22px;
  box-shadow:
    var(--v3-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 56px rgba(34, 211, 238, 0.12);
  overflow: hidden;
  position: relative;
  animation: v3-dlg-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.login-box::before, .login-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet), var(--v3-magenta));
}
.login-title {
  background: linear-gradient(100deg, #fff, var(--v3-ice));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.login-desc { color: var(--v3-text-dim); line-height: 1.7; }

/* ---------- 20. 商城轮播：定高滑动轨道（修复竖图拉伸导致 banner 超高） ---------- */
.mall-banner-wrap {
  margin: 4px 14px 10px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.6), rgba(8, 13, 28, 0.7));
}
.mall-banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mall-banner-track::-webkit-scrollbar { display: none; }
.mall-banner-item {
  flex: 0 0 100%;
  width: 100%;
  height: 148px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(110, 231, 255, 0.16);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  cursor: pointer;
}
.mall-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.mall-banner-item:hover img { transform: scale(1.06); }
.mall-banner-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 6, 14, 0.72) 100%);
  pointer-events: none;
}
.mall-banner-title {
  position: absolute;
  left: 14px; bottom: 12px;
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  max-width: 72%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.mall-banner-dots {
  position: absolute;
  right: 14px; bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 5px;
}
.mall-banner-dots i {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.35s ease;
}
.mall-banner-dots i.on {
  width: 16px;
  background: var(--v3-ice);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.85);
}
/* 搜索区与分类条：吸顶雾化，滚动时不遮挡 */
.mall-search {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(7, 12, 24, 0.96), rgba(7, 12, 24, 0.88));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 0 0 18px 18px;
}
.mall-cat-scroll {
  position: sticky;
  top: 52px;
  z-index: 55;
  background: linear-gradient(180deg, rgba(7, 12, 24, 0.96), rgba(7, 12, 24, 0.86));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ============================================================
 * v3.0 深空极光 · 第二批次：局部页面深度改造
 * 21. 首页推广商品（视频小黄车 + 评论区置顶推广卡）
 * 22. 视频上传页面
 * 23. 评论区弹层
 * 24. 商城详情页
 * 25. 购物车
 * 26. 分享面板
 * 约束：仅追加覆盖，不改动既有选择器；不影响任何 JS 交互钩子
 * ============================================================ */

/* ---------- 21. 首页推广商品：星舰小黄车 ---------- */
.goods-cart-mini {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 300px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 255, 0.28);
  background:
    radial-gradient(120% 140% at 8% 0%, rgba(251, 191, 36, 0.16), transparent 62%),
    linear-gradient(165deg, rgba(20, 32, 64, 0.82), rgba(6, 11, 24, 0.9));
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(110, 231, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.goods-cart-mini::before {
  content: '';
  position: absolute;
  left: -60%;
  top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(251, 191, 36, 0.22), transparent);
  transform: skewX(-18deg);
  animation: v3-cart-sweep 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes v3-cart-sweep {
  0%   { left: -60%; opacity: 0; }
  18%  { opacity: 1; }
  70%  { left: 118%; opacity: 0; }
  100% { left: 118%; opacity: 0; }
}
.goods-cart-mini:hover {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.55),
    0 0 26px rgba(251, 191, 36, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.goods-cart-mini:active { transform: scale(0.96); }
.goods-cart-mini .goods-cart-icon {
  position: relative;
  z-index: 1;
  width: 28px; height: 28px;
  flex: 0 0 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  line-height: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 3px 10px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.goods-cart-mini .goods-cart-info {
  position: relative;
  z-index: 1;
  gap: 1px;
}
.goods-cart-mini .gc-name {
  max-width: 200px;
  font-size: 12px;
  font-weight: 600;
  color: #f4f8ff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.goods-cart-mini .gc-price {
  font-size: 13.5px;
  font-weight: 800;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.35));
}
.goods-cart-mini .gc-oprice {
  font-size: 10px;
  color: rgba(174, 190, 214, 0.7);
}
.goods-cart-mini .gc-rebate {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 1px 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e946c3, #8b5cf6);
  box-shadow: 0 2px 8px rgba(233, 70, 195, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* 评论区置顶推广商品卡 */
.comment-goods {
  position: relative;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(251, 191, 36, 0.14), transparent 60%),
    var(--v3-glass);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.comment-goods::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #e946c3, #22d3ee);
}
.comment-goods:hover {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: var(--v3-shadow), 0 0 22px rgba(251, 191, 36, 0.18);
  transform: translateY(-2px);
}
.comment-goods:active { transform: scale(0.985); }
.comment-goods img.c-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  object-fit: cover;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.comment-goods .c-nick { line-height: 18px !important; }
.comment-goods .cg-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #3a2503;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  -webkit-text-fill-color: #3a2503;
}
.comment-goods .cg-link {
  color: #f4f8ff;
  font-weight: 600;
  text-decoration: none;
  background: none;
  -webkit-text-fill-color: #f4f8ff;
}
.comment-goods .cg-price {
  font-size: 12px;
  font-weight: 800;
  color: #fbbf24;
  -webkit-text-fill-color: #fbbf24;
  background: none;
}

/* ---------- 22. 视频上传页面：发射舱 ---------- */
.upload-page .up-card {
  position: relative;
  overflow: hidden;
  padding: 16px 14px;
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 50% -20%, rgba(34, 211, 238, 0.12), transparent 58%),
    var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.upload-page .up-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet), var(--v3-magenta));
  pointer-events: none;
}
/* 视频选择：拖拽舱 */
.upload-page .up-video-pick {
  position: relative;
  overflow: hidden;
  gap: 8px;
  padding: 30px 16px;
  border-radius: 18px;
  border: 1.5px dashed rgba(110, 231, 255, 0.4);
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(34, 211, 238, 0.1), transparent 65%),
    linear-gradient(165deg, rgba(20, 32, 64, 0.5), rgba(6, 11, 24, 0.6));
  color: var(--v3-text-dim);
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.upload-page .up-video-pick::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(34, 211, 238, 0.1) 50%, transparent 55%);
  animation: v3-dz-scan 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes v3-dz-scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
.upload-page .up-video-pick:hover {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.18), inset 0 0 30px rgba(34, 211, 238, 0.06);
  transform: translateY(-2px);
}
.upload-page .up-video-pick:active { transform: scale(0.985); }
.upload-page .up-video-pick .up-icon {
  position: relative;
  z-index: 1;
  font-size: 36px;
  filter: drop-shadow(0 3px 12px rgba(34, 211, 238, 0.5));
}
.upload-page .up-video-pick .up-text {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--v3-text);
  letter-spacing: 0.3px;
}
.upload-page .up-hint {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: var(--v3-gold);
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.3));
}
.upload-page #upPreview {
  position: relative;
  border-radius: 16px !important;
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow), 0 0 24px rgba(34, 211, 238, 0.12);
  overflow: hidden;
}
/* 表单分区 */
.upload-page .up-field {
  position: relative;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(24, 38, 74, 0.52), rgba(8, 13, 28, 0.62));
  border: 1px solid var(--v3-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.upload-page .up-field:hover { border-color: rgba(110, 231, 255, 0.28); }
.upload-page .up-field:focus-within {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.upload-page .up-field > label:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(110, 231, 255, 0.22);
}
.upload-page .up-field > label:first-child::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--v3-cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.9);
}
.upload-page .up-field .form-in,
.upload-page .up-field input.form-in,
.upload-page .up-field textarea.form-in,
.upload-page .up-field select.form-in {
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.78), rgba(8, 13, 28, 0.86));
  border: 1px solid var(--v3-line);
  color: var(--v3-text);
}
.upload-page .up-field .form-in::placeholder { color: rgba(139, 163, 192, 0.55); }
.upload-page .up-field .form-in:focus {
  border-color: var(--v3-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.13), 0 0 18px rgba(34, 211, 238, 0.15);
}
.upload-page .up-field .up-cover-row .btn-ghost {
  height: 36px;
  padding: 0 16px;
  border-radius: 999px !important;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(110, 231, 255, 0.3);
  transition: all var(--v3-spring);
}
.upload-page .up-field .up-cover-row .btn-ghost:hover {
  background: rgba(34, 211, 238, 0.16);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.22);
}
.upload-page .up-field .up-cover-row .btn-ghost:active { transform: scale(0.95); }
.upload-page #upCoverPrev {
  border-radius: 12px !important;
  border: 1px solid rgba(110, 231, 255, 0.32);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 14px rgba(34, 211, 238, 0.14);
}
/* 发布按钮：能量发射钮 */
.upload-page .btn-main.big {
  position: relative;
  overflow: hidden;
  height: 48px;
  margin-top: 18px;
  border-radius: 999px !important;
  border: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #04121f;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee 45%, #8b5cf6);
  box-shadow: 0 8px 26px rgba(34, 211, 238, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform var(--v3-spring), filter 0.25s ease, box-shadow 0.25s ease;
}
.upload-page .btn-main.big::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.upload-page .btn-main.big:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 32px rgba(34, 211, 238, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.upload-page .btn-main.big:hover::after { left: 120%; }
.upload-page .btn-main.big:active { transform: scale(0.965); }
.upload-page .btn-main.big:disabled {
  filter: grayscale(0.5) brightness(0.7);
  box-shadow: none;
}
.upload-page .form-tip { letter-spacing: 0.2px; }

/* ---------- 23. 评论区：深空对話舱 ---------- */
.comment-sheet {
  background: rgba(2, 5, 14, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.comment-sheet-box {
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.97), rgba(6, 10, 22, 0.99)) !important;
  border: 1px solid var(--v3-line-strong);
  border-bottom: none;
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.6), 0 -2px 24px rgba(34, 211, 238, 0.12);
  overflow: hidden;
  animation: v3-sheet-up 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.comment-sheet-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet), var(--v3-magenta));
  pointer-events: none;
}
.comment-sheet-head {
  gap: 8px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid var(--v3-line);
  background: linear-gradient(180deg, rgba(24, 38, 74, 0.5), transparent);
}
.comment-sheet-head .comment-sheet-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #6ee7ff, #e946c3, #fbbf24, #6ee7ff);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v3-title-flow 4s linear infinite;
}
.comment-sheet-head .comment-sheet-count {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(110, 231, 255, 0.22);
}
.comment-sheet-head .sheet-close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(139, 163, 192, 0.1);
  border: 1px solid rgba(139, 163, 192, 0.26);
  color: var(--v3-text-dim);
  font-size: 13px;
  transition: all var(--v3-spring);
}
.comment-sheet-head .sheet-close:hover {
  background: rgba(233, 70, 195, 0.16);
  border-color: rgba(233, 70, 195, 0.5);
  color: #ff9ad8;
}
.comment-sheet-head .sheet-close:active { transform: scale(0.88); }
/* 评论行 */
.comment-sheet .comment-list { padding: 12px 14px; }
.comment-sheet .comment-row {
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(24, 38, 74, 0.4), rgba(8, 13, 28, 0.5));
  border: 1px solid rgba(110, 231, 255, 0.08);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform var(--v3-spring);
}
.comment-sheet .comment-row:hover {
  border-color: rgba(110, 231, 255, 0.24);
  background: linear-gradient(165deg, rgba(28, 44, 84, 0.5), rgba(9, 15, 32, 0.6));
  transform: translateX(2px);
}
.comment-sheet .comment-row img.c-avatar,
.comment-sheet .comment-row .c-nick img.c-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(110, 231, 255, 0.4);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.22);
  flex-shrink: 0;
}
.comment-sheet .comment-row .c-nick {
  font-size: 11.5px;
  font-weight: 700;
  gap: 7px;
}
.comment-sheet .comment-row .c-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--v3-text);
  margin-top: 4px;
}
.comment-sheet .comment-row .c-time {
  font-size: 10px;
  color: rgba(139, 163, 192, 0.75);
  margin-top: 4px;
}
.comment-sheet .comment-row .c-del {
  margin-left: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  color: #ff6b8b;
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.28);
  cursor: pointer;
}
/* 操作按钮：能量胶囊 */
.comment-sheet .c-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}
.comment-sheet .c-like-btn,
.comment-sheet .c-dislike-btn,
.comment-sheet .c-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--v3-text-dim);
  background: rgba(139, 163, 192, 0.08);
  border: 1px solid rgba(139, 163, 192, 0.16);
  cursor: pointer;
  transition: all var(--v3-spring);
}
.comment-sheet .c-like-btn:hover,
.comment-sheet .c-dislike-btn:hover,
.comment-sheet .c-reply-btn:hover { transform: translateY(-1px); }
.comment-sheet .c-like-btn:hover {
  color: #ff6b8b;
  border-color: rgba(255, 107, 139, 0.45);
  background: rgba(255, 107, 139, 0.1);
}
.comment-sheet .c-like-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #ff6b8b, #e946c3);
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(233, 70, 195, 0.32);
}
.comment-sheet .c-dislike-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #64748b, #3b4c68);
  border-color: transparent;
}
.comment-sheet .c-reply-btn:hover {
  color: var(--v3-ice);
  border-color: rgba(110, 231, 255, 0.45);
  background: rgba(34, 211, 238, 0.1);
}
.comment-sheet .c-like-btn:active,
.comment-sheet .c-dislike-btn:active,
.comment-sheet .c-reply-btn:active { transform: scale(0.93); }
/* 楼中楼 */
.comment-sheet .c-replies {
  margin-top: 8px;
  padding-left: 10px;
  border-left: 2px solid rgba(110, 231, 255, 0.24);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comment-sheet .c-reply-row {
  display: flex;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 12px;
  background: rgba(20, 32, 64, 0.35);
  border: 1px solid rgba(110, 231, 255, 0.06);
}
.comment-sheet .c-reply-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(110, 231, 255, 0.28);
}
.comment-sheet .c-reply-nick {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--v3-ice);
}
.comment-sheet .c-reply-text {
  font-size: 11.5px;
  line-height: 1.5;
  color: #cbd8ea;
  margin-top: 2px;
}
.comment-sheet .c-reply-actions { margin-top: 4px; }
.comment-sheet .c-reply-actions .c-like-btn { font-size: 10px; padding: 2px 8px; }
/* 回复输入条 */
.comment-sheet .c-reply-input-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  padding: 6px;
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.7), rgba(8, 13, 28, 0.8));
  border: 1px solid var(--v3-line);
}
.comment-sheet .c-reply-input-bar input {
  flex: 1;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--v3-text);
  font-size: 12px;
}
.comment-sheet .c-reply-input-bar input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}
.comment-sheet .c-reply-input-bar button {
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: #04121f;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee);
  box-shadow: 0 3px 10px rgba(34, 211, 238, 0.3);
  cursor: pointer;
  transition: transform var(--v3-spring);
}
.comment-sheet .c-reply-input-bar button:active { transform: scale(0.93); }
/* 底部输入舱 */
.comment-sheet .comment-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(14, 22, 46, 0.9), rgba(6, 10, 22, 0.96));
  border-top: 1px solid var(--v3-line);
}
.comment-sheet .comment-input-bar .comment-emoji {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.09) !important;
  border: 1px solid var(--v3-line) !important;
  font-size: 17px;
  transition: all var(--v3-spring);
}
.comment-sheet .comment-input-bar .comment-emoji:hover {
  background: rgba(34, 211, 238, 0.18) !important;
  transform: scale(1.06);
}
.comment-sheet .comment-input-bar input {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px !important;
  border: 1px solid var(--v3-line) !important;
  background: linear-gradient(165deg, rgba(20, 32, 64, 0.8), rgba(8, 13, 28, 0.88)) !important;
  color: var(--v3-text);
  font-size: 13px;
}
.comment-sheet .comment-input-bar input:focus {
  border-color: var(--v3-cyan) !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), 0 0 16px rgba(34, 211, 238, 0.14) !important;
  outline: none;
}
.comment-sheet .comment-input-bar .comment-send {
  height: 38px !important;
  min-width: 72px;
  padding: 0 20px;
  border-radius: 999px !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 1px;
  color: #04121f !important;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee 50%, #8b5cf6) !important;
  box-shadow: 0 4px 16px rgba(34, 211, 238, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.comment-sheet .comment-input-bar .comment-send:hover { filter: brightness(1.07); }
.comment-sheet .comment-input-bar .comment-send:active { transform: scale(0.94); }
.comment-sheet .comment-input-bar .comment-send:disabled { filter: grayscale(0.6) brightness(0.7); }
/* 表情面板 */
.comment-sheet .emoji-panel {
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(22, 34, 68, 0.97), rgba(8, 13, 28, 0.98));
  border: 1px solid var(--v3-line-strong);
  box-shadow: var(--v3-shadow), 0 0 30px rgba(34, 211, 238, 0.1);
  bottom: 72px;
}
.comment-sheet .emoji-panel span {
  border-radius: 10px;
  transition: transform var(--v3-spring), background-color 0.2s ease;
}
.comment-sheet .emoji-panel span:hover {
  background: rgba(34, 211, 238, 0.14);
  transform: scale(1.18);
}

/* ---------- 24. 商城详情页：全息橱窗 ---------- */
.gd-page .dd-swiper {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}
.gd-page .dd-swiper::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 18, 0.5));
  pointer-events: none;
}
.gd-page .dd-swiper-count {
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--v3-ice);
  background: rgba(6, 11, 24, 0.7);
  border: 1px solid var(--v3-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.gd-page .dd-swiper-dots { gap: 6px; }
.gd-page .dd-swiper-dots i {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.35s ease;
}
.gd-page .dd-swiper-dots i.on {
  width: 18px;
  background: var(--v3-ice);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.9);
}
/* 价格信息卡 */
.gd-page .dd-info {
  position: relative;
  overflow: hidden;
  margin: 12px 14px;
  padding: 14px;
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(251, 191, 36, 0.14), transparent 58%),
    var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.gd-page .dd-info::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #fbbf24, #e946c3, #22d3ee);
}
.gd-page .dd-price-row { align-items: center; flex-wrap: wrap; gap: 10px; }
.gd-page .dd-price-row .gd-price {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fde68a, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.3));
}
.gd-page .dd-price-row .gd-old {
  font-size: 13px;
  color: rgba(139, 163, 192, 0.65);
}
.gd-page .dd-type {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(110, 231, 255, 0.28);
}
.gd-page .dd-info .gd-name {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--v3-text);
}
.gd-page .gd-meta { gap: 8px; }
.gd-page .gd-meta > span,
.gd-page .gd-meta .stock-tag {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--v3-text-dim);
  background: rgba(139, 163, 192, 0.08);
  border: 1px solid rgba(139, 163, 192, 0.14);
}
.gd-page .gd-meta .stock-tag {
  color: #53f3c0;
  background: rgba(83, 243, 192, 0.1);
  border-color: rgba(83, 243, 192, 0.25);
}
.gd-page .gd-meta .gd-cat {
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(110, 231, 255, 0.22);
}
/* 店铺卡 */
.gd-page .dd-shop {
  align-items: center;
  gap: 12px;
  margin: 0 14px 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.gd-page .dd-shop-avatar-wrap { flex-shrink: 0; }
.gd-page .dd-shop-avatar {
  width: 46px; height: 46px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(110, 231, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.gd-page .dd-shop-icon {
  width: 20px; height: 20px;
  font-size: 11px;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}
.gd-page .dd-shop-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--v3-text);
}
.gd-page .dd-shop-meta { color: rgba(139, 163, 192, 0.8); }
.gd-page .dd-shop-btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(110, 231, 255, 0.32);
  background: rgba(34, 211, 238, 0.09);
  color: var(--v3-ice);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--v3-spring);
}
.gd-page .dd-shop-btn:hover {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.32);
}
.gd-page .dd-shop-btn:active { transform: scale(0.95); }
/* 分区卡片 */
.gd-page .dd-block,
.gd-page .dd-desc-block {
  margin: 0 14px 12px;
  padding: 14px;
  border-radius: 18px;
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.gd-page .dd-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--v3-text);
}
.gd-page .dd-block-title::before {
  content: '';
  width: 3px; height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--v3-cyan), var(--v3-violet));
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.6);
}
.gd-page .dd-desc { color: rgba(200, 214, 235, 0.85); }
/* 规格行 */
.gd-page .dd-spec-row {
  margin: 0 14px 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow);
  cursor: pointer;
  transition: border-color 0.3s ease, transform var(--v3-spring);
}
.gd-page .dd-spec-row:hover { border-color: rgba(110, 231, 255, 0.32); }
.gd-page .dd-spec-row:active { transform: scale(0.99); }
.gd-page .dd-spec-val { font-weight: 700; }
.gd-page .dd-spec-arrow { color: var(--v3-ice); }
/* 参数 */
.gd-page .dd-param-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(110, 231, 255, 0.1);
  font-size: 12.5px;
}
.gd-page .dd-param-row:last-child { border-bottom: none; }
/* 评价 */
.gd-page .dd-review {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(110, 231, 255, 0.1);
}
.gd-page .dd-review:last-child { border-bottom: none; }
.gd-page .dd-rv-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(110, 231, 255, 0.28);
}
.gd-page .dd-rv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--v3-text);
}
.gd-page .dd-rv-head i { font-style: normal; color: var(--v3-gold); }
.gd-page .dd-stars { font-style: normal; color: var(--v3-gold); }
.gd-page .dd-rv-content {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(200, 214, 235, 0.85);
}
.gd-page .dd-rv-imgs img {
  border-radius: 10px;
  border: 1px solid rgba(110, 231, 255, 0.18);
}
.gd-page .dd-rv-time {
  margin-top: 5px;
  font-size: 10.5px;
  color: rgba(139, 163, 192, 0.7);
}
.gd-page .dd-no-rev {
  padding: 14px 0;
  font-size: 12.5px;
  color: rgba(139, 163, 192, 0.7);
  text-align: center;
}
/* 推荐位 */
.gd-page .dd-rec { gap: 10px; padding: 4px 0; }
.gd-page .dd-rec-item {
  flex: 0 0 104px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow);
  cursor: pointer;
  transition: transform var(--v3-spring), border-color 0.3s ease;
}
.gd-page .dd-rec-item:hover {
  border-color: rgba(110, 231, 255, 0.34);
  transform: translateY(-3px);
}
.gd-page .dd-rec-item:active { transform: scale(0.96); }
.gd-page .dd-rec-name {
  padding: 6px 7px 0;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--v3-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gd-page .dd-rec-price {
  padding: 4px 7px 8px;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* 底部购买栏 */
.gd-page .dd-buybar {
  left: 0; right: 0;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.94), rgba(3, 6, 14, 0.98));
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--v3-line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}
.gd-page .dd-bar-item {
  padding: 2px 8px;
  border-radius: 12px;
  color: var(--v3-text-dim);
  transition: all var(--v3-spring);
}
.gd-page .dd-bar-item:hover {
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.1);
}
.gd-page .dd-bar-item:active { transform: scale(0.9); }
.gd-page .dd-bar-item svg { filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.35)); }
.gd-page .dd-bar-badge {
  display: flex;
  background: linear-gradient(135deg, #e946c3, #ff2d55);
  box-shadow: 0 0 10px rgba(233, 70, 195, 0.6);
}
.gd-page .dd-add-cart {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2b3a67, #45348c);
  box-shadow: 0 4px 16px rgba(69, 52, 140, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.gd-page .dd-add-cart:hover { filter: brightness(1.15); }
.gd-page .dd-add-cart:active { transform: scale(0.96); }
.gd-page .dd-buy-now {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee 45%, #8b5cf6);
  color: #04121f;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 6px 22px rgba(34, 211, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.gd-page .dd-buy-now::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.gd-page .dd-buy-now:hover { filter: brightness(1.07); }
.gd-page .dd-buy-now:hover::after { left: 120%; }
.gd-page .dd-buy-now:active { transform: scale(0.965); }
/* 底部弹层（规格 / 下单） */
.dd-sheet-mask { background: rgba(2, 5, 14, 0.72); backdrop-filter: blur(8px); }
.dd-sheet {
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.98), rgba(6, 10, 22, 0.99));
  border: 1px solid var(--v3-line-strong);
  border-bottom: none;
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.6), 0 -2px 24px rgba(34, 211, 238, 0.12);
  overflow: hidden;
  animation: v3-sheet-up 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.dd-sheet::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet), var(--v3-magenta));
}
.dd-sheet-head { padding: 14px; border-bottom: 1px solid var(--v3-line); }
.dd-sheet-cover {
  width: 62px; height: 62px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(110, 231, 255, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.dd-sheet-price b {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dd-sheet-price span { color: rgba(139, 163, 192, 0.8); }
.dd-sheet-close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(139, 163, 192, 0.1);
  border: 1px solid rgba(139, 163, 192, 0.24);
  color: var(--v3-text-dim);
  transition: all var(--v3-spring);
}
.dd-sheet-close:hover {
  background: rgba(233, 70, 195, 0.16);
  border-color: rgba(233, 70, 195, 0.5);
  color: #ff9ad8;
}
.dd-sheet-close:active { transform: scale(0.88); }
.dd-sheet-body { max-height: 56vh; overflow-y: auto; }
.dd-spec-gname {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--v3-text-dim);
}
.dd-spec-opt {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--v3-text-dim);
  background: rgba(139, 163, 192, 0.08);
  border: 1px solid rgba(139, 163, 192, 0.18);
  cursor: pointer;
  transition: all var(--v3-spring);
}
.dd-spec-opt:hover {
  color: var(--v3-ice);
  border-color: rgba(110, 231, 255, 0.45);
  background: rgba(34, 211, 238, 0.1);
}
.dd-spec-opt.on {
  color: #04121f;
  font-weight: 800;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.dd-spec-opt:active { transform: scale(0.94); }
.dd-qty-ctrl { gap: 10px; }
.dd-qty-ctrl button {
  width: 30px; height: 30px;
  border-radius: 10px;
  border: 1px solid var(--v3-line);
  background: rgba(20, 32, 64, 0.6);
  color: var(--v3-ice);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--v3-spring);
}
.dd-qty-ctrl button:hover {
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(110, 231, 255, 0.45);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}
.dd-qty-ctrl button:active { transform: scale(0.9); }
.dd-qty-ctrl span {
  min-width: 30px;
  font-size: 15px;
  font-weight: 800;
  color: var(--v3-text);
}
.dd-sheet-foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); }
.dd-sheet-foot .dd-buy-now.big,
.dd-sheet-foot .dd-add-cart.big {
  border-radius: 999px !important;
}
/* 地址选择 */
.ps-addr-item {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(20, 32, 64, 0.5);
  border: 1px solid var(--v3-line);
  cursor: pointer;
  transition: all var(--v3-spring);
}
.ps-addr-item:hover { border-color: rgba(110, 231, 255, 0.3); }
.ps-addr-item.on {
  border-color: rgba(34, 211, 238, 0.6);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.08));
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.14);
}
.psi-def {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
}
.ps-addr-more { padding: 8px 4px 0; }
.ps-addr-more a { color: var(--v3-ice); font-size: 12px; }

/* ---------- 25. 购物车：轨道舱 ---------- */
.cart-page .fixed-head {
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.96), rgba(7, 12, 24, 0.9));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--v3-line);
}
.cart-page .page-title {
  background: linear-gradient(100deg, #fff, var(--v3-ice));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.cart-page .head-btn.ghost {
  padding: 4px 14px;
  border-radius: 999px;
  color: var(--v3-text-dim);
  background: rgba(139, 163, 192, 0.08);
  border: 1px solid rgba(139, 163, 192, 0.2);
  transition: all var(--v3-spring);
}
.cart-page .head-btn.ghost:hover {
  color: #ff6b8b;
  border-color: rgba(255, 107, 139, 0.45);
  background: rgba(255, 107, 139, 0.1);
}
.cart-page .head-btn.ghost:active { transform: scale(0.94); }
.cart-list { padding: 10px 14px 100px; gap: 12px; }
.cart-item {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(34, 211, 238, 0.07), transparent 58%),
    var(--v3-glass);
  border: 1px solid var(--v3-line);
  box-shadow: var(--v3-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cart-item:hover {
  border-color: rgba(110, 231, 255, 0.3);
  box-shadow: var(--v3-shadow), 0 0 22px rgba(34, 211, 238, 0.1);
  transform: translateY(-2px);
}
.cart-item:active { transform: scale(0.99); }
.cb-box { align-items: center; padding-top: 22px; }
.cb-box input, .cb-all input {
  accent-color: #22d3ee;
  width: 18px; height: 18px;
  cursor: pointer;
}
.cart-cover {
  width: 80px; height: 80px;
  align-self: center;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(110, 231, 255, 0.26);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform var(--v3-spring);
}
.cart-item:hover .cart-cover { transform: scale(1.04); }
.cart-info { display: flex; flex-direction: column; }
.cart-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--v3-text);
  line-height: 1.35;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-spec {
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--v3-ice);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(110, 231, 255, 0.22);
}
.cart-mid { margin-top: auto; padding-top: 8px; }
.cart-price {
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(90deg, #fde68a, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.25));
}
.cart-item .dd-qty-ctrl.mini {
  gap: 4px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(20, 32, 64, 0.55);
  border: 1px solid var(--v3-line);
}
.cart-item .dd-qty-ctrl.mini button {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(34, 211, 238, 0.12);
  color: var(--v3-ice);
  font-size: 13px;
  font-weight: 800;
  transition: all var(--v3-spring);
}
.cart-item .dd-qty-ctrl.mini button:hover {
  background: linear-gradient(135deg, #22d3ee, #8b5cf6);
  color: #fff;
  box-shadow: 0 3px 10px rgba(34, 211, 238, 0.3);
}
.cart-item .dd-qty-ctrl.mini button:active { transform: scale(0.88); }
.cart-item .dd-qty-ctrl.mini span {
  min-width: 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--v3-text);
}
.cart-ops { margin-top: 8px; }
.cart-ops > span {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--v3-text-dim);
  background: rgba(139, 163, 192, 0.08);
  border: 1px solid rgba(139, 163, 192, 0.14);
}
.cart-del {
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #ff6b8b;
  background: rgba(255, 45, 85, 0.1);
  border: 1px solid rgba(255, 45, 85, 0.28);
  cursor: pointer;
  transition: all var(--v3-spring);
}
.cart-del:hover {
  color: #fff;
  background: linear-gradient(135deg, #ff6b8b, #e946c3);
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(233, 70, 195, 0.3);
}
.cart-del:active { transform: scale(0.93); }
/* 结算栏 */
.cart-bar {
  left: 0; right: 0;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(13, 22, 44, 0.95), rgba(3, 6, 14, 0.98));
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-top: 1px solid var(--v3-line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}
.cb-all { font-size: 12.5px; font-weight: 600; color: var(--v3-text); }
.cb-total { font-size: 12px; }
.cb-total b {
  font-size: 19px;
  font-weight: 900;
  margin-left: 2px;
  background: linear-gradient(90deg, #fde68a, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.28));
}
.cart-bar .dd-buy-now.big {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px !important;
  border: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #04121f;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee 45%, #8b5cf6);
  box-shadow: 0 5px 18px rgba(34, 211, 238, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.cart-bar .dd-buy-now.big:disabled {
  filter: grayscale(0.6) brightness(0.65);
  box-shadow: none;
}
.cart-bar .dd-buy-now.big:not(:disabled):hover { filter: brightness(1.07); }
.cart-bar .dd-buy-now.big:not(:disabled):active { transform: scale(0.95); }
/* 空态 */
.cart-empty { gap: 16px; padding: 70px 0; }
.cart-empty svg {
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.35));
}
.cart-empty p { font-size: 14px; color: var(--v3-text-dim); letter-spacing: 0.5px; }
.cart-empty .btn-main {
  height: 40px;
  padding: 0 30px;
  border-radius: 999px !important;
  border: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #04121f;
  background: linear-gradient(135deg, #6ee7ff, #22d3ee 45%, #8b5cf6);
  box-shadow: 0 6px 20px rgba(34, 211, 238, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform var(--v3-spring), filter 0.25s ease;
}
.cart-empty .btn-main:hover { filter: brightness(1.07); }
.cart-empty .btn-main:active { transform: scale(0.95); }

/* ---------- 26. 分享面板：星链发射台 ---------- */
.dy-share-host {
  background: rgba(2, 5, 14, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.dy-share-sheet {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(18, 28, 56, 0.98), rgba(6, 10, 22, 0.99)) !important;
  border: 1px solid var(--v3-line-strong);
  border-bottom: none;
  box-shadow: 0 -16px 50px rgba(0, 0, 0, 0.6), 0 -2px 24px rgba(34, 211, 238, 0.12);
  animation: v3-sheet-up 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.dy-share-sheet::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--v3-cyan), var(--v3-violet), var(--v3-magenta));
  pointer-events: none;
}
.dy-share-head {
  gap: 4px;
  padding: 2px 44px 14px 2px;
  border-bottom: 1px solid var(--v3-line);
}
.dy-share-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, #6ee7ff, #e946c3, #fbbf24, #6ee7ff);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: v3-title-flow 4s linear infinite;
}
.dy-share-sub { font-size: 11.5px; color: rgba(139, 163, 192, 0.85); }
.dy-share-head .sheet-close {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(139, 163, 192, 0.1);
  border: 1px solid rgba(139, 163, 192, 0.26);
  color: var(--v3-text-dim);
  transition: all var(--v3-spring);
}
.dy-share-head .sheet-close:hover {
  background: rgba(233, 70, 195, 0.16);
  border-color: rgba(233, 70, 195, 0.5);
  color: #ff9ad8;
}
.dy-share-head .sheet-close:active { transform: scale(0.88); }
.dy-share-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 0 8px;
}
.dy-share-item {
  gap: 8px;
  padding: 12px 4px 10px;
  border-radius: 16px;
  background: rgba(139, 163, 192, 0.05);
  border: 1px solid rgba(110, 231, 255, 0.1);
  transition: transform var(--v3-spring), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.dy-share-item:hover {
  background: rgba(34, 211, 238, 0.09);
  border-color: rgba(110, 231, 255, 0.34);
  box-shadow: 0 6px 18px rgba(34, 211, 238, 0.14);
  transform: translateY(-3px);
}
.dy-share-item:active { transform: scale(0.94); }
.dy-share-ico {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 21px;
  font-style: normal;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(110, 231, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform var(--v3-spring);
}
.dy-share-item:hover .dy-share-ico { transform: scale(1.1) rotate(-6deg); }
.dy-share-ico.wechat-ico {
  background: linear-gradient(135deg, rgba(7, 193, 96, 0.9), rgba(4, 160, 78, 0.85));
  border-color: rgba(7, 193, 96, 0.5);
}
.dy-share-ico.moments-ico {
  background: linear-gradient(135deg, rgba(250, 219, 20, 0.9), rgba(240, 180, 10, 0.85));
  border-color: rgba(250, 219, 20, 0.5);
}
.dy-share-ico.qq-ico {
  background: linear-gradient(135deg, rgba(18, 183, 245, 0.9), rgba(0, 132, 200, 0.85));
  border-color: rgba(18, 183, 245, 0.5);
}
.dy-share-ico.qzone-ico {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.85));
  border-color: rgba(251, 191, 36, 0.5);
}
.dy-share-item em {
  font-size: 11px;
  font-weight: 600;
  color: var(--v3-text-dim);
  letter-spacing: 0.2px;
}
.dy-share-item:hover em { color: var(--v3-ice); }
.dy-share-cancel {
  height: 44px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(139, 163, 192, 0.08);
  border: 1px solid rgba(139, 163, 192, 0.22);
  color: var(--v3-text-dim);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all var(--v3-spring);
}
.dy-share-cancel:hover {
  color: var(--v3-ice);
  border-color: rgba(110, 231, 255, 0.4);
  background: rgba(34, 211, 238, 0.09);
}
.dy-share-cancel:active { transform: scale(0.975); }

/* ---------- 补充动画（全局复用） ---------- */
@keyframes v3-star-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-120px); }
}

/* ============================================================
 * 17.5 VIP 会员页 · 星冕尊享版（重设计）
 * 主题：黑金 + 极光紫，与 v3「深空极光」体系同源
 * ============================================================ */
.vipx-page {
  padding: 4px 16px 30px;
}

/* ---------- Hero 星冕卡 ---------- */
.vipx-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 172px;
  padding: 16px 18px 15px;
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 90% -25%, rgba(251, 191, 36, 0.30), transparent 58%),
    radial-gradient(115% 130% at -12% 112%, rgba(139, 92, 246, 0.32), transparent 62%),
    linear-gradient(158deg, #1c1732 0%, #101228 52%, #070a16 100%);
  border: 1px solid rgba(251, 191, 36, 0.30);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 30px rgba(251, 191, 36, 0.09);
  animation: vipxIn 0.46s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.vipx-hero.on {
  border-color: rgba(251, 191, 36, 0.62);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 42px rgba(251, 191, 36, 0.22);
}
@keyframes vipxIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vipx-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at 26% -10%, #000, transparent 76%);
          mask-image: radial-gradient(ellipse at 26% -10%, #000, transparent 76%);
}
.vipx-hero-glow {
  position: absolute;
  right: -56px;
  top: -76px;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(251, 191, 36, 0.5), rgba(251, 191, 36, 0) 72%);
  filter: blur(10px);
  pointer-events: none;
  animation: vipxPulse 5s ease-in-out infinite;
}
@keyframes vipxPulse {
  0%, 100% { opacity: 0.62; }
  50%      { opacity: 1; }
}
.vipx-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vipx-crown {
  font-size: 17px;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.75));
}
.vipx-brand {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  background: linear-gradient(90deg, #fde68a, #fbbf24 45%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vipx-badge {
  margin-left: auto;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #d9c9a3;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.vipx-hero.on .vipx-badge {
  color: #2b1c02;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  border-color: rgba(253, 230, 138, 0.8);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
}
.vipx-hero-mid {
  position: relative;
  z-index: 1;
}
.vipx-hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: rgba(217, 201, 163, 0.82);
  margin-bottom: 6px;
}
.vipx-hero-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.3px;
  color: #fdf6e3;
  text-shadow: 0 2px 18px rgba(251, 191, 36, 0.28);
}
.vipx-hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px dashed rgba(251, 191, 36, 0.22);
}
.vipx-hero-exp {
  font-size: 11.5px;
  color: rgba(206, 196, 224, 0.85);
}
.vipx-hero-lv {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  padding: 3px 10px;
  border-radius: 999px;
  color: #2b1c02;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

/* ---------- 区块标题 ---------- */
.vipx-sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 2px 12px;
}
.vipx-sec-t {
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--v3-text);
  position: relative;
  padding-left: 11px;
}
.vipx-sec-t::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}
.vipx-sec-x {
  font-size: 11px;
  color: var(--v3-text-dim);
  letter-spacing: 0.6px;
}

/* ---------- 权益 ---------- */
.vipx-perms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.vipx-perm {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 15px 7px 13px;
  border-radius: 16px;
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.1);
  box-shadow: var(--v3-shadow);
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease;
}
.vipx-perm::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.55), transparent);
}
.vipx-perm:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 191, 36, 0.34);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.44), 0 0 22px rgba(251, 191, 36, 0.12);
}
.vipx-perm-ico {
  font-size: 24px;
  font-style: normal;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.45));
}
.vipx-perm b {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--v3-text);
}
.vipx-perm span {
  font-size: 10px;
  line-height: 1.5;
  color: var(--v3-text-dim);
}

/* ---------- 套餐 ---------- */
.vipx-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  align-items: stretch;
}
.vipx-plan {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 6px 14px;
  border-radius: 16px;
  background: var(--v3-glass);
  border: 1px solid rgba(110, 231, 255, 0.12);
  box-shadow: var(--v3-shadow);
  cursor: pointer;
  transition: transform var(--v3-spring), border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.vipx-plan:active { transform: scale(0.97); }
.vipx-plan.active {
  border-color: rgba(251, 191, 36, 0.72);
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(251, 191, 36, 0.2), transparent 62%),
    linear-gradient(165deg, rgba(46, 40, 26, 0.8), rgba(14, 14, 26, 0.9));
  box-shadow:
    0 0 26px rgba(251, 191, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.vipx-plan-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2.5px 8px 3px;
  font-size: 9.5px;
  font-weight: 800;
  color: #2b1c02;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  border-radius: 0 16px 0 10px;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.38);
}
.vipx-plan-ck {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 800;
  color: #2b1c02;
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform var(--v3-spring);
}
.vipx-plan.active .vipx-plan-ck { opacity: 1; transform: scale(1); }
.vipx-plan-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--v3-text);
  letter-spacing: 0.2px;
}
.vipx-plan-days {
  font-size: 10.5px;
  color: var(--v3-text-dim);
}
.vipx-plan-days b {
  font-size: 14px;
  font-weight: 800;
  margin-right: 1px;
  color: var(--v3-ice);
}
.vipx-plan.active .vipx-plan-days b { color: #fde68a; }
.vipx-plan-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  margin: 5px 0 6px;
  min-height: 17px;
}
.vipx-perk {
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 600;
  color: #b9d7ef;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(110, 231, 255, 0.16);
  white-space: nowrap;
}
.vipx-plan.active .vipx-perk {
  color: #ffe9b0;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.28);
}
.vipx-plan-price {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fbbf24, #fde68a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vipx-plan-price i {
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.vipx-plan-pts {
  font-size: 9.5px;
  color: var(--v3-text-dim);
  letter-spacing: 0.2px;
}

/* ---------- 操作区 ---------- */
.vipx-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.vipx-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--v3-spring), filter 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.vipx-btn:active { transform: scale(0.955); }
.vipx-btn-t {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1px;
}
.vipx-btn-sub {
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.82;
}
.vipx-btn-main {
  color: #2b1c02;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #f59e0b 100%);
  box-shadow:
    0 8px 24px rgba(251, 191, 36, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.vipx-btn-main:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.vipx-btn-ghost {
  color: #e6d9b8;
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.3);
}
.vipx-btn-ghost:hover {
  background: rgba(251, 191, 36, 0.13);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.16);
}
.vipx-tip {
  margin: 12px 4px 0;
  font-size: 10.5px;
  line-height: 1.7;
  color: rgba(139, 163, 192, 0.85);
}
.vipx-tip::before {
  content: 'ⓘ ';
  color: rgba(251, 191, 36, 0.75);
}

/* ---------- 补充：确认弹窗支持换行 / 点赞收藏缩略图视频回退 ---------- */
.dy-confirm-msg { white-space: pre-line; }
.vs-row video {
  width: 80px;
  height: 112px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #0a1020;
  pointer-events: none;
}

/* ================= 分销中心·星冕尊享重设计（distx） ================= */
.distx-card { padding: 0 14px 24px; }
.distx-hero {
  position: relative; margin: 14px 0 16px; padding: 26px 18px 22px;
  text-align: center; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(22, 30, 64, 0.82), rgba(8, 12, 26, 0.9));
  border: 1px solid var(--border-glow); box-shadow: var(--shadow-glow);
}
.distx-hero-glow {
  position: absolute; inset: -40% -20% auto -20%; height: 220px;
  background:
    radial-gradient(60% 80% at 30% 0%, rgba(0, 212, 255, 0.28), transparent 70%),
    radial-gradient(60% 80% at 75% 10%, rgba(155, 89, 182, 0.30), transparent 70%);
  filter: blur(8px); pointer-events: none;
  animation: distxGlow 6s ease-in-out infinite;
}
@keyframes distxGlow {
  0%, 100% { opacity: .75; transform: translateY(0) scale(1); }
  50% { opacity: 1; transform: translateY(6px) scale(1.04); }
}
.distx-badge {
  position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; font-size: 30px; line-height: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,212,255,.22), rgba(155,89,182,.22));
  border: 1.5px solid rgba(0,212,255,.5);
  box-shadow: 0 0 24px rgba(0,212,255,.35), inset 0 0 16px rgba(255,255,255,.08);
  animation: distxPulse 3.4s ease-in-out infinite;
}
@keyframes distxPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 22px rgba(0,212,255,.32), inset 0 0 16px rgba(255,255,255,.08); }
  50% { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 34px rgba(155,89,182,.5), inset 0 0 16px rgba(255,255,255,.12); }
}
.distx-title {
  position: relative; z-index: 1; font-size: 24px; font-weight: 900; letter-spacing: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.distx-sub { position: relative; z-index: 1; margin-top: 6px; font-size: 12.5px; color: var(--text-secondary); letter-spacing: .5px; }
.distx-rates { position: relative; z-index: 1; display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.distx-rate {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 64px; padding: 8px 6px; border-radius: 14px;
  background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.2);
}
.distx-rate i { font-style: normal; font-size: 10px; letter-spacing: 1px; color: var(--neon-cyan); opacity: .85; }
.distx-rate b { font-size: 15px; font-weight: 800; color: var(--text-primary); }
.distx-qrwrap { display: flex; flex-direction: column; align-items: center; margin: 0 0 14px; }
.distx-qr-frame {
  width: 182px; height: 182px; display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 30px rgba(0,212,255,.3), var(--shadow-glow);
}
.distx-qr-tip { margin-top: 12px; font-size: 11.5px; color: var(--text-secondary); letter-spacing: 1px; }
.distx-link {
  display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 12px; max-width: 100%;
  font-size: 11px; color: var(--text-secondary);
  background: rgba(0,212,255,.05); border: 1px solid rgba(96,160,255,.14);
  border-radius: 12px; word-break: break-all;
}
.distx-actions { display: flex; gap: 8px; margin: 0 0 16px; }
.distx-actions .inv-btn { flex: 1; height: 42px; padding: 0 10px; border-radius: 22px !important; font-size: 12.5px; white-space: nowrap; }
.distx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.distx-stat {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 16px;
  background: var(--bg-glass); border: 1px solid rgba(110,231,255,.12); box-shadow: var(--shadow-glow);
}
.distx-stat b { font-size: 17px; font-weight: 800; color: var(--text-primary); }
.distx-stat span { font-size: 11px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.distx-stat-lv span { gap: 2px; }
.distx-stat-lv .dist-link { background: none; border: none; padding: 0; margin: 0; color: var(--neon-cyan); font-size: 11px; cursor: pointer; }

/* 分销中心底部说明文字：字号缩小、弱化配色 */
.distx-foot {
  margin: 14px 4px 2px;
  padding-top: 10px;
  border-top: 1px solid var(--border-glow, rgba(255,255,255,.08));
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  opacity: .72;
  text-align: center;
  letter-spacing: .3px;
}

/* 提现渠道图标（SVG 替代 emoji，避免渲染为纯色气泡） */
.wd-ch-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: block; font-size: 0; line-height: 0; }

/* ---------- 地址：省/市/区 三级联动选择器 ---------- */
.addr-prov-row select.form-in {
  -webkit-appearance: none; appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
  padding-right: 26px;
}
/* 下拉选项统一走全局 select.form-in option 的浅底深字，避免各页各写一套 */
.addr-prov-row select.form-in:disabled { opacity: .45; }

/* ============================================================
   v3.5 修复补丁：长标题截断 / 桌面端购买栏归位 / 分销页脚 / 提现图标
   ============================================================ */

/* ---------- 1) 桌面端商品详情底部购买栏：与 720px 居中内容对齐 ---------- */
/* .gd-page .dd-buybar 的 left:0;right:0 优先级高于 900px 媒体查询，
   导致桌面端购买栏横跨整个窗口、与居中内容错位。此处按页面容器宽度居中。 */
@media (min-width: 900px) {
  .gd-page .dd-buybar {
    left: 50%;
    right: auto;
    width: 720px;
    max-width: 720px;
    transform: translateX(-50%);
    border-left: 1px solid var(--v3-line, var(--border-glow));
    border-right: 1px solid var(--v3-line, var(--border-glow));
    border-radius: 14px 14px 0 0;
  }
}

/* ---------- 2) 商城/积分商城长商品名：两行截断 + 省略号 ---------- */
.goods-cell .g-name,
.g-cell .g-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  word-break: break-word;
  min-height: 39px;
}

/* ---------- 3) 分销中心底部说明：更小字号 + 弱化 ---------- */
.distx-foot {
  margin: 12px 2px 4px;
  padding-top: 9px;
  border-top: 1px solid var(--border-glow, rgba(255,255,255,.08));
  font-size: 9.5px !important;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--text-secondary);
  opacity: .5;
  text-align: center;
  font-weight: 400;
}

/* ---------- 4) 提现渠道图标：SVG 清晰渲染（禁止继承 emoji 字号） ---------- */
.wd-tech-ch .wd-ch-ico,
.wd-tech-ch .wd-tech-ch-ico svg {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
  border-radius: 9px;
  font-size: 0;            /* 覆盖 emoji 的 font-size:18px，防止 SVG 被字距撑开 */
  line-height: 0;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
  shape-rendering: geometricPrecision;
}
.wd-tech-ch .wd-tech-ch-ico { margin-bottom: 2px; }

/* 通用：任何用 SVG 的渠道图标不被 emoji 规则污染 */
.rch-ch svg.rch-pay-ico,
.wd-ch-ico { display: block; flex: none; }

/* ============================================================
   v3.6 修复补丁：文字样式 / 提现图标 / 弹层遮挡 / 购买栏按钮适配
   ============================================================ */

/* ---------- 1) 说明文字统一降级：加样式 + 缩小字号，适配页面 ---------- */
/* .inv-tip 此前完全没有 CSS 定义，继承 body 的 16px，导致说明文字巨大 */
.inv-tip {
  margin: 12px 0 4px;
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--v3-text-dim, #8b9bc4);
  background: rgba(34, 211, 238, .05);
  border: 1px solid var(--v3-line, rgba(110, 231, 255, .12));
  border-left: 2px solid rgba(34, 211, 238, .45);
  border-radius: 10px;
  text-align: left;
  letter-spacing: .2px;
}

/* 分销页底部说明 */
.distx-foot {
  font-size: 10px !important;
  line-height: 1.7;
  opacity: .45;
  margin: 10px 2px 6px;
  padding-top: 8px;
}

/* 提现规则标题与条目 */
.wd-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--v3-text, #e8f4ff);
  margin: 0 0 8px;
  padding-left: 9px;
  position: relative;
  letter-spacing: .5px;
}
.wd-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
}
.wd-rule {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--v3-text-dim, #8b9bc4);
  padding: 1px 0 1px 2px;
  margin: 0;
  word-break: break-word;
}
.wd-rule + .wd-rule { margin-top: 3px; }

/* 提现页顶部提示语 */
.wd-tech-tip {
  font-size: 11px;
  line-height: 1.7;
  color: var(--v3-text-dim, #8b9bc4);
  margin: 8px 0 0;
}

/* ---------- 2) 提现渠道图标：改为纯色块+字形，避免小尺寸下细节糊成一团 ---------- */
/* 旧版 SVG 在 30px 下 path 细节 + drop-shadow 会渲染成一团模糊色块 */
.wd-tech-ch .wd-ch-ico,
.wd-tech-ch svg.wd-ch-ico {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
  font-size: 0;
  line-height: 0;
  border-radius: 10px;
  filter: none;                 /* 去掉 drop-shadow，避免边缘发虚 */
  shape-rendering: auto;
  overflow: visible;
}
/* 用 SVG 内部 <text> 渲染字形时，强制继承中文字体，避免回退成方块 */
.wd-tech-ch .wd-ch-ico text,
.rch-pay-ico text {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-weight: 700;
  text-anchor: middle;
}
/* 充值页渠道图标同样去掉模糊滤镜 */
.rch-pay-ico {
  filter: none;
  shape-rendering: auto;
  overflow: visible;
}

/* ---------- 3) 弹层被底部导航栏遮挡（购买/购物车底部按钮无法点击） ---------- */
/* .dd-sheet-mask 原本 z-index:300，而 .app-tabbar 是 900 → 弹层被 tabbar 压住，
   规格弹层的「加入购物车 / 立即购买」按钮落在 tabbar 下面，点不到。
   取 920：高于 tabbar(900)，低于 login-mask(940)/toast(950)，保证提示仍可见。 */
.dd-sheet-mask {
  z-index: 920;
}
.dd-sheet {
  z-index: 921;
}
.dd-sheet-foot {
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
}
/* 弹层里的主按钮必须可点击，不被任何层遮挡 */
.dd-sheet-foot .dd-add-cart,
.dd-sheet-foot .dd-buy-now {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
/* 结算/订单类 sheet 也使用同一遮罩，保持一致 */
.dd-sheet-mask .cart-bar,
.dd-sheet-mask .dd-buybar { position: static; }

/* ---------- 4) 商品详情底部购买栏：按钮文字不换行、比例自适应 ---------- */
.dd-buybar .dd-add-cart,
.dd-buybar .dd-buy-now,
.cart-bar .dd-add-cart,
.cart-bar .dd-buy-now {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 8px;
  font-size: 13px;
  letter-spacing: 0;
  text-align: center;
}
/* 三个图标按钮收窄，给两个主按钮留出足够宽度 */
.dd-buybar .dd-bar-item {
  padding: 2px 4px;
  min-width: 34px;
}
.dd-buybar .dd-bar-item span { font-size: 9.5px; }
.gd-page .dd-buybar {
  gap: 6px;
  padding-left: 8px;
  padding-right: 8px;
}
/* 桌面端：主按钮限宽，避免拉得过散 */
@media (min-width: 900px) {
  .gd-page .dd-buybar .dd-add-cart,
  .gd-page .dd-buybar .dd-buy-now {
    flex: 0 1 150px;
    font-size: 14px;
  }
}
