/*==========================================================================
 * 云雪授权系统 — 统一设计系统 v4
 * 专业软件授权服务平台 · 理性克制 · 深蓝主色 + 中性灰体系
 * 60-30-10 配色法则：深蓝品牌 / 浅蓝辅助 / 中性灰背景
 *==========================================================================*/

/*------------------------------------------------------
 * 1. 设计令牌
 *------------------------------------------------------*/
:root {
    /* 品牌色 */
    --yx-primary: #4F6AF5;
    --yx-primary-2: #7C8DFF;
    --yx-primary-soft: #F0F3FF;
    --yx-primary-rgb: 79, 106, 245;
    --yx-primary-2-rgb: 124, 141, 255;
    --yx-accent: #7C8DFF;
    --yx-accent-soft: #F0F3FF;
    --yx-accent-rgb: 124, 141, 255;
    --yx-cyan: #4C8DF6;
    --yx-cyan-soft: #EFF6FF;

    /* 状态色 */
    --yx-success: #20C997;
    --yx-success-soft: #E8F8F2;
    --yx-warning: #FF9F43;
    --yx-warning-soft: #FFF3E0;
    --yx-danger: #FF6B6B;
    --yx-danger-soft: #FFEBEE;
    --yx-info: #4F6AF5;
    --yx-info-soft: #F0F3FF;

    /* 中性色 */
    --yx-ink: #262626;
    --yx-ink-2: #595959;
    --yx-ink-3: #8C8C8C;
    --yx-ink-4: #BFBFBF;
    --yx-line: #D9D9D9;
    --yx-line-soft: #EEF1F6;
    --yx-bg: #F5F7FC;
    --yx-card: #FFFFFF;

    /* 圆角 / 阴影 */
    --yx-radius: 10px;
    --yx-radius-sm: 8px;
    --yx-radius-lg: 14px;
    --yx-radius-pill: 999px;
    --yx-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    --yx-shadow-md: 0 4px 14px rgba(0, 0, 0, .07);
    --yx-shadow-lg: 0 12px 36px rgba(0, 0, 0, .12);
    --yx-shadow-primary: 0 6px 18px rgba(var(--yx-primary-rgb), .24);

    /* 字体 */
    --yx-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
        'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    --yx-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

    /* 布局 */
    --yx-side-pad: 22px;
    --yx-container: 1200px;
}

/*------------------------------------------------------
 * 2. 基础重置
 *------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--yx-font);
    font-size: 14px;
    line-height: 1.7;
    color: var(--yx-ink);
    background: var(--yx-bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: var(--yx-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--yx-primary-2); }
img { max-width: 100%; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: rgba(var(--yx-primary-rgb), .16); }

h1, h2, h3, h4 { color: var(--yx-ink); }
h1 { font-size: 38px; line-height: 1.25; }
h2 { font-size: 30px; line-height: 1.3; }
h3 { font-size: 24px; line-height: 1.35; }
h4 { font-size: 20px; line-height: 1.4; }

/*------------------------------------------------------
 * 3. 导航栏（毛玻璃）
 *------------------------------------------------------*/
.yx-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(217, 217, 217, .7);
    transition: box-shadow .2s ease;
}
.yx-nav.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .07); }

.yx-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--yx-side-pad);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yx-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 18px;
    flex-shrink: 0;
}
.yx-nav-brand-logo {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--yx-primary), var(--yx-primary-2));
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px; font-weight: 800;
    box-shadow: 0 4px 10px rgba(var(--yx-primary-rgb), .3);
    flex-shrink: 0;
}
.yx-nav-brand-text {
    font-size: 17px; font-weight: 700; letter-spacing: .3px;
    color: var(--yx-ink);
    white-space: nowrap;
}

.yx-nav-links { display: flex; gap: 2px; flex: 1; min-width: 0; }
.yx-nav-link {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px;
    border-radius: var(--yx-radius-sm);
    font-size: 14px; font-weight: 500;
    color: var(--yx-ink-2);
    transition: all .16s ease;
    white-space: nowrap;
}
.yx-nav-link:hover { color: var(--yx-primary); background: var(--yx-primary-soft); }
.yx-nav-link.active { color: var(--yx-primary); background: var(--yx-primary-soft); font-weight: 600; }

.yx-nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* 用户头像下拉 */
.yx-nav-user { position: relative; }
.yx-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yx-primary), var(--yx-primary-2));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(var(--yx-primary-rgb), .22);
    cursor: pointer;
    transition: transform .15s ease;
}
.yx-avatar:hover { transform: scale(1.05); }

.yx-dropdown {
    position: absolute;
    top: calc(100% + 12px); right: 0;
    min-width: 208px;
    background: #fff;
    border-radius: var(--yx-radius);
    border: 1px solid var(--yx-line-soft);
    box-shadow: var(--yx-shadow-lg);
    padding: 8px;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: all .2s ease;
    z-index: 1200;
}
.yx-nav-user.open .yx-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.yx-dropdown-head {
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--yx-line-soft);
    margin-bottom: 6px;
}
.yx-dropdown-name { font-weight: 700; color: var(--yx-ink); font-size: 14px; }
.yx-dropdown-sub { font-size: 12px; color: var(--yx-ink-4); margin-top: 2px; }

.yx-dropdown-item {
    display: flex; align-items: center; gap: 9px;
    width: 100%;
    padding: 10px 12px;
    border: none; background: none;
    border-radius: var(--yx-radius-sm);
    font-size: 13px; font-weight: 500;
    color: var(--yx-ink-2);
    cursor: pointer;
    transition: all .14s ease;
    text-align: left;
}
.yx-dropdown-item:hover { background: var(--yx-bg); color: var(--yx-primary); }
.yx-dropdown-item svg { width: 15px; height: 15px; opacity: .7; flex-shrink: 0; }
.yx-dropdown-sep { height: 1px; background: var(--yx-line-soft); margin: 6px 8px; }
.yx-dropdown-item.danger { color: var(--yx-danger); }
.yx-dropdown-item.danger:hover { background: var(--yx-danger-soft); }

/* 汉堡 */
.yx-nav-toggle {
    display: none;
    width: 38px; height: 38px;
    border: none; background: transparent;
    border-radius: var(--yx-radius-sm);
    color: var(--yx-ink);
    cursor: pointer;
    align-items: center; justify-content: center;
    flex-shrink: 0;
}
.yx-nav-toggle:hover { background: var(--yx-bg); }

/* 移动端抽屉导航（768 及以下） */
@media (max-width: 768px) {
    .yx-nav-toggle { display: inline-flex; }
    .yx-nav-links {
        position: fixed;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 12px 16px 18px;
        gap: 2px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
        border-bottom: 1px solid var(--yx-line-soft);
        display: none;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .yx-nav-links.open { display: flex; }
    .yx-nav-link { padding: 11px 14px; font-size: 15px; }
}

/*------------------------------------------------------
 * 4. 按钮
 *------------------------------------------------------*/
.yx-btn {
    display: inline-flex;
    align-items: center; justify-content: center; gap: 7px;
    padding: 9px 18px;
    border-radius: var(--yx-radius-sm);
    font-size: 14px; font-weight: 600;
    line-height: 1.5;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .16s ease;
    white-space: nowrap;
    text-decoration: none;
    user-select: none;
}
.yx-btn svg { width: 15px; height: 15px; }
.yx-btn:active { transform: translateY(0) scale(.98); }
.yx-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.yx-btn-primary { background: var(--yx-primary); color: #fff; box-shadow: var(--yx-shadow-primary); }
.yx-btn-primary:hover { background: #3A56D4; color: #fff; transform: translateY(-1px); }

.yx-btn-outline {
    background: #fff;
    color: var(--yx-ink-2);
    border-color: var(--yx-line);
}
.yx-btn-outline:hover { border-color: var(--yx-primary); color: var(--yx-primary); background: var(--yx-primary-soft); }

.yx-btn-ghost { background: transparent; color: var(--yx-ink-2); }
.yx-btn-ghost:hover { background: var(--yx-bg); color: var(--yx-primary); }

.yx-btn-success { background: var(--yx-success); color: #fff; }
.yx-btn-success:hover { background: #1FAF8A; color: #fff; }
.yx-btn-danger { background: var(--yx-danger); color: #fff; }
.yx-btn-danger:hover { background: #E04F4F; color: #fff; }
.yx-btn-warn { background: var(--yx-warning); color: #fff; }
.yx-btn-warn:hover { background: #D48806; color: #fff; }

.yx-btn-sm { padding: 6px 13px; font-size: 13px; border-radius: 7px; }
.yx-btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.yx-btn-lg { padding: 13px 26px; font-size: 15px; }
.yx-btn-block { display: flex; width: 100%; }

/*------------------------------------------------------
 * 5. 卡片
 *------------------------------------------------------*/
.yx-card {
    background: var(--yx-card);
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    box-shadow: var(--yx-shadow);
    padding: 24px;
}
.yx-card + .yx-card { margin-top: 18px; }
.yx-card-hover { transition: all .2s ease; }
.yx-card-hover:hover { box-shadow: var(--yx-shadow-md); transform: translateY(-2px); }

.yx-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--yx-line-soft);
}
.yx-card-title {
    display: flex; align-items: center; gap: 9px;
    margin: 0;
    font-size: 16px; font-weight: 700;
    color: var(--yx-ink);
}
.yx-card-title::before {
    content: '';
    width: 4px; height: 16px;
    border-radius: 2px;
    background: var(--yx-primary);
    flex-shrink: 0;
}
.yx-card-sub { font-size: 13px; color: var(--yx-ink-4); }

/*------------------------------------------------------
 * 6. 表格
 *------------------------------------------------------*/
.yx-table-wrap { overflow-x: auto; border-radius: 0 0 var(--yx-radius) var(--yx-radius); }
.yx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.yx-table th {
    background: #FAFAFA;
    color: var(--yx-ink-2);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .3px;
    text-align: left;
    padding: 12px 16px;
    white-space: nowrap;
    border-bottom: 1px solid var(--yx-line-soft);
}
.yx-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--yx-line-soft);
    color: var(--yx-ink-2);
    vertical-align: middle;
}
.yx-table tbody tr { transition: background .12s ease; }
.yx-table tbody tr:hover { background: rgba(var(--yx-primary-2-rgb), .04); }
.yx-table tbody tr:last-child td { border-bottom: none; }

/* 兼容 layui 分页（TP paginate render 输出） */
.layui-laypage {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 20px;
}
.layui-laypage a, .layui-laypage span {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 32px; height: 32px;
    padding: 0 10px;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--yx-line) !important;
    background: #fff;
    color: var(--yx-ink-3) !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none;
    transition: all .14s ease;
}
.layui-laypage a:hover {
    border-color: var(--yx-primary) !important;
    color: var(--yx-primary) !important;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em,
.layui-laypage .layui-laypage-em {
    background: var(--yx-primary) !important;
    border-radius: var(--radius-sm);
}
.layui-laypage .layui-laypage-curr em { color: #fff !important; }
.layui-laypage .layui-laypage-prev, .layui-laypage .layui-laypage-next { font-size: 13px !important; }
.layui-laypage .layui-laypage-disabled a, .layui-laypage .layui-laypage-disabled {
    color: var(--yx-ink-4) !important; background: var(--yx-bg) !important;
}

/* 兼容旧类（避免遗漏导致样式断裂） */
.card {
    background: var(--yx-card);
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    box-shadow: var(--yx-shadow);
    padding: 24px;
    margin-bottom: 20px;
}
.card-title {
    font-size: 16px; font-weight: 700; color: var(--yx-ink);
    padding-bottom: 14px; margin-bottom: 14px;
    border-bottom: 1px solid var(--yx-line-soft);
}
.card-body { padding: 0; }
.muted { color: var(--yx-ink-4); font-size: 13px; }
.price-tag { color: var(--yx-warning); font-weight: 800; }
.page-body { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 88px var(--yx-side-pad) 56px; }

/* layui 按钮/输入框融入新体系（兼容遗留 HTML） */
.layui-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    height: auto; padding: 8px 16px;
    border-radius: var(--yx-radius-sm) !important;
    background: var(--yx-primary);
    border: none !important; color: #fff !important;
    font-size: 13px !important; font-weight: 600;
    line-height: 1.5 !important;
    cursor: pointer;
    transition: all .16s ease;
}
.layui-btn:hover { background: #2B41D0; color: #fff !important; }
.layui-btn-xs { padding: 5px 10px; font-size: 12px !important; }
.layui-btn-sm { padding: 7px 13px; font-size: 12.5px !important; }
.layui-btn-primary { background: var(--yx-info); }
.layui-btn-normal { background: var(--yx-info); }
.layui-btn-warm { background: var(--yx-warning); }
.layui-btn-danger { background: var(--yx-danger); }
.layui-btn-fluid { width: 100%; display: flex; }

.layui-input, .layui-textarea, .layui-select {
    border: 1px solid var(--yx-line) !important;
    border-radius: var(--yx-radius-sm) !important;
    color: var(--yx-ink) !important;
    background: #fff !important;
    transition: all .18s ease;
}
.layui-input { height: 42px; padding: 0 14px !important; }
.layui-input:focus, .layui-textarea:focus {
    border-color: var(--yx-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--yx-primary-rgb), .12) !important;
}
.layui-table { border-color: var(--yx-line-soft) !important; color: var(--yx-ink-2) !important; }
.layui-table th { background: #FAFAFA; color: var(--yx-ink-2); font-weight: 600; }

/*------------------------------------------------------
 * 7. 表单
 *------------------------------------------------------*/
.yx-field { margin-bottom: 18px; }
.yx-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px; font-weight: 600;
    color: var(--yx-ink-2);
}
.yx-label .yx-req { color: var(--yx-danger); margin-left: 2px; }
.yx-input, .yx-textarea, .yx-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--yx-line);
    border-radius: var(--yx-radius-sm);
    font-size: 14px;
    font-family: inherit;
    color: var(--yx-ink);
    background: #fff;
    outline: none;
    transition: all .18s ease;
    appearance: none; -webkit-appearance: none;
}
.yx-input:focus, .yx-textarea:focus {
    border-color: var(--yx-primary);
    box-shadow: 0 0 0 3px rgba(var(--yx-primary-rgb), .12);
}
.yx-input::placeholder, .yx-textarea::placeholder { color: var(--yx-ink-4); }
.yx-textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.yx-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23BFBFBF' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.yx-hint { font-size: 12.5px; color: var(--yx-ink-4); margin-top: 6px; line-height: 1.6; }
.yx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .yx-form-grid { grid-template-columns: 1fr; } }

/* 输入框组（验证码） */
.yx-input-group { display: flex; gap: 10px; }
.yx-input-group .yx-input { flex: 1; }
.yx-input-group .yx-btn { flex-shrink: 0; }

/* 密码框 + 显示切换 */
.yx-password-wrap { position: relative; }
.yx-password-wrap .yx-input { padding-right: 44px; }
.yx-eye-btn {
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    border: none; background: transparent;
    color: var(--yx-ink-4);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--yx-radius-sm);
    transition: color .15s ease;
}
.yx-eye-btn:hover { color: var(--yx-primary); }
.yx-eye-btn svg { width: 17px; height: 17px; }

/* 密码强度 */
.yx-strength { display: flex; gap: 6px; margin-top: 8px; align-items: center; }
.yx-strength i {
    flex: 1; height: 4px; border-radius: 2px;
    background: var(--yx-line); transition: background .2s ease;
}
.yx-strength-label { font-size: 12px; color: var(--yx-ink-4); min-width: 64px; text-align: right; }
.yx-strength-1 i:nth-child(1) { background: var(--yx-danger); }
.yx-strength-2 i:nth-child(-n+2) { background: var(--yx-warning); }
.yx-strength-3 i:nth-child(-n+3) { background: #73D13D; }
.yx-strength-4 i { background: var(--yx-success); }

/* 复选框行 */
.yx-checks {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 13px; color: var(--yx-ink-2);
    cursor: pointer;
    user-select: none;
}
.yx-checks input[type=checkbox] {
    width: 15px; height: 15px; margin-top: 3px;
    accent-color: var(--yx-primary);
    cursor: pointer; flex-shrink: 0;
}

/*------------------------------------------------------
 * 8. 徽章 & 状态标签
 *------------------------------------------------------*/
.yx-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 11px;
    border-radius: var(--yx-radius-pill);
    font-size: 12px; font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.yx-badge-success { color: #389E0D; background: var(--yx-success-soft); border: 1px solid #B7EB8F; }
.yx-badge-warning { color: #D48806; background: var(--yx-warning-soft); border: 1px solid #FFE58F; }
.yx-badge-danger  { color: #CF1322; background: var(--yx-danger-soft); border: 1px solid #FFA39E; }
.yx-badge-info    { color: var(--yx-primary); background: var(--yx-info-soft); border: 1px solid #ADC6FF; }
.yx-badge-muted   { color: var(--yx-ink-3); background: #F5F5F5; border: 1px solid var(--yx-line-soft); }
.yx-badge-primary { color: var(--yx-primary); background: var(--yx-primary-soft); border: 1px solid #ADC6FF; }
.yx-badge-accent  { color: var(--yx-primary-2); background: var(--yx-accent-soft); border: 1px solid #ADC6FF; }

.yx-status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.yx-status-dot.green { background: var(--yx-success); }
.yx-status-dot.gray { background: var(--yx-line); }
.yx-status-dot.orange { background: var(--yx-warning); }
.yx-status-dot.red { background: var(--yx-danger); }

/*------------------------------------------------------
 * 9. 统计卡片
 *------------------------------------------------------*/
.yx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.yx-stat {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    padding: 20px 16px;
    text-align: center;
    transition: all .3s ease;
}
.yx-stat:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.yx-stat-num { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; }
.yx-stat-label { font-size: 13px; color: #999999; margin-top: 4px; }
.yx-stat-blue { color: var(--yx-info); }
.yx-stat-green { color: var(--yx-success); }
.yx-stat-orange { color: var(--yx-warning); }
.yx-stat-purple { color: var(--yx-primary-2); }
.yx-stat-dark { color: #1A1A2E; }

/*------------------------------------------------------
 * 10. 页面头部（非首页小 hero）
 *------------------------------------------------------*/
.yx-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--yx-radius-lg);
    color: #fff;
    padding: 46px 40px;
    margin-top: 18px;
    margin-bottom: 26px;
    background:
        radial-gradient(700px 260px at 88% -20%, rgba(89, 126, 247, .35), transparent 55%),
        radial-gradient(600px 240px at 0% 120%, rgba(89, 126, 247, .18), transparent 55%),
        linear-gradient(135deg, #14257A 0%, var(--yx-primary) 60%, #597EF7 100%);
    box-shadow: 0 12px 32px rgba(var(--yx-primary-rgb), .22);
}
.yx-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
    pointer-events: none;
}
.yx-hero-inner { position: relative; z-index: 1; }
.yx-hero h1 { margin: 0 0 10px; font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: #fff; }
.yx-hero p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .82); max-width: 640px; line-height: 1.7; }
.yx-hero-sm { padding: 32px 34px; }
.yx-hero-sm h1 { font-size: 22px; }

@media (max-width: 640px) {
    .yx-hero { padding: 30px 22px; }
    .yx-hero h1 { font-size: 21px; }
}

/*------------------------------------------------------
 * 11. 空状态
 *------------------------------------------------------*/
.yx-empty { text-align: center; padding: 48px 20px; color: var(--yx-ink-4); }
.yx-empty-icon { font-size: 52px; line-height: 1; margin-bottom: 14px; }
.yx-empty-title { font-size: 16px; font-weight: 700; color: #333333; margin-bottom: 6px; }
.yx-empty-desc { font-size: 13px; color: #999999; }

/*------------------------------------------------------
 * 12. 面包屑
 *------------------------------------------------------*/
.yx-crumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 20px 0 12px;
    font-size: 13px; color: var(--yx-ink-4);
}
.yx-crumb a { color: var(--yx-ink-3); }
.yx-crumb a:hover { color: var(--yx-primary); }
.yx-crumb i { font-style: normal; opacity: .6; }
.yx-crumb .cur { color: var(--yx-ink); font-weight: 600; }

/*------------------------------------------------------
 * 13. 首页 Hero（全屏）
 *------------------------------------------------------*/
.yx-hero-home {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    display: flex; align-items: center; justify-content: center;
    padding: 110px 20px 84px;
    margin-top: -64px;
    background:
        radial-gradient(ellipse at 18% 8%, rgba(89, 126, 247, .4), transparent 48%),
        radial-gradient(ellipse at 85% 92%, rgba(76, 141, 246, .3), transparent 52%),
        linear-gradient(135deg, #14257A 0%, var(--yx-primary) 60%, #597EF7 100%);
    color: #fff;
}
.yx-hero-home::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 80%);
    pointer-events: none;
}
.yx-hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.yx-hero-orb-1 { width: 380px; height: 380px; background: rgba(89, 126, 247, .3); top: -140px; right: -80px; }
.yx-hero-orb-2 { width: 300px; height: 300px; background: rgba(76, 141, 246, .22); bottom: -120px; left: -80px; }

.yx-hero-home-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; animation: yxFadeUp .6s ease; }
.yx-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    border-radius: var(--yx-radius-pill);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    font-size: 12.5px; font-weight: 500;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 22px;
    letter-spacing: .4px;
}
.yx-hero-badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #73D13D;
    box-shadow: 0 0 0 4px rgba(115, 209, 61, .2);
}
.yx-hero-title {
    font-size: 42px; font-weight: 800;
    line-height: 1.18;
    margin: 0 0 18px;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .16);
}
.yx-hero-title .grad {
    background: linear-gradient(90deg, #fff, #B7C6FF 60%, #fff);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: yxShine 7s linear infinite;
}
.yx-hero-sub {
    font-size: 16px; line-height: 1.75;
    color: rgba(255, 255, 255, .85);
    margin: 0 auto 36px;
    max-width: 620px;
}
.yx-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.yx-hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    border: 1px solid transparent;
}
.yx-hero-btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.yx-hero-btn:hover svg { transform: translateX(3px); }
.yx-hero-btn-primary { background: #fff; color: var(--yx-primary); box-shadow: 0 12px 30px rgba(0, 0, 0, .2); }
.yx-hero-btn-primary:hover { color: var(--yx-primary); background: #F5F5F5; transform: translateY(-2px); }
.yx-hero-btn-ghost {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(8px);
}
.yx-hero-btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .18); }

.yx-hero-trust {
    list-style: none; margin: 0; padding: 0;
    display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
    font-size: 12.5px; color: rgba(255, 255, 255, .82);
}
.yx-hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.yx-hero-trust .ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(115, 209, 61, .22);
    border: 1px solid rgba(115, 209, 61, .45);
    color: #95DE64;
    font-size: 11px; font-weight: 700;
}

@media (max-width: 768px) {
    .yx-hero-title { font-size: 31px; }
    .yx-hero-sub { font-size: 15px; }
    .yx-hero-cta { margin-bottom: 36px; }
}
@media (max-width: 480px) {
    .yx-hero-title { font-size: 26px; }
    .yx-hero-trust { flex-direction: column; gap: 9px; align-items: center; }
    .yx-hero-cta { flex-direction: column; align-items: stretch; }
    .yx-hero-cta .yx-hero-btn { justify-content: center; }
}

/* 数据展示区（三列数字卡片） */
.yx-data-band {
    max-width: var(--yx-container);
    margin: -46px auto 0;
    padding: 0 var(--yx-side-pad);
    position: relative;
    z-index: 5;
}
.yx-data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 768px) { .yx-data-grid { grid-template-columns: 1fr; gap: 12px; } }
.yx-data-card {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    box-shadow: var(--yx-shadow-md);
    padding: 26px 24px;
    display: flex; align-items: center; gap: 18px;
    transition: all .2s ease;
}
.yx-data-card:hover { box-shadow: var(--yx-shadow-lg); transform: translateY(-2px); }
.yx-data-ico {
    width: 50px; height: 50px; border-radius: var(--yx-radius);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}
.yx-data-ico svg { width: 24px; height: 24px; }
.yx-data-num { font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; color: var(--yx-ink); font-variant-numeric: tabular-nums; }
.yx-data-label { font-size: 13px; color: var(--yx-ink-3); margin-top: 2px; }

/*------------------------------------------------------
 * 14. 首页区块
 *------------------------------------------------------*/
.yx-section { max-width: var(--yx-container); margin: 0 auto; padding: 80px var(--yx-side-pad) 0; }
.home-page .yx-section { padding-top: 0; }
.yx-section-head { text-align: center; margin: 60px 0 32px; }
.yx-section-head h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.yx-section-head p { margin: 0; color: var(--yx-ink-3); font-size: 14px; }

.yx-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 52px 0; }
.yx-feature {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 28px 24px;
    text-align: center;
    transition: all .2s ease;
}
.yx-feature:hover { box-shadow: var(--yx-shadow-md); transform: translateY(-3px); border-color: #D6E4FF; }
.yx-feature-icon {
    width: 52px; height: 52px;
    margin: 0 auto 15px;
    border-radius: var(--yx-radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--yx-primary);
}
.yx-feature-icon svg { width: 26px; height: 26px; }
.yx-feature h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; }
.yx-feature p { margin: 0; font-size: 13px; color: var(--yx-ink-3); line-height: 1.7; }
.yx-ico-blue { background: var(--yx-info-soft); }
.yx-ico-green { background: var(--yx-success-soft); }
.yx-ico-orange { background: var(--yx-warning-soft); }
.yx-ico-purple { background: var(--yx-accent-soft); }

/* 应用网格（≥1200 三列，992-1199 两列，<768 单列） */
.yx-app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 60px; }
@media (max-width: 1199px) { .yx-app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .yx-app-grid { grid-template-columns: 1fr; } }
.yx-app-card {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all .2s ease;
}
.yx-app-card:hover { box-shadow: var(--yx-shadow-lg); transform: translateY(-4px); border-color: #D6E4FF; }
.yx-app-card-top { padding: 20px 20px 12px; display: flex; gap: 14px; align-items: center; }
.yx-app-card-logo {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px; font-weight: 800;
    box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12), 0 4px 10px rgba(0, 0, 0, .12);
}
.yx-app-card-info { min-width: 0; flex: 1; }
.yx-app-card-name { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yx-app-card-key { font-size: 11.5px; color: var(--yx-ink-4); font-family: var(--yx-mono); margin-top: 2px; }
.yx-app-card-cats { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 0; }
.yx-chip {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 600;
    color: var(--yx-ink-2);
    background: var(--yx-bg);
    border-radius: var(--yx-radius-pill);
    padding: 2px 9px;
}
.yx-app-card-desc {
    padding: 4px 20px 12px;
    margin: 0;
    font-size: 12.8px; color: var(--yx-ink-3);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.yx-app-card-prices {
    display: flex; gap: 8px; flex-wrap: wrap;
    padding: 10px 20px;
    border-top: 1px dashed var(--yx-line-soft);
    align-items: center;
}
.yx-price-box {
    font-size: 13px;
    color: var(--yx-ink-2);
    background: var(--yx-bg);
    border-radius: var(--radius-sm);
    padding: 3px 10px;
    font-weight: 600;
}
.yx-price-box b { color: var(--yx-warning); font-size: 14.5px; }
.yx-app-card-foot { padding: 14px 20px 18px; display: flex; gap: 10px; }
.yx-app-card-foot .yx-btn { flex: 1; }

/* 公告 */
.yx-notice-list { list-style: none; margin: 0; padding: 0; }
.yx-notice-list li {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--yx-line-soft);
}
.yx-notice-list li:last-child { border-bottom: none; }
.yx-notice-list a {
    color: var(--yx-ink);
    font-size: 13.8px;
    flex: 1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yx-notice-list a:hover { color: var(--yx-primary); }
.yx-notice-list .date { font-size: 12px; color: var(--yx-ink-4); white-space: nowrap; }
.yx-notice-list .flag {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--yx-danger);
    flex-shrink: 0;
}

/* 信任链区（评价） */
.yx-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 991px) { .yx-quotes { grid-template-columns: 1fr; } }
.yx-quote {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 24px;
    display: flex; flex-direction: column; gap: 14px;
    box-shadow: var(--yx-shadow);
}
.yx-quote-text { margin: 0; font-size: 13.5px; color: var(--yx-ink-2); line-height: 1.8; flex: 1; }
.yx-quote-meta { display: flex; align-items: center; gap: 12px; }
.yx-quote-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--yx-primary-soft); color: var(--yx-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.yx-quote-who { font-size: 13px; font-weight: 700; color: var(--yx-ink); }
.yx-quote-role { font-size: 12px; color: var(--yx-ink-4); }

/* 底部行动区 */
.yx-cta-band {
    margin: 80px auto 0;
    max-width: var(--yx-container);
    padding: 0 var(--yx-side-pad);
}
.yx-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--yx-radius-lg);
    background:
        radial-gradient(600px 220px at 90% -30%, rgba(89, 126, 247, .35), transparent 60%),
        linear-gradient(135deg, #14257A 0%, var(--yx-primary) 70%, #597EF7 100%);
    color: #fff;
    padding: 56px 44px;
    text-align: center;
    box-shadow: 0 16px 44px rgba(var(--yx-primary-rgb), .25);
}
.yx-cta-card h2 { margin: 0 0 10px; color: #fff; font-size: 28px; }
.yx-cta-card p { margin: 0 auto 28px; color: rgba(255, 255, 255, .82); max-width: 560px; font-size: 14.5px; }
.yx-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 34px;
    border-radius: var(--radius-sm);
    background: #fff; color: var(--yx-primary);
    font-size: 15px; font-weight: 700;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .2);
    transition: all .2s ease;
}
.yx-cta-btn:hover { transform: translateY(-2px); color: var(--yx-primary); background: #F5F5F5; }

/*------------------------------------------------------
 * 15. 认证页面（登录/注册/找回）
 *------------------------------------------------------*/
.yx-auth-wrap {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 88px 18px 48px;
    background:
        radial-gradient(ellipse at 15% 12%, rgba(var(--yx-primary-2-rgb), .14), transparent 46%),
        radial-gradient(ellipse at 88% 88%, rgba(var(--yx-primary-rgb), .12), transparent 46%),
        var(--yx-bg);
}
.yx-auth-card {
    width: 440px; max-width: 100%;
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius-lg);
    box-shadow: var(--yx-shadow-lg);
    padding: 38px 36px 30px;
    animation: yxFadeUp .5s ease;
}
.yx-auth-logo {
    width: 52px; height: 52px;
    margin: 0 auto 16px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--yx-primary), var(--yx-primary-2));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 23px; font-weight: 800;
    box-shadow: 0 8px 20px rgba(var(--yx-primary-rgb), .3);
}
.yx-auth-title { text-align: center; font-size: 21px; font-weight: 800; margin: 0 0 4px; }
.yx-auth-sub { text-align: center; font-size: 13px; color: var(--yx-ink-4); margin: 0 0 26px; }
.yx-auth-links { text-align: center; margin-top: 18px; font-size: 13px; color: var(--yx-ink-3); }
.yx-auth-links a { font-weight: 600; }
.yx-auth-links .sep { margin: 0 8px; color: var(--yx-line); }
.yx-auth-sep {
    display: flex; align-items: center; gap: 12px;
    margin: 22px 0 4px;
    color: var(--yx-ink-4); font-size: 12px;
}
.yx-auth-sep::before, .yx-auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--yx-line-soft); }
.yx-auth-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 6px; }
.yx-auth-row label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--yx-ink-2); cursor: pointer; user-select: none; }
.yx-auth-row input[type=checkbox] { width: 14px; height: 14px; accent-color: var(--yx-primary); cursor: pointer; }
.yx-auth-row a { font-size: 13px; font-weight: 500; }

/*------------------------------------------------------
 * 16. 用户中心布局
 *------------------------------------------------------*/
.yx-dash { display: flex; gap: 22px; align-items: flex-start; }

.yx-sidebar {
    width: 240px; flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    box-shadow: var(--yx-shadow);
    padding: 12px;
    position: sticky; top: 86px;
}
.yx-sidebar-head {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 8px 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--yx-line-soft);
}
.yx-sidebar-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--yx-primary), var(--yx-primary-2));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700; flex-shrink: 0;
}
.yx-sidebar-name { font-size: 14px; font-weight: 700; color: var(--yx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yx-sidebar-mail { font-size: 12px; color: var(--yx-ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yx-sidebar-item {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 13px;
    margin-bottom: 3px;
    border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 500;
    color: var(--yx-ink-2);
    transition: all .15s ease;
    border: none; background: none; width: 100%; text-align: left; cursor: pointer;
}
.yx-sidebar-item svg { width: 17px; height: 17px; opacity: .75; flex-shrink: 0; }
.yx-sidebar-item:hover { background: var(--yx-bg); color: var(--yx-primary); }
.yx-sidebar-item.active {
    background: var(--yx-primary-soft);
    color: var(--yx-primary);
    font-weight: 700;
}
.yx-sidebar-item.active svg { opacity: 1; }
.yx-sidebar-item.danger { color: var(--yx-danger); }
.yx-sidebar-item.danger:hover { background: var(--yx-danger-soft); color: var(--yx-danger); }

.yx-main { flex: 1; min-width: 0; }

/* 用户中心白色侧边导航 */
.yx-sidebar {
    width: 240px; flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius-lg);
    box-shadow: 0 6px 20px rgba(30, 42, 80, .08);
    padding: 20px 12px 14px;
    position: sticky; top: 84px;
    color: var(--yx-ink);
    min-height: calc(100vh - 120px);
    align-self: flex-start;
}
.yx-sidebar-head { display: flex; align-items: center; gap: 12px; padding: 0 6px 16px; }
.yx-sidebar-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--yx-primary-2), var(--yx-primary));
    border: 2px solid rgba(79, 106, 245, .25);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(79, 106, 245, .25);
}
.yx-sidebar-name { font-size: 15px; font-weight: 700; color: var(--yx-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yx-sidebar-tag {
    display: inline-block; margin-top: 3px; padding: 2px 10px;
    font-size: 12px; line-height: 1.6;
    color: var(--yx-primary); background: var(--yx-primary-soft);
    border-radius: var(--yx-radius-pill);
}
.yx-sidebar-balance {
    background: var(--yx-bg);
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 12px 14px; margin-bottom: 14px;
}
.yx-sidebar-balance-label { font-size: 12px; color: var(--yx-ink-3); }
.yx-sidebar-balance-num { font-size: 20px; font-weight: 800; color: var(--yx-primary); margin-top: 2px; letter-spacing: -.3px; font-family: var(--yx-mono); }
/* 分类标签不再显示文字，仅用分割线分组 */
.yx-sidebar-group { display: none; }
.yx-sidebar-item {
    display: flex; align-items: center; gap: 11px;
    height: 42px; padding: 0 16px;
    margin-bottom: 2px;
    border-radius: var(--yx-radius-sm);
    font-size: 14px; font-weight: 500;
    color: var(--yx-ink-2);
    transition: all .18s ease;
    border: none; background: none; width: 100%; text-align: left; cursor: pointer;
    position: relative;
}
.yx-sidebar-item svg { width: 17px; height: 17px; opacity: .7; flex-shrink: 0; }
.yx-sidebar-item:hover { background: var(--yx-bg); color: var(--yx-primary); }
.yx-sidebar-item.active {
    color: var(--yx-primary); font-weight: 600;
    background: var(--yx-primary-soft);
}
.yx-sidebar-item.active::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 18px;
    border-radius: 0 3px 3px 0;
    background: var(--yx-primary);
}
.yx-sidebar-item.active svg { opacity: 1; }
.yx-sidebar-item.danger { color: rgba(255, 82, 82, .75); margin-top: 4px; }
.yx-sidebar-item.danger:hover { color: #FF5252; background: rgba(255, 82, 82, .1); }
.yx-sidebar-sep { border-top: 1px solid var(--yx-line-soft); margin: 10px 8px; }

/* 用户中心页面头部 */
.yx-page-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.yx-page-title { font-size: 22px; font-weight: 800; color: #1A1A2E; margin: 0; letter-spacing: -.3px; }
.yx-page-sub { font-size: 13px; color: #999999; margin: 4px 0 0; }

/* 用户中心内容面板 */
.yx-panel {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    padding: 22px 24px;
}
.yx-panel + .yx-panel { margin-top: 16px; }

/* 用户中心表格（覆盖全局表样式，符合新设计） */
.yx-main .yx-table th {
    background: #F7F8FA;
    color: #262626;
    font-size: 13px;
    border-bottom: 1px solid #F0F0F0;
}
.yx-main .yx-table td {
    font-size: 14px;
    color: #595959;
    border-bottom: 1px solid #F0F0F0;
}
.yx-main .yx-table tbody tr { transition: background .2s ease; }
.yx-main .yx-table tbody tr:hover { background: #F5F9FF; }

/* 长字段截断 + 悬停完整显示 */
.yx-ellipsis {
    max-width: 100%;
    display: inline-block;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    vertical-align: middle;
}

/* 状态筛选标签 */
.yx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.yx-tab {
    padding: 6px 16px; border-radius: var(--yx-radius-pill);
    font-size: 13px; color: #595959;
    background: #fff; border: 1px solid var(--yx-line);
    cursor: pointer; transition: all .18s ease;
    display: inline-block; text-decoration: none;
}
.yx-tab:hover { color: var(--yx-primary); border-color: var(--yx-primary); text-decoration: none; }
.yx-tab.active { background: var(--yx-primary); border-color: var(--yx-primary); color: #fff; font-weight: 600; }

/* 源码下载卡片网格 */
.yx-src-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.yx-src-card {
    background: #fff; border: 1px solid var(--yx-line-soft);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    padding: 20px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.yx-src-card:hover { box-shadow: var(--yx-shadow-md); transform: translateY(-2px); }
.yx-src-name { font-size: 16px; font-weight: 700; color: var(--yx-ink); margin: 0 0 10px; }
.yx-src-meta { font-size: 12.5px; color: var(--yx-ink-3); margin: 0 0 6px; line-height: 1.6; }
.yx-src-appkey { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.yx-src-copy {
    border: none; background: none; cursor: pointer; padding: 0;
    color: var(--yx-ink-4); transition: color .15s ease;
    display: inline-flex; align-items: center; flex-shrink: 0;
}
.yx-src-copy:hover { color: var(--yx-primary); }
.yx-src-copy svg { width: 15px; height: 15px; }
.yx-src-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--yx-line-soft); display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* 内容区进入过渡 */
@keyframes yxFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.yx-main > * { animation: yxFadeIn .3s ease; }

/* 统计卡片数字递增（由 JS 驱动） */
.yx-stat-num[data-count] { display: inline-block; }

/* 状态标签（底色 pill 风格） */
.yx-status-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; line-height: 1;
    padding: 5px 11px; border-radius: var(--yx-radius-pill);
    white-space: nowrap;
}
.yx-status-label .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.yx-status-label.green { background: #E8F8F2; color: #20C997; }
.yx-status-label.green .dot { background: #20C997; }
.yx-status-label.red { background: #FFEBEE; color: #FF6B6B; }
.yx-status-label.red .dot { background: #FF6B6B; }
.yx-status-label.gray { background: #F5F5F5; color: #999999; }
.yx-status-label.gray .dot { background: #BFBFBF; }
.yx-status-label.orange { background: #FFF3E0; color: #FF9F43; }
.yx-status-label.orange .dot { background: #FF9F43; }
.yx-status-label.blue { background: #E3F0FF; color: #4F6AF5; }
.yx-status-label.blue .dot { background: #4F6AF5; }

/* 表格底部信息 */
.yx-table-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding: 16px 0 4px;
    font-size: 13px; color: var(--yx-ink-3);
}

/* 搜索筛选区 */
.yx-filter {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: #fff; border: 1px solid var(--yx-line-soft);
    border-radius: 8px; padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    margin-bottom: 16px;
}
.yx-filter .yx-filter-input { width: 280px; height: 32px; padding: 0 12px; font-size: 13px; }
.yx-filter .yx-filter-date { width: 150px; height: 32px; padding: 0 12px; font-size: 13px; }
.yx-filter .yx-filter-select { width: 140px; height: 32px; padding: 0 30px 0 10px; font-size: 13px; line-height: 30px; }
.yx-filter .yx-btn { height: 32px; padding: 0 22px; font-size: 13px; line-height: 1; }
.yx-filter-sep { width: 1px; height: 20px; background: var(--yx-line-soft); }
@media (max-width: 767px) {
    .yx-filter { padding: 14px 16px; }
    .yx-filter .yx-filter-input,
    .yx-filter .yx-filter-date,
    .yx-filter .yx-filter-select { width: 100%; }
    .yx-filter .yx-btn { flex: 1; }
}

/* 分页组件 */
.pagination {
    display: flex; align-items: center; gap: 6px;
    margin: 0; padding: 0; list-style: none;
}
.pagination li { display: inline-flex; }
.pagination a, .pagination span {
    min-width: 32px; height: 32px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #D9D9D9; border-radius: 6px;
    font-size: 13px; color: #595959; background: #fff;
    text-decoration: none;
    transition: all .2s ease;
}
.pagination a:hover { border-color: #4F6AF5; color: #4F6AF5; }
.pagination li.active span,
.pagination .active span { background: #4F6AF5; color: #fff; border-color: #4F6AF5; }
.pagination li.disabled span,
.pagination .disabled span { color: #BFBFBF; background: #FAFAFA; cursor: not-allowed; }
.pagination li.disabled a { pointer-events: none; color: #BFBFBF; background: #FAFAFA; }

/* 992-1199px：导航收窄为纯图标栏 */
@media (max-width: 1199px) and (min-width: 992px) {
    .yx-sidebar { width: 64px; padding: 18px 6px 12px; min-height: auto; }
    .yx-sidebar-head, .yx-sidebar-balance, .yx-sidebar-sep { display: none; }
    .yx-sidebar-item { justify-content: center; padding: 0; }
    .yx-sidebar-item svg { width: 19px; height: 19px; }
    .yx-sidebar-item .yx-nav-txt { display: none; }
    .yx-sidebar-item.active::before { left: -4px; }
}

/* 汉堡菜单按钮（默认隐藏，<992px 显示） */
.yx-nav-toggle { display: none; }

/* <992px：导航折叠为汉堡菜单，统计卡片两列 */
@media (max-width: 991px) {
    .yx-dash { flex-direction: column; }
    .yx-nav-toggle {
        display: inline-flex; align-items: center; gap: 10px;
        width: 100%; padding: 11px 16px;
        background: #1A1A2E; color: rgba(255, 255, 255, .85);
        border: none; border-radius: var(--yx-radius);
        font-size: 14px; font-weight: 600; cursor: pointer;
        margin-bottom: 12px;
    }
    .yx-nav-toggle .bars {
        display: inline-block; width: 16px; height: 2px;
        background: #fff; border-radius: 2px;
        box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
        flex-shrink: 0;
    }
    .yx-sidebar { display: none; width: 100%; position: static; }
    .yx-sidebar.open { display: block; }
    .yx-stats { grid-template-columns: repeat(2, 1fr); }
    .yx-src-grid { grid-template-columns: repeat(2, 1fr); }
}

/* <768px：统计卡片单列、源码单列、表格横向滚动 */
@media (max-width: 767px) {
    .yx-stats { grid-template-columns: 1fr; }
    .yx-src-grid { grid-template-columns: 1fr; }
    .yx-main .yx-table-wrap { overflow-x: auto; }
    .yx-main .yx-table { min-width: 760px; }
}

/*------------------------------------------------------
 * 17. 工具类
 *------------------------------------------------------*/
.yx-flex { display: flex; align-items: center; }
.yx-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.yx-flex-between-wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.yx-gap-sm { gap: 8px; }
.yx-gap { gap: 14px; }
.yx-gap-lg { gap: 22px; }
.yx-wrap { flex-wrap: wrap; }
.yx-mt-0 { margin-top: 0; }
.yx-mt-sm { margin-top: 8px; }
.yx-mt { margin-top: 16px; }
.yx-mt-lg { margin-top: 26px; }
.yx-mb-0 { margin-bottom: 0; }
.yx-mb-sm { margin-bottom: 8px; }
.yx-mb { margin-bottom: 16px; }
.yx-mb-lg { margin-bottom: 26px; }
.yx-center { text-align: center; }
.yx-right { text-align: right; }
.yx-text-muted { color: var(--yx-ink-4); }
.yx-text-2 { color: var(--yx-ink-2); }
.yx-text-success { color: var(--yx-success); }
.yx-text-danger { color: var(--yx-danger); }
.yx-text-warn { color: var(--yx-warning); }
.yx-text-primary { color: var(--yx-primary); }
.yx-mono { font-family: var(--yx-mono); }
.yx-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yx-break { word-break: break-all; }
.yx-nowrap { white-space: nowrap; }
.yx-strong { font-weight: 700; }

/* 金额 */
.yx-amount { font-weight: 800; color: var(--yx-warning); font-family: var(--yx-mono); }
.yx-amount-plus { color: var(--yx-success); font-weight: 700; }
.yx-amount-minus { color: var(--yx-danger); font-weight: 700; }

/* 提示条 */
.yx-alert {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 13px 16px;
    border-radius: var(--yx-radius-sm);
    font-size: 13px; line-height: 1.7;
    margin-bottom: 16px;
}
.yx-alert-warn { background: var(--yx-warning-soft); border: 1px solid #FFE58F; color: #874D00; }
.yx-alert-info { background: var(--yx-info-soft); border: 1px solid #ADC6FF; color: #1D39C4; }
.yx-alert-success { background: var(--yx-success-soft); border: 1px solid #B7EB8F; color: #237804; }
.yx-alert-danger { background: var(--yx-danger-soft); border: 1px solid #FFA39E; color: #A8071A; }
.yx-alert code { background: rgba(0,0,0,.06); padding: 1px 7px; border-radius: 5px; font-size: 12px; }

/*------------------------------------------------------
 * 18. 页脚
 *------------------------------------------------------*/
.yx-footer {
    margin-top: 40px;
    background: #101828;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}
.yx-footer-main {
    max-width: var(--yx-container);
    margin: 0 auto;
    padding: 32px var(--yx-side-pad) 22px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 24px;
}
@media (max-width: 768px) { .yx-footer-main { grid-template-columns: 1fr; gap: 22px; padding: 28px var(--yx-side-pad) 18px; } }
.yx-footer-brand { font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 8px; display: flex; align-items: center; gap: 9px; }
.yx-footer-brand .lg {
    width: 28px; height: 28px; border-radius: 7px;
    background: linear-gradient(135deg, var(--yx-primary), var(--yx-primary-2));
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px; font-weight: 800;
}
.yx-footer-desc { margin: 0; line-height: 1.7; max-width: 340px; }
.yx-footer-col h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.yx-footer-col a { display: block; color: rgba(255, 255, 255, .55); line-height: 1.9; }
.yx-footer-col a:hover { color: #fff; }
.yx-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 12px var(--yx-side-pad);
    text-align: center;
    color: rgba(255, 255, 255, .38);
    font-size: 12.5px;
}
.yx-footer-bottom a { color: rgba(255, 255, 255, .55); }
.yx-footer-bottom a:hover { color: #fff; }

/* 兼容旧页脚 */
.front-footer {
    margin-top: 70px;
    padding: 34px 20px;
    background: #101828;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

/*------------------------------------------------------
 * 19. 动画
 *------------------------------------------------------*/
@keyframes yxFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes yxShine { 0% { background-position: 0% 100%; } 100% { background-position: 200% 100%; } }

/*------------------------------------------------------
 * 20. 授权方案页（购买页）
 *------------------------------------------------------*/
.yx-buy-wrap { max-width: var(--yx-container); margin: 0 auto; padding: 88px var(--yx-side-pad) 70px; }

.yx-buy-head { text-align: center; margin-bottom: 22px; }
.yx-buy-head h1 { margin: 0 0 8px; font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.yx-buy-head p { margin: 0; color: var(--yx-ink-3); font-size: 14px; }

.yx-buy-switch { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: thin; }
.yx-buy-switch::-webkit-scrollbar { height: 6px; }
.yx-buy-switch::-webkit-scrollbar-thumb { background: var(--yx-line); border-radius: 3px; }
.yx-buy-switch::-webkit-scrollbar-track { background: transparent; }

.yx-switch-card {
    flex: 0 0 186px;
    background: #fff;
    border: 2px solid var(--yx-line);
    border-radius: var(--yx-radius);
    padding: 14px;
    cursor: pointer;
    text-align: left;
    transition: all .18s ease;
    display: block;
    color: var(--yx-ink);
}
.yx-switch-card:hover { border-color: var(--yx-primary-2); transform: translateY(-2px); box-shadow: var(--yx-shadow-md); }
.yx-switch-card.active {
    border-color: var(--yx-primary);
    background: var(--yx-primary-soft);
    box-shadow: 0 0 0 3px rgba(var(--yx-primary-rgb), .1);
}
.yx-switch-logo {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 800;
    margin-bottom: 9px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .14);
}
.yx-switch-name { font-size: 14.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yx-switch-cat { font-size: 11.5px; color: var(--yx-ink-4); margin-top: 3px; }

.yx-buy-hero {
    position: relative;
    border-radius: var(--yx-radius-lg);
    overflow: hidden;
    color: #fff;
    padding: 28px 30px;
    margin-bottom: 24px;
    display: flex; gap: 24px; align-items: center;
    background:
        radial-gradient(600px 220px at 12% 20%, rgba(89, 126, 247, .35), transparent 60%),
        radial-gradient(520px 240px at 92% 85%, rgba(76, 141, 246, .28), transparent 60%),
        linear-gradient(135deg, #14257A 0%, var(--yx-primary) 60%, #597EF7 100%);
    box-shadow: 0 14px 36px rgba(var(--yx-primary-rgb), .22);
}
.yx-buy-hero-inner { position: relative; display: flex; gap: 22px; align-items: center; flex: 1; min-width: 0; }
.yx-buy-logo {
    flex: 0 0 84px; width: 84px; height: 84px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 38px; font-weight: 800;
    box-shadow: inset 0 -8px 18px rgba(0, 0, 0, .16), 0 8px 20px rgba(0, 0, 0, .18);
}
.yx-buy-name { font-size: 24px; font-weight: 800; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #fff; }
.yx-buy-key { font-family: var(--yx-mono); font-size: 12.5px; opacity: .75; font-weight: 500; background: rgba(255,255,255,.16); padding: 3px 10px; border-radius: 6px; }
.yx-buy-desc { margin: 0; opacity: .88; font-size: 13.8px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yx-buy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.yx-chip-light {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 3px 10px;
    border-radius: var(--yx-radius-pill);
    font-size: 12px;
}
.yx-chip-light .dot { width: 6px; height: 6px; border-radius: 50%; background: #73D13D; display: inline-block; }
.yx-chip-light .dot.warn { background: var(--yx-warning); }
.yx-chip-light .dot.cyan { background: #4C8DF6; }

.yx-buy-section-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 17px; font-weight: 800;
    margin: 28px 0 14px;
}
.yx-buy-section-title::before {
    content: ''; width: 4px; height: 17px; border-radius: 2px;
    background: var(--yx-primary);
}

/* 三列方案卡 */
.yx-pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 991px) { .yx-pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .yx-pkg-grid { grid-template-columns: 1fr; } }

.yx-pkg {
    position: relative;
    background: #fff;
    border: 2px solid var(--yx-line);
    border-radius: var(--yx-radius-lg);
    padding: 26px 22px 22px;
    cursor: pointer;
    transition: all .18s ease;
    display: flex; flex-direction: column;
}
.yx-pkg:hover { border-color: var(--yx-primary-2); transform: translateY(-3px); box-shadow: var(--yx-shadow-md); }
.yx-pkg input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.yx-pkg.active {
    border-color: var(--yx-primary);
    box-shadow: 0 0 0 3px rgba(var(--yx-primary-rgb), .12), var(--yx-shadow-md);
    background: linear-gradient(180deg, #F8FAFF, #fff 40%);
}
.yx-pkg.disabled { opacity: .5; cursor: not-allowed; }
.yx-pkg.disabled:hover { border-color: var(--yx-line); transform: none; box-shadow: none; }
.yx-pkg-tag {
    position: absolute; top: 12px; right: -30px; width: 120px;
    background: var(--yx-primary);
    color: #fff; font-size: 11px; text-align: center;
    padding: 3px 0; transform: rotate(38deg);
    box-shadow: 0 3px 8px rgba(var(--yx-primary-rgb), .35);
    font-weight: 700;
}
.yx-pkg-name { font-size: 15px; color: var(--yx-ink-2); font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.yx-pkg-popular {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    background: var(--yx-primary); color: #fff;
    padding: 2px 9px; border-radius: var(--yx-radius-pill);
}
.yx-pkg-price { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.5px; color: var(--yx-ink); font-variant-numeric: tabular-nums; }
.yx-pkg-price .cur { font-size: 16px; color: var(--yx-ink-3); font-weight: 600; margin-right: 1px; }
.yx-pkg-price .dec { font-size: 16px; color: var(--yx-ink-3); font-weight: 600; }
.yx-pkg-meta { font-size: 12px; color: var(--yx-ink-4); margin-top: 8px; }
.yx-pkg-meta b { color: var(--yx-success); }
.yx-pkg-na { font-size: 19px; color: var(--yx-ink-4); font-weight: 700; }
.yx-pkg-feats { list-style: none; margin: 16px 0 0; padding: 0; flex: 1; }
.yx-pkg-feats li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: var(--yx-ink-2);
    padding: 5px 0;
}
.yx-pkg-feats svg { width: 15px; height: 15px; color: var(--yx-success); flex-shrink: 0; margin-top: 2px; }
.yx-pkg-sub { margin-top: 14px; display: flex; gap: 8px; }
.yx-pkg-sub button {
    flex: 1;
    padding: 7px 0;
    border: 1px solid var(--yx-line);
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: 12.5px; font-weight: 600;
    color: var(--yx-ink-2);
    cursor: pointer;
    transition: all .15s ease;
}
.yx-pkg-sub button:hover { border-color: var(--yx-primary-2); color: var(--yx-primary); }
.yx-pkg-sub button.active { border-color: var(--yx-primary); background: var(--yx-primary-soft); color: var(--yx-primary); }
.yx-pkg-foot { margin-top: 16px; }
.yx-pkg-foot .yx-btn { width: 100%; }

/* 对比表 */
.yx-compare-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--yx-line-soft); border-radius: var(--yx-radius); box-shadow: var(--yx-shadow); }
.yx-compare { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
.yx-compare th, .yx-compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--yx-line-soft); }
.yx-compare th { background: #FAFAFA; font-weight: 700; color: var(--yx-ink-2); }
.yx-compare th:first-child, .yx-compare td:first-child { text-align: left; color: var(--yx-ink-2); }
.yx-compare tr:last-child th, .yx-compare tr:last-child td { border-bottom: none; }
.yx-compare .yes { color: var(--yx-success); font-weight: 700; }
.yx-compare .no { color: var(--yx-line); }

/* FAQ */
.yx-faq { display: flex; flex-direction: column; gap: 10px; }
.yx-faq-item {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    box-shadow: var(--yx-shadow);
    overflow: hidden;
}
.yx-faq-item summary {
    list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 16px 20px;
    font-size: 14px; font-weight: 600;
    color: var(--yx-ink);
    cursor: pointer;
    user-select: none;
    transition: color .15s ease;
}
.yx-faq-item summary::-webkit-details-marker { display: none; }
.yx-faq-item summary:hover { color: var(--yx-primary); }
.yx-faq-item summary::after {
    content: '+';
    font-size: 18px; font-weight: 400; color: var(--yx-ink-4);
    transition: transform .2s ease;
}
.yx-faq-item[open] summary::after { transform: rotate(45deg); color: var(--yx-primary); }
.yx-faq-body { padding: 0 20px 18px; font-size: 13.5px; color: var(--yx-ink-2); line-height: 1.8; }

/* 订单面板 */
.yx-order-panel {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--yx-shadow);
}
.yx-order-rows { margin-top: 6px; }
.yx-order-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px dashed var(--yx-line-soft);
    font-size: 13.8px;
}
.yx-order-row:last-of-type { border-bottom: none; }
.yx-order-row .lbl { color: var(--yx-ink-3); }
.yx-order-row .val { color: var(--yx-ink); font-weight: 600; text-align: right; }

.yx-order-total {
    display: flex; align-items: baseline; justify-content: space-between;
    background: linear-gradient(135deg, #14257A, var(--yx-primary));
    color: #fff;
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-top: 14px;
}
.yx-order-total .lbl { font-size: 14px; opacity: .85; }
.yx-order-total .val { font-size: 26px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

.yx-pay-methods { display: flex; gap: 10px; }
.yx-pay-opt {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 11px 10px;
    border: 2px solid var(--yx-line);
    border-radius: var(--yx-radius-sm);
    cursor: pointer;
    font-size: 13.8px; font-weight: 600;
    color: var(--yx-ink-3);
    transition: all .18s ease;
    background: #fff;
    position: relative;
}
.yx-pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.yx-pay-opt:hover { border-color: var(--yx-primary-2); }
.yx-pay-opt.active {
    border-color: var(--yx-primary);
    background: var(--yx-primary-soft);
    color: var(--yx-primary);
    box-shadow: 0 0 0 3px rgba(var(--yx-primary-rgb), .1);
}
.yx-pay-ico { width: 20px; height: 20px; border-radius: 5px; display: inline-block; background-size: contain; background-position: center; background-repeat: no-repeat; }
.yx-pay-opt[data-method=alipay] .yx-pay-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='5' fill='%231677ff'/%3E%3Ctext x='12' y='17' text-anchor='middle' fill='%23fff' font-size='14' font-weight='bold' font-family='Arial'%3E支%3C/text%3E%3C/svg%3E"); }
.yx-pay-opt[data-method=wxpay] .yx-pay-ico { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='5' fill='%2307C160'/%3E%3Cpath fill='%23fff' d='M18.5 11c0-3.1-2.9-5.6-6.5-5.6S5.5 7.9 5.5 11c0 3.1 2.9 5.6 6.5 5.6.7 0 1.4-.1 2.1-.3l1.9.7-.4-1.3c1.5-.9 2.6-2.4 2.6-3.9 0-.4 0-.8-.1-1.2zm-6.5-2.4c-.5 0-.9-.4-.9-.9s.4-.9.9-.9.9.4.9.9-.4.9-.9.9zm3.9 0c-.5 0-.9-.4-.9-.9s.4-.9.9-.9.9.4.9.9-.4.9-.9.9z'/%3E%3C/svg%3E"); }

.yx-buy-btn {
    width: 100%; height: 48px;
    border: none; border-radius: var(--radius-sm);
    background: var(--yx-primary);
    color: #fff; font-size: 16px; font-weight: 700;
    cursor: pointer; margin-top: 16px;
    transition: all .16s ease;
    box-shadow: var(--yx-shadow-primary);
    letter-spacing: 2px;
}
.yx-buy-btn:hover { transform: translateY(-1px); background: #2B41D0; }
.yx-buy-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.yx-buy-tips {
    margin-top: 16px;
    padding: 13px 16px;
    background: var(--yx-bg);
    border-radius: var(--yx-radius-sm);
    font-size: 12.5px;
    color: var(--yx-ink-2);
    line-height: 1.8;
}
.yx-buy-tips i { color: var(--yx-warning); margin-right: 5px; font-style: normal; }

.yx-features-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
@media (max-width: 991px) { .yx-features-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .yx-features-row { grid-template-columns: 1fr; } }
.yx-mini-feature {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 18px 14px;
    text-align: center;
    transition: all .2s ease;
}
.yx-mini-feature:hover { box-shadow: var(--yx-shadow-md); transform: translateY(-2px); }
.yx-mini-feature .ico {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; margin-bottom: 9px;
}
.yx-mini-feature .ico svg { width: 20px; height: 20px; }
.yx-mini-feature h4 { font-size: 13.5px; margin: 0 0 4px; font-weight: 700; }
.yx-mini-feature p { font-size: 12px; color: var(--yx-ink-4); margin: 0; line-height: 1.5; }

/*------------------------------------------------------
 * 21. 正版查询
 *------------------------------------------------------*/
.yx-check-search {
    display: flex; gap: 10px;
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 18px;
    box-shadow: var(--yx-shadow);
}
.yx-check-search input { flex: 1; height: 44px; }
.yx-check-search .yx-btn { flex-shrink: 0; height: 44px; }

.yx-result-ok, .yx-result-fail {
    border-radius: var(--yx-radius);
    padding: 26px 20px;
    text-align: center;
    margin-top: 18px;
}
.yx-result-ok { background: var(--yx-success-soft); border: 1px solid #B7EB8F; }
.yx-result-fail { background: var(--yx-danger-soft); border: 1px solid #FFA39E; }
.yx-result-icon { font-size: 40px; line-height: 1; }
.yx-result-title { font-size: 19px; font-weight: 800; margin-top: 10px; }
.yx-result-ok .yx-result-title { color: #389E0D; }
.yx-result-fail .yx-result-title { color: #CF1322; }
.yx-result-desc { font-size: 13.5px; margin-top: 8px; color: var(--yx-ink-3); }

.yx-license-item {
    background: #fff;
    border: 1px solid var(--yx-line-soft);
    border-radius: var(--yx-radius);
    padding: 18px 20px;
    margin-top: 14px;
    box-shadow: var(--yx-shadow);
}
.yx-license-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.yx-license-app { font-size: 16px; font-weight: 700; }
.yx-license-app .key { font-size: 11.5px; color: var(--yx-ink-4); font-weight: 500; font-family: var(--yx-mono); margin-left: 6px; }
.yx-license-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; margin-top: 14px; }
.yx-license-row .k { font-size: 12px; color: var(--yx-ink-4); }
.yx-license-row .v { font-size: 13.5px; font-weight: 600; color: var(--yx-ink-2); word-break: break-all; }

/*------------------------------------------------------
 * 22. layer 弹窗内容统一
 *------------------------------------------------------*/
.yx-modal-body { padding: 22px 24px; font-size: 13.5px; color: var(--yx-ink-2); line-height: 1.8; }
.yx-modal-label { font-size: 12.5px; color: var(--yx-ink-4); margin-bottom: 5px; }
.yx-modal-code {
    background: #0F172A; color: #A5F3FC;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    font-family: var(--yx-mono);
    font-size: 13px;
    letter-spacing: .5px;
    word-break: break-all;
    line-height: 1.7;
    margin: 8px 0 4px;
}
