/* ==========================================================================
   泓萌数据 · 会员中心补齐模块
   --------------------------------------------------------------------------
   与 public/assets/addons/mrdata/css/mrdata.css 的关系:
     - mrdata.css 提供会员数据服务页的既有组件(.mrdata-statbar / .mrdata-filter /
       .mrdata-card / .mrdata-doc 等),本文件**只补新组件**,不重复定义。
     - 因此新页面的 <head> 里两个文件都要引,顺序:mrdata.css → ucenter.css。
   命名统一用 uc- 前缀,避免和 mrdata.css、user.css 的选择器撞车。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 安全体检(账号安全设置页顶部)
   -------------------------------------------------------------------------- */
.uc-check {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    margin-bottom: 16px;
}

.uc-check-score {
    flex: 0 0 auto;
    width: 104px;
    text-align: center;
    border-right: 1px solid #eef2f7;
    padding-right: 22px;
}

.uc-check-score .num {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.1;
    color: #0AADFF;
    font-variant-numeric: tabular-nums;
}

.uc-check-score .num small {
    font-size: 14px;
    color: #8b98a8;
    margin-left: 2px;
}

.uc-check-score .lv {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    padding: 1px 9px;
    border-radius: 10px;
    background: #eaf7ff;
    color: #0AADFF;
}

.uc-check-score .lv.lv-mid {
    background: #fdf4e3;
    color: #b8791a;
}

.uc-check-score .lv.lv-low {
    background: #fdecec;
    color: #d0353a;
}

.uc-check-body {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-check-body h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2d3d;
}

.uc-check-body p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #7b8794;
    line-height: 1.6;
}

/* 未完成的体检项做成"待办"小标签,点一下直达对应页面 */
.uc-check-todo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uc-check-todo a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid #ffe0b8;
    background: #fff9ef;
    color: #a9680d;
    text-decoration: none;
}

.uc-check-todo a:hover {
    background: #fff3e0;
    border-color: #ffcd8a;
}

/* --------------------------------------------------------------------------
   2. 体检项清单
   -------------------------------------------------------------------------- */
.uc-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.uc-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #eef2f7;
    border-radius: 10px;
    background: #fcfdff;
}

.uc-check-item .icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #eef6ff;
    color: #0AADFF;
}

.uc-check-item.is-ok .icon {
    background: #eaf8f1;
    color: #1a9c6b;
}

.uc-check-item .txt {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-check-item .txt .lb {
    font-size: 13px;
    font-weight: 500;
    color: #2b3a4b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.uc-check-item .txt .lb em {
    font-style: normal;
    font-size: 11px;
    padding: 0 6px;
    border-radius: 8px;
    background: #fdecec;
    color: #d0353a;
}

.uc-check-item.is-ok .txt .lb em {
    background: #eaf8f1;
    color: #1a9c6b;
}

.uc-check-item .txt .tp {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #8b98a8;
    line-height: 1.5;
}

.uc-check-item .txt .vl {
    font-size: 12px;
    color: #5b6b7c;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   3. 设置开关(仿 iOS 开关,不引额外 UI 库)
   -------------------------------------------------------------------------- */
.uc-switch-list {
    display: flex;
    flex-direction: column;
}

.uc-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #eef2f7;
}

.uc-switch:last-child {
    border-bottom: 0;
}

.uc-switch .si {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-switch .si .t {
    font-size: 13px;
    font-weight: 500;
    color: #2b3a4b;
}

.uc-switch .si .d {
    display: block;
    font-size: 12px;
    color: #8b98a8;
    margin-top: 2px;
    line-height: 1.5;
}

.uc-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.uc-switch label.sw {
    flex: 0 0 auto;
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: #d8e0e9;
    cursor: pointer;
    transition: background .18s;
    margin: 0;
}

.uc-switch label.sw::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
    transition: transform .18s;
}

.uc-switch input[type="checkbox"]:checked + label.sw {
    background: #0AADFF;
}

.uc-switch input[type="checkbox"]:checked + label.sw::after {
    transform: translateX(18px);
}

/* --------------------------------------------------------------------------
   4. 敏感操作块(换绑手机/邮箱/改密)
   -------------------------------------------------------------------------- */
.uc-op {    border: 1px solid #eef2f7;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fcfdff;
}

.uc-op:last-child {
    margin-bottom: 0;
}

.uc-op-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.uc-op-head .t {
    font-size: 13px;
    font-weight: 500;
    color: #2b3a4b;
}

.uc-op-head .t i {
    color: #0AADFF;
    margin-right: 6px;
}

.uc-op-head .cur {
    font-size: 12px;
    color: #8b98a8;
}

.uc-op-body {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #eef2f7;
    display: none;
}

.uc-op.is-open .uc-op-body {
    display: block;
}

.uc-op-foot {
    margin-top: 10px;
}

/* 表格行内展开的编辑面板:默认收起,由 .is-open 打开
   (与 .uc-op 的区别:.uc-op 是常显的分区块,.uc-edit 是点一下才出现的行内表单) */
.uc-edit {
    display: none;
    border: 1px solid #e3eaf2;
    border-radius: 9px;
    background: #fbfdff;
    padding: 10px 12px;
}

.uc-edit.is-open {
    display: block;
}

/* 输入 + 发送验证码按钮 一行排布 */
.uc-input-code {
    display: flex;
    gap: 8px;
}

.uc-input-code .form-control {
    flex: 1 1 auto;
}

.uc-input-code .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. 预警号码 / 白名单 列表里的状态点
   -------------------------------------------------------------------------- */
.uc-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: 1px;
    background: #c6d0db;
}

.uc-dot.on {
    background: #24b47e;
}

.uc-dot.off {
    background: #c6d0db;
}

.uc-mono {
    font-family: Menlo, Consolas, "Courier New", monospace;
    font-size: 12px;
    color: #35465a;
    word-break: break-all;
}

/* 表格里的小图标按钮 */
.uc-act {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e3eaf2;
    background: #fff;
    color: #4a5b6c;
    text-decoration: none;
    cursor: pointer;
    margin-right: 4px;
}

.uc-act:hover,
.uc-act:focus {
    border-color: #0AADFF;
    color: #0AADFF;
    text-decoration: none;
}

.uc-act.danger:hover {
    border-color: #e35d5d;
    color: #d0353a;
}

/* --------------------------------------------------------------------------
   6. 说明块(替代一大段裸文字)
   -------------------------------------------------------------------------- */
.uc-note {
    font-size: 13px;
    color: #6b7a8b;
    line-height: 1.75;
}

.uc-note strong {
    color: #2b3a4b;
    font-weight: 500;
}

.uc-note code {
    background: #f2f6fa;
    color: #3a6ea5;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 12px;
}

.uc-note ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.uc-note li {
    margin-bottom: 5px;
}

/* 当前 IP 提示条 */
.uc-ipbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: 9px;
    background: #f4faff;
    border: 1px solid #dcf0ff;
    font-size: 13px;
    color: #35709d;
    margin-bottom: 14px;
}

.uc-ipbar code {
    background: #fff;
    border: 1px solid #dcf0ff;
    padding: 1px 6px;
    border-radius: 5px;
    color: #1a6fa8;
}

/* --------------------------------------------------------------------------
   7. 空态
   -------------------------------------------------------------------------- */
.uc-empty {
    text-align: center;
    padding: 32px 16px;
    color: #9aa7b5;
    font-size: 13px;
}

.uc-empty i {
    display: block;
    font-size: 30px;
    color: #d5dee8;
    margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   8. 费用与发票(批次 3)
   -------------------------------------------------------------------------- */

/* 概览数字格:与看板 .mrdata-kpi 同源,但这里给"钱"更大的字号 */
.uc-fin {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.uc-fin-item {
    flex: 1 1 20%;
    min-width: 130px;
    padding: 16px 14px;
    text-align: center;
    border-right: 1px dashed #e7e7e7;
}

.uc-fin-item:last-child {
    border-right: 0;
}

.uc-fin-item .k {
    display: block;
    font-size: 12px;
    color: #9aa0ad;
    margin-bottom: 4px;
}

.uc-fin-item .v {
    display: block;
    font-size: 22px;
    font-weight: 600;
    color: #444c69;
    word-break: break-all;
}

.uc-fin-item .v small {
    font-size: 12px;
    font-weight: 400;
    color: #9aa0ad;
    margin-right: 1px;
}

.uc-fin-item .s {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #9aa0ad;
}

.uc-fin-item.accent .v {
    color: #f39c12;
}

/* 分接口费用:名称 + 横条 + 金额,一眼看出"钱花在哪个接口" */
.uc-cost-row {
    display: flex;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #eef1f5;
}

.uc-cost-row:last-child {
    border-bottom: 0;
}

.uc-cost-name {
    flex: 0 0 32%;
    padding-right: 10px;
    font-size: 13px;
    color: #444c69;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-cost-bar {
    flex: 1 1 auto;
    height: 8px;
    background: #f0f3f7;
    border-radius: 4px;
    overflow: hidden;
}

.uc-cost-bar > i {
    display: block;
    height: 100%;
    background: #1688f1;
    border-radius: 4px;
}

.uc-cost-num {
    flex: 0 0 92px;
    text-align: right;
    font-size: 13px;
    color: #444c69;
}

.uc-cost-calls {
    flex: 0 0 66px;
    text-align: right;
    font-size: 12px;
    color: #9aa0ad;
}

/* 发票申请面板里的抬头/地址卡片 */
.uc-inv-card {
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #fff;
}

.uc-inv-card.is-default {
    border-color: #1688f1;
    background: #f5faff;
}

.uc-inv-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.uc-inv-card-title {
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-inv-card-meta {
    font-size: 12px;
    color: #8a9099;
    word-break: break-all;
}

.uc-inv-card-act {
    margin-top: 8px;
    text-align: right;
}

/* 可开票金额条 */
.uc-inv-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 14px 16px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f6f9ff 0%, #eef4fd 100%);
    border: 1px solid #dbe7f7;
}

.uc-inv-amount .lab {
    font-size: 13px;
    color: #6b7280;
}

.uc-inv-amount .num {
    font-size: 28px;
    font-weight: 600;
    color: #1688f1;
    margin: 0 6px;
}

.uc-inv-amount .sub {
    font-size: 12px;
    color: #9aa0ad;
    margin-left: auto;
}

/* 合同模板列表 */
.uc-ct-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.uc-ct-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed #e7e7e7;
}

.uc-ct-item:last-child {
    border-bottom: 0;
}

.uc-ct-ico {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    margin-right: 12px;
    border-radius: 4px;
    background: #eef4fd;
    color: #1688f1;
    font-size: 17px;
    line-height: 38px;
    text-align: center;
}

.uc-ct-body {
    flex: 1 1 0;
    min-width: 0;
}

.uc-ct-name {
    font-size: 14px;
    color: #444c69;
    font-weight: 600;
}

.uc-ct-desc {
    font-size: 12px;
    color: #9aa0ad;
    margin-top: 2px;
}

.uc-ct-meta {
    flex: 0 0 auto;
    text-align: right;
    font-size: 12px;
    color: #9aa0ad;
    padding-left: 10px;
}

/* --------------------------------------------------------------------------
   9. 工单与公告(批次 4)
   -------------------------------------------------------------------------- */

/* --- 9.1 工单状态筛选条(用 <a> 做,保持"可分享 URL"而不是 JS 切 tab) --- */
.uc-tk-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.uc-tk-bar a {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #e2e6ec;
    border-radius: 15px;
    background: #fff;
    color: #6b7484;
    font-size: 13px;
    text-decoration: none;
}

.uc-tk-bar a:hover {
    border-color: #b9c2d0;
    color: #444c69;
}

.uc-tk-bar a.active {
    background: #444c69;
    border-color: #444c69;
    color: #fff;
}

.uc-tk-bar a .n {
    margin-left: 4px;
    font-size: 12px;
    opacity: .75;
}

/* --- 9.2 工单列表 --- */
.uc-tk {
    border: 1px solid #e7e7e7;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 10px;
    transition: box-shadow .15s;
}

.uc-tk:hover {
    box-shadow: 0 2px 8px rgba(68, 76, 105, .1);
}

.uc-tk-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px 0;
}

.uc-tk-no {
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    color: #9aa0ad;
}

.uc-tk-head .uc-tk-title {
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 600;
    color: #444c69;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-tk-head .uc-tk-title:hover {
    color: #2b6cb0;
}

.uc-tk-body {
    padding: 8px 14px 12px;
    font-size: 13px;
    color: #8b93a3;
    line-height: 1.7;
}

.uc-tk-body .cut {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uc-tk-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #a7aebb;
}

.uc-tk-meta span + span {
    margin-left: 14px;
}

/* --- 9.3 状态 / 分类小标 --- */
.uc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 18px;
    border: 1px solid transparent;
}

.uc-badge.warn {
    background: #fff6e6;
    border-color: #ffe0b2;
    color: #b8791a;
}

.uc-badge.info {
    background: #eaf4fd;
    border-color: #cfe6f8;
    color: #2b6cb0;
}

.uc-badge.primary {
    background: #eef0fb;
    border-color: #d8ddf6;
    color: #4a56b8;
}

.uc-badge.success {
    background: #eaf8f0;
    border-color: #cbeedb;
    color: #2b8a5b;
}

.uc-badge.muted {
    background: #f2f4f7;
    border-color: #e3e7ee;
    color: #8b93a3;
}

.uc-badge.ghost {
    background: #fff;
    border-color: #e2e6ec;
    color: #6b7484;
}

/* 未读小红点 */
.uc-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e04b4b;
    margin-left: 6px;
    vertical-align: middle;
}

/* --- 9.4 消息往返(气泡流) --- */
.uc-chat {
    padding: 4px 0;
}

.uc-chat-item {
    display: flex;
    margin-bottom: 14px;
}

.uc-chat-item.mine {
    flex-direction: row-reverse;
}

.uc-chat-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef0f5;
    color: #6b7484;
    text-align: center;
    line-height: 34px;
    font-size: 14px;
}

.uc-chat-item.mine .uc-chat-avatar {
    background: #444c69;
    color: #fff;
}

.uc-chat-main {
    max-width: calc(100% - 46px);
    margin: 0 12px;
}

.uc-chat-head {
    font-size: 12px;
    color: #a7aebb;
    margin-bottom: 4px;
}

.uc-chat-item.mine .uc-chat-head {
    text-align: right;
}

.uc-chat-bubble {
    display: inline-block;
    text-align: left;
    padding: 9px 13px;
    border-radius: 8px;
    background: #f5f7fa;
    border: 1px solid #e9edf3;
    font-size: 13px;
    color: #444c69;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
}

.uc-chat-item.mine .uc-chat-bubble {
    background: #eef4fd;
    border-color: #d7e6f8;
}

/* --- 9.5 附件列表 --- */
.uc-attach {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.uc-attach-item {
    display: flex;
    align-items: center;
    max-width: 240px;
    padding: 5px 9px;
    border: 1px solid #e2e6ec;
    border-radius: 4px;
    background: #fff;
    font-size: 12px;
    color: #6b7484;
    text-decoration: none;
}

.uc-attach-item:hover {
    border-color: #b9c2d0;
    color: #444c69;
}

.uc-attach-item i {
    margin-right: 6px;
    color: #9aa0ad;
}

.uc-attach-item .nm {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-attach-item .sz {
    margin-left: 8px;
    color: #b6bcc7;
    flex: 0 0 auto;
}

/* --- 9.6 上传区(拖拽 + 文件选择,不引第三方上传组件) --- */
.uc-drop {
    border: 1px dashed #d7dde6;
    border-radius: 6px;
    background: #fafbfc;
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: #8b93a3;
    cursor: pointer;
}

.uc-drop:hover,
.uc-drop.over {
    border-color: #9fb4d0;
    background: #f4f8fd;
    color: #444c69;
}

.uc-drop i {
    font-size: 20px;
    display: block;
    margin-bottom: 6px;
    color: #b6c1d0;
}

.uc-drop .tip {
    font-size: 12px;
    color: #b6bcc7;
    margin-top: 4px;
}

/* --- 9.7 流转时间线 --- */
.uc-timeline {
    list-style: none;
    margin: 0;
    padding: 4px 0 0 6px;
    position: relative;
}

.uc-timeline:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    border-left: 1px dashed #dfe4ec;
}

.uc-timeline li {
    position: relative;
    padding: 0 0 14px 26px;
    font-size: 13px;
    color: #6b7484;
    line-height: 1.6;
}

.uc-timeline li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 5px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #c8d2e0;
    box-sizing: border-box;
}

.uc-timeline li.actor-admin:before {
    border-color: #2b6cb0;
}

.uc-timeline li.actor-me:before {
    border-color: #444c69;
}

.uc-timeline li .tt {
    color: #a7aebb;
    font-size: 12px;
    margin-left: 8px;
}

/* --- 9.8 公告列表 --- */
.uc-nc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px dashed #eef1f5;
}

.uc-nc:last-child {
    border-bottom: 0;
}

.uc-nc-main {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-nc-title {
    font-size: 14px;
    font-weight: 600;
    color: #444c69;
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.uc-nc-title:hover {
    color: #2b6cb0;
}

.uc-nc-sum {
    margin-top: 4px;
    font-size: 12px;
    color: #9aa0ad;
    line-height: 1.7;
}

.uc-nc-meta {
    margin-top: 6px;
    font-size: 12px;
    color: #b6bcc7;
}

.uc-nc-meta span + span {
    margin-left: 12px;
}

.uc-nc-side {
    flex: 0 0 auto;
    text-align: right;
    font-size: 12px;
    color: #b6bcc7;
}

/* 公告正文 */
.uc-nc-article {
    font-size: 14px;
    color: #444c69;
    line-height: 2;
    word-break: break-word;
}

.uc-nc-article p {
    margin-bottom: 12px;
}

.uc-nc-nav {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #eef1f5;
    font-size: 13px;
}

.uc-nc-nav a {
    flex: 1 1 0;
    min-width: 0;
    color: #6b7484;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-nc-nav a:hover {
    color: #2b6cb0;
}

.uc-nc-nav a.next {
    text-align: right;
}

/* --- 9.9 站内消息行 --- */
.uc-ms {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 12px;
    border-bottom: 1px dashed #eef1f5;
    border-radius: 4px;
}

.uc-ms:last-child {
    border-bottom: 0;
}

.uc-ms.unread {
    background: #fbfcfe;
}

.uc-ms-ico {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f3f8;
    color: #6b7484;
    text-align: center;
    line-height: 34px;
}

.uc-ms.unread .uc-ms-ico {
    background: #eaf4fd;
    color: #2b6cb0;
}

.uc-ms-main {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-ms-title {
    font-size: 14px;
    color: #444c69;
    font-weight: 600;
}

.uc-ms.unread .uc-ms-title {
    color: #2b6cb0;
}

.uc-ms-content {
    margin-top: 3px;
    font-size: 13px;
    color: #8b93a3;
    line-height: 1.7;
}

.uc-ms-meta {
    margin-top: 5px;
    font-size: 12px;
    color: #b6bcc7;
}

.uc-ms-meta span + span {
    margin-left: 12px;
}

.uc-ms-act {
    flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   10. 数据块商城(批次 5)
   -------------------------------------------------------------------------- */

/* --- 10.1 商城工具栏:分类条 + 排序 + 检索 --- */
.uc-ds-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.uc-ds-cat {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 420px;
}

.uc-ds-cat a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border: 1px solid var(--hm-border);
    border-radius: 16px;
    background: #fff;
    color: var(--hm-text);
    font-size: 13px;
    text-decoration: none;
    transition: all .15s ease;
}

.uc-ds-cat a:hover {
    border-color: var(--hm-primary);
    color: var(--hm-primary);
}

.uc-ds-cat a.active {
    border-color: var(--hm-primary);
    background: var(--hm-primary);
    color: #fff;
    font-weight: 600;
}

.uc-ds-cat a .n {
    font-size: 12px;
    opacity: .7;
}

.uc-ds-tool {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.uc-ds-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.uc-ds-sort a {
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--hm-text-light);
    font-size: 13px;
    text-decoration: none;
}

.uc-ds-sort a:hover {
    color: var(--hm-primary);
    background: var(--hm-bg);
}

.uc-ds-sort a.active {
    color: var(--hm-primary);
    font-weight: 600;
    background: var(--hm-bg);
}

/* --- 10.2 数据集卡片网格 --- */
.uc-ds-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.uc-ds-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--hm-border);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.uc-ds-card:hover {
    border-color: var(--hm-primary);
    box-shadow: 0 4px 16px rgba(10, 173, 255, .12);
}

.uc-ds-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.uc-ds-code {
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--hm-bg);
    color: var(--hm-text-light);
    font-size: 12px;
    font-family: Consolas, Monaco, monospace;
}

.uc-ds-cat-tag {
    padding: 1px 8px;
    border-radius: 10px;
    background: rgba(10, 173, 255, .1);
    color: var(--hm-primary);
    font-size: 12px;
}

.uc-ds-hot {
    margin-left: auto;
    color: #ff7a45;
    font-size: 12px;
}

.uc-ds-name {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.uc-ds-name a {
    color: var(--hm-text);
    text-decoration: none;
}

.uc-ds-name a:hover {
    color: var(--hm-primary);
}

.uc-ds-sub {
    margin: 0 0 10px;
    color: var(--hm-text-light);
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uc-ds-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--hm-text-light);
    font-size: 12px;
}

.uc-ds-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--hm-border);
}

.uc-ds-price {
    color: #f5222d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.uc-ds-price small {
    font-size: 12px;
    font-weight: 400;
}

.uc-ds-sales {
    color: var(--hm-text-light);
    font-size: 12px;
}

/* --- 10.3 详情页 --- */
.uc-ds-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hm-border);
}

.uc-ds-detail-title {
    margin: 6px 0 8px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
}

.uc-ds-buy {
    flex: 0 0 210px;
    padding: 16px;
    border: 1px solid var(--hm-border);
    border-radius: 12px;
    background: var(--hm-bg);
    text-align: center;
}

.uc-ds-buy .price {
    display: block;
    margin-bottom: 4px;
    color: #f5222d;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.uc-ds-buy .tip {
    display: block;
    margin-bottom: 12px;
    color: var(--hm-text-light);
    font-size: 12px;
}

.uc-ds-kv {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.uc-ds-kv div {
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--hm-bg);
}

.uc-ds-kv .k {
    display: block;
    margin-bottom: 4px;
    color: var(--hm-text-light);
    font-size: 12px;
}

.uc-ds-kv .v {
    font-size: 15px;
    font-weight: 600;
}

/* --- 10.4 我的数据集 --- */
.uc-ds-order {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--hm-border);
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
}

.uc-ds-order + .uc-ds-order {
    margin-top: 0;
}

.uc-ds-order-main {
    flex: 1 1 auto;
    min-width: 0;
}

.uc-ds-order-name {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.uc-ds-order-meta {
    color: var(--hm-text-light);
    font-size: 12px;
}

.uc-ds-order-meta span + span {
    margin-left: 12px;
}

.uc-ds-order-act {
    flex: 0 0 auto;
    text-align: right;
}

.uc-ds-left {
    display: inline-block;
    margin-top: 4px;
    color: var(--hm-text-light);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   11. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .uc-ds-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uc-ds-kv {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uc-ds-detail-head {
        flex-direction: column;
    }

    .uc-ds-buy {
        flex: 1 1 auto;
        width: 100%;
    }

    .uc-check {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .uc-check-score {
        width: auto;
        border-right: 0;
        border-bottom: 1px solid #eef2f7;
        padding: 0 0 14px;
    }
}

@media (max-width: 767px) {
    .uc-check-list {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --------------------------------------------------------------------------
   N. 分级定价:会员专属价标记
   --------------------------------------------------------------------------
   出现在接口集市卡片与接口详情页。语义是"这个价是给您的,不是标准价"。
   用金色系而非主色蓝:蓝色是本站的"信息/链接"色,打折标记用暖色才不会被当成
   普通链接;这与中式电商的"优惠用暖色"直觉一致。
   -------------------------------------------------------------------------- */
.uc-eff-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #FFF6E5;
    border: 1px solid #FFE0A3;
    color: #B7791F;
    font-size: 12px;
    white-space: nowrap;
}
.uc-eff-tag del {
    color: #B9A06A;
    margin-left: 3px;
}
.uc-eff-quota {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 6px;
    border-radius: 4px;
    background: #EAF9F0;
    border: 1px solid #B9EBCE;
    color: #1E7A45;
    font-size: 12px;
    white-space: nowrap;
}
/* 会员专属价在卡片里用主色强调,与标准价的灰形成层次 */
.uc-eff-price {
    color: var(--hm-accent, #0AADFF);
    font-weight: 600;
}
.uc-eff-note {
    color: #8a94a6;
    font-size: 12px;
    margin-left: 6px;
}
