/* == common-late.css：由 tools/build_common_late.sh 生成的合并包，勿手改 ==
 * 源文件（改它们后重跑脚本）：common-modal.css common-account.css common-support.css common-footer.css common-misc.css common-review.css
 * 加载方式：_header.blade.php 异步 media=print onload 换 all
 * 首屏骨架（support 挂件定位/隐藏兜底）在 base.css 末段 */

/* ===== common-modal.css ===== */
/* 小头盔 common.css 域拆分（2026-10-21 整理批二）：原 2684 行单文件按域拆 8 文件，
   _header.blade 按原物理顺序全量引入——层叠语义 100% 等价（行区间连续切分），
   改某域样式不再碰其他域文件。本文件域：弹层域：消息/确认/绑机 Modal/国家区号下拉）*/

/* ===== 消息 Modal ===== */
/* 2026-09-19 用户反馈：消息框加大到 ~800px（min() 自适应小屏不溢出）。
   宽度归 .modal-dialog 管（hc-msg-modal 挂在 content 上管皮肤） */
#hcMsgModal .modal-dialog {
    max-width:min(800px, calc(100vw - 32px));
}

.hc-msg-modal {
    border:none;
    border-radius:var(--hc-radius-lg);
    overflow:hidden;
}

.hc-msg-modal .modal-header {
    background:var(--hc-grad-deep);
    color:var(--hc-on-brand);
    border:none;
    padding:16px 20px;
}

.hc-msg-modal .modal-title {
    font-size:16px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
}

.hc-msg-modal .modal-title .ali-icon { font-size:18px; }

.hc-msg-modal .btn-close {
    filter:brightness(0) invert(1);
    opacity:0.7;
}

.hc-msg-modal .modal-body { padding:32px 20px; }

.hc-msg-empty {
    text-align:center;
    color:var(--hc-text-muted);
}

.hc-msg-empty-icon {
    width:56px;
    height:56px;
    margin:0 auto 12px;
    background:var(--hc-bg-alt);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hc-msg-empty-icon .ali-icon,
.hc-msg-empty-icon .hc-emoji {
    font-size:28px;
    color:var(--hc-text-muted);
}

.hc-msg-empty p {
    font-size:14px;
    margin:0;
}

/* 消息中心：工单回复列表（客服已回复待查看） */
.hc-msg-list {
    display:flex;
    flex-direction:column;
    gap:6px;
}

.hc-msg-item {
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    border:1px solid var(--hc-border);
    border-radius:var(--hc-radius);
    text-decoration:none;
    transition:border-color .15s ease, background .15s ease;
}

.hc-msg-item:hover {
    border-color:var(--hc-primary);
    background:var(--hc-bg-alt);
}

.hc-msg-item-dot {
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--hc-primary);
    flex-shrink:0;
}

.hc-msg-item-main {
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.hc-msg-item-main b {
    font-size:13.5px;
    font-weight:600;
    color:var(--hc-text);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.hc-msg-item-main time {
    font-size:11px;
    color:var(--hc-text-muted);
}

.hc-msg-item-state {
    flex-shrink:0;
    font-size:11px;
    font-weight:600;
    padding:3px 10px;
    border-radius:var(--hc-radius-full);
    background:var(--hc-primary-50);
    color:var(--hc-primary-dark);
}

/* 查看全部工单（消息弹窗底入口，2026-10-02 双端对称补缺） */
.hc-msg-view-all {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    margin-top:10px;
    padding:9px 0;
    font-size:12.5px;
    font-weight:600;
    color:var(--hc-primary-dark);
    text-decoration:none;
    border-top:1px solid var(--hc-border);
    transition:background .15s;
}

.hc-msg-view-all:hover {
    background:var(--hc-primary-50);
}

/* ===== 通用确认 Modal（退出登录等） ===== */
.hc-confirm-modal {
    border:none;
    border-radius:var(--hc-radius-lg);
    overflow:hidden;
    text-align:center;
}

.hc-confirm-modal .modal-body {
    padding:28px 24px 24px;
    position:relative;
}

.hc-confirm-close {
    position:absolute;
    top:12px;
    right:12px;
    opacity:.35;
}

.hc-confirm-icon {
    width:56px;
    height:56px;
    margin:0 auto 14px;
    border-radius:50%;
    background:var(--hc-primary-50);
    display:flex;
    align-items:center;
    justify-content:center;
}

.hc-confirm-icon .ali-icon,
.hc-confirm-icon .hc-emoji {
    font-size:28px;
    line-height:1;
}

.hc-confirm-title {
    font-size:16px;
    font-weight:600;
    color:var(--hc-text);
    margin:0 0 22px;
    line-height:1.5;
}

.hc-confirm-actions {
    display:flex;
    gap:12px;
}

.hc-confirm-btn {
    flex:1;
    height:42px;
    border-radius:var(--hc-radius);
    font-size:14px;
    font-weight:500;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:var(--hc-transition);
    border:1px solid var(--hc-border);
}

.hc-confirm-cancel {
    background:var(--hc-surface);
    color:var(--hc-text-secondary);
}

.hc-confirm-cancel:hover {
    background:var(--hc-bg-alt);
    color:var(--hc-text);
}

.hc-confirm-danger {
    background:var(--hc-danger);
    color:var(--hc-on-brand);
    border-color:var(--hc-danger);
}

.hc-confirm-danger:hover {
    background:var(--hc-danger-900);
    color:var(--hc-on-brand);
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(225, 29, 72, 0.3);
}

/* 主操作变体（2026-10-20 新人礼包弹窗启用；此前确认弹窗只有 danger/cancel 两档，
   正向主 CTA 一直缺位——品牌渐变 + 悬浮上浮，与 danger 档动效同构） */
.hc-confirm-primary {
    background:var(--hc-grad);
    color:var(--hc-on-brand);
    border:none;
}

.hc-confirm-primary:hover {
    background:var(--hc-grad-hover);
    color:var(--hc-on-brand);
    transform:translateY(-1px);
    box-shadow:var(--hc-shadow-primary);
}

/* 标题下的说明正文（icon+title+text+buttons 四件套；纯 title 弹窗不受影响） */
.hc-confirm-text {
    font-size:14px;
    line-height:1.65;
    color:var(--hc-text-secondary);
    margin:-12px 0 22px;
}

/* ===== 绑定手机号 Modal ===== */
.hc-bind-modal .modal-header {
    border-bottom:1px solid var(--hc-line-9);
    padding:18px 24px;
}
.hc-bind-modal .hc-bind-title {
    font-size:16px;
    font-weight:600;
    color:var(--hc-text);
    display:flex;
    align-items:center;
    gap:8px;
}
.hc-bind-modal .hc-bind-title .ali-icon {
    color:var(--hc-primary);
    font-size:20px;
}
.hc-bind-body {
    padding:24px;
}
.hc-bind-modal-sub {
    font-size:13px;
    color:var(--hc-text-muted);
    margin-bottom:18px;
    text-align:center;
}
.hc-bind-mock-tip {
    background:var(--hc-warning-50);
    border:1px solid var(--hc-warning-300);
    color:var(--hc-warning-800);
    padding:10px 14px;
    border-radius:8px;
    font-size:12px;
    margin-bottom:16px;
    line-height:1.6;
}
.hc-bind-error {
    background:var(--hc-danger-50);
    border:1px solid var(--hc-danger-300);
    color:var(--hc-danger-800);
    padding:10px 14px;
    border-radius:8px;
    font-size:13px;
    margin-bottom:16px;
}
.hc-bind-row {
    display:flex;
    gap:10px;
    margin-bottom:14px;
}
.hc-bind-select {
    flex:0 0 140px;
    padding:11px 10px;
    border:1px solid var(--hc-border);
    border-radius:10px;
    font-size:13px;
    background:var(--hc-bg-3);
    color:var(--hc-text);
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 10px center;
    padding-right:26px;
}
/* ===== 国家区号自绘下拉（2026-10-16；原生 <select> 弹层 OS 渲染纯白，接管全部视觉） ===== */
.hc-country-dd { position:relative; flex:0 0 140px; }
.hc-country-dd .hc-country-btn {
    display:flex; align-items:center; width:100%;
    text-align:left; cursor:pointer;
    font:inherit; /* 跟随表单字号（auth.css 页内覆写 14.5px/48px 不失真） */
    transition:border-color .15s, box-shadow .15s;
}
.hc-country-dd .hc-country-btn:focus-visible {
    outline:none; border-color:var(--hc-primary);
    box-shadow:0 0 0 4px rgba(124,58,237,.12);
}
.hc-country-dd .hc-country-cur {
    display:inline-flex; align-items:center; gap:6px;
    min-width:0; line-height:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hc-country-dd .hc-country-cur em {
    font-style:normal; color:var(--hc-primary); font-weight:700; line-height:1;
    /* 数字字形无降部、体块偏行盒上部（像素实测偏上 2px）——UI 字体度量
       确定，1px 下移与代码徽章（实测 -0.5px）对成一条视觉中线 */
    transform:translateY(1px);
}
/* 国家代码徽章（2026-10-16 二次返工：国旗 emoji 在 Windows 被渲染成字母且
   emoji 字体字形挂在行盒底部——像素实测缩写偏下 1.5px、区号偏上 2px，flex
   居中救不了字体度量。改用 UI 字体大写代码，度量确定、全平台一致） */
.hc-country-dd .hc-country-cur .hc-country-flag {
    font-size:15px; font-weight:800; letter-spacing:.5px; line-height:1;
    color:var(--hc-text);
}
.hc-country-dd .hc-country-panel {
    display:none; position:absolute; top:calc(100% + 6px); left:0; z-index:1065;
    min-width:100%; width:max-content; max-width:min(300px, calc(100vw - 48px));
    max-height:264px; overflow-y:auto; overscroll-behavior:contain;
    padding:6px; border:1px solid var(--hc-border); border-radius:12px;
    background:var(--hc-surface); box-shadow:0 12px 32px rgba(0,0,0,.22);
}
.hc-country-dd.open .hc-country-panel { display:block; }
.hc-country-dd.open .hc-country-btn { border-color:var(--hc-primary); }
.hc-country-opt {
    display:flex; align-items:center; gap:9px; width:100%;
    padding:9px 12px; border:0; border-radius:8px;
    background:transparent; color:var(--hc-text); font:inherit; font-size:13px;
    text-align:left; cursor:pointer; white-space:nowrap;
}
.hc-country-opt:hover, .hc-country-opt.active { background:var(--hc-primary-50); }
.hc-country-opt.selected { color:var(--hc-primary); font-weight:700; }
.hc-country-opt.selected::after {
    content:"✓"; margin-left:auto; padding-left:12px; font-weight:700; line-height:1;
}
/* 三段同 UI 字体 + line-height:1，字形度量一致，flex 居中即真居中 */
.hc-country-opt .hc-country-flag {
    flex:0 0 34px; font-size:12.5px; font-weight:800; letter-spacing:.5px; line-height:1;
    color:var(--hc-text-2, var(--hc-text));
}
.hc-country-opt .hc-country-dial { flex:0 0 auto; color:var(--hc-primary); font-weight:700; min-width:38px; line-height:1; }
.hc-country-opt .hc-country-name { flex:0 1 auto; overflow:hidden; text-overflow:ellipsis; color:var(--hc-text-2, var(--hc-text)); line-height:1.2; }

.hc-bind-input {
    flex:1;
    min-width:0; /* input 内在宽（size 默认 20 字符 ≈221px）阻止 flex 收缩——2026-10-19 窄屏 415px 撑破的元凶 */
    padding:11px 14px;
    border:1px solid var(--hc-border);
    border-radius:10px;
    font-size:14px;
    color:var(--hc-text);
    transition:border-color .15s;
}
.hc-bind-input:focus {
    outline:none;
    border-color:var(--hc-primary);
}
.hc-bind-code-row {
    display:flex;
    gap:10px;
    margin-bottom:18px;
}
.hc-bind-code-input {
    flex:1;
    min-width:0; /* 同 hc-bind-input：防 input 内在宽阻止收缩 */
    padding:11px 14px;
    border:1px solid var(--hc-border);
    border-radius:10px;
    font-size:14px;
    letter-spacing:4px;
    text-align:center;
    color:var(--hc-text);
}
.hc-bind-code-input:focus {
    outline:none;
    border-color:var(--hc-primary);
}
.hc-bind-send-btn {
    flex:0 0 130px;
    padding:11px;
    background:var(--hc-primary-100);
    color:var(--hc-primary);
    border:1px solid var(--hc-primary);
    border-radius:10px;
    font-size:13px;
    font-weight:500;
    cursor:pointer;
    transition:all .15s;
}
.hc-bind-send-btn:hover:not(:disabled) {
    background:var(--hc-primary);
    color:var(--hc-on-brand);
}
.hc-bind-send-btn:disabled {
    opacity:.5;
    cursor:not-allowed;
}
.hc-bind-submit {
    width:100%;
    padding:12px;
    background:var(--hc-grad);
    color:var(--hc-on-brand);
    border:none;
    border-radius:10px;
    font-size:15px;
    font-weight:500;
    cursor:pointer;
    transition:transform .15s, box-shadow .15s;
}
.hc-bind-submit:hover:not(:disabled) {
    transform:translateY(-1px);
    box-shadow:0 4px 16px rgba(124, 58, 237, 0.35);
}
.hc-bind-submit:disabled {
    opacity:.6;
    cursor:not-allowed;
}

/* ===== common-account.css ===== */
/* 小头盔 common.css 域拆分（2026-10-21 整理批二）：原 2684 行单文件按域拆 8 文件，
   _header.blade 按原物理顺序全量引入——层叠语义 100% 等价（行区间连续切分），
   改某域样式不再碰其他域文件。本文件域：账户表单域：登录页/邮箱密码/双通道 tab）*/

/* ===== 登录（/login 独立整页；2026-09-17 登录 Modal 移除，Modal 专属样式
   （hc-login-modal、hc-login-title、hc-social 系列、hc-oauth-error、
   hc-login-divider、hc-input 系列）已随之删除——页内样式见 login.blade.php
   内嵌 style 与 hc-lg- 段）===== */

.hc-login-btn {
    width:100%;
    height:46px;
    font-size:15px;
    font-weight:600;
    margin-top:4px;
    border-radius:var(--hc-radius);
}

.hc-login-hint {
    text-align:center;
    font-size:12px;
    color:var(--hc-text-muted);
    margin:16px 0 0;
}

/* ===== 邮箱+密码登录/注册（自建用户系统一期 2026-09-17）=====
   表单控件复用上方 hc-bind 段（同源）；此处仅通道分隔线与页脚注册入口 */
.hc-email-divider {
    display:flex;
    align-items:center;
    gap:12px;
    margin:18px 0 14px;
    color:var(--hc-text-muted);
    font-size:12px;
}
.hc-email-divider::before, .hc-email-divider::after {
    content:"";
    flex:1;
    height:1px;
    background:var(--hc-line-2);
}
.hc-login-email-foot {
    margin-top:16px;
    text-align:center;
    font-size:13px;
    color:var(--hc-text-muted);
}
.hc-login-email-foot a {
    color:var(--hc-primary);
    font-weight:600;
    text-decoration:none;
}
.hc-login-email-foot a:hover { text-decoration:underline; }

/* ===== 登录双通道 tab + 忘记密码行（自建用户系统二期 2026-09-17）===== */
.hc-login-tabs {
    display:flex;
    gap:8px;
    margin-bottom:16px;
    border-bottom:1px solid var(--hc-line-2);
    padding-bottom:0;
}
.hc-login-tab {
    flex:1;
    padding:9px 4px 11px;
    background:none;
    border:none;
    border-bottom:2px solid transparent;
    margin-bottom:-1px;
    font-size:13.5px;
    font-weight:600;
    color:var(--hc-text-muted);
    cursor:pointer;
    transition:color .15s, border-color .15s;
}
.hc-login-tab:hover { color:var(--hc-text-secondary); }
.hc-login-tab.active {
    color:var(--hc-primary);
    border-bottom-color:var(--hc-primary);
}
.hc-login-forgot-row {
    display:flex;
    justify-content:flex-end;
    margin:-4px 0 12px;
}
.hc-bind-forgot-link {
    font-size:12.5px;
    color:var(--hc-text-muted);
    text-decoration:none;
}
.hc-bind-forgot-link:hover { color:var(--hc-primary); text-decoration:underline; }

/* ===== common-support.css ===== */
/* 小头盔 common.css 域拆分（2026-10-21 整理批二）：原 2684 行单文件按域拆 8 文件，
   _header.blade 按原物理顺序全量引入——层叠语义 100% 等价（行区间连续切分），
   改某域样式不再碰其他域文件。本文件域：客服域：浮动钮/回顶部/移动抽屉/挂件面板/聊天页）*/

/* ===== 全站右下客服浮动钮（原 default 布局每页内联，样式原样搬入） =====
   2026-09-19 回到顶部加入竖排（用户反馈：客服在上、回顶部在下）：客服抬高到 88，
   回顶部占原底位 26（滚动 >400px 淡入，见 .hc-backtop-fab） */
.hc-support-fab { position:fixed; right:22px; bottom:88px; z-index:1080; display:flex; align-items:center; justify-content:center;
    width:52px; height:52px; border-radius:50%; color:var(--hc-on-brand); text-decoration:none; border:none; cursor:pointer;
    background:linear-gradient(135deg,var(--hc-primary-400) 0%,var(--hc-primary) 55%,var(--hc-primary-dark) 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 6px 18px rgba(124,58,237,.38);
    transition:transform .22s var(--hc-ease-out), box-shadow .16s ease, opacity .22s ease; }
.hc-support-fab:hover { transform:translateY(-2px) scale(1.04); box-shadow:inset 0 1px 0 rgba(255,255,255,.3), 0 10px 26px rgba(124,58,237,.46); color:var(--hc-on-brand); }
.hc-support-fab:active { transform:translateY(0) scale(.98); }
@media (max-width:576px) { .hc-support-fab { right:14px; width:46px; height:46px; } }

/* ===== 浮钮滚动让位已撤（2026-10-21 用户拍板「客服中心很重要，web 端要一直
   存在」）：10-19 三改为「浮钮压 buy 页立即购买」做的滚动退场，10-21 定性为
   方向偏了——客服入口常驻，移动端遮挡改用下方药丸坞缩体型解 ===== */

/* ===== 回到顶部浮动钮（2026-09-19 从页脚底条迁来，与客服竖排客服上回顶部下） =====
   白底描边同齿轮语言（客服渐变紫是主操作，回顶部/齿轮是次级）；滚动 >400px 才
   淡入——页面顶部点回顶无意义，默认隐不占视线 */
.hc-backtop-fab {
    position:fixed; right:22px; bottom:26px; z-index:1079;
    display:flex; align-items:center; justify-content:center;
    width:52px; height:52px; border-radius:50%; border:none; cursor:pointer;
    color:var(--hc-primary-700);
    background:var(--hc-surface);
    border:1px solid var(--hc-primary-100);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px rgba(30,27,46,.16);
    opacity:0; visibility:hidden; transform:translateY(6px);
    transition:transform .16s ease, box-shadow .16s ease, opacity .2s ease, visibility .2s;
}
.hc-backtop-fab.show { opacity:1; visibility:visible; transform:none; }
.hc-backtop-fab.show:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(30,27,46,.22); }
.hc-backtop-fab.show:active { transform:translateY(0) scale(.98); }
@media (max-width:767.98px) { .hc-backtop-fab { right:14px; bottom:18px; width:46px; height:46px; } }

/* ===== 移动端设置抽屉（2026-09-18 用户要求：顶部只留 Logo+搜索，其余收抽屉；
   入口 FAB 与客服挂件平级同排）——仅 <768px 显示，桌面零影响 ===== */
.hc-drawer-fab {
    position:fixed; right:14px; bottom:18px; z-index:1080;
    display:none; /* 仅移动端显示（下方媒体查询打开） */
    align-items:center; justify-content:center;
    width:46px; height:46px; border-radius:50%; border:none; cursor:pointer;
    color:var(--hc-primary-700);
    background:var(--hc-surface);
    border:1px solid var(--hc-primary-100);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px rgba(30,27,46,.16);
    transition:transform .22s var(--hc-ease-out), box-shadow .16s ease, opacity .22s ease;
}
.hc-drawer-fab:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(30,27,46,.22); }
.hc-drawer-fab:active { transform:translateY(0) scale(.98); }
@media (max-width:767.98px) {
    /* 右下药丸坞（2026-10-19 二改，用户报障「三钮竖排遮商品」）：客服+设置
       并排拼一枚胶囊压右下角；触屏回顶部退役（快滑即达，恢复=删那行）。
       2026-10-21 缩体型（用户拍板「移动端盖住主体内容，缩小一些」）：46→38
       （占地再降 ~32%），图标 22→17、角标 19→15 同步缩。safe-area 让开 iOS 小白条 */
    .hc-support-fab {
        right:calc(14px + 38px);
        bottom:calc(18px + env(safe-area-inset-bottom, 0px));
        width:38px; height:38px;
        border-radius:38px 0 0 38px;
    }
    .hc-support-fab svg, .hc-drawer-fab svg { width:17px; height:17px; }
    .hc-support-fab .hc-support-badge { min-width:15px; height:15px; padding:0 4px; font-size:10px; top:-2px; right:-2px; }
    .hc-support-fab:hover { transform:none; } /* 触屏无 hover：浮起位移会撕裂胶囊形 */
    .hc-drawer-fab {
        display:flex;
        right:14px;
        bottom:calc(18px + env(safe-area-inset-bottom, 0px));
        width:38px; height:38px;
        border-radius:0 38px 38px 0;
    }
    .hc-drawer-fab:hover { transform:none; }
    .hc-backtop-fab { display:none; }
}

/* 遮罩 */
.hc-drawer-mask {
    position:fixed; inset:0; z-index:1085;
    background:rgba(13, 6, 26, .5);
    opacity:0; transition:opacity .22s ease;
}
.hc-drawer-mask.show { opacity:1; }

/* 抽屉面板（底部滑入小抽屉）——2026-09-18 二版精修：
   与登录页/页脚同设计语言（渐变字/发丝线/玻璃卡/强调条/渐变胶囊） */
.hc-drawer {
    position:fixed; left:0; right:0; bottom:0; z-index:1090;
    max-height:78vh; display:flex; flex-direction:column;
    background:var(--hc-surface);
    border-radius:18px 18px 0 0;
    border:1px solid var(--hc-primary-100); border-bottom:none;
    box-shadow:0 -12px 40px rgba(30,27,46,.22);
    transform:translateY(102%);
    transition:transform .26s var(--hc-ease-out);
    visibility:hidden;
    overflow:hidden;
}
.hc-drawer.open { transform:translateY(0); visibility:visible; }
@media (min-width:768px) { .hc-drawer, .hc-drawer-mask { display:none; } }
/* 顶部紫晕（舞台光，溢出裁切在面板内） */
.hc-drawer::before {
    content:""; position:absolute; top:-90px; left:50%; transform:translateX(-50%);
    width:440px; height:180px; pointer-events:none;
    background:radial-gradient(closest-side, rgba(124,58,237,.13), transparent);
}

/* 抓手条（bottom sheet 惯例） */
.hc-drawer-grab {
    width:36px; height:4px; border-radius:2px;
    background:var(--hc-line-12);
    margin:10px auto 0; flex-shrink:0;
}

/* 头：渐变字标题 + 发丝线收口（与页脚同语言） */
.hc-drawer-head {
    position:relative;
    display:flex; align-items:center; justify-content:space-between;
    padding:12px 20px; flex-shrink:0;
}
.hc-drawer-head::after {
    content:""; position:absolute; left:20px; right:20px; bottom:0; height:1px;
    background:linear-gradient(90deg, transparent, rgba(124,58,237,.38) 18%, rgba(217,191,255,.55) 50%, rgba(236,72,153,.35) 78%, transparent);
}
.hc-drawer-title {
    font-size:16px; font-weight:800; letter-spacing:.02em;
    background:linear-gradient(96deg, var(--hc-primary) 0%, var(--hc-primary-500) 55%, var(--hc-pink) 100%);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent; color:transparent;
}
.hc-drawer-x {
    width:32px; height:32px; border:none; border-radius:50%; cursor:pointer;
    background:var(--hc-primary-50); color:var(--hc-text-muted);
    font-size:18px; line-height:1;
    transition:background .15s ease, color .15s ease;
}
.hc-drawer-x:hover { background:var(--hc-primary-100); color:var(--hc-primary-700); }

.hc-drawer-body {
    position:relative;
    overflow-y:auto; padding:16px 20px calc(20px + env(safe-area-inset-bottom));
    display:flex; flex-direction:column; gap:18px;
}
.hc-drawer-sec-div { border-top:1px dashed var(--hc-line-12); padding-top:16px; }

/* ---- 账户：玻璃用户卡 + 图标磁贴（原生设置风） ---- */
.hc-drawer-usercard {
    display:flex; align-items:center; gap:12px;
    padding:12px 14px; border-radius:14px;
    background:linear-gradient(135deg, var(--hc-primary-50), var(--hc-bg));
    border:1px solid var(--hc-primary-100);
    margin-bottom:10px;
}
.hc-drawer-avatar {
    width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0;
    box-shadow:0 0 0 2px var(--hc-primary-100);
}
.hc-drawer-avatar-ph {
    display:inline-flex; align-items:center; justify-content:center;
    font-size:18px; color:var(--hc-primary);
    background:linear-gradient(135deg, var(--hc-primary-50), var(--hc-primary-100));
}
.hc-drawer-usermain { min-width:0; display:flex; flex-direction:column; gap:3px; }
.hc-drawer-usermain b {
    font-size:14px; font-weight:700; color:var(--hc-text);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hc-drawer-usermain i {
    font-style:normal; font-size:11px; color:var(--hc-text-muted);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hc-drawer-tiles { display:grid; grid-template-columns:repeat(3, 1fr); gap:8px; }
.hc-drawer-tile {
    display:flex; flex-direction:column; align-items:center; gap:8px;
    padding:12px 6px 11px; border-radius:13px;
    background:var(--hc-bg); border:1px solid var(--hc-line-12);
    text-decoration:none;
    transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.hc-drawer-tile:hover {
    border-color:var(--hc-primary-300); transform:translateY(-1px);
    box-shadow:0 5px 14px rgba(124,58,237,.12);
}
.hc-drawer-tile-ic {
    position:relative;
    width:38px; height:38px; border-radius:11px;
    display:inline-flex; align-items:center; justify-content:center;
    color:var(--hc-primary);
    background:var(--hc-primary-50); border:1px solid var(--hc-primary-100);
}
.hc-drawer-tile-ic .hc-msg-badge { position:absolute; top:-5px; right:-8px; }
.hc-drawer-tile-ic svg { display:block; }
.hc-drawer-tile-label {
    font-size:11.5px; font-weight:500; color:var(--hc-text-secondary);
    max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* ---- 未登录：渐变 CTA 卡 ---- */
.hc-drawer-cta {
    padding:15px 16px 16px; border-radius:14px;
    background:linear-gradient(135deg, var(--hc-primary-50), var(--hc-bg));
    border:1px dashed var(--hc-primary-200, var(--hc-primary-100));
}
.hc-drawer-cta-text { font-size:12.5px; line-height:1.6; color:var(--hc-text-secondary); margin-bottom:13px; }
.hc-drawer-cta-btns { display:flex; gap:10px; }
.hc-drawer-cta-login {
    flex:1.2; display:flex; align-items:center; justify-content:center; height:42px;
    border-radius:11px; font-size:13.5px; font-weight:600; text-decoration:none;
    color:var(--hc-on-brand);
    background:linear-gradient(135deg, var(--hc-primary-400) 0%, var(--hc-primary) 55%, var(--hc-primary-dark) 100%);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px rgba(124,58,237,.32);
}
.hc-drawer-cta-reg {
    flex:1; display:flex; align-items:center; justify-content:center; height:42px;
    border-radius:11px; font-size:13.5px; font-weight:600; text-decoration:none;
    color:var(--hc-primary-700); background:var(--hc-surface);
    border:1px solid var(--hc-primary-200, var(--hc-primary-100));
}

/* ---- 分区头：强调条 + 标题 + 当前值徽标 ---- */
.hc-drawer-sec-head { display:flex; align-items:center; gap:8px; margin-bottom:11px; }
.hc-drawer-sec-bar {
    width:3px; height:13px; border-radius:2px; flex-shrink:0;
    background:linear-gradient(180deg, var(--hc-primary), var(--hc-pink));
    box-shadow:0 0 6px rgba(124,58,237,.35);
}
.hc-drawer-sec-head span { font-size:12.5px; font-weight:700; color:var(--hc-text); }
.hc-drawer-sec-head em {
    margin-left:auto; font-style:normal;
    font-size:11px; font-weight:600; color:var(--hc-primary-700);
    background:var(--hc-primary-50); border:1px solid var(--hc-primary-100);
    padding:2px 10px; border-radius:999px;
    max-width:46%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* ---- 语言/货币：网格胶囊（active 渐变+对勾，随全局切换 JS 同步） ---- */
.hc-drawer-grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(96px, 1fr));
    gap:8px;
}
.hc-drawer-pill {
    display:flex; align-items:center; justify-content:center; gap:4px;
    min-height:36px; padding:6px 6px; border-radius:10px;
    font-size:12px; font-weight:500; text-align:center;
    color:var(--hc-text-secondary); text-decoration:none;
    background:var(--hc-bg); border:1px solid var(--hc-line-12);
    transition:border-color .14s ease, color .14s ease;
}
.hc-drawer-pill svg { flex-shrink:0; }
.hc-drawer-pill:hover, .hc-drawer-pill:focus { border-color:var(--hc-primary-300); color:var(--hc-primary-700); }
/* 对勾挂 CSS（跟随 active 类自动迁移——active 由全局切换 JS 的 S4 同步维护） */
.hc-drawer-pill.active::before, .hc-drawer .dropdown-item.active::before {
    content:"✓"; font-size:10px; font-weight:700; margin-right:3px;
}
.hc-drawer-pill.active {
    color:var(--hc-on-brand); font-weight:600;
    background:linear-gradient(135deg, var(--hc-primary-400) 0%, var(--hc-primary) 55%, var(--hc-primary-dark) 100%);
    border-color:transparent;
    box-shadow:0 3px 10px rgba(124,58,237,.3);
}
/* 货币胶囊复用 dropdown-item 类只为吃全局委托 JS——形态由本段接管 */
.hc-drawer .dropdown-item {
    display:flex; align-items:center; justify-content:center; gap:4px;
    width:auto; clear:none;
    min-height:36px; padding:6px 6px; border-radius:10px;
    font-size:12px; font-weight:500; text-align:center;
    color:var(--hc-text-secondary); background:var(--hc-bg);
    border:1px solid var(--hc-line-12);
    transition:border-color .14s ease, color .14s ease;
}
.hc-drawer .dropdown-item:hover, .hc-drawer .dropdown-item:focus {
    color:var(--hc-primary-700); background:var(--hc-bg); border-color:var(--hc-primary-300);
}
.hc-drawer .dropdown-item.active {
    color:var(--hc-on-brand); font-weight:600;
    background:linear-gradient(135deg, var(--hc-primary-400) 0%, var(--hc-primary) 55%, var(--hc-primary-dark) 100%);
    border-color:transparent;
    box-shadow:0 3px 10px rgba(124,58,237,.3);
}

/* 未读徽标（客服回复实时计数；面板打开清零） */
.hc-support-badge { position:absolute; top:-3px; right:-3px; min-width:19px; height:19px; padding:0 5px;
    border-radius:999px; background:var(--hc-danger-400); color:var(--hc-on-brand); font-size:11px; font-weight:700; font-family:inherit;
    display:flex; align-items:center; justify-content:center; box-shadow:0 2px 6px rgba(239,68,68,.45); }

/* ===== 客服挂件弹出面板（iframe 聊天窗；2026-09-19 回顶部加入后 bottom 92→150 让位双钮栈） ===== */
.hc-support-panel { position:fixed; right:22px; bottom:150px; z-index:1080; width:min(460px, calc(100vw - 44px)); height:min(760px, calc(100vh - 170px));
    display:none; flex-direction:column; overflow:hidden; border-radius:16px; border:1px solid var(--hc-primary-100);
    background:var(--hc-surface); box-shadow:0 24px 60px rgba(30,27,46,.28), 0 4px 14px rgba(30,27,46,.12); }
.hc-support-panel.open { display:flex; animation:hcSpPop .18s ease; }
@keyframes hcSpPop { from { opacity:0; transform:translateY(10px) scale(.98); } to { opacity:1; transform:none; } }
.hc-support-panel-head { display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:12px 14px; background:linear-gradient(135deg,var(--hc-primary) 0%,var(--hc-primary-dark) 100%); color:var(--hc-on-brand); }
.hc-support-panel-title { font-size:14px; font-weight:700; letter-spacing:.02em; }
.hc-support-panel-actions { display:flex; align-items:center; gap:6px; }
.hc-support-panel-btn { border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.14); color:var(--hc-on-brand);
    font-size:12px; font-family:inherit; padding:4px 12px; border-radius:999px; cursor:pointer; transition:background .15s; }
.hc-support-panel-btn:hover { background:rgba(255,255,255,.26); }
.hc-support-panel-x { font-size:16px; line-height:1; padding:2px 10px 4px; }
.hc-support-panel #hcSupportFrame { flex:1; width:100%; border:0; background:var(--hc-surface-2); }
@media (max-width:576px) {
    .hc-support-panel { left:10px; right:10px; width:auto; bottom:calc(66px + env(safe-area-inset-bottom, 0px)); height:min(700px, calc(100vh - 84px)); }
}
/* 弹出面板贴坞顶（2026-10-21 坞缩 38 后）：旧 186/204 是 2026-09-19 三钮栈时代值
   （栈 top 130+46），现坞顶=18+38，留 10px 呼吸=66。本块在上方 576 规则之后，
   ≤576 同特异性后者胜出；577-767 只有本块生效 */
@media (max-width:767.98px) {
    .hc-support-panel { bottom:calc(66px + env(safe-area-inset-bottom, 0px)); height:min(700px, calc(100vh - 84px)); }
}

/* 挂件 iframe 内页面的裸布局钩子（bare 布局 body） */
.hc-widget-body { padding:0; background:var(--hc-surface-2); min-height:100vh; margin:0; box-sizing:border-box; }
.hc-widget-body .hc-form-wrap { max-width:none; margin:0; padding:0; }
/* 挂件内对话页去卡片壳：面板本身就是窗，页内不再画边框圆角阴影的"卡中卡" */
.hc-widget-body .hc-form-card { border:none; border-radius:0; box-shadow:none; height:100vh; }
.hc-widget-body .hc-form-body { padding:14px 14px 16px; }

/* ===== 客服机器人聊天页（hc-chat-*，挂件 iframe first screen / 直访均用；与 .hc-tk-* 对话页体系分家） ===== */
/* 2026-09-20 主体宽度统一 1140（原 760）；挂件 iframe 内 .hc-widget-body 覆写不受影响；
   width:100% 同 .hc-form-wrap 的 body-flex shrink-to-fit 防线 */
.hc-chat-wrap { width:100%; max-width:1140px; margin:40px auto; padding:0 16px; }
.hc-chat-page { display:flex; flex-direction:column; height:min(640px, calc(100vh - 160px));
    background:var(--hc-surface); border:1px solid var(--hc-primary-100); border-radius:16px; overflow:hidden;
    box-shadow:0 8px 30px rgba(124,58,237,.08); }
.hc-chat-head { display:flex; align-items:center; gap:11px; padding:14px 16px;
    background:linear-gradient(135deg,var(--hc-primary) 0%,var(--hc-primary-dark) 100%); color:var(--hc-on-brand); }
/* 旧版 36px 头像块已删：除 border 外全部属性被下方 30px 版覆盖，border 值已并入该版 */
.hc-chat-head-txt { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.hc-chat-head-txt strong { font-size:14.5px; font-weight:700; letter-spacing:.02em; }
.hc-chat-head-txt em { font-style:normal; font-size:11.5px; opacity:.82; }
.hc-chat-human-btn { flex:none; border:1px solid rgba(255,255,255,.4); background:rgba(255,255,255,.16);
    color:var(--hc-on-brand); font-size:12px; font-family:inherit; font-weight:600; padding:6px 13px; border-radius:999px;
    cursor:pointer; transition:background .15s; }
.hc-chat-human-btn:hover { background:rgba(255,255,255,.3); }
.hc-chat-msgs { flex:1; overflow-y:auto; padding:16px 14px; background:var(--hc-surface-2);
    display:flex; flex-direction:column; gap:12px; }
.hc-chat-msg { display:flex; align-items:flex-start; gap:8px; }
/* 标准 IM 布局（用户拍板）："我"（客户）说的话居右、头像在气泡右侧；别人（客服）居左、头像在气泡左侧。
   row-reverse 主轴起点在视觉右侧——自己的行靠右用 flex-start */
.hc-chat-msg.user { justify-content:flex-start; flex-direction:row-reverse; }
.hc-chat-msg.bot { justify-content:flex-start; }
/* 头像：客服=紫渐变🎧，客户=OAuth 头像 img（登录）或 👤 默认（未登录） */
.hc-chat-avatar { flex:none; width:30px; height:30px; border-radius:50%; display:flex; align-items:center;
    justify-content:center; font-size:13px; margin-top:2px; overflow:hidden;
    border:1px solid rgba(255,255,255,.35);
    background:linear-gradient(135deg,var(--hc-primary-400),var(--hc-primary-dark)); color:var(--hc-on-brand); box-shadow:0 2px 8px rgba(124,58,237,.28); }
.hc-chat-avatar.me { background:linear-gradient(135deg,var(--hc-chat-av-1),var(--hc-chat-av-2)); box-shadow:0 2px 8px rgba(91,107,136,.25); }
.hc-chat-avatar img { width:100%; height:100%; border-radius:50%; object-fit:cover; display:block; }
.hc-chat-bub { max-width:86%; border-radius:14px; padding:10px 13px; font-size:13.5px; line-height:1.7;
    word-break:break-word; white-space:pre-wrap; }
.hc-chat-msg.bot .hc-chat-bub { background:var(--hc-bg-2); border:1px solid var(--hc-primary-100); border-top-left-radius:4px; }
.hc-chat-msg.user .hc-chat-bub { background:linear-gradient(135deg,var(--hc-primary),var(--hc-primary-dark)); color:var(--hc-on-brand); border-top-right-radius:4px; }
.hc-chat-chips { display:flex; flex-wrap:wrap; gap:8px; padding:10px 14px; border-top:1px solid var(--hc-line-4); background:var(--hc-surface); }
.hc-chat-chip { border:1px solid var(--hc-line-5); background:var(--hc-bg-2); color:var(--hc-text-secondary); font-size:12.5px; font-family:inherit;
    padding:7px 13px; border-radius:999px; cursor:pointer; transition:background .15s, border-color .15s, color .15s; }
.hc-chat-chip:hover { background:var(--hc-primary-100); border-color:var(--hc-line-7); color:var(--hc-primary-dark); }
.hc-chat-chip--human { border-color:var(--hc-primary-200); background:var(--hc-primary-50); color:var(--hc-primary-dark); font-weight:600; }
.hc-chat-inputrow { display:flex; gap:8px; padding:10px 14px 14px; background:var(--hc-surface); align-items:center; }
.hc-chat-inputrow.is-disabled { opacity:.5; pointer-events:none; }
/* 表情按钮 + 输入列（面板悬浮输入框上方） */
.hc-chat-emoji-btn { flex:none; display:flex; align-items:center; justify-content:center; width:40px; height:40px;
    border:none; background:none; font-size:19px; cursor:pointer; border-radius:50%;
    color:var(--hc-text-muted-3); transition:background .15s; line-height:1; }
.hc-chat-emoji-btn:hover { background:var(--hc-bg-4); color:var(--hc-primary-dark); }
.hc-chat-inputcol { flex:1; min-width:0; display:flex; flex-direction:column; position:relative; }
/* 表情面板：悬浮下拉（2026-09-23 十改修复：原 position:relative 在文档流占位，
   展开时把 inputcol 撑高、整行 align-items:center 连带表情钮/发送钮外框全被
   撑大漂移——改 absolute 浮于输入框上方，行高恒定不动；
   十一改：定位/外飘关闭钮收进 wrapper（overflow:visible 不再被面板滚动区
   裁剪隐形）；十二改（用户拍板）：面板宽度与聊天主体同宽（left/right:0
   撑满输入列），格子 auto-fill ≥48px 自适应密度——宽屏 16+ 列 4 行矮面板，
   窄屏自动降列，不再稀疏 8 大列） */
.hc-chat-emoji-wrap { position:absolute;
    /* 与聊天卡（客服中心的框）左右缘对齐：面板挂 inputcol，负偏移吃掉
       inputrow 的左右内边距(14)+两侧按钮(表情钮40/发送钮46)+行内gap(8)+卡边框(1)。
       注意不能写 calc(-(A+B))——负号直接包括号是非法 calc（整条声明会被
       浏览器丢弃回退 0），要展开成字面负值 */
    left:-63px;
    right:-69px;
    bottom:calc(100% + 10px); z-index:5;
    filter:drop-shadow(0 8px 24px rgba(30,27,46,.18)); }
.hc-chat-emoji { display:grid; grid-template-columns:repeat(auto-fill, minmax(48px, 1fr)); gap:2px;
    width:100%; /* auto-fill 在 absolute 容器内宽度解析退化成单列，显式撑满 wrapper */
    background:var(--hc-surface-2); border:1px solid var(--hc-line-4); border-radius:10px;
    padding:8px; max-height:198px; overflow-y:auto; }

/* 表情面板关闭小钮已全线退役（2026-09-23 工单对话页同步撤钮，改点外部关闭；
   .hc-emoji-close 类删除，两个表情面板均无关闭钮） */
/* text-align:center：格子 auto-fill 变宽后 emoji 居中（原定宽格默认观感即居中） */
.hc-chat-emoji button { border:none; background:none; font-size:19px; cursor:pointer; padding:5px 0;
    border-radius:7px; transition:background .12s; text-align:center; }
.hc-chat-emoji button:hover { background:var(--hc-primary-100); }
/* 单行输入框（Enter 发送/Shift+Enter 换行）：与发送钮同高一行，长文内滚 */
.hc-chat-input { flex:1; height:46px; min-height:46px; max-height:46px; border:1px solid var(--hc-border); border-radius:10px;
    padding:12px 14px; font-size:14px; font-family:inherit; line-height:1.45; color:var(--hc-text); background:var(--hc-bg);
    box-sizing:border-box; resize:none; overflow-y:auto;
    transition:border-color .15s, box-shadow .15s, background .15s; }
.hc-chat-input:focus { outline:none; border-color:var(--hc-primary); box-shadow:0 0 0 3px rgba(124,58,237,.12); background:var(--hc-surface); }
.hc-chat-send { flex:none; border:none; border-radius:50%; width:46px; height:46px; display:flex;
    align-items:center; justify-content:center; cursor:pointer; color:var(--hc-on-brand);
    background:linear-gradient(135deg,var(--hc-primary) 0%,var(--hc-primary-dark) 100%); box-shadow:0 3px 10px rgba(124,58,237,.3);
    transition:transform .15s, box-shadow .15s; }
.hc-chat-send:hover { transform:translateY(-1px) rotate(-8deg); box-shadow:0 6px 18px rgba(124,58,237,.4); }
/* 转人工卡（字段复用 hc-form-* 骨架） */
.hc-chat-human { margin:0 14px 12px; border:1px solid var(--hc-primary-100); border-radius:12px; padding:14px; background:var(--hc-surface); }
.hc-chat-human.is-hidden { display:none; }
.hc-chat-human-title { margin:0 0 4px; font-size:14px; font-weight:700; color:var(--hc-text); }
.hc-chat-human-desc { margin:0 0 12px; font-size:12px; color:var(--hc-text-muted); line-height:1.6; }
.hc-chat-err { margin:0 0 12px; font-size:12.5px; color:var(--hc-danger-600); background:var(--hc-danger-bg); border:1px solid var(--hc-danger-line);
    border-radius:8px; padding:8px 11px; line-height:1.5; }
/* 工单独立表单页校验错误条（2026-09-19 补，与 hc-chat-err 同口径） */
.hc-form-err { margin:0 0 14px; font-size:12.5px; color:var(--hc-danger-600); background:var(--hc-danger-bg); border:1px solid var(--hc-danger-line);
    border-radius:8px; padding:8px 11px; line-height:1.5; }
.hc-chat-human-acts { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:2px; }
.hc-chat-human-cancel { border:none; background:none; color:var(--hc-text-muted); font-size:12.5px; font-family:inherit;
    cursor:pointer; padding:6px 4px; }
.hc-chat-human-cancel:hover { color:var(--hc-text-secondary); text-decoration:underline; }
/* 机器人 typing 三点 */
.hc-chat-typing .hc-chat-bub { display:inline-flex; align-items:center; gap:4px; padding:12px 14px; }
.hc-chat-typing .hc-chat-bub i { width:6px; height:6px; border-radius:50%; background:var(--hc-typing-dot); display:inline-block;
    animation:hcChatDot 1.2s infinite ease-in-out; }
.hc-chat-typing .hc-chat-bub i:nth-child(2) { animation-delay:.15s; }
.hc-chat-typing .hc-chat-bub i:nth-child(3) { animation-delay:.3s; }
@keyframes hcChatDot { 0%, 60%, 100% { transform:translateY(0); opacity:.5; } 30% { transform:translateY(-4px); opacity:1; } }
/* 挂件 iframe 适配（bare 布局 body 已零内边距 → 撑满 390px 面板） */
.hc-widget-body .hc-chat-wrap { max-width:none; margin:0; padding:0; }
.hc-widget-body .hc-chat-page { height:100vh; border:none; border-radius:0; box-shadow:none; }
@media (max-width:576px) {
    .hc-chat-wrap { margin:16px auto 24px; }
    .hc-chat-page { height:min(640px, calc(100vh - 120px)); }
}

/* ===== common-footer.css ===== */
/* 小头盔 common.css 域拆分（2026-10-21 整理批二）：原 2684 行单文件按域拆 8 文件，
   _header.blade 按原物理顺序全量引入——层叠语义 100% 等价（行区间连续切分），
   改某域样式不再碰其他域文件。本文件域：页脚域：亮色「晨光收尾」段）*/

/* ===== 页脚亮色主题「晨光收尾」（2026-10-21 亮色主题批）=====
   上方页脚 2026-09-18 版是「深紫舞台」恒深底（两主题同底）——亮色主题下
   是压在晨光页面底部的一块深色补丁（buy 页晨光渐变上尤其突兀）。本段给
   亮色态换同构姊妹版：雾紫渐变底 + 同款网格底纹/双光晕改淡紫口径 + 墨色
   文字 + 品牌紫渐变 logo。结构与间距零改动（网格/光晕/玻璃标牌/胶囊徽章
   原语言全保留）；暗色值一行不动（html[data-theme=dark] 时 :not 块整段
   不参与）。与 buy.css「晨光海岸」同族。 */
html:not([data-theme="dark"]) .hc-footer {
    color:#57526F;
    background:
        linear-gradient(rgba(124, 58, 237, 0.062) 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(640px 300px at 88% -6%, rgba(167, 139, 250, 0.16), transparent 62%),
        radial-gradient(520px 260px at 6% 104%, rgba(236, 72, 153, 0.07), transparent 60%),
        linear-gradient(180deg, #F7F5FD 0%, #F3F0FA 55%, #EFEBF8 100%);
}
/* 顶部极光发丝线：暗版淡紫/粉，亮版压深一档才可见 */
html:not([data-theme="dark"]) .hc-footer::before {
    background:linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3) 12%, rgba(139, 92, 246, 0.72) 42%, rgba(236, 72, 153, 0.5) 74%, transparent);
}
/* 底部渐隐：把网格底纹收进底色（暗版收进深色，亮版收进雾紫底） */
html:not([data-theme="dark"]) .hc-footer::after {
    background:linear-gradient(180deg, transparent, rgba(239, 235, 248, 0.9));
}
/* 玻璃标牌：白玻璃 + 薰衣草发丝边 */
html:not([data-theme="dark"]) .hc-foot-mark {
    background:rgba(255, 255, 255, 0.7);
    border-color:rgba(124, 58, 237, 0.16);
    box-shadow:0 10px 26px rgba(76, 29, 149, 0.14);
}
/* 品牌字：暗版白→淡紫渐变（恒深底语境）；亮版换品牌紫→粉渐变 */
html:not([data-theme="dark"]) .hc-foot-logo {
    background:linear-gradient(96deg, #5B21B6 30%, #7C3AED 60%, #DB2777 95%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
html:not([data-theme="dark"]) .hc-foot-brand-sub { color:#6E688C; }
/* 支付通道徽章：浅字玻璃胶囊 → 白底胶囊+墨字 */
html:not([data-theme="dark"]) .hc-foot-pay {
    color:#4D4768;
    border-color:rgba(124, 58, 237, 0.18);
    background:rgba(255, 255, 255, 0.6);
}
html:not([data-theme="dark"]) .hc-foot-pay:hover {
    border-color:rgba(124, 58, 237, 0.4);
    background:#FFFFFF;
}
html:not([data-theme="dark"]) .hc-foot-custom { color:#6E688C; }
html:not([data-theme="dark"]) .hc-foot-custom a { color:#6D28D9; }
html:not([data-theme="dark"]) .hc-foot-custom a:hover { color:#5B21B6; }
/* 链接列亮色（v2 chip 云）：白底胶囊+墨字，hover 品牌紫填充 */
html:not([data-theme="dark"]) .hc-foot-col h2, html:not([data-theme="dark"]) .hc-foot-col h3, html:not([data-theme="dark"]) .hc-foot-col h4 { color:#6C6690; }
html:not([data-theme="dark"]) .hc-foot-col a {
    color:#57526F;
    background:rgba(255, 255, 255, 0.72);
    border-color:rgba(124, 58, 237, 0.16);
}
html:not([data-theme="dark"]) .hc-foot-col a:hover {
    color:#6D28D9;
    background:#FFFFFF;
    border-color:rgba(124, 58, 237, 0.4);
}
/* 底条：淡紫分隔线 + 灰紫小字 */
html:not([data-theme="dark"]) .hc-foot-bottom { color:#8D87AC; }
html:not([data-theme="dark"]) .hc-foot-bottom::before {
    background:linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.18) 18%, rgba(124, 58, 237, 0.18) 82%, transparent);
}
html:not([data-theme="dark"]) .hc-foot-powered a { color:#6D28D9; }
html:not([data-theme="dark"]) .hc-foot-powered a:hover { color:#5B21B6; }

/* ============================================
   订单卡（订单详情页 / 我的订单页共用组件）
   ============================================ */

.hc-oi-card { position:relative; background:var(--hc-surface); border-radius:14px; border:1px solid var(--hc-primary-100); box-shadow:0 4px 18px rgba(124,58,237,.05); margin-bottom:14px; overflow:hidden; }
.hc-oi-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--hc-line-neutral); }
.hc-oi-card.s-completed::before { background:var(--hc-success-bright); }
.hc-oi-card.s-wait::before { background:var(--hc-text-muted); }
.hc-oi-card.s-pending::before { background:var(--hc-info); }
.hc-oi-card.s-failure::before, .hc-oi-card.s-abnormal::before { background:var(--hc-danger-400); }
.hc-oi-card.s-expired::before { background:var(--hc-text-muted); }

.hc-oi-top { display:flex; align-items:center; gap:14px; padding:15px 20px 11px 24px; }
.hc-oi-thumb { width:52px; height:52px; border-radius:11px; object-fit:cover; background:var(--hc-bg-alt); flex-shrink:0; }
.hc-oi-thumb-ph { width:52px; height:52px; border-radius:11px; background:linear-gradient(135deg,var(--hc-bg-alt),var(--hc-primary-100)); display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--hc-primary-light); font-size:21px; }
.hc-oi-top-main { flex:1; min-width:0; }
.hc-oi-name { font-size:15px; font-weight:600; color:var(--hc-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* 商品名→购买页链接（2026-10-22）：静默形态——同色不抢眼，悬停才显链接色+下划线 */
.hc-oi-name a { color:inherit; text-decoration:none; }
.hc-oi-name a:hover { color:var(--hc-primary,#7c3aed); text-decoration:underline; text-underline-offset:3px; }
.hc-oi-tags { margin-top:6px; display:flex; gap:6px; flex-wrap:wrap; }
.hc-oi-top-right { text-align:right; flex-shrink:0; }
.hc-oi-price { font-size:18px; font-weight:700; color:var(--hc-danger-600); line-height:1; }
.hc-oi-status { margin-top:8px; display:flex; align-items:center; justify-content:flex-end; gap:8px; }

.hc-oi-badge { display:inline-block; padding:2px 9px; border-radius:10px; font-size:11px; font-weight:500; line-height:1.7; }
.hc-oi-badge.b-success{ background:var(--hc-success-bg); color:var(--hc-success-800); }
.hc-oi-badge.b-warn{ background:var(--hc-warning-50); color:var(--hc-warning-900); }
.hc-oi-badge.b-info{ background:var(--hc-info-bg); color:var(--hc-primary-800); }
.hc-oi-badge.b-primary{ background:var(--hc-primary-100); color:var(--hc-primary-dark); }
.hc-oi-badge.b-secondary{ background:var(--hc-bg-5); color:var(--hc-text-secondary); }
.hc-oi-badge.b-dark{ background:var(--hc-bg-6); color:var(--hc-text-secondary); }
.hc-oi-badge.b-danger{ background:var(--hc-danger-100); color:var(--hc-danger-700); }
/* 所用优惠券徽标（2026-09-19）：金系与券卡同源 */
.hc-oi-badge.b-gold{ background:var(--hc-gold-50); color:var(--hc-gold-800); }

/* 支付倒计时 chip */
.hc-oi-cd { display:inline-flex; align-items:center; gap:4px; padding:2px 9px; border-radius:10px; font-size:11px; font-weight:600; background:var(--hc-warning-50); color:var(--hc-warning-700); }
.hc-oi-cd.urgent { background:var(--hc-danger-100); color:var(--hc-danger-700); animation:hcCdPulse 1s infinite; }
.hc-oi-cd .mono { font-family:ui-monospace,Menlo,Consolas,monospace; }
@keyframes hcCdPulse { 50% { opacity:.55; } }

/* 支付成功：徽章弹入 + 打勾描画 */
.hc-oi-success { animation:hc-oi-pop 0.5s var(--hc-ease-out, ease-out) 0.15s both; }
.hc-oi-success .hc-oi-check { margin-right:5px; vertical-align:-2px; }
.hc-oi-check path { stroke-dasharray:24; stroke-dashoffset:24; animation:hc-draw 0.5s ease-out 0.45s forwards; }
@keyframes hc-oi-pop {
    0% { opacity:0; transform:scale(0.7); }
    60% { transform:scale(1.06); }
    100% { opacity:1; transform:scale(1); }
}
/* @keyframes hc-draw 与 base.css 动效基座重复，已删（base 先加载即生效） */

.hc-oi-meta { padding:0 20px 13px 24px; display:flex; flex-wrap:wrap; gap:6px 22px; font-size:12px; }
.hc-oi-meta-item { color:var(--hc-text-muted); }
.hc-oi-meta-item strong { color:var(--hc-text-secondary); font-weight:500; margin-left:3px; }
.hc-oi-meta-item .mono { font-family:ui-monospace,Menlo,Consolas,monospace; }

.hc-oi-foot { padding:13px 20px 15px 24px; border-top:1px dashed var(--hc-line-2); background:var(--hc-surface-3); }
.hc-oi-foot-title { font-size:12px; font-weight:600; color:var(--hc-primary-text); margin-bottom:8px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
/* 交付内容展示块（2026-10-15：原 readonly textarea 一眼看是输入框且撑高卡片） */
.hc-oi-info-row { display:flex; gap:12px; align-items:center; }
.hc-oi-info-text { flex:1; min-width:0; border:1px dashed var(--hc-line-6); border-radius:10px; padding:10px 12px; font-size:12px; color:var(--hc-text); background:var(--hc-surface); font-family:ui-monospace,Menlo,Consolas,monospace; line-height:1.7; white-space:pre-wrap; word-break:break-all; max-height:110px; overflow-y:auto; }
/* ── 复制按钮族 v3（2026-10-20 用户令「样式太丑，好好设计」重做）──────────
   全族统一「品牌芯片」语言：primary-50 底 + primary-100 发丝边 + primary-800 字，
   暗色令牌自动翻转（暗紫底 + 亮紫字 #C4B5FD，承接当日「暗色文本一律亮」拍板）。
   图标=CSS mask 内联 SVG（iconfont 无 e6ef 码位的教训，不再依赖字体图标）。
   三档尺寸：XS 订单号旁 24px / S 逐条·全部 26px / M 整块 34px；
   主 CTA（立即支付渐变）仍是卡内唯一渐变钮，复制=工具动作不抢层级 */
.hc-copy-ic { width:12px; height:12px; flex:none; background:currentColor;
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2.5'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2.5'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") center/contain no-repeat; }
.hc-oi-copy, .hc-oi-copy-all, .hc-oi-line-copy, .hc-oi-sn-copy {
    display:inline-flex; align-items:center; justify-content:center; gap:5px; flex-shrink:0;
    border:1px solid var(--hc-primary-100); border-radius:8px;
    background:var(--hc-primary-50); color:var(--hc-primary-800);
    font-size:12px; font-weight:600; line-height:1; white-space:nowrap;
    cursor:pointer; font-family:inherit;
    transition:background .15s, border-color .15s, transform .1s; }
.hc-oi-copy:hover, .hc-oi-copy-all:hover, .hc-oi-line-copy:hover, .hc-oi-sn-copy:hover {
    background:var(--hc-primary-100); border-color:var(--hc-primary-200); }
.hc-oi-copy:active, .hc-oi-copy-all:active, .hc-oi-line-copy:active, .hc-oi-sn-copy:active { transform:scale(.96); }
.hc-oi-copy:focus-visible, .hc-oi-copy-all:focus-visible, .hc-oi-line-copy:focus-visible, .hc-oi-sn-copy:focus-visible {
    outline:2px solid var(--hc-primary-400); outline-offset:2px; }
/* 尺寸档位 */
.hc-oi-sn-copy { height:24px; padding:0 10px; margin-left:6px; border-radius:7px; gap:4px; vertical-align:middle; }
.hc-oi-sn-copy .hc-copy-ic { width:11px; height:11px; }
.hc-oi-line-copy { height:26px; padding:0 11px; }
.hc-oi-copy-all { height:26px; padding:0 12px; }
.hc-oi-copy { height:34px; padding:0 16px; border-radius:9px; font-size:13px; }
.hc-oi-copy .hc-copy-ic { width:14px; height:14px; }
/* 多张卡密逐条复制 */
.hc-oi-lines { display:flex; flex-direction:column; gap:7px; }
.hc-oi-line { display:flex; align-items:center; gap:10px; }
.hc-oi-line-code { flex:1; min-width:0; border:1px dashed var(--hc-line-6); border-radius:9px; padding:9px 12px; font-size:12px; color:var(--hc-text); background:var(--hc-surface); font-family:ui-monospace,Menlo,Consolas,monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.hc-oi-actions { padding:13px 20px 15px 24px; border-top:1px dashed var(--hc-line-2); background:var(--hc-surface-3); display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.hc-oi-pay { display:inline-flex; align-items:center; gap:6px; padding:10px 22px; border-radius:9px; background:linear-gradient(135deg,var(--hc-primary),var(--hc-primary-dark)); color:var(--hc-on-brand); font-size:13px; font-weight:600; text-decoration:none; transition:transform .15s, box-shadow .15s; }
.hc-oi-pay:hover { color:var(--hc-on-brand); transform:translateY(-1px); box-shadow:0 6px 18px rgba(124,58,237,.3); }
.hc-oi-ghost { display:inline-flex; align-items:center; gap:5px; padding:9px 16px; border-radius:9px; border:1px solid var(--hc-line-5); background:var(--hc-surface); color:var(--hc-text-secondary); font-size:12.5px; font-weight:500; text-decoration:none; cursor:pointer; transition:all .15s; }
.hc-oi-ghost:hover { color:var(--hc-primary-dark); border-color:var(--hc-primary-200); background:var(--hc-surface-4); transform:translateY(-1px); }
.hc-oi-note { font-size:12px; color:var(--hc-text-muted); }

.hc-announce-modal { border-radius:var(--hc-radius-lg); border:none; box-shadow:var(--hc-shadow-lg), 0 0 0 1px rgba(124, 58, 237, .07); overflow:hidden; }
html[data-theme="dark"] .hc-announce-modal { box-shadow:var(--hc-shadow-lg), 0 0 0 1px rgba(167, 139, 250, .12); }
.hc-announce-modal .modal-header { position:relative; border-bottom:none; padding:16px 20px; background:radial-gradient(120% 180% at 12% -40%, rgba(124, 58, 237, .10), transparent 55%), radial-gradient(120% 180% at 88% -40%, rgba(236, 72, 153, .08), transparent 55%); }
.hc-announce-modal .modal-header::after {
    content:"";
    position:absolute; left:0; right:0; bottom:0; height:1px;
    background:linear-gradient(90deg, transparent, var(--hc-primary-200) 20%, var(--hc-pink, #EC4899) 50%, var(--hc-primary-200) 80%, transparent);
    opacity:.6;
}
.hc-announce-modal-head { display:flex; align-items:center; gap:10px; }
.hc-announce-modal-bell { flex-shrink:0; position:relative; display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:var(--hc-radius-full); background:linear-gradient(135deg, var(--hc-primary-400), var(--hc-pink, #EC4899)); color:var(--hc-on-brand); box-shadow:var(--hc-shadow-primary), 0 0 0 4px rgba(124, 58, 237, .12); }
.hc-announce-modal .modal-title { font-size:15px; font-weight:700; letter-spacing:.02em; color:var(--hc-text); }
.hc-announce-modal .modal-body { padding:18px 20px 20px; }
.hc-announce-list { display:flex; flex-direction:column; gap:12px; }
.hc-announce-row { position:relative; padding:15px 16px 15px 20px; background:var(--hc-surface-4); border:1px solid var(--hc-border); border-radius:var(--hc-radius); overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
/* hover 星轨竖条：左缘 3px 紫粉渐变浮现，与头部发丝线/跑马灯星徽同一族 */
.hc-announce-row::before {
    content:"";
    position:absolute; left:0; top:13px; bottom:13px; width:3px;
    border-radius:0 3px 3px 0;
    background:linear-gradient(180deg, var(--hc-primary-400), var(--hc-pink, #EC4899));
    opacity:0;
    transition:opacity .2s ease;
}
.hc-announce-row:hover { border-color:var(--hc-primary-200); box-shadow:var(--hc-shadow-primary); transform:translateY(-1px); }
.hc-announce-row:hover::before { opacity:1; }
.hc-announce-row-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.hc-announce-row:last-child .hc-announce-row-head { margin-bottom:0; }
.hc-announce-row-title { display:flex; align-items:center; gap:8px; font-size:14.5px; font-weight:650; letter-spacing:.01em; color:var(--hc-text); margin:0; }
.hc-announce-row-title::before {
    content:"";
    flex-shrink:0;
    width:8px; height:8px;
    background:linear-gradient(135deg, var(--hc-primary-400), var(--hc-pink, #EC4899));
    clip-path:polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.hc-announce-row-time { flex-shrink:0; display:inline-flex; align-items:center; padding:2.5px 8px; border-radius:var(--hc-radius-full); background:rgba(124, 58, 237, .065); border:1px solid rgba(124, 58, 237, .16); font-size:11px; font-weight:500; letter-spacing:.02em; color:var(--hc-text-secondary); font-family:ui-monospace, Menlo, Consolas, monospace; }
html[data-theme="dark"] .hc-announce-row-time { background:rgba(167, 139, 250, .12); border-color:rgba(167, 139, 250, .28); color:#C9BFF2; }
.hc-announce-row-body { font-size:13.5px; line-height:1.8; color:var(--hc-text-secondary); word-break:break-word; }
.hc-announce-row-body img { max-width:100%; height:auto; border-radius:var(--hc-radius-sm); }
.hc-announce-row-body a { color:var(--hc-primary-dark); }

/* 货币国旗（2026-09-22 网页改自托管 SVG：Windows 浏览器不支持旗面 emoji 会退化成"CN"字母）：按钮与菜单项共用 */
.hc-cur-flag { width: 17px; height: 11.5px; margin-right: 4px; border-radius: 1.5px; vertical-align: -1px; object-fit: cover; }

/* ===== common-misc.css ===== */
/* 小头盔 common.css 域拆分（2026-10-21 整理批二）：原 2684 行单文件按域拆 8 文件，
   _header.blade 按原物理顺序全量引入——层叠语义 100% 等价（行区间连续切分），
   改某域样式不再碰其他域文件。本文件域：杂项域：骨架屏/按钮涟漪/回顶进度环）*/

/* ===== 骨架屏（2026-09-25 全站 shader loading 图退役）：纯 CSS 呼吸，无引擎 ===== */
.hc-sk { background:var(--hc-primary-100, #EDE9FE); animation:hcSkPulse 1.3s ease-in-out infinite; }
@keyframes hcSkPulse { 0%,100% { opacity:.55; } 50% { opacity:1; } }
/* 结果行骨架（搜索下拉 / 独立搜索页共用；尺寸同 hc-sp-row / 下拉行） */
.hc-sk-row { display:flex; align-items:center; gap:12px; padding:12px 14px; }
.hc-sk-row .hc-sk-img { width:56px; height:56px; border-radius:10px; flex-shrink:0; }
.hc-sk-row .hc-sk-lines { flex:1; display:flex; flex-direction:column; gap:8px; }
.hc-sk-row .hc-sk-line { height:12px; border-radius:999px; }
.hc-sk-row .hc-sk-line.l1 { width:78%; }
.hc-sk-row .hc-sk-line.l2 { width:44%; }
.hc-sk-row .hc-sk-tail { width:52px; height:16px; border-radius:6px; flex-shrink:0; }

/* ===== 主按钮点击涟漪（2026-10-06）：水波从指尖荡开，水的品牌语言 ===== */
.hc-btn-tide, .hc-form-btn, .btn-primary, .btn-ghost, .hc-buy-submit {
    position: relative;
    overflow: hidden;
}
.hc-ripple {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.38);
    animation: hc-ripple 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.btn-ghost .hc-ripple, .hc-form-btn .hc-ripple { background: rgba(124, 58, 237, 0.22); }
@keyframes hc-ripple { to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hc-ripple { animation: none; opacity: 0; } }

/* ===== 回顶钮滚动进度环（2026-10-06）：外圈描边=当前阅读进度 ===== */
.hc-backtop-fab .hc-backtop-ring {
    position: absolute;
    top: -4px; left: -4px;
    width: calc(100% + 8px); height: calc(100% + 8px);
    transform: rotate(-90deg);
    pointer-events: none;
}
.hc-backtop-ring circle {
    fill: none;
    stroke: var(--hc-primary);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 175.9;
    stroke-dashoffset: 175.9;
}

/* ===== common-review.css ===== */
/* 小头盔 common.css 域拆分（2026-10-21 整理批二）：原 2684 行单文件按域拆 8 文件，
   _header.blade 按原物理顺序全量引入——层叠语义 100% 等价（行区间连续切分），
   改某域样式不再碰其他域文件。本文件域：评价域：对话串（含亮色变体））*/

/* ===== 评价对话串（2026-10-21 客服官方回复+客户再回复）——buy 页评价卡与订单详情页「我的评价」卡共用 ===== */
.hc-rv-thread { margin-top:12px; margin-left:52px; display:flex; flex-direction:column; gap:10px; position:relative; }
.hc-rv-thread::before { content:""; position:absolute; left:-14px; top:4px; bottom:4px; width:2px; border-radius:2px; background:linear-gradient(180deg, hsl(265 70% 60% / .45), hsl(205 75% 55% / .25)); }
.hc-rv-reply { position:relative; border-radius:12px; padding:10px 14px 11px; font-size:13px; line-height:1.75; }
.hc-rv-reply.is-staff { background:linear-gradient(135deg, hsl(265 60% 30% / .38), hsl(230 55% 26% / .30)); border:1px solid hsl(265 70% 65% / .22); box-shadow:inset 3px 0 0 hsl(265 85% 72% / .85); }
.hc-rv-reply.is-buyer { background:rgba(255, 255, 255, 0.045); border:1px solid rgba(255, 255, 255, 0.09); box-shadow:inset 3px 0 0 rgba(255, 255, 255, 0.16); }
.hc-rv-reply-head { display:flex; align-items:center; gap:8px; margin-bottom:5px; flex-wrap:wrap; }
.hc-rv-badge-official { display:inline-flex; align-items:center; gap:4px; font-size:10.5px; font-weight:700; letter-spacing:.4px; color:#fff; background:linear-gradient(135deg, hsl(265 75% 62%), hsl(315 75% 58%)); padding:2.5px 9px; border-radius:999px; box-shadow:0 3px 10px -3px hsl(265 75% 55% / .55); }
.hc-rv-badge-buyer { display:inline-flex; align-items:center; font-size:10.5px; font-weight:600; letter-spacing:.4px; color:var(--hc-text-muted); background:rgba(255, 255, 255, 0.07); border:1px solid rgba(255, 255, 255, 0.1); padding:2px 8px; border-radius:999px; }
.hc-rv-reply-name { font-size:12px; font-weight:600; color:var(--hc-text-secondary); }
.hc-rv-reply.is-staff .hc-rv-reply-name { color:hsl(265 95% 90%); font-weight:700; }
.hc-rv-reply-time { margin-left:auto; font-size:11.5px; color:var(--hc-text-muted); }
.hc-rv-reply-content { margin:0; color:var(--hc-text); word-break:break-word; white-space:pre-line; }

/* 订单详情页「我的评价」卡（含对话串+客户回复框） */
.hc-my-review { margin-top:16px; border:1px solid rgba(255, 255, 255, 0.1); border-radius:14px; padding:16px 18px 18px; background:rgba(255, 255, 255, 0.03); scroll-margin-top:90px; }
.hc-my-review-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.hc-my-review-title { display:inline-flex; align-items:center; gap:7px; font-size:13px; font-weight:700; color:var(--hc-text); }
.hc-my-review-title svg { color:var(--hc-warning-bright); }
.hc-my-review-body { font-size:13px; line-height:1.75; color:var(--hc-text); word-break:break-word; margin:0; }
.hc-my-review-stars { display:inline-flex; gap:1px; font-size:12.5px; line-height:1; margin-left:auto; }
.hc-my-review-stars i { font-style:normal; color:var(--hc-line-6); }
.hc-my-review-stars i.on { color:var(--hc-warning-bright); }
.hc-rv-reply-form { margin-top:14px; margin-left:52px; display:flex; flex-direction:column; gap:8px; }
.hc-rv-reply-form textarea { width:100%; min-height:74px; resize:vertical; border-radius:10px; border:1px solid rgba(255, 255, 255, 0.14); background:rgba(18, 13, 34, 0.55); color:var(--hc-text); font-size:13px; line-height:1.6; padding:10px 12px; font-family:inherit; outline:none; transition:border-color .18s ease, box-shadow .18s ease; }
.hc-rv-reply-form textarea::placeholder { color:hsl(250 25% 75%); }
.hc-rv-reply-form textarea:focus { border-color:hsl(265 70% 62% / .65); box-shadow:0 0 0 3px hsl(265 70% 55% / .16); }
.hc-rv-reply-form-row { display:flex; align-items:center; gap:10px; }
.hc-rv-reply-hint { font-size:11.5px; color:var(--hc-text-muted); }
.hc-rv-reply-btn { display:inline-flex; align-items:center; gap:6px; margin-left:auto; border:none; cursor:pointer; font-size:12.5px; font-weight:700; color:#fff; background:linear-gradient(135deg, hsl(265 75% 62%), hsl(315 75% 58%)); padding:8px 18px; border-radius:999px; box-shadow:0 6px 16px -6px hsl(265 75% 55% / .55); transition:transform .15s ease, box-shadow .15s ease; }
.hc-rv-reply-btn:hover { transform:translateY(-1px); box-shadow:0 9px 20px -6px hsl(265 75% 55% / .65); }
.hc-rv-reply-btn:active { transform:scale(.97); }

/* ===== 评价对话串 · 亮色主题变体（2026-10-21 亮色主题批）=====
   上方 hc-rv-* 初版按暗底玻璃调的（深紫官方泡/灰玻璃买家泡/暗底回复框），
   亮色主题下订单详情页与 buy 页评价卡共用同串——补亮色口径：官方泡=浅紫
   冰面+品牌紫左条，买家泡=浅灰冰面，回复框回归白底。暗色规则值原样不动
   （html[data-theme=dark] 命中时亮色 :not 块整段不参与，零冲突）。 */
html:not([data-theme="dark"]) .hc-rv-reply.is-staff {
    background: linear-gradient(135deg, hsl(265 80% 97%), hsl(230 65% 97%));
    border: 1px solid hsl(265 55% 90%);
    box-shadow: inset 3px 0 0 hsl(265 75% 62%);
}
html:not([data-theme="dark"]) .hc-rv-reply.is-buyer {
    background: hsl(250 35% 97%);
    border: 1px solid hsl(250 25% 91%);
    box-shadow: inset 3px 0 0 hsl(250 18% 80%);
}
html:not([data-theme="dark"]) .hc-rv-badge-buyer {
    background: hsl(250 35% 95%);
    border: 1px solid hsl(250 25% 89%);
}
html:not([data-theme="dark"]) .hc-rv-reply.is-staff .hc-rv-reply-name { color: hsl(265 80% 40%); }
html:not([data-theme="dark"]) .hc-rv-thread::before {
    background: linear-gradient(180deg, hsl(265 70% 62% / .35), hsl(205 75% 55% / .22));
}
html:not([data-theme="dark"]) .hc-rv-reply-form textarea {
    background: #fff;
    border: 1px solid hsl(250 25% 88%);
}
html:not([data-theme="dark"]) .hc-rv-reply-form textarea::placeholder { color: hsl(250 15% 70%); }
html:not([data-theme="dark"]) .hc-rv-reply-form textarea:focus {
    border-color: hsl(265 70% 55% / .55);
    box-shadow: 0 0 0 3px hsl(265 70% 55% / .12);
}
