/* ============================================
   小头盔 xiaotoukui - 公共组件 · 清爽海洋风
   桅杆式导航（单一玻璃面 + 滚动收缩）/ Footer
   ============================================ */

@font-face {
    font-family:'iconfont';
    src:url('../fonts/iconfont.woff2?t=1631608872177') format('woff2'),
    url('../fonts/iconfont.woff?t=1631608872177') format('woff'),
    url('../fonts/iconfont.ttf?t=1631608872177') format('truetype');
}
.ali-icon {
    font-family:"iconfont" !important;
    font-style:normal;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

/* 旧 .fl/.fr/.page-wrapper 工具类已删除（views 零引用） */

/* ===== 桅杆式主导航 ===== */
.hc-masthead {
    position:sticky;
    top:0;
    z-index:1030;
    background:rgba(255, 255, 255, 0.92);
    backdrop-filter:saturate(180%) blur(16px);
    -webkit-backdrop-filter:saturate(180%) blur(16px);
    /* 底边框升级为渐变发丝线（2026-10-08 桅杆重设计）：原 1px 实线 border 换
       下方 ::after 的紫粉光丝（两端透明），与顶部 3px 流光海平线首尾呼应——
       桅杆成为被光「夹」住的玻璃条 */
    box-shadow:0 6px 24px -18px rgba(30, 27, 46, 0.18);
    transition:box-shadow 0.3s;
}
/* 底缘渐变发丝线：两主题共用。2026-10-08 三版随桅杆「缓慢变化」诉求加流动；
   同日 v5 换色：焦糖三段退役，改紫→浅紫→粉三段（品牌渐变族），
   超宽画布缓慢往返=光丝在玻璃面上游走（与顶部 3px 海平线同一手法） */
.hc-masthead::after {
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:1px;
    background:linear-gradient(90deg,
        transparent 0%,
        rgba(124, 58, 237, 0.38) 16%,
        rgba(240, 171, 252, 0.30) 50%,
        rgba(236, 72, 153, 0.34) 84%,
        transparent 100%);
    background-size:220% 100%;
    z-index:10;
    pointer-events:none;
    animation:hc-mast-hairline 14s ease-in-out infinite alternate;
}
@keyframes hc-mast-hairline {
    from { background-position:0% 50%; }
    to   { background-position:100% 50%; }
}

/* 顶部海平线（3px 流光发丝线：渐变缓慢往返漂移） */
.hc-masthead::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:3px;
    background:linear-gradient(90deg, var(--hc-primary) 0%, var(--hc-primary-500) 30%, var(--hc-pink) 50%, #F0ABFC 70%, var(--hc-primary) 100%);
    background-size:220% 100%;
    z-index:10;
    animation:hc-horizon 9s ease-in-out infinite alternate;
}

@keyframes hc-horizon {
    from { background-position:0% 50%; }
    to   { background-position:100% 50%; }
}

/* 下拉菜单层级 */
.hc-masthead .dropdown-menu { z-index:1045; }

/* 横向滚动条治理：clip 不产生滚动容器、不破坏 sticky。
   只挂 body 不挂 html（2026-10-12 修公告弹窗整屏挪动）：CSS 规范规定
   html 的 overflow 非 visible 时「body 的 overflow 传播到视口」被阻断——
   Bootstrap 模态/抽屉开窗时给 body 设 overflow:hidden 便锁不住视口滚动、
   页面滚动条不消失，而 BS 仍按滚动条宽度给 body 垫 padding-right 补偿，
   内容区被硬挤 8px 整屏左挪。html 保持 visible（默认）让传播生效：
   body 的 clip 传给视口（横向照样封死），模态开窗时视口真正锁滚，
   滚动条消失与 padding 补偿正好相抵＝零位移 */
body { overflow-x:clip; }
/* 短页页脚贴底（2026-09-20 用户反馈：错误页等内容少的页 footer 被顶到半空，
   屏幕高时底部一片白）：body 纵向 flex，页脚 margin-top:auto 推底；
   内容多的页空间不足时 auto=0，视觉与原先一致 */
body { min-height:100vh; display:flex; flex-direction:column; }

/* ----- 主行：Logo / 大搜索 / 动作区 ----- */
.hc-mast-main {
    display:grid;
    grid-template-columns:auto 1fr auto;
    grid-template-areas:"logo search actions";
    align-items:center;
    gap:28px;
    min-height:88px;
    padding:10px 0;
    transition:min-height 0.32s var(--hc-ease-out), gap 0.32s var(--hc-ease-out);
}

/* Logo + 字标（主字 + 拉宽副题，气质位） */
.hc-mast-logo {
    grid-area:logo;
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

/* img=后台运营图 Logo；.hc-star-wrap=内联动画星标（默认回退），两者同尺寸规格 */
.hc-mast-logo img,
.hc-mast-logo .hc-star-wrap {
    height:46px;
    width:auto;
    max-width:190px;
    object-fit:contain;
    transition:height 0.32s var(--hc-ease-out);
}
/* ===== 导航星标动画 v7 = 终版（2026-10-09，组件 _logo_star.blade.php）=====
   3D 陀螺原子（实验室第三批选型⑯）：常态=三条倾斜轨道面电子环绕 + 核心星
   轻悬浮（极简氛围）；鼠标移入=JS 驱动整套场景 3D 倾斜（_script）+ 移入一次性
   冲击波。全部整元素合成器属性。 */
.hc-mast-logo .hc-star-wrap {
    position:relative; display:inline-block;
    aspect-ratio:1/1;   /* logo v2 方形 tile（46/40/34/32 高档下宽随之） */
    perspective:700px;
}
.hc-mast-logo .hc-atom-scene {
    position:absolute; inset:0;
    transform-style:preserve-3d;
    will-change:transform;
    /* 无 transition：倾斜由 JS rAF 插值驱动（首版挂 CSS 过渡与高频 mousemove
       打架，每个目标值都被 0.18s 过渡拖拽=手感发糊被判不流畅） */
}
/* 常态=完全静止的干净星标（用户拍板：原子运动移入才唤醒）；轨道/电子/悬浮
   全部只在 :hover 下生效与播放，idle 零动画零动画帧成本 */
.hc-mast-logo .hc-atom-plane {
    position:absolute; left:50%; top:50%; height:160%; aspect-ratio:1/1;
    border-radius:50%; border:1.5px solid rgba(167,139,250,.3);
    opacity:0;
}
/* 淡入用 animation 而非 transition：实测 preserve-3d 子树+并发 spin 动画下
   transition 的 opacity 卡在起点不动（keyframes 驱动的一切正常） */
.hc-mast-logo:hover .hc-atom-plane { animation:hc-plane-in .3s ease forwards; }
@keyframes hc-plane-in { from { opacity:0; } to { opacity:1; } }
.hc-mast-logo .hc-atom-p1 { transform:translate(-50%,-50%) rotateX(66deg) rotateY(-20deg); }
.hc-mast-logo .hc-atom-p2 { transform:translate(-50%,-50%) rotateX(66deg); }
.hc-mast-logo .hc-atom-p3 { transform:translate(-50%,-50%) rotateX(66deg) rotateY(20deg); }
.hc-mast-logo .hc-atom-spin { position:absolute; inset:0; }
.hc-mast-logo:hover .hc-atom-spin { animation:hc-atom-orbit 2.8s linear infinite; }
.hc-mast-logo:hover .hc-atom-p2 .hc-atom-spin { animation-duration:5s; animation-direction:reverse; }
.hc-mast-logo:hover .hc-atom-p3 .hc-atom-spin { animation-duration:7.6s; }
@keyframes hc-atom-orbit { to { transform:rotate(360deg); } }
/* 核心星：translateZ 独立深度层（陀螺倾斜时的立体视差）；svg 只管悬浮动画 */
.hc-mast-logo .hc-atom-core { position:absolute; inset:0; transform:translateZ(14px); }
.hc-mast-logo .hc-atom-core .hc-star {
    display:block; width:100%; height:100%;
    border-radius:26%;   /* 方形 tile 圆角（squircle 观感，暗亮两主题通用） */
    filter:drop-shadow(0 3px 10px rgba(77,29,149,.45));
}
.hc-mast-logo:hover .hc-atom-core .hc-star { animation:hc-star-float 5s ease-in-out infinite; }
@keyframes hc-star-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-2.5px); } }
.hc-mast-logo .hc-atom-e {
    position:absolute; left:100%; top:50%; width:5.5px; height:5.5px;
    margin:-2.75px 0 0 -2.75px; border-radius:50%;
    background:#F0ABFC; box-shadow:0 0 10px 2px rgba(240,171,252,.95);
}
.hc-mast-logo .hc-atom-p2 .hc-atom-e { background:#A78BFA; box-shadow:0 0 10px 2px rgba(167,139,250,.95); }
.hc-mast-logo .hc-atom-p3 .hc-atom-e { background:#C4B5FD; box-shadow:0 0 9px 2px rgba(196,181,253,.95); width:4.5px; height:4.5px; }
/* 移入一次性冲击波：每次 hover 进入重放 */
.hc-mast-logo .hc-star-pulse {
    position:absolute; left:50%; top:50%; width:100%; aspect-ratio:1;
    border-radius:50%; border:2px solid rgba(167,139,250,.7);
    transform:translate(-50%,-50%); opacity:0; pointer-events:none;
}
.hc-mast-logo:hover .hc-star-pulse { animation:hc-star-pulse .8s cubic-bezier(.2,.6,.35,1) 1; }
@keyframes hc-star-pulse {
    0%   { opacity:.85; transform:translate(-50%,-50%) scale(.6); }
    100% { opacity:0;   transform:translate(-50%,-50%) scale(1.9); }
}
/* wrap：进场淡入微放大（独立 scale 属性，与 hover transform 分家）+ 悬停弹起 */
.hc-mast-logo .hc-star-wrap {
    animation:hc-star-in .4s cubic-bezier(.25,.8,.3,1) both;
    transition:transform .3s cubic-bezier(.3,1.4,.4,1), filter .3s ease;
}
.hc-mast-logo:hover .hc-star-wrap { transform:scale(1.06); filter:drop-shadow(0 0 12px rgba(139,92,246,.45)); }
@keyframes hc-star-in {
    from { opacity:0; scale:.9; }
    to   { opacity:1; scale:1; }
}
/* 悬停：轨道增亮 */
.hc-mast-logo:hover .hc-atom-plane { border-color:rgba(167,139,250,.55); }
/* 减动效：轨道/电子/冲击波全撤，保留静态星 */
@media (prefers-reduced-motion: reduce) {
    .hc-mast-logo .hc-atom-scene,
    .hc-mast-logo .hc-star-pulse { display:none; }
    .hc-mast-logo .hc-star-wrap { animation:none; transition:none; }
    .hc-mast-logo .hc-atom-core { transform:none; }
    .hc-mast-logo .hc-atom-core .hc-star { width:auto; height:100%; }
}

.hc-mast-brand {
    display:flex;
    flex-direction:column;
    gap:3px;
}

.hc-mast-brand-main {
    font-size:25px;
    font-weight:800;
    line-height:1;
    letter-spacing:3px;
    background:linear-gradient(96deg, var(--hc-primary) 0%, var(--hc-primary-500) 30%, var(--hc-pink) 60%, var(--hc-primary) 100%);
    background-size:300% 100%;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    filter:drop-shadow(0 2px 8px rgba(124, 58, 237, 0.16));
    animation:hc-brandflow 8s ease-in-out infinite;
    transition:font-size 0.32s var(--hc-ease-out);
}

@keyframes hc-brandflow {
    0%, 100% { background-position:0% 50%; }
    50%      { background-position:100% 50%; }
}

.hc-mast-brand-sub {
    font-size:9px;
    font-weight:600;
    letter-spacing:5px;
    color:var(--hc-text-muted);
    transition:opacity 0.25s;
}

/* ----- 大搜索（居中） ----- */
.hc-mast-search {
    grid-area:search;
    justify-self:center;
    width:100%;
    max-width:560px;
}

.hc-search-form {
    display:flex;
    align-items:center;
    gap:0;
    background:var(--hc-bg-alt);
    border:1px solid var(--hc-border);
    border-radius:var(--hc-radius-full);
    padding:4px 4px 4px 18px;
    transition:var(--hc-transition);
    position:relative;
}

.hc-search-form:focus-within {
    background:var(--hc-surface);
    border-color:var(--hc-primary-light);
    box-shadow:0 0 0 4px rgba(124, 58, 237, 0.10), 0 4px 14px -6px rgba(124, 58, 237, 0.25);
}

.hc-search-icon {
    color:var(--hc-text-muted);
    font-size:16px;
    flex-shrink:0;
    margin-right:8px;
}

.hc-search-input {
    flex:1;
    border:none !important;
    background:transparent;
    font-size:14px;
    color:var(--hc-text);
    padding:9px 0;
    box-shadow:none !important;
    min-width:0;
}

.hc-search-input:focus { outline:none; }
.hc-search-input::placeholder { color:var(--hc-text-muted); }

.hc-search-btn {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 18px !important;
    border-radius:var(--hc-radius-full) !important;
    font-weight:600;
    font-size:14px;
    flex-shrink:0;
}

.hc-search-btn .ali-icon { font-size:15px; }

/* 搜索联想下拉 */
.hc-search-dropdown {
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    background:var(--hc-surface);
    border:1px solid var(--hc-border);
    border-radius:var(--hc-radius);
    box-shadow:var(--hc-shadow-lg);
    z-index:1050;
    max-height:70vh;
    overflow-y:auto;
    display:none;
}
.hc-search-dropdown.open { display:block; }

/* focus 空态面板（2026-09-23 对齐 App 搜索页三段式）：最近搜索/热门搜索/猜你喜欢 */
.hc-search-sec {
    display:flex;
    align-items:center;
    gap:8px;
    padding:13px 16px 8px;
}
.hc-search-sec-bar {
    width:4px;
    height:15px;
    border-radius:2px;
    background:linear-gradient(135deg, var(--hc-primary, #7C3AED), var(--hc-pink, #EC4899));
    flex-shrink:0;
}
.hc-search-sec-title {
    flex:1;
    font-size:13px;
    font-weight:700;
    color:var(--hc-text);
}
.hc-search-sec-act {
    border:none;
    background:none;
    padding:0;
    font-size:12px;
    color:var(--hc-text-muted);
    cursor:pointer;
}
.hc-search-sec-act:hover { color:var(--hc-text); }

/* chips（最近搜索=灰底 / 热门搜索=浅紫底，App 同语言） */
.hc-search-chips {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:2px 16px 4px;
}
.hc-search-chip {
    max-width:200px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    padding:7px 13px;
    border-radius:var(--hc-radius-full, 999px);
    border:1px solid var(--hc-border);
    background:var(--hc-bg-alt);
    color:var(--hc-text);
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
    transition:border-color .12s;
}
.hc-search-chip:hover { border-color:var(--hc-primary, #7C3AED); }
.hc-search-chip.is-hot {
    background:var(--hc-primary-50);
    color:var(--hc-primary-dark, #6D28D9);
}

/* 猜你喜欢横滑卡（2026-09-25 重构对齐首页 hc-goods-mini：方图 1:1 防变形、
   双行名、独立白卡描边；复用 .hc-search-item 键盘导航/高亮语义，双类覆写布局） */
.hc-search-cards {
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:8px 16px 16px;
}
.hc-search-item.hc-search-card {
    flex-direction:column;
    align-items:stretch;
    width:150px;
    flex-shrink:0;
    gap:8px;
    padding:10px;
    border-radius:14px;
    border:1px solid var(--hc-border);
    border-bottom:1px solid var(--hc-border);
    background:var(--hc-surface);
}
.hc-search-card-img {
    width:100%;
    aspect-ratio:1 / 1;
    object-fit:cover;
    border-radius:10px;
    background:var(--hc-bg-alt);
    flex-shrink:0;
}
.hc-search-card-name {
    font-size:12.5px;
    font-weight:600;
    line-height:1.4;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:35px;
    text-align:left;
}
.hc-search-card-price {
    font-size:15px;
    font-weight:800;
    color:var(--hc-price);
    margin-top:0;
}

/* 促销角标：价格旁小 pill（热销面板带，与商品卡促销标同一词汇表） */
.hc-search-badge {
    display:inline-block;
    margin-left:6px;
    padding:1px 6px;
    border-radius:var(--hc-radius-full, 999px);
    background:var(--hc-accent, #F97316);
    color:#fff;
    font-size:10px;
    font-style:normal;
    font-weight:600;
    vertical-align:1px;
}

.hc-search-item {
    display:flex;
    align-items:center;
    gap:12px;
    padding:10px 14px;
    color:var(--hc-text);
    border-bottom:1px solid var(--hc-border);
    transition:background .12s;
}
.hc-search-item:last-child { border-bottom:none; }
.hc-search-item:hover,
.hc-search-item.active {
    background:var(--hc-primary-50);
    color:var(--hc-text);
    text-decoration:none;
}
.hc-search-item-img {
    width:40px;
    height:40px;
    border-radius:var(--hc-radius-sm);
    object-fit:cover;
    flex-shrink:0;
    background:var(--hc-bg-alt);
}
.hc-search-item-info { flex:1; min-width:0; }
.hc-search-item-name {
    font-size:13px;
    font-weight:500;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.hc-search-item-price {
    font-size:13px;
    font-weight:600;
    color:var(--hc-price);
    margin-top:2px;
}
.hc-search-item-go {
    color:var(--hc-text-muted);
    flex-shrink:0;
}
.hc-search-empty {
    padding:20px;
    text-align:center;
    color:var(--hc-text-muted);
    font-size:13px;
}
/* 搜索加载态（2026-09-22 '...' 图形化）：小环+文案并排居中 */
.hc-search-loading {
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:var(--hc-text-muted);
    font-size:13px;
}
/* 双类提优先级：.hc-loader 基础段（96px）在本段之后，单类会被其覆盖 */
.hc-loader.hc-search-ring { width:18px; height:18px; flex-shrink:0; }

/* ============================================
   弧影追逐环 · 全网通用加载图形（2026-09-22 用户指定 Shadertoy 图形）
   WebGL 引擎 public/assets/unicorn/js/hc-loader.js（HCLoader.mount）；
   无 WebGL 时 JS 挂 .hc-loader-fallback 走 CSS conic 兜底。
   尺寸由使用方定（width/height 即可，canvas 撑满容器）
   ============================================ */
.hc-loader {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:96px;
    height:96px;
    position:relative;
}
.hc-loader-canvas {
    width:100%;
    height:100%;
    display:block;
}

/* 兜底环（无 WebGL / 引擎失败）：conic 渐变旋转，同图形双色（橘→品红） */
.hc-loader-fallback::before {
    content:"";
    width:56%;
    height:56%;
    border-radius:50%;
    background:conic-gradient(from 0deg, #FC9116 0%, #FF1589 38%, transparent 55%);
    -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    mask:radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
    animation:hc-loader-spin 1s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
    .hc-loader-fallback::before { animation-duration:2.4s; }
}
@keyframes hc-loader-spin { to { transform:rotate(360deg); } }

/* 页脚品牌列常驻环（2026-09-22 用户点名加、同日用户要求撤下）：样式随 DOM 一并删除 */

/* 按钮 busy 态（HCLoader.busy，2026-09-22 '...' 图形化）：文字被环替换后
   按钮转 flex 居中防偏；宽度由 JS 锁 min-width（防清文字塌缩跳动） */
.hc-loader.hc-btn-loader { width:14px; height:14px; flex-shrink:0; }

/* ----- 动作区 ----- */
.hc-mast-actions {
    grid-area:actions;
    display:flex;
    align-items:center;
    justify-self:end;
    gap:4px;
}

/* 通用动作钮（货币/语言/订单/消息/退出） */
.hc-mast-act {
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    height:38px;
    min-width:38px;
    padding:0 10px;
    border-radius:10px;
    color:var(--hc-text-secondary);
    font-size:13px;
    font-weight:500;
    cursor:pointer;
    text-decoration:none;
    transition:var(--hc-transition);
}

.hc-mast-act .ali-icon { font-size:17px; }

.hc-mast-act:hover {
    color:var(--hc-primary);
    background:var(--hc-primary-50);
    text-decoration:none;
}

.hc-arrow {
    display:inline-block;
    font-size:9px;
    margin-left:2px;
    opacity:0.45;
    transition:transform 0.2s;
}

.hc-mast-act:hover .hc-arrow { transform:rotate(180deg); opacity:1; }

/* 货币紧凑触发器 */
.hc-mast-cur-sign { font-weight:700; color:var(--hc-primary); }
.hc-mast-cur-code { letter-spacing:0.5px; }

/* 语言触发器（当前语言名，2026-09-19 用户反馈替「文」字徽；超长名截断） */
.hc-mast-lang-name {
    font-weight:600;
    font-size:13px;
    max-width:120px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* 消息红点（挂在动作钮上） */
.hc-mast-msg-badge {
    position:absolute;
    top:4px;
    right:4px;
    margin:0;
    transform:scale(0.82);
    transform-origin:center;
}

/* 已登录用户（头像 + 名字） */
.hc-mast-user {
    display:inline-flex;
    align-items:center;
    gap:8px;
    height:38px;
    padding:0 10px;
    border-radius:10px;
    color:var(--hc-text-secondary);
    font-size:13px;
    font-weight:500;
    text-decoration:none;
    transition:var(--hc-transition);
    max-width:180px;
}

.hc-mast-user:hover {
    color:var(--hc-primary);
    background:var(--hc-primary-50);
}

.hc-mast-avatar {
    width:28px;
    height:28px;
    border-radius:50%;
    object-fit:cover;
    border:1.5px solid var(--hc-line-8);
    flex-shrink:0;
}

.hc-mast-user .ali-icon { font-size:20px; }

.hc-mast-uname {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* ===== 用户头像下拉菜单（2026-09-19：订单/号箱/优惠券收纳 + 退出迁入） ===== */

/* 下拉指示小箭头：展开时翻转（BS5 的 .show 挂在 menu 元素上，经 :has() 回看容器；
    不支持 :has 的老浏览器保持不翻转——纯装饰无副作用） */
.hc-user-caret {
    font-size:10px;
    color:var(--hc-text-muted);
    transition:transform 0.2s;
}

.hc-user-menu:has(.dropdown-menu.show) .hc-user-caret {
    transform:rotate(180deg);
}

.hc-user-dd {
    min-width:236px;
    padding:8px;
    border-radius:14px;
    border:1px solid var(--hc-line-8);
    background:var(--hc-surface);
    box-shadow:0 18px 44px -12px rgba(45, 27, 78, 0.22);
}

/* 头部身份行：大头像 + 名字/邮箱 + 会员等级徽标 */
.hc-user-dd-head {
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 8px 12px;
    margin-bottom:6px;
    border-bottom:1px solid var(--hc-line-6, rgba(124, 58, 237, 0.14));
}

.hc-user-dd-avatar {
    width:38px;
    height:38px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--hc-primary-50);
    color:var(--hc-primary);
    border:1.5px solid var(--hc-primary-100);
}

.hc-user-dd-avatar img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.hc-user-dd-avatar .ali-icon { font-size:20px; }

.hc-user-dd-id {
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:3px;
}

.hc-user-dd-id strong {
    font-size:13px;
    font-weight:700;
    color:var(--hc-text);
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* 会员徽标：普通=素灰、gold=金渐变、black=墨金 */
.hc-user-dd-tier {
    align-self:flex-start;
    font-size:10.5px;
    font-weight:700;
    line-height:1;
    padding:4px 8px;
    border-radius:999px;
    letter-spacing:0.3px;
}

.hc-tier-none {
    color:var(--hc-text-secondary);
    background:var(--hc-primary-50);
    border:1px solid var(--hc-primary-100);
}

.hc-tier-gold {
    color:#7C2D12;
    background:linear-gradient(135deg, #FDE68A, #FBBF24);
    border:1px solid rgba(180, 130, 10, 0.35);
}

.hc-tier-black {
    color:#FDE68A;
    background:linear-gradient(135deg, #1F2937, #111827);
    border:1px solid rgba(253, 230, 138, 0.4);
}

.hc-user-dd .dropdown-item {
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:9px;
    padding:8px 10px;
    font-size:13.5px;
    font-weight:500;
    color:var(--hc-text-secondary);
    transition:background 0.15s, color 0.15s;
}

.hc-user-dd .dropdown-item:hover,
.hc-user-dd .dropdown-item:focus {
    background:var(--hc-primary-50);
    color:var(--hc-primary-dark);
}

.hc-user-dd .dropdown-item svg {
    flex-shrink:0;
    opacity:0.72;
}

.hc-user-dd-sep {
    margin:6px 4px;
    border-color:var(--hc-line-6, rgba(124, 58, 237, 0.14));
    opacity:1;
}

/* 退出登录：危险色收口 */
.hc-user-dd-logout {
    color:var(--hc-danger);
}

.hc-user-dd-logout:hover,
.hc-user-dd-logout:focus {
    background:var(--hc-danger-50);
    color:var(--hc-danger);
}

/* 登录按钮（渐变胶囊，主 CTA） */
.hc-mast-login {
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:7px;
    height:38px;
    padding:0 22px;
    margin-left:6px;
    border-radius:var(--hc-radius-full);
    background:var(--hc-grad);
    color:var(--hc-on-brand);
    font-size:13.5px;
    font-weight:600;
    letter-spacing:1px;
    text-decoration:none;
    overflow:hidden;
    box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--hc-shadow-primary);
    transition:transform 0.15s, box-shadow 0.25s;
}

.hc-mast-login .ali-icon { font-size:15px; }

.hc-mast-login::after {
    content:"";
    position:absolute;
    top:0;
    left:-80%;
    width:50%;
    height:100%;
    background:linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform:skewX(-20deg);
    transition:left 0.6s ease;
}

.hc-mast-login:hover {
    color:var(--hc-on-brand);
    transform:translateY(-1px);
    box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -4px rgba(124, 58, 237, 0.5);
    text-decoration:none;
}

.hc-mast-login:hover::after { left:130%; }


@keyframes hc-tide {
    0%   { box-shadow:0 0 0 0 rgba(236, 72, 153, 0.45); }
    70%  { box-shadow:0 0 0 7px rgba(236, 72, 153, 0); }
    100% { box-shadow:0 0 0 0 rgba(236, 72, 153, 0); }
}

/* ----- 滚动收缩：整条桅杆收拢为细 bar ----- */
body.hc-scrolled .hc-masthead {
    box-shadow:0 10px 30px -16px rgba(30, 27, 46, 0.28);
}

body.hc-scrolled .hc-mast-main {
    min-height:58px;
    gap:20px;
    padding:6px 0;
}

body.hc-scrolled .hc-mast-logo img,
body.hc-scrolled .hc-mast-logo .hc-star-wrap { height:32px; }
body.hc-scrolled .hc-mast-brand-main { font-size:19px; letter-spacing:2px; }
body.hc-scrolled .hc-mast-brand-sub { opacity:0; height:0; }
}

/* 下拉菜单项 */
.hc-currency-menu .dropdown-item,
.hc-lang-menu .dropdown-item {
    font-size:13px;
    padding:8px 16px;
    color:var(--hc-text-secondary);
    transition:var(--hc-transition);
}

.hc-currency-menu .dropdown-item:hover,
.hc-lang-menu .dropdown-item:hover {
    background:var(--hc-primary-50);
    color:var(--hc-primary);
}

.hc-currency-menu .dropdown-item.active,
.hc-lang-menu .dropdown-item.active {
    background:var(--hc-primary-50);
    color:var(--hc-primary);
    font-weight:600;
}

/* 货币下拉（2026-10-09 重排为四列网格：旗|代码|名称|汇率/✓）
   旧版符号+代码+全名一行流 + 汇率前缀（$1=/JPY 1=/HK$1=）宽度不一，右缘参差被用户判乱 */
/* 宽度显式 max-content：绝对定位 shrink-to-fit 对 flex 行测量偏窄，最宽行会啃进右内边距 */
.hc-currency .hc-currency-menu { width:max-content; min-width:296px; }
.hc-currency-menu .dropdown-item {
    display:grid;
    grid-template-columns:17px 42px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    padding:7px 14px;
}
.hc-currency-menu .hc-cur-flag { margin-right:0; }
.hc-currency-menu .hc-cur-code { font-weight:700; font-size:12.5px; letter-spacing:.4px; color:var(--hc-text); }
.hc-currency-menu .hc-cur-name { font-size:12px; color:var(--hc-text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hc-currency-menu .dropdown-item.active .hc-cur-code { color:var(--hc-primary); }
.hc-currency-menu .hc-cur-rate {
    justify-self:end;
    display:flex;
    align-items:center;
    font-size:11.5px;
    font-weight:400;
    color:var(--hc-text-muted);
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}
.hc-currency-menu .hc-cur-check { color:var(--hc-primary); display:block; }
/* 暗色主题：active 行是实心品牌紫底（base.css 全局 .dropdown-item.active 规则），
   行内代码/名称/✓ 沿用 primary/muted 会紫上紫隐形——统一换成 on-brand 令牌（与全局设计语言同源） */
html[data-theme="dark"] .hc-currency-menu .dropdown-item.active .hc-cur-code { color:var(--hc-on-brand); }
html[data-theme="dark"] .hc-currency-menu .dropdown-item.active .hc-cur-name { color:var(--hc-on-brand); opacity:.82; }
html[data-theme="dark"] .hc-currency-menu .dropdown-item.active .hc-cur-rate { color:var(--hc-on-brand); }
html[data-theme="dark"] .hc-currency-menu .dropdown-item.active .hc-cur-check { color:var(--hc-on-brand); opacity:1; }
.hc-currency-menu .hc-cur-note {
    padding:7px 16px 8px;
    margin-top:4px;
    font-size:11px;
    line-height:1.5;
    color:var(--hc-text-muted);
    border-top:1px dashed var(--hc-border);
    white-space:normal;
    /* 长语种脚注单行太长会撑爆 max-content 菜宽，钳住让脚注换行、行内容不受钳 */
    max-width:300px;
}

/* 通用 emoji（空状态等） */
.hc-emoji {
    display:inline-block;
    font-style:normal;
    line-height:1;
}

/* 旧版 .footer 家族已删除：页脚唯一实现是 .hc-footer（本文件下方组件段） */

/* ===== Bootstrap 覆盖 ===== */

/* 按钮 */
.btn {
    border-radius:var(--hc-radius-sm);
    font-weight:500;
    padding:8px 16px;
    transition:var(--hc-transition);
    border:1px solid transparent;
}

.btn-primary {
    background:var(--hc-grad);
    border-color:transparent;
    box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--hc-shadow-primary);
}

.btn-primary:hover {
    background:var(--hc-grad-hover);
    border-color:transparent;
    transform:translateY(-1px);
    box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 20px -4px rgba(124, 58, 237, 0.45);
}

.btn-primary:active { transform:translateY(0); }

/* btn-outline-secondary / btn-success / btn-warning / .card 覆盖已删除：views 零引用（2026-09-02 全局审查验证） */

/* 表单 */
.form-control {
    border-radius:var(--hc-radius-sm);
    border-color:var(--hc-border);
    padding:10px 14px;
    transition:var(--hc-transition);
}

.form-control:focus {
    border-color:var(--hc-primary-light);
    box-shadow:0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* 旧 .badge 覆盖已删（views 只用 hc-*-badge 自定义徽章，bootstrap .badge 零引用） */

/* 消息红点基础形（动作钮/旧位复用） */
.hc-msg-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:16px;
    height:16px;
    padding:0 4px;
    background:var(--hc-accent);
    color:var(--hc-on-brand);
    border-radius:9px;
    font-size:10px;
    font-weight:600;
    line-height:1;
    margin-left:4px;
}

/* ===== 消息 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);
}

/* ===== 登录（/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;
}

/* ===== 单列表单页骨架（工单/评价/订单查询/登录等 hc-form-*） ===== */
/* 2026-09-20 全站主体宽度统一 1140（与首页 container 同宽；原 720/760 窄容器）。
   挂件 iframe 内不受影响：.hc-widget-body .hc-form-wrap 覆写 max-width:none。
   width:100% 必须带：body 已是纵向 flex（页脚贴底），flex 子项 margin:auto+width:auto
   会 shrink-to-fit 按内容收缩（.container 免疫正因其自带 width:100%）。 */
.hc-form-wrap { width:100%; max-width:1140px; margin:40px auto; padding:0 16px; }
.hc-form-wrap--narrow { max-width:440px; }
.hc-form-card { background:var(--hc-surface); border-radius:16px; box-shadow:0 8px 30px rgba(124,58,237,.08); border:1px solid var(--hc-primary-100); overflow:hidden; }
.hc-form-head { background:linear-gradient(135deg,var(--hc-primary) 0%,var(--hc-primary-dark) 100%); color:var(--hc-on-brand); padding:28px 28px 24px; }
.hc-form-head h1 { font-size:22px; font-weight:700; margin:0; display:flex; align-items:center; gap:10px; }
.hc-form-head p { margin:8px 0 0; font-size:13px; opacity:.88; line-height:1.6; }

/* 用户中心统一页头（2026-09-22 四页标题统一）：渐变图标方块 + 标题 + 描述。
   四落点 myOrders/profile_box/myCoupons/account，partial _page_head.blade.php */
.hc-page-head { display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.hc-page-head-icon {
    width:44px; height:44px; border-radius:13px; flex-shrink:0;
    background:linear-gradient(135deg,var(--hc-primary),var(--hc-pink));
    color:var(--hc-on-brand); display:flex; align-items:center; justify-content:center;
    box-shadow:0 8px 20px -6px rgba(124,58,237,.45);
}
.hc-page-head h1 { font-size:20px; font-weight:700; color:var(--hc-text); margin:0; }
.hc-page-head p { font-size:12.5px; color:var(--hc-text-muted); margin:3px 0 0; line-height:1.6; }
.hc-page-head p.hc-page-head-rich { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; }
.hc-page-head p.hc-page-head-rich .hc-acct-id { display:inline-flex; align-items:center; gap:5px; }
.hc-page-head p.hc-page-head-rich svg { opacity:.55; }
.hc-form-body { padding:24px 28px 28px; }
.hc-form-field { margin-bottom:16px; }
.hc-form-label { display:block; font-size:12px; font-weight:600; color:var(--hc-text-secondary); margin-bottom:7px; }
.hc-form-label em { font-style:normal; color:var(--hc-text-muted); font-weight:400; margin-left:4px; }
.hc-form-input, .hc-form-textarea { width:100%; border:1px solid var(--hc-border); border-radius:10px; padding:12px 14px; font-size:14px; color:var(--hc-text); background:var(--hc-bg); transition:border-color .15s, box-shadow .15s, background .15s; box-sizing:border-box; }
.hc-form-input { height:46px; }
.hc-form-textarea { min-height:132px; resize:vertical; line-height:1.6; font-family:inherit; }
.hc-form-input:focus, .hc-form-textarea:focus { outline:none; border-color:var(--hc-primary); box-shadow:0 0 0 3px rgba(124,58,237,.12); background:var(--hc-surface); }
.hc-form-captcha { display:flex; gap:10px; }
.hc-form-captcha input { flex:1; }
.hc-form-captcha img { border-radius:9px; cursor:pointer; height:46px; }
.hc-form-btn { display:inline-flex; align-items:center; gap:8px; height:46px; padding:0 28px; border:none; border-radius:10px; background:linear-gradient(135deg,var(--hc-primary) 0%,var(--hc-primary-dark) 100%); color:var(--hc-on-brand); font-size:14px; font-weight:600; cursor:pointer; transition:transform .15s, box-shadow .15s; }
.hc-form-btn:hover { transform:translateY(-1px); box-shadow:0 6px 18px rgba(124,58,237,.3); }
.hc-form-tip { font-size:12px; color:var(--hc-text-muted); line-height:1.6; margin:14px 0 0; }

/* ===== 全站右下客服浮动钮（原 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 .16s ease, box-shadow .16s 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-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 .16s ease, box-shadow .16s 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-09-19 回顶部加入，用户定序：客服最上）：客服(130) → 设置齿轮(74)
       → 回顶部(18，滚动显现)。576 规则里的客服 bottom 已被本块覆盖（源顺序后者胜） */
    .hc-support-fab { right:14px; bottom:130px; width:46px; height:46px; }
    .hc-drawer-fab { display:flex; right:14px; bottom:74px; }
}

/* 遮罩 */
.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:186px; height:min(700px, calc(100vh - 204px)); }
}
/* 客服挂件上移让位竖排钮栈后，弹出面板须抬到栈之上（2026-09-19 三钮栈：客服 top=130+46）：
   本块在上方 576 规则之后，≤576 同特异性后者胜出；577-767 只有本块生效 */
@media (max-width:767.98px) {
    .hc-support-panel { bottom:186px; height:min(700px, calc(100vh - 204px)); }
}

/* 挂件 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)); }
}

/* ===== 绑定手机号 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;
    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;
    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;
}

/* ===== 邮箱+密码登录/注册（自建用户系统一期 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; }

/* ===== 桅杆导航响应式 ===== */
@media (max-width:991.98px) {
    .hc-mast-main { gap:18px; }
    .hc-mast-logo img,
    .hc-mast-logo .hc-star-wrap { height:40px; }
    .hc-mast-brand-main { font-size:21px; }
    .hc-mast-search { max-width:none; }
}

@media (max-width:767.98px) {
    /* 2026-09-18 移动端桅杆只留 Logo+搜索（用户要求）：单行 grid，
       动作区整体收进设置抽屉（入口与客服挂件平级，见 _mobile_drawer） */
    .hc-mast-main {
        grid-template-columns:auto 1fr;
        grid-template-areas:"logo search";
        gap:12px;
        min-height:0;
        padding:10px 0;
    }
    .hc-mast-actions { display:none; }
    .hc-mast-logo img,
    .hc-mast-logo .hc-star-wrap { height:34px; }
    .hc-mast-brand-main { font-size:18px; letter-spacing:2px; }
    .hc-mast-brand-sub { display:none; }
    .hc-mast-search { min-width:0; }
    .hc-mast-search .hc-search-input { min-width:0; }
    body.hc-scrolled .hc-mast-main { min-height:0; }
}

/* ============================================
   品牌页脚：深紫舞台收尾（与登录页品牌面板同语言：
   网格底纹 + 双光晕 + 玻璃拟态；2026-09-18 精细化重做）
   ============================================ */

.hc-footer {
    position:relative;
    /* 2026-10-12 修「footer 底部溢出一块」：进场编排 [data-reveal] 隐藏态
       translateY(18px)，页脚最后一个元素未落位时探出 footer 底边 18px，
       把全页滚动区撑长——滚到底会在页脚下方看到一条背景条、落位时还会
       回弹跳一下。clip 掉（隐藏态本就 opacity:0 不可见，落位态全在
       footer 边界内；两处 ::before/::after 装饰也在界内不受影响） */
    overflow:clip;
    /* 原 margin-top:72px 间距转 padding：margin-top 让位给 auto（body flex 下推底贴屏） */
    margin-top:auto;
    padding-top:72px;
    color:var(--hc-primary-200);
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
        radial-gradient(640px 300px at 88% -6%, rgba(167, 139, 250, 0.20), transparent 62%),
        radial-gradient(520px 260px at 6% 104%, rgba(236, 72, 153, 0.10), transparent 60%),
        linear-gradient(180deg, #251743 0%, #1B1032 55%, #150A28 100%);
}

/* 顶部极光发丝线（与 subhero 收口同语言，中心更亮） */
.hc-footer::before {
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.28) 12%, rgba(217, 191, 255, 0.68) 42%, rgba(244, 114, 182, 0.45) 74%, transparent);
}

/* 底部渐隐：把网格底纹收进深色，避免纹理贯穿到底噪 */
.hc-footer::after {
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:150px;
    background:linear-gradient(180deg, transparent, rgba(13, 6, 26, 0.6));
    pointer-events:none;
}

.hc-footer-grid {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1.7fr 1fr 1fr;
    gap:44px;
    padding:56px 0 40px;
}

/* 品牌列：玻璃标牌 + 名称/副语堆叠 */
.hc-foot-brand-row {
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:22px;
}

.hc-foot-mark {
    flex:0 0 44px;
    height:44px;
    border-radius:13px;
    background:rgba(255, 255, 255, 0.13);
    border:1px solid rgba(255, 255, 255, 0.26);
    backdrop-filter:blur(8px);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 26px rgba(12, 4, 30, 0.4);
}
.hc-foot-mark img { width:26px; height:26px; object-fit:contain; }

.hc-foot-brand-text { min-width:0; }

.hc-foot-logo {
    font-size:21px;
    font-weight:800;
    letter-spacing:1.2px;
    line-height:1.25;
    /* 字面亮色停靠点（2026-10-07 暗色翻车修复，同 banner 标题）：页脚恒深底，
       令牌渐变在暗色主题翻深导致 logo 变黑；字面值=浅色主题原渲染 */
    background:linear-gradient(96deg, #FFFFFF 30%, #E9D5FF 72%, #C4B5FD 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.hc-foot-brand-sub {
    margin-top:3px;
    font-size:12.5px;
    letter-spacing:0.4px;
    color:rgba(196, 181, 253, 0.78);
}

/* ===== 输入框清空钮（2026-10-02 三端清空交互：web 侧，hc-clearable.js 注入）===== */
.hc-clear-host {
    position:relative;
    display:flex;
    align-items:center;
    flex:1 1 auto;
    min-width:0;
}
.hc-clear-host .hc-clearable {
    /* 常驻预留 × 位：长文本不钻 × 底下、× 显隐零布局跳动 */
    padding-right:32px;
}
.hc-clear-x {
    position:absolute;
    right:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:20px;
    height:20px;
    padding:0;
    border:none;
    border-radius:50%;
    background:rgba(127,127,127,.22);
    color:var(--hc-text-muted);
    cursor:pointer;
    transition:background .15s, color .15s;
}
.hc-clear-x:hover {
    background:rgba(127,127,127,.4);
    color:var(--hc-text);
}
.hc-clear-x svg { width:10px; height:10px; display:block; }
.hc-clear-x[hidden] { display:none; }

/* 支付通道徽章（2026-10-02 对齐 banner/App 口径）：品牌图标 + 名称胶囊，
   跟随后台启用通道动态渲染（hc_payway_badges，与首页 banner 同缓存源） */
.hc-foot-pays {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

/* 图标精灵仓库：只借 symbol、容器零占位（与 buy.css 同法，自备不依赖他页样式） */
.hc-foot-pays .hc-pay-sprite {
    position:absolute;
    width:0;
    height:0;
    overflow:hidden;
}

.hc-foot-pay {
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-size:11.5px;
    font-weight:600;
    letter-spacing:0.3px;
    color:rgba(233, 213, 255, 0.92);
    padding:5px 12px 5px 6px;
    border-radius:999px;
    border:1px solid rgba(233, 213, 255, 0.22);
    background:rgba(255, 255, 255, 0.06);
    backdrop-filter:blur(6px);
    transition:transform 0.18s, border-color 0.18s, background 0.18s;
}

.hc-foot-pay svg {
    width:22px;
    height:22px;
    border-radius:6px;
    flex-shrink:0;
}

.hc-foot-pay-name {
    white-space:nowrap;
}

.hc-foot-pay:hover {
    transform:translateY(-2px);
    border-color:rgba(233, 213, 255, 0.42);
    background:rgba(255, 255, 255, 0.1);
}

/* 窄屏只留图标（与 banner 徽章小屏降级同策略） */
@media (max-width: 767.98px) {
    .hc-foot-pay-name { display:none; }
    .hc-foot-pay { padding:5px; }
}

.hc-foot-custom {
    margin-top:20px;
    font-size:12.5px;
    color:rgba(196, 181, 253, 0.8);
    line-height:1.75;
}
.hc-foot-custom a { color:rgba(216, 204, 247, 0.9); transition:color 0.18s; }
.hc-foot-custom a:hover { color:var(--hc-on-brand); }

/* 链接列：渐变强调条小标题 + 悬停滑移 */
.hc-foot-col h4 {
    display:flex;
    align-items:center;
    gap:9px;
    font-size:11.5px;
    font-weight:700;
    letter-spacing:2.2px;
    text-transform:uppercase;
    color:rgba(233, 213, 255, 0.72);
    margin:6px 0 18px;
}

.hc-foot-col h4::before {
    content:"";
    width:3px;
    height:13px;
    border-radius:2px;
    background:linear-gradient(180deg, var(--hc-primary-400), var(--hc-pink));
    box-shadow:0 0 10px rgba(167, 139, 250, 0.5);
}

.hc-foot-col ul {
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:11px;
}

.hc-foot-col a {
    position:relative;
    display:inline-flex;
    align-items:center;
    font-size:13.5px;
    color:rgba(233, 213, 255, 0.8);
    text-decoration:none;
    transition:color 0.18s, transform 0.18s;
}

.hc-foot-col a::before {
    content:"";
    position:absolute;
    left:-14px;
    width:5px;
    height:5px;
    border-radius:50%;
    background:linear-gradient(135deg, var(--hc-primary-400), var(--hc-pink));
    opacity:0;
    transform:scale(0.4);
    transition:opacity 0.18s, transform 0.18s;
}

.hc-foot-col a:hover {
    color:var(--hc-on-brand);
    transform:translateX(3px);
    text-decoration:none;
}

.hc-foot-col a:hover::before {
    opacity:1;
    transform:scale(1);
}

/* 底条：版权 + 回到顶部 */
.hc-foot-bottom {
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px 20px;
    padding:18px 0 24px;
    font-size:12px;
    color:rgba(196, 181, 253, 0.62);
}

.hc-foot-bottom::before {
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:1px;
    background:linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.22) 18%, rgba(196, 181, 253, 0.22) 82%, transparent);
}

/* 回到顶部原页脚底条按钮已删（2026-09-19 迁右下浮动钮与客服竖排，见 .hc-backtop-fab） */

.hc-foot-powered a { color:rgba(233, 213, 255, 0.75); }
.hc-foot-powered a:hover { color:var(--hc-on-brand); }

@media (max-width:767.98px) {
    .hc-footer { margin-top:auto; padding-top:48px; }
    .hc-footer-grid {
        grid-template-columns:1fr 1fr;
        gap:28px 20px;
        padding:36px 0 28px;
    }
    .hc-foot-brand {
        grid-column:1 / -1;
        margin-bottom:2px;
    }
    .hc-foot-brand-row { margin-bottom:18px; }
    .hc-foot-col h4 { margin-bottom:13px; }
    .hc-foot-bottom { justify-content:space-between; }
}

@media (max-width:575.98px) {
    .hc-footer-grid { gap:24px 16px; padding:30px 0 24px; }
    .hc-foot-brand-row { gap:12px; margin-bottom:15px; }
    .hc-foot-mark { flex-basis:40px; height:40px; border-radius:11px; }
    .hc-foot-logo { font-size:19px; }
    .hc-foot-brand-sub { font-size:11.5px; }
    .hc-foot-pay { padding:5px 11px; font-size:11px; }
    .hc-foot-col a { font-size:13px; }
    .hc-foot-col a::before { display:none; }
    .hc-foot-bottom { padding:14px 0 20px; }
}

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

.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; }
.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; }
.hc-oi-info-row .hc-oi-copy { height:34px; flex-shrink:0; }
.hc-oi-copy { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:0 16px; border-radius:9px; border:none; background:linear-gradient(135deg,var(--hc-primary),var(--hc-primary-dark)); color:var(--hc-on-brand); font-size:13px; font-weight:500; cursor:pointer; transition:transform .15s, box-shadow .15s; }
.hc-oi-copy:hover { transform:translateY(-1px); box-shadow:0 4px 14px rgba(124,58,237,.28); }
/* 多张卡密逐条复制 */
.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-line-copy { flex-shrink:0; display:inline-flex; align-items:center; gap:4px; padding:7px 13px; border-radius:8px; border:1px solid var(--hc-primary-100); background:var(--hc-surface); color:var(--hc-primary-dark); font-size:12px; font-weight:500; cursor:pointer; transition:all .15s; }
.hc-oi-line-copy:hover { background:var(--hc-primary-50); border-color:var(--hc-primary-200); }
.hc-oi-copy-all { flex-shrink:0; display:inline-flex; align-items:center; gap:5px; padding:6px 14px; border-radius:8px; border:1px solid var(--hc-primary-100); background:var(--hc-surface); color:var(--hc-primary-dark); font-size:12px; font-weight:600; cursor:pointer; transition:all .15s; }
.hc-oi-copy-all:hover { background:var(--hc-primary-50); border-color:var(--hc-primary-200); }

.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; }

/* ===== 骨架屏（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;
}
