/* 前台模板 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;
}

/* 模板 16：自然绿色商城。这里只定义表现，原开关、金额、订单状态和提交方式均保留。 */
html[data-template="16"] {
    --t16-page: #f6f6f6;
    --t16-card: #ffffff;
    --t16-ink: #272727;
    --t16-muted: #878787;
    --t16-line: #e3e3e3;
    --t16-shadow: 0 5px 18px rgba(134, 50, 65, .055);
    --t16-radius: 17px;
    background:#fafafa;
    color-scheme:light;
    scroll-padding-top:76px;
}
html[data-template="16"] body {
    box-sizing:border-box;
    max-width:520px;
    min-height:100vh;
    margin:0 auto;
    background:var(--t16-page) !important;
    color:var(--t16-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="16"] body *,
html[data-template="16"] body *::before,
html[data-template="16"] body *::after { box-sizing:border-box; }
html[data-template="16"] body { --finance-blue: var(--theme-primary); --finance-text: var(--t16-ink); --finance-muted: var(--t16-muted); --finance-soft: #f5f5f5; --finance-line: var(--t16-line); --w-blue: var(--theme-primary); --w-text: var(--t16-ink); --w-muted: var(--t16-muted); --w-soft: #f6f6f6; --w-line: var(--t16-line); }
html[data-template="16"] body a { text-decoration:none; }
html[data-template="16"] .finance-shell,
html[data-template="16"] .w-shell { width:100%; max-width:520px; padding:0 12px 14px; margin:0 auto; }
html[data-template="16"] .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:none right center / cover no-repeat, linear-gradient(120deg, #f5f5f5, #f5f5f5);
    color:#ffffff;
    box-shadow:none;
    z-index:20;
}
html[data-template="16"] .finance-header h1 { margin:0; font-size:19px; font-weight:650; line-height:1.4; }
html[data-template="16"] .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="16"] .finance-header .finance-icon { width:23px; height:23px; }
html[data-template="16"] h2 { color:var(--t16-ink); }
html[data-template="16"] .finance-section-title,
html[data-template="16"] .registration-section-title { margin:17px 0 12px; padding-top:0; border:0; font-size:17px; }

/* 轻描边、白色圆角卡片；账户结构图使用原有等级/激活状态颜色。 */
html[data-template="16"] .finance-record,
html[data-template="16"] .orders-card,
html[data-template="16"] .messages-card,
html[data-template="16"] .business-address,
html[data-template="16"] .profile-intro,
html[data-template="16"] .password-intro,
html[data-template="16"] .registration-intro,
html[data-template="16"] .finance-info-card,
html[data-template="16"] .finance-empty,
html[data-template="16"] .app-download-card,
html[data-template="16"] .app-install-guide,
html[data-template="16"] .qr-card,
html[data-template="16"] .promotion-link-card,
html[data-template="16"] .product-summary,
html[data-template="16"] .store-cart .product-box,
html[data-template="16"] .new-category-li,
html[data-template="16"] .business-content .message {
    margin-bottom:12px;
    border:1px solid var(--t16-line);
    border-radius:var(--t16-radius);
    background:#fafafa;
    box-shadow:var(--t16-shadow);
}
html[data-template="16"] .finance-record,
html[data-template="16"] .orders-card,
html[data-template="16"] .business-address { padding:15px; }
html[data-template="16"] .finance-record .row { gap:10px; padding:5px 0; }
html[data-template="16"] .finance-empty { padding:24px 16px; color:var(--t16-muted); }
html[data-template="16"] .finance-account-card { background:#fafafa; border-radius:var(--t16-radius); }
html[data-template="16"] .finance-balance-card {
    padding:19px;
    border:1px solid #e8e8e8;
    border-radius:var(--t16-radius);
    background:none right bottom / 310px auto no-repeat, linear-gradient(120deg, #fafafa, #f5f5f5);
}
html[data-template="16"] .finance-balance-name { color:var(--theme-primary); font-size:18px; }
html[data-template="16"] .finance-balance-label { color:#919191; font-size:12px; }
html[data-template="16"] .finance-balance-card strong { color:#343434; font-size:clamp(25px, 7vw, 34px); }
html[data-template="16"] .withdrawal-balance-row { justify-content:space-between; flex-wrap:wrap; gap:8px 16px; }
html[data-template="16"] .finance-form { margin-bottom:12px; }
html[data-template="16"] .finance-field { margin-bottom:14px; }
html[data-template="16"] .finance-field > label,
html[data-template="16"] .finance-field > .finance-label { margin-bottom:7px; color:var(--t16-ink); font-size:14px; }
html[data-template="16"] input:not([type]),
html[data-template="16"] input[type="text"],
html[data-template="16"] input[type="password"],
html[data-template="16"] input[type="number"],
html[data-template="16"] input[type="search"],
html[data-template="16"] input[type="email"],
html[data-template="16"] input[type="tel"],
html[data-template="16"] input[type="url"],
html[data-template="16"] input[type="date"],
html[data-template="16"] select,
html[data-template="16"] textarea {
    max-width:100%;
    border:1px solid #e8e8e8;
    border-radius:12px;
    background-color:#fafafa;
    color:var(--t16-ink);
    box-shadow:none;
}
html[data-template="16"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="16"] .finance-field select { min-height:46px; padding-top:10px; padding-bottom:10px; font-size:16px; }
html[data-template="16"] input::placeholder,
html[data-template="16"] textarea::placeholder { color:#919191; opacity:1; }
html[data-template="16"] input[type="checkbox"],
html[data-template="16"] input[type="radio"] { accent-color:var(--theme-primary); }
html[data-template="16"] input:focus,
html[data-template="16"] textarea:focus,
html[data-template="16"] select:focus { border-color:var(--theme-primary); outline-color:var(--theme-primary); }

/* 主操作使用绿色胶囊按钮，危险操作仍保留原来的危险色。 */
html[data-template="16"] .finance-submit,
html[data-template="16"] .business-content .submit-btn,
html[data-template="16"] .business-content .open-btn,
html[data-template="16"] .product-primary,
html[data-template="16"] .registration-agree,
html[data-template="16"] .app-primary-link,
html[data-template="16"] .promotion-copy-submit,
html[data-template="16"] .store-search button[type="submit"],
html[data-template="16"] .store-checkout,
html[data-template="16"] .button.bg-yellow,
html[data-template="16"] .button.bg-blue,
html[data-template="16"] .button.bg-main,
html[data-template="16"] .btnzbz,
html[data-template="16"] .w-logout a {
    min-height:44px;
    border:1px solid var(--theme-primary);
    border-radius:999px;
    background:linear-gradient(115deg, #ededed, #787878);
    color:#ffffff !important;
    box-shadow:0 3px 8px rgba(161, 53, 72, .10);
    text-align:center;
}
html[data-template="16"] .finance-submit-bar,
html[data-template="16"] .product-action-bar {
    max-width:520px;
    padding:12px;
    border-color:var(--t16-line);
    background:rgba(255, 255, 255, .98);
}
html[data-template="16"] .finance-link-button,
html[data-template="16"] .finance-code-button,
html[data-template="16"] .front-pagination-button,
html[data-template="16"] .orders-action,
html[data-template="16"] .app-secondary-link { border-color:#e8e8e8; border-radius:999px; background:#fafafa; color:var(--theme-primary); }
html[data-template="16"] .finance-pagination,
html[data-template="16"] .orders-pagination { justify-content:center; gap:7px; }
html[data-template="16"] .finance-pagination-summary { color:var(--t16-muted); text-align:center; font-size:12px; }
html[data-template="16"] .finance-icon-button,
html[data-template="16"] .business-add { color:var(--theme-primary); }
html[data-template="16"] .finance-header .finance-icon-button { color:#ffffff; }

/* 首页：绿叶页头、紧凑搜索、圆角广告与商品卡片。配置的广告和商品图片原样使用。 */
html[data-template="16"] .store-shouye .finance-shell { padding-top:0; }
html[data-template="16"] .t16-home-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 -12px;
    padding:16px 13px 10px;
    background:linear-gradient(115deg, #f5f5f5, #f5f5f5);
    color:white;
}
html[data-template="16"] .t16-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="16"] .t16-store-brand svg { flex:0 0 25px; width:25px; height:28px; }
html[data-template="16"] .t16-home-header .store-search { flex:1; min-width:0; margin:0; }
html[data-template="16"] .t16-home-header .store-search form { gap:4px; padding:3px 5px; border-radius:999px; background:#fafafa; }
html[data-template="16"] .t16-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="16"] .t16-home-header .store-search .store-language { flex:0 0 27px; min-height:34px; }
html[data-template="16"] .t16-home-header .store-search button[type="submit"] { min-height:32px; padding:5px 9px; font-size:12px; }
html[data-template="16"] .store-tabs { gap:15px; margin:0 -12px 12px; padding:7px 15px 13px; background:#fafafa; }
html[data-template="16"] .store-tabs a { color:#ffffff !important; font-size:13px; }
html[data-template="16"] .store-banner { overflow:hidden; margin:0 0 12px; border-radius:17px; box-shadow:var(--t16-shadow); }
html[data-template="16"] .store-slides img { width:100%; height:auto; aspect-ratio:2.38; object-fit:cover; }
html[data-template="16"] .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(--t16-line); border-radius:17px; background:#fafafa; box-shadow:var(--t16-shadow); }
html[data-template="16"] .store-shortcuts .item { min-width:0; }
html[data-template="16"] .store-shortcuts .picicon > div { width:41px !important; height:41px !important; margin:auto; border-radius:13px !important; background:linear-gradient(145deg, #fafafa, #f5f5f5); }
html[data-template="16"] .store-shortcuts .store-shortcut-icon { color:#343434; }
html[data-template="16"] .store-shortcuts .item:nth-child(3) .picicon > div { background:#fafafa; }
html[data-template="16"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color:#919191; }
html[data-template="16"] .store-shortcuts h3 { padding:0 2px; color:var(--t16-ink); font-size:12px; line-height:1.45; }
html[data-template="16"] .store-news { padding:10px 12px; border:1px solid var(--t16-line); border-radius:13px; background:#fafafa; color:#919191; }
html[data-template="16"] .store-products { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; padding:0; }
html[data-template="16"] .store-products > .item { padding:9px; border:1px solid var(--t16-line); border-radius:15px; background:#fafafa; }
html[data-template="16"] .store-products .text-cut-2 { margin:8px 0; font-size:13px; }
html[data-template="16"] .store-products .text-lg { color:#343434; font-size:17px; font-weight:650; }
html[data-template="16"] .store-products .cu-tag { border-radius:5px; background:#fafafa; color:var(--theme-primary); }
html[data-template="16"] .store-product-add { background:var(--theme-primary-soft); color:var(--theme-primary); }
html[data-template="16"] .store-category-list .is-current { background:#f5f5f5; color:#343434; }

/* 我的：绿色身份区，真实账户数据构成的白色摘要卡，四列功能图标。 */
html[data-template="16"] .w-profile {
    min-height:138px;
    margin:0 -12px;
    padding:27px 17px 30px;
    background:none right bottom / cover no-repeat, linear-gradient(115deg, #f5f5f5, #f5f5f5);
    color:#ffffff;
}
html[data-template="16"] .w-avatar { width:57px; height:57px; border:2px solid rgba(255, 255, 255, .7); background:#f5f5f5; }
html[data-template="16"] .w-name { font-size:18px; }
html[data-template="16"] .w-profile-meta { color:#ffffff; }
html[data-template="16"] .w-profile-meta > span:first-of-type { padding:1px 7px; border-radius:6px; background:#f5f5f5; color:#343434; }
html[data-template="16"] .w-language { color:#ffffff; font-size:12px; }
html[data-template="16"] .w-tabs { position:relative; top:auto; gap:0; justify-content:space-around; margin:-14px 0 12px; padding:8px; border:1px solid var(--t16-line); border-radius:15px; background:#fafafa; box-shadow:var(--t16-shadow); }
html[data-template="16"] .w-tab { min-height:35px; padding:5px 14px; border-radius:999px; color:#919191; font-size:15px; }
html[data-template="16"] .w-tab.is-active { background:#f5f5f5; color:#343434; }
html[data-template="16"] .w-tab::after { display:none; }
html[data-template="16"] .w-overview { padding:0; margin-bottom:12px; }
html[data-template="16"] .w-overview-balance-row { display:flex; align-items:stretch; gap:0; margin:0 0 12px; padding:19px 6px; border:1px solid var(--t16-line); border-radius:16px; background:#fafafa; box-shadow:var(--t16-shadow); }
html[data-template="16"] .t16-summary-main,
html[data-template="16"] .t16-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="16"] .t16-summary-main { flex-direction:column-reverse; }
html[data-template="16"] .t16-summary-stat { border-left:1px solid var(--t16-line); }
html[data-template="16"] .w-overview-balance-row .w-balance-label { max-width:none; justify-content:center; gap:3px; font-size:12px; }
html[data-template="16"] .w-overview-balance-row .w-balance-value,
html[data-template="16"] .t16-summary-stat strong { margin:0; color:#343434; 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="16"] .t16-summary-stat span { font-size:12px; }
html[data-template="16"] .w-eye { width:22px; height:24px; }
html[data-template="16"] .w-eye svg { width:18px; height:18px; }
html[data-template="16"] .w-balance-caption { margin:4px 0 10px; color:#919191; font-size:12px; }
html[data-template="16"] .w-quick-actions { gap:8px; margin:0 0 12px; padding:13px 7px; border:1px solid var(--t16-line); border-radius:16px; background:white; }
html[data-template="16"] .w-quick-icon { width:42px; height:42px; border-radius:13px; background:#f5f5f5; color:#343434; }
html[data-template="16"] .w-quick-icon svg { width:25px; height:25px; }
html[data-template="16"] .w-quick-action { font-size:12px; }
html[data-template="16"] .w-section-heading { margin:16px 0 10px; }
html[data-template="16"] .w-section-heading h2 { font-size:17px; }
html[data-template="16"] .w-account-list,
html[data-template="16"] .w-service-grid { border:1px solid var(--t16-line); border-radius:16px; background:#fafafa; box-shadow:var(--t16-shadow); }
html[data-template="16"] .w-account { min-height:76px; padding:13px; border-color:var(--t16-line); }
html[data-template="16"] .w-account-icon { background:#fafafa; color:#343434; }
html[data-template="16"] .w-account-value { color:#343434; font-size:20px; }
html[data-template="16"] .w-services { margin-top:15px; }
html[data-template="16"] .w-services-kicker { color:var(--t16-muted); font-size:11px; }
html[data-template="16"] .w-service-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px 5px; padding:16px 5px; }
html[data-template="16"] .w-service { display:flex; flex-direction:column; align-items:center; gap:7px; padding:0 2px; border:0; text-align:center; }
html[data-template="16"] .w-service-icon { width:39px; height:39px; border-radius:13px; background:linear-gradient(145deg, #fafafa, #f5f5f5); color:#343434; }
html[data-template="16"] .w-service-icon svg { width:24px; height:24px; }
html[data-template="16"] .w-service-text h2 { color:#343434; font-size:12px; line-height:1.45; font-weight:550; }
html[data-template="16"] .w-service::after { display:none; }
html[data-template="16"] .w-community { gap:10px; }
html[data-template="16"] .w-community a { border:1px solid var(--t16-line); border-radius:14px; background:#fafafa; }
html[data-template="16"] .w-logout { margin:17px 0 0; padding:0; border:0; }
html[data-template="16"] .w-logout a { display:flex; align-items:center; justify-content:center; min-height:45px; }

/* 订单保留原有四种状态及各操作，视觉使用绿色选中标签。 */
html[data-template="16"] .orders-tabs { gap:4px; padding:7px; border:0; border-radius:14px; background:#fafafa; }
html[data-template="16"] .orders-tab { min-height:38px; padding:7px 3px; border-radius:999px; font-size:12px; }
html[data-template="16"] .orders-tab.is-active { background:#f5f5f5; color:#343434 !important; }
html[data-template="16"] .orders-tab.is-active::after { bottom:0; background:var(--theme-primary); }
html[data-template="16"] .orders-card-header { padding-bottom:10px; border-color:var(--t16-line); }
html[data-template="16"] .orders-state { color:var(--theme-primary); }
html[data-template="16"] .orders-product { gap:12px; padding:12px 0; }
html[data-template="16"] .orders-product img { border-radius:12px; background:#fafafa; }
html[data-template="16"] .orders-product-name { font-size:14px; }
html[data-template="16"] .orders-card-actions { gap:8px; padding-top:10px; border-color:var(--t16-line); }
html[data-template="16"] .bonus-filter { gap:8px; padding:12px; border:1px solid var(--t16-line); background:#fafafa; }
html[data-template="16"] .bonus-filter input.Wdate { flex:1; width:90px; min-width:65px; }
html[data-template="16"] .t16-bonus-overview { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:13px; padding:18px 17px; border:1px solid #e8e8e8; border-radius:16px; background:none right bottom / auto 180px no-repeat, linear-gradient(115deg, #fafafa, #f5f5f5); }
html[data-template="16"] .t16-bonus-overview > div { flex:1; min-width:110px; }
html[data-template="16"] .t16-bonus-overview span { display:block; font-size:12px; }
html[data-template="16"] .t16-bonus-overview strong { display:block; margin-top:5px; font-size:23px; font-variant-numeric:tabular-nums; }

/* 老列表仍按表格展示；在小屏横向浏览，不挤压列、不改业务结构图。 */
html[data-template="16"] .t16-table-scroll,
html[data-template="16"] .table-container { width:100%; max-width:100%; overflow-x:auto; margin:12px 0; border:1px solid var(--t16-line); border-radius:14px; background:#fafafa; }
html[data-template="16"] .t16-data-table { width:100%; margin:0; border-collapse:collapse; font-size:13px; background:#fafafa; }
html[data-template="16"] .t16-data-table th,
html[data-template="16"] .t16-data-table td { padding:11px 12px; border:1px solid var(--t16-line); text-align:center; vertical-align:middle; }
html[data-template="16"] .t16-data-table th { background:#f5f5f5; color:#343434; }
html[data-template="16"] .t16-data-table tbody tr:nth-child(even) { background:#fafafa; }
html[data-template="16"] .container,
html[data-template="16"] .container2 { max-width:100%; }
html[data-template="16"] .profile-intro-icon,
html[data-template="16"] .registration-intro-icon,
html[data-template="16"] .password-intro-icon,
html[data-template="16"] .finance-account-row-icon { background:#f5f5f5; color:var(--theme-primary); }
html[data-template="16"] .finance-account-row { gap:12px; padding:16px; }
html[data-template="16"] .front-language-choice { padding:16px; border-color:var(--t16-line); border-radius:14px; background:#fafafa; }
html[data-template="16"] .front-language-choice[aria-pressed="true"] { border-color:var(--theme-primary); background:#f5f5f5; color:#343434; }
html[data-template="16"] .finance-account-name { font-size:18px; }
html[data-template="16"] .product-action-bar a { border-radius:999px; }
html[data-template="16"] .product-price { color:#343434; }

/* 底部固定导航沿用原功能入口和自动选中逻辑。安全区由原脚本统一测量。 */
html[data-template="16"] #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:#e8e8e8; background:rgba(255,255,255,.98) !important; }
html[data-template="16"] #site-footer .site-footer-item { gap:3px; color:#919191 !important; font-size:11px !important; }
html[data-template="16"] #site-footer .site-footer-item.is-current { color:#343434 !important; font-weight:650; }
html[data-template="16"] #site-footer .w-icon { width:23px !important; height:23px !important; }
html[data-template="16"] 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="16"] .t16-home-header { gap:6px; }
    html[data-template="16"] .t16-store-brand { flex-basis:86px; font-size:14px; }
    html[data-template="16"] .w-profile { padding:23px 12px 28px; gap:9px; }
    html[data-template="16"] .w-avatar { width:46px; height:46px; }
    html[data-template="16"] .w-name { font-size:16px; }
    html[data-template="16"] .w-service-grid { gap:14px 3px; }
}
@media (prefers-reduced-motion: reduce) {
    html[data-template="16"] *, html[data-template="16"] *::before, html[data-template="16"] *::after { scroll-behavior:auto !important; }
}

/* 输入区域与页面底色拉开层次，密码显隐控件右侧留白仍由原样式控制。 */
html[data-template="16"] .finance-page:not(.store-page) .finance-form {
    padding:15px;
    border:1px solid var(--t16-line);
    border-radius:17px;
    background:#fafafa;
}
html[data-template="16"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="16"] .finance-field select,
html[data-template="16"] .finance-field textarea {
    border:1px solid #e8e8e8;
    background-color:#fafafa;
}
html[data-template="16"] #wode-account-list {
    overflow:hidden;
    border:1px solid var(--t16-line);
    border-radius:16px;
    background:#fafafa;
}
html[data-template="16"] .w-account-row { padding:14px 12px; }
html[data-template="16"] .w-overview-balance-row .w-balance-value { letter-spacing:normal; }
html[data-template="16"] .bonus-page .finance-record .row:not(:first-child) { color:#343434; font-weight:600; }
html[data-template="16"] .bonus-page .finance-record .row .label { font-weight:400; }
html[data-template="16"] #site-footer .site-footer-item { font-size:12px !important; }

/* 旧版功能页同样采用绿色页头，原定位和标题内容继续沿用。 */
html[data-template="16"] .header.header-color,
html[data-template="16"] .header-background,
html[data-template="16"] body > .header {
    max-width:520px;
    background:none right center / cover no-repeat, linear-gradient(115deg, #f5f5f5, #f5f5f5);
    color:#ffffff;
}
html[data-template="16"] .header-title,
html[data-template="16"] .header.header-color a { color:#ffffff !important; }
html[data-template="16"] .t16-fixed-header { left:50% !important; width:100%; max-width:520px; transform:translateX(-50%); }
html[data-template="16"] #wode-page .w-balance-panel {
    border:1px solid #e8e8e8;
    background:none right bottom / cover no-repeat, linear-gradient(115deg, #ededed, #787878);
    color:#ffffff;
}
html[data-template="16"] #wode-page .w-balance-panel .w-balance-value,
html[data-template="16"] #wode-page .w-balance-panel .w-balance-label,
html[data-template="16"] #wode-page .w-balance-panel .w-balance-available-value { color:#ffffff; }
html[data-template="16"] #wode-page .w-balance-panel .w-balance-action { background:#fafafa; color:var(--theme-primary); }

/* 旧页残留的 360px 最小宽度和 vw 余额卡不能超出模板画布。 */
html[data-template="16"] .container,
html[data-template="16"] .container2 { width:100%; min-width:0 !important; }
html[data-template="16"] .red_bg { width:100% !important; max-width:100%; }
html[data-template="16"] .recharge_wrap { width:100%; max-width:100%; padding:12px; }
html[data-template="16"] .recharge_wrap .red_top_bg {
    min-height:62px;
    padding:16px;
    border-radius:15px;
    background:none right center / cover no-repeat, linear-gradient(115deg, #f5f5f5, #f5f5f5);
    color:#ffffff;
}
html[data-template="16"] .recharge_wrap .big_tit { color:#ffffff; }
html[data-template="16"] .recharge_wrap .balance {
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    max-width:100%;
    margin:12px 0;
    padding:16px;
    border:1px solid var(--t16-line);
    border-radius:15px;
    background:#fafafa;
    color:var(--t16-ink);
}

/* 旧商城轮播曾写死 331px，窄屏仍沿用其内容并让容器缩到当前画布。 */
html[data-template="16"] .red_bg > uni-view,
html[data-template="16"] .red_bg uni-swiper,
html[data-template="16"] .red_bg .swiper-container {
    width:100% !important;
    max-width:100%;
}
/* 兼容旧版商城与个人页中的独立红色页头、购买按钮。 */
html[data-template="16"] .header,
html[data-template="16"] .index_header,
html[data-template="16"] .icon_header,
html[data-template="16"] .red_bg {
    background:none right center / cover no-repeat, linear-gradient(115deg, #f5f5f5, #f5f5f5);
    color:#ffffff;
}
html[data-template="16"] .com-button,
html[data-template="16"] .coupon-buy,
html[data-template="16"] .buy-btn-copy,
html[data-template="16"] .getTbk {
    border-color:var(--theme-primary);
    border-radius:999px;
    background:var(--theme-primary) !important;
    color:#ffffff;
}
/* 模板 16：柔粉花瓣、玫瑰红与奶油浅金；只覆盖视觉，不改变任何业务开关。 */
html[data-template="16"] {
    --t16-page: #f6f6f6;
    --t16-ink: #272727;
    --t16-muted: #8a8a8a;
    --t16-line: #e3e3e3;
    --t16-shadow: 0 6px 20px rgba(155, 74, 89, .055);
    background:#fafafa;
}
html[data-template="16"] body {
    background-image:none, linear-gradient(180deg, #fafafa, #fafafa);
    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="16"] .finance-header {
    min-height:64px;
    padding:14px;
    background:none right top / 520px auto no-repeat, linear-gradient(110deg, #f5f5f5, #fafafa 55%, #f5f5f5);
    color:var(--t16-ink);
}
html[data-template="16"] .finance-header h1 { font-size:19px; color:var(--t16-ink); }
html[data-template="16"] .finance-header .finance-icon-button { color:#343434; }
html[data-template="16"] .header,
html[data-template="16"] .header.header-color,
html[data-template="16"] .header-background,
html[data-template="16"] .index_header,
html[data-template="16"] .icon_header,
html[data-template="16"] .red_bg {
    background:none right top / 520px auto no-repeat, linear-gradient(110deg, #f5f5f5, #fafafa 55%, #f5f5f5);
    color:var(--t16-ink);
}
html[data-template="16"] .header-title,
html[data-template="16"] .header.header-color a { color:#343434 !important; }

/* 主按钮保留原点击/提交行为，采用参考图的玫瑰光泽渐变。 */
html[data-template="16"] .finance-submit,
html[data-template="16"] .business-content .submit-btn,
html[data-template="16"] .business-content .open-btn,
html[data-template="16"] .product-primary,
html[data-template="16"] .registration-agree,
html[data-template="16"] .app-primary-link,
html[data-template="16"] .promotion-copy-submit,
html[data-template="16"] .store-search button[type="submit"],
html[data-template="16"] .store-checkout,
html[data-template="16"] .button.bg-yellow,
html[data-template="16"] .button.bg-blue,
html[data-template="16"] .button.bg-main,
html[data-template="16"] .btnzbz,
html[data-template="16"] .w-logout a {
    background:linear-gradient(180deg, #ededed 0%, #787878 42%, #787878 100%);
    border-color:#e8e8e8;
    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="16"] .finance-submit-bar,
html[data-template="16"] .product-action-bar { background:rgba(255, 249, 247, .98); border-color:#e8e8e8; }
html[data-template="16"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="16"] .finance-field select,
html[data-template="16"] .finance-field textarea { border-color:#e8e8e8; background-color:#fafafa; }
html[data-template="16"] .finance-record,
html[data-template="16"] .orders-card,
html[data-template="16"] .registration-intro,
html[data-template="16"] .profile-intro,
html[data-template="16"] .password-intro,
html[data-template="16"] .messages-card,
html[data-template="16"] .business-address { background:rgba(255, 253, 250, .97); }

/* 首页品牌居中在搜索框上方；配置的商城名称和广告保持不变。 */
html[data-template="16"] .t16-home-header {
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding:19px 14px 11px;
    background:none center top / 520px auto no-repeat, linear-gradient(115deg, #fafafa, #fafafa 54%, #f5f5f5);
    color:#343434;
}
html[data-template="16"] .t16-store-brand { flex:0 0 auto; justify-content:center; gap:9px; font-size:23px; letter-spacing:1px; }
html[data-template="16"] .t16-store-brand svg { width:32px; height:35px; flex-basis:32px; }
html[data-template="16"] .t16-home-header .store-search { flex:0 0 auto; }
html[data-template="16"] .t16-home-header .store-search form { min-height:44px; gap:6px; padding:4px 5px 4px 8px; border:1px solid #e8e8e8; background:rgba(255,255,255,.96); }
html[data-template="16"] .t16-home-header .store-search input[type="text"] { min-height:34px; font-size:14px; }
html[data-template="16"] .t16-home-header .store-search .store-language { flex-basis:27px; }
html[data-template="16"] .store-tabs { margin-bottom:12px; padding-top:6px; padding-bottom:10px; background:rgba(252,232,232,.9); }
html[data-template="16"] .store-tabs a { color:#343434 !important; }
html[data-template="16"] .store-shortcuts { background:rgba(255, 250, 246, .94); border-color:#e8e8e8; }
html[data-template="16"] .store-shortcuts .picicon > div { background:linear-gradient(150deg, #fafafa, #f5f5f5 52%, #f5f5f5); }
html[data-template="16"] .store-shortcuts .store-shortcut-icon { color:#343434; }
html[data-template="16"] .store-shortcuts .item:nth-child(3) .picicon > div { background:linear-gradient(150deg, #fafafa, #f5f5f5); }
html[data-template="16"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color:#919191; }
html[data-template="16"] .store-news { background:#fafafa; border-color:#e8e8e8; }
html[data-template="16"] .store-products > .item { background:#fafafa; border-color:#e8e8e8; }
html[data-template="16"] .store-products .examine { background:#fafafa; }
html[data-template="16"] .store-products .text-lg,
html[data-template="16"] .product-price { color:#343434; }

/* 会员页使用柔粉身份区及水晶皇冠装饰。徽章与用户等级仍读取原数据。 */
html[data-template="16"] .w-profile {
    min-height:143px;
    padding:26px 17px 31px;
    background:none right 16px bottom 5px / 110px 86px no-repeat,
                none right top / 520px auto no-repeat,
                linear-gradient(110deg, #f5f5f5, #fafafa 57%, #f5f5f5);
    color:#343434;
}
html[data-template="16"] .w-avatar { border-color:rgba(255, 251, 243, .8); background:#fafafa; }
html[data-template="16"] .w-profile-meta { color:#343434; }
html[data-template="16"] .w-profile-meta > span:first-of-type { border:1px solid #e8e8e8; border-radius:999px; padding:1px 8px; background:linear-gradient(115deg, #f5f5f5, #ededed); color:#ffffff; }
html[data-template="16"] .w-language { color:#343434; }
html[data-template="16"] .w-tabs { border-color:#e8e8e8; background:rgba(255,251,247,.97); }
html[data-template="16"] .w-tab.is-active { background:#f5f5f5; color:#343434; }
html[data-template="16"] .w-overview-balance-row { border-color:#e8e8e8; background:linear-gradient(130deg, #fafafa, #fafafa); box-shadow:0 6px 16px rgba(179,102,109,.06); }
html[data-template="16"] .w-overview-balance-row .w-balance-value,
html[data-template="16"] .t16-summary-stat strong { color:#343434; }
html[data-template="16"] .t16-summary-stat { border-color:#e8e8e8; }
html[data-template="16"] .w-quick-actions,
html[data-template="16"] .w-service-grid,
html[data-template="16"] #wode-account-list { border-color:#e8e8e8; background:rgba(255,252,248,.97); }
html[data-template="16"] .w-quick-icon,
html[data-template="16"] .w-service-icon { background:linear-gradient(155deg, #fafafa, #f5f5f5 54%, #f5f5f5); color:#343434; border-radius:13px; }
html[data-template="16"] .w-account-symbol { color:#343434; background:#f5f5f5; }
html[data-template="16"] .w-account-symbol.is-green { color:#919191; background:#f5f5f5; }
html[data-template="16"] .w-account-symbol.is-gold { color:#919191; background:#fafafa; }
html[data-template="16"] .w-account-symbol.is-purple { color:#919191; background:#f5f5f5; }
html[data-template="16"] .w-account-row { border-color:#e8e8e8; }
html[data-template="16"] .w-account-value { color:#343434; }

/* 提现卡的装饰钱包不参与表单或金额计算。 */
html[data-template="16"][data-template-page="tixian"] .finance-balance-card {
    min-height:126px;
    padding-right:115px;
    background:none right 12px center / 96px 84px no-repeat,
                linear-gradient(120deg, #fafafa, #f5f5f5 65%, #f5f5f5);
    border-color:#e8e8e8;
}
html[data-template="16"][data-template-page="tixian"] .withdrawal-balance-row { flex-direction:column; align-items:flex-start; gap:5px; }
html[data-template="16"][data-template-page="tixian"] .finance-balance-name { max-width:100%; gap:6px; color:#343434; font-size:14px; }
html[data-template="16"][data-template-page="tixian"] .finance-balance-card strong { margin-top:1px; font-size:clamp(28px, 8vw, 35px); color:#343434; }
html[data-template="16"] .t16-bonus-overview { border-color:#e8e8e8; background:none right bottom / 520px auto no-repeat, linear-gradient(115deg, #fafafa, #f5f5f5); }
html[data-template="16"] .t16-bonus-overview strong { color:#343434; }
html[data-template="16"] .bonus-page .finance-record .row:not(:first-child) { color:#343434; }
html[data-template="16"] .orders-tab.is-active { background:#f5f5f5; color:#343434 !important; }
html[data-template="16"] .orders-state { color:#343434; }
html[data-template="16"] .orders-action { border-color:#e8e8e8; background:#fafafa; color:#343434; }
html[data-template="16"] #site-footer.site-footer { border-color:#e8e8e8; background:rgba(255,249,247,.98) !important; }
html[data-template="16"] #site-footer .site-footer-item { color:#919191 !important; }
html[data-template="16"] #site-footer .site-footer-item.is-current { color:#343434 !important; }
@media (max-width: 359px) {
    html[data-template="16"] .t16-store-brand { flex-basis:auto; font-size:20px; }
    html[data-template="16"] .w-profile { padding-left:13px; padding-right:13px; }
    html[data-template="16"][data-template-page="tixian"] .finance-balance-card { padding-right:97px; background-size:81px 71px, auto; }
}


/* 模板 16：商务深蓝商城。公共主题只改变展示，不改变页面业务开关和提交逻辑。 */
html[data-template="16"] {
    --t16-page: #f8f8f8;
    --t16-card: #ffffff;
    --t16-ink: #353535;
    --t16-muted: #919191;
    --t16-line: #eaeaea;
    --t16-radius: 14px;
    --t16-shadow: 0 5px 18px rgba(31, 81, 148, .055);
    --t16-button: linear-gradient(120deg, #888888, #727272);
    background: #121212;
    color-scheme: light;
}
html[data-template="16"] body {
    background: linear-gradient(180deg, #f2f2f2, #fbfbfb 480px) !important;
    color: var(--t16-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(--t16-ink);
    --finance-muted: var(--t16-muted);
    --finance-line: var(--t16-line);
    --finance-soft: #f8f8f8;
    --w-blue: var(--theme-primary);
    --w-text: var(--t16-ink);
    --w-muted: var(--t16-muted);
    --w-line: var(--t16-line);
    --w-soft: #f6f6f6;
}
html[data-template="16"] h1,
html[data-template="16"] h2,
html[data-template="16"] h3 { color: var(--t16-ink); }
html[data-template="16"] a { color: inherit; }
/* 页头的蓝色波纹使用本地 SVG，内容区仍采用浅色卡片。 */
html[data-template="16"] .finance-header,
html[data-template="16"] .header,
html[data-template="16"] .header.header-color,
html[data-template="16"] .header-background,
html[data-template="16"] .index_header,
html[data-template="16"] .icon_header,
html[data-template="16"] .red_bg {
    background: none right bottom / 520px auto no-repeat, linear-gradient(115deg, #272727, #525252);
    color: #ffffff;
    border-bottom: 1px solid rgba(88,175,255,.18);
}
html[data-template="16"] .finance-header h1,
html[data-template="16"] .finance-header .finance-icon-button,
html[data-template="16"] .header-title,
html[data-template="16"] .header.header-color a { color: #ffffff !important; }
html[data-template="16"] .finance-header { min-height: 62px; }
html[data-template="16"] .finance-record,
html[data-template="16"] .orders-card,
html[data-template="16"] .messages-card,
html[data-template="16"] .business-address,
html[data-template="16"] .profile-intro,
html[data-template="16"] .password-intro,
html[data-template="16"] .registration-intro,
html[data-template="16"] .finance-empty,
html[data-template="16"] .finance-account-card,
html[data-template="16"] .finance-info-card,
html[data-template="16"] .app-download-card,
html[data-template="16"] .app-install-guide,
html[data-template="16"] .qr-card,
html[data-template="16"] .promotion-link-card,
html[data-template="16"] .product-summary,
html[data-template="16"] .business-content .message,
html[data-template="16"] .new-category-li,
html[data-template="16"] .store-cart .product-box,
html[data-template="16"] .finance-page:not(.store-page) .finance-form {
    border: 1px solid #ececec;
    background: rgba(255,255,255,.98);
    box-shadow: var(--t16-shadow);
}
html[data-template="16"] .finance-record .row,
html[data-template="16"] .orders-card-header,
html[data-template="16"] .orders-card-actions { border-color: #f0f0f0; }
html[data-template="16"] input:not([type]),
html[data-template="16"] input[type="text"],
html[data-template="16"] input[type="password"],
html[data-template="16"] input[type="number"],
html[data-template="16"] input[type="search"],
html[data-template="16"] input[type="email"],
html[data-template="16"] input[type="tel"],
html[data-template="16"] input[type="date"],
html[data-template="16"] input[type="datetime-local"],
html[data-template="16"] select,
html[data-template="16"] textarea,
html[data-template="16"] .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: #e8e8e8;
    color: #3c3c3c;
}
html[data-template="16"] input::placeholder,
html[data-template="16"] textarea::placeholder { color: #9e9e9e; opacity: 1; }
html[data-template="16"] .finance-field > label,
html[data-template="16"] .finance-field > .finance-label { color: #414141; }
html[data-template="16"] input:focus,
html[data-template="16"] textarea:focus,
html[data-template="16"] 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="16"] input[type="checkbox"],
html[data-template="16"] input[type="radio"] { accent-color: var(--theme-primary); }
html[data-template="16"] .finance-submit,
html[data-template="16"] .business-content .submit-btn,
html[data-template="16"] .business-content .open-btn,
html[data-template="16"] .product-primary,
html[data-template="16"] .registration-agree,
html[data-template="16"] .app-primary-link,
html[data-template="16"] .promotion-copy-submit,
html[data-template="16"] .store-search button[type="submit"],
html[data-template="16"] .store-checkout,
html[data-template="16"] .button.bg-yellow,
html[data-template="16"] .button.bg-blue,
html[data-template="16"] .button.bg-main,
html[data-template="16"] .btnzbz,
html[data-template="16"] .w-logout a {
    border: 1px solid #898989;
    background: var(--t16-button);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 9px rgba(11,81,196,.12);
    color: #ffffff !important;
}
html[data-template="16"] .finance-submit-bar,
html[data-template="16"] .product-action-bar { background: rgba(255,255,255,.98); border-color: #ededed; }
html[data-template="16"] .finance-secondary-link,
html[data-template="16"] .app-secondary-link,
html[data-template="16"] .orders-action,
html[data-template="16"] .product-secondary { background: #f6f6f6; border-color: #e1e1e1; color: #5d5d5d; }
html[data-template="16"] .finance-account-row-icon,
html[data-template="16"] .profile-intro-icon,
html[data-template="16"] .registration-intro-icon,
html[data-template="16"] .password-intro-icon { background: #f5f5f5; color: #7e7e7e; }
html[data-template="16"] .finance-pagination-summary { color: #929292; }
html[data-template="16"] .finance-balance-card { border-color: #dfdfdf; background: linear-gradient(120deg, #f4f4f4, #ececec); }
html[data-template="16"] .finance-balance-label { color: #939393; }
html[data-template="16"] .finance-balance-name { color: #656565; }
html[data-template="16"] .finance-balance-card strong { color: #3e3e3e; }

/* 首页保留原商城名称、搜索、语言切换和可配置分类入口。 */
html[data-template="16"] .store-shouye .finance-shell { padding-top: 0; }
html[data-template="16"] .t16-home-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 19px 13px 11px;
    background: linear-gradient(115deg, #303030, #555555);
    color: #ffffff;
}
html[data-template="16"] .t16-store-brand { flex: 0 1 146px; justify-content: flex-start; gap: 6px; font-size: 17px; letter-spacing: 0; }
html[data-template="16"] .t16-store-brand svg { width: 25px; height: 28px; flex-basis: 25px; filter: drop-shadow(0 0 4px rgba(113,222,255,.6)); }
html[data-template="16"] .t16-home-header .store-search { flex: 1; }
html[data-template="16"] .t16-home-header .store-search form { min-height: 38px; margin: 0; padding: 3px 5px; border: 1px solid #d4d4d4; background: #f6f6f6; box-shadow: inset 0 1px 3px rgba(13,66,134,.08); }
html[data-template="16"] .t16-home-header .store-search input[type="text"] { min-height: 30px; padding: 5px 3px; font-size: 12px; background: transparent; color: #4e4e4e; }
html[data-template="16"] .t16-home-header .store-search .store-language { flex: 0 0 23px; min-height: 30px; color: #6b6b6b; }
html[data-template="16"] .t16-home-header .store-search button { padding: 4px 8px; min-height: 28px; font-size: 11px; }
html[data-template="16"] .store-tabs { margin-bottom: 10px; padding: 6px 13px 10px; background: #484848; }
html[data-template="16"] .store-tabs a { color: #dadada !important; }
html[data-template="16"] .store-tabs .action a { color: #ffffff !important; }
html[data-template="16"] .store-banner { margin-bottom: 12px; border: 1px solid #c1c1c1; border-radius: 14px; background: #5e5e5e; box-shadow: 0 5px 12px rgba(10,75,161,.1); }
html[data-template="16"] .store-slide-controls button { background: rgba(239,248,255,.95); color: #717171; }
/* 蓝色立体圆形图标与白色快捷卡片，对齐参考图的明亮内容区。 */
html[data-template="16"] .store-shortcuts { background: #ffffff; border: 1px solid #eaeaea; border-radius: 15px; padding: 12px 6px 10px; box-shadow: 0 4px 14px rgba(12,72,148,.05); }
html[data-template="16"] .store-shortcuts .picicon > div,
html[data-template="16"] .store-shortcuts .item:nth-child(3) .picicon > div { width: 39px !important; height: 39px !important; border: 1px solid #b2b2b2; border-radius: 50% !important; background: radial-gradient(circle at 30% 15%, #bfbfbf, #949494 49%, #777777 90%); box-shadow: inset 0 1px 2px rgba(255,255,255,.8), 0 3px 6px rgba(10,90,219,.14); }
html[data-template="16"] .store-shortcuts .store-shortcut-icon,
html[data-template="16"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color: #ffffff; }
html[data-template="16"] .store-shortcuts .store-shortcut-icon svg { width: 23px; height: 23px; }
html[data-template="16"] .store-shortcuts h3,
html[data-template="16"] .store-shortcuts span { color: #414141 !important; font-size: 11px; }
html[data-template="16"] .store-news { border: 1px solid #eeeeee; background: #ffffff; color: #8f8f8f; }
html[data-template="16"] .store-news span { color: #8f8f8f !important; }
html[data-template="16"] .store-products { gap: 10px; }
html[data-template="16"] .store-products > .item { padding: 8px; border-color: #eeeeee; background: #ffffff; box-shadow: 0 3px 10px rgba(30,73,140,.035); }
html[data-template="16"] .store-products .examine { border-radius: 12px; background: #f7f7f7; }
html[data-template="16"] .store-products .text-cut-2 > span { color: #3e3e3e !important; }
html[data-template="16"] .store-products .text-lg,
html[data-template="16"] .product-price { color: #575757; }
html[data-template="16"] .store-products .cu-tag { background: #f6f6f6; color: #757575; }
html[data-template="16"] .store-category-list li,
html[data-template="16"] .new-category2-lst { background: #f5f5f5; }
html[data-template="16"] .store-category-list .is-current { background: #ececec; color: #6e6e6e; }
html[data-template="16"] .store-cart .product-name { color: #383838 !important; }

/* 会员头部深蓝、汇总卡浅白，所有余额与人数继续读取原字段。 */
html[data-template="16"] .w-profile { min-height: 143px; background: none right bottom / 520px auto no-repeat, linear-gradient(115deg, #313131, #606060); color: #ffffff; }
html[data-template="16"] .w-avatar { border-color: #e2e2e2; background: #f5f5f5; box-shadow: 0 3px 12px rgba(0,18,70,.2); }
html[data-template="16"] .w-profile-meta,
html[data-template="16"] .w-language { color: #ececec; }
html[data-template="16"] .w-profile-meta > span:first-of-type { border: 1px solid #cecece; background: linear-gradient(115deg, #f1f1f1, #d5d5d5); color: #545454; }
html[data-template="16"] .w-tabs { background: #ffffff; border-color: #ececec; box-shadow: 0 3px 12px rgba(26,80,155,.04); }
html[data-template="16"] .w-tab { color: #9b9b9b; }
html[data-template="16"] .w-tab.is-active { background: #f2f2f2; color: #6f6f6f; }
html[data-template="16"] .w-overview-balance-row { border-color: #e9e9e9; background: linear-gradient(130deg, #ffffff, #f9f9f9); box-shadow: 0 5px 14px rgba(33,88,163,.05); }
html[data-template="16"] .w-overview-balance-row .w-balance-value,
html[data-template="16"] .t16-summary-stat strong { color: #3c3c3c; }
html[data-template="16"] .w-balance-label,
html[data-template="16"] .t16-summary-stat span { color: #8d8d8d; }
html[data-template="16"] .t16-summary-stat { border-color: #ededed; }
html[data-template="16"] .w-quick-actions,
html[data-template="16"] .w-service-grid,
html[data-template="16"] #wode-account-list { background: #ffffff; border-color: #ebebeb; }
html[data-template="16"] .w-quick-icon,
html[data-template="16"] .w-service-icon { border: 1px solid #b3b3b3; border-radius: 12px; background: radial-gradient(circle at 30% 15%, #bcbcbc, #969696 55%, #727272); color: #ffffff; box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 3px 6px rgba(10,85,203,.1); }
html[data-template="16"] .w-service-text h2 { color: #404040; }
html[data-template="16"] .w-account-symbol,
html[data-template="16"] .w-account-symbol.is-green,
html[data-template="16"] .w-account-symbol.is-purple { color: #7b7b7b; background: #f5f5f5; }
html[data-template="16"] .w-account-symbol.is-gold { color: #868686; background: #f5f5f5; }
html[data-template="16"] .w-account-value { color: #3d3d3d; }
html[data-template="16"] .w-account-row { border-color: #ededed; }
html[data-template="16"] .w-community a { background: #ffffff; border-color: #e8e8e8; }
html[data-template="16"] #wode-page .w-balance-panel { border-color: #c6c6c6; background: none right bottom / cover no-repeat, linear-gradient(110deg, #5a5a5a, #828282); color: #ffffff; }
html[data-template="16"] #wode-page .w-balance-panel .w-balance-action { background: #ffffff; color: #787878; }

/* 提现卡和奖金汇总使用商务蓝装饰，不添加或计算额外业务金额。 */
html[data-template="16"][data-template-page="tixian"] .finance-balance-card { min-height: 124px; padding-right: 112px; border-color: #d7d7d7; background: none right 9px center / 100px 86px no-repeat, linear-gradient(120deg, #f6f6f6, #e5e5e5); }
html[data-template="16"][data-template-page="tixian"] .finance-balance-name { color: #868686; }
html[data-template="16"][data-template-page="tixian"] .finance-balance-card strong { color: #525252; }
html[data-template="16"] .t16-bonus-overview { border-color: #dbdbdb; background: none right bottom / 520px auto no-repeat, linear-gradient(115deg, #6f6f6f, #868686); color: #ececec; }
html[data-template="16"] .t16-bonus-overview strong { color: #ffffff; }
html[data-template="16"] .bonus-page .finance-record .row:not(:first-child) { color: #676767; }
html[data-template="16"] .orders-tabs { background: #ffffff; }
html[data-template="16"] .orders-tab.is-active { background: #f1f1f1; color: #707070 !important; }
html[data-template="16"] .orders-state { color: #787878; }
html[data-template="16"] .orders-product img { background: #f7f7f7; }
html[data-template="16"] .front-language-choice { background: #ffffff; border-color: #eaeaea; }
html[data-template="16"] .front-language-choice[aria-pressed="true"] { background: #f4f4f4; border-color: #989898; color: #707070; }
html[data-template="16"] .front-language-choice strong { color: inherit; }
html[data-template="16"] .t16-table-scroll,
html[data-template="16"] .table-container,
html[data-template="16"] .t16-data-table { background: #ffffff; }
html[data-template="16"] .t16-data-table th { background: #f4f4f4; color: #595959; }
html[data-template="16"] .t16-data-table tbody tr:nth-child(even) { background: #fafafa; }
html[data-template="16"] .qr-code,
html[data-template="16"] .qr-code-box,
html[data-template="16"] .qr-image { background: #ffffff; }
html[data-template="16"] #site-footer.site-footer { background: rgba(255,255,255,.98) !important; border-top: 1px solid #ececec; box-shadow: 0 -3px 13px rgba(21,77,151,.035); }
html[data-template="16"] #site-footer .site-footer-item { color: #ababab !important; }
html[data-template="16"] #site-footer .site-footer-item.is-current { color: #787878 !important; }
html[data-template="16"] .finance-pagination a,
html[data-template="16"] .finance-pagination input[type="button"],
html[data-template="16"] .orders-pagination a,
html[data-template="16"] .front-pagination-button.front-pagination-button { background: #787878; color: #ffffff; }
@media (max-width: 359px) {
    html[data-template="16"] .t16-store-brand { flex-basis: 111px; font-size: 14px; }
    html[data-template="16"] .t16-home-header { gap: 7px; padding-left: 10px; padding-right: 10px; }
    html[data-template="16"] .t16-store-brand svg { width: 21px; flex-basis: 21px; }
    html[data-template="16"] .t16-home-header .store-search input[type="text"] { font-size: 11px; }
    html[data-template="16"] .t16-home-header .store-search button { padding: 3px 5px; }
    html[data-template="16"][data-template-page="tixian"] .finance-balance-card { padding-right: 94px; background-size: 82px 73px, auto; }
}


/* 模板 16：极简清新。只调整显示层，表单、权限、金额与多语言判断保留。 */
html[data-template="16"] {
    --t16-page: #f8f8f8;
    --t16-ink: #232323;
    --t16-muted: #949494;
    --t16-line: #eaeaea;
    --t16-shadow: 0 3px 14px rgba(30,49,63,.025);
    --t16-button: #333333;
    background: #121212;
    color-scheme: light;
}
html[data-template="16"] body {
    background: linear-gradient(180deg, #f5f5f5, #fbfbfb 510px) !important;
    color: var(--t16-ink);
    box-shadow: 0 0 0 1px #e8e8e8, 0 0 24px rgba(195,224,244,.1);
    --finance-text: var(--t16-ink);
    --finance-muted: var(--t16-muted);
    --finance-line: var(--t16-line);
    --finance-soft: #f5f5f5;
    --w-text: var(--t16-ink);
    --w-muted: var(--t16-muted);
    --w-line: var(--t16-line);
    --w-soft: #f5f5f5;
}
html[data-template="16"] h1,
html[data-template="16"] h2,
html[data-template="16"] h3 { color: #232323; }
html[data-template="16"] .finance-header,
html[data-template="16"] .header,
html[data-template="16"] .header.header-color,
html[data-template="16"] .header-background,
html[data-template="16"] .index_header,
html[data-template="16"] .icon_header,
html[data-template="16"] .red_bg { background: #f9f9f9; color: #272727; border-color: #f0f0f0; }
html[data-template="16"] .finance-header h1,
html[data-template="16"] .finance-header .finance-icon-button,
html[data-template="16"] .header-title,
html[data-template="16"] .header.header-color a { color: #272727 !important; }
html[data-template="16"] .finance-record,
html[data-template="16"] .orders-card,
html[data-template="16"] .messages-card,
html[data-template="16"] .business-address,
html[data-template="16"] .registration-intro,
html[data-template="16"] .profile-intro,
html[data-template="16"] .password-intro,
html[data-template="16"] .finance-empty,
html[data-template="16"] .finance-account-card,
html[data-template="16"] .finance-info-card,
html[data-template="16"] .app-download-card,
html[data-template="16"] .app-install-guide,
html[data-template="16"] .qr-card,
html[data-template="16"] .promotion-link-card,
html[data-template="16"] .product-summary,
html[data-template="16"] .new-category-li,
html[data-template="16"] .store-cart .product-box,
html[data-template="16"] .finance-page:not(.store-page) .finance-form { background: #ffffff; border-color: #ececec; box-shadow: var(--t16-shadow); }
html[data-template="16"] .finance-submit,
html[data-template="16"] .business-content .submit-btn,
html[data-template="16"] .business-content .open-btn,
html[data-template="16"] .product-primary,
html[data-template="16"] .registration-agree,
html[data-template="16"] .app-primary-link,
html[data-template="16"] .promotion-copy-submit,
html[data-template="16"] .store-search button[type="submit"],
html[data-template="16"] .store-checkout,
html[data-template="16"] .button.bg-yellow,
html[data-template="16"] .button.bg-blue,
html[data-template="16"] .button.bg-main,
html[data-template="16"] .btnzbz,
html[data-template="16"] .w-logout a { background: var(--theme-primary); color: #ffffff !important; border: 1px solid #333333; box-shadow: none; }
html[data-template="16"] .finance-submit-bar,
html[data-template="16"] .product-action-bar { background: rgba(255,255,255,.98); border-color: #ececec; }
html[data-template="16"] .finance-secondary-link,
html[data-template="16"] .app-secondary-link,
html[data-template="16"] .orders-action,
html[data-template="16"] .product-secondary { background: #f5f5f5; border-color: #e3e3e3; color: #525252; }
html[data-template="16"] input:not([type]),
html[data-template="16"] input[type="text"],
html[data-template="16"] input[type="password"],
html[data-template="16"] input[type="number"],
html[data-template="16"] input[type="search"],
html[data-template="16"] input[type="email"],
html[data-template="16"] input[type="tel"],
html[data-template="16"] input[type="date"],
html[data-template="16"] input[type="datetime-local"],
html[data-template="16"] select,
html[data-template="16"] textarea,
html[data-template="16"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]) { background-color: #f7f7f7; border-color: #e8e8e8; color: #434343; }
html[data-template="16"] input:focus,
html[data-template="16"] select:focus,
html[data-template="16"] textarea:focus { border-color: #878787; outline-color: #878787; box-shadow: 0 0 0 3px rgba(62,88,90,.04); }
html[data-template="16"] .t16-home-header { background: #f8f8f8; color: #262626; }
html[data-template="16"] .t16-store-brand svg { filter: none; }
html[data-template="16"] .t16-home-header .store-search form { background: #ffffff; border-color: #eaeaea; box-shadow: none; }
html[data-template="16"] .t16-home-header .store-search input[type="text"] { background: transparent; color: #575757; }
html[data-template="16"] .t16-home-header .store-search .store-language { color: #7f7f7f; }
html[data-template="16"] .store-tabs { background: #f1f1f1; }
html[data-template="16"] .store-tabs a { color: #929292 !important; }
html[data-template="16"] .store-tabs .action a { color: #383838 !important; }
html[data-template="16"] .store-banner { background: #f0f0f0; border-color: #e6e6e6; box-shadow: none; }
html[data-template="16"] .store-shortcuts,
html[data-template="16"] .w-quick-actions,
html[data-template="16"] .w-service-grid,
html[data-template="16"] #wode-account-list { background: #ffffff; border-color: #ededed; box-shadow: none; }
html[data-template="16"] .store-shortcuts .picicon > div,
html[data-template="16"] .store-shortcuts .item:nth-child(3) .picicon > div,
html[data-template="16"] .w-quick-icon,
html[data-template="16"] .w-service-icon { background: #f3f3f3; border: 0; color: #333333; box-shadow: none; }
html[data-template="16"] .store-shortcuts .store-shortcut-icon,
html[data-template="16"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color: #333333; }
html[data-template="16"] .store-shortcuts .item:first-child .store-shortcut-icon { color: #6b6b6b; }
html[data-template="16"] .store-shortcuts h3,
html[data-template="16"] .store-shortcuts span { color: #333333 !important; }
html[data-template="16"] .store-news { background: #ffffff; border-color: #ececec; }
html[data-template="16"] .store-news span { color: #929292 !important; }
html[data-template="16"] .store-products > .item { background: #ffffff; border-color: #ececec; box-shadow: none; }
html[data-template="16"] .store-products .examine { background: #f6f6f6; }
html[data-template="16"] .store-products .text-cut-2 > span { color: #424242 !important; }
html[data-template="16"] .store-products .text-lg,
html[data-template="16"] .product-price { color: #2d2d2d; }
html[data-template="16"] .w-profile { background: none right center / 520px auto no-repeat, linear-gradient(115deg, #f3f3f3, #f8f8f8); color: #363636; }
html[data-template="16"] .w-avatar { border-color: #ffffff; background: #ededed; box-shadow: 0 3px 10px rgba(36,62,47,.04); }
html[data-template="16"] .w-profile-meta,
html[data-template="16"] .w-language { color: #8f8f8f; }
html[data-template="16"] .w-profile-meta > span:first-of-type { background: #ececec; border-color: #dbdbdb; color: #797979; }
html[data-template="16"] .w-overview-balance-row { background: #ffffff; border-color: #e9e9e9; box-shadow: none; }
html[data-template="16"] .w-overview-balance-row .w-balance-value,
html[data-template="16"] .t16-summary-stat strong { color: #383838; }
html[data-template="16"] .w-tab.is-active { background: #eeeeee; color: #5a5a5a; }
html[data-template="16"] .w-account-symbol,
html[data-template="16"] .w-account-symbol.is-purple { background: #f1f1f1; color: #767676; }
html[data-template="16"] .w-account-symbol.is-green { background: #f2f2f2; color: #7a7a7a; }
html[data-template="16"] .w-account-symbol.is-gold { background: #f2f2f2; color: #8f8f8f; }
html[data-template="16"] .w-account-value { color: #383838; }
html[data-template="16"] .finance-balance-card { background: #f3f3f3; border-color: #e2e2e2; }
html[data-template="16"][data-template-page="tixian"] .finance-balance-card { background: none right 9px center / 100px 86px no-repeat, #f2f2f2; border-color: #e0e0e0; }
html[data-template="16"][data-template-page="tixian"] .finance-balance-card strong { color: #484848; }
html[data-template="16"] .t16-bonus-overview { background: none right center / 520px auto no-repeat, #efefef; border-color: #dddddd; color: #868686; }
html[data-template="16"] .t16-bonus-overview strong { color: #4e4e4e; }
html[data-template="16"] .orders-tabs { background: #ffffff; }
html[data-template="16"] .orders-tab.is-active { background: #efefef; color: #5d5d5d !important; }
html[data-template="16"] .front-language-choice[aria-pressed="true"] { background: #f2f2f2; border-color: #aeaeae; color: #5c5c5c; }
html[data-template="16"] #site-footer.site-footer { background: rgba(255,255,255,.98) !important; border-color: #ececec; box-shadow: none; }
html[data-template="16"] #site-footer .site-footer-item { color: #a6a6a6 !important; }
html[data-template="16"] #site-footer .site-footer-item.is-current { color: #282828 !important; }
html[data-template="16"] .finance-pagination a,
html[data-template="16"] .finance-pagination input[type="button"],
html[data-template="16"] .orders-pagination a,
html[data-template="16"] .front-pagination-button.front-pagination-button { background: var(--theme-primary); color: #ffffff; }
/* 二维码保持白底，结构图继续使用业务配置的等级/激活状态色。 */
html[data-template="16"] .qr-code,
html[data-template="16"] .qr-code-box,
html[data-template="16"] .qr-image { background: #ffffff; }

/* 模板16：欧美现代商城。主色由本模板 footer.jsp 输出，布局与其他模板隔离。 */
html[data-template="16"] {
    --t16-page: #fff;
    --t16-card: #fff;
    --t16-ink: #171717;
    --t16-muted: #77736e;
    --t16-line: #e9e6e1;
    --t16-radius: 12px;
    --t16-shadow: none;
    background: #f3f2f0;
    color-scheme: light;
}
html[data-template="16"] body {
    background: #fff !important;
    color: var(--t16-ink);
    box-shadow: 0 0 0 1px #e9e6e1;
    font-family: Arial, "Helvetica Neue", "Microsoft YaHei", sans-serif;
    --finance-text: #171717;
    --finance-muted: #77736e;
    --finance-line: #e9e6e1;
    --finance-soft: #f6f4f1;
    --w-text: #171717;
    --w-muted: #77736e;
    --w-line: #e9e6e1;
    --w-soft: #f6f4f1;
}
html[data-template="16"] .finance-shell,
html[data-template="16"] .w-shell { padding-left: 18px; padding-right: 18px; }
html[data-template="16"] h1,
html[data-template="16"] h2,
html[data-template="16"] h3 { color: #171717; letter-spacing: -.35px; }
html[data-template="16"] .finance-header,
html[data-template="16"] .header,
html[data-template="16"] .header.header-color,
html[data-template="16"] .header-background,
html[data-template="16"] .index_header,
html[data-template="16"] .icon_header,
html[data-template="16"] .red_bg {
    background: #fff;
    color: #171717;
    border-bottom: 1px solid var(--t16-line);
}
html[data-template="16"] .finance-header { margin-left: -18px; margin-right: -18px; padding: 14px 18px; }
html[data-template="16"] .finance-header h1,
html[data-template="16"] .finance-header .finance-icon-button,
html[data-template="16"] .header-title,
html[data-template="16"] .header.header-color a { color: #171717 !important; }
html[data-template="16"] .finance-record,
html[data-template="16"] .orders-card,
html[data-template="16"] .messages-card,
html[data-template="16"] .registration-intro,
html[data-template="16"] .profile-intro,
html[data-template="16"] .password-intro,
html[data-template="16"] .business-address,
html[data-template="16"] .business-content .message,
html[data-template="16"] .finance-info-card,
html[data-template="16"] .finance-account-card,
html[data-template="16"] .app-download-card,
html[data-template="16"] .app-install-guide,
html[data-template="16"] .promotion-link-card,
html[data-template="16"] .qr-card,
html[data-template="16"] .product-summary,
html[data-template="16"] .new-category-li,
html[data-template="16"] .store-cart .product-box,
html[data-template="16"] .finance-page:not(.store-page) .finance-form {
    background: #fff;
    border-color: var(--t16-line);
    box-shadow: none;
    border-radius: 12px;
}
html[data-template="16"] .finance-submit,
html[data-template="16"] .business-content .submit-btn,
html[data-template="16"] .business-content .open-btn,
html[data-template="16"] .product-primary,
html[data-template="16"] .registration-agree,
html[data-template="16"] .app-primary-link,
html[data-template="16"] .promotion-copy-submit,
html[data-template="16"] .store-search button[type="submit"],
html[data-template="16"] .store-checkout,
html[data-template="16"] .button.bg-yellow,
html[data-template="16"] .button.bg-blue,
html[data-template="16"] .button.bg-main,
html[data-template="16"] .btnzbz,
html[data-template="16"] .w-logout a {
    background: var(--theme-primary);
    color: var(--theme-on-primary) !important;
    border-color: var(--theme-primary);
    border-radius: 9px;
    box-shadow: none;
}
html[data-template="16"] input:not([type]),
html[data-template="16"] input[type="text"],
html[data-template="16"] input[type="password"],
html[data-template="16"] input[type="number"],
html[data-template="16"] input[type="search"],
html[data-template="16"] input[type="email"],
html[data-template="16"] input[type="tel"],
html[data-template="16"] input[type="date"],
html[data-template="16"] input[type="datetime-local"],
html[data-template="16"] select,
html[data-template="16"] textarea,
html[data-template="16"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]) {
    border-color: #e2ded8;
    border-radius: 8px;
    background-color: #f7f6f3;
    color: #25221e;
}
html[data-template="16"] input:focus,
html[data-template="16"] select:focus,
html[data-template="16"] textarea:focus { border-color: #8a7664; outline-color: #8a7664; box-shadow: 0 0 0 3px #f4e9df; }
html[data-template="16"] .finance-submit-bar,
html[data-template="16"] .product-action-bar { background: #fff; border-color: var(--t16-line); }
html[data-template="16"] .finance-balance-card,
html[data-template="16"][data-template-page="tixian"] .finance-balance-card {
    padding: 22px;
    background: #f5efe7;
    border-color: #e8dccf;
    border-radius: 12px;
}
html[data-template="16"] .finance-balance-card strong { color: #171717; }
html[data-template="16"] .finance-balance-name { color: #4c3b2e; }
html[data-template="16"] .t16-bonus-overview { background: #f5efe7; border-color: #e8dccf; color: #756252; }
html[data-template="16"] .t16-bonus-overview strong { color: #171717; }
html[data-template="16"] .orders-tabs { background: #fff; border-bottom: 1px solid var(--t16-line); border-radius: 0; }
html[data-template="16"] .orders-tab.is-active { background: #fff0e5; color: #8c4620 !important; }
html[data-template="16"] .front-language-choice[aria-pressed="true"] { background: #fbf3eb; border-color: #ae7957; color: #653c23; }
/* 首页：编辑式大图、轻量快捷入口、无厚边框商品卡。 */
html[data-template="16"] .t16-home-header { margin: 0 -18px; padding: 14px 18px 10px; background: #fff; color: #171717; }
html[data-template="16"] .t16-store-brand { gap: 9px; padding: 0 0 13px; font-size: 19px; font-weight: 750; }
html[data-template="16"] .t16-store-brand svg { width: 23px; height: 23px; filter: none; }
html[data-template="16"] .t16-home-header .store-search form { background: #f7f6f3; border: 1px solid #e9e6e1; box-shadow: none; border-radius: 8px; }
html[data-template="16"] .t16-home-header .store-search input[type="text"] { background: transparent; color: #5d5751; border: 0; }
html[data-template="16"] .t16-home-header .store-search .store-language { color: #171717; }
html[data-template="16"] .store-tabs { background: #fff; margin: 0 -18px; padding: 4px 18px 12px; border-radius: 0; }
html[data-template="16"] .store-tabs a { color: #77736e !important; }
html[data-template="16"] .store-tabs .action a { color: #171717 !important; }
html[data-template="16"] .store-banner { margin: 0 -18px 0; border: 0; border-radius: 0; box-shadow: none; background: #d6e5e8; }
html[data-template="16"] .store-banner .slider-item img { aspect-ratio: 1.72; object-fit: cover; }
html[data-template="16"] .t16-editorial-hero { position: relative; display: block; }
html[data-template="16"] .t16-editorial-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(9,30,37,.52),transparent 70%); pointer-events: none; }
html[data-template="16"] .t16-hero-copy { position: absolute; z-index: 1; left: 22px; top: 24%; width: 47%; color: #fff; }
html[data-template="16"] .t16-hero-copy strong { display: block; font-size: clamp(21px,6vw,31px); line-height: 1.2; font-weight: 750; letter-spacing: -.8px; overflow-wrap: anywhere; }
html[data-template="16"] .t16-hero-cta { display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; padding: 10px 14px; border-radius: 6px; background: #fff; color: #171717; font-size: 12px; }
html[data-template="16"] .store-slide-controls button { width: 28px; height: 28px; background: #fff; color: #171717; }
html[data-template="16"] .store-shortcuts { position: relative; margin: -10px -6px 16px; padding: 16px 5px 12px; border: 0; border-radius: 15px 15px 0 0; background: #fff; box-shadow: none; z-index: 2; }
html[data-template="16"] .store-shortcuts .picicon > div,
html[data-template="16"] .store-shortcuts .item:nth-child(3) .picicon > div,
html[data-template="16"] .store-shortcuts .item:first-child .picicon > div { background: #fff0e5; color: #28201b; border: 0; box-shadow: none; }
html[data-template="16"] .store-shortcuts .store-shortcut-icon,
html[data-template="16"] .store-shortcuts .item:first-child .store-shortcut-icon,
html[data-template="16"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color: #28201b; }
html[data-template="16"] .store-shortcuts h3,
html[data-template="16"] .store-shortcuts span { color: #171717 !important; font-size: 11px; font-weight: 600; }
html[data-template="16"] .store-news { background: #f7f6f3; border: 0; border-radius: 8px; padding: 10px 12px; }
html[data-template="16"] .store-news span { color: #756b62 !important; }
html[data-template="16"] .store-products { gap: 18px 12px; }
html[data-template="16"] .store-products > .item { background: #fff; border: 0; box-shadow: none; border-radius: 0; padding: 0; }
html[data-template="16"] .store-products .examine { background: #f3f2ef; border-radius: 9px; }
html[data-template="16"] .store-products .text-cut-2 > span { color: #171717 !important; }
html[data-template="16"] .store-products .text-lg,
html[data-template="16"] .product-price { color: #171717; }
/* 新账户布局：主余额独占首行，统计双列、快捷双列、账户双列卡片、服务列表。 */
html[data-template="16"] #wode-page .w-profile { min-height: 98px; margin: 0; padding: 18px 0; background: #fff; color: #171717; border-bottom: 0; }
html[data-template="16"] #wode-page .w-avatar { width: 54px; height: 54px; background: #f6eee6; border: 0; box-shadow: none; }
html[data-template="16"] #wode-page .w-name { font-size: 18px; }
html[data-template="16"] #wode-page .w-profile-meta,
html[data-template="16"] #wode-page .w-language { color: #756b62; }
html[data-template="16"] #wode-page .w-profile-meta > span:first-of-type { background: #fff0e5; color: #82522d; border: 0; border-radius: 4px; }
html[data-template="16"] #wode-page .w-tabs { padding: 0; margin: 0 0 20px; gap: 26px; border: 0; border-bottom: 1px solid var(--t16-line); border-radius: 0; background: #fff; box-shadow: none; }
html[data-template="16"] #wode-page .w-tab { border: 0; border-radius: 0; padding: 10px 0 13px; background: transparent; color: #878078; font-size: 14px; font-weight: 600; }
html[data-template="16"] #wode-page .w-tab.is-active { color: #171717; }
html[data-template="16"] #wode-page .w-tab.is-active::after { display: block; height: 2px; width: 100%; left: 0; bottom: -1px; border-radius: 0; background: #171717; }
html[data-template="16"] #wode-page .w-overview { margin: 0; padding: 0; background: transparent; }
html[data-template="16"] #wode-page .w-overview-balance-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; margin: 0 0 12px; padding: 22px; background: #f4ede5; border: 1px solid #eaded1; border-radius: 12px; box-shadow: none; }
html[data-template="16"] #wode-page .t16-summary-main { grid-column: 1 / -1; align-items: flex-start; flex-direction: column; padding: 0 0 20px; gap: 10px; text-align: left; }
html[data-template="16"] #wode-page .w-overview-balance-row .w-balance-label { display: flex; width: 100%; max-width: none; justify-content: space-between; color: #746253; font-size: 13px; }
html[data-template="16"] #wode-page .w-overview-balance-row .w-balance-value { margin: 0; font-size: clamp(34px,10vw,46px); color: #171717; line-height: 1.15; font-weight: 750; letter-spacing: -1.5px; }
html[data-template="16"] #wode-page .t16-summary-stat { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 15px 8px 0 0; border: 0; border-top: 1px solid #ded0c1; text-align: left; }
html[data-template="16"] #wode-page .t16-summary-stat strong { color: #171717; font-size: 22px; }
html[data-template="16"] #wode-page .t16-summary-stat span { color: #756b62; font-size: 12px; }
html[data-template="16"] #wode-page .w-balance-caption { margin-top: 16px; color: #756b62; font-size: 11px; letter-spacing: .5px; }
html[data-template="16"] #wode-page .w-quick-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 10px 0 18px; margin: 0; border: 0; background: transparent; border-radius: 0; }
html[data-template="16"] #wode-page .w-quick-action { flex-direction: row; justify-content: flex-start; gap: 9px; text-align: left; padding: 12px; background: #fff; border: 1px solid var(--t16-line); border-radius: 9px; font-size: 12px; font-weight: 600; }
html[data-template="16"] #wode-page .w-quick-icon { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #fff0e5; color: #824b25; box-shadow: none; flex: 0 0 auto; }
html[data-template="16"] #wode-page .w-quick-icon .w-icon { width: 22px; height: 22px; }
html[data-template="16"] #wode-page .w-assets { margin-top: 7px; }
html[data-template="16"] #wode-page .w-assets-heading { margin-bottom: 10px; }
html[data-template="16"] #wode-page .w-assets-heading h2,
html[data-template="16"] #wode-page .w-section-heading h2 { font-size: 17px; font-weight: 700; }
html[data-template="16"] #wode-page #wode-account-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; border: 0; border-radius: 0; background: transparent; }
html[data-template="16"] #wode-page #wode-account-list[hidden] { display: none; }
html[data-template="16"] #wode-page .w-account-row { position: relative; display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: start; gap: 12px 7px; min-height: 126px; padding: 14px 11px; background: #fff; border: 1px solid var(--t16-line); border-radius: 10px; }
html[data-template="16"] #wode-page .w-account-symbol { width: 28px; height: 28px; border-radius: 50%; background: #f5ece3; color: #8b6849; }
html[data-template="16"] #wode-page .w-account-symbol .w-icon { width: 19px; height: 19px; }
html[data-template="16"] #wode-page .w-account-copy { padding-right: 9px; }
html[data-template="16"] #wode-page .w-account-name { font-size: 12px; }
html[data-template="16"] #wode-page .w-account-note { margin-top: 3px; font-size: 10px; }
html[data-template="16"] #wode-page .w-account-value { grid-column: 1 / -1; max-width: none; width: 100%; text-align: left; font-size: 24px; color: #171717; line-height: 1.2; }
html[data-template="16"] #wode-page .w-account-row > .w-icon { position: absolute; right: 9px; top: 17px; }
html[data-template="16"] #wode-page .w-account-row:not(a)::after { display: none; }
html[data-template="16"] #wode-page .w-community { margin-top: 12px; gap: 10px; }
html[data-template="16"] #wode-page .w-community a { border-color: var(--t16-line); border-radius: 9px; padding: 12px; }
html[data-template="16"] #wode-page .w-services { margin-top: 24px; }
html[data-template="16"] #wode-page .w-services-kicker { padding: 0; border: 0; color: #9c8f81; letter-spacing: 1.1px; font-size: 10px; }
html[data-template="16"] #wode-page .w-section-heading { margin: 23px 0 10px; }
html[data-template="16"] #wode-page .w-service-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; padding: 0 14px; border: 1px solid var(--t16-line); border-radius: 11px; background: #fff; box-shadow: none; }
html[data-template="16"] #wode-page .w-service { position: relative; display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--t16-line); text-align: left; min-height: 61px; }
html[data-template="16"] #wode-page .w-service:last-child { border-bottom: 0; }
html[data-template="16"] #wode-page .w-service::after { display: block; content: ""; width: 7px; height: 7px; position: absolute; right: 2px; border-right: 1px solid #9c8f81; border-top: 1px solid #9c8f81; transform: rotate(45deg); }
html[data-template="16"] #wode-page .w-service-icon,
html[data-template="16"] #wode-page .w-service-grid > a:nth-child(4n+1) .w-service-icon { flex: 0 0 auto; width: 35px; height: 35px; border: 0; border-radius: 8px; background: #faf2e9; color: #784a2b; box-shadow: none; }
html[data-template="16"] #wode-page .w-service-icon .w-icon { width: 22px; height: 22px; }
html[data-template="16"] #wode-page .w-service-text h2 { font-size: 13px; font-weight: 550; line-height: 1.5; }
html[data-template="16"] #wode-page .w-service-grid.t16-order-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding: 14px 3px; }
html[data-template="16"] #wode-page .t16-order-grid .w-service { flex-direction: column; padding: 0; border: 0; text-align: center; gap: 8px; }
html[data-template="16"] #wode-page .t16-order-grid .w-service::after { display: none; }
html[data-template="16"] #wode-page .t16-order-grid .w-service-text h2 { font-size: 11px; }
html[data-template="16"] #wode-page .w-logout { margin-top: 20px; padding-top: 0; border: 0; }
html[data-template="16"] #site-footer.site-footer { background: rgba(255,255,255,.98) !important; border-color: var(--t16-line); box-shadow: none; }
html[data-template="16"] #site-footer .site-footer-item { color: #96918c !important; }
html[data-template="16"] #site-footer .site-footer-item.is-current { color: #171717 !important; }
html[data-template="16"] .finance-pagination a,
html[data-template="16"] .finance-pagination input[type="button"],
html[data-template="16"] .orders-pagination a,
html[data-template="16"] .front-pagination-button.front-pagination-button { background: var(--theme-primary); color: #fff; border-radius: 7px; }
@media (max-width: 350px) {
    html[data-template="16"] .finance-shell,
    html[data-template="16"] .w-shell { padding-left: 13px; padding-right: 13px; }
    html[data-template="16"] .store-banner,
    html[data-template="16"] .store-tabs,
    html[data-template="16"] .t16-home-header,
    html[data-template="16"] .finance-header { margin-left: -13px; margin-right: -13px; }
    html[data-template="16"] .t16-hero-copy { left: 16px; }
    html[data-template="16"] #wode-page .w-overview-balance-row { padding: 17px; }
    html[data-template="16"] #wode-page .w-quick-action { padding: 9px; gap: 7px; }
}

/* 兼容仍在使用的其他“我的”布局，同样采用米色余额卡和黑色文字。 */
html[data-template="16"] #wode-page .w-overview-balance-row > .w-balance-label,
html[data-template="16"] #wode-page .w-overview-balance-row > .w-balance-value { grid-column: 1 / -1; }
html[data-template="16"] #wode-page .w-balance-panel {
    padding: 22px;
    border: 1px solid #eaded1;
    border-radius: 12px;
    background: #f4ede5;
    color: #171717;
}
html[data-template="16"] #wode-page .w-balance-panel .w-balance-label { color: #746253; }
html[data-template="16"] #wode-page .w-balance-panel .w-balance-value,
html[data-template="16"] #wode-page .w-balance-panel .w-balance-available,
html[data-template="16"] #wode-page .w-balance-panel .w-balance-available-value { color: #171717; }
html[data-template="16"] #wode-page .w-balance-panel .w-balance-action { background: var(--theme-primary); color: var(--theme-on-primary); border-radius: 8px; }
html[data-template="16"] #wode-page .w-balance-footer { border-color: #ded0c1; }
html[data-template="16"] #wode-page .w-balance-privacy { border-color: #d8c7b6; border-radius: 6px; }

html[data-template="16"] .t16-store-brand > a { display: inline-flex; flex: 0 0 auto; color: inherit; }
