/* 前台模板 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;
}

/* 模板 7：自然绿色商城。这里只定义表现，原开关、金额、订单状态和提交方式均保留。 */
html[data-template="7"] {
    --t7-page: #0c0c0e;
    --t7-card: #111114;
    --t7-ink: #e8e8ee;
    --t7-muted: #8e8e98;
    --t7-line: #222227;
    --t7-shadow: 0 5px 18px rgba(134, 50, 65, .055);
    --t7-radius: 17px;
    background:#111114;
    color-scheme:light;
    scroll-padding-top:76px;
}
html[data-template="7"] body {
    box-sizing:border-box;
    max-width:520px;
    min-height:100vh;
    margin:0 auto;
    background:var(--t7-page) !important;
    color:var(--t7-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="7"] body *,
html[data-template="7"] body *::before,
html[data-template="7"] body *::after { box-sizing:border-box; }
html[data-template="7"] body { --finance-blue: var(--theme-primary); --finance-text: var(--t7-ink); --finance-muted: var(--t7-muted); --finance-soft: #17171b; --finance-line: var(--t7-line); --w-blue: var(--theme-primary); --w-text: var(--t7-ink); --w-muted: var(--t7-muted); --w-soft: #1f1b26; --w-line: var(--t7-line); }
html[data-template="7"] body a { text-decoration:none; }
html[data-template="7"] .finance-shell,
html[data-template="7"] .w-shell { width:100%; max-width:520px; padding:0 12px 14px; margin:0 auto; }
html[data-template="7"] .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:linear-gradient(120deg, #111114, #111114);
    color:#f5f3fa;
    box-shadow:none;
    z-index:20;
}
html[data-template="7"] .finance-header h1 { margin:0; font-size:19px; font-weight:650; line-height:1.4; }
html[data-template="7"] .finance-header .finance-icon-button { display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:36px; color:#f5f3fa; }
html[data-template="7"] .finance-header .finance-icon { width:23px; height:23px; }
html[data-template="7"] h2 { color:var(--t7-ink); }
html[data-template="7"] .finance-section-title,
html[data-template="7"] .registration-section-title { margin:17px 0 12px; padding-top:0; border:0; font-size:17px; }

/* 轻描边、白色圆角卡片；账户结构图使用原有等级/激活状态颜色。 */
html[data-template="7"] .finance-record,
html[data-template="7"] .orders-card,
html[data-template="7"] .messages-card,
html[data-template="7"] .business-address,
html[data-template="7"] .profile-intro,
html[data-template="7"] .password-intro,
html[data-template="7"] .registration-intro,
html[data-template="7"] .finance-info-card,
html[data-template="7"] .finance-empty,
html[data-template="7"] .app-download-card,
html[data-template="7"] .app-install-guide,
html[data-template="7"] .qr-card,
html[data-template="7"] .promotion-link-card,
html[data-template="7"] .product-summary,
html[data-template="7"] .store-cart .product-box,
html[data-template="7"] .new-category-li,
html[data-template="7"] .business-content .message {
    margin-bottom:12px;
    border:1px solid var(--t7-line);
    border-radius:var(--t7-radius);
    background:#111114;
    box-shadow:var(--t7-shadow);
}
html[data-template="7"] .finance-record,
html[data-template="7"] .orders-card,
html[data-template="7"] .business-address { padding:15px; }
html[data-template="7"] .finance-record .row { gap:10px; padding:5px 0; }
html[data-template="7"] .finance-empty { padding:24px 16px; color:var(--t7-muted); }
html[data-template="7"] .finance-account-card { background:#111114; border-radius:var(--t7-radius); }
html[data-template="7"] .finance-balance-card {
    padding:19px;
    border:1px solid #232328;
    border-radius:var(--t7-radius);
    background:linear-gradient(120deg, #111114, #111114);
}
html[data-template="7"] .finance-balance-name { color:var(--theme-primary); font-size:18px; }
html[data-template="7"] .finance-balance-label { color:#9a9aa4; font-size:12px; }
html[data-template="7"] .finance-balance-card strong { color:#eae8f2; font-size:clamp(25px, 7vw, 34px); }
html[data-template="7"] .withdrawal-balance-row { justify-content:space-between; flex-wrap:wrap; gap:8px 16px; }
html[data-template="7"] .finance-form { margin-bottom:12px; }
html[data-template="7"] .finance-field { margin-bottom:14px; }
html[data-template="7"] .finance-field > label,
html[data-template="7"] .finance-field > .finance-label { margin-bottom:7px; color:var(--t7-ink); font-size:14px; }
html[data-template="7"] input:not([type]),
html[data-template="7"] input[type="text"],
html[data-template="7"] input[type="password"],
html[data-template="7"] input[type="number"],
html[data-template="7"] input[type="search"],
html[data-template="7"] input[type="email"],
html[data-template="7"] input[type="tel"],
html[data-template="7"] input[type="url"],
html[data-template="7"] input[type="date"],
html[data-template="7"] select,
html[data-template="7"] textarea {
    max-width:100%;
    border:1px solid #232328;
    border-radius:12px;
    background-color:#111114;
    color:var(--t7-ink);
    box-shadow:none;
}
html[data-template="7"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="7"] .finance-field select { min-height:46px; padding-top:10px; padding-bottom:10px; font-size:16px; }
html[data-template="7"] input::placeholder,
html[data-template="7"] textarea::placeholder { color:#9a9aa4; opacity:1; }
html[data-template="7"] input[type="checkbox"],
html[data-template="7"] input[type="radio"] { accent-color:var(--theme-primary); }
html[data-template="7"] input:focus,
html[data-template="7"] textarea:focus,
html[data-template="7"] select:focus { border-color:var(--theme-primary); outline-color:var(--theme-primary); }

/* 主操作使用绿色胶囊按钮，危险操作仍保留原来的危险色。 */
html[data-template="7"] .finance-submit,
html[data-template="7"] .business-content .submit-btn,
html[data-template="7"] .business-content .open-btn,
html[data-template="7"] .product-primary,
html[data-template="7"] .registration-agree,
html[data-template="7"] .app-primary-link,
html[data-template="7"] .promotion-copy-submit,
html[data-template="7"] .store-search button[type="submit"],
html[data-template="7"] .store-checkout,
html[data-template="7"] .button.bg-yellow,
html[data-template="7"] .button.bg-blue,
html[data-template="7"] .button.bg-main,
html[data-template="7"] .btnzbz,
html[data-template="7"] .w-logout a {
    min-height:44px;
    border:1px solid var(--theme-primary);
    border-radius:999px;
    background:linear-gradient(115deg, #17171b, #0c0c0e);
    color:#f5f3fa !important;
    box-shadow:0 3px 8px rgba(0, 0, 0, .30);
    text-align:center;
}
html[data-template="7"] .finance-submit-bar,
html[data-template="7"] .product-action-bar {
    max-width:520px;
    padding:12px;
    border-color:var(--t7-line);
    background:rgba(12,12,14,.98);
}
html[data-template="7"] .finance-link-button,
html[data-template="7"] .finance-code-button,
html[data-template="7"] .front-pagination-button,
html[data-template="7"] .orders-action,
html[data-template="7"] .app-secondary-link { border-color:#232328; border-radius:999px; background:#111114; color:var(--theme-primary); }
html[data-template="7"] .finance-pagination,
html[data-template="7"] .orders-pagination { justify-content:center; gap:7px; }
html[data-template="7"] .finance-pagination-summary { color:var(--t7-muted); text-align:center; font-size:12px; }
html[data-template="7"] .finance-icon-button,
html[data-template="7"] .business-add { color:var(--theme-primary); }
html[data-template="7"] .finance-header .finance-icon-button { color:#f5f3fa; }

/* 首页：绿叶页头、紧凑搜索、圆角广告与商品卡片。配置的广告和商品图片原样使用。 */
html[data-template="7"] .store-shouye .finance-shell { padding-top:0; }
html[data-template="7"] .t7-home-header {
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 -12px;
    padding:16px 13px 10px;
    background:linear-gradient(115deg, #111114, #111114);
    color:white;
}
html[data-template="7"] .t7-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="7"] .t7-store-brand svg { flex:0 0 25px; width:25px; height:28px; }
html[data-template="7"] .t7-home-header .store-search { flex:1; min-width:0; margin:0; }
html[data-template="7"] .t7-home-header .store-search form { gap:4px; padding:3px 5px; border-radius:999px; background:#111114; }
html[data-template="7"] .t7-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="7"] .t7-home-header .store-search .store-language { flex:0 0 27px; min-height:34px; }
html[data-template="7"] .t7-home-header .store-search button[type="submit"] { min-height:32px; padding:5px 9px; font-size:12px; }
html[data-template="7"] .store-tabs { gap:15px; margin:0 -12px 12px; padding:7px 15px 13px; background:#111114; }
html[data-template="7"] .store-tabs a { color:#f5f3fa !important; font-size:13px; }
html[data-template="7"] .store-banner { overflow:hidden; margin:0 0 12px; border-radius:17px; box-shadow:var(--t7-shadow); }
html[data-template="7"] .store-slides img { width:100%; height:auto; aspect-ratio:2.38; object-fit:cover; }
html[data-template="7"] .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(--t7-line); border-radius:17px; background:#111114; box-shadow:var(--t7-shadow); }
html[data-template="7"] .store-shortcuts .item { min-width:0; }
html[data-template="7"] .store-shortcuts .picicon > div { width:41px !important; height:41px !important; margin:auto; border-radius:13px !important; background:linear-gradient(145deg, #111114, #111114); }
html[data-template="7"] .store-shortcuts .store-shortcut-icon { color:#eae8f2; }
html[data-template="7"] .store-shortcuts .item:nth-child(3) .picicon > div { background:#111114; }
html[data-template="7"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color:#9a9aa4; }
html[data-template="7"] .store-shortcuts h3 { padding:0 2px; color:var(--t7-ink); font-size:12px; line-height:1.45; }
html[data-template="7"] .store-news { padding:10px 12px; border:1px solid var(--t7-line); border-radius:13px; background:#111114; color:#9a9aa4; }
html[data-template="7"] .store-products { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; padding:0; }
html[data-template="7"] .store-products > .item { padding:9px; border:1px solid var(--t7-line); border-radius:15px; background:#111114; }
html[data-template="7"] .store-products .text-cut-2 { margin:8px 0; font-size:13px; }
html[data-template="7"] .store-products .text-lg { color:#eae8f2; font-size:17px; font-weight:650; }
html[data-template="7"] .store-products .cu-tag { border-radius:5px; background:#111114; color:var(--theme-primary); }
html[data-template="7"] .store-product-add { background:var(--theme-primary-soft); color:var(--theme-primary); }
html[data-template="7"] .store-category-list .is-current { background:#111114; color:#eae8f2; }

/* 我的：绿色身份区，真实账户数据构成的白色摘要卡，四列功能图标。 */
html[data-template="7"] .w-profile {
    min-height:138px;
    margin:0 -12px;
    padding:27px 17px 30px;
    background:linear-gradient(115deg, #111114, #111114);
    color:#f5f3fa;
}
html[data-template="7"] .w-avatar { width:57px; height:57px; border:2px solid rgba(255, 255, 255, .7); background:#111114; }
html[data-template="7"] .w-name { font-size:18px; }
html[data-template="7"] .w-profile-meta { color:#f5f3fa; }
html[data-template="7"] .w-profile-meta > span:first-of-type { padding:1px 7px; border-radius:6px; background:#111114; color:#eae8f2; }
html[data-template="7"] .w-language { color:#f5f3fa; font-size:12px; }
html[data-template="7"] .w-tabs { position:relative; top:auto; gap:0; justify-content:space-around; margin:-14px 0 12px; padding:8px; border:1px solid var(--t7-line); border-radius:15px; background:#111114; box-shadow:var(--t7-shadow); }
html[data-template="7"] .w-tab { min-height:35px; padding:5px 14px; border-radius:999px; color:#9a9aa4; font-size:15px; }
html[data-template="7"] .w-tab.is-active { background:#111114; color:#eae8f2; }
html[data-template="7"] .w-tab::after { display:none; }
html[data-template="7"] .w-overview { padding:0; margin-bottom:12px; }
html[data-template="7"] .w-overview-balance-row { display:flex; align-items:stretch; gap:0; margin:0 0 12px; padding:19px 6px; border:1px solid var(--t7-line); border-radius:16px; background:#111114; box-shadow:var(--t7-shadow); }
html[data-template="7"] .t7-summary-main,
html[data-template="7"] .t7-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="7"] .t7-summary-main { flex-direction:column-reverse; }
html[data-template="7"] .t7-summary-stat { border-left:1px solid var(--t7-line); }
html[data-template="7"] .w-overview-balance-row .w-balance-label { max-width:none; justify-content:center; gap:3px; font-size:12px; }
html[data-template="7"] .w-overview-balance-row .w-balance-value,
html[data-template="7"] .t7-summary-stat strong { margin:0; color:#eae8f2; 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="7"] .t7-summary-stat span { font-size:12px; }
html[data-template="7"] .w-eye { width:22px; height:24px; }
html[data-template="7"] .w-eye svg { width:18px; height:18px; }
html[data-template="7"] .w-balance-caption { margin:4px 0 10px; color:#9a9aa4; font-size:12px; }
html[data-template="7"] .w-quick-actions { gap:8px; margin:0 0 12px; padding:13px 7px; border:1px solid var(--t7-line); border-radius:16px; background:#111114; }
html[data-template="7"] .w-quick-icon { width:42px; height:42px; border-radius:13px; background:#111114; color:#eae8f2; }
html[data-template="7"] .w-quick-icon svg { width:25px; height:25px; }
html[data-template="7"] .w-quick-action { font-size:12px; }
html[data-template="7"] .w-section-heading { margin:16px 0 10px; }
html[data-template="7"] .w-section-heading h2 { font-size:17px; }
html[data-template="7"] .w-account-list,
html[data-template="7"] .w-service-grid { border:1px solid var(--t7-line); border-radius:16px; background:#111114; box-shadow:var(--t7-shadow); }
html[data-template="7"] .w-account { min-height:76px; padding:13px; border-color:var(--t7-line); }
html[data-template="7"] .w-account-icon { background:#111114; color:#eae8f2; }
html[data-template="7"] .w-account-value { color:#eae8f2; font-size:20px; }
html[data-template="7"] .w-services { margin-top:15px; }
html[data-template="7"] .w-services-kicker { color:var(--t7-muted); font-size:11px; }
html[data-template="7"] .w-service-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px 5px; padding:16px 5px; }
html[data-template="7"] .w-service { display:flex; flex-direction:column; align-items:center; gap:7px; padding:0 2px; border:0; text-align:center; }
html[data-template="7"] .w-service-icon { width:39px; height:39px; border-radius:13px; background:linear-gradient(145deg, #111114, #111114); color:#9a9aa4; }
html[data-template="7"] .w-service-icon svg { width:24px; height:24px; }
html[data-template="7"] .w-service-text h2 { color:#eae8f2; font-size:12px; line-height:1.45; font-weight:550; }
html[data-template="7"] .w-service::after { display:none; }
html[data-template="7"] .w-community { gap:10px; }
html[data-template="7"] .w-community a { border:1px solid var(--t7-line); border-radius:14px; background:#111114; }
html[data-template="7"] .w-logout { margin:17px 0 0; padding:0; border:0; }
html[data-template="7"] .w-logout a { display:flex; align-items:center; justify-content:center; min-height:45px; }

/* 订单保留原有四种状态及各操作，视觉使用绿色选中标签。 */
html[data-template="7"] .orders-tabs { gap:4px; padding:7px; border:0; border-radius:14px; background:#111114; }
html[data-template="7"] .orders-tab { min-height:38px; padding:7px 3px; border-radius:999px; font-size:12px; }
html[data-template="7"] .orders-tab.is-active { background:#111114; color:#eae8f2 !important; }
html[data-template="7"] .orders-tab.is-active::after { bottom:0; background:var(--theme-primary); }
html[data-template="7"] .orders-card-header { padding-bottom:10px; border-color:var(--t7-line); }
html[data-template="7"] .orders-state { color:var(--theme-primary); }
html[data-template="7"] .orders-product { gap:12px; padding:12px 0; }
html[data-template="7"] .orders-product img { border-radius:12px; background:#111114; }
html[data-template="7"] .orders-product-name { font-size:14px; }
html[data-template="7"] .orders-card-actions { gap:8px; padding-top:10px; border-color:var(--t7-line); }
html[data-template="7"] .bonus-filter { gap:8px; padding:12px; border:1px solid var(--t7-line); background:#111114; }
html[data-template="7"] .bonus-filter input.Wdate { flex:1; width:90px; min-width:65px; }
html[data-template="7"] .t7-bonus-overview { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:13px; padding:18px 17px; border:1px solid #232328; border-radius:16px; background:linear-gradient(115deg, #111114, #111114); }
html[data-template="7"] .t7-bonus-overview > div { flex:1; min-width:110px; }
html[data-template="7"] .t7-bonus-overview span { display:block; font-size:12px; }
html[data-template="7"] .t7-bonus-overview strong { display:block; margin-top:5px; font-size:23px; font-variant-numeric:tabular-nums; }

/* 老列表仍按表格展示；在小屏横向浏览，不挤压列、不改业务结构图。 */
html[data-template="7"] .t7-table-scroll,
html[data-template="7"] .table-container { width:100%; max-width:100%; overflow-x:auto; margin:12px 0; border:1px solid var(--t7-line); border-radius:14px; background:#111114; }
html[data-template="7"] .t7-data-table { width:100%; margin:0; border-collapse:collapse; font-size:13px; background:#111114; }
html[data-template="7"] .t7-data-table th,
html[data-template="7"] .t7-data-table td { padding:11px 12px; border:1px solid var(--t7-line); text-align:center; vertical-align:middle; }
html[data-template="7"] .t7-data-table th { background:#111114; color:#eae8f2; }
html[data-template="7"] .t7-data-table tbody tr:nth-child(even) { background:#111114; }
html[data-template="7"] .container,
html[data-template="7"] .container2 { max-width:100%; }
html[data-template="7"] .profile-intro-icon,
html[data-template="7"] .registration-intro-icon,
html[data-template="7"] .password-intro-icon,
html[data-template="7"] .finance-account-row-icon { background:#111114; color:var(--theme-primary); }
html[data-template="7"] .finance-account-row { gap:12px; padding:16px; }
html[data-template="7"] .front-language-choice { padding:16px; border-color:var(--t7-line); border-radius:14px; background:#111114; }
html[data-template="7"] .front-language-choice[aria-pressed="true"] { border-color:var(--theme-primary); background:#111114; color:#eae8f2; }
html[data-template="7"] .finance-account-name { font-size:18px; }
html[data-template="7"] .product-action-bar a { border-radius:999px; }
html[data-template="7"] .product-price { color:#eae8f2; }

/* 底部固定导航沿用原功能入口和自动选中逻辑。安全区由原脚本统一测量。 */
html[data-template="7"] #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:#232328; background:rgba(12,12,14,.98) !important; }
html[data-template="7"] #site-footer .site-footer-item { gap:3px; color:#9a9aa4 !important; font-size:11px !important; }
html[data-template="7"] #site-footer .site-footer-item.is-current { color:#eae8f2 !important; font-weight:650; }
html[data-template="7"] #site-footer .w-icon { width:23px !important; height:23px !important; }
html[data-template="7"] 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="7"] .t7-home-header { gap:6px; }
    html[data-template="7"] .t7-store-brand { flex-basis:86px; font-size:14px; }
    html[data-template="7"] .w-profile { padding:23px 12px 28px; gap:9px; }
    html[data-template="7"] .w-avatar { width:46px; height:46px; }
    html[data-template="7"] .w-name { font-size:16px; }
    html[data-template="7"] .w-service-grid { gap:14px 3px; }
}
@media (prefers-reduced-motion:reduce) {
    html[data-template="7"] *, html[data-template="7"] *::before, html[data-template="7"] *::after { scroll-behavior:auto !important; }
}

/* 输入区域与页面底色拉开层次，密码显隐控件右侧留白仍由原样式控制。 */
html[data-template="7"] .finance-page:not(.store-page) .finance-form {
    padding:15px;
    border:1px solid var(--t7-line);
    border-radius:17px;
    background:#111114;
}
html[data-template="7"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="7"] .finance-field select,
html[data-template="7"] .finance-field textarea {
    border:1px solid #232328;
    background-color:#111114;
}
html[data-template="7"] #wode-account-list {
    overflow:hidden;
    border:1px solid var(--t7-line);
    border-radius:16px;
    background:#111114;
}
html[data-template="7"] .w-account-row { padding:14px 12px; }
html[data-template="7"] .w-overview-balance-row .w-balance-value { letter-spacing:normal; }
html[data-template="7"] .bonus-page .finance-record .row:not(:first-child) { color:#eae8f2; font-weight:600; }
html[data-template="7"] .bonus-page .finance-record .row .label { font-weight:400; }
html[data-template="7"] #site-footer .site-footer-item { font-size:12px !important; }

/* 旧版功能页同样采用绿色页头，原定位和标题内容继续沿用。 */
html[data-template="7"] .header.header-color,
html[data-template="7"] .header-background,
html[data-template="7"] body > .header {
    max-width:520px;
    background:linear-gradient(115deg, #111114, #111114);
    color:#f5f3fa;
}
html[data-template="7"] .header-title,
html[data-template="7"] .header.header-color a { color:#f5f3fa !important; }
html[data-template="7"] .t7-fixed-header { left:50% !important; width:100%; max-width:520px; transform:translateX(-50%); }
html[data-template="7"] #wode-page .w-balance-panel {
    border:1px solid #232328;
    background:linear-gradient(115deg, #17171b, #0c0c0e);
    color:#f5f3fa;
}
html[data-template="7"] #wode-page .w-balance-panel .w-balance-value,
html[data-template="7"] #wode-page .w-balance-panel .w-balance-label,
html[data-template="7"] #wode-page .w-balance-panel .w-balance-available-value { color:#f5f3fa; }
html[data-template="7"] #wode-page .w-balance-panel .w-balance-action { background:#111114; color:var(--theme-primary); }

/* 旧页残留的 360px 最小宽度和 vw 余额卡不能超出模板画布。 */
html[data-template="7"] .container,
html[data-template="7"] .container2 { width:100%; min-width:0 !important; }
html[data-template="7"] .red_bg { width:100% !important; max-width:100%; }
html[data-template="7"] .recharge_wrap { width:100%; max-width:100%; padding:12px; }
html[data-template="7"] .recharge_wrap .red_top_bg {
    min-height:62px;
    padding:16px;
    border-radius:15px;
    background:linear-gradient(115deg, #111114, #111114);
    color:#f5f3fa;
}
html[data-template="7"] .recharge_wrap .big_tit { color:#f5f3fa; }
html[data-template="7"] .recharge_wrap .balance {
    position:relative;
    top:auto;
    left:auto;
    width:100%;
    max-width:100%;
    margin:12px 0;
    padding:16px;
    border:1px solid var(--t7-line);
    border-radius:15px;
    background:#111114;
    color:var(--t7-ink);
}

/* 旧商城轮播曾写死 331px，窄屏仍沿用其内容并让容器缩到当前画布。 */
html[data-template="7"] .red_bg > uni-view,
html[data-template="7"] .red_bg uni-swiper,
html[data-template="7"] .red_bg .swiper-container {
    width:100% !important;
    max-width:100%;
}
/* 兼容旧版商城与个人页中的独立红色页头、购买按钮。 */
html[data-template="7"] .header,
html[data-template="7"] .index_header,
html[data-template="7"] .icon_header,
html[data-template="7"] .red_bg {
    background:linear-gradient(115deg, #111114, #111114);
    color:#f5f3fa;
}
html[data-template="7"] .com-button,
html[data-template="7"] .coupon-buy,
html[data-template="7"] .buy-btn-copy,
html[data-template="7"] .getTbk {
    border-color:var(--theme-primary);
    border-radius:999px;
    background:var(--theme-primary) !important;
    color:#f5f3fa;
}
/* 模板 7：柔粉花瓣、玫瑰红与奶油浅金；只覆盖视觉，不改变任何业务开关。 */
html[data-template="7"] {
    --t7-page: #0c0c0e;
    --t7-ink: #232328;
    --t7-muted: #8e8e98;
    --t7-line: #222227;
    --t7-shadow: 0 6px 20px rgba(155, 74, 89, .055);
    background:#111114;
}
html[data-template="7"] body {
    background-image:linear-gradient(180deg, #0c0c0e, #0c0c0e);
    background-position:center top;
    background-size:520px auto, 100% 100%;
    background-repeat:repeat-y, no-repeat;
    box-shadow:0 0 0 1px rgba(0, 0, 0, .25);
}
/* 花瓣页头使用深色文字，避免浅粉底上的白字难以辨认。 */
html[data-template="7"] .finance-header {
    min-height:64px;
    padding:14px;
    background:linear-gradient(110deg, #111114, #111114 55%, #111114);
    color:var(--t7-ink);
}
html[data-template="7"] .finance-header h1 { font-size:19px; color:var(--t7-ink); }
html[data-template="7"] .finance-header .finance-icon-button { color:#eae8f2; }
html[data-template="7"] .header,
html[data-template="7"] .header.header-color,
html[data-template="7"] .header-background,
html[data-template="7"] .index_header,
html[data-template="7"] .icon_header,
html[data-template="7"] .red_bg {
    background:linear-gradient(110deg, #111114, #111114 55%, #111114);
    color:var(--t7-ink);
}
html[data-template="7"] .header-title,
html[data-template="7"] .header.header-color a { color:#eae8f2 !important; }

/* 主按钮保留原点击/提交行为，采用参考图的玫瑰光泽渐变。 */
html[data-template="7"] .finance-submit,
html[data-template="7"] .business-content .submit-btn,
html[data-template="7"] .business-content .open-btn,
html[data-template="7"] .product-primary,
html[data-template="7"] .registration-agree,
html[data-template="7"] .app-primary-link,
html[data-template="7"] .promotion-copy-submit,
html[data-template="7"] .store-search button[type="submit"],
html[data-template="7"] .store-checkout,
html[data-template="7"] .button.bg-yellow,
html[data-template="7"] .button.bg-blue,
html[data-template="7"] .button.bg-main,
html[data-template="7"] .btnzbz,
html[data-template="7"] .w-logout a {
    background:linear-gradient(180deg, #17171b 0%, #17171b 42%, #0c0c0e 100%);
    border-color:#232328;
    box-shadow:0 4px 9px rgba(0, 0, 0, .30), inset 0 1px 0 rgba(255,255,255,.05);
    color:#f5f3fa !important;
}
html[data-template="7"] .finance-submit-bar,
html[data-template="7"] .product-action-bar { background:rgba(12,12,14,.98); border-color:#232328; }
html[data-template="7"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]),
html[data-template="7"] .finance-field select,
html[data-template="7"] .finance-field textarea { border-color:#232328; background-color:#111114; }
html[data-template="7"] .finance-record,
html[data-template="7"] .orders-card,
html[data-template="7"] .registration-intro,
html[data-template="7"] .profile-intro,
html[data-template="7"] .password-intro,
html[data-template="7"] .messages-card,
html[data-template="7"] .business-address { background:rgba(12,12,14,.97); }

/* 首页品牌居中在搜索框上方；配置的商城名称和广告保持不变。 */
html[data-template="7"] .t7-home-header {
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding:19px 14px 11px;
    background:linear-gradient(115deg, #111114, #111114 54%, #111114);
    color:#eae8f2;
}
html[data-template="7"] .t7-store-brand { flex:0 0 auto; justify-content:center; gap:9px; font-size:23px; letter-spacing:1px; }
html[data-template="7"] .t7-store-brand svg { width:32px; height:35px; flex-basis:32px; }
html[data-template="7"] .t7-home-header .store-search { flex:0 0 auto; }
html[data-template="7"] .t7-home-header .store-search form { min-height:44px; gap:6px; padding:4px 5px 4px 8px; border:1px solid #232328; background:rgba(12,12,14,.96); }
html[data-template="7"] .t7-home-header .store-search input[type="text"] { min-height:34px; font-size:14px; }
html[data-template="7"] .t7-home-header .store-search .store-language { flex-basis:27px; }
html[data-template="7"] .store-tabs { margin-bottom:12px; padding-top:6px; padding-bottom:10px; background:rgba(12,12,14,.9); }
html[data-template="7"] .store-tabs a { color:#eae8f2 !important; }
html[data-template="7"] .store-shortcuts { background:rgba(12,12,14,.94); border-color:#232328; }
html[data-template="7"] .store-shortcuts .picicon > div { background:linear-gradient(150deg, #111114, #111114 52%, #111114); }
html[data-template="7"] .store-shortcuts .store-shortcut-icon { color:#9a9aa4; }
html[data-template="7"] .store-shortcuts .item:nth-child(3) .picicon > div { background:linear-gradient(150deg, #111114, #111114); }
html[data-template="7"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color:#9a9aa4; }
html[data-template="7"] .store-news { background:#111114; border-color:#232328; }
html[data-template="7"] .store-products > .item { background:#111114; border-color:#232328; }
html[data-template="7"] .store-products .examine { background:#111114; }
html[data-template="7"] .store-products .text-lg,
html[data-template="7"] .product-price { color:#eae8f2; }

/* 会员页使用柔粉身份区及水晶皇冠装饰。徽章与用户等级仍读取原数据。 */
html[data-template="7"] .w-profile {
    min-height:143px;
    padding:26px 17px 31px;
    background:linear-gradient(110deg, #111114, #111114 57%, #111114);
    color:#eae8f2;
}
html[data-template="7"] .w-avatar { border-color:rgba(180, 156, 250, .5); background:#111114; }
html[data-template="7"] .w-profile-meta { color:#eae8f2; }
html[data-template="7"] .w-profile-meta > span:first-of-type { border:1px solid #232328; border-radius:999px; padding:1px 8px; background:linear-gradient(115deg, #111114, #17171b); color:#f5f3fa; }
html[data-template="7"] .w-language { color:#eae8f2; }
html[data-template="7"] .w-tabs { border-color:#232328; background:rgba(12,12,14,.97); }
html[data-template="7"] .w-tab.is-active { background:#111114; color:#eae8f2; }
html[data-template="7"] .w-overview-balance-row { border-color:#232328; background:linear-gradient(130deg, #111114, #111114); box-shadow:0 6px 16px rgba(0,0,0,.25); }
html[data-template="7"] .w-overview-balance-row .w-balance-value,
html[data-template="7"] .t7-summary-stat strong { color:#eae8f2; }
html[data-template="7"] .t7-summary-stat { border-color:#232328; }
html[data-template="7"] .w-quick-actions,
html[data-template="7"] .w-service-grid,
html[data-template="7"] #wode-account-list { border-color:#232328; background:rgba(12,12,14,.97); }
html[data-template="7"] .w-quick-icon,
html[data-template="7"] .w-service-icon { background:linear-gradient(155deg, #111114, #111114 54%, #111114); color:#9a9aa4; border-radius:13px; }
html[data-template="7"] .w-account-symbol { color:#9a9aa4; background:#111114; }
html[data-template="7"] .w-account-symbol.is-green { color:#9a9aa4; background:#111114; }
html[data-template="7"] .w-account-symbol.is-gold { color:#9a9aa4; background:#111114; }
html[data-template="7"] .w-account-symbol.is-purple { color:#9a9aa4; background:#111114; }
html[data-template="7"] .w-account-row { border-color:#232328; }
html[data-template="7"] .w-account-value { color:#eae8f2; }

/* 提现卡的装饰钱包不参与表单或金额计算。 */
html[data-template="7"][data-template-page="tixian"] .finance-balance-card {
    min-height:126px;
    padding-right:115px;
    background:linear-gradient(120deg, #111114, #111114 65%, #111114);
    border-color:#232328;
}
html[data-template="7"][data-template-page="tixian"] .withdrawal-balance-row { flex-direction:column; align-items:flex-start; gap:5px; }
html[data-template="7"][data-template-page="tixian"] .finance-balance-name { max-width:100%; gap:6px; color:#9a9aa4; font-size:14px; }
html[data-template="7"][data-template-page="tixian"] .finance-balance-card strong { margin-top:1px; font-size:clamp(28px, 8vw, 35px); color:#eae8f2; }
html[data-template="7"] .t7-bonus-overview { border-color:#232328; background:linear-gradient(115deg, #111114, #111114); }
html[data-template="7"] .t7-bonus-overview strong { color:#eae8f2; }
html[data-template="7"] .bonus-page .finance-record .row:not(:first-child) { color:#eae8f2; }
html[data-template="7"] .orders-tab.is-active { background:#111114; color:#eae8f2 !important; }
html[data-template="7"] .orders-state { color:#eae8f2; }
html[data-template="7"] .orders-action { border-color:#232328; background:#111114; color:#eae8f2; }
html[data-template="7"] #site-footer.site-footer { border-color:#232328; background:rgba(12,12,14,.98) !important; }
html[data-template="7"] #site-footer .site-footer-item { color:#9a9aa4 !important; }
html[data-template="7"] #site-footer .site-footer-item.is-current { color:#eae8f2 !important; }
@media (max-width:359px) {
    html[data-template="7"] .t7-store-brand { flex-basis:auto; font-size:20px; }
    html[data-template="7"] .w-profile { padding-left:13px; padding-right:13px; }
    html[data-template="7"][data-template-page="tixian"] .finance-balance-card { padding-right:97px; background-size:81px 71px, auto; }
}


/* 模板 7：深空霓虹主题。仅作用于本模板，原条件、表单和中文注释继续保留。 */
html[data-template="7"] {
    --t7-page: #0c0c0e;
    --t7-card: #111114;
    --t7-ink: #e8e8ee;
    --t7-muted: #8e8e98;
    --t7-line: #222227;
    --t7-radius: 14px;
    --t7-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    --t7-highlight: #b49cfa;
    --t7-button: #B49CFA;
    background: #0a0a0c;
    color-scheme: dark;
}
html[data-template="7"] body {
    background: #0C0C0E !important;
    color: var(--t7-ink);
    box-shadow: none;
    --finance-text: var(--t7-ink);
    --finance-muted: var(--t7-muted);
    --finance-line: var(--t7-line);
    --finance-soft: #1b1b21;
    --w-text: var(--t7-ink);
    --w-muted: var(--t7-muted);
    --w-line: var(--t7-line);
    --w-soft: #1b1b21;
}
html[data-template="7"] h1,
html[data-template="7"] h2,
html[data-template="7"] h3,
html[data-template="7"] .finance-label,
html[data-template="7"] .finance-field > label,
html[data-template="7"] .product-name,
html[data-template="7"] .orders-product-name { color: var(--t7-ink); }
html[data-template="7"] a { color: inherit; }
html[data-template="7"] .finance-header,
html[data-template="7"] .header,
html[data-template="7"] .header.header-color,
html[data-template="7"] .header-background,
html[data-template="7"] .index_header,
html[data-template="7"] .icon_header,
html[data-template="7"] .red_bg {
    background: rgba(12,12,14,.97);
    color: var(--t7-ink);
    border-bottom: 1px solid rgba(35,35,40,.9);
}
html[data-template="7"] .finance-header h1,
html[data-template="7"] .finance-header .finance-icon-button,
html[data-template="7"] .header-title,
html[data-template="7"] .header.header-color a { color: var(--t7-ink) !important; }
html[data-template="7"] .finance-record,
html[data-template="7"] .orders-card,
html[data-template="7"] .messages-card,
html[data-template="7"] .business-address,
html[data-template="7"] .registration-intro,
html[data-template="7"] .profile-intro,
html[data-template="7"] .password-intro,
html[data-template="7"] .finance-empty,
html[data-template="7"] .finance-account-card,
html[data-template="7"] .finance-info-card,
html[data-template="7"] .app-download-card,
html[data-template="7"] .app-install-guide,
html[data-template="7"] .qr-card,
html[data-template="7"] .promotion-link-card,
html[data-template="7"] .product-summary,
html[data-template="7"] .business-content .message,
html[data-template="7"] .new-category-li,
html[data-template="7"] .store-cart .product-box,
html[data-template="7"] .finance-page:not(.store-page) .finance-form {
    border-color: var(--t7-line);
    background: linear-gradient(135deg, #111114, #151518);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03), var(--t7-shadow);
}
/* 深色输入区域保留原尺寸和密码显隐按钮，聚焦时才增加细光晕。 */
html[data-template="7"] input:not([type]),
html[data-template="7"] input[type="text"],
html[data-template="7"] input[type="password"],
html[data-template="7"] input[type="number"],
html[data-template="7"] input[type="search"],
html[data-template="7"] input[type="email"],
html[data-template="7"] input[type="tel"],
html[data-template="7"] input[type="date"],
html[data-template="7"] input[type="datetime-local"],
html[data-template="7"] select,
html[data-template="7"] textarea,
html[data-template="7"] .finance-field input:not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="radio"]):not([type="checkbox"]) {
    background-color: #1a1a20;
    border-color: #2a2a31;
    color: #eae8f2;
}
html[data-template="7"] input::placeholder,
html[data-template="7"] textarea::placeholder { color: #9a9aa4; opacity: 1; }
html[data-template="7"] input:focus,
html[data-template="7"] select:focus,
html[data-template="7"] textarea:focus {
    border-color: var(--theme-primary);
    outline-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(180,156,250,.22);
}
html[data-template="7"] select option { background: #111114; color: #eae8f2; }
html[data-template="7"] input[type="checkbox"],
html[data-template="7"] input[type="radio"] { accent-color: var(--theme-primary); }
html[data-template="7"] .finance-submit,
html[data-template="7"] .business-content .submit-btn,
html[data-template="7"] .business-content .open-btn,
html[data-template="7"] .product-primary,
html[data-template="7"] .registration-agree,
html[data-template="7"] .app-primary-link,
html[data-template="7"] .promotion-copy-submit,
html[data-template="7"] .store-search button[type="submit"],
html[data-template="7"] .store-checkout,
html[data-template="7"] .button.bg-yellow,
html[data-template="7"] .button.bg-blue,
html[data-template="7"] .button.bg-main,
html[data-template="7"] .btnzbz,
html[data-template="7"] .w-logout a {
    background: var(--t7-button);
    border: 1px solid #B49CFA;
    box-shadow: 0 2px 10px rgba(180,156,250,.15);
    color: #171024 !important;
}
html[data-template="7"] .finance-submit-bar,
html[data-template="7"] .product-action-bar { background: rgba(12,12,14,.97); border-color: #222227; }
html[data-template="7"] .finance-secondary-link,
html[data-template="7"] .app-secondary-link,
html[data-template="7"] .orders-action,
html[data-template="7"] .product-secondary { background: #17171B; border-color: #2A2A31; color: #C9C9D3; }
html[data-template="7"] .finance-record .row,
html[data-template="7"] .orders-card-header,
html[data-template="7"] .orders-card-actions { border-color: #222227; }
html[data-template="7"] .finance-pagination-summary { color: var(--t7-muted); }
html[data-template="7"] .finance-account-row-icon,
html[data-template="7"] .profile-intro-icon,
html[data-template="7"] .registration-intro-icon,
html[data-template="7"] .password-intro-icon { background: #1F1B26; color: #B49CFA; }

/* 首页保留商城名称和原搜索入口，晶体标志与搜索框紧凑并排。 */
html[data-template="7"] .store-shouye .finance-shell { padding-top: 0; }
html[data-template="7"] .t7-home-header {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 19px 12px 12px;
    background: linear-gradient(115deg, #0c0c0e, #111114);
    color: #f5f3fa;
}
html[data-template="7"] .t7-store-brand { flex: 0 1 145px; justify-content: flex-start; gap: 6px; font-size: 17px; letter-spacing: 0; }
html[data-template="7"] .t7-store-brand svg { width: 24px; height: 29px; flex-basis: 24px; filter: drop-shadow(0 0 5px #b49cfa); }
html[data-template="7"] .t7-home-header .store-search { flex: 1; }
html[data-template="7"] .t7-home-header .store-search form { min-height: 38px; margin: 0; padding: 3px 5px; border: 1px solid #2a2a31; background: #1a1a20; }
html[data-template="7"] .t7-home-header .store-search input[type="text"] { min-height: 30px; padding: 5px 3px; font-size: 12px; background: transparent; }
html[data-template="7"] .t7-home-header .store-search .store-language { flex: 0 0 23px; min-height: 30px; }
html[data-template="7"] .t7-home-header .store-search button { padding: 4px 8px; min-height: 28px; font-size: 11px; }
html[data-template="7"] .store-tabs { margin-bottom: 10px; background: #111114; padding: 7px 13px 10px; }
html[data-template="7"] .store-tabs a { color: #8e8e98 !important; }
html[data-template="7"] .store-tabs .action a { color: #eae8f2 !important; text-shadow: 0 0 8px #b49cfa; }
html[data-template="7"] .store-banner { border: 1px solid #232328; border-radius: 14px; }
html[data-template="7"] .store-slide-controls button { border: 1px solid #b49cfa; background: #17171b; color: #eae8f2; }
html[data-template="7"] .store-shortcuts { background: transparent; border: 0; box-shadow: none; padding: 0; gap: 5px; }
html[data-template="7"] .store-shortcuts > .item { padding: 10px 2px 8px; border: 1px solid #2a2a31; border-radius: 12px; background: #111114; box-shadow: none; }
html[data-template="7"] .store-shortcuts .picicon { margin-bottom: 6px !important; }
html[data-template="7"] .store-shortcuts .picicon > div,
html[data-template="7"] .store-shortcuts .item:nth-child(3) .picicon > div { width: 37px !important; height: 37px !important; border-radius: 9px !important; background: transparent; }
html[data-template="7"] .store-shortcuts .store-shortcut-icon,
html[data-template="7"] .store-shortcuts .item:nth-child(3) .store-shortcut-icon { color: #dfd5ff; filter: drop-shadow(0 0 4px #b49cfa); }
html[data-template="7"] .store-shortcuts > .item:nth-child(even) .store-shortcut-icon { color: #dfd5ff; filter: drop-shadow(0 0 5px #b49cfa); }
html[data-template="7"] .store-shortcuts h3,
html[data-template="7"] .store-shortcuts span { color: #eae8f2 !important; font-size: 11px; }
html[data-template="7"] .store-news { border-color: #232328; background: #111114; color: #9a9aa4; }
html[data-template="7"] .store-news span { color: #9a9aa4 !important; }
html[data-template="7"] .store-products > .item { border-color: #232328; background: linear-gradient(150deg, #17171b, #111114); }
html[data-template="7"] .store-products .examine { border: 1px solid #2a2a31; background: radial-gradient(circle, #2a2a31, #111114); }
html[data-template="7"] .store-products .text-cut-2 > span { color: #f5f3fa !important; }
html[data-template="7"] .store-products .text-lg,
html[data-template="7"] .product-price { color: #dfd5ff; }
html[data-template="7"] .store-products .cu-tag { background: #232328; color: #dfd5ff; }
html[data-template="7"] .store-category-list li,
html[data-template="7"] .new-category2-lst { background: #111114; }
html[data-template="7"] .store-category-list .is-current { border: 1px solid #b49cfa; background: #232328; color: #dfd5ff; }
html[data-template="7"] .store-cart .product-name { color: #eae8f2 !important; }

/* 会员身份区只增加装饰星球，不覆盖头像、等级、金额或权限判断。 */
html[data-template="7"] .w-profile {
    min-height: 143px;
    background: linear-gradient(115deg, #0c0c0e, #111114);
    color: #eae8f2;
}
html[data-template="7"] .w-avatar { border-color: #b49cfa; background: #111114; box-shadow: none; }
html[data-template="7"] .w-profile-meta,
html[data-template="7"] .w-language { color: #eae8f2; }
html[data-template="7"] .w-profile-meta > span:first-of-type { border: 1px solid #B49CFA; background: #B49CFA; color: #171024; }
html[data-template="7"] .w-tabs { background: #111114; border-color: #232328; box-shadow: none; }
html[data-template="7"] .w-tab { color: #8e8e98; }
html[data-template="7"] .w-tab.is-active,
html[data-template="7"] .orders-tab.is-active {
    background: #17131C;
    color: #B49CFA !important;
    border: 1px solid #B49CFA;
    box-shadow: none;
}
html[data-template="7"] .w-overview-balance-row {
    border-color: #b49cfa;
    background: linear-gradient(115deg, #17171b, #111114);
    box-shadow: none;
}
html[data-template="7"] .w-overview-balance-row .w-balance-value,
html[data-template="7"] .t7-summary-stat strong { color: #f5f3fa; }
html[data-template="7"] .w-balance-label { color: #eae8f2; }
html[data-template="7"] .t7-summary-stat { border-color: #2a2a31; }
html[data-template="7"] .w-quick-actions { padding: 10px 4px; background: transparent; border: 0; }
html[data-template="7"] .w-service-grid { padding: 0; gap: 7px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
html[data-template="7"] .w-service-grid > a {
    min-width: 0;
    padding: 12px 2px 10px;
    border: 1px solid #232328;
    border-radius: 12px;
    background: #111114;
}
html[data-template="7"] .w-service-icon,
html[data-template="7"] .w-quick-icon { border-radius: 10px; background: transparent; color: #dfd5ff; filter: drop-shadow(0 0 4px #b49cfa); }
html[data-template="7"] .w-service-grid > a:nth-child(3n) .w-service-icon { color: #dfd5ff; filter: drop-shadow(0 0 5px #b49cfa); }
html[data-template="7"] .w-service-text h2 { color: #eae8f2; }
html[data-template="7"] #wode-account-list { background: #111114; border-color: #232328; }
html[data-template="7"] .w-account-row { border-color: #232328; }
html[data-template="7"] .w-account-value { color: #f5f3fa; }
html[data-template="7"] .w-account-symbol,
html[data-template="7"] .w-account-symbol.is-green,
html[data-template="7"] .w-account-symbol.is-gold,
html[data-template="7"] .w-account-symbol.is-purple { color: #dfd5ff; border: 1px solid #b49cfa; background: radial-gradient(circle at 30% 20%, #2a2a31, #17171b); box-shadow: none; }
html[data-template="7"] .w-balance-panel { border-color: #b49cfa; background: linear-gradient(120deg, #232328, #111114); }
html[data-template="7"] #wode-page .w-balance-panel .w-balance-action { background: #B49CFA; color: #171024; }
html[data-template="7"] .w-community a { background: #111114; }

/* 提现钱包、奖金柱图仅作装饰，数值和各类奖金开关仍使用原字段。 */
html[data-template="7"][data-template-page="tixian"] .finance-balance-card {
    min-height: 124px;
    padding-right: 115px;
    border-color: #222227;
    background: #111114;
    box-shadow: none;
}
html[data-template="7"][data-template-page="tixian"] .finance-balance-name { color: #e8e8ee; }
html[data-template="7"][data-template-page="tixian"] .finance-balance-card strong { color: #F5F3FA; }
html[data-template="7"] .finance-balance-card { border-color: #2a2a31; background: #111114; }
html[data-template="7"] .finance-balance-card strong { color: #f5f3fa; }
html[data-template="7"] .finance-balance-label { color: #8e8e98; }
html[data-template="7"] .t7-bonus-overview { padding-right: 78px; border-color: #222227; background: #111114; box-shadow: none; }
html[data-template="7"] .t7-bonus-overview strong { color: #f5f3fa; }
html[data-template="7"] .bonus-page .finance-record .row:not(:first-child) { color: #dfd5ff; }
html[data-template="7"] .orders-tabs { background: #0C0C0E; }
html[data-template="7"] .orders-state { color: #B49CFA; }
html[data-template="7"] .orders-card { border-color: #222227; }
html[data-template="7"] .front-language-choice { background: #17171B; border-color: #2A2A31; }
html[data-template="7"] .front-language-choice[aria-pressed="true"] { background: #201A28; border-color: #B49CFA; color: #B49CFA; }
html[data-template="7"] .front-language-choice strong { color: inherit; }
html[data-template="7"] .t7-table-scroll,
html[data-template="7"] .table-container,
html[data-template="7"] .t7-data-table { background: #111114; }
html[data-template="7"] .t7-data-table th { background: #1A1A20; color: #9A9AA4; }
html[data-template="7"] .t7-data-table td { color: #E8E8EE; }
html[data-template="7"] .t7-data-table tbody tr:nth-child(even) { background: #151518; }
/* 收款码/推广码保留白底，保证二维码对比度；不对业务结构图节点统一改色。 */
html[data-template="7"] .qr-code,
html[data-template="7"] .qr-code-box,
html[data-template="7"] .qr-image { background: #fff; }
html[data-template="7"] #site-footer.site-footer { border-top: 1px solid #1E1E23; background: rgba(12,12,14,.97) !important; box-shadow: none; }
html[data-template="7"] #site-footer .site-footer-item { color: #5C5C67 !important; }
html[data-template="7"] #site-footer .site-footer-item.is-current { border-radius: 9px; background: none; color: #B49CFA !important; text-shadow: none; }
html[data-template="7"] #site-footer .site-footer-item.is-current .w-icon { filter: none; }
@media (max-width: 359px) {
    html[data-template="7"] .t7-store-brand { flex-basis: 110px; font-size: 14px; }
    html[data-template="7"] .t7-home-header { gap: 7px; padding-left: 10px; padding-right: 10px; }
    html[data-template="7"] .t7-store-brand svg { flex-basis: 20px; width: 20px; }
    html[data-template="7"] .t7-home-header .store-search input[type="text"] { font-size: 11px; }
    html[data-template="7"] .t7-home-header .store-search button { padding: 3px 5px; }
    html[data-template="7"][data-template-page="tixian"] .finance-balance-card { padding-right: 96px; background-size: 90px 80px, auto, auto; }
    html[data-template="7"] .t7-bonus-overview { padding-right: 20px; background-size: 55px 57px, auto, auto; }
    html[data-template="7"] .store-shortcuts h3 { font-size: 10px; }
}

/* 搜索框语言入口在深底上使用浅色；分页按钮的白字配深紫底。 */
html[data-template="7"] .store-language,
html[data-template="7"] .store-language svg { color: #8E8E98; }
html[data-template="7"] .finance-pagination a,
html[data-template="7"] .finance-pagination input[type="button"],
html[data-template="7"] .orders-pagination a,
html[data-template="7"] .front-pagination-button.front-pagination-button {
    background: #B49CFA;
    border: 1px solid #B49CFA;
    color: #171024;
    box-shadow: none;
}

/* 旧搜索框聚焦事件会写入黑色文字；只覆盖显示颜色，保留原清空/恢复行为。 */
html[data-template="7"] input:not([type]),
html[data-template="7"] input[type="text"],
html[data-template="7"] input[type="password"],
html[data-template="7"] input[type="number"],
html[data-template="7"] input[type="search"],
html[data-template="7"] input[type="email"],
html[data-template="7"] input[type="tel"],
html[data-template="7"] textarea { color: #eae8f2 !important; }
html[data-template="7"] .bg-white { background-color: #111114 !important; }
