@charset "UTF-8";
/* ============================================================
 * 默认主题样式表  —— 四端自适应（PC / 平板 / 手机 / 小窗口）
 * 颜色通过 CSS 变量由后台控制（见 layout.php 内联 :root）
 * ============================================================ */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7;
    color: var(--c-text); background: var(--c-bg);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--c-primary); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 1em; }
input, textarea, select, button { font-family: inherit; font-size: inherit; outline: none; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }

/* v1.9：全局补齐 [hidden]。
   HTML 里 [hidden] 只声明 UA 默认的 display:none，任何写了 display 的类
   （.icon-btn{display:inline-flex}、.lot-mask{display:flex}…）都会把它盖掉，
   于是「隐藏」失效 —— 抽奖弹窗与消息角标都栽在这上面。这里一次性兜住。 */
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--c-primary); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 0; }

/* ---------------- 布局 ---------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.main { min-height: 40vh; }
.section { padding: 56px 0; }
.section-gray { background: var(--c-bg-gray); }
.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.section-title { font-size: 28px; letter-spacing: .5px; }
.section-sub { color: var(--c-text-sub); margin-top: 8px; font-size: 14px; }
.section-head .line { width: 42px; height: 3px; background: var(--c-primary); margin-top: 14px; border-radius: 2px; }
.section-head.center .line { margin-left: auto; margin-right: auto; }

/* ---------------- 核心优势图标（v1.16.3：支持后台上传自定义图片） ---------------- */
.feat-ico { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 14px;
            background: var(--c-primary-l); color: var(--c-primary);
            display: flex; align-items: center; justify-content: center; font-size: 26px; }
.feat-ico.is-img { background: transparent; }
.feat-ico img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------------- 图标（mask 方式，颜色跟随文字） ---------------- */
.ic { display: inline-block; width: 1em; height: 1em; background: currentColor; vertical-align: -.15em;
      -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center;
      mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.ic-phone{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")}
.ic-mail{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 6 10-6'/%3E%3C/svg%3E")}
.ic-location{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E")}
.ic-search{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E")}
.ic-cart{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E")}
.ic-user{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")}
.ic-arrow-down{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.ic-arrow-right{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}
.ic-home{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m3 9 9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E")}
.ic-goods{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5M12 22V12'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5M12 22V12'/%3E%3C/svg%3E")}
.ic-news{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0V9'/%3E%3Cpath d='M18 14h-8M15 18h-5M10 6h8v4h-8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0V9'/%3E%3Cpath d='M18 14h-8M15 18h-5M10 6h8v4h-8z'/%3E%3C/svg%3E")}
.ic-message{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E")}
.ic-service{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 18v-6a9 9 0 0 1 18 0v6'/%3E%3Cpath d='M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z'/%3E%3C/svg%3E")}
.ic-top{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E")}
.ic-clock{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E")}
.ic-eye{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}
.ic-tag{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cpath d='M7 7h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20.59 13.41 13.42 20.58a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cpath d='M7 7h.01'/%3E%3C/svg%3E")}
.ic-wechat{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8.7 3C4.6 3 1.3 5.8 1.3 9.2c0 1.9 1.1 3.6 2.8 4.8l-.7 2.1 2.4-1.2c.8.2 1.6.4 2.5.4h.6c-.1-.4-.2-.9-.2-1.4 0-3.3 3.2-6 7.2-6h.6C15.8 5.2 12.6 3 8.7 3zM6.2 7.9a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm5 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3Cpath d='M22.7 14.1c0-2.8-2.8-5-6.2-5s-6.2 2.2-6.2 5 2.8 5 6.2 5c.7 0 1.4-.1 2.1-.3l2 1-.6-1.8c1.6-1 2.7-2.4 2.7-3.9zm-8.2-.6a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8zm4 0a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M8.7 3C4.6 3 1.3 5.8 1.3 9.2c0 1.9 1.1 3.6 2.8 4.8l-.7 2.1 2.4-1.2c.8.2 1.6.4 2.5.4h.6c-.1-.4-.2-.9-.2-1.4 0-3.3 3.2-6 7.2-6h.6C15.8 5.2 12.6 3 8.7 3zM6.2 7.9a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm5 0a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3Cpath d='M22.7 14.1c0-2.8-2.8-5-6.2-5s-6.2 2.2-6.2 5 2.8 5 6.2 5c.7 0 1.4-.1 2.1-.3l2 1-.6-1.8c1.6-1 2.7-2.4 2.7-3.9zm-8.2-.6a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8zm4 0a.9.9 0 1 1 0-1.8.9.9 0 0 1 0 1.8z'/%3E%3C/svg%3E")}
.ic-weibo{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 20c-4 0-7.3-2.2-7.3-4.7 0-1.3.8-2.8 2.3-4.1C7.3 9.3 10 8.3 11.4 9c.5.3.4 1 .1 1.6-.1.2-.2.4-.2.5 0 .3.2.5.5.5.6 0 2-1.1 3.3-1.1 1.7 0 2.6.9 2.6 2 0 .4-.1.9-.4 1.4.3.2.7.3 1.2.3 1.6 0 2.5-.9 2.5-2.2 0-2.4-2.7-4.5-5.6-4.5-.7 0-1.4.1-2.1.3.6-2 2.7-3.5 5.2-3.5 3.2 0 5.6 2.1 5.6 4.8 0 2.5-1.9 4.3-4.6 4.6-.2 1.2-1.1 2.3-2.6 3.3-1.9 1.3-4.2 2-6 2zm-.1-6.6c-2 .2-3.5 1.4-3.5 2.8 0 1.4 1.7 2.5 3.9 2.5 2.6 0 4.4-1.4 4.4-2.8 0-1.3-1.6-2.5-3.9-2.5-.3 0-.6 0-.9.1zm-.6 3.7c-.7 0-1.2-.5-1.2-1.1 0-.6.5-1.1 1.2-1.1.7 0 1.2.5 1.2 1.1 0 .6-.5 1.1-1.2 1.1z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M10 20c-4 0-7.3-2.2-7.3-4.7 0-1.3.8-2.8 2.3-4.1C7.3 9.3 10 8.3 11.4 9c.5.3.4 1 .1 1.6-.1.2-.2.4-.2.5 0 .3.2.5.5.5.6 0 2-1.1 3.3-1.1 1.7 0 2.6.9 2.6 2 0 .4-.1.9-.4 1.4.3.2.7.3 1.2.3 1.6 0 2.5-.9 2.5-2.2 0-2.4-2.7-4.5-5.6-4.5-.7 0-1.4.1-2.1.3.6-2 2.7-3.5 5.2-3.5 3.2 0 5.6 2.1 5.6 4.8 0 2.5-1.9 4.3-4.6 4.6-.2 1.2-1.1 2.3-2.6 3.3-1.9 1.3-4.2 2-6 2zm-.1-6.6c-2 .2-3.5 1.4-3.5 2.8 0 1.4 1.7 2.5 3.9 2.5 2.6 0 4.4-1.4 4.4-2.8 0-1.3-1.6-2.5-3.9-2.5-.3 0-.6 0-.9.1zm-.6 3.7c-.7 0-1.2-.5-1.2-1.1 0-.6.5-1.1 1.2-1.1.7 0 1.2.5 1.2 1.1 0 .6-.5 1.1-1.2 1.1z'/%3E%3C/svg%3E")}
.ic-qq{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2c3.3 0 5.4 2.4 5.4 5.6 0 .9.1 1.5.6 2.4.8 1.3 1.7 2.6 1.9 4.2.2 1.7-.5 2.3-1.3 2.3-.6 0-1.1-.4-1.5-1.1-.3.8-1.1 1.5-2.2 1.9.7.3 1.1.7 1.1 1.2 0 .9-1.7 1.5-3.9 1.5s-3.9-.6-3.9-1.5c0-.5.4-.9 1.1-1.2-1.1-.4-1.9-1.1-2.2-1.9-.4.7-.9 1.1-1.5 1.1-.8 0-1.5-.6-1.3-2.3.2-1.6 1.1-2.9 1.9-4.2.5-.9.6-1.5.6-2.4C6.6 4.4 8.7 2 12 2z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2c3.3 0 5.4 2.4 5.4 5.6 0 .9.1 1.5.6 2.4.8 1.3 1.7 2.6 1.9 4.2.2 1.7-.5 2.3-1.3 2.3-.6 0-1.1-.4-1.5-1.1-.3.8-1.1 1.5-2.2 1.9.7.3 1.1.7 1.1 1.2 0 .9-1.7 1.5-3.9 1.5s-3.9-.6-3.9-1.5c0-.5.4-.9 1.1-1.2-1.1-.4-1.9-1.1-2.2-1.9-.4.7-.9 1.1-1.5 1.1-.8 0-1.5-.6-1.3-2.3.2-1.6 1.1-2.9 1.9-4.2.5-.9.6-1.5.6-2.4C6.6 4.4 8.7 2 12 2z'/%3E%3C/svg%3E")}
.ic-qzone{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3Cpath d='M8.5 9a3.5 3.5 0 0 1 7 0c0 2-3.5 3.5-3.5 5.5M12 18h.01'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z'/%3E%3Cpath d='M8.5 9a3.5 3.5 0 0 1 7 0c0 2-3.5 3.5-3.5 5.5M12 18h.01'/%3E%3C/svg%3E")}
.ic-douban{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 4h18M5 9h14M4 14h16M8 14c0 4 2 6 4 6s4-2 4-6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 4h18M5 9h14M4 14h16M8 14c0 4 2 6 4 6s4-2 4-6'/%3E%3C/svg%3E")}
.ic-link{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7'/%3E%3C/svg%3E")}
.ic-share{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E")}

.ic-moments{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3C/svg%3E")}
.ic-ding{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 4v5.2c0 4.6-3.2 8.2-7.5 9.3-4.3-1.1-7.5-4.7-7.5-9.3V7L12 3z'/%3E%3Cpath d='M8.8 12.2l2.3 2.3 4.1-4.3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 4v5.2c0 4.6-3.2 8.2-7.5 9.3-4.3-1.1-7.5-4.7-7.5-9.3V7L12 3z'/%3E%3Cpath d='M8.8 12.2l2.3 2.3 4.1-4.3'/%3E%3C/svg%3E")}
.ic-feishu{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4L3 11l7 2 2 7 9-16z'/%3E%3Cpath d='M10 13l4.5-4.5'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 4L3 11l7 2 2 7 9-16z'/%3E%3Cpath d='M10 13l4.5-4.5'/%3E%3C/svg%3E")}
.ic-qr{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Cpath d='M14 14h3.2v3.2H14zM19.6 14H21v3.2h-1.4zM14 19.6h3.2V21H14zM19.6 19.6H21V21h-1.4z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Cpath d='M14 14h3.2v3.2H14zM19.6 14H21v3.2h-1.4zM14 19.6h3.2V21H14zM19.6 19.6H21V21h-1.4z'/%3E%3C/svg%3E")}
.ic-img{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.8' cy='9.8' r='1.8'/%3E%3Cpath d='M4 18.5l5-5 3.6 3.6L16 13.7l4 4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='8.8' cy='9.8' r='1.8'/%3E%3Cpath d='M4 18.5l5-5 3.6 3.6L16 13.7l4 4'/%3E%3C/svg%3E")}
.ic-copy{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E")}
.ic-check{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9.5 16.5 4 11'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9.5 16.5 4 11'/%3E%3C/svg%3E")}

/* ---------------- 顶栏 ---------------- */
.topbar { background: var(--c-bg-gray); border-bottom: 1px solid var(--c-border); font-size: 13px; color: var(--c-text-sub); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.topbar-item { display: inline-flex; align-items: center; gap: 5px; }
.topbar-item:hover { color: var(--c-primary); }

/* ---------------- 头部 ---------------- */
.site-header {
    background: var(--c-header-bg); color: var(--c-header-fg);
    border-bottom: 1px solid var(--c-border); position: sticky; top: 0; z-index: 100;
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo img { max-height: 44px; width: auto; }
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: .5px; color: var(--c-primary); }
.header-right { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }

.main-nav { flex: 1; display: flex; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
    display: flex; align-items: center; gap: 4px; padding: 0 15px; height: 72px;
    font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav-item > a .ic { font-size: 12px; opacity: .6; }
.nav-item:hover > a, .nav-item.is-active > a { color: var(--c-primary); }
.nav-item.is-active > a { position: relative; }
.nav-item.is-active > a::after {
    content: ''; position: absolute; left: 15px; right: 15px; bottom: 0; height: 3px;
    background: var(--c-primary); border-radius: 2px 2px 0 0;
}
.sub-toggle { display: none; }

/* 二级菜单 */
.sub-nav {
    position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(6px);
    min-width: 190px; background: #fff; border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12); padding: 8px; opacity: 0; visibility: hidden;
    transition: all .22s; z-index: 60;
}
.nav-item:hover > .sub-nav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-nav > li { position: relative; }
.sub-nav > li > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 6px; font-size: 14px; white-space: nowrap; }
.sub-nav > li > a:hover { background: var(--c-primary-l); color: var(--c-primary); }
.sub-nav2 {
    position: absolute; left: 100%; top: -8px; min-width: 180px; background: #fff;
    border-radius: var(--radius); box-shadow: 0 8px 32px rgba(0, 0, 0, .12); padding: 8px;
    opacity: 0; visibility: hidden; transition: all .2s;
}
.sub-nav > li:hover > .sub-nav2 { opacity: 1; visibility: visible; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--c-header-fg); position: relative; }
.icon-btn:hover { background: var(--c-bg-gray); color: var(--c-primary); }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--c-accent); color: #fff; font-size: 11px; font-style: normal; line-height: 17px; text-align: center; }
.btn-cta { margin-left: 6px; }

.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-header-fg); border-radius: 2px; transition: .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-panel { display: none; border-top: 1px solid var(--c-border); background: #fff; padding: 18px 0; }
.search-panel.is-open { display: block; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; height: 46px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0 16px; font-size: 15px; }
.search-form input:focus { border-color: var(--c-primary); }
.search-hot { margin-top: 12px; font-size: 13px; color: var(--c-text-sub); }
.search-hot a { margin-right: 12px; }

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; padding: 0 22px; border-radius: var(--radius); font-size: 15px;
    font-weight: 500; transition: all .2s; white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--c-primary); color: var(--c-btn-text); }
.btn-primary:hover { background: var(--c-primary-d); color: var(--c-btn-text); transform: translateY(-1px); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { opacity: .9; color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: var(--c-btn-text); }
.btn-gray { background: var(--c-bg-gray); color: var(--c-text); border-color: var(--c-border); }
.btn-gray:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-lg { height: 50px; padding: 0 32px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------------- 首页 首屏 ---------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%); color: #fff; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 72px 0; }
.hero-title { font-size: 42px; line-height: 1.25; margin-bottom: 18px; }
.hero-desc { font-size: 17px; opacity: .9; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-primary { background: #fff; color: var(--c-primary); }
.hero-actions .btn-primary:hover { background: rgba(255, 255, 255, .9); color: var(--c-primary); }
.hero-actions .btn-outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--c-primary); }
.hero-media img { border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat b { display: block; font-size: 30px; line-height: 1.2; }
.hero-stat span { font-size: 13px; opacity: .8; }

/* 轮播 */
.swiper { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.slide-dots { display: flex; gap: 8px; margin-top: 22px; }
.slide-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.slide-dots button.is-active { width: 26px; border-radius: 5px; background: #fff; }

/* ---------------- 网格 ---------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------------- 产品卡片 ---------------- */
.product-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .09); border-color: transparent; }
.product-thumb { display: block; position: relative; padding-top: 75%; background: var(--c-bg-gray); overflow: hidden; }
.product-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--c-accent); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; z-index: 2; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.product-name a:hover { color: var(--c-primary); }
.product-desc { font-size: 13px; color: var(--c-text-sub); -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; flex: 1; }
.product-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.price { color: #F53F3F; font-weight: 700; font-size: 20px; line-height: 1; }
.price small { font-size: 13px; font-weight: 500; }
.price-old { color: var(--c-text-sub); font-size: 13px; text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-sales { font-size: 12px; color: var(--c-text-sub); }

/* ---------------- 文章卡片 ---------------- */
.article-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, .09); }
.article-thumb { display: block; position: relative; padding-top: 58%; background: var(--c-bg-gray); overflow: hidden; }
.article-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.article-cat { font-size: 12px; color: var(--c-primary); background: var(--c-primary-l); padding: 2px 10px; border-radius: 20px; align-self: flex-start; margin-bottom: 10px; }
.article-title { font-size: 17px; font-weight: 600; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-title a:hover { color: var(--c-primary); }
.article-summary { font-size: 13px; color: var(--c-text-sub); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-bottom: 14px; }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--c-text-sub); border-top: 1px dashed var(--c-border); padding-top: 12px; }
.article-meta .ic { font-size: 13px; }

/* 列表形式的文章 */
.article-list-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.article-list-item:last-child { border-bottom: 0; }
.article-list-thumb { flex: 0 0 220px; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-gray); }
.article-list-thumb img { width: 100%; height: 140px; object-fit: cover; transition: transform .5s; }
.article-list-item:hover .article-list-thumb img { transform: scale(1.05); }
.article-list-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.article-list-main h3 { font-size: 19px; margin-bottom: 10px; }
.article-list-main h3 a:hover { color: var(--c-primary); }
.article-list-main p { color: var(--c-text-sub); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.article-list-main .article-meta { border-top: 0; padding-top: 0; }

/* ---------------- 分类导航 ---------------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cat-tabs a { padding: 8px 18px; border-radius: 30px; background: #fff; border: 1px solid var(--c-border); font-size: 14px; }
.cat-tabs a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cat-tabs a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-btn-text); }

/* ---------------- 面包屑 ---------------- */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--c-text-sub); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .cur { color: var(--c-text); }

/* ---------------- 侧栏 ---------------- */
.layout-side { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.widget { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; }
.widget-title { font-size: 17px; margin-bottom: 16px; padding-left: 12px; position: relative; }
.widget-title::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--c-primary); border-radius: 2px; }
.widget-list li { padding: 9px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; display: flex; gap: 10px; }
.widget-list li:last-child { border-bottom: 0; }
.widget-list li a { flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.widget-list .rank { flex: 0 0 20px; height: 20px; line-height: 20px; text-align: center; background: var(--c-bg-gray); color: var(--c-text-sub); border-radius: 4px; font-size: 12px; font-weight: 600; }
.widget-list li:nth-child(1) .rank { background: #F53F3F; color: #fff; }
.widget-list li:nth-child(2) .rank { background: #FF7D00; color: #fff; }
.widget-list li:nth-child(3) .rank { background: #FFB400; color: #fff; }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags a { padding: 4px 12px; background: var(--c-bg-gray); border-radius: 20px; font-size: 13px; color: var(--c-text-sub); }
.widget-tags a:hover { background: var(--c-primary); color: #fff; }

/* ---------------- 详情页 ---------------- */
.page-hero { background: var(--c-bg-gray); padding: 34px 0; border-bottom: 1px solid var(--c-border); }
.page-hero h1 { font-size: 30px; }
.detail-wrap { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 32px; }
.detail-head h1 { font-size: 28px; line-height: 1.4; margin-bottom: 16px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--c-text-sub); padding-bottom: 20px; border-bottom: 1px solid var(--c-border); margin-bottom: 26px; }
.detail-content { font-size: 16px; line-height: 1.9; color: #2b2f36; word-wrap: break-word; }
.detail-content h2 { font-size: 22px; margin: 1.6em 0 .7em; padding-left: 12px; border-left: 4px solid var(--c-primary); }
.detail-content h3 { font-size: 19px; margin: 1.4em 0 .6em; }
.detail-content p { margin: 0 0 1.2em; }
.detail-content img { border-radius: var(--radius); margin: 14px 0; }
.detail-content ul, .detail-content ol { margin: 0 0 1.2em 1.4em; }
.detail-content ul li { list-style: disc; }
.detail-content ol li { list-style: decimal; }
.detail-content blockquote { margin: 1.2em 0; padding: 14px 20px; background: var(--c-bg-gray); border-left: 4px solid var(--c-primary); border-radius: 0 6px 6px 0; color: var(--c-text-sub); }
.detail-content table { margin: 1.2em 0; border: 1px solid var(--c-border); }
.detail-content table th, .detail-content table td { border: 1px solid var(--c-border); padding: 10px 14px; }
.detail-content table th { background: var(--c-bg-gray); }
.detail-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.detail-content pre { background: #1d2129; color: #e5e6eb; padding: 16px; border-radius: var(--radius); overflow-x: auto; font-size: 13px; }
.detail-content code { background: var(--c-bg-gray); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.detail-content pre code { background: none; padding: 0; }
.detail-content video, .detail-content iframe { max-width: 100%; border-radius: var(--radius); }

/* 自动内链样式 */
.il-link { color: var(--c-primary) !important; border-bottom: 1px dashed currentColor; text-decoration: none !important; }
.il-link:hover { color: var(--c-primary-d) !important; }

/* 相关推荐 */
.related-block { margin-top: 40px; }
.related-block h3 { font-size: 19px; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--c-primary); }
.related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-list a { display: block; padding: 12px 16px; background: var(--c-bg-gray); border-radius: var(--radius); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.related-list a:hover { background: var(--c-primary-l); color: var(--c-primary); }

/* 上一篇/下一篇 */
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--c-border); font-size: 14px; }
.post-nav a { flex: 1; color: var(--c-text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-nav a:hover { color: var(--c-primary); }
.post-nav .next { text-align: right; }

/* ---------------- 商品详情 ---------------- */
.product-detail { display: grid; grid-template-columns: 460px 1fr; gap: 40px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; }
.pd-gallery .main-img { position: relative; padding-top: 100%; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-gray); }
.pd-gallery .main-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.is-active { border-color: var(--c-primary); }
.pd-info h1 { font-size: 25px; line-height: 1.4; margin-bottom: 14px; }
.pd-summary { color: var(--c-text-sub); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.pd-price-box { background: linear-gradient(90deg, #FFF5F5, #FFF9F0); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }
.pd-price { color: #F53F3F; font-size: 34px; font-weight: 700; line-height: 1; }
.pd-price small { font-size: 18px; }
.pd-price-old { color: var(--c-text-sub); text-decoration: line-through; margin-left: 12px; font-size: 15px; }
.pd-stats { display: flex; gap: 24px; margin-top: 10px; font-size: 13px; color: var(--c-text-sub); }
.pd-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.pd-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.pd-row .label { color: var(--c-text-sub); flex: 0 0 62px; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-options button { padding: 6px 16px; border: 1px solid var(--c-border); border-radius: 6px; font-size: 14px; background: #fff; }
.spec-options button.is-active { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-l); }
.qty-box { display: flex; align-items: center; border: 1px solid var(--c-border); border-radius: 6px; overflow: hidden; }
.qty-box button { width: 36px; height: 38px; font-size: 17px; background: var(--c-bg-gray); }
.qty-box input { width: 62px; height: 38px; border: 0; text-align: center; font-size: 15px; }
.pd-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pd-actions .btn { min-width: 140px; }
.pd-service { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--c-border); font-size: 13px; color: var(--c-text-sub); }
.pd-service span { display: inline-flex; align-items: center; gap: 5px; }

/* 详情 Tab */
.tabs { margin-top: 30px; }
.tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); overflow-x: auto; }
.tab-nav button { padding: 13px 26px; font-size: 15px; font-weight: 500; color: var(--c-text-sub); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-nav button.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab-pane { display: none; padding: 26px 0; }
.tab-pane.is-active { display: block; }

/* ---------------- 分享条 ---------------- */
/* ---------------- 分享（卡片化 / 多平台） ---------------- */
.share-card { margin: 26px 0; padding: 16px 18px; background: var(--c-bg-gray); border-radius: var(--radius); border: 1px solid var(--c-border); }
.share-preview { display: flex; gap: 14px; padding: 12px; background: #fff; border-radius: 10px; overflow: hidden; }
.share-preview-img { flex: 0 0 108px; width: 108px; height: 108px; border-radius: 8px; overflow: hidden; background: var(--c-bg-gray); display: flex; align-items: center; justify-content: center; }
.share-preview-img img { width: 100%; height: 100%; object-fit: cover; }
.share-noimg { font-size: 13px; color: var(--c-text-sub); text-align: center; padding: 0 8px; word-break: break-all; }
.share-preview-txt { flex: 1; min-width: 0; }
.share-preview-txt strong { display: block; font-size: 15px; line-height: 1.5; margin-bottom: 6px; color: var(--c-text); }
.share-preview-txt p { font-size: 13px; color: var(--c-text-sub); line-height: 1.6; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-preview-site { font-size: 12px; color: var(--c-text-sub); }
.share-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.share-label { font-size: 14px; color: var(--c-text-sub); }
.share-btn { height: 34px; padding: 0 12px; border-radius: 17px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; background: #b0b5bd; transition: transform .2s, opacity .2s; border: 0; cursor: pointer; }
.share-btn em { font-style: normal; }
.share-btn:hover { transform: translateY(-2px); color: #fff; opacity: .92; }
.share-wechat { background: #07C160; }
.share-wechat_timeline { background: #2AAE67; }
.share-weibo { background: #E6162D; }
.share-qq { background: #12B7F5; }
.share-qzone { background: #FFCE00; color: #8a6d00; }
.share-qzone:hover { color: #8a6d00; }
.share-douban { background: #2E963D; }
.share-dingtalk { background: #3296FA; }
.share-feishu { background: #3370FF; }
.share-telegram { background: #2AABEE; }
.share-twitter { background: #1DA1F2; }
.share-facebook { background: #1877F2; }
.share-linkedin { background: #0A66C2; }
.share-qrcode { background: #4E5969; }
.share-poster { background: #FF7D00; }
.share-copy { background: #4E5969; }
.share-system { background: var(--c-primary); }
.share-invite-tip { margin-top: 10px; font-size: 12px; color: var(--c-text-sub); line-height: 1.7; }
.share-invite-tip b { color: var(--c-primary); }
.share-poster-wrap { text-align: center; margin-bottom: 10px; }
#sharePosterCanvas { width: 100%; max-width: 330px; height: auto; border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); background: #fff; }
.share-poster-tip { font-size: 12px; color: var(--c-text-sub); margin: 10px 0; text-align: center; }
.share-poster-ops { display: flex; gap: 10px; justify-content: center; }
.share-card-compact { margin: 16px 0 0; padding: 0; background: none; border: 0; }
.share-card-compact .share-actions { margin-top: 0; gap: 8px; }
.share-card-compact .share-btn { height: 30px; padding: 0 10px; font-size: 12px; gap: 4px; }
.share-card-compact .share-label { font-size: 13px; }
@media (max-width: 480px) {
    .share-btn em { display: none; }
    .share-btn { width: 34px; padding: 0; justify-content: center; }
    .share-preview-img { flex: 0 0 84px; width: 84px; height: 84px; }
    .share-card-compact .share-btn { width: 30px; }
}

/* ---------------- 弹窗 ---------------- */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); backdrop-filter: blur(2px); }
.modal-box { position: relative; background: #fff; border-radius: 12px; padding: 28px; max-width: 520px; width: 100%; max-height: 88vh; overflow-y: auto; animation: modalIn .25s ease; z-index: 2; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-box-sm { max-width: 360px; text-align: center; }
.modal-title { font-size: 19px; margin-bottom: 18px; }
.modal-close { position: absolute; top: 12px; right: 14px; font-size: 26px; line-height: 1; color: var(--c-text-sub); }
.modal-close:hover { color: var(--c-text); }
.share-qr-img { width: 200px; height: 200px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; }
.share-qr-img img, .share-qr-img svg, .share-qr-img canvas { width: 100%; height: 100%; }
.share-qr-wrap p { font-size: 13px; color: var(--c-text-sub); line-height: 1.7; margin-bottom: 12px; }
.share-url-input { width: 100%; height: 38px; border: 1px solid var(--c-border); border-radius: 6px; padding: 0 12px; font-size: 12px; color: var(--c-text-sub); background: var(--c-bg-gray); }

/* ---------------- 表单 ---------------- */
.form-row { margin-bottom: 18px; }
.form-label { display: block; font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.form-label .req { color: #F53F3F; margin-left: 3px; }
.form-control { width: 100%; height: 44px; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0 14px; font-size: 15px; background: #fff; transition: border-color .2s; }
.form-control:focus { border-color: var(--c-primary); }
textarea.form-control { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.form-hint { font-size: 12px; color: var(--c-text-sub); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 18px; display: none; }
.form-msg.is-ok { display: block; background: #E8FFF0; color: #0F8A43; border: 1px solid #B7EBC9; }
.form-msg.is-err { display: block; background: #FFF1F0; color: #D32F2F; border: 1px solid #FFCCC7; }

/* ---------------- 留言页 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 30px; }
.contact-info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--c-border); }
.contact-info-list li:last-child { border-bottom: 0; }
.contact-info-list .ci-icon { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--c-primary-l); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.contact-info-list .ci-body { flex: 1; }
.contact-info-list .ci-label { font-size: 13px; color: var(--c-text-sub); margin-bottom: 2px; }
.contact-info-list .ci-value { font-size: 15px; font-weight: 500; word-break: break-all; }

/* ---------------- 分页 ---------------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 38px; height: 38px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--c-border); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: #fff; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-btn-text); }
.pagination .disabled { opacity: .45; pointer-events: none; }

/* ---------------- 购物车 / 结算 ---------------- */
.cart-table { width: 100%; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.cart-table th { background: var(--c-bg-gray); font-size: 14px; font-weight: 600; padding: 14px; text-align: left; }
.cart-table td { padding: 16px 14px; border-top: 1px solid var(--c-border); font-size: 14px; vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--c-bg-gray); }
.cart-prod .name { font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-del { color: var(--c-text-sub); font-size: 16px; }
.cart-del:hover { color: #F53F3F; }
.cart-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); margin-top: 20px; flex-wrap: wrap; }
.cart-total { font-size: 15px; }
.cart-total b { color: #F53F3F; font-size: 26px; margin-left: 6px; }
.cart-empty { text-align: center; padding: 70px 20px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); }
.cart-empty .ic { font-size: 56px; color: var(--c-border); display: block; margin: 0 auto 18px; }

.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.order-summary { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.summary-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; }
.summary-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; }
.summary-item .si-main { flex: 1; min-width: 0; }
.summary-item .si-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.summary-item .si-price { color: var(--c-text-sub); font-size: 13px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; font-size: 15px; }
.summary-total b { color: #F53F3F; font-size: 26px; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-border); border-radius: var(--radius); cursor: pointer; }
.pay-method.is-active { border-color: var(--c-primary); background: var(--c-primary-l); }
.pay-method input { accent-color: var(--c-primary); }
.pay-method .pm-icon { font-size: 22px; }

/* 支付二维码 */
.pay-qr-box { text-align: center; padding: 30px; }
.pay-qr-img { width: 240px; height: 240px; margin: 0 auto 20px; border: 1px solid var(--c-border); border-radius: 10px; padding: 10px; background: #fff; display: flex; align-items: center; justify-content: center; }
.pay-qr-img img, .pay-qr-img canvas { width: 100%; height: 100%; }
.pay-amount { color: #F53F3F; font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.pay-status { font-size: 14px; color: var(--c-text-sub); }

/* ---------------- 空状态 / 加载 ---------------- */
.empty { text-align: center; padding: 60px 20px; color: var(--c-text-sub); }
.empty .ic { font-size: 48px; color: var(--c-border); display: block; margin: 0 auto 16px; }
.skeleton { background: linear-gradient(90deg, #f2f3f5 25%, #e9eaec 37%, #f2f3f5 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------- 浮动条 ---------------- */
.float-bar { position: fixed; right: 18px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 8px; }
.float-item { width: 48px; height: 48px; border-radius: 10px; background: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .1); display: flex; align-items: center; justify-content: center; font-size: 21px; color: var(--c-text-sub); position: relative; transition: all .2s; cursor: pointer; }
.float-item:hover { background: var(--c-primary); color: #fff; }
.float-pop { position: absolute; right: 58px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .14); padding: 10px; opacity: 0; visibility: hidden; transition: all .22s; white-space: nowrap; }
.float-item:hover .float-pop { opacity: 1; visibility: visible; right: 62px; }
.float-pop img { width: 120px; height: 120px; object-fit: cover; display: block; margin-bottom: 6px; }
.float-pop span { font-size: 12px; color: var(--c-text-sub); display: block; text-align: center; }
.float-pop-text { padding: 8px 14px; font-size: 13px; color: var(--c-text); }

/* 移动端底部导航 */
.m-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; border-top: 1px solid var(--c-border); padding-bottom: env(safe-area-inset-bottom); }
.m-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: 11px; color: var(--c-text-sub); }
.m-tabbar a .ic { font-size: 20px; }
.m-tabbar a.is-active { color: var(--c-primary); }

/* v1.13：App 内不再显示网页底部导航
   —— 原生 TabBar 已经有一份，两套 fixed 在底部叠着就是「双导航」。
   服务端会对动态页直接加 body.in-app；静态页由 main.js 按 UA 给 <html> 加同名类兜底。
   同时把为网页导航预留的底部空白收回，避免隐藏后页面底部出现一条空白带。 */
html.in-app .m-tabbar,
body.in-app .m-tabbar { display: none !important; }
html.in-app .site-footer,
body.in-app .site-footer { margin-bottom: 0 !important; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-fg); margin-top: 60px; font-size: 14px; }
.footer-main { padding: 52px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { font-size: 21px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-desc { opacity: .7; line-height: 1.8; font-size: 13px; margin-bottom: 18px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; padding: 5px 0; opacity: .78; font-size: 13px; }
.footer-contact a:hover { color: #fff; }
.footer-qr { margin-top: 16px; text-align: center; width: 108px; }
.footer-qr img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; background: #fff; padding: 4px; }
.footer-qr span { display: block; font-size: 12px; opacity: .65; margin-top: 6px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-links li { padding: 5px 0; }
.footer-links a { opacity: .72; font-size: 13px; }
.footer-links a:hover { opacity: 1; color: #fff; padding-left: 4px; }
.footer-friend { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; line-height: 2; }
.friend-label { opacity: .6; }
.footer-friend a { opacity: .72; margin-right: 16px; white-space: nowrap; }
.footer-friend a:hover { opacity: 1; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright { opacity: .7; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copyright a { opacity: .85; }
.copyright a:hover { color: #fff; opacity: 1; }
.police-link { display: inline-flex; align-items: center; gap: 4px; }
.police-link img { height: 16px; width: auto; }
.footer-extra { display: flex; gap: 16px; opacity: .7; }
.footer-extra a:hover { color: #fff; }

/* ---------------- 富文本编辑器内容（后台预览） ---------------- */
.editor-content { line-height: 1.9; }

/* ============================================================
 * 响应式 —— PC / 平板 / 手机 / 小窗口
 * ============================================================ */

/* 小笔记本 / 小窗口 */
@media (max-width: 1280px) {
    .nav-item > a { padding: 0 12px; font-size: 14.5px; }
    .hero-title { font-size: 36px; }
}
@media (max-width: 1200px) {
    .grid-5 { grid-template-columns: repeat(4, 1fr); }
    .product-detail { grid-template-columns: 380px 1fr; gap: 28px; }
}

/* 平板横屏 */
@media (max-width: 1024px) {
    .container { padding: 0 18px; }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .layout-side { grid-template-columns: 1fr 280px; gap: 26px; }
    .contact-grid { grid-template-columns: 1fr 320px; gap: 26px; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-col:last-child { display: none; }
    .hero-title { font-size: 32px; }
    .hero-inner { padding: 56px 0; gap: 28px; }
}

/* 平板竖屏 / 导航折叠 */
@media (max-width: 900px) {
    .header-inner { height: 62px; }
    .nav-item > a { height: 62px; }
    .nav-toggle { display: flex; }
    .header-right { position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 72px 0 20px; box-shadow: -8px 0 32px rgba(0, 0, 0, .12); transform: translateX(102%); transition: transform .3s ease; overflow-y: auto; z-index: 120; gap: 0; }
    .header-right.is-open { transform: none; }
    .main-nav { flex-direction: column; justify-content: flex-start; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .nav-item { border-bottom: 1px solid var(--c-border); }
    .nav-item > a { height: auto; padding: 14px 20px; font-size: 15px; justify-content: space-between; }
    .nav-item.is-active > a::after { display: none; }
    .sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 52px; height: 49px; font-size: 14px; }
    .sub-toggle .ic { transition: transform .25s; }
    .nav-item.is-open .sub-toggle .ic { transform: rotate(180deg); }
    .sub-nav, .sub-nav2 {
        position: static; opacity: 1; visibility: visible; transform: none !important;
        box-shadow: none; min-width: 0; width: 100%; padding: 0; display: none; background: var(--c-bg-gray); border-radius: 0;
    }
    .nav-item.is-open > .sub-nav { display: block; }
    .sub-nav > li.is-open > .sub-nav2 { display: block; }
    .sub-nav > li > a { padding: 12px 36px; border-radius: 0; }
    .sub-nav2 { background: #fff; }
    .sub-nav2 li a { display: block; padding: 10px 52px; font-size: 13.5px; }
    .sub-nav > li > a .ic { display: none; }
    .header-actions { flex-direction: row; padding: 20px; gap: 12px; flex-wrap: wrap; }
    .icon-btn { background: var(--c-bg-gray); width: 46px; height: 46px; }
    .btn-cta { margin-left: 0; flex: 1; }
    .search-panel { position: relative; z-index: 110; }

    .hero-inner { grid-template-columns: 1fr; padding: 44px 0; }
    .hero-media { display: none; }
    .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .layout-side, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
    .sidebar, .order-summary { position: static; }
    .product-detail { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
    .related-list { grid-template-columns: 1fr; }
    .float-bar { bottom: 76px; right: 12px; }
    .float-bar .float-item { width: 44px; height: 44px; font-size: 19px; }
    .float-pop { display: none; }
    .m-tabbar { display: flex; }
    .site-footer { margin-bottom: 54px; }
}

/* 手机 */
@media (max-width: 640px) {
    body { font-size: 14.5px; }
    .container { padding: 0 14px; }
    .section { padding: 36px 0; }
    .section-title { font-size: 22px; }
    .topbar { display: none; }
    .grid, .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; gap: 16px; }
    .grid-2.sm-keep { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hero-title { font-size: 26px; }
    .hero-desc { font-size: 15px; }
    .hero-stats { gap: 22px; margin-top: 26px; }
    .hero-stat b { font-size: 22px; }
    .detail-wrap { padding: 18px; }
    .detail-head h1 { font-size: 21px; }
    .detail-content { font-size: 15.5px; }
    .article-list-item { gap: 12px; padding: 16px 0; }
    .article-list-thumb { flex: 0 0 120px; }
    .article-list-thumb img { height: 84px; }
    .article-list-main h3 { font-size: 16px; margin-bottom: 6px; }
    .article-list-main p { font-size: 13px; -webkit-line-clamp: 2; }
    .article-list-main .article-meta { gap: 10px; font-size: 11px; }
    .article-list-main .article-meta .hide-sm { display: none; }
    .widget { padding: 16px; }
    .pd-info h1 { font-size: 20px; }
    .pd-price { font-size: 28px; }
    .pd-actions .btn { min-width: 0; flex: 1; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-col:last-child { display: block; }
    .footer-main { padding: 34px 0 24px; }
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr { padding: 14px 0; border-top: 1px solid var(--c-border); position: relative; }
    .cart-table td { border: 0; padding: 6px 14px; }
    .cart-table td::before { content: attr(data-label); color: var(--c-text-sub); font-size: 12px; display: block; margin-bottom: 3px; }
    .cart-prod img { width: 60px; height: 60px; }
    .post-nav { flex-direction: column; gap: 10px; }
    .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 13px; }
    .float-bar { display: none; }
    .m-tabbar { display: flex; }
    .modal-box { padding: 22px 18px; }
    .section-head { margin-bottom: 22px; }
}

/* 小屏手机 / 极窄窗口 */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .hero-title { font-size: 22px; }
    .btn { padding: 0 16px; height: 40px; font-size: 14px; }
    .grid-2.sm-keep { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .m-tabbar a span { font-size: 10px; }
    .m-tabbar a .ic { font-size: 18px; }
}

/* 横屏矮窗口 */
@media (max-height: 480px) and (orientation: landscape) {
    .hero-inner { padding: 26px 0; }
    .hero-title { font-size: 24px; }
    .header-inner { height: 54px; }
    .nav-item > a { height: 54px; padding-top: 8px; padding-bottom: 8px; }
}

/* 打印 */
@media print {
    .site-header, .site-footer, .float-bar, .m-tabbar, .share-bar, .share-card, .topbar,
    .chat-widget, .uc-quick { display: none !important; }
    body { font-size: 12pt; }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
 * v1.3 新增：移动端优先重排版 / 支付流程 / 订单详情 / 会员中心
 * ============================================================ */

/* ---------- 响应式显隐（默认桌面；≤900px 视为移动端） ---------- */
/* 说明：仅在需要隐藏的一侧下规则，另一侧保留元素自身的 display，
 * 这样 .uc-hero / .uc-tabs 等需要 flex 的块不会被 display:block 覆盖。 */
@media (min-width: 901px) {
    .only-mobile { display: none !important; }
}
@media (max-width: 900px) {
    .only-desktop { display: none !important; }
}

/* ---------- 按钮补充变体 ---------- */
.btn-ghost { background: transparent; border-color: var(--c-border); color: var(--c-text); }
.btn-ghost:hover { background: var(--c-bg-gray); border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- 支付成功横幅（从支付流程跳回订单页时显示一次） ---------- */
.paid-banner {
    position: relative; display: flex; align-items: center; gap: 14px;
    padding: 16px 40px 16px 18px; margin-bottom: 16px; border-radius: var(--radius);
    background: linear-gradient(135deg, #E8FFF0, #F4FFF8); border: 1px solid #B7EBC9;
}
.paid-banner-icon {
    flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #00B42A; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.paid-banner-main { flex: 1; min-width: 0; }
.paid-banner-title { font-size: 17px; font-weight: 700; color: #0F8A43; line-height: 1.35; }
.paid-banner-sub { font-size: 13px; color: #2C7A4B; margin-top: 3px; line-height: 1.6; }
.paid-banner-close { position: absolute; top: 6px; right: 12px; font-size: 22px; line-height: 1; color: #6B9E7F; }
.paid-banner-close:hover { color: #0F8A43; }

/* ---------- 折叠卡片（订单/支付的次级信息） ---------- */
.fold-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.fold-card { margin-top: 14px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.fold-list .fold-card { margin-top: 0; }
.fold-card > summary {
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 15px 18px; font-size: 15px; font-weight: 600; cursor: pointer;
    list-style: none; transition: color .2s;
}
.fold-card > summary::-webkit-details-marker { display: none; }
.fold-card > summary::after {
    content: ''; flex: 0 0 auto; width: 8px; height: 8px; margin-left: 2px;
    border-right: 2px solid var(--c-text-sub); border-bottom: 2px solid var(--c-text-sub);
    transform: rotate(45deg); transition: transform .22s; opacity: .8;
}
.fold-card[open] > summary::after { transform: rotate(-135deg); }
.fold-card > summary:hover { color: var(--c-primary); }
.fold-tip {
    flex: 1; min-width: 0; text-align: right; font-size: 12.5px; font-weight: 400;
    color: var(--c-text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fold-body { padding: 14px 18px 18px; border-top: 1px dashed var(--c-border); }

/* ---------- 订单状态主卡 ---------- */
.order-hero {
    --hero-color: var(--c-primary);
    position: relative; padding: 22px; border-radius: var(--radius); color: #fff;
    background-color: var(--hero-color);
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .2));
}
.order-hero-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.order-hero-status { font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.order-hero-amount { font-size: 26px; font-weight: 700; line-height: 1; }
.order-hero-amount small { font-size: 15px; font-weight: 500; margin-right: 2px; }
.order-hero-hint { font-size: 13px; opacity: .92; margin-top: 9px; line-height: 1.6; }
.order-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; opacity: .82; margin-top: 10px; }
.order-hero-dot { opacity: .6; }
.order-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.order-hero-actions .btn-primary { background: #fff; color: var(--hero-color); }
.order-hero-actions .btn-primary:hover { background: rgba(255, 255, 255, .9); color: var(--hero-color); }
.order-hero-actions .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.order-hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .18); border-color: #fff; color: #fff; }
.order-hero-tip { flex: 1 0 100%; margin: 0; font-size: 12.5px; opacity: .85; line-height: 1.65; }
.order-foot-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- 物流轨迹 ---------- */
.trace-list { margin: 2px 0 0; }
.trace-list li { position: relative; padding: 0 0 18px 22px; margin-left: 5px; border-left: 2px solid var(--c-border); }
.trace-list li:last-child { padding-bottom: 0; border-left-color: transparent; }
.trace-dot {
    position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
    background: var(--c-border); box-shadow: 0 0 0 2px #fff;
}
.trace-list li.is-latest .trace-dot { background: var(--c-primary); }
.trace-text { font-size: 13.5px; line-height: 1.65; }
.trace-list li.is-latest .trace-text { color: var(--c-primary); font-weight: 600; }
.trace-time { font-size: 12px; color: var(--c-text-sub); margin-top: 2px; }

/* ---------- 商品小行（支付页 / 订单页明细） ---------- */
.mini-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--c-border); }
.mini-item:last-of-type { border-bottom: 0; }
.mini-item-main { flex: 1; min-width: 0; }
.mini-item-name { font-size: 14px; line-height: 1.55; }
.mini-item-sub { font-size: 12.5px; color: var(--c-text-sub); margin-top: 3px; }
.mini-item-amount { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: #F53F3F; }

/* ---------- 订单快照 ---------- */
.snapshot-pre {
    margin: 0; max-height: 320px; overflow: auto; padding: 12px; border-radius: 6px;
    background: var(--c-bg-gray); font-size: 12px; line-height: 1.65; color: var(--c-text-sub);
    white-space: pre-wrap; word-break: break-all;
}

/* ---------- 支付页：金额首屏卡片 ---------- */
.pay-hero {
    padding: 28px 22px 24px; border-radius: var(--radius); text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
}
.pay-hero-label { font-size: 13px; opacity: .85; }
.pay-hero-amount { font-size: 40px; font-weight: 700; line-height: 1.12; margin: 6px 0 10px; letter-spacing: -1px; }
.pay-hero-amount small { font-size: 20px; font-weight: 500; margin-right: 2px; }
.pay-hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: 13px; opacity: .88; word-break: break-all; }
.pay-hero-dot { opacity: .6; }
.pay-hero-freight { font-size: 12.5px; opacity: .8; margin-top: 6px; }
.pay-submit { margin-top: 2px; }

/* ---------- 支付页：微信内引导换浏览器 ---------- */
.pay-guide { padding: 6px 0 2px; text-align: center; }
.pay-guide-icon {
    width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
    background: #E8FFF0; color: #07C160; display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.pay-guide-title { font-size: 18px; margin-bottom: 10px; }
.pay-guide-text { max-width: 430px; margin: 0 auto 18px; font-size: 14px; line-height: 1.8; color: var(--c-text-sub); }
.pay-guide-text b { color: var(--c-primary); }
.pay-guide-ops { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- 会员中心：移动端账户卡 + 横向 Tab ---------- */
.uc-hero {
    display: flex; align-items: center; gap: 14px; padding: 20px 16px; color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
}
.uc-hero-avatar {
    flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35);
    display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600;
}
.uc-hero-info { flex: 1; min-width: 0; }
.uc-hero-name { font-size: 17px; font-weight: 600; }
.uc-hero-sub { font-size: 12.5px; opacity: .88; margin-top: 3px; }
.uc-hero-sub b { font-weight: 600; }
.uc-hero-dot { margin: 0 6px; opacity: .6; }
.uc-hero-logout {
    flex: 0 0 auto; padding: 6px 13px; border-radius: 20px; font-size: 12.5px;
    border: 1px solid rgba(255, 255, 255, .45); color: #fff;
}
.uc-hero-logout:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.uc-tabs {
    display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding: 0 6px; background: #fff; border-bottom: 1px solid var(--c-border);
    scrollbar-width: none;
}
.uc-tabs::-webkit-scrollbar { display: none; }
.uc-tabs a {
    flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 10px 11px 8px; font-size: 11.5px; color: var(--c-text-sub); white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.uc-tabs a .ic { font-size: 18px; }
.uc-tabs a.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); font-weight: 600; }

.uc-body { padding-top: 20px; }
.uc-stats .widget { padding: 16px; }
.uc-status-tabs { gap: 8px; }
.uc-status-tabs a { padding: 6px 14px; font-size: 13px; }
/* ≤900px：左侧账户卡与菜单与移动端 Tab 重复，隐藏；保留商家中心入口 */
@media (max-width: 900px) {
    .uc-side { gap: 12px; }
    .uc-side .widget:first-child { display: none; }
    .uc-body { padding-top: 14px; }
}

/* ---------- 移动端订单卡片 ---------- */
.ord-card {
    display: block; padding: 14px; margin-bottom: 10px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
}
.ord-card:last-child { margin-bottom: 0; }
.ord-card:not(.is-static):hover { border-color: var(--c-primary); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.ord-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ord-card-no { font-size: 12.5px; color: var(--c-text-sub); word-break: break-all; }
.ord-card-status { flex: 0 0 auto; font-size: 12.5px; font-weight: 600; }
.ord-card-bottom { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ord-card-time { font-size: 12px; color: var(--c-text-sub); }
.ord-card-amount { font-size: 17px; font-weight: 700; color: #F53F3F; }
.ord-card-ops { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-border); }
.ord-card-ops .btn { flex: 1; }

/* ---------- 移动端明细行卡片 ---------- */
.row-card { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--c-border); }
.row-card:last-child { border-bottom: 0; }
.row-card-main { flex: 1; min-width: 0; }
.row-card-title { font-size: 14px; font-weight: 500; word-break: break-all; }
.row-card-sub { font-size: 12.5px; color: var(--c-text-sub); margin-top: 3px; line-height: 1.6; }
.row-card-right { flex: 0 0 auto; text-align: right; }
.row-card-amount { font-size: 15px; font-weight: 700; }
.row-card-amount.is-in { color: #00B42A; }
.row-card-amount.is-out { color: #F53F3F; }
.row-card-status { font-size: 12.5px; font-weight: 600; color: var(--c-primary); }
.row-card-time { font-size: 11.5px; color: var(--c-text-sub); margin-top: 3px; }

/* ---------- 地址表单省市区街道网格 ---------- */
@media (min-width: 901px) { .addr-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 641px) and (max-width: 900px) { .addr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .addr-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 复选框 ---------- */
.checkbox input { accent-color: var(--c-primary); width: 16px; height: 16px; }

/* ---------- 移动端底部导航（6 项，图标/文字收紧） ---------- */
.m-tabbar a { padding: 7px 0 5px; font-size: 10.5px; }
.m-tabbar a .ic { font-size: 19px; }
.m-tabbar a.is-active { font-weight: 600; }

/* ---------- 移动端细节收紧 ---------- */
@media (max-width: 640px) {
    .paid-banner { padding: 14px 34px 14px 14px; gap: 11px; }
    .paid-banner-icon { flex: 0 0 36px; width: 36px; height: 36px; font-size: 19px; }
    .paid-banner-title { font-size: 15.5px; }
    .order-hero { padding: 18px 16px; }
    .order-hero-status { font-size: 18px; }
    .order-hero-amount { font-size: 23px; }
    .order-hero-actions { margin-top: 15px; }
    .order-hero-actions .btn { flex: 1 1 auto; }
    .order-foot-actions .btn { flex: 1; min-width: 0; }
    .pay-hero { padding: 22px 16px 20px; }
    .pay-hero-amount { font-size: 34px; }
    .fold-card > summary { padding: 14px; font-size: 14.5px; }
    .fold-body { padding: 12px 14px 15px; }
    .fold-tip { font-size: 12px; }
    .mini-item-name { font-size: 13.5px; }
    .uc-hero { padding: 16px 14px; }
    .uc-tabs a { padding: 9px 10px 7px; }
    .uc-body { padding-top: 14px; }
    .trace-text { font-size: 13px; }
    .snapshot-pre { max-height: 240px; }
}

/* ============================================================
 * v1.4 新增：在线聊天窗 / 桌面端信息层级优化
 * 说明：v1.3 把手机端做成了「卡片 + 横向 Tab」，桌面端此前仍是
 * 老式的「左侧内容 + 右侧小侧栏 + 裸表格」。本节在不改动 DOM 结构
 * 的前提下（只补样式 + 少量 only-desktop 片段），把桌面端的信息层级
 * 拉平到与手机端一致：先看到功能入口，再看明细。
 * ============================================================ */

/* ------------------------------------------------------------
 * 一、在线客服悬浮窗
 * 桌面端：右下角一颗客服球，位置在 .float-bar 正下方（互不遮挡）
 * 移动端：靠右下、位于 .m-tabbar 之上，展开时全屏
 * ------------------------------------------------------------ */
.chat-widget { position: fixed; right: 18px; bottom: 24px; z-index: 96; }
.chat-fab {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%; padding: 0;
    background: var(--c-primary); color: #fff; border: 0; cursor: pointer;
    box-shadow: 0 8px 26px rgba(22, 93, 255, .34);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.chat-fab:hover { background: var(--c-primary-d); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(22, 93, 255, .44); }
.chat-fab:active { transform: translateY(0); }
.chat-fab-dot {
    position: absolute; top: 7px; right: 7px; width: 11px; height: 11px; border-radius: 50%;
    background: #F53F3F; border: 2px solid #fff; box-sizing: content-box;
}

.chat-panel {
    position: absolute; right: 0; bottom: 70px;
    display: flex; flex-direction: column; width: 362px; height: 520px;
    max-height: calc(100vh - 130px);
    background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16); overflow: hidden;
    animation: chatIn .2s ease both;
}
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.chat-head {
    display: flex; align-items: center; gap: 10px; flex: 0 0 auto;
    padding: 14px 16px; color: #fff;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d));
}
.chat-head-txt { flex: 1; min-width: 0; }
.chat-head-txt b { display: block; font-size: 15px; line-height: 1.3; }
.chat-head-txt span { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }
.chat-close { flex: 0 0 auto; width: 30px; height: 30px; font-size: 22px; line-height: 1; color: #fff; opacity: .85; border-radius: 50%; }
.chat-close:hover { opacity: 1; background: rgba(255, 255, 255, .16); color: #fff; }

.chat-body {
    flex: 1; min-height: 0; overflow-y: auto; padding: 14px 14px 4px;
    background: var(--c-bg-gray); -webkit-overflow-scrolling: touch;
}
.chat-loading { padding: 26px 0; text-align: center; font-size: 13px; color: var(--c-text-sub); }
.chat-tip { margin: 8px 0; text-align: center; font-size: 12.5px; line-height: 1.7; color: var(--c-text-sub); word-break: break-word; }
.chat-tip a { color: var(--c-primary); font-weight: 600; }
.chat-tip a:hover { text-decoration: underline; }

.chat-msg { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.chat-msg.is-me { flex-direction: row-reverse; }
.chat-bubble {
    max-width: 76%; padding: 9px 13px; border-radius: 12px;
    background: #fff; border: 1px solid var(--c-border);
    font-size: 14px; line-height: 1.7; word-break: break-word; overflow-wrap: anywhere;
}
.chat-msg.is-me .chat-bubble { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.chat-bubble img { display: block; max-width: 210px; border-radius: 8px; background: var(--c-bg-gray); }
.chat-imglost { font-size: 12.5px; color: var(--c-text-sub); }
.chat-msg time { flex: 0 0 auto; font-size: 11px; color: var(--c-text-sub); opacity: .85; padding-bottom: 3px; }

.chat-foot {
    display: flex; align-items: center; gap: 8px; flex: 0 0 auto;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--c-border);
}
.chat-foot input[type="text"] {
    flex: 1; min-width: 0; height: 40px; padding: 0 14px; font-size: 14px;
    border: 1px solid var(--c-border); border-radius: 20px; background: var(--c-bg-gray);
}
.chat-foot input[type="text"]:focus { border-color: var(--c-primary); background: #fff; }
.chat-imgbtn {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--c-text-sub);
}
.chat-imgbtn:hover { background: var(--c-bg-gray); color: var(--c-primary); }
.chat-send {
    flex: 0 0 auto; height: 40px; padding: 0 18px; border-radius: 20px;
    background: var(--c-primary); color: #fff; font-size: 14px; font-weight: 500;
}
.chat-send:hover { background: var(--c-primary-d); color: #fff; }

/* 移动端 / 平板：上移到 tabbar 之上，展开为全屏 */
@media (max-width: 900px) {
    .chat-widget { right: 12px; bottom: 70px; }
    .chat-fab { width: 48px; height: 48px; box-shadow: 0 6px 20px rgba(22, 93, 255, .32); }
    .chat-fab-dot { top: 5px; right: 5px; width: 10px; height: 10px; }
    /* 悬浮工具条整体上移，给客服球让位（原先 bottom:76px 会与客服球重叠） */
    .float-bar { bottom: 132px; }
    .chat-panel {
        position: fixed; inset: 0; width: auto; height: auto; max-height: none;
        border: 0; border-radius: 0; animation: none;
    }
    .chat-body { padding: 12px 12px 4px; }
    .chat-bubble { max-width: 82%; }
}

/* ------------------------------------------------------------
 * 二、桌面端：会员中心 / 商家中心 左侧功能菜单 + 右侧内容
 * （手机端由 uc-tabs 承担导航，这里只对 ≥901px 生效）
 * ------------------------------------------------------------ */
@media (min-width: 901px) {
    /* 功能菜单放到左边 —— 用户进来第一眼先看到「能做什么」 */
    .uc-layout { grid-template-columns: 258px 1fr; gap: 26px; }
    .uc-layout .uc-side { position: sticky; top: 96px; }

    /* 商家中心：把内联的 210px 一起纳入统一栅格，并让侧栏可吸附 */
    .layout-side.mc-layout { grid-template-columns: 232px 1fr; gap: 24px; }
    .layout-side.mc-layout .sidebar { position: sticky; top: 96px; }
}

/* 会员中心左侧菜单项（原为 view 内联样式，此处统一维护） */
.uc-menu {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px; border-radius: 8px; font-size: 14px; line-height: 1.5;
}
.uc-menu:hover { background: var(--c-bg-gray); color: var(--c-primary); }
.uc-menu.is-active { background: var(--c-primary-l); color: var(--c-primary); font-weight: 600; }
.uc-menu .ic { font-size: 16px; opacity: .85; }
.link-btn { background: none; border: 0; cursor: pointer; font-size: 14px; padding: 0; }

/* ------------------------------------------------------------
 * 三、桌面端「常用功能」快捷入口
 * 手机端用 uc-tabs 横向 Tab 突出功能；桌面端此前只有一个小侧栏菜单，
 * 进来先看到的是统计数字和表格。这里补一排大图标入口，视觉权重与
 * 手机端 Tab 对齐。
 * ------------------------------------------------------------ */
.uc-quick {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    padding: 16px; margin-bottom: 18px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
}
.uc-quick-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 14px 8px; border-radius: 10px; text-align: center;
    background: var(--c-bg-gray); border: 1px solid transparent;
    transition: all .2s;
}
.uc-quick-item:hover {
    background: var(--c-primary-l); border-color: var(--c-primary);
    color: var(--c-primary); transform: translateY(-2px);
}
.uc-quick-item .ic { font-size: 24px; color: var(--c-primary); }
.uc-quick-item b { font-size: 14px; font-weight: 600; }
.uc-quick-item span { font-size: 12px; color: var(--c-text-sub); }
.uc-quick-item:hover span { color: var(--c-primary); }
.uc-quick-item .badge {
    font-size: 11px; font-weight: 500; padding: 0 7px; border-radius: 9px;
    background: var(--c-accent); color: #fff; line-height: 17px;
}

/* ------------------------------------------------------------
 * 四、桌面端表格（会员中心 / 商家中心 / 分销中心）
 * 此前是浏览器默认表格：无表头底色、无分隔线、行高紧凑 —— 是「桌面端
 * 排版乱」的主要来源之一。这里统一为浅色表头 + 行分隔 + 悬停高亮。
 * 仅作用于 .widget 内的表格，不影响 .cart-table / .detail-content table。
 * ------------------------------------------------------------ */
.widget > table, .widget table { font-size: 14px; }
.widget table th {
    padding: 11px 12px; font-size: 13.5px; font-weight: 600; text-align: center;
    color: var(--c-text-sub); background: var(--c-bg-gray);
    border-bottom: 1px solid var(--c-border); white-space: nowrap;
}
.widget table td { padding: 12px; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.widget table tr:last-child td { border-bottom: 0; }
.widget table tbody tr:hover > td { background: #FAFBFC; }

/* 桌面端统计小卡：加一道主色条，数字更突出 */
.uc-stats .widget { position: relative; overflow: hidden; }
.uc-stats .widget::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--c-primary); opacity: .85;
}
.uc-stats .widget > div:last-child { letter-spacing: -.5px; }

/* 桌面端「订单列表操作列」按钮排布更紧凑 */
.widget table td .link-btn + .link-btn { margin-left: 10px; }

/* ------------------------------------------------------------
 * 五、推广卡片（原为 view 内联样式，此处统一维护）
 * ------------------------------------------------------------ */
.promo-card { background: linear-gradient(180deg, #f7faff, #fff); border: 1px solid #e5eeff; }
.promo-tip { margin: 0 0 12px; font-size: 13px; line-height: 1.8; color: var(--c-text-sub); }
.promo-tip b { color: var(--c-primary); }
.promo-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.promo-row .form-control { flex: 1; min-width: 220px; }
.promo-chips { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--c-text-sub); }
.promo-chips a { color: var(--c-primary); }
.promo-chips a:hover { text-decoration: underline; }
.btn.is-ok { background: #00B42A !important; border-color: #00B42A !important; color: #fff !important; }

/* ------------------------------------------------------------
 * 六、正文内嵌商品卡片（文章 / 单页正文短代码 [product id="12"]）
 * 编辑器里插入短代码，前台渲染为卡片；自带 schema.org/Product 微数据
 * ------------------------------------------------------------ */
.pe-grid { display: grid; gap: 14px; margin: 22px 0; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); }
.pe-grid.is-single { grid-template-columns: 1fr; }

.pe-card {
    display: flex; gap: 14px; align-items: stretch; padding: 12px;
    border: 1px solid var(--c-border); border-radius: 12px; background: #fff;
    overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s;
}
.pe-card:hover { border-color: var(--c-primary); box-shadow: 0 10px 26px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.pe-thumb { flex: 0 0 108px; width: 108px; border-radius: 9px; overflow: hidden; background: var(--c-bg-gray); display: block; }
.pe-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pe-name { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pe-desc { margin-top: 5px; font-size: 12.5px; line-height: 1.6; color: var(--c-text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pe-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pe-price { color: #F53F3F; font-weight: 700; font-size: 19px; line-height: 1; }
.pe-price small { font-size: 12px; font-weight: 500; margin-right: 1px; }
.pe-btn { font-size: 12.5px; color: var(--c-primary); border: 1px solid currentColor; border-radius: 999px; padding: 3px 13px; white-space: nowrap; transition: background .2s, color .2s; }
.pe-card:hover .pe-btn { background: var(--c-primary); color: #fff; }

.pe-grid.is-single .pe-thumb { flex-basis: 160px; width: 160px; }
.pe-grid.is-single .pe-name { font-size: 17px; }
.pe-grid.is-single .pe-desc { -webkit-line-clamp: 3; }

@media (max-width: 640px) {
    .pe-grid { grid-template-columns: 1fr; gap: 12px; }
    .pe-card { padding: 10px; gap: 11px; }
    .pe-thumb { flex-basis: 92px; width: 92px; }
    .pe-grid.is-single .pe-thumb { flex-basis: 112px; width: 112px; }
    .pe-grid.is-single .pe-name { font-size: 15.5px; }
    .pe-price { font-size: 17px; }
}

/* 编辑器里插入的商品短代码，源码模式下高亮显示 */
.editor-toolbar button[data-embed-product] { font-weight: 600; }

/* ------------------------------------------------------------
 * 六之二、详情页视频（v1.16.14：商品 / 文章后台填视频链接）
 * 直链视频用原生 <video>，平台视频（B站/YouTube/腾讯/优酷/Vimeo）用 16:9 iframe
 * ------------------------------------------------------------ */
.video-sec { margin: 0 0 26px; }
.video-head { font-size: 16px; font-weight: 600; margin: 0 0 12px; padding-left: 10px; line-height: 1.3; border-left: 3px solid var(--c-primary); }
.video-box { background: #000; border-radius: 12px; overflow: hidden; line-height: 0; }
.video-el { display: block; width: 100%; max-height: 560px; background: #000; }
.video-frame { position: relative; width: 100%; padding-top: 56.25%; }
.video-frame iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; display: block; }
/* 平台视频卡片（快手等未开放嵌入的平台）：点击跳原平台观看（v1.16.15） */
.video-link-card { display: flex; align-items: center; gap: 14px; width: 100%; box-sizing: border-box; padding: 18px 20px; background: linear-gradient(135deg, #16181d, #262b36); color: #fff; text-decoration: none; line-height: 1.4; }
.video-link-card:hover { filter: brightness(1.12); }
.vlc-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.vlc-txt { display: block; min-width: 0; }
.vlc-name { display: block; font-size: 15px; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vlc-tip { display: block; font-size: 12px; color: rgba(255,255,255,.62); margin-top: 3px; }
/* 移动端的「打不开？新窗口观看」兜底入口（PC 不显示） */
.video-open { display: none; background: rgba(255,255,255,.08); text-align: center; line-height: 1.6; }
.video-open a { display: block; padding: 10px 12px; color: rgba(255,255,255,.78); font-size: 13px; text-decoration: none; }

/* ★v1.16.16 手机 / 平板竖屏的视频显示修复
   问题：外部平台视频（抖音 / B站 / YouTube）走 16:9 固定框，
   手机 375px 宽时框只有 211px 高 —— 竖屏短视频的画面被压成中间一条，
   平台播放器 UI 也挤在一起，用户反馈「显示不全、看不到画面」。
   处理：
     1) 移动端改成按屏幕高度给高度（clamp 保证小屏不塌、大屏不过分）；
     2) 直链 <video> 去掉「宽度写死 + 矮高度上限」的组合，改 height:auto + object-fit:contain，
        竖屏视频会完整等比缩放，不再被压扁；
     3) 抖音这类竖屏平台再加一档更高高度（.is-portrait）；
     4) 补一个「新窗口打开」入口，个别手机浏览器/微信内拦截第三方 iframe 时用户仍有路可走。 */
@media (max-width: 900px) {
    .video-frame { padding-top: 0; height: 56vh; height: clamp(290px, 56dvh, 540px); }
    .video-box.is-portrait .video-frame { height: 66vh; height: clamp(340px, 66dvh, 620px); }
    .video-el { width: 100%; height: auto; max-height: 62vh; max-height: clamp(260px, 62dvh, 600px); object-fit: contain; }
    .video-open { display: block; }
}
@media (max-width: 640px) {
    .video-frame { height: 58vh; height: clamp(280px, 58dvh, 500px); }
    .video-box.is-portrait .video-frame { height: 70vh; height: clamp(320px, 70dvh, 580px); }
    .video-el { max-height: 66vh; max-height: clamp(240px, 66dvh, 560px); }
    .video-head { font-size: 15px; }
    .video-link-card { padding: 14px 16px; gap: 11px; }
    .vlc-icon { flex-basis: 38px; width: 38px; height: 38px; }
}

/* ------------------------------------------------------------
 * 七、搜索建议下拉（商品以卡片形式展示）
 * ------------------------------------------------------------ */
.sug-item { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-bottom: 1px solid #F2F3F5; transition: background .15s; }
.sug-item:last-child { border-bottom: 0; }
.sug-item:hover { background: #F7F8FA; color: inherit; }
.sug-thumb { flex: 0 0 46px; width: 46px; height: 46px; object-fit: cover; border-radius: 7px; background: #F2F3F5; }
.sug-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sug-name { font-size: 14px; color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-desc { font-size: 12px; color: #86909C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug-price { color: #F53F3F; font-weight: 700; font-size: 15px; white-space: nowrap; }
.sug-price small { font-size: 11px; font-weight: 500; margin-right: 1px; }
.sug-type { color: #86909C; font-style: normal; font-size: 12px; white-space: nowrap; }

/* ------------------------------------------------------------
 * 八、v1.7 论坛 / 抽奖 / 会员聊天 / 晒图上传
 * ------------------------------------------------------------ */

/* ---- 通用：图片上传框 ---- */
.upload-box { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.upload-add { display: inline-flex; align-items: center; justify-content: center; width: 86px; height: 86px; border: 1px dashed var(--c-border); border-radius: 10px; color: var(--c-text-sub); font-size: 13px; cursor: pointer; background: #fff; }
.upload-add:hover { border-color: var(--c-primary); color: var(--c-primary); }
.upload-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.upload-thumb { position: relative; width: 86px; height: 86px; border-radius: 10px; overflow: hidden; border: 1px solid var(--c-border); }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.upload-thumb i { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; line-height: 16px; text-align: center; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-style: normal; font-size: 13px; cursor: pointer; }

/* ---- 论坛列表 ---- */
.fm-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.fm-search { flex: 1; display: flex; gap: 8px; min-width: 220px; }
.fm-search input { flex: 1; height: 40px; padding: 0 14px; border: 1px solid var(--c-border); border-radius: var(--radius); background: #fff; }
.fm-list { display: flex; flex-direction: column; gap: 12px; }
.fm-item { display: flex; gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px; transition: box-shadow .25s, border-color .25s; }
.fm-item:hover { border-color: var(--c-primary); box-shadow: 0 8px 22px rgba(0,0,0,.06); }
.fm-thumb { flex: 0 0 112px; width: 112px; height: 84px; border-radius: 9px; overflow: hidden; background: var(--c-bg-gray); }
.fm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-main { flex: 1; min-width: 0; }
.fm-title { margin: 0 0 6px; font-size: 16px; line-height: 1.5; }
.fm-title a { color: var(--c-text); }
.fm-title a:hover { color: var(--c-primary); }
.fm-top { display: inline-block; vertical-align: 2px; margin-right: 6px; padding: 1px 7px; font-size: 11px; color: #fff; background: #F53F3F; border-radius: 4px; }
.fm-exc { margin: 0 0 8px; color: var(--c-text-sub); font-size: 13.5px; line-height: 1.6; }
.fm-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #86909C; font-size: 12.5px; }
.fm-rule { color: var(--c-text-sub); font-size: 13px; line-height: 1.9; margin: 0; }

/* ---- 论坛帖子详情 ---- */
.fm-post-title { margin: 0 0 10px; font-size: 22px; line-height: 1.5; }
.fm-post-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #86909C; font-size: 13px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.fm-post-body { padding: 16px 0; font-size: 15px; line-height: 1.9; color: var(--c-text); word-break: break-word; }
.fm-gallery { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.fm-gimg { display: block; width: 132px; height: 132px; border-radius: 10px; overflow: hidden; border: 1px solid var(--c-border); }
.fm-gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fm-actions { display: flex; gap: 12px; padding-top: 8px; }
.fm-report { display: inline-block; font-size: 12.5px; color: #86909C; }
.fm-report summary { cursor: pointer; list-style: none; color: #86909C; }
.fm-report summary::-webkit-details-marker { display: none; }
.fm-report summary:hover { color: #F53F3F; }
.fm-report-inline { margin-left: auto; }
.fm-report-tip { margin: 6px 0 0; font-size: 12px; color: var(--c-text-sub); line-height: 1.7; }
.fm-del { color: #F53F3F; border-color: #FBC4C4; }
.fm-del:hover { background: #FFF1F0; }
.fm-cmt { padding: 14px 0; border-bottom: 1px dashed var(--c-border); }
.fm-cmt:last-child { border-bottom: 0; }
.fm-cmt-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.fm-cmt-head b { color: var(--c-text); }
.fm-cmt-time { color: #86909C; font-size: 12.5px; }
.fm-cmt-body { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--c-text); word-break: break-word; }

/* ---- 抽奖 ---- */
.lot-hero { background: linear-gradient(135deg, #FF7D00, #F53F3F); }
.lot-hero h1, .lot-hero .breadcrumb, .lot-hero .breadcrumb a, .lot-hero .breadcrumb span { color: #fff; }
.lot-desc { margin: 6px 0 0; color: rgba(255,255,255,.9); font-size: 14px; }
.lot-box { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.lot-left { flex: 1 1 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lot-tip-line { margin: 16px 0 0; max-width: 280px; font-size: 13px; line-height: 1.7; color: var(--c-text-sub); text-align: center; }
.lot-tip-line a { color: var(--c-primary); font-weight: 600; }
.lot-right { flex: 1 1 260px; }
.lot-wheel-wrap { position: relative; width: 260px; height: 260px; }
.lot-wheel { position: absolute; inset: 0; border-radius: 50%; border: 8px solid #fff; box-shadow: 0 0 0 4px #FFB74D, 0 12px 30px rgba(0,0,0,.15); transform: rotate(0deg); }
.lot-label { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.lot-label i { position: absolute; left: -50px; top: -74px; width: 100px; text-align: center; font-style: normal; font-size: 12.5px; color: #7A4B00; font-weight: 600; }
.lot-pointer { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 26px solid #F53F3F; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.lot-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border: 0; border-radius: 50%; background: linear-gradient(135deg,#FF7D00,#F53F3F); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px rgba(245,63,63,.4); }
.lot-btn:disabled { background: #C9CDD4; box-shadow: none; cursor: not-allowed; }
.lot-chance { text-align: center; padding: 16px; background: var(--c-bg-gray); border-radius: 12px; }
.lot-chance .l { color: var(--c-text-sub); font-size: 13px; }
.lot-chance .n { font-size: 34px; font-weight: 800; color: #F53F3F; line-height: 1.2; }
.lot-chance-sub { margin-top: 6px; font-size: 12.5px; color: #86909C; line-height: 1.7; }
.lot-prizes { margin-top: 16px; }
.lot-prizes h4 { margin: 0 0 8px; font-size: 14px; }
.lot-prizes ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lot-prizes li { padding: 5px 12px; background: #FFF7E8; color: #D25F00; border-radius: 999px; font-size: 13px; }
.lot-prizes li.is-big { background: #FFE8E8; color: #D32F2F; font-weight: 700; }
.lot-locked { text-align: center; padding: 40px 20px; }
.lot-logs { margin: 0; padding: 0; list-style: none; }
.lot-logs li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--c-border); font-size: 13.5px; }
.lot-logs li:last-child { border-bottom: 0; }
.lot-log-time { color: #86909C; }
.lot-logs .is-win { color: #F53F3F; font-weight: 600; }
.lot-logs .is-none { color: #86909C; }
.lot-log-addr { color: #00B42A; font-size: 12.5px; }
.lot-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 999; padding: 20px; overflow-y: auto; }
/* 关键修复：CSS 的 display 会盖掉 [hidden] 的 UA 默认 display:none，
   导致抽奖结果弹窗「一进页面就弹出、且点关闭无效」。必须显式补一条。 */
.lot-mask[hidden] { display: none !important; }
.lot-result { background: #fff; border-radius: 16px; padding: 32px 28px; text-align: center; width: 100%; max-width: 320px; }
.lot-result.is-addr { max-width: 400px; padding: 26px 22px; }
.lot-result-ico { font-size: 48px; line-height: 1; }
.lot-result h3 { margin: 12px 0 6px; font-size: 18px; }
.lot-result p { margin: 0 0 18px; color: #D25F00; font-weight: 700; font-size: 16px; }
/* 中奖后填写收货地址 */
.lot-addr { text-align: left; margin: 0 0 16px; padding-top: 14px; border-top: 1px dashed var(--c-border); }
.lot-addr[hidden] { display: none !important; }
.lot-addr-tip { font-size: 13px; color: var(--c-text-sub); margin: 0 0 10px; font-weight: 400; }
.lot-addr-lab { display: block; font-size: 12.5px; color: var(--c-text-sub); margin: 10px 0 6px; }
.lot-addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.lot-addr .form-control { margin-bottom: 8px; }
.lot-addr-empty { font-size: 12.5px; color: var(--c-text-sub); background: var(--c-bg-gray); padding: 10px 12px; border-radius: 8px; line-height: 1.7; }
.lot-addr .btn-block { width: 100%; margin-top: 6px; }
.lot-addr-msg { font-size: 13px; margin-top: 8px; min-height: 18px; }
/* v1.16 中奖弹窗里的「奖品发放结果」提示（券已到账 / 需填地址 / 发放失败） */
.lot-result p.lot-result-tip { margin: -8px 0 16px; font-size: 13px; font-weight: 400; color: var(--c-text-sub); line-height: 1.7; }
.lot-log-addr.is-win { color: #00B42A; }
.lot-addr-msg.is-ok { color: #00B42A; }
.lot-addr-msg.is-err { color: #F53F3F; }

/* ---- 会员聊天 ---- */
.im-wrap { display: flex; gap: 0; height: 620px; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; }
.im-side { flex: 0 0 268px; border-right: 1px solid var(--c-border); display: flex; flex-direction: column; background: #FAFBFC; }
.im-side-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-weight: 600; border-bottom: 1px solid var(--c-border); }
.im-side-tools { display: flex; gap: 6px; }
.im-ico-btn { border: 1px solid var(--c-border); background: #fff; border-radius: 7px; padding: 3px 9px; font-size: 12.5px; color: var(--c-text-sub); cursor: pointer; }
.im-ico-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.im-rooms { flex: 1; overflow-y: auto; margin: 0; padding: 0; list-style: none; }
.im-room a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #F2F3F5; }
.im-room a:hover, .im-room.is-active a { background: #fff; color: inherit; }
.im-room.is-active a { box-shadow: inset 3px 0 0 var(--c-primary); }
.im-room-avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--c-primary-l); color: var(--c-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.im-room-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.im-room-title { font-size: 14px; color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-room-last { font-size: 12px; color: #86909C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.im-unread { background: #F53F3F; color: #fff; border-radius: 999px; font-style: normal; font-size: 11px; padding: 1px 7px; }
.im-empty { padding: 30px 16px; text-align: center; color: #86909C; font-size: 13px; line-height: 2; }
.im-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.im-head { padding: 14px 18px; border-bottom: 1px solid var(--c-border); display: flex; align-items: center; gap: 12px; }
.im-head-sub { color: #86909C; font-size: 12.5px; }
.im-msgs { flex: 1; overflow-y: auto; padding: 18px; background: #F7F8FA; }
.im-msg { margin-bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; }
.im-msg.is-mine { align-items: flex-end; }
.im-msg-name { font-size: 12px; color: #86909C; margin-bottom: 3px; }
.im-msg-body { max-width: 70%; padding: 9px 13px; border-radius: 10px; background: #fff; font-size: 14px; line-height: 1.6; word-break: break-word; border: 1px solid #EDEEF0; }
.im-msg.is-mine .im-msg-body { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.im-imgmsg { display: block; max-width: 200px; border-radius: 8px; }
.im-input { display: flex; gap: 8px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--c-border); }
.im-input textarea { flex: 1; min-height: 42px; max-height: 120px; resize: none; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px; font-family: inherit; font-size: 14px; }
.im-img-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--c-border); border-radius: 10px; cursor: pointer; color: var(--c-text-sub); }
.im-img-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.im-placeholder { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #86909C; }
.im-dialog { background: #fff; border-radius: 14px; padding: 22px; width: 100%; max-width: 420px; max-height: 76vh; overflow-y: auto; }
.im-dialog h3 { margin: 0 0 12px; font-size: 17px; }
.im-user-list { margin-top: 10px; }
.im-user { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 9px; margin-bottom: 8px; cursor: pointer; }
.im-user:hover { border-color: var(--c-primary); background: var(--c-primary-l); }
.im-user-empty { padding: 12px; color: #86909C; font-size: 13px; text-align: center; }
.im-chosen { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.im-chip { padding: 3px 10px; background: var(--c-primary-l); color: var(--c-primary); border-radius: 999px; font-size: 12.5px; cursor: pointer; }
.im-tag { font-style: normal; font-size: 11px; color: #D25F00; background: #FFF7E8; padding: 1px 7px; border-radius: 4px; margin-left: auto; }
.mt12 { margin-top: 12px; }

@media (max-width: 900px) {
    .lot-box { gap: 16px; }
    .lot-right { flex: 1 1 100%; }
    .fm-item { padding: 12px; }
    .fm-thumb { flex-basis: 92px; width: 92px; height: 70px; }
    .im-wrap { height: auto; flex-direction: column; }
    .im-side { flex: 1 1 auto; max-height: 240px; border-right: 0; border-bottom: 1px solid var(--c-border); }
    .im-main { min-height: 460px; }
    .im-msgs { min-height: 320px; }
}

/* ============================================================
   v1.7 会员中心 · 我的优惠券
   ============================================================ */
.uc-count { font-size: 12px; font-weight: 400; color: #86909C; margin-left: 6px; }
.cpn-tip { margin: 0 0 14px; padding: 10px 14px; background: var(--c-primary-l); color: var(--c-primary); border-radius: 8px; font-size: 12.5px; line-height: 1.8; }
.cpn-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cpn-tab { padding: 5px 14px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 13px; color: var(--c-text-sub); }
.cpn-tab:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cpn-tab.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.cpn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.cpn-card { display: flex; border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.cpn-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .07); transform: translateY(-1px); }
.cpn-card.is-off { filter: grayscale(1); opacity: .6; }
.cpn-face { flex: 0 0 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 8px; background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d)); color: #fff; text-align: center; }
.cpn-face b { font-size: 26px; line-height: 1.1; letter-spacing: -.5px; }
.cpn-face span { font-size: 11.5px; opacity: .9; }
.cpn-info { flex: 1; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; }
.cpn-name { font-size: 14.5px; font-weight: 600; color: var(--c-text); margin-bottom: 4px; }
.cpn-meta { font-size: 12px; color: #86909C; line-height: 1.8; flex: 1; }
.cpn-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.cpn-badge { font-size: 11.5px; padding: 2px 9px; border-radius: 999px; }
.cpn-badge.is-usable { background: #E8FFEA; color: #00A63F; }
.cpn-badge.is-used { background: #F2F3F5; color: #86909C; }
.cpn-badge.is-expired { background: #FFF1F0; color: #D32F2F; }
@media (max-width: 900px) {
    .cpn-grid { grid-template-columns: 1fr; gap: 10px; }
    .cpn-face { flex-basis: 96px; }
    .cpn-face b { font-size: 22px; }
}

/* ============================================================
 * v1.9 实名认证
 * ============================================================ */

/* 认证标识：会员昵称旁的「已认证」小标签 + 企业蓝V */
.vfy-badge {
    display: inline-flex; align-items: center; gap: 2px;
    font-size: 11px; line-height: 1; font-weight: 500;
    color: #165DFF; background: #E8F0FF; border: 1px solid #BFD3FF;
    padding: 2px 6px; border-radius: 4px; margin-left: 5px; vertical-align: 1px;
    white-space: nowrap;
}
.vfy-badge .ic { font-size: 10px; width: 10px; height: 10px; }
.vfy-v {
    display: inline-flex; align-items: center; justify-content: center;
    width: 15px; height: 15px; border-radius: 50%;
    background: #165DFF; color: #fff; font-size: 10px; font-weight: 700;
    margin-left: 4px; vertical-align: 1px; line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    box-shadow: 0 1px 2px rgba(22,93,255,.35);
}

/* 会员中心：实名认证状态卡 */
.vfy-status {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; border-radius: 10px; background: var(--c-bg-gray);
    border: 1px solid var(--c-border); margin-bottom: 16px;
}
.vfy-status-ico {
    width: 40px; height: 40px; border-radius: 50%; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: #86909C; font-size: 18px;
}
.vfy-status-txt b { display: block; font-size: 15px; }
.vfy-status-txt p { margin: 2px 0 0; font-size: 12.5px; color: var(--c-text-sub); }
.vfy-status.is-ok { background: #E8FFEA; border-color: #AFF0B5; }
.vfy-status.is-ok .vfy-status-ico { color: #00B42A; }
.vfy-status.is-warn { background: #FFF7E8; border-color: #FFCF8B; }
.vfy-status.is-warn .vfy-status-ico { color: #FF7D00; }
.vfy-status.is-err { background: #FFF1F0; border-color: #FDCDC5; }
.vfy-status.is-err .vfy-status-ico { color: #F53F3F; }

/* 已认证信息表 */
.vfy-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 4px 0 12px; }
.vfy-kv > div { background: var(--c-bg-gray); border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.vfy-kv > div span { display: block; color: var(--c-text-sub); font-size: 12px; margin-bottom: 3px; }

/* 个人 / 企业 切换 */
.vfy-types { display: flex; gap: 10px; margin: 6px 0 16px; }
.vfy-type {
    flex: 1; text-align: center; padding: 11px 10px; border-radius: 8px;
    border: 1px solid var(--c-border); color: var(--c-text-sub); font-size: 14px;
    background: var(--c-bg);
}
.vfy-type:hover { border-color: var(--c-primary); color: var(--c-primary); }
.vfy-type.is-active { border-color: var(--c-primary); background: var(--c-primary-l); color: var(--c-primary); font-weight: 600; }

.vfy-form .req { color: #F53F3F; font-style: normal; margin-left: 2px; }
.vfy-note { font-size: 12.5px; color: var(--c-text-sub); background: var(--c-bg-gray); border-radius: 8px; padding: 10px 12px; margin: 12px 0; line-height: 1.8; }
.vfy-form input[type=file] { padding: 8px 10px; background: var(--c-bg); }
.form-sub-title { margin: 18px 0 10px; font-size: 14px; font-weight: 600; color: var(--c-text); border-left: 3px solid var(--c-primary); padding-left: 8px; }
.table-wrap { width: 100%; overflow-x: auto; }

/* 移动端：标识与状态卡略紧凑 */
@media (max-width: 900px) {
    .vfy-status { padding: 14px; }
    .vfy-kv { grid-template-columns: 1fr 1fr; }
    .vfy-types { flex-direction: row; }
}

/* ============================================================
 * v1.10 派单标签徽章
 * ============================================================ */

/* 标签徽章：底色/文字色/边框色由 PHP 按标签颜色内联输出 */
.tag-pill {
    display: inline-block; padding: 1px 8px; margin-right: 4px;
    border: 1px solid #BCD8FF; border-radius: 10px;
    font-size: 12px; line-height: 1.7; white-space: nowrap;
    vertical-align: middle;
}

/* 富文本里插入的视频：宽度自适应、不撑破版面 */
.detail-content video,
.detail-content iframe {
    display: block; max-width: 100%; height: auto;
    margin: 12px auto; border-radius: 8px; background: #000;
}
.detail-content img { max-width: 100%; height: auto; }

/* ============================================================
 * v1.15 全站公告条 / 商品列表搜索与列数切换 / 第三方登录
 * ============================================================ */

/* ---------------- 顶部公告 ---------------- */
.notice-bars { position: relative; z-index: 60; }
.notice-bar { font-size: 13.5px; line-height: 1.6; }
.notice-s1 { background: var(--c-primary); color: #fff; }
.notice-s2 { background: #FF7D00; color: #fff; }
.notice-s3 { background: #0F8A43; color: #fff; }
.notice-s4 { background: #1D2129; color: #fff; }
.notice-inner { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.notice-ic { flex: none; opacity: .9; }
.notice-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-text b { margin-right: 8px; font-weight: 600; }
.notice-link { flex: none; color: #fff; text-decoration: underline; white-space: nowrap; opacity: .95; }
.notice-link:hover { opacity: 1; }
.notice-link .ic { margin-left: 2px; font-size: 12px; }
.notice-close {
    flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .18); color: #fff; font-size: 18px;
    line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.notice-close:hover { background: rgba(255, 255, 255, .3); }
.notice-bar[data-expired="1"] { display: none !important; }

@media (max-width: 640px) {
    .notice-bar { font-size: 12.5px; }
    .notice-inner { padding: 7px 0; gap: 8px; }
    .notice-text { white-space: normal; max-height: 2.9em; overflow: hidden; }
}

/* ---------------- 商品列表：搜索框 ---------------- */
.plist-search { max-width: 560px; margin-bottom: 18px; }
.plist-search input[type=search] { flex: 1; }
.plist-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
}
.plist-count { color: var(--c-text-sub); font-size: 13px; }
.plist-count b { color: var(--c-primary); }
.plist-clear { margin-left: 8px; color: var(--c-text-sub); text-decoration: underline; }
.plist-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plist-sorts { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------------- 手机/平板：1 列 or 2 列（用户可选） ---------------- */
.cols-switch { display: none; }
.cols-switch button {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 10px; font-size: 12.5px; line-height: 1.4;
    border: 1px solid var(--c-border); background: #fff; color: var(--c-text-sub);
    cursor: pointer;
}
.cols-switch button:first-child { border-radius: 7px 0 0 7px; }
.cols-switch button:last-child { border-radius: 0 7px 7px 0; margin-left: -1px; }
.cols-switch button .ic { font-size: 13px; }
.cols-switch button.is-active { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-primary-l); position: relative; z-index: 1; }

@media (max-width: 900px) {
    .cols-switch { display: inline-flex; }
    .plist-toolbar { align-items: flex-start; }
    /* 双列：覆盖默认的单列，同时压紧卡片内边距，两列才装得下 */
    .grid.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .grid.product-grid.cols-1 { grid-template-columns: 1fr; gap: 16px; }
    .product-grid.cols-2 .product-body { padding: 10px; }
    .product-grid.cols-2 .product-name { font-size: 13.5px; min-height: 40px; margin-bottom: 6px; }
    .product-grid.cols-2 .product-desc { display: none; }
    .product-grid.cols-2 .product-meta { flex-direction: column; align-items: stretch; gap: 8px; }
    .product-grid.cols-2 .price { font-size: 17px; }
    .product-grid.cols-2 .btn { width: 100%; padding: 7px 8px; font-size: 12.5px; }
    .product-grid.cols-2 .product-badge { top: 6px; left: 6px; font-size: 11px; padding: 1px 6px; }
}

/* ---------------- 第三方登录 ---------------- */
.oauth-box { margin-top: 22px; }
.oauth-title {
    position: relative; text-align: center; margin-bottom: 16px;
    font-size: 12.5px; color: var(--c-text-sub);
}
.oauth-title::before {
    content: ''; position: absolute; left: 0; right: 0; top: 50%;
    border-top: 1px solid var(--c-border);
}
.oauth-title span { position: relative; background: #fff; padding: 0 12px; }
.oauth-list { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.oauth-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; border-radius: 8px; border: 1px solid var(--c-border);
    background: #fff; color: var(--c-text); font-size: 13.5px; transition: all .2s;
}
.oauth-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.oauth-btn .ic { font-size: 17px; }
.oauth-wechat .ic { color: #07C160; }
.oauth-qq .ic { color: #12B7F5; }
.oauth-alipay { color: #1677FF; }
.oauth-ali {
    display: inline-flex; width: 17px; height: 17px; border-radius: 4px;
    background: #1677FF; color: #fff; font-size: 11px; align-items: center;
    justify-content: center; line-height: 1;
}
.oauth-alipay:hover { border-color: #1677FF; }
.oauth-note { margin-top: 10px; text-align: center; font-size: 12px; color: var(--c-text-sub); line-height: 1.7; }

/* ---------------- 注册协议未勾选提示 ---------------- */
.reg-agree.is-err { color: #F53F3F; }
.reg-agree.is-err a { color: #F53F3F !important; }

/* 会员中心：订单搜索（v1.15） */
.uc-order-search { margin-bottom: 16px; max-width: 520px; }
.uc-order-keyword {
    font-size: 13px; color: var(--c-text-sub); background: var(--c-bg-gray);
    border-radius: 8px; padding: 8px 12px; margin-bottom: 14px;
}
.uc-order-keyword b { color: var(--c-primary); }
.uc-order-keyword a { margin-left: 8px; color: var(--c-text-sub); text-decoration: underline; }

/* ============================================================
 * v1.16.20 地址自动补全下拉
 * ============================================================ */
.addr-ac-wrap { position: relative; }
.addr-ac {
    display: none;
    position: absolute;
    z-index: 80;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
    max-height: 288px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.addr-ac.is-open { display: block; }
.addr-ac-item { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #f4f5f7; }
.addr-ac-item:last-child { border-bottom: 0; }
.addr-ac-item.is-active, .addr-ac-item:hover { background: #f2f7ff; }
.addr-ac-name { font-size: 14px; line-height: 1.5; color: var(--c-text, #1f2329); }
.addr-ac-lv {
    display: inline-block;
    margin-left: 6px;
    padding: 0 5px;
    font-size: 11px;
    line-height: 16px;
    color: #8a919f;
    background: #f2f3f5;
    border-radius: 4px;
    vertical-align: 1px;
}
.addr-ac-path { font-size: 12px; line-height: 1.5; color: var(--c-text-sub, #86909c); margin-top: 2px; }
.addr-ac-empty { padding: 12px; font-size: 13px; color: var(--c-text-sub, #86909c); text-align: center; }

@media (max-width: 900px) {
    .addr-ac { max-height: 240px; }
    .addr-ac-item { padding: 11px 12px; }   /* 移动端点击区域放大 */
}

/* ============================================================
   UI 设计知识库落地层（fx- 前缀，自包含，可整段删除回退）
   依据：.workbuddy/知识库/UI设计知识库.md
   组件：浮动标签① 密码强度⑨ 帮助文字⑫ 失焦校验⑪ 摇晃⑭
   动效：流光⑩ 入场渐显⑫
   纪律：每页亮点动效 ≤2；触屏无 hover 类；全部包 prefers-reduced-motion
   ============================================================ */

/* ---- 组件 1：浮动标签（仅用于纯表单页：登录/注册） ---- */
.fx-field { margin-bottom: 16px; }
.fx-flabel { position: relative; }
.fx-flabel .form-control { height: 50px; padding: 18px 14px 4px; }
.fx-flabel label {
    position: absolute; left: 15px; top: 15px; font-size: 15px; color: #8a919f;
    pointer-events: none; transform-origin: left top;
    transition: transform .16s ease, color .16s ease;
}
.fx-flabel .form-control:focus ~ label,
.fx-flabel .form-control:not(:placeholder-shown) ~ label {
    transform: translateY(-10px) scale(.76); color: var(--c-primary);
}

/* ---- 组件 12：帮助文字（常驻灰色小字；有报错时让位） ---- */
.fx-help { font-size: 12.5px; line-height: 1.7; color: var(--c-text-sub, #86909c); margin-top: 6px; }
.fx-field.has-err .fx-help { display: none; }

/* ---- 组件 11：行内报错（写在输入框正下方，说清怎么改） ---- */
.fx-err { font-size: 12.5px; line-height: 1.7; color: #d32f2f; margin-top: 6px; display: none; }
.fx-err:not(:empty) { display: block; }

/* ---- 组件 14：摇晃报错 ---- */
.fx-shake { animation: fx-shake .4s ease 1; border-color: #d32f2f !important; }
@keyframes fx-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); } 40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); } 80% { transform: translateX(4px); }
}

/* ---- 组件 9：密码强度条 + 眼睛切换 ---- */
.fx-pw-wrap { position: relative; }
.fx-pw-wrap .form-control { padding-right: 46px; }
.fx-eye {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border: 0; background: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #8a919f; border-radius: 6px;
}
.fx-eye:hover { color: var(--c-primary); }
.fx-eye svg { width: 19px; height: 19px; }
.fx-pw-bar { display: flex; gap: 4px; margin-top: 8px; }
.fx-pw-bar i { flex: 1; height: 4px; border-radius: 2px; background: #e8eaee; transition: background .2s; }
.fx-pw-bar[data-lv="1"] i:nth-child(1) { background: #e24b4a; }
.fx-pw-bar[data-lv="2"] i:nth-child(-n+2) { background: #ef9f27; }
.fx-pw-bar[data-lv="3"] i { background: #1d9e75; }
.fx-pw-tip { font-size: 12.5px; margin-top: 6px; color: var(--c-text-sub, #86909c); min-height: 18px; }
.fx-pw-tip[data-lv="1"] { color: #d32f2f; }
.fx-pw-tip[data-lv="2"] { color: #b8781a; }
.fx-pw-tip[data-lv="3"] { color: #0f8a43; }

/* ---- 动效 10：按钮流光（只给主 CTA，3 秒一次） ---- */
.fx-btn-shine { position: relative; overflow: hidden; }
.fx-btn-shine::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.38), transparent);
    transform: skewX(-18deg); animation: fx-sweep 3.2s ease-in-out infinite;
    pointer-events: none;
}
@keyframes fx-sweep {
    0%, 55% { left: -70%; }
    75% { left: 130%; }
    100% { left: 130%; }
}

/* ---- 动效 12：入场渐显（JS 挂 .is-in；无 JS 时不隐藏） ---- */
.fx-reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.fx-reveal.is-in { opacity: 1; transform: translateY(0); }
html:not(.fx-js) .fx-reveal { opacity: 1; transform: none; }

/* ---- 无障碍：系统减少动态效果时全部退化 ---- */
@media (prefers-reduced-motion: reduce) {
    .fx-flabel label { transition: none; }
    .fx-shake, .fx-btn-shine::after { animation: none; }
    .fx-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
 * OPC 官网科技主题层（追加于 v1.0，暗色 AI 风）
 * 覆盖后台配色变量 → 统一暗色科技面板；全部动效包 reduced-motion。
 * ============================================================ */
:root {
    --c-bg: #070b16 !important;
    --c-bg-gray: #0b1120 !important;
    --c-text: #e6ecff !important;
    --c-text-sub: #93a0c4 !important;
    --c-border: rgba(122, 142, 200, .16) !important;
    --c-primary: #22d3ee !important;
    --c-primary-d: #0e7490 !important;
    --c-primary-l: rgba(34, 211, 238, .12) !important;
    --c-accent: #a78bfa !important;
    --c-header-bg: rgba(7, 11, 22, .82) !important;
    --c-header-fg: #e6ecff !important;
    --c-footer-bg: #050810 !important;
    --c-footer-fg: #8b95b5 !important;
    --opc-card: linear-gradient(160deg, rgba(20, 28, 52, .88), rgba(12, 18, 36, .92));
    --opc-glow: 0 0 24px rgba(34, 211, 238, .18);
}

body {
    background:
        radial-gradient(1100px 520px at 82% -10%, rgba(34, 211, 238, .10), transparent 60%),
        radial-gradient(900px 480px at -10% 30%, rgba(167, 139, 250, .09), transparent 60%),
        var(--c-bg);
}
body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(122, 142, 200, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122, 142, 200, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
body > * { position: relative; z-index: 1; }

/* 顶栏 / 页头 */
.topbar { background: rgba(5, 8, 16, .85); border-bottom: 1px solid var(--c-border); color: var(--c-text-sub); }
.site-header { background: var(--c-header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--c-border); }
.logo-text { background: linear-gradient(90deg, #22d3ee, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; letter-spacing: 1px; }
.nav-list > li > a { color: var(--c-text-sub); }
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--c-primary); }

/* 按钮：青→紫渐变 */
.btn-primary { background: linear-gradient(135deg, #22d3ee, #818cf8) !important; color: #06121f !important; font-weight: 700; border: 0 !important; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-outline { border: 1px solid rgba(122, 142, 200, .4) !important; color: var(--c-text) !important; background: rgba(20, 28, 52, .4) !important; }
.btn-outline:hover { border-color: var(--c-primary) !important; color: var(--c-primary) !important; }

/* 卡片统一暗色玻璃 */
.product-card, .article-card, .card, .detail-content blockquote {
    background: var(--opc-card); border: 1px solid var(--c-border); color: var(--c-text);
}
.product-card:hover, .article-card:hover { border-color: rgba(34, 211, 238, .45); box-shadow: var(--opc-glow); transform: translateY(-2px); }
.section-title { background: linear-gradient(90deg, #e6ecff, #9fdcff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head .line { background: linear-gradient(90deg, #22d3ee, #a78bfa); }
.section-gray { background: transparent; }

/* 页脚 */
.site-footer { background: var(--c-footer-bg); border-top: 1px solid var(--c-border); }
.site-footer .footer-title { color: #cdd8f5; }
.site-footer a:hover { color: var(--c-primary); }
.footer-bottom { border-top: 1px solid rgba(122, 142, 200, .12); }

/* ============ 首屏：粒子 AI 头像 ============ */
.ai-hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.ai-hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(680px 380px at 72% 46%, rgba(34, 211, 238, .13), transparent 65%),
        radial-gradient(520px 320px at 22% 30%, rgba(167, 139, 250, .12), transparent 65%);
}
.ai-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.ai-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: 3px; color: #7df3ff; text-transform: uppercase; margin-bottom: 14px; }
.ai-dot { width: 8px; height: 8px; border-radius: 50%; background: #22d3ee; box-shadow: 0 0 12px #22d3ee; }
.ai-hero-title { font-size: 46px; line-height: 1.15; letter-spacing: 1px; background: linear-gradient(92deg, #ffffff 20%, #7df3ff 60%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-hero-desc { margin-top: 16px; font-size: 16.5px; color: var(--c-text-sub); min-height: 1.9em; }
.fx-type::after { content: ''; display: inline-block; width: 2px; height: 1.05em; background: #22d3ee; margin-left: 3px; vertical-align: -.18em; }
.fx-type-on::after { animation: opc-caret 1s steps(1) infinite; }
@keyframes opc-caret { 50% { opacity: 0; } }
.ai-hero-stats { margin-top: 26px; }
.ai-hero-stat b, .ai-hero-stats .hero-stat b { color: #7df3ff; font-variant-numeric: tabular-nums; }
.ai-hero-stage { display: flex; justify-content: center; }
.ai-avatar { display: block; filter: drop-shadow(0 0 26px rgba(34, 211, 238, .22)); }
.ai-avatar-fallback { width: 300px; height: 336px; }

/* ============ 下载卡片 ============ */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card {
    position: relative; display: flex; gap: 16px; padding: 20px;
    background: var(--opc-card); border: 1px solid var(--c-border); border-radius: 14px;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dl-card:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, .5); box-shadow: var(--opc-glow); }
.rank-badge {
    position: absolute; top: -10px; left: -6px; width: 30px; height: 30px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; font-style: normal;
    background: rgba(20, 28, 52, .9); border: 1px solid var(--c-border); color: var(--c-text-sub);
}
.rank-badge.rank-1 { background: linear-gradient(135deg, #ffd76e, #ff9d3c); color: #3a2404; border-color: transparent; box-shadow: 0 0 16px rgba(255, 190, 80, .4); }
.rank-badge.rank-2 { background: linear-gradient(135deg, #dbe7ff, #9fb6e0); color: #1c2a4a; border-color: transparent; }
.rank-badge.rank-3 { background: linear-gradient(135deg, #ffb08c, #d98555); color: #3d1d08; border-color: transparent; }
.dl-ico {
    flex: 0 0 58px; height: 58px; border-radius: 13px; overflow: hidden;
    background: rgba(34, 211, 238, .10); border: 1px solid rgba(34, 211, 238, .22);
    display: flex; align-items: center; justify-content: center;
}
.dl-ico img { width: 100%; height: 100%; object-fit: cover; }
.dl-ext { font-style: normal; font-weight: 800; font-size: 12px; letter-spacing: 1px; color: #22d3ee; }
.dl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.dl-name { font-size: 15.5px; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-ver { font-style: normal; font-size: 11.5px; color: #a78bfa; border: 1px solid rgba(167, 139, 250, .35); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 1px; }
.dl-sum { font-size: 12.5px; color: var(--c-text-sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 12px; color: var(--c-text-sub); }
.dl-count { display: inline-flex; align-items: center; gap: 5px; color: #7df3ff; font-variant-numeric: tabular-nums; }

/* ============ 下载中心页头 ============ */
.dl-page-head { padding: 52px 0 8px; text-align: center; }
.dl-page-title { font-size: 34px; background: linear-gradient(92deg, #fff, #7df3ff 65%, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-page-sub { color: var(--c-text-sub); margin-top: 10px; font-size: 14.5px; }
.dl-detail-head { text-align: left; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-sub); margin-bottom: 14px; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs a:hover { color: var(--c-primary); }

/* 详情页布局 */
.dl-detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 26px; align-items: start; }
.dl-detail-card { padding: 26px; }
.dl-info-card { padding: 22px; position: sticky; top: 86px; }
.dl-info-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(122, 142, 200, .18); font-size: 13.5px; }
.dl-info-row span { color: var(--c-text-sub); }
.dl-info-row b { color: var(--c-text); font-variant-numeric: tabular-nums; }
.dl-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; width: 100%; }
.dl-note { margin: 12px 0 0; font-size: 12px; color: var(--c-text-sub); text-align: center; }

/* CTA 渐变区 */
.ai-cta { background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(167, 139, 250, .14)); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }

/* 下载图标 */
.ic-download{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E")}

/* 关于区 */
.ai-about { max-width: 760px; }
.ai-about-content { color: var(--c-text-sub); font-size: 15px; }
.ai-about-content p { margin-bottom: 1em; }

/* ============ 自适应 ============ */
@media (max-width: 900px) {
    .ai-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .ai-hero-stage { order: -1; }
    .ai-hero-title { font-size: 34px; }
    .dl-detail-layout { grid-template-columns: 1fr; }
    .dl-info-card { position: static; }
}
@media (max-width: 640px) {
    .dl-grid { grid-template-columns: 1fr; }
    .ai-hero { padding: 48px 0 40px; }
    .dl-page-title { font-size: 26px; }
}

/* ============ 动效红线：reduced-motion 全退化 ============ */
@media (prefers-reduced-motion: reduce) {
    .fx-type::after { animation: none; }
    .fx-type-on::after { animation: none; opacity: 1; }
    .fx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .product-card, .article-card, .dl-card { transition: none !important; transform: none !important; }
    html { scroll-behavior: auto; }
}

/* ============ OPC 会员中心（uc-*）与补充图标 ============ */
.ic-logout{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E")}
.uc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.uc-side { padding: 18px; }
.uc-me { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); margin-bottom: 12px; }
.uc-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #22d3ee, #818cf8); color: #06121f; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.uc-nav { display: flex; flex-direction: column; gap: 2px; }
.uc-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--c-text-sub); font-size: 14px; }
.uc-nav a:hover { color: var(--c-primary); background: rgba(34, 211, 238, .06); }
.uc-nav a.is-active { color: var(--c-primary); background: rgba(34, 211, 238, .10); font-weight: 600; }
.uc-main { min-width: 0; }
.uc-card { padding: 22px; margin-bottom: 20px; }
.uc-tip { padding: 10px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 16px; }
.uc-tip-ok { background: rgba(34, 211, 238, .12); color: #7df3ff; border: 1px solid rgba(34, 211, 238, .3); }
.uc-tip-err { background: rgba(245, 95, 108, .12); color: #ff9aa2; border: 1px solid rgba(245, 95, 108, .3); }
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.uc-stat { background: rgba(20, 28, 52, .6); border: 1px solid var(--c-border); border-radius: 12px; padding: 16px 18px; }
.uc-stat b { display: block; font-size: 17px; margin-bottom: 4px; word-break: break-all; }
.uc-stat span { font-size: 12.5px; color: var(--c-text-sub); }
@media (max-width: 760px) { .uc-layout { grid-template-columns: 1fr; } .uc-grid { grid-template-columns: 1fr; } }
