@charset "utf-8";
/* ============================================================
   软件源码商城系统 (cx) —— 前台设计系统
   风格：浅色科技风  主色 #4F46E5
   说明：本文件为前台全部页面的唯一样式来源，模板内不再写业务样式
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
    --c-brand:        #4F46E5;
    --c-brand-dark:   #4338CA;
    --c-brand-deep:   #3730A3;
    --c-brand-50:     #EEF2FF;
    --c-brand-100:    #E0E7FF;
    --c-accent:       #0EA5E9;
    --c-accent-50:    #ECFEFF;

    --c-text:         #0F172A;
    --c-text-2:       #475569;
    --c-text-3:       #94A3B8;
    --c-text-inv:     #FFFFFF;

    --c-bg:           #F8FAFC;
    --c-bg-2:         #F1F5F9;
    --c-surface:      #FFFFFF;
    --c-border:       #E2E8F0;
    --c-border-2:     #CBD5E1;

    --c-price:        #DC2626;
    --c-success:      #16A34A;
    --c-success-50:   #F0FDF4;
    --c-warning:      #D97706;
    --c-warning-50:   #FFFBEB;
    --c-danger:       #DC2626;
    --c-danger-50:    #FEF2F2;
    --c-info:         #0284C7;
    --c-info-50:      #F0F9FF;

    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-full: 999px;

    --sh-xs: 0 1px 2px rgba(15, 23, 42, .04);
    --sh-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
    --sh-md: 0 4px 16px rgba(15, 23, 42, .08);
    --sh-lg: 0 12px 32px rgba(15, 23, 42, .12);

    --f-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
              "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-sans);
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
}
a { color: var(--c-text-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--c-brand); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
code, kbd, pre { font-family: var(--f-mono); }
h1, h2, h3, h4, h5 { font-weight: 600; line-height: 1.4; color: var(--c-text); }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
::selection { background: var(--c-brand-100); color: var(--c-brand-deep); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg-2); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: var(--r-full); border: 2px solid var(--c-bg-2); }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ---------- 3. 布局 ---------- */
.wrap { width: 1200px; max-width: calc(100% - 32px); margin: 0 auto; }
.clearfix::after { content: ''; display: block; clear: both; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; }
.flex-1 { flex: 1; min-width: 0; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.text-2 { color: var(--c-text-2); }
.text-3 { color: var(--c-text-3); }
.text-brand { color: var(--c-brand); }
.text-price { color: var(--c-price); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.f-12 { font-size: 12px; } .f-13 { font-size: 13px; } .f-16 { font-size: 16px; } .f-18 { font-size: 18px; }
.fw-5 { font-weight: 500; } .fw-6 { font-weight: 600; }
.mono { font-family: var(--f-mono); }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hidden { display: none !important; }

/* ---------- 4. 卡片 / 面板 ---------- */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xs);
}
.card-pad { padding: 20px 24px; }
.card-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 24px; border-bottom: 1px solid var(--c-border);
}
.card-head h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.card-head h3::before {
    content: ''; width: 3px; height: 15px; border-radius: 2px; background: var(--c-brand);
}
.card-body { padding: 20px 24px; }
.panel { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.panel-pad { padding: 20px; }

/* 分节标题 */
.sec-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 16px;
}
.sec-title { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.sec-title::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--c-brand); }
.sec-sub { font-size: 12px; color: var(--c-text-3); margin-left: 4px; font-weight: 400; }
.sec-more { font-size: 13px; color: var(--c-text-3); }
.sec-more:hover { color: var(--c-brand); }

/* ---------- 5. 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 36px; padding: 0 18px;
    font-size: 13px; font-weight: 500; line-height: 1;
    border: 1px solid transparent; border-radius: var(--r-sm);
    background: var(--c-bg-2); color: var(--c-text-2);
    cursor: pointer; white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s, transform .05s;
}
.btn:hover { background: #E2E8F0; color: var(--c-text); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-brand); color: #fff; }
.btn-primary:hover { background: var(--c-brand-dark); color: #fff; }
.btn-outline { background: #fff; border-color: var(--c-border-2); color: var(--c-text-2); }
.btn-outline:hover { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-brand-50); }
.btn-brand-outline { background: #fff; border-color: var(--c-brand); color: var(--c-brand); }
.btn-brand-outline:hover { background: var(--c-brand-50); }
.btn-success { background: var(--c-success); color: #fff; }
.btn-success:hover { background: #15803D; color: #fff; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-danger-outline { background: #fff; border-color: #FCA5A5; color: var(--c-danger); }
.btn-danger-outline:hover { background: var(--c-danger-50); }
.btn-warning { background: var(--c-warning); color: #fff; }
.btn-warning:hover { background: #B45309; color: #fff; }
.btn-link { background: none; height: auto; padding: 0; color: var(--c-brand); }
.btn-link:hover { background: none; color: var(--c-brand-dark); text-decoration: underline; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 46px; padding: 0 32px; font-size: 15px; }
.btn-xl { height: 52px; padding: 0 40px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled {
    background: var(--c-bg-2); color: var(--c-text-3); cursor: not-allowed; border-color: transparent;
}
.btn[disabled]:hover, .btn.is-disabled:hover { background: var(--c-bg-2); color: var(--c-text-3); transform: none; }

/* ---------- 6. 表单 ---------- */
.form-item { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 500; color: var(--c-text-2); }
.form-label .req { color: var(--c-danger); margin-left: 2px; }
.input, .select, .textarea {
    width: 100%; height: 40px; padding: 0 13px;
    background: #fff; border: 1px solid var(--c-border-2); border-radius: var(--r-sm);
    font-size: 14px; transition: border-color .15s, box-shadow .15s;
    outline: none;
}
.textarea { height: auto; min-height: 90px; padding: 10px 13px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
.input::placeholder, .textarea::placeholder { color: var(--c-text-3); }
.select {
    appearance: none; cursor: pointer; padding-right: 34px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' fill='none' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 13px center;
}
.input-lg { height: 46px; font-size: 15px; }
.input-icon { position: relative; }
.input-icon .input { padding-left: 40px; }
.input-icon > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--c-text-3); fill: none; stroke-width: 1.6; }
.form-tip { margin-top: 6px; font-size: 12px; color: var(--c-text-3); }
.form-error { margin-top: 6px; font-size: 12px; color: var(--c-danger); }
.form-row { display: flex; gap: 16px; }
.form-row > * { flex: 1; min-width: 0; }
.input-group { display: flex; gap: 10px; align-items: stretch; }
.input-group .input { flex: 1; }

/* 单选卡片（支付方式） */
.radio-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border: 1px solid var(--c-border-2); border-radius: var(--r-md);
    cursor: pointer; transition: all .15s; background: #fff;
}
.radio-card:hover { border-color: var(--c-brand); }
.radio-card input[type=radio] { accent-color: var(--c-brand); width: 16px; height: 16px; margin: 0; }
.radio-card.is-checked { border-color: var(--c-brand); background: var(--c-brand-50); box-shadow: 0 0 0 3px rgba(79,70,229,.08); }
.radio-card .rc-name { font-size: 14px; font-weight: 500; }
.radio-card .rc-desc { font-size: 12px; color: var(--c-text-3); }
.radio-card .rc-icon { width: 32px; height: 32px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; background: var(--c-bg-2); }

/* 金额快捷 */
.amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.amount-item {
    padding: 12px 8px; text-align: center; border: 1px solid var(--c-border-2);
    border-radius: var(--r-md); cursor: pointer; transition: all .15s; background: #fff;
}
.amount-item:hover { border-color: var(--c-brand); }
.amount-item.is-active { border-color: var(--c-brand); background: var(--c-brand-50); color: var(--c-brand); box-shadow: 0 0 0 3px rgba(79,70,229,.08); }
.amount-item .ai-v { font-size: 16px; font-weight: 600; }
.amount-item .ai-t { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.amount-item.is-active .ai-t { color: var(--c-brand); }

/* ---------- 7. 标签 / 徽标 ---------- */
.tag {
    display: inline-flex; align-items: center; gap: 4px;
    height: 22px; padding: 0 8px; border-radius: var(--r-xs);
    font-size: 12px; line-height: 1; background: var(--c-bg-2); color: var(--c-text-2);
}
.tag-brand { background: var(--c-brand-50); color: var(--c-brand); }
.tag-success { background: var(--c-success-50); color: var(--c-success); }
.tag-warning { background: var(--c-warning-50); color: var(--c-warning); }
.tag-danger { background: var(--c-danger-50); color: var(--c-danger); }
.tag-info { background: var(--c-info-50); color: var(--c-info); }
.tag-accent { background: var(--c-accent-50); color: #0E7490; }
.tag-lg { height: 26px; padding: 0 10px; font-size: 13px; }
.tag-solid { background: var(--c-brand); color: #fff; }
.tag-free { background: var(--c-success); color: #fff; }
.tag-free-lg { height: 28px; padding: 0 12px; font-size: 14px; background: var(--c-success); color: #fff; border-radius: var(--r-sm); }

/* 技术栈标签组 */
.tech-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tech-tag {
    display: inline-block; padding: 2px 7px; border-radius: var(--r-xs);
    font-family: var(--f-mono); font-size: 11px; line-height: 1.5;
    background: var(--c-bg-2); color: var(--c-text-2); border: 1px solid transparent;
}
.tech-tag:hover { border-color: var(--c-brand-100); color: var(--c-brand); }
.tech-list-lg .tech-tag { padding: 4px 10px; font-size: 12px; }

/* 角标 */
.ribbon {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    height: 22px; padding: 0 9px; border-radius: var(--r-xs);
    font-size: 12px; line-height: 22px; color: #fff; background: var(--c-brand);
}
.ribbon-hot { background: var(--c-price); }
.ribbon-free { background: var(--c-success); }

/* ---------- 8. 提示条 ---------- */
.alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px; border-radius: var(--r-md); font-size: 13px;
    border: 1px solid transparent; margin-bottom: 16px;
}
.alert svg { width: 16px; height: 16px; flex: none; margin-top: 2px; stroke-width: 1.8; fill: none; }
.alert-success { background: var(--c-success-50); border-color: #BBF7D0; color: #166534; }
.alert-success svg { stroke: #16A34A; }
.alert-error { background: var(--c-danger-50); border-color: #FECACA; color: #991B1B; }
.alert-error svg { stroke: #DC2626; }
.alert-info { background: var(--c-info-50); border-color: #BAE6FD; color: #075985; }
.alert-info svg { stroke: #0284C7; }
.alert-warning { background: var(--c-warning-50); border-color: #FDE68A; color: #92400E; }
.alert-warning svg { stroke: #D97706; }

/* ---------- 9. 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
    padding: 12px 14px; text-align: left; font-weight: 500; white-space: nowrap;
    background: var(--c-bg-2); color: var(--c-text-2); border-bottom: 1px solid var(--c-border);
}
.table th:first-child { border-top-left-radius: var(--r-sm); }
.table th:last-child { border-top-right-radius: var(--r-sm); }
.table td { padding: 14px; border-bottom: 1px solid var(--c-border); color: var(--c-text-2); vertical-align: middle; }
.table tbody tr:hover td { background: #FCFDFE; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .td-strong { color: var(--c-text); font-weight: 500; }
.table-wrap { overflow-x: auto; }

/* ---------- 10. 分页（兼容 ThinkPHP 默认 paginator 输出） ---------- */
.page-wrap { display: flex; justify-content: center; margin-top: 28px; }
ul.pagination { display: flex; flex-wrap: wrap; gap: 6px; }
ul.pagination > li { }
ul.pagination > li > a,
ul.pagination > li > span {
    display: flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 10px;
    background: #fff; border: 1px solid var(--c-border-2); border-radius: var(--r-sm);
    font-size: 13px; color: var(--c-text-2); transition: all .15s;
}
ul.pagination > li > a:hover { border-color: var(--c-brand); color: var(--c-brand); background: var(--c-brand-50); }
ul.pagination > li.active > span { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
ul.pagination > li.disabled > span { color: var(--c-text-3); background: var(--c-bg-2); border-color: var(--c-border); }

/* ---------- 11. 空态 ---------- */
.empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 64px 20px; text-align: center; color: var(--c-text-3);
}
.empty svg { width: 56px; height: 56px; stroke: #CBD5E1; fill: none; stroke-width: 1.2; margin-bottom: 16px; }
.empty .empty-t { font-size: 14px; color: var(--c-text-2); margin-bottom: 6px; }
.empty .empty-d { font-size: 13px; margin-bottom: 18px; }

/* ---------- 12. 面包屑 ---------- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--c-text-3); padding: 16px 0; flex-wrap: wrap; }
.crumb a { color: var(--c-text-3); }
.crumb a:hover { color: var(--c-brand); }
.crumb .sep { color: #CBD5E1; }
.crumb .cur { color: var(--c-text-2); }

/* ---------- 13. 顶栏 / 头部 / 导航 ---------- */
.topbar { background: #0F172A; color: #94A3B8; font-size: 12px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar a { color: #94A3B8; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; align-items: center; gap: 10px; }
.topbar .tb-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ADE80; }
.topbar .tb-right { display: flex; align-items: center; gap: 16px; }
.topbar .tb-right .divider { width: 1px; height: 11px; background: #334155; }

.header { background: #fff; border-bottom: 1px solid var(--c-border); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
    width: 38px; height: 38px; border-radius: var(--r-md);
    background: var(--c-brand); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-mono); font-size: 15px; font-weight: 600; letter-spacing: -.5px;
}
.logo-text { font-size: 19px; font-weight: 600; color: var(--c-text); line-height: 1.2; }
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--c-text-3); letter-spacing: .5px; }
.logo:hover .logo-text { color: var(--c-brand); }

.search { flex: 1; max-width: 620px; }
.search-box { display: flex; border: 1.5px solid var(--c-brand); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.search-box input {
    flex: 1; height: 42px; padding: 0 16px; border: 0; outline: none; font-size: 14px;
}
.search-box input::placeholder { color: var(--c-text-3); }
.search-box button {
    width: 88px; background: var(--c-brand); color: #fff; font-size: 14px; font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.search-box button:hover { background: var(--c-brand-dark); }
.search-box button svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2; }
.search-hot { margin-top: 7px; font-size: 12px; color: var(--c-text-3); display: flex; gap: 12px; }
.search-hot a { color: var(--c-text-3); }
.search-hot a:hover { color: var(--c-brand); }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.ha-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--c-text-2); }
.ha-item:hover { color: var(--c-brand); }
.ha-item svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.ha-user { display: flex; align-items: center; gap: 8px; padding-left: 12px; border-left: 1px solid var(--c-border); }
.avatar {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
    background: var(--c-brand-50); color: var(--c-brand);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600; flex: none;
}
.avatar-lg { width: 64px; height: 64px; font-size: 24px; }
.avatar-sm { width: 26px; height: 26px; font-size: 12px; }

.nav { background: #fff; border-bottom: 1px solid var(--c-border); position: relative; z-index: 50; }
.nav .wrap { display: flex; align-items: center; gap: 4px; height: 50px; }
.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 6px; height: 50px; padding: 0 18px;
    font-size: 14px; font-weight: 500; color: var(--c-text-2);
    border-bottom: 2px solid transparent;
}
.nav-link:hover { color: var(--c-brand); }
.nav-link.is-active { color: var(--c-brand); border-bottom-color: var(--c-brand); }
.nav-link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .15s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.nav-drop {
    position: absolute; top: 50px; left: 0; min-width: 480px;
    background: #fff; border: 1px solid var(--c-border); border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--sh-md); padding: 18px 20px; display: none;
}
.nav-item:hover .nav-drop { display: block; }
.nav-drop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; }
.nav-drop a { display: block; padding: 7px 10px; border-radius: var(--r-sm); font-size: 13px; }
.nav-drop a:hover { background: var(--c-brand-50); color: var(--c-brand); }

/* ---------- 14. 首页 Hero ---------- */
.hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 45%, #312E81 100%);
    padding: 52px 0 56px; position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; right: -80px; top: -80px;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.35) 0%, rgba(79,70,229,0) 68%);
}
.hero .wrap { position: relative; z-index: 2; display: flex; gap: 48px; align-items: center; }
.hero-main { flex: 1; min-width: 0; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    height: 26px; padding: 0 12px; border-radius: var(--r-full);
    background: rgba(129, 140, 248, .16); color: #C7D2FE;
    font-size: 12px; margin-bottom: 18px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; }
.hero h1 { font-size: 38px; line-height: 1.28; color: #fff; margin-bottom: 14px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: #A5B4FC; }
.hero p { font-size: 15px; color: #94A3B8; line-height: 1.8; max-width: 560px; margin-bottom: 24px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-btns .btn-lg { height: 46px; }
.btn-on-dark { background: #fff; color: #0F172A; }
.btn-on-dark:hover { background: #E2E8F0; color: #0F172A; }
.btn-ghost-dark { background: rgba(255,255,255,.08); color: #E2E8F0; border: 1px solid rgba(255,255,255,.18); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.16); color: #fff; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags span {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px; border-radius: var(--r-full);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    font-size: 12px; color: #CBD5E1; font-family: var(--f-mono);
}
.hero-side { width: 380px; flex: none; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-lg); padding: 16px 18px;
}
.hero-stat .hs-v { font-size: 24px; font-weight: 600; color: #fff; line-height: 1.2; }
.hero-stat .hs-v small { font-size: 13px; font-weight: 400; color: #818CF8; margin-left: 3px; }
.hero-stat .hs-k { font-size: 12px; color: #94A3B8; margin-top: 4px; }

/* ---------- 15. 优势条 ---------- */
.feature-bar {
    background: #fff; border-bottom: 1px solid var(--c-border);
}
.feature-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item {
    display: flex; align-items: center; gap: 12px; padding: 20px 8px;
    border-right: 1px solid var(--c-border);
}
.feature-item:last-child { border-right: 0; }
.feature-item .fi-icon {
    width: 38px; height: 38px; border-radius: var(--r-md); flex: none;
    background: var(--c-brand-50); display: flex; align-items: center; justify-content: center;
}
.feature-item .fi-icon svg { width: 19px; height: 19px; stroke: var(--c-brand); fill: none; stroke-width: 1.7; }
.feature-item .fi-t { font-size: 14px; font-weight: 500; }
.feature-item .fi-d { font-size: 12px; color: var(--c-text-3); }

/* ---------- 16. 分类卡片 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
    display: block; padding: 20px 16px; text-align: center;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    transition: all .2s;
}
.cat-card:hover { border-color: var(--c-brand); box-shadow: var(--sh-md); transform: translateY(-3px); }
.cat-card .cc-icon {
    width: 46px; height: 46px; margin: 0 auto 12px; border-radius: var(--r-md);
    background: var(--c-brand-50); display: flex; align-items: center; justify-content: center;
}
.cat-card .cc-icon svg { width: 23px; height: 23px; stroke: var(--c-brand); fill: none; stroke-width: 1.6; }
.cat-card .cc-name { font-size: 14px; font-weight: 500; color: var(--c-text); margin-bottom: 4px; }
.cat-card .cc-desc { font-size: 12px; color: var(--c-text-3); line-height: 1.5; height: 36px; overflow: hidden; }
.cat-card .cc-count {
    display: inline-block; margin-top: 10px; font-size: 12px; color: var(--c-text-3);
    padding: 2px 9px; background: var(--c-bg-2); border-radius: var(--r-full);
}
.cat-card:hover .cc-count { background: var(--c-brand-50); color: var(--c-brand); }

/* ---------- 17. 商品卡片 ---------- */
.goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.goods-grid-3 { grid-template-columns: repeat(3, 1fr); }
.goods-grid-5 { grid-template-columns: repeat(5, 1fr); }

.goods-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; transition: all .2s; position: relative;
}
.goods-card:hover { border-color: #C7D2FE; box-shadow: var(--sh-md); transform: translateY(-3px); }
.goods-thumb {
    position: relative; height: 150px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-brand-50);
}
.goods-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* 无图占位：统一的代码图标 + 主题底色（可被任意缩略图容器复用） */
.gt-code {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--f-mono); letter-spacing: -.5px;
    color: var(--c-brand); opacity: .40; text-align: center;
}
.gt-code svg { width: 2.4em; height: 2.4em; }
.goods-thumb .gt-code { font-size: 20px; }
.lic-thumb .gt-code { font-size: 18px; }
.gt-brand { background: var(--c-brand-50); }
.gt-brand .gt-code { color: #4F46E5; }
.gt-accent { background: var(--c-accent-50); }
.gt-accent .gt-code { color: #0E7490; }
.gt-green { background: #F0FDF4; }
.gt-green .gt-code { color: #15803D; }
.gt-amber { background: #FFFBEB; }
.gt-amber .gt-code { color: #B45309; }
.gt-rose { background: #FFF1F2; }
.gt-rose .gt-code { color: #BE123C; }
.gt-slate { background: #F1F5F9; }
.gt-slate .gt-code { color: #475569; }

.goods-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.goods-name { font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--c-text); height: 42px; margin-bottom: 8px; }
.goods-card:hover .goods-name { color: var(--c-brand); }
.goods-sub { font-size: 12px; color: var(--c-text-3); line-height: 1.5; height: 36px; margin-bottom: 10px; }
.goods-tech { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; height: 21px; overflow: hidden; }
.goods-foot {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--c-border);
}
.goods-price { display: flex; align-items: baseline; gap: 6px; }
.goods-price .gp-now { font-size: 19px; font-weight: 600; color: var(--c-price); line-height: 1; }
.goods-price .gp-now small { font-size: 13px; margin-right: 1px; }
.goods-price .gp-old { font-size: 12px; color: var(--c-text-3); text-decoration: line-through; }
.goods-price .gp-free { font-size: 17px; font-weight: 600; color: var(--c-success); line-height: 1; }
.goods-price .gp-plan { font-size: 12px; color: var(--c-text-3); line-height: 1; }
.goods-price .gp-pending { font-size: 14px; color: var(--c-text-3); line-height: 1; }
.goods-meta { font-size: 12px; color: var(--c-text-3); text-align: right; line-height: 1.5; }
.goods-meta b { font-weight: 500; color: var(--c-text-2); }

/* 商品横向卡（列表模式） */
.goods-row {
    display: flex; gap: 18px; padding: 18px;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    transition: all .2s; position: relative;
}
.goods-row:hover { border-color: #C7D2FE; box-shadow: var(--sh-md); }
.goods-row .gr-thumb {
    width: 200px; height: 132px; flex: none; border-radius: var(--r-md); overflow: hidden;
    display: flex; align-items: center; justify-content: center; background: var(--c-brand-50);
}
.goods-row .gr-thumb .gt-code { font-size: 17px; }
.goods-row .gr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.goods-row .gr-name { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.goods-row:hover .gr-name { color: var(--c-brand); }
.goods-row .gr-sub { font-size: 13px; color: var(--c-text-3); line-height: 1.6; margin-bottom: 10px; }
.goods-row .gr-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }

/* ---------- 18. 列表页筛选 ---------- */
.list-layout { display: flex; gap: 22px; align-items: flex-start; }
.list-side { width: 216px; flex: none; position: sticky; top: 16px; }
.list-main { flex: 1; min-width: 0; }

.side-card + .side-card { margin-top: 16px; }
.side-head {
    padding: 13px 16px; border-bottom: 1px solid var(--c-border);
    font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: space-between;
}
.side-body { padding: 10px 8px; }
.side-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 10px; border-radius: var(--r-sm); font-size: 13px; color: var(--c-text-2);
}
.side-link:hover { background: var(--c-brand-50); color: var(--c-brand); }
.side-link.is-active { background: var(--c-brand); color: #fff; }
.side-link.is-active .sl-count { color: rgba(255,255,255,.8); }
.side-link .sl-name { display: flex; align-items: center; gap: 7px; }
.side-link .sl-count { font-size: 12px; color: var(--c-text-3); }
.side-sub { padding-left: 10px; }
.side-sub .side-link { font-size: 12px; padding: 7px 10px; color: var(--c-text-3); }

.filter-bar {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    padding: 4px 18px; margin-bottom: 16px;
}
.filter-row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--c-border); }
.filter-row:last-child { border-bottom: 0; }
.filter-row .fr-label { width: 62px; flex: none; font-size: 13px; color: var(--c-text-3); line-height: 26px; }
.filter-row .fr-opts { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.filter-opt {
    display: inline-block; padding: 3px 11px; border-radius: var(--r-sm);
    font-size: 13px; color: var(--c-text-2); line-height: 20px; transition: all .15s;
}
.filter-opt:hover { background: var(--c-brand-50); color: var(--c-brand); }
.filter-opt.is-active { background: var(--c-brand); color: #fff; }
.filter-toggle { font-size: 12px; color: var(--c-brand); padding: 3px 8px; }
.filter-row.is-collapsed .fr-opts .filter-opt:nth-child(n+9) { display: none; }

.sort-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    padding: 0 18px; height: 48px; margin-bottom: 16px;
}
.sort-opts { display: flex; align-items: center; gap: 4px; }
.sort-opt { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: var(--r-sm); font-size: 13px; color: var(--c-text-2); }
.sort-opt:hover { color: var(--c-brand); }
.sort-opt.is-active { background: var(--c-brand-50); color: var(--c-brand); font-weight: 500; }
.sort-opt svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.sort-right { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-text-3); }
.view-switch { display: flex; gap: 2px; border: 1px solid var(--c-border); border-radius: var(--r-sm); overflow: hidden; }
.view-switch a {
    display: flex; align-items: center; justify-content: center; width: 32px; height: 28px; background: #fff;
}
.view-switch a svg { width: 15px; height: 15px; stroke: var(--c-text-3); fill: none; stroke-width: 1.8; }
.view-switch a.is-active { background: var(--c-brand); }
.view-switch a.is-active svg { stroke: #fff; }
.active-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-size: 12px; color: var(--c-text-3); }
.active-filters .af-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 8px 3px 10px; background: var(--c-brand-50); color: var(--c-brand);
    border-radius: var(--r-sm); font-size: 12px;
}
.active-filters .af-chip b { font-weight: 500; }
.active-filters .af-chip .x { font-size: 14px; line-height: 1; opacity: .6; }
.active-filters .af-chip:hover .x { opacity: 1; }

/* ---------- 19. 详情页 ---------- */
.detail-top { display: flex; gap: 30px; padding: 26px; }
.detail-gallery { width: 440px; flex: none; }
.gallery-main {
    height: 300px; border-radius: var(--r-lg); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-brand-50); border: 1px solid var(--c-border);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .gt-code { font-size: 28px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs .gt-item {
    width: 76px; height: 58px; border-radius: var(--r-sm); overflow: hidden;
    border: 1.5px solid var(--c-border); cursor: pointer; flex: none;
    display: flex; align-items: center; justify-content: center; background: var(--c-bg-2);
}
.gallery-thumbs .gt-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .gt-item.is-active { border-color: var(--c-brand); }
.gallery-thumbs .gt-item .gt-code { font-size: 11px; }

.detail-info { flex: 1; min-width: 0; }
.detail-title { font-size: 22px; font-weight: 600; line-height: 1.45; margin-bottom: 10px; }
.detail-sub { font-size: 13px; color: var(--c-text-3); line-height: 1.7; margin-bottom: 18px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }

.price-box {
    background: linear-gradient(135deg, #FEF2F2 0%, #FFF7ED 100%);
    border: 1px solid #FECACA; border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 20px;
}
.price-main { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.price-main .pm-now { font-size: 34px; font-weight: 600; color: var(--c-price); line-height: 1; }
.price-main .pm-now small { font-size: 18px; margin-right: 2px; }
.price-main .pm-old { font-size: 14px; color: var(--c-text-3); text-decoration: line-through; }
.price-main .pm-free { font-size: 32px; font-weight: 600; color: var(--c-success); line-height: 1; }
.price-sub { display: flex; gap: 18px; font-size: 12px; color: var(--c-text-2); flex-wrap: wrap; }
.price-sub b { color: var(--c-price); font-weight: 500; }

/* 套餐选择器（周期付费档位） */
.plan-box { margin-bottom: 20px; }
.plan-box .plan-title { font-size: 13px; color: var(--c-text-2); margin-bottom: 10px; }
.plan-list { display: flex; flex-wrap: wrap; gap: 10px; }
.plan-item {
    display: flex; flex-direction: column; gap: 3px; min-width: 118px;
    padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    background: #fff; cursor: pointer; transition: all .15s; position: relative;
}
.plan-item:hover { border-color: var(--c-brand); }
.plan-item input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; opacity: 0; }
.plan-item .plan-name { font-size: 13px; font-weight: 600; color: var(--c-text-1); }
.plan-item .plan-dur { font-size: 11px; color: var(--c-text-3); }
.plan-item .plan-price { font-size: 16px; font-weight: 600; color: var(--c-price); }
/* 套餐档位原价（划线价）：与售价同一行，v2.5.4 */
.plan-item .plan-price-row { display: flex; align-items: baseline; gap: 6px; }
.plan-item .plan-origin { font-size: 12px; color: var(--c-text-3); text-decoration: line-through; }
.plan-item input:checked ~ .plan-name { color: var(--c-brand); }
/* 选中态：.active 由 JS 维护（兼容不支持 :has() 的旧浏览器），
   :has() 仅作渐进增强 —— 只靠 :has() 时旧浏览器选中后没有任何视觉反馈，
   看起来就像「点不动、选不中」。*/
.plan-item.active,
.plan-item:has(input:checked) {
    border-color: var(--c-brand); box-shadow: 0 0 0 2px rgba(37,99,235,.12);
}
.plan-item.active::after,
.plan-item:has(input:checked)::after {
    content: '✓'; position: absolute; top: -1px; right: -1px;
    background: var(--c-brand); color: #fff; font-size: 11px;
    padding: 1px 6px; border-radius: 0 var(--r-lg) 0 var(--r-lg);
}
.plan-item-static { cursor: default; }
.plan-item-static:hover { border-color: var(--c-border); }
/* 已购会员的续费说明条 */
.plan-renew-tip {
    display: flex; align-items: flex-start; gap: 6px; margin-top: 10px;
    padding: 8px 10px; border-radius: var(--r-md);
    background: var(--c-brand-50); font-size: 12px; line-height: 1.6; color: var(--c-text-2);
}
.plan-renew-tip svg { flex: none; width: 13px; height: 13px; margin-top: 2px; stroke: var(--c-brand); fill: none; stroke-width: 1.8; }
.plan-renew-tip b { color: var(--c-brand); font-weight: 600; }

.detail-rows { margin-bottom: 22px; }
.detail-row { display: flex; gap: 14px; padding: 9px 0; font-size: 13px; border-bottom: 1px dashed var(--c-border); }
.detail-row:last-child { border-bottom: 0; }
.detail-row .dr-k { width: 76px; flex: none; color: var(--c-text-3); }
.detail-row .dr-v { flex: 1; color: var(--c-text-2); display: flex; flex-wrap: wrap; gap: 6px; }
.detail-row .dr-v a { color: var(--c-brand); }

.detail-actions { display: flex; gap: 12px; }
.detail-actions .btn { flex: 1; }
.detail-note { margin-top: 12px; font-size: 12px; color: var(--c-text-3); display: flex; align-items: center; gap: 6px; }
.detail-note svg { width: 13px; height: 13px; stroke: var(--c-text-3); fill: none; stroke-width: 1.8; }

/* 详情 tab */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--c-border); padding: 0 24px; }
.tab {
    position: relative; padding: 15px 20px; font-size: 14px; font-weight: 500;
    color: var(--c-text-2); cursor: pointer;
}
.tab:hover { color: var(--c-brand); }
.tab.is-active { color: var(--c-brand); }
.tab.is-active::after {
    content: ''; position: absolute; left: 20px; right: 20px; bottom: -1px;
    height: 2px; background: var(--c-brand); border-radius: 2px 2px 0 0;
}
.tab-panel { padding: 26px 28px; }
.tab-panel.is-hidden { display: none; }

/* 富文本内容 */
.rich { font-size: 14px; line-height: 1.9; color: var(--c-text-2); }
.rich h3 { font-size: 16px; margin: 26px 0 12px; padding-left: 11px; border-left: 3px solid var(--c-brand); line-height: 1.4; }
.rich h3:first-child { margin-top: 0; }
.rich h4 { font-size: 14px; margin: 18px 0 8px; color: var(--c-text); }
.rich p { margin-bottom: 13px; }
.rich ul, .rich ol { margin: 0 0 14px; padding-left: 6px; }
.rich ul li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.rich ul li::before {
    content: ''; position: absolute; left: 3px; top: 10px;
    width: 5px; height: 5px; border-radius: 50%; background: var(--c-brand); opacity: .55;
}
.rich ol { counter-reset: n; }
.rich ol li { position: relative; padding-left: 26px; margin-bottom: 8px; counter-increment: n; }
.rich ol li::before {
    content: counter(n); position: absolute; left: 0; top: 2px;
    width: 18px; height: 18px; border-radius: 50%; background: var(--c-brand-50);
    color: var(--c-brand); font-size: 11px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
}
.rich strong { color: var(--c-text); font-weight: 600; }
.rich code { background: var(--c-bg-2); padding: 2px 6px; border-radius: var(--r-xs); font-size: 13px; color: var(--c-brand-dark); }
.rich img { border-radius: var(--r-md); margin: 12px 0; }
.rich blockquote {
    background: var(--c-bg-2); border-left: 3px solid var(--c-border-2);
    padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 14px 0; color: var(--c-text-2);
}
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 13px; }
.rich table th, .rich table td { border: 1px solid var(--c-border); padding: 9px 12px; text-align: left; }
.rich table th { background: var(--c-bg-2); font-weight: 500; }

/* 交付清单 */
.deliver-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.deliver-item {
    display: flex; align-items: center; gap: 10px; padding: 13px 16px;
    background: var(--c-bg-2); border-radius: var(--r-md); font-size: 13px;
}
.deliver-item .di-check {
    width: 18px; height: 18px; border-radius: 50%; background: var(--c-success); flex: none;
    display: flex; align-items: center; justify-content: center;
}
.deliver-item .di-check svg { width: 11px; height: 11px; stroke: #fff; fill: none; stroke-width: 2.6; }
.file-tree {
    background: #0F172A; border-radius: var(--r-md); padding: 18px 20px;
    font-family: var(--f-mono); font-size: 12.5px; line-height: 1.9; color: #CBD5E1;
    overflow-x: auto; white-space: pre;
}
.file-tree .ft-dir { color: #A5B4FC; }

/* ---------- 20. 用户中心 ---------- */
.user-layout { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0 40px; }
.user-side { width: 214px; flex: none; position: sticky; top: 16px; }
.user-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    padding: 22px 18px; text-align: center; margin-bottom: 14px;
}
.user-card .uc-avatar { margin: 0 auto 12px; }
.user-card .uc-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.user-card .uc-sub { font-size: 12px; color: var(--c-text-3); }
.user-card .uc-money {
    margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--c-border);
}
.user-card .uc-money .um-v { font-size: 22px; font-weight: 600; color: var(--c-price); }
.user-card .uc-money .um-k { font-size: 12px; color: var(--c-text-3); }

.user-menu { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.user-menu .um-title { padding: 12px 18px; font-size: 12px; color: var(--c-text-3); background: var(--c-bg-2); }
.user-menu a {
    display: flex; align-items: center; gap: 10px; padding: 12px 18px;
    font-size: 13px; color: var(--c-text-2); border-left: 3px solid transparent;
}
.user-menu a svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; flex: none; }
.user-menu a:hover { background: var(--c-brand-50); color: var(--c-brand); }
.user-menu a.is-active { background: var(--c-brand-50); color: var(--c-brand); border-left-color: var(--c-brand); font-weight: 500; }

.user-main { flex: 1; min-width: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
    padding: 18px 20px; position: relative; overflow: hidden;
}
.stat-card .sc-k { font-size: 12px; color: var(--c-text-3); margin-bottom: 8px; }
.stat-card .sc-v { font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--c-text); }
.stat-card .sc-v small { font-size: 14px; font-weight: 400; color: var(--c-text-3); margin-left: 2px; }
.stat-card .sc-ico {
    position: absolute; right: 16px; top: 18px; width: 34px; height: 34px;
    border-radius: var(--r-md); background: var(--c-brand-50);
    display: flex; align-items: center; justify-content: center;
}
.stat-card .sc-ico svg { width: 17px; height: 17px; stroke: var(--c-brand); fill: none; stroke-width: 1.7; }
.stat-card.sc-price .sc-v { color: var(--c-price); }
.stat-card.sc-price .sc-ico { background: var(--c-danger-50); }
.stat-card.sc-price .sc-ico svg { stroke: var(--c-price); }
.stat-card.sc-success .sc-ico { background: var(--c-success-50); }
.stat-card.sc-success .sc-ico svg { stroke: var(--c-success); }

/* 用户中心 tab 筛选 */
.tabbar { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); margin-bottom: 4px; }
.tabbar a {
    padding: 12px 18px; font-size: 13px; color: var(--c-text-2);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabbar a:hover { color: var(--c-brand); }
.tabbar a.is-active { color: var(--c-brand); border-bottom-color: var(--c-brand); font-weight: 500; }

/* ---------- 21. 订单 ---------- */
.order-item + .order-item { margin-top: 16px; }
.order-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 20px; background: var(--c-bg-2); border-bottom: 1px solid var(--c-border);
    font-size: 13px; border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.order-head .oh-left { display: flex; align-items: center; gap: 18px; color: var(--c-text-2); }
.order-head .oh-no { font-family: var(--f-mono); font-size: 12px; color: var(--c-text-3); }
.order-status { font-size: 13px; font-weight: 500; }
.os-wait { color: var(--c-price); }
.os-done { color: var(--c-success); }
.os-cancel { color: var(--c-text-3); }
.order-body { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; gap: 20px; }
.order-goods-list { flex: 1; min-width: 0; }
.order-goods { display: flex; gap: 14px; padding: 8px 0; }
.order-goods + .order-goods { border-top: 1px dashed var(--c-border); }
.order-goods .og-img {
    width: 66px; height: 66px; border-radius: var(--r-sm); flex: none; overflow: hidden;
    background: var(--c-brand-50); display: flex; align-items: center; justify-content: center;
}
.order-goods .og-img img { width: 100%; height: 100%; object-fit: cover; }
.order-goods .og-img .gt-code { font-size: 10px; }
.order-goods .og-info { flex: 1; min-width: 0; }
.order-goods .og-name { font-size: 13px; margin-bottom: 5px; line-height: 1.5; }
.order-goods .og-name:hover { color: var(--c-brand); }
.order-goods .og-price { font-size: 12px; color: var(--c-text-3); }
.order-amount { width: 150px; flex: none; text-align: right; }
.order-amount .oa-v { font-size: 18px; font-weight: 600; color: var(--c-price); }
.order-amount .oa-k { font-size: 12px; color: var(--c-text-3); }
.order-ops { width: 140px; flex: none; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

/* 订单步骤 */
.steps { display: flex; align-items: center; padding: 24px 20px; }
.step { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; }
.step:last-child { flex: none; }
.step .st-dot {
    width: 26px; height: 26px; border-radius: 50%; flex: none;
    background: var(--c-bg-2); color: var(--c-text-3);
    display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600;
}
.step .st-dot svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.step .st-t { font-size: 13px; color: var(--c-text-3); white-space: nowrap; }
.step .st-line { flex: 1; height: 1px; background: var(--c-border); margin: 0 12px; }
.step.is-done .st-dot { background: var(--c-brand); color: #fff; }
.step.is-done .st-t { color: var(--c-text); }
.step.is-done .st-line { background: var(--c-brand); }

/* 支付方式 */
.pay-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

/* ---------- 22. 登录 / 注册 ---------- */
.auth-page { min-height: 100vh; display: flex; background: var(--c-bg); }
.auth-left {
    width: 46%; flex: none; position: relative; overflow: hidden;
    background: linear-gradient(150deg, #0F172A 0%, #1E293B 40%, #312E81 100%);
    display: flex; flex-direction: column; justify-content: space-between; padding: 52px 56px;
}
.auth-left::after {
    content: ''; position: absolute; right: -120px; bottom: -120px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,.4) 0%, rgba(79,70,229,0) 70%);
}
.auth-left .al-logo { display: flex; align-items: center; gap: 11px; position: relative; z-index: 2; }
.auth-left .al-logo .logo-mark { background: #fff; color: var(--c-brand); }
.auth-left .al-logo .logo-text { color: #fff; }
.auth-left .al-logo .logo-text small { color: #94A3B8; }
.auth-left .al-main { position: relative; z-index: 2; }
.auth-left h2 { font-size: 30px; color: #fff; line-height: 1.4; margin-bottom: 16px; }
.auth-left h2 em { font-style: normal; color: #A5B4FC; }
.auth-left p { font-size: 14px; color: #94A3B8; line-height: 1.9; max-width: 420px; }
.auth-left .al-list { margin-top: 30px; display: flex; flex-direction: column; gap: 13px; }
.auth-left .al-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #CBD5E1; }
.auth-left .al-list .al-check {
    width: 19px; height: 19px; border-radius: 50%; flex: none;
    background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.35);
    display: flex; align-items: center; justify-content: center;
}
.auth-left .al-list .al-check svg { width: 11px; height: 11px; stroke: #4ADE80; fill: none; stroke-width: 2.6; }
.auth-left .al-foot { position: relative; z-index: 2; font-size: 12px; color: #64748B; }

.auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box .ab-title { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.auth-box .ab-sub { font-size: 13px; color: var(--c-text-3); margin-bottom: 28px; }
.auth-box .ab-sub a { color: var(--c-brand); font-weight: 500; }
.auth-box .input { height: 46px; }
.auth-box .btn-block { height: 46px; font-size: 15px; margin-top: 6px; }
.auth-box .auth-extra { display: flex; align-items: center; justify-content: space-between; margin: -6px 0 18px; font-size: 13px; }
.captcha-img {
    width: 110px; height: 46px; border-radius: var(--r-sm); cursor: pointer;
    border: 1px solid var(--c-border-2); object-fit: cover; flex: none; background: var(--c-bg-2);
}
.auth-tip {
    margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-border);
    font-size: 12px; color: var(--c-text-3); line-height: 1.8;
}
.auth-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-3); margin-bottom: 22px; }
.auth-back:hover { color: var(--c-brand); }
.auth-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- 23. 公告 ---------- */
.notice-list { display: flex; flex-direction: column; gap: 12px; }
.notice-item {
    display: flex; gap: 18px; padding: 20px 24px; background: #fff;
    border: 1px solid var(--c-border); border-radius: var(--r-lg); transition: all .2s;
}
.notice-item:hover { border-color: #C7D2FE; box-shadow: var(--sh-sm); }
.notice-date {
    width: 62px; flex: none; text-align: center; padding-right: 18px;
    border-right: 1px solid var(--c-border);
}
.notice-date .nd-d { font-size: 22px; font-weight: 600; color: var(--c-brand); line-height: 1.1; }
.notice-date .nd-m { font-size: 12px; color: var(--c-text-3); }
.notice-body { flex: 1; min-width: 0; }
.notice-title { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.notice-item:hover .notice-title { color: var(--c-brand); }
.notice-meta { font-size: 12px; color: var(--c-text-3); display: flex; gap: 14px; }
.notice-detail-head { padding: 30px 32px 22px; border-bottom: 1px solid var(--c-border); }
.notice-detail-head h1 { font-size: 22px; margin-bottom: 12px; }
.notice-detail-meta { font-size: 13px; color: var(--c-text-3); display: flex; gap: 18px; }
.notice-nav { display: flex; justify-content: space-between; gap: 20px; padding: 18px 32px; border-top: 1px solid var(--c-border); font-size: 13px; }
.notice-nav a { flex: 1; min-width: 0; display: flex; gap: 8px; }
.notice-nav a:hover { color: var(--c-brand); }
.notice-nav .nn-k { color: var(--c-text-3); flex: none; }
.notice-nav .nn-v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-nav .nn-next { justify-content: flex-end; }

/* ---------- 24. 页脚 ---------- */
.footer { background: #0F172A; color: #94A3B8; margin-top: 48px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 44px 0 36px; }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .fb-logo .logo-text { color: #fff; }
.footer-brand .fb-logo .logo-text small { color: #64748B; }
.footer-brand p { font-size: 13px; line-height: 1.9; color: #64748B; max-width: 320px; }
.footer-brand .fb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-brand .fb-tags span {
    font-size: 11px; font-family: var(--f-mono); color: #94A3B8;
    padding: 3px 9px; border-radius: var(--r-xs); background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
}
.footer-col h4 { font-size: 14px; color: #E2E8F0; margin-bottom: 16px; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13px; color: #64748B; }
.footer-col a:hover { color: #A5B4FC; }
.footer-col .fc-contact { display: flex; flex-direction: column; gap: 11px; font-size: 13px; color: #64748B; }
.footer-col .fc-contact b { color: #94A3B8; font-weight: 400; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 12px; color: #64748B;
}
.footer-bottom a { color: #64748B; }
.footer-bottom a:hover { color: #A5B4FC; }

/* ---------- 25. Toast / 加载 ---------- */
.cx-toast-wrap {
    position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
    z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center;
    pointer-events: none;
}
.cx-toast {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 18px; border-radius: var(--r-md);
    background: #fff; border: 1px solid var(--c-border);
    box-shadow: var(--sh-lg); font-size: 13px; color: var(--c-text);
    animation: cxToastIn .22s ease-out;
}
.cx-toast svg { width: 16px; height: 16px; flex: none; stroke-width: 2; fill: none; }
.cx-toast.ok svg { stroke: var(--c-success); }
.cx-toast.err svg { stroke: var(--c-danger); }
.cx-toast.info svg { stroke: var(--c-info); }
.cx-toast.hide { animation: cxToastOut .2s ease-in forwards; }
@keyframes cxToastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes cxToastOut { to { opacity: 0; transform: translateY(-10px); } }

.cx-loading { position: relative; pointer-events: none; }
.cx-loading::after {
    content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.66);
    border-radius: inherit;
}
.cx-loading::before {
    content: ''; position: absolute; left: 50%; top: 50%; z-index: 2;
    width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border: 2px solid var(--c-brand-100); border-top-color: var(--c-brand);
    border-radius: 50%; animation: cxSpin .7s linear infinite;
}
@keyframes cxSpin { to { transform: rotate(360deg); } }

/* ---------- 26. 结果页（成功 / 失败） ---------- */
.result-page { padding: 72px 20px; display: flex; justify-content: center; }
.result-box {
    width: 520px; max-width: 100%; background: #fff;
    border: 1px solid var(--c-border); border-radius: var(--r-lg);
    padding: 44px 40px; text-align: center; box-shadow: var(--sh-sm);
}
.result-icon {
    width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.result-icon svg { width: 32px; height: 32px; fill: none; stroke-width: 2.2; }
.result-icon.ok { background: var(--c-success-50); }
.result-icon.ok svg { stroke: var(--c-success); }
.result-icon.err { background: var(--c-danger-50); }
.result-icon.err svg { stroke: var(--c-danger); }
.result-box .rb-title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.result-box .rb-msg { font-size: 14px; color: var(--c-text-2); line-height: 1.8; margin-bottom: 26px; }
.result-box .rb-ops { display: flex; gap: 12px; justify-content: center; }
.result-countdown { font-size: 12px; color: var(--c-text-3); margin-top: 16px; }
.result-countdown b { color: var(--c-brand); font-weight: 500; }

/* ---------- 27. 其他 ---------- */
.dot-marker { width: 5px; height: 5px; border-radius: 50%; background: #CBD5E1; margin-top: 8px; flex: none; }
.free-thumb {
    width: 44px; height: 44px; border-radius: var(--r-sm); flex: none;
    background: var(--c-success-50); display: flex; align-items: center; justify-content: center;
    font-family: var(--f-mono); font-size: 10px; color: #15803D; text-align: center; padding: 2px;
    overflow: hidden; line-height: 1.2;
}
.sl-ico { display: inline-flex; align-items: center; }
.sl-ico svg { width: 15px; height: 15px; }
.side-link.is-active .sl-ico svg { stroke: #fff; }

.divider-dashed { height: 1px; background: var(--c-border); margin: 20px 0; }
.divider-dashed.dashed { background: none; border-top: 1px dashed var(--c-border); }
.copy-box {
    display: flex; align-items: center; gap: 10px; padding: 9px 14px;
    background: var(--c-bg-2); border-radius: var(--r-sm); font-family: var(--f-mono); font-size: 13px;
}
.copy-box .cb-v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-brand-dark); }
.copy-box .cb-btn { font-size: 12px; color: var(--c-text-3); cursor: pointer; flex: none; }
.copy-box .cb-btn:hover { color: var(--c-brand); }

.kv { display: flex; gap: 16px; padding: 11px 0; font-size: 13px; border-bottom: 1px dashed var(--c-border); }
.kv:last-child { border-bottom: 0; }
.kv .kv-k { width: 92px; flex: none; color: var(--c-text-3); }
.kv .kv-v { flex: 1; color: var(--c-text-2); word-break: break-all; }
.kv .kv-v b { color: var(--c-text); font-weight: 500; }

.amount-big { font-size: 30px; font-weight: 600; color: var(--c-price); line-height: 1; }
.amount-big small { font-size: 16px; margin-right: 2px; }

.skeleton { background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 37%, #F1F5F9 63%); background-size: 400% 100%; animation: cxSkeleton 1.4s ease infinite; border-radius: var(--r-sm); }
@keyframes cxSkeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 28. 响应式 ---------- */
@media (max-width: 1220px) {
    .goods-grid { grid-template-columns: repeat(3, 1fr); }
    .goods-grid-5 { grid-template-columns: repeat(4, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .header .wrap { gap: 20px; }
    .search { max-width: none; }
}
@media (max-width: 992px) {
    .hero .wrap { flex-direction: column; align-items: flex-start; gap: 30px; }
    .hero-side { width: 100%; }
    .hero-stat { padding: 13px 15px; }
    .hero-stat .hs-v { font-size: 20px; }
    .hero h1 { font-size: 30px; }
    .feature-bar .wrap { grid-template-columns: repeat(2, 1fr); }
    .feature-item:nth-child(2) { border-right: 0; }
    .feature-item:nth-child(1), .feature-item:nth-child(2) { border-bottom: 1px solid var(--c-border); }
    .goods-grid, .goods-grid-3, .goods-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .list-layout { flex-direction: column; }
    .list-side { width: 100%; position: static; }
    .detail-top { flex-direction: column; padding: 20px; }
    .detail-gallery { width: 100%; }
    .user-layout { flex-direction: column; }
    .user-side { width: 100%; position: static; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .auth-left { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
    .order-body { flex-wrap: wrap; }
    .order-amount, .order-ops { width: auto; text-align: left; }
    .nav-drop { min-width: 380px; }
}
@media (max-width: 768px) {
    .wrap { max-width: calc(100% - 24px); }
    .header .wrap { height: auto; flex-wrap: wrap; padding: 14px 0; gap: 14px; }
    .search { order: 3; width: 100%; flex: none; }
    .search-box input { height: 40px; }
    .logo-text small { display: none; }
    .nav .wrap { height: 44px; overflow-x: auto; }
    .nav-link { padding: 0 12px; font-size: 13px; white-space: nowrap; }
    .nav-drop { display: none !important; }
    .hero { padding: 34px 0 40px; }
    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .goods-grid, .goods-grid-3, .goods-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .goods-thumb { height: 118px; }
    .goods-body { padding: 11px 12px 13px; }
    .goods-name { font-size: 13px; height: 39px; }
    .goods-price .gp-now { font-size: 16px; }
    .goods-row { flex-direction: column; }
    .goods-row .gr-thumb { width: 100%; height: 150px; }
    .detail-title { font-size: 19px; }
    .price-main .pm-now { font-size: 28px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px 15px; }
    .stat-card .sc-v { font-size: 21px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 26px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .tabs { padding: 0 12px; overflow-x: auto; }
    .tab { padding: 13px 14px; white-space: nowrap; }
    .tab-panel { padding: 18px 16px; }
    .steps .st-t { display: none; }
    .steps .st-line { margin: 0 8px; }
    .auth-right { padding: 28px 18px; }
    .result-box { padding: 32px 22px; }
    .result-box .rb-ops { flex-direction: column; }
    .result-box .rb-ops .btn { width: 100%; }
    .filter-row .fr-label { width: 100%; line-height: 1.4; margin-bottom: 4px; }
    .filter-row { flex-direction: column; gap: 8px; }
    .order-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .order-head .oh-left { flex-wrap: wrap; gap: 10px; }
    .user-menu { display: flex; overflow-x: auto; }
    .user-menu .um-title { display: none; }
    .user-menu a { padding: 11px 14px; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
    .user-menu a.is-active { border-left: 0; border-bottom-color: var(--c-brand); }
}
@media (max-width: 480px) {
    .goods-grid, .goods-grid-3, .goods-grid-5 { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .feature-bar .wrap { grid-template-columns: 1fr; }
    .feature-item { border-right: 0; border-bottom: 1px solid var(--c-border); }
    .feature-item:last-child { border-bottom: 0; }
    .order-body { flex-direction: column; align-items: stretch; }
    .order-ops { flex-direction: row; }
    .order-ops .btn { flex: 1; }
    .lic-grid { grid-template-columns: 1fr; }
}

/* ---------- 29. 会员中心 / 订单补充 ---------- */
.welcome-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 20px 24px; border-radius: var(--r-lg); margin-bottom: 18px;
    background: linear-gradient(120deg, #EEF2FF 0%, #E0E7FF 48%, #E0F2FE 100%);
    border: 1px solid #E0E7FF;
}
.welcome-bar .wb-hello { font-size: 18px; font-weight: 600; color: #312E81; margin-bottom: 5px; }
.welcome-bar .wb-sub { font-size: 13px; color: #4F46E5; }

/* 通用虚线行列表 */
.uc-list { display: flex; flex-direction: column; }
.uc-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--c-border); }
.uc-row:last-child { border-bottom: 0; }
.uc-row .ucr-main { flex: 1; min-width: 0; }
.uc-row .ucr-t { font-size: 13px; line-height: 1.6; margin-bottom: 4px; }
.uc-row .ucr-t:hover { color: var(--c-brand); }
.uc-row .ucr-s { font-size: 12px; color: var(--c-text-3); }

/* 已购源码卡 */
.lic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.lic-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.lic-card:hover { border-color: #C7D2FE; box-shadow: var(--sh-sm); }
.lic-thumb {
    height: 112px; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.lic-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lic-body { padding: 14px 16px 16px; }
.lic-name { font-size: 14px; font-weight: 500; line-height: 1.5; margin-bottom: 8px; }
.lic-name:hover { color: var(--c-brand); }
.lic-meta { font-size: 12px; color: var(--c-text-3); line-height: 1.8; }
.lic-key {
    display: flex; align-items: center; gap: 6px; margin-top: 9px;
    font-family: var(--f-mono); font-size: 11px; color: var(--c-text-3);
    background: var(--c-bg-2); padding: 6px 9px; border-radius: var(--r-xs);
}
.lic-key b { color: var(--c-text-2); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lic-foot { display: flex; gap: 8px; margin-top: 13px; }
.lic-foot .btn { flex: 1; }

/* 金额合计条 */
.pay-total { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.pay-total .pt-k { font-size: 13px; color: var(--c-text-3); }
.pay-total .pt-v { font-size: 28px; font-weight: 600; color: var(--c-price); line-height: 1; }
.pay-total .pt-v small { font-size: 16px; margin-right: 1px; }

/* 充值金额大卡 */
.amount-item.big { padding: 18px 8px; }
.amount-item.big .ai-v { font-size: 20px; }

/* 简易进度/状态点 */
.dot-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.dot-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

/* 认证页补充 */
.auth-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--c-text-2); margin: 4px 0 18px; }
.auth-agree input { margin-top: 3px; accent-color: var(--c-brand); flex: none; }
.auth-agree a { color: var(--c-brand); }
.auth-note { font-size: 12px; color: var(--c-text-3); line-height: 1.9; }

/* 网盘提取码 */
.pan-code { display: inline-block; padding: 2px 10px; background: var(--c-brand-50, #EFF6FF); color: var(--c-brand); border: 1px dashed var(--c-brand); border-radius: 4px; font-family: Consolas, Monaco, monospace; font-size: 13px; letter-spacing: 1px; }
