/* 前台模板 3 的通用样式，主题变量由 footer.jsp 输出。 */

/* 兼容旧页面的主操作按钮，保留原有尺寸、事件和表单行为。 */
body .button.bg-yellow,
body .button.bg-blue,
body .button.bg-main,
body .button.bg-yellow:hover,
body .button.bg-blue:hover,
body .button.bg-main:hover,
body .button.bg-yellow:focus,
body .button.bg-blue:focus,
body .button.bg-main:focus {
    background-color:var(--theme-primary);
    border-color:var(--theme-primary);
    color:var(--theme-on-primary);
}

body .blue,
body .text-blue,
body .text-main {
    color:var(--theme-primary);
}

body .border-blue,
body .border-main {
    border-color:var(--theme-primary);
}

/* 已有外框的记录卡片与结构图节点只替换边框颜色。 */
body .finance-record,
body .orders-card,
body .messages-card,
body .business-content .message,
body .business-address,
body .business-tree .tree,
body.business-wangluotu .business-diagram table.tablefilter,
body .new-category-li,
body .store-cart .product-box,
body .w-community a {
    border-color:var(--theme-primary);
}

/* 数据表格用内描边保留原有列宽和内部网格线，跳过用来布局的空表格。 */
body :is(.table-container > table, table.table-bordered, table:has(> thead)) {
    outline:1px solid var(--theme-primary);
    outline-offset:-1px;
}

/* 模板 13：自然绿色商城。这里只定义表现，原开关、金额、订单状态和提交方式均保留。 */
html[data-template="13"] {
    --t13-page: #fff4f3;
    --t13-card: #ffffff;
    --t13-ink: #3d2127;
    --t13-muted: #9b8283;
    --t13-line: #f0dfe0;
    --t13-shadow: 0 5px 18px rgba(134, 50, 65, .055);
    --t13-radius: 17px;
    background:#f9fafa;
    color-scheme:light;
    scroll-padding-top:76px;
}
html[data-template="13"] body {
    box-sizing:border-box;
    max-width:520px;
    min-height:100vh;
    margin:0 auto;
    background:var(--t13-page) !important;
    color:var(--t13-ink);
    font:14px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-wrap:break-word;
}
html[data-template="13"] body *,
html[data-template="13"] body *::before,
html[data-template="13"] body *::after { box-sizing:border-box; }
html[data-template="13"] body { --finance-blue: var(--theme-primary); --finance-text: var(--t13-ink); --finance-muted: var(--t13-muted); --finance-soft: #f9f4f2; --finance-line: var(--t13-line); --w-blue: var(--theme-primary); --w-text: var(--t13-ink); --w-muted: var(--t13-muted); --w-soft: #fff4ee; --w-line: var(--t13-line); }
html[data-template="13"] body a { text-decoration:none; }
html[data-template="13"] .finance-shell,
html[data-template="13"] .w-shell { width:100%; max-width:520px; padding:0 12px 14px; margin:0 auto; }
html[data-template="13"] .finance-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:62px;
    padding:12px 14px;
    margin:0 -12px 14px;
    border:0;
    background:var(--t13-header-lines) right center / cover no-repeat, linear-gradient(120deg, #f4f5f5, #f4f5f5);
    color:#ffffff;
    box-shadow:none;
    z-index:20;
}
html[data-template="13"] .finance-header h1 { margin:0; font-size:19px; font-weight:650; line-height:1.4; }
html[data-template="13"] .finance-header .finance-icon-button { display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:36px; color:#ffffff; }
html[data-template="13"] .finance-header .finance-icon { width:23px; height:23px; }
html[data-template="13"] h2 { color:var(--t13-ink); }
html[data-template="13"] .finance-section-title,
html[data-template="13"] .registration-section-title { margin:17px 0 12px; padding-top:0; border:0; font-size:17px; }

/* 轻描边、白色圆角卡片；账户结构图使用原有等级/激活状态颜色。 */
html[data-template="13"] .finance-record,
html[data-template="13"] .orders-card,
html[data-template="13"] .messages-card,
html[data-template="13"] .business-address,
html[data-template="13"] .profile-intro,
html[data-template="13"] .password-intro,
html[data-template="13"] .registration-intro,
html[data-template="13"] .finance-info-card,
html[data-template="13"] .finance-empty,
html[data-template="13"] .app-download-card,
html[data-template="13"] .app-install-guide,
html[data-template="13"] .qr-card,
html[data-template="13"] .promotion-link-card,
html[data-template="13"] .product-summary,
html[data-template="13"] .store-cart .product-box,
html[data-template="13"] .new-category-li,
html[data-template="13"] .business-content .message {
    margin-bottom:12px;
    border:1px solid var(--t13-line);
    border-radius:var(--t13-radius);
    background:#f9fafa;
    box-shadow:var(--t13-shadow);
}
html[data-template="13"] .finance-record,
html[data-template="13"] .orders-card,
html[data-template="13"] .business-address { padding:15px; }
html[data-template="13"] .finance-record .row { gap:10px; padding:5px 0; }
html[data-template="13"] .finance-empty { padding:24px 16px; color:var(--t13-muted); }
html[data-template="13"] .finance-account-card { background:#f9fafa; border-radius:var(--t13-radius); }
html[data-template="13"] .finance-balance-card {
    padding:19px;
    border:1px solid #e6e9e9;
    border-radius:var(--t13-radius);
    background:url("minimal-lines.svg") right bottom / 310px auto no-repeat, linear-gradient(120deg, #f9fafa, #f4f5f5);
}
html[data-template="13"] .finance-balance-name { color:var(--theme-primary); font-size:18px; }
html[data-template="13"] .finance-balance-label { color:#7e969a; font-size:12px; }
html[data-template="13"] .finance-balance-card strong { color:#2c3637; font-size:clamp(25px, 7vw, 34px); }
html[data-template="13"] .withdrawal-balance-row { justify-content:space-between; flex-wrap:wrap; gap:8px 16px; }
html[data-template="13"] .finance-form { margin-bottom:12px; }
html[data-template="13"] .finance-field { margin-bottom:14px; }
html[data-template="13"] .finance-field > label,
html[data-template="13"] .finance-field > .finance-label { margin-bottom:7px; color:var(--t13-ink); font-size:14px; }
html[data-template="13"] input:not([type]),
html[data-template="13"] input[type="text"],
html[data-template="13"] input[type="password"],
html[data-template="13"] input[type="number"],
html[data-template="13"] input[type="search"],
html[data-template="13"] input[type="email"],
html[data-template="13"] input[type="tel"],
html[data-template="13"] input[type="url"],
html[data-template="13"] input[type="date"],
html[data-template="13"] select,
html[data-template="13"] textarea {
    max-width:100%;
    border:1px solid #e6e9e9;
    border-radius:12px;
    background-color:#f9fafa;
    color:var(--t13-ink);
    box-shadow:none;
}
html[data-template="13"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="13"] .finance-field select { min-height:46px; padding-top:10px; padding-bottom:10px; font-size:16px; }
html[data-template="13"] input::placeholder,
html[data-template="13"] textarea::placeholder { color:#7e969a; opacity:1; }
html[data-template="13"] input[type="checkbox"],
html[data-template="13"] input[type="radio"] { accent-color:var(--theme-primary); }
html[data-template="13"] input:focus,
html[data-template="13"] textarea:focus,
html[data-template="13"] select:focus { border-color:var(--theme-primary); outline-color:var(--theme-primary); }

/* 主操作使用绿色胶囊按钮，危险操作仍保留原来的危险色。 */
html[data-template="13"] .finance-submit,
html[data-template="13"] .business-content .submit-btn,
html[data-template="13"] .business-content .open-btn,
html[data-template="13"] .product-primary,
html[data-template="13"] .registration-agree,
html[data-template="13"] .app-primary-link,
html[data-template="13"] .promotion-copy-submit,
html[data-template="13"] .store-search button[type="submit"],
html[data-template="13"] .store-checkout,
html[data-template="13"] .button.bg-yellow,
html[data-template="13"] .button.bg-blue,
html[data-template="13"] .button.bg-main,
html[data-template="13"] .btnzbz,
html[data-template="13"] .w-logout a {
    min-height:44px;
    border:1px solid var(--theme-primary);
    border-radius:999px;
    background:linear-gradient(115deg, #ebeded, #657d81);
    color:#ffffff !important;
    box-shadow:0 3px 8px rgba(161, 53, 72, .10);
    text-align:center;
}
html[data-template="13"] .finance-submit-bar,
html[data-template="13"] .product-action-bar {
    max-width:520px;
    padding:12px;
    border-color:var(--t13-line);
    background:rgba(255, 255, 255, .98);
}
html[data-template="13"] .finance-link-button,
html[data-template="13"] .finance-code-button,
html[data-template="13"] .front-pagination-button,
html[data-template="13"] .orders-action,
html[data-template="13"] .app-secondary-link { border-color:#e6e9e9; border-radius:999px; background:#f9fafa; color:var(--theme-primary); }
html[data-template="13"] .finance-pagination,
html[data-template="13"] .orders-pagination { justify-content:center; gap:7px; }
html[data-template="13"] .finance-pagination-summary { color:var(--t13-muted); text-align:center; font-size:12px; }
html[data-template="13"] .finance-icon-button,
html[data-template="13"] .business-add { color:var(--theme-primary); }
html[data-template="13"] .finance-header .finance-icon-button { color:#ffffff; }

/* 首页：绿叶页头、紧凑搜索、圆角广告与商品卡片。配置的广告和商品图片原样使用。 */
html[data-template="13"] .store-shouye .finance-shell { padding-top:0; }
html[data-template="13"] .t13-home-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 -12px;
    padding:16px 13px 10px;
    background:linear-gradient(115deg, #f4f5f5, #f4f5f5);
    color:white;
}
html[data-template="13"] .t13-store-brand { display:flex; flex:0 1 145px; align-items:center; gap:7px; min-width:0; font-size:17px; font-weight:700; line-height:1.35; }
html[data-template="13"] .t13-store-brand svg { flex:0 0 25px; width:25px; height:28px; }
html[data-template="13"] .t13-home-header .store-search { flex:1; min-width:0; margin:0; }
html[data-template="13"] .t13-home-header .store-search form { gap:4px; padding:3px 5px; border-radius:999px; background:#f9fafa; }
html[data-template="13"] .t13-home-header .store-search input[type="text"] { width:0; min-height:34px; padding:6px 4px; border:0; border-radius:0; background:transparent; font-size:12px; }
html[data-template="13"] .t13-home-header .store-search .store-language { flex:0 0 27px; min-height:34px; }
html[data-template="13"] .t13-home-header .store-search button[type="submit"] { min-height:32px; padding:5px 9px; font-size:12px; }
html[data-template="13"] .store-tabs { gap:15px; margin:0 -12px 12px; padding:7px 15px 13px; background:#f9fafa; }
html[data-template="13"] .store-tabs a { color:#ffffff !important; font-size:13px; }
html[data-template="13"] .store-banner { overflow:hidden; margin:0 0 12px; border-radius:17px; box-shadow:var(--t13-shadow); }
html[data-template="13"] .store-slides img { width:100%; height:auto; aspect-ratio:2.38; object-fit:cover; }
html[data-template="13"] .store-shortcuts { display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:5px; padding:13px 8px 10px; margin:0 0 12px; border:1px solid var(--t13-line); border-radius:17px; background:#f9fafa; box-shadow:var(--t13-shadow); }
html[data-template="13"] .store-shortcuts .item { min-width:0; }
html[data-template="13"] .store-shortcuts .picicon > div { width:41px !important; height:41px !important; margin:auto; border-radius:13px !important; background:linear-gradient(145deg, #f9fafa, #f4f5f5); }
html[data-template="13"] .store-shortcuts .store-shortcut-icon { color:#2c3637; }
html[data-template="13"] .store-shortcuts .item:nth-child(3) .picicon > div { background:#f9fafa; }
html[data-template="13"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color:#7e969a; }
html[data-template="13"] .store-shortcuts h3 { padding:0 2px; color:var(--t13-ink); font-size:12px; line-height:1.45; }
html[data-template="13"] .store-news { padding:10px 12px; border:1px solid var(--t13-line); border-radius:13px; background:#f9fafa; color:#7e969a; }
html[data-template="13"] .store-products { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; padding:0; }
html[data-template="13"] .store-products > .item { padding:9px; border:1px solid var(--t13-line); border-radius:15px; background:#f9fafa; }
html[data-template="13"] .store-products .text-cut-2 { margin:8px 0; font-size:13px; }
html[data-template="13"] .store-products .text-lg { color:#2c3637; font-size:17px; font-weight:650; }
html[data-template="13"] .store-products .cu-tag { border-radius:5px; background:#f9fafa; color:var(--theme-primary); }
html[data-template="13"] .store-product-add { background:var(--theme-primary-soft); color:var(--theme-primary); }
html[data-template="13"] .store-category-list .is-current { background:#f4f5f5; color:#2c3637; }

/* 我的：绿色身份区，真实账户数据构成的白色摘要卡，四列功能图标。 */
html[data-template="13"] .w-profile {
    min-height:138px;
    margin:0 -12px;
    padding:27px 17px 30px;
    background:var(--t13-header-lines) right bottom / cover no-repeat, linear-gradient(115deg, #f4f5f5, #f4f5f5);
    color:#ffffff;
}
html[data-template="13"] .w-avatar { width:57px; height:57px; border:2px solid rgba(255, 255, 255, .7); background:#f4f5f5; }
html[data-template="13"] .w-name { font-size:18px; }
html[data-template="13"] .w-profile-meta { color:#ffffff; }
html[data-template="13"] .w-profile-meta > span:first-of-type { padding:1px 7px; border-radius:6px; background:#f4f5f5; color:#2c3637; }
html[data-template="13"] .w-language { color:#ffffff; font-size:12px; }
html[data-template="13"] .w-tabs { position:relative; top:auto; gap:0; justify-content:space-around; margin:-14px 0 12px; padding:8px; border:1px solid var(--t13-line); border-radius:15px; background:#f9fafa; box-shadow:var(--t13-shadow); }
html[data-template="13"] .w-tab { min-height:35px; padding:5px 14px; border-radius:999px; color:#7e969a; font-size:15px; }
html[data-template="13"] .w-tab.is-active { background:#f4f5f5; color:#2c3637; }
html[data-template="13"] .w-tab::after { display:none; }
html[data-template="13"] .w-overview { padding:0; margin-bottom:12px; }
html[data-template="13"] .w-overview-balance-row { display:flex; align-items:stretch; gap:0; margin:0 0 12px; padding:19px 6px; border:1px solid var(--t13-line); border-radius:16px; background:#f9fafa; box-shadow:var(--t13-shadow); }
html[data-template="13"] .t13-summary-main,
html[data-template="13"] .t13-summary-stat { display:flex; flex:1; min-width:0; flex-direction:column; align-items:center; justify-content:center; gap:5px; padding:0 6px; text-align:center; }
html[data-template="13"] .t13-summary-main { flex-direction:column-reverse; }
html[data-template="13"] .t13-summary-stat { border-left:1px solid var(--t13-line); }
html[data-template="13"] .w-overview-balance-row .w-balance-label { max-width:none; justify-content:center; gap:3px; font-size:12px; }
html[data-template="13"] .w-overview-balance-row .w-balance-value,
html[data-template="13"] .t13-summary-stat strong { margin:0; color:#2c3637; font-size:clamp(17px, 4.5vw, 23px); font-weight:700; font-variant-numeric:tabular-nums; line-height:1.3; overflow-wrap:anywhere; }
html[data-template="13"] .t13-summary-stat span { font-size:12px; }
html[data-template="13"] .w-eye { width:22px; height:24px; }
html[data-template="13"] .w-eye svg { width:18px; height:18px; }
html[data-template="13"] .w-balance-caption { margin:4px 0 10px; color:#7e969a; font-size:12px; }
html[data-template="13"] .w-quick-actions { gap:8px; margin:0 0 12px; padding:13px 7px; border:1px solid var(--t13-line); border-radius:16px; background:white; }
html[data-template="13"] .w-quick-icon { width:42px; height:42px; border-radius:13px; background:#f4f5f5; color:#2c3637; }
html[data-template="13"] .w-quick-icon svg { width:25px; height:25px; }
html[data-template="13"] .w-quick-action { font-size:12px; }
html[data-template="13"] .w-section-heading { margin:16px 0 10px; }
html[data-template="13"] .w-section-heading h2 { font-size:17px; }
html[data-template="13"] .w-account-list,
html[data-template="13"] .w-service-grid { border:1px solid var(--t13-line); border-radius:16px; background:#f9fafa; box-shadow:var(--t13-shadow); }
html[data-template="13"] .w-account { min-height:76px; padding:13px; border-color:var(--t13-line); }
html[data-template="13"] .w-account-icon { background:#f9fafa; color:#2c3637; }
html[data-template="13"] .w-account-value { color:#2c3637; font-size:20px; }
html[data-template="13"] .w-services { margin-top:15px; }
html[data-template="13"] .w-services-kicker { color:var(--t13-muted); font-size:11px; }
html[data-template="13"] .w-service-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px 5px; padding:16px 5px; }
html[data-template="13"] .w-service { display:flex; flex-direction:column; align-items:center; gap:7px; padding:0 2px; border:0; text-align:center; }
html[data-template="13"] .w-service-icon { width:39px; height:39px; border-radius:13px; background:linear-gradient(145deg, #f9fafa, #f4f5f5); color:#2c3637; }
html[data-template="13"] .w-service-icon svg { width:24px; height:24px; }
html[data-template="13"] .w-service-text h2 { color:#2c3637; font-size:12px; line-height:1.45; font-weight:550; }
html[data-template="13"] .w-service::after { display:none; }
html[data-template="13"] .w-community { gap:10px; }
html[data-template="13"] .w-community a { border:1px solid var(--t13-line); border-radius:14px; background:#f9fafa; }
html[data-template="13"] .w-logout { margin:17px 0 0; padding:0; border:0; }
html[data-template="13"] .w-logout a { display:flex; align-items:center; justify-content:center; min-height:45px; }

/* 订单保留原有四种状态及各操作，视觉使用绿色选中标签。 */
html[data-template="13"] .orders-tabs { gap:4px; padding:7px; border:0; border-radius:14px; background:#f9fafa; }
html[data-template="13"] .orders-tab { min-height:38px; padding:7px 3px; border-radius:999px; font-size:12px; }
html[data-template="13"] .orders-tab.is-active { background:#f4f5f5; color:#2c3637 !important; }
html[data-template="13"] .orders-tab.is-active::after { bottom:0; background:var(--theme-primary); }
html[data-template="13"] .orders-card-header { padding-bottom:10px; border-color:var(--t13-line); }
html[data-template="13"] .orders-state { color:var(--theme-primary); }
html[data-template="13"] .orders-product { gap:12px; padding:12px 0; }
html[data-template="13"] .orders-product img { border-radius:12px; background:#f9fafa; }
html[data-template="13"] .orders-product-name { font-size:14px; }
html[data-template="13"] .orders-card-actions { gap:8px; padding-top:10px; border-color:var(--t13-line); }
html[data-template="13"] .bonus-filter { gap:8px; padding:12px; border:1px solid var(--t13-line); background:#f9fafa; }
html[data-template="13"] .bonus-filter input.Wdate { flex:1; width:90px; min-width:65px; }
html[data-template="13"] .t13-bonus-overview { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:13px; padding:18px 17px; border:1px solid #e6e9e9; border-radius:16px; background:url("minimal-lines.svg") right bottom / auto 180px no-repeat, linear-gradient(115deg, #f9fafa, #f4f5f5); }
html[data-template="13"] .t13-bonus-overview > div { flex:1; min-width:110px; }
html[data-template="13"] .t13-bonus-overview span { display:block; font-size:12px; }
html[data-template="13"] .t13-bonus-overview strong { display:block; margin-top:5px; font-size:23px; font-variant-numeric:tabular-nums; }

/* 老列表仍按表格展示；在小屏横向浏览，不挤压列、不改业务结构图。 */
html[data-template="13"] .t13-table-scroll,
html[data-template="13"] .table-container { width:100%; max-width:100%; overflow-x:auto; margin:12px 0; border:1px solid var(--t13-line); border-radius:14px; background:#f9fafa; }
html[data-template="13"] .t13-data-table { width:100%; margin:0; border-collapse:collapse; font-size:13px; background:#f9fafa; }
html[data-template="13"] .t13-data-table th,
html[data-template="13"] .t13-data-table td { padding:11px 12px; border:1px solid var(--t13-line); text-align:center; vertical-align:middle; }
html[data-template="13"] .t13-data-table th { background:#f4f5f5; color:#2c3637; }
html[data-template="13"] .t13-data-table tbody tr:nth-child(even) { background:#f9fafa; }
html[data-template="13"] .container,
html[data-template="13"] .container2 { max-width:100%; }
html[data-template="13"] .profile-intro-icon,
html[data-template="13"] .registration-intro-icon,
html[data-template="13"] .password-intro-icon,
html[data-template="13"] .finance-account-row-icon { background:#f4f5f5; color:var(--theme-primary); }
html[data-template="13"] .finance-account-row { gap:12px; padding:16px; }
html[data-template="13"] .front-language-choice { padding:16px; border-color:var(--t13-line); border-radius:14px; background:#f9fafa; }
html[data-template="13"] .front-language-choice[aria-pressed="true"] { border-color:var(--theme-primary); background:#f4f5f5; color:#2c3637; }
html[data-template="13"] .finance-account-name { font-size:18px; }
html[data-template="13"] .product-action-bar a { border-radius:999px; }
html[data-template="13"] .product-price { color:#2c3637; }

/* 底部固定导航沿用原功能入口和自动选中逻辑。安全区由原脚本统一测量。 */
html[data-template="13"] #site-footer.site-footer { max-width:520px; min-height:calc(64px + env(safe-area-inset-bottom)); padding:8px 6px calc(8px + env(safe-area-inset-bottom)); border-color:#e6e9e9; background:rgba(255,255,255,.98) !important; }
html[data-template="13"] #site-footer .site-footer-item { gap:3px; color:#7e969a !important; font-size:11px !important; }
html[data-template="13"] #site-footer .site-footer-item.is-current { color:#2c3637 !important; font-weight:650; }
html[data-template="13"] #site-footer .w-icon { width:23px !important; height:23px !important; }
html[data-template="13"] body.has-site-footer { --site-footer-offset: var(--site-footer-height, calc(64px + env(safe-area-inset-bottom))); }
@media (max-width: 359px) {
    html[data-template="13"] .t13-home-header { gap:6px; }
    html[data-template="13"] .t13-store-brand { flex-basis:86px; font-size:14px; }
    html[data-template="13"] .w-profile { padding:23px 12px 28px; gap:9px; }
    html[data-template="13"] .w-avatar { width:46px; height:46px; }
    html[data-template="13"] .w-name { font-size:16px; }
    html[data-template="13"] .w-service-grid { gap:14px 3px; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-template="13"] *, html[data-template="13"] *::before, html[data-template="13"] *::after { scroll-behavior:auto !important; }
}

/* 输入区域与页面底色拉开层次，密码显隐控件右侧留白仍由原样式控制。 */
html[data-template="13"] .finance-page:not(.store-page) .finance-form {
    padding:15px;
    border:1px solid var(--t13-line);
    border-radius:17px;
    background:#f9fafa;
}
html[data-template="13"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="13"] .finance-field select,
html[data-template="13"] .finance-field textarea {
    border:1px solid #e6e9e9;
    background-color:#f9fafa;
}
html[data-template="13"] #wode-account-list {
    overflow:hidden;
    border:1px solid var(--t13-line);
    border-radius:16px;
    background:#f9fafa;
}
html[data-template="13"] .w-account-row { padding:14px 12px; }
html[data-template="13"] .w-overview-balance-row .w-balance-value { letter-spacing:normal; }
html[data-template="13"] .bonus-page .finance-record .row:not(:first-child) { color:#2c3637; font-weight:600; }
html[data-template="13"] .bonus-page .finance-record .row .label { font-weight:400; }
html[data-template="13"] #site-footer .site-footer-item { font-size:12px !important; }

/* 旧版功能页同样采用绿色页头，原定位和标题内容继续沿用。 */
html[data-template="13"] .header.header-color,
html[data-template="13"] .header-background,
html[data-template="13"] body > .header {
    max-width:520px;
    background:var(--t13-header-lines) right center / cover no-repeat, linear-gradient(115deg, #f4f5f5, #f4f5f5);
    color:#ffffff;
}
html[data-template="13"] .header-title,
html[data-template="13"] .header.header-color a { color:#ffffff !important; }
html[data-template="13"] .t13-fixed-header { left:50% !important; width:100%; max-width:520px; transform:translateX(-50%); }
html[data-template="13"] #wode-page .w-balance-panel {
    border:1px solid #e6e9e9;
    background:url("minimal-lines.svg") right bottom / cover no-repeat, linear-gradient(115deg, #ebeded, #657d81);
    color:#ffffff;
}
html[data-template="13"] #wode-page .w-balance-panel .w-balance-value,
html[data-template="13"] #wode-page .w-balance-panel .w-balance-label,
html[data-template="13"] #wode-page .w-balance-panel .w-balance-available-value { color:#ffffff; }
html[data-template="13"] #wode-page .w-balance-panel .w-balance-action { background:#f9fafa; color:var(--theme-primary); }

/* 旧页残留的 360px 最小宽度和 vw 余额卡不能超出模板画布。 */
html[data-template="13"] .container,
html[data-template="13"] .container2 { width:100%; min-width:0 !important; }
html[data-template="13"] .red_bg { width:100% !important; max-width:100%; }
html[data-template="13"] .recharge_wrap { width:100%; max-width:100%; padding:12px; }
html[data-template="13"] .recharge_wrap .red_top_bg {
    min-height:62px;
    padding:16px;
    border-radius:15px;
    background:url("minimal-lines.svg") right center / cover no-repeat, linear-gradient(115deg, #f4f5f5, #f4f5f5);
    color:#ffffff;
}
html[data-template="13"] .recharge_wrap .big_tit { color:#ffffff; }
html[data-template="13"] .recharge_wrap .balance {
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    max-width:100%;
    margin:12px 0;
    padding:16px;
    border:1px solid var(--t13-line);
    border-radius:15px;
    background:#f9fafa;
    color:var(--t13-ink);
}

/* 旧商城轮播曾写死 331px，窄屏仍沿用其内容并让容器缩到当前画布。 */
html[data-template="13"] .red_bg > uni-view,
html[data-template="13"] .red_bg uni-swiper,
html[data-template="13"] .red_bg .swiper-container {
    width:100% !important;
    max-width:100%;
}
/* 兼容旧版商城与个人页中的独立红色页头、购买按钮。 */
html[data-template="13"] .header,
html[data-template="13"] .index_header,
html[data-template="13"] .icon_header,
html[data-template="13"] .red_bg {
    background:var(--t13-header-lines) right center / cover no-repeat, linear-gradient(115deg, #f4f5f5, #f4f5f5);
    color:#ffffff;
}
html[data-template="13"] .com-button,
html[data-template="13"] .coupon-buy,
html[data-template="13"] .buy-btn-copy,
html[data-template="13"] .getTbk {
    border-color:var(--theme-primary);
    border-radius:999px;
    background:var(--theme-primary) !important;
    color:#ffffff;
}
/* 模板 13：柔粉花瓣、玫瑰红与奶油浅金；只覆盖视觉，不改变任何业务开关。 */
html[data-template="13"] {
    --t13-page: #fff4f3;
    --t13-ink: #3e2027;
    --t13-muted: #a08487;
    --t13-line: #f0dfe0;
    --t13-shadow: 0 6px 20px rgba(155, 74, 89, .055);
    background:#f9fafa;
}
html[data-template="13"] body {
    background-image:url("minimal-lines.svg"), linear-gradient(180deg, #f9fafa, #f9fafa);
    background-position:center top;
    background-size:520px auto, 100% 100%;
    background-repeat:repeat-y, no-repeat;
    box-shadow:0 0 0 1px rgba(182, 90, 108, .06);
}
/* 花瓣页头使用深色文字，避免浅粉底上的白字难以辨认。 */
html[data-template="13"] .finance-header {
    min-height:64px;
    padding:14px;
    background:var(--t13-header-lines) right top / 520px auto no-repeat, linear-gradient(110deg, #f4f5f5, #f9fafa 55%, #f4f5f5);
    color:var(--t13-ink);
}
html[data-template="13"] .finance-header h1 { font-size:19px; color:var(--t13-ink); }
html[data-template="13"] .finance-header .finance-icon-button { color:#2c3637; }
html[data-template="13"] .header,
html[data-template="13"] .header.header-color,
html[data-template="13"] .header-background,
html[data-template="13"] .index_header,
html[data-template="13"] .icon_header,
html[data-template="13"] .red_bg {
    background:var(--t13-header-lines) right top / 520px auto no-repeat, linear-gradient(110deg, #f4f5f5, #f9fafa 55%, #f4f5f5);
    color:var(--t13-ink);
}
html[data-template="13"] .header-title,
html[data-template="13"] .header.header-color a { color:#2c3637 !important; }

/* 主按钮保留原点击/提交行为，采用参考图的玫瑰光泽渐变。 */
html[data-template="13"] .finance-submit,
html[data-template="13"] .business-content .submit-btn,
html[data-template="13"] .business-content .open-btn,
html[data-template="13"] .product-primary,
html[data-template="13"] .registration-agree,
html[data-template="13"] .app-primary-link,
html[data-template="13"] .promotion-copy-submit,
html[data-template="13"] .store-search button[type="submit"],
html[data-template="13"] .store-checkout,
html[data-template="13"] .button.bg-yellow,
html[data-template="13"] .button.bg-blue,
html[data-template="13"] .button.bg-main,
html[data-template="13"] .btnzbz,
html[data-template="13"] .w-logout a {
    background:linear-gradient(180deg, #ebeded 0%, #657d81 42%, #657d81 100%);
    border-color:#e6e9e9;
    box-shadow:0 4px 9px rgba(173, 62, 86, .10), inset 0 1px 0 rgba(255,255,255,.35);
    color:#ffffff !important;
}
html[data-template="13"] .finance-submit-bar,
html[data-template="13"] .product-action-bar { background:rgba(255, 249, 247, .98); border-color:#e6e9e9; }
html[data-template="13"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="13"] .finance-field select,
html[data-template="13"] .finance-field textarea { border-color:#e6e9e9; background-color:#f9fafa; }
html[data-template="13"] .finance-record,
html[data-template="13"] .orders-card,
html[data-template="13"] .registration-intro,
html[data-template="13"] .profile-intro,
html[data-template="13"] .password-intro,
html[data-template="13"] .messages-card,
html[data-template="13"] .business-address { background:rgba(255, 253, 250, .97); }

/* 首页品牌居中在搜索框上方；配置的商城名称和广告保持不变。 */
html[data-template="13"] .t13-home-header {
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding:19px 14px 11px;
    background:var(--t13-header-lines) center top / 520px auto no-repeat, linear-gradient(115deg, #f9fafa, #f9fafa 54%, #f4f5f5);
    color:#2c3637;
}
html[data-template="13"] .t13-store-brand { flex:0 0 auto; justify-content:center; gap:9px; font-size:23px; letter-spacing:1px; }
html[data-template="13"] .t13-store-brand svg { width:32px; height:35px; flex-basis:32px; }
html[data-template="13"] .t13-home-header .store-search { flex:0 0 auto; }
html[data-template="13"] .t13-home-header .store-search form { min-height:44px; gap:6px; padding:4px 5px 4px 8px; border:1px solid #e6e9e9; background:rgba(255,255,255,.96); }
html[data-template="13"] .t13-home-header .store-search input[type="text"] { min-height:34px; font-size:14px; }
html[data-template="13"] .t13-home-header .store-search .store-language { flex-basis:27px; }
html[data-template="13"] .store-tabs { margin-bottom:12px; padding-top:6px; padding-bottom:10px; background:rgba(252,232,232,.9); }
html[data-template="13"] .store-tabs a { color:#2c3637 !important; }
html[data-template="13"] .store-shortcuts { background:rgba(255, 250, 246, .94); border-color:#e6e9e9; }
html[data-template="13"] .store-shortcuts .picicon > div { background:linear-gradient(150deg, #f9fafa, #f4f5f5 52%, #f4f5f5); }
html[data-template="13"] .store-shortcuts .store-shortcut-icon { color:#2c3637; }
html[data-template="13"] .store-shortcuts .item:nth-child(3) .picicon > div { background:linear-gradient(150deg, #f9fafa, #f4f5f5); }
html[data-template="13"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color:#7e969a; }
html[data-template="13"] .store-news { background:#f9fafa; border-color:#e6e9e9; }
html[data-template="13"] .store-products > .item { background:#f9fafa; border-color:#e6e9e9; }
html[data-template="13"] .store-products .examine { background:#f9fafa; }
html[data-template="13"] .store-products .text-lg,
html[data-template="13"] .product-price { color:#2c3637; }

/* 会员页使用柔粉身份区及水晶皇冠装饰。徽章与用户等级仍读取原数据。 */
html[data-template="13"] .w-profile {
    min-height:143px;
    padding:26px 17px 31px;
    background:var(--t13-header-lines) right 16px bottom 5px / 110px 86px no-repeat,
                var(--t13-header-lines) right top / 520px auto no-repeat,
                linear-gradient(110deg, #f4f5f5, #f9fafa 57%, #f4f5f5);
    color:#2c3637;
}
html[data-template="13"] .w-avatar { border-color:rgba(255, 251, 243, .8); background:#f9fafa; }
html[data-template="13"] .w-profile-meta { color:#2c3637; }
html[data-template="13"] .w-profile-meta > span:first-of-type { border:1px solid #e6e9e9; border-radius:999px; padding:1px 8px; background:linear-gradient(115deg, #f4f5f5, #ebeded); color:#ffffff; }
html[data-template="13"] .w-language { color:#2c3637; }
html[data-template="13"] .w-tabs { border-color:#e6e9e9; background:rgba(255,251,247,.97); }
html[data-template="13"] .w-tab.is-active { background:#f4f5f5; color:#2c3637; }
html[data-template="13"] .w-overview-balance-row { border-color:#e6e9e9; background:linear-gradient(130deg, #f9fafa, #f9fafa); box-shadow:0 6px 16px rgba(179,102,109,.06); }
html[data-template="13"] .w-overview-balance-row .w-balance-value,
html[data-template="13"] .t13-summary-stat strong { color:#2c3637; }
html[data-template="13"] .t13-summary-stat { border-color:#e6e9e9; }
html[data-template="13"] .w-quick-actions,
html[data-template="13"] .w-service-grid,
html[data-template="13"] #wode-account-list { border-color:#e6e9e9; background:rgba(255,252,248,.97); }
html[data-template="13"] .w-quick-icon,
html[data-template="13"] .w-service-icon { background:linear-gradient(155deg, #f9fafa, #f4f5f5 54%, #f4f5f5); color:#2c3637; border-radius:13px; }
html[data-template="13"] .w-account-symbol { color:#2c3637; background:#f4f5f5; }
html[data-template="13"] .w-account-symbol.is-green { color:#7e969a; background:#f4f5f5; }
html[data-template="13"] .w-account-symbol.is-gold { color:#7e969a; background:#f9fafa; }
html[data-template="13"] .w-account-symbol.is-purple { color:#7e969a; background:#f4f5f5; }
html[data-template="13"] .w-account-row { border-color:#e6e9e9; }
html[data-template="13"] .w-account-value { color:#2c3637; }

/* 提现卡的装饰钱包不参与表单或金额计算。 */
html[data-template="13"][data-template-page="tixian"] .finance-balance-card {
    min-height:126px;
    padding-right:115px;
    background:url("minimal-wallet.svg") right 12px center / 96px 84px no-repeat,
                linear-gradient(120deg, #f9fafa, #f4f5f5 65%, #f4f5f5);
    border-color:#e6e9e9;
}
html[data-template="13"][data-template-page="tixian"] .withdrawal-balance-row { flex-direction:column; align-items:flex-start; gap:5px; }
html[data-template="13"][data-template-page="tixian"] .finance-balance-name { max-width:100%; gap:6px; color:#2c3637; font-size:14px; }
html[data-template="13"][data-template-page="tixian"] .finance-balance-card strong { margin-top:1px; font-size:clamp(28px, 8vw, 35px); color:#2c3637; }
html[data-template="13"] .t13-bonus-overview { border-color:#e6e9e9; background:url("minimal-lines.svg") right bottom / 520px auto no-repeat, linear-gradient(115deg, #f9fafa, #f4f5f5); }
html[data-template="13"] .t13-bonus-overview strong { color:#2c3637; }
html[data-template="13"] .bonus-page .finance-record .row:not(:first-child) { color:#2c3637; }
html[data-template="13"] .orders-tab.is-active { background:#f4f5f5; color:#2c3637 !important; }
html[data-template="13"] .orders-state { color:#2c3637; }
html[data-template="13"] .orders-action { border-color:#e6e9e9; background:#f9fafa; color:#2c3637; }
html[data-template="13"] #site-footer.site-footer { border-color:#e6e9e9; background:rgba(255,249,247,.98) !important; }
html[data-template="13"] #site-footer .site-footer-item { color:#7e969a !important; }
html[data-template="13"] #site-footer .site-footer-item.is-current { color:#2c3637 !important; }
@media (max-width: 359px) {
    html[data-template="13"] .t13-store-brand { flex-basis:auto; font-size:20px; }
    html[data-template="13"] .w-profile { padding-left:13px; padding-right:13px; }
    html[data-template="13"][data-template-page="tixian"] .finance-balance-card { padding-right:97px; background-size:81px 71px, auto; }
}


/* 模板 13：商务深蓝商城。公共主题只改变展示，不改变页面业务开关和提交逻辑。 */
html[data-template="13"] {
    --t13-page: #f8f8f8;
    --t13-card: #ffffff;
    --t13-ink: #2c3739;
    --t13-muted: #7e969a;
    --t13-line: #e8eaeb;
    --t13-radius: 14px;
    --t13-shadow: 0 5px 18px rgba(31, 81, 148, .055);
    --t13-button: linear-gradient(120deg, #738d91, #60777b);
    background: #0f1314;
    color-scheme: light;
}
html[data-template="13"] body {
    background: linear-gradient(180deg, #f0f2f2, #fafbfb 480px) !important;
    color: var(--t13-ink);
    box-shadow: 0 0 0 1px rgba(27,133,255,.45), 0 0 25px rgba(0,129,241,.13);
    --finance-blue: var(--theme-primary);
    --finance-text: var(--t13-ink);
    --finance-muted: var(--t13-muted);
    --finance-line: var(--t13-line);
    --finance-soft: #f7f8f8;
    --w-blue: var(--theme-primary);
    --w-text: var(--t13-ink);
    --w-muted: var(--t13-muted);
    --w-line: var(--t13-line);
    --w-soft: #f5f6f7;
}
html[data-template="13"] h1,
html[data-template="13"] h2,
html[data-template="13"] h3 { color: var(--t13-ink); }
html[data-template="13"] a { color: inherit; }
/* 页头的蓝色波纹使用本地 SVG，内容区仍采用浅色卡片。 */
html[data-template="13"] .finance-header,
html[data-template="13"] .header,
html[data-template="13"] .header.header-color,
html[data-template="13"] .header-background,
html[data-template="13"] .index_header,
html[data-template="13"] .icon_header,
html[data-template="13"] .red_bg {
    background: var(--t13-header-lines) right bottom / 520px auto no-repeat, linear-gradient(115deg, #212829, #455557);
    color: #fff;
    border-bottom: 1px solid rgba(88,175,255,.18);
}
html[data-template="13"] .finance-header h1,
html[data-template="13"] .finance-header .finance-icon-button,
html[data-template="13"] .header-title,
html[data-template="13"] .header.header-color a { color: #fff !important; }
html[data-template="13"] .finance-header { min-height: 62px; }
html[data-template="13"] .finance-record,
html[data-template="13"] .orders-card,
html[data-template="13"] .messages-card,
html[data-template="13"] .business-address,
html[data-template="13"] .profile-intro,
html[data-template="13"] .password-intro,
html[data-template="13"] .registration-intro,
html[data-template="13"] .finance-empty,
html[data-template="13"] .finance-account-card,
html[data-template="13"] .finance-info-card,
html[data-template="13"] .app-download-card,
html[data-template="13"] .app-install-guide,
html[data-template="13"] .qr-card,
html[data-template="13"] .promotion-link-card,
html[data-template="13"] .product-summary,
html[data-template="13"] .business-content .message,
html[data-template="13"] .new-category-li,
html[data-template="13"] .store-cart .product-box,
html[data-template="13"] .finance-page:not(.store-page) .finance-form {
    border: 1px solid #eaeced;
    background: rgba(255,255,255,.98);
    box-shadow: var(--t13-shadow);
}
html[data-template="13"] .finance-record .row,
html[data-template="13"] .orders-card-header,
html[data-template="13"] .orders-card-actions { border-color: #eef0f0; }
html[data-template="13"] input:not([type]),
html[data-template="13"] input[type="text"],
html[data-template="13"] input[type="password"],
html[data-template="13"] input[type="number"],
html[data-template="13"] input[type="search"],
html[data-template="13"] input[type="email"],
html[data-template="13"] input[type="tel"],
html[data-template="13"] input[type="date"],
html[data-template="13"] input[type="datetime-local"],
html[data-template="13"] select,
html[data-template="13"] textarea,
html[data-template="13"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]) {
    background-color: #f8f8f8;
    border-color: #e6e9e9;
    color: #323e3f;
}
html[data-template="13"] input::placeholder,
html[data-template="13"] textarea::placeholder { color: #8ca2a5; opacity: 1; }
html[data-template="13"] .finance-field > label,
html[data-template="13"] .finance-field > .finance-label { color: #374446; }
html[data-template="13"] input:focus,
html[data-template="13"] textarea:focus,
html[data-template="13"] select:focus { border-color: var(--theme-primary); outline-color: var(--theme-primary); box-shadow: 0 0 0 3px rgba(7,88,223,.08); }
html[data-template="13"] input[type="checkbox"],
html[data-template="13"] input[type="radio"] { accent-color: var(--theme-primary); }
html[data-template="13"] .finance-submit,
html[data-template="13"] .business-content .submit-btn,
html[data-template="13"] .business-content .open-btn,
html[data-template="13"] .product-primary,
html[data-template="13"] .registration-agree,
html[data-template="13"] .app-primary-link,
html[data-template="13"] .promotion-copy-submit,
html[data-template="13"] .store-search button[type="submit"],
html[data-template="13"] .store-checkout,
html[data-template="13"] .button.bg-yellow,
html[data-template="13"] .button.bg-blue,
html[data-template="13"] .button.bg-main,
html[data-template="13"] .btnzbz,
html[data-template="13"] .w-logout a {
    border: 1px solid #748e92;
    background: var(--t13-button);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 9px rgba(11,81,196,.12);
    color: #fff !important;
}
html[data-template="13"] .finance-submit-bar,
html[data-template="13"] .product-action-bar { background: rgba(255,255,255,.98); border-color: #ebedee; }
html[data-template="13"] .finance-secondary-link,
html[data-template="13"] .app-secondary-link,
html[data-template="13"] .orders-action,
html[data-template="13"] .product-secondary { background: #f5f6f7; border-color: #dfe2e2; color: #4e6163; }
html[data-template="13"] .finance-account-row-icon,
html[data-template="13"] .profile-intro-icon,
html[data-template="13"] .registration-intro-icon,
html[data-template="13"] .password-intro-icon { background: #f3f5f5; color: #6a8386; }
html[data-template="13"] .finance-pagination-summary { color: #7f979a; }
html[data-template="13"] .finance-balance-card { border-color: #dde0e0; background: linear-gradient(120deg, #f3f4f4, #eaeced); }
html[data-template="13"] .finance-balance-label { color: #80989c; }
html[data-template="13"] .finance-balance-name { color: #55696c; }
html[data-template="13"] .finance-balance-card strong { color: #344143; }

/* 首页保留原商城名称、搜索、语言切换和可配置分类入口。 */
html[data-template="13"] .store-shouye .finance-shell { padding-top: 0; }
html[data-template="13"] .t13-home-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 19px 13px 11px;
    background: linear-gradient(115deg, #283233, #47585b);
    color: #fff;
}
html[data-template="13"] .t13-store-brand { flex: 0 1 146px; justify-content: flex-start; gap: 6px; font-size: 17px; letter-spacing: 0; }
html[data-template="13"] .t13-store-brand svg { width: 25px; height: 28px; flex-basis: 25px; filter: drop-shadow(0 0 4px rgba(113,222,255,.6)); }
html[data-template="13"] .t13-home-header .store-search { flex: 1; }
html[data-template="13"] .t13-home-header .store-search form { min-height: 38px; margin: 0; padding: 3px 5px; border: 1px solid #d0d5d6; background: #f5f6f7; box-shadow: inset 0 1px 3px rgba(13,66,134,.08); }
html[data-template="13"] .t13-home-header .store-search input[type="text"] { min-height: 30px; padding: 5px 3px; font-size: 12px; background: transparent; color: #415153; }
html[data-template="13"] .t13-home-header .store-search .store-language { flex: 0 0 23px; min-height: 30px; color: #596f72; }
html[data-template="13"] .t13-home-header .store-search button { padding: 4px 8px; min-height: 28px; font-size: 11px; }
html[data-template="13"] .store-tabs { margin-bottom: 10px; padding: 6px 13px 10px; background: #3d4b4d; }
html[data-template="13"] .store-tabs a { color: #d7dbdc !important; }
html[data-template="13"] .store-tabs .action a { color: #fff !important; }
html[data-template="13"] .store-banner { margin-bottom: 12px; border: 1px solid #b7c4c6; border-radius: 14px; background: #4f6265; box-shadow: 0 5px 12px rgba(10,75,161,.1); }
html[data-template="13"] .store-slide-controls button { background: rgba(239,248,255,.95); color: #5f767a; }
/* 蓝色立体圆形图标与白色快捷卡片，对齐参考图的明亮内容区。 */
html[data-template="13"] .store-shortcuts { background: #fff; border: 1px solid #e8eaea; border-radius: 15px; padding: 12px 6px 10px; box-shadow: 0 4px 14px rgba(12,72,148,.05); }
html[data-template="13"] .store-shortcuts .picicon > div,
html[data-template="13"] .store-shortcuts .item:nth-child(3) .picicon > div { width: 39px !important; height: 39px !important; border: 1px solid #a4b5b8; border-radius: 50% !important; background: radial-gradient(circle at 30% 15%, #b4c2c4, #82999c 49%, #647c80 90%); box-shadow: inset 0 1px 2px rgba(255,255,255,.8), 0 3px 6px rgba(10,90,219,.14); }
html[data-template="13"] .store-shortcuts .store-shortcut-icon,
html[data-template="13"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color: #fff; }
html[data-template="13"] .store-shortcuts .store-shortcut-icon svg { width: 23px; height: 23px; }
html[data-template="13"] .store-shortcuts h3,
html[data-template="13"] .store-shortcuts span { color: #374446 !important; font-size: 11px; }
html[data-template="13"] .store-news { border: 1px solid #eceeee; background: #fff; color: #7b9497; }
html[data-template="13"] .store-news span { color: #7b9497 !important; }
html[data-template="13"] .store-products { gap: 10px; }
html[data-template="13"] .store-products > .item { padding: 8px; border-color: #eceeee; background: #fff; box-shadow: 0 3px 10px rgba(30,73,140,.035); }
html[data-template="13"] .store-products .examine { border-radius: 12px; background: #f6f7f7; }
html[data-template="13"] .store-products .text-cut-2 > span { color: #344042 !important; }
html[data-template="13"] .store-products .text-lg,
html[data-template="13"] .product-price { color: #495b5e; }
html[data-template="13"] .store-products .cu-tag { background: #f5f6f7; color: #627a7d; }
html[data-template="13"] .store-category-list li,
html[data-template="13"] .new-category2-lst { background: #f4f5f6; }
html[data-template="13"] .store-category-list .is-current { background: #eaeced; color: #5c7376; }
html[data-template="13"] .store-cart .product-name { color: #2f3a3b !important; }

/* 会员头部深蓝、汇总卡浅白，所有余额与人数继续读取原字段。 */
html[data-template="13"] .w-profile { min-height: 143px; background: var(--t13-header-lines) right bottom / 520px auto no-repeat, linear-gradient(115deg, #293335, #516466); color: #fff; }
html[data-template="13"] .w-avatar { border-color: #e0e3e3; background: #f3f5f5; box-shadow: 0 3px 12px rgba(0,18,70,.2); }
html[data-template="13"] .w-profile-meta,
html[data-template="13"] .w-language { color: #eaecec; }
html[data-template="13"] .w-profile-meta > span:first-of-type { border: 1px solid #e9cc8f; background: linear-gradient(115deg, #fff1c7, #f5d487); color: #775015; }
html[data-template="13"] .w-tabs { background: #fff; border-color: #eaecec; box-shadow: 0 3px 12px rgba(26,80,155,.04); }
html[data-template="13"] .w-tab { color: #899fa2; }
html[data-template="13"] .w-tab.is-active { background: #f1f2f2; color: #5d7477; }
html[data-template="13"] .w-overview-balance-row { border-color: #e7e9e9; background: linear-gradient(130deg, #fff, #f9f9f9); box-shadow: 0 5px 14px rgba(33,88,163,.05); }
html[data-template="13"] .w-overview-balance-row .w-balance-value,
html[data-template="13"] .t13-summary-stat strong { color: #323e3f; }
html[data-template="13"] .w-balance-label,
html[data-template="13"] .t13-summary-stat span { color: #799296; }
html[data-template="13"] .t13-summary-stat { border-color: #ebedee; }
html[data-template="13"] .w-quick-actions,
html[data-template="13"] .w-service-grid,
html[data-template="13"] #wode-account-list { background: #fff; border-color: #e9ebeb; }
html[data-template="13"] .w-quick-icon,
html[data-template="13"] .w-service-icon { border: 1px solid #a5b6b9; border-radius: 12px; background: radial-gradient(circle at 30% 15%, #b1bfc1, #849b9e 55%, #60777a); color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 3px 6px rgba(10,85,203,.1); }
html[data-template="13"] .w-service-text h2 { color: #364344; }
html[data-template="13"] .w-account-symbol,
html[data-template="13"] .w-account-symbol.is-green,
html[data-template="13"] .w-account-symbol.is-purple { color: #678084; background: #f3f5f5; }
html[data-template="13"] .w-account-symbol.is-gold { color: #b0822d; background: #fff4dc; }
html[data-template="13"] .w-account-value { color: #333f40; }
html[data-template="13"] .w-account-row { border-color: #ebedee; }
html[data-template="13"] .w-community a { background: #fff; border-color: #e6e9e9; }
html[data-template="13"] #wode-page .w-balance-panel { border-color: #bcc8ca; background: url("minimal-lines.svg") right bottom / cover no-repeat, linear-gradient(110deg, #4c5e60, #6d878a); color: #fff; }
html[data-template="13"] #wode-page .w-balance-panel .w-balance-action { background: #fff; color: #657d81; }

/* 提现卡和奖金汇总使用商务蓝装饰，不添加或计算额外业务金额。 */
html[data-template="13"][data-template-page="tixian"] .finance-balance-card { min-height: 124px; padding-right: 112px; border-color: #d4d8d9; background: url("minimal-wallet.svg") right 9px center / 100px 86px no-repeat, linear-gradient(120deg, #f5f6f6, #e3e6e6); }
html[data-template="13"][data-template-page="tixian"] .finance-balance-name { color: #708b8f; }
html[data-template="13"][data-template-page="tixian"] .finance-balance-card strong { color: #445557; }
html[data-template="13"] .t13-bonus-overview { border-color: #d8dcdd; background: url("minimal-lines.svg") right bottom / 520px auto no-repeat, linear-gradient(115deg, #5d7477, #708b8f); color: #eaecec; }
html[data-template="13"] .t13-bonus-overview strong { color: #fff; }
html[data-template="13"] .bonus-page .finance-record .row:not(:first-child) { color: #576b6e; }
html[data-template="13"] .orders-tabs { background: #fff; }
html[data-template="13"] .orders-tab.is-active { background: #eff1f1; color: #5e7477 !important; }
html[data-template="13"] .orders-state { color: #657d81; }
html[data-template="13"] .orders-product img { background: #f6f7f7; }
html[data-template="13"] .front-language-choice { background: #fff; border-color: #e8eaeb; }
html[data-template="13"] .front-language-choice[aria-pressed="true"] { background: #f3f4f4; border-color: #869da0; color: #5e7578; }
html[data-template="13"] .front-language-choice strong { color: inherit; }
html[data-template="13"] .t13-table-scroll,
html[data-template="13"] .table-container,
html[data-template="13"] .t13-data-table { background: #fff; }
html[data-template="13"] .t13-data-table th { background: #f3f4f4; color: #4b5d60; }
html[data-template="13"] .t13-data-table tbody tr:nth-child(even) { background: #fafafa; }
html[data-template="13"] .qr-code,
html[data-template="13"] .qr-code-box,
html[data-template="13"] .qr-image { background: #fff; }
html[data-template="13"] #site-footer.site-footer { background: rgba(255,255,255,.98) !important; border-top: 1px solid #eaecec; box-shadow: 0 -3px 13px rgba(21,77,151,.035); }
html[data-template="13"] #site-footer .site-footer-item { color: #9cafb1 !important; }
html[data-template="13"] #site-footer .site-footer-item.is-current { color: #657d81 !important; }
html[data-template="13"] .finance-pagination a,
html[data-template="13"] .finance-pagination input[type="button"],
html[data-template="13"] .orders-pagination a,
html[data-template="13"] .front-pagination-button.front-pagination-button { background: #657d81; color: #fff; }
@media (max-width: 359px) {
    html[data-template="13"] .t13-store-brand { flex-basis: 111px; font-size: 14px; }
    html[data-template="13"] .t13-home-header { gap: 7px; padding-left: 10px; padding-right: 10px; }
    html[data-template="13"] .t13-store-brand svg { width: 21px; flex-basis: 21px; }
    html[data-template="13"] .t13-home-header .store-search input[type="text"] { font-size: 11px; }
    html[data-template="13"] .t13-home-header .store-search button { padding: 3px 5px; }
    html[data-template="13"][data-template-page="tixian"] .finance-balance-card { padding-right: 94px; background-size: 82px 73px, auto; }
}


/* 模板 13：极简清新。只调整显示层，表单、权限、金额与多语言判断保留。 */
html[data-template="13"] {
    --t13-page: #f6f8f9;
    --t13-ink: #19252d;
    --t13-muted: #8a969e;
    --t13-line: #e6ebee;
    --t13-shadow: 0 3px 14px rgba(30,49,63,.025);
    --t13-button: #26363c;
    background: #081420;
    color-scheme: light;
}
html[data-template="13"] body {
    background: linear-gradient(180deg, #f2f6f9, #fafbfc 510px) !important;
    color: var(--t13-ink);
    box-shadow: 0 0 0 1px #e2e9ef, 0 0 24px rgba(195,224,244,.1);
    --finance-text: var(--t13-ink);
    --finance-muted: var(--t13-muted);
    --finance-line: var(--t13-line);
    --finance-soft: #f3f6f7;
    --w-text: var(--t13-ink);
    --w-muted: var(--t13-muted);
    --w-line: var(--t13-line);
    --w-soft: #f3f6f7;
}
html[data-template="13"] h1,
html[data-template="13"] h2,
html[data-template="13"] h3 { color: #19252d; }
html[data-template="13"] .finance-header,
html[data-template="13"] .header,
html[data-template="13"] .header.header-color,
html[data-template="13"] .header-background,
html[data-template="13"] .index_header,
html[data-template="13"] .icon_header,
html[data-template="13"] .red_bg { background: #f7f9fb; color: #1b2933; border-color: #edf0f2; }
html[data-template="13"] .finance-header h1,
html[data-template="13"] .finance-header .finance-icon-button,
html[data-template="13"] .header-title,
html[data-template="13"] .header.header-color a { color: #1b2933 !important; }
html[data-template="13"] .finance-record,
html[data-template="13"] .orders-card,
html[data-template="13"] .messages-card,
html[data-template="13"] .business-address,
html[data-template="13"] .registration-intro,
html[data-template="13"] .profile-intro,
html[data-template="13"] .password-intro,
html[data-template="13"] .finance-empty,
html[data-template="13"] .finance-account-card,
html[data-template="13"] .finance-info-card,
html[data-template="13"] .app-download-card,
html[data-template="13"] .app-install-guide,
html[data-template="13"] .qr-card,
html[data-template="13"] .promotion-link-card,
html[data-template="13"] .product-summary,
html[data-template="13"] .new-category-li,
html[data-template="13"] .store-cart .product-box,
html[data-template="13"] .finance-page:not(.store-page) .finance-form { background: #fff; border-color: #e8edf0; box-shadow: var(--t13-shadow); }
html[data-template="13"] .finance-submit,
html[data-template="13"] .business-content .submit-btn,
html[data-template="13"] .business-content .open-btn,
html[data-template="13"] .product-primary,
html[data-template="13"] .registration-agree,
html[data-template="13"] .app-primary-link,
html[data-template="13"] .promotion-copy-submit,
html[data-template="13"] .store-search button[type="submit"],
html[data-template="13"] .store-checkout,
html[data-template="13"] .button.bg-yellow,
html[data-template="13"] .button.bg-blue,
html[data-template="13"] .button.bg-main,
html[data-template="13"] .btnzbz,
html[data-template="13"] .w-logout a { background: var(--theme-primary); color: #fff !important; border: 1px solid #26363c; box-shadow: none; }
html[data-template="13"] .finance-submit-bar,
html[data-template="13"] .product-action-bar { background: rgba(255,255,255,.98); border-color: #e8edf0; }
html[data-template="13"] .finance-secondary-link,
html[data-template="13"] .app-secondary-link,
html[data-template="13"] .orders-action,
html[data-template="13"] .product-secondary { background: #f3f6f7; border-color: #dde4e7; color: #43555f; }
html[data-template="13"] input:not([type]),
html[data-template="13"] input[type="text"],
html[data-template="13"] input[type="password"],
html[data-template="13"] input[type="number"],
html[data-template="13"] input[type="search"],
html[data-template="13"] input[type="email"],
html[data-template="13"] input[type="tel"],
html[data-template="13"] input[type="date"],
html[data-template="13"] input[type="datetime-local"],
html[data-template="13"] select,
html[data-template="13"] textarea,
html[data-template="13"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]) { background-color: #f5f7f8; border-color: #e3e9ec; color: #344650; }
html[data-template="13"] input:focus,
html[data-template="13"] select:focus,
html[data-template="13"] textarea:focus { border-color: #708d8f; outline-color: #708d8f; box-shadow: 0 0 0 3px rgba(62,88,90,.04); }
html[data-template="13"] .t13-home-header { background: #f5f8fb; color: #1b2833; }
html[data-template="13"] .t13-store-brand svg { filter: none; }
html[data-template="13"] .t13-home-header .store-search form { background: #fff; border-color: #e5ebf0; box-shadow: none; }
html[data-template="13"] .t13-home-header .store-search input[type="text"] { background: transparent; color: #465b68; }
html[data-template="13"] .t13-home-header .store-search .store-language { color: #6e838b; }
html[data-template="13"] .store-tabs { background: #edf2f5; }
html[data-template="13"] .store-tabs a { color: #86949e !important; }
html[data-template="13"] .store-tabs .action a { color: #253c49 !important; }
html[data-template="13"] .store-banner { background: #eef1ef; border-color: #e1e7e6; box-shadow: none; }
html[data-template="13"] .store-shortcuts,
html[data-template="13"] .w-quick-actions,
html[data-template="13"] .w-service-grid,
html[data-template="13"] #wode-account-list { background: #fff; border-color: #e9eef0; box-shadow: none; }
html[data-template="13"] .store-shortcuts .picicon > div,
html[data-template="13"] .store-shortcuts .item:nth-child(3) .picicon > div,
html[data-template="13"] .w-quick-icon,
html[data-template="13"] .w-service-icon { background: #f1f4f3; border: 0; color: #22373b; box-shadow: none; }
html[data-template="13"] .store-shortcuts .store-shortcut-icon,
html[data-template="13"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color: #22373b; }
html[data-template="13"] .store-shortcuts .item:first-child .store-shortcut-icon { color: #48775a; }
html[data-template="13"] .store-shortcuts h3,
html[data-template="13"] .store-shortcuts span { color: #263640 !important; }
html[data-template="13"] .store-news { background: #fff; border-color: #e8edef; }
html[data-template="13"] .store-news span { color: #85959c !important; }
html[data-template="13"] .store-products > .item { background: #fff; border-color: #e9edef; box-shadow: none; }
html[data-template="13"] .store-products .examine { background: #f4f6f7; }
html[data-template="13"] .store-products .text-cut-2 > span { color: #33454e !important; }
html[data-template="13"] .store-products .text-lg,
html[data-template="13"] .product-price { color: #1e303a; }
html[data-template="13"] .w-profile { background: var(--t13-header-lines) right center / 520px auto no-repeat, linear-gradient(115deg, #eef4f3, #f7f8f5); color: #243a40; }
html[data-template="13"] .w-avatar { border-color: #fff; background: #e6efeb; box-shadow: 0 3px 10px rgba(36,62,47,.04); }
html[data-template="13"] .w-profile-meta,
html[data-template="13"] .w-language { color: #7e9394; }
html[data-template="13"] .w-profile-meta > span:first-of-type { background: #e6eee7; border-color: #d0dfd3; color: #64806c; }
html[data-template="13"] .w-overview-balance-row { background: #fff; border-color: #e3ebe8; box-shadow: none; }
html[data-template="13"] .w-overview-balance-row .w-balance-value,
html[data-template="13"] .t13-summary-stat strong { color: #263c42; }
html[data-template="13"] .w-tab.is-active { background: #e9f0ed; color: #3d6358; }
html[data-template="13"] .w-account-symbol,
html[data-template="13"] .w-account-symbol.is-purple { background: #eef2f3; color: #617b84; }
html[data-template="13"] .w-account-symbol.is-green { background: #eef4ef; color: #68816b; }
html[data-template="13"] .w-account-symbol.is-gold { background: #f5f2e9; color: #a08e64; }
html[data-template="13"] .w-account-value { color: #263c42; }
html[data-template="13"] .finance-balance-card { background: #eef4f1; border-color: #d8e5dc; }
html[data-template="13"][data-template-page="tixian"] .finance-balance-card { background: url("minimal-wallet.svg") right 9px center / 100px 86px no-repeat, #edf4ef; border-color: #d6e3d9; }
html[data-template="13"][data-template-page="tixian"] .finance-balance-card strong { color: #2d5044; }
html[data-template="13"] .t13-bonus-overview { background: url("minimal-lines.svg") right center / 520px auto no-repeat, #eaf1ec; border-color: #d3e1d8; color: #738d7b; }
html[data-template="13"] .t13-bonus-overview strong { color: #335748; }
html[data-template="13"] .orders-tabs { background: #fff; }
html[data-template="13"] .orders-tab.is-active { background: #eaf1ee; color: #436559 !important; }
html[data-template="13"] .front-language-choice[aria-pressed="true"] { background: #eef4f0; border-color: #9bb5a4; color: #3f6552; }
html[data-template="13"] #site-footer.site-footer { background: rgba(255,255,255,.98) !important; border-color: #e7edf0; box-shadow: none; }
html[data-template="13"] #site-footer .site-footer-item { color: #9ba8b3 !important; }
html[data-template="13"] #site-footer .site-footer-item.is-current { color: #192b39 !important; }
html[data-template="13"] .finance-pagination a,
html[data-template="13"] .finance-pagination input[type="button"],
html[data-template="13"] .orders-pagination a,
html[data-template="13"] .front-pagination-button.front-pagination-button { background: var(--theme-primary); color: #fff; }
/* 二维码保持白底，结构图继续使用业务配置的等级/激活状态色。 */
html[data-template="13"] .qr-code,
html[data-template="13"] .qr-code-box,
html[data-template="13"] .qr-image { background: #fff; }

/* 顶部细线缓慢流动，保持原栏目尺寸与布局。 */
:root { --t13-header-lines: url("minimal-lines-animated.svg?v=20261117"); }
@media (prefers-reduced-motion: reduce) { :root { --t13-header-lines: url("minimal-lines.svg"); } }
