:root {
  --brand: #1e9fff;
  --site-blue: #5b9bbb;
  --site-blue-dark: #3d7896;
  --text: #344054;
  --muted: #8b96a5;
  --line: #e6e6e6;
  --soft: #f5f7fa;
}

body { margin: 0; background: var(--soft); color: var(--text); font-family: "微软雅黑", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }

/* 布局 */
.member-topbar { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line); box-sizing: border-box; }
.member-brandline { display: flex; align-items: center; gap: 22px; min-width: 0; margin-right: auto; }
.member-topbar .member-logo { font-size: 24px; font-weight: 700; color: #26323a; line-height: 1; text-decoration: none; white-space: nowrap; }
.member-home-link,
.member-topnav a { color: #41505a; font-size: 15px; text-decoration: none; white-space: nowrap; }
.member-home-link:hover,
.member-topnav a:hover { color: var(--site-blue-dark); }
.member-topnav { display: flex; align-items: center; gap: 22px; }
.member-topbar .member-user { display: flex; align-items: center; justify-content: flex-end; min-width: 168px; font-size: 14px; }
.member-header-user form,
.xin-member-dropdown form { margin: 0; }
.xin-member-login,
.xin-member-trigger { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #24323a; font-size: 16px; line-height: 1; cursor: pointer; box-sizing: border-box; }
.xin-member-login:hover,
.xin-member-trigger:hover { color: #1d6d92; }
.xin-member-avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; overflow: hidden; border-radius: 50%; border: 3px solid #fff; background: linear-gradient(135deg, var(--site-blue), var(--site-blue-dark)); box-shadow: 0 2px 8px rgba(40, 79, 98, .18); color: #fff; font-size: 16px; font-weight: bold; flex: 0 0 auto; }
.xin-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.xin-member-menu { position: relative; }
.xin-member-menu:hover .xin-member-dropdown,
.xin-member-menu:focus-within .xin-member-dropdown { display: block; }
.xin-member-name { max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #1f2d35; }
.xin-member-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #60727c; }
.xin-member-dropdown { display: none; position: absolute; top: calc(100% + 12px); right: 0; width: 168px; padding: 7px 0; border: 1px solid #eef3f6; border-radius: 3px; background: #fff; box-shadow: 0 10px 24px rgba(43, 84, 104, .14); z-index: 1200; }
.xin-member-dropdown:before { content: ""; position: absolute; top: -6px; right: 24px; width: 10px; height: 10px; border-left: 1px solid #e5edf2; border-top: 1px solid #e5edf2; background: #fff; transform: rotate(45deg); }
.xin-member-dropdown:after { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.xin-member-dropdown-head { padding: 9px 16px 7px; border-bottom: 1px solid #eef3f6; color: #6a7c86; font-size: 13px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xin-member-dropdown a,
.xin-member-dropdown button { display: block; width: 100%; padding: 10px 16px; border: 0; background: transparent; color: #333; font: inherit; line-height: 1.2; text-align: left; cursor: pointer; box-sizing: border-box; }
.xin-member-dropdown a:hover,
.xin-member-dropdown button:hover { background: #f3f8fb; color: #1d6d92; }
.member-layout { display: flex; min-height: calc(100vh - 64px - 40px); }
.member-sidebar { width: 200px; background: #f8f8f8; border-right: 1px solid var(--line); padding: 20px 0; flex-shrink: 0; }
.member-main { flex: 1; padding: 24px; min-width: 0; }
.member-footer { height: 40px; line-height: 40px; text-align: center; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.member-auth-page { min-height: 100vh; background: #cce0ea; }
.member-auth-wrap { max-width: 1120px; margin: 52px auto; padding: 0 24px; }
.member-auth-shell { display: grid; grid-template-columns: 380px minmax(0, 1fr); min-height: 560px; overflow: hidden; border: 1px solid #dce7ed; border-radius: 8px; background: #fff; box-shadow: 0 12px 32px rgba(52, 84, 100, .12); }
.member-auth-brand { display: flex; flex-direction: column; justify-content: center; padding: 54px 46px; background: var(--site-blue); color: #fff; box-sizing: border-box; }
.member-auth-brand strong { display: block; margin-bottom: 42px; font-size: 28px; line-height: 1; }
.member-auth-brand h1 { margin: 0 0 18px; font-size: 34px; line-height: 1.25; font-weight: 700; letter-spacing: 0; }
.member-auth-brand p { max-width: 280px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.8; }
.member-auth-brand a { display: inline-flex; align-items: center; justify-content: center; width: 136px; min-height: 38px; margin-top: 34px; border: 1px solid rgba(255,255,255,.72); border-radius: 4px; color: #fff; font-size: 14px; text-decoration: none; }
.member-auth-brand a:hover { background: rgba(255,255,255,.14); }
.member-auth-card { display: flex; flex-direction: column; justify-content: center; padding: 52px 64px; box-sizing: border-box; }
.member-auth-card .member-page-head { margin-bottom: 26px; }
.member-auth-card .member-page-head h2 { margin: 0 0 8px; color: #1f2d35; font-size: 28px; line-height: 1.25; }
.member-auth-card .member-page-head p { margin: 0; color: var(--muted); line-height: 1.7; }
.member-auth-card .layui-form-item { margin-bottom: 16px; }
.member-auth-card .layui-form-item label { display: block; margin-bottom: 8px; color: #3f4b55; font-size: 14px; font-weight: 600; }
.member-auth-card .layui-input { height: 42px; border-radius: 4px; }
.member-auth-card .layui-input.is-invalid { border-color: #f04438; box-shadow: 0 0 0 2px rgba(240,68,56,.08); }
.member-auth-card .member-button { width: 100%; min-height: 44px; font-size: 16px; font-weight: 600; }
.member-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.member-auth-options { min-height: 32px; }
.member-auth-checkbox { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; color: #3f4b55 !important; font-size: 14px; font-weight: 400 !important; cursor: pointer; }
.member-auth-checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); cursor: pointer; }
.member-quick-login { margin-top: 22px; }
.member-quick-login-title { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 13px; }
.member-quick-login-title:before,
.member-quick-login-title:after { content: ""; height: 1px; flex: 1; background: #e6eef3; }
.member-quick-login-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.member-quick-login-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; border: 1px solid #dbe5eb; border-radius: 4px; background: #fff; color: #344054; font-size: 14px; text-decoration: none; box-sizing: border-box; }
.member-quick-login-btn span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.member-quick-login-btn strong { font-weight: 600; }
.member-quick-login-btn.is-qq span { background: #2b9cff; }
.member-quick-login-btn.is-wechat span { background: #20b15a; }
.member-quick-login-btn:hover { border-color: var(--site-blue); color: var(--site-blue-dark); background: #f8fbfd; }
.member-auth-agreement { margin-top: -2px; color: var(--muted); line-height: 1.7; }
.member-auth-agreement-text[hidden] { display: none; }
.member-auth-agreement-check { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; color: #3f4b55 !important; font-weight: 400 !important; cursor: pointer; }
.member-auth-agreement-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.member-auth-agreement-check a { margin: 0 2px; color: var(--brand); text-decoration: none; }
.member-auth-agreement-check a:hover { color: #1578c9; }
.member-agreement-layer { max-height: 410px; overflow-y: auto; padding: 20px 24px; color: #344054; font-size: 14px; line-height: 1.9; white-space: pre-wrap; box-sizing: border-box; }
.member-auth-switch { margin: 18px 0 0; text-align: center; color: var(--muted); }
.member-auth-switch a { color: var(--brand); text-decoration: none; }

/* 侧栏 */
.member-sidebar a { display: flex; align-items: center; gap: 8px; padding: 10px 24px; color: var(--text); font-size: 14px; text-decoration: none; }
.member-sidebar a:hover { background: #eee; }
.member-sidebar a.is-active { color: #fff; background: var(--brand); }
.member-sidebar .member-nav-group { display: block; padding: 16px 24px 6px; color: var(--muted); font-size: 12px; }
.member-sidebar form { padding: 10px 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.member-sidebar form button { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 0; }

/* 图标 */
.tanz-icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* 消息 */
.member-message { padding: 10px 12px; border-radius: 4px; line-height: 1.6; margin-bottom: 12px; }
.member-message.is-success { color: #166534; background: #ecfdf3; }
.member-message.is-error { color: #b42318; background: #fff1f0; }
.member-message.is-warning { color: #92400e; background: #fffbeb; }

/* 面板 */
.member-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.member-panel-narrow { max-width: 560px; }
.member-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.member-section-head h3 { margin: 0; color: var(--text); font-size: 18px; }
.member-section-head-spaced { margin-top: 22px; }
.member-empty { width: 100%; padding: 18px; color: var(--muted); text-align: center; background: var(--soft); border: 1px dashed var(--line); border-radius: 6px; box-sizing: border-box; }
.member-permission-empty { display: grid; justify-items: center; gap: 12px; padding: 34px 16px; text-align: center; }
.member-permission-empty h3 { margin: 0; color: var(--text); font-size: 20px; }
.member-permission-empty p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; }
.member-table-wrap { width: 100%; overflow-x: auto; }
.member-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.member-stat-card { min-height: 88px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-sizing: border-box; }
.member-stat-card strong { display: block; color: var(--brand); font-size: 26px; line-height: 1.2; }
.member-stat-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.member-asset-section { margin-bottom: 24px; }
.member-asset-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.member-asset-card { min-height: 96px; padding: 16px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfe; box-sizing: border-box; }
.member-asset-card span { display: block; color: var(--muted); font-size: 13px; }
.member-asset-card strong { display: block; margin-top: 8px; color: var(--text); font-size: 26px; line-height: 1.2; word-break: break-all; }
.member-asset-card em { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-style: normal; }
.member-asset-card.is-balance { background: #f8fbff; border-color: #cfe0ff; }
.member-asset-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.member-asset-actions .member-button { min-height: 30px; padding: 0 10px; font-size: 13px; }
.member-asset-log-table td,
.member-asset-log-table th { white-space: nowrap; }
.member-asset-log-table td:last-child,
.member-asset-log-table th:last-child { min-width: 180px; white-space: normal; }
.member-asset-change { color: #475569; white-space: nowrap; }
.member-asset-change.is-plus { color: #047857; }
.member-asset-change.is-minus { color: #d92d20; }

/* 表单 */
.member-form { }
.member-form input[type=text],
.member-form input[type=number],
.member-form input[type=email],
.member-form input[type=password],
.member-form input[type=url],
.member-form select,
.member-form textarea { border: 1px solid var(--line); border-radius: 4px; color: var(--text); font: inherit; font-size: 14px; background: #fff; box-sizing: border-box; }
.member-form input:focus,
.member-form select:focus,
.member-form textarea:focus { outline: none; }
.member-form textarea { padding: 10px; resize: vertical; }
.member-form select { min-height: 38px; padding: 0 8px; }
.member-form textarea[data-editor] { width: 100%; min-height: 630px; }
.tox-tinymce { border-color: var(--line) !important; box-shadow: none !important; outline: none !important; }
.tox-tinymce:focus,
.tox-tinymce:focus-within { border-color: var(--line) !important; box-shadow: none !important; outline: none !important; }
.tox .tox-edit-area::before { display: none !important; }
.tox .tox-tbtn:focus::after { box-shadow: none !important; }
.tox-editor-header { border-bottom: 1px solid var(--line) !important; }

/* 字段行 */
.member-field { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.member-field > span { width: 100px; padding-top: 8px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--text); text-align: right; }
.member-field > span em { color: #e53e3e; font-style: normal; margin-left: 2px; }
.member-field > input[type=text],
.member-field > input[type=number],
.member-field > input[type=email],
.member-field > input[type=password],
.member-field > input[type=url],
.member-field > select { width: 600px; min-height: 38px; padding: 0 10px; }
.member-field > textarea:not([data-member-editor]) { width: 600px; height: 60px; }
.member-field > .member-field-control { width: 600px; max-width: 100%; min-width: 0; box-sizing: border-box; }
.member-field > .member-field-control:has(.member-layui-choice-group) { width: auto; max-width: none; flex: 1; }
.member-field > .member-field-control > input[type=text],
.member-field > .member-field-control > input[type=number],
.member-field > .member-field-control > input[type=email],
.member-field > .member-field-control > input[type=password],
.member-field > .member-field-control > input[type=url],
.member-field > .member-field-control > select { width: 100%; min-height: 38px; padding: 0 10px; }
.member-field > .member-field-control > textarea:not([data-member-editor]) { width: 100%; height: 60px; }
.member-field-help { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 编辑器字段：标签左浮，编辑器在右侧，留右边距 */
.member-field:has(textarea[data-editor]) { display: block; overflow: hidden; padding-right: 2px; }
.member-field:has(textarea[data-editor]) > span { float: left; width: 100px; padding-top: 12px; padding-right: 20px; text-align: right; box-sizing: border-box; }
.member-field:has(textarea[data-editor]) > textarea { display: block; width: calc(100% - 132px); margin-left: 132px; box-sizing: border-box; }
.member-field:has(textarea[data-editor]) > .member-editor-tools { margin-left: 132px; }
.member-field:has(.member-field-control textarea[data-editor]) > .member-field-control { display: block; width: calc(100% - 132px); max-width: none; margin-left: 132px; box-sizing: border-box; }
.member-field:has(.member-field-control textarea[data-editor]) > .member-field-control > textarea { display: block; width: 100%; box-sizing: border-box; }
.member-field:has(.member-field-control textarea[data-editor]) > .member-field-control > .member-editor-tools { margin-left: 0; }

/* 选项组 */
.member-field .member-choice-group { display: flex; flex-wrap: wrap; gap: 0; padding-top: 8px; }
.member-field .member-layui-choice-group { align-items: center; gap: 12px 16px; min-height: 38px; padding-top: 0; }
.member-field .member-layui-choice-group .layui-form-radio,
.member-field .member-layui-choice-group .layui-form-checkbox[lay-skin=primary] { margin: 0; }
.member-field .member-layui-choice-group .layui-form-radio > div,
.member-field .member-layui-choice-group .layui-form-checkbox[lay-skin=primary] > div { color: var(--text); font-size: 14px; }
.member-field .member-choice { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-weight: 500; font-size: 14px; cursor: pointer; border: 1px solid var(--line); background: #fff; margin-right: -1px; }
.member-field .member-choice:first-of-type { border-radius: 4px 0 0 4px; }
.member-field .member-choice:last-of-type { border-radius: 0 4px 4px 0; margin-right: 0; }
.member-field .member-choice:has(:checked) { color: #fff; background: var(--brand); border-color: var(--brand); }
.member-field .member-choice input[type=radio],
.member-field .member-choice input[type=checkbox] { width: 16px; height: 16px; min-height: 16px; accent-color: var(--brand); cursor: pointer; }

/* 上传控件 */
.member-upload-control { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.member-upload-control input[type=hidden] { display: none; }
.member-upload-preview { display: flex; }
.member-upload-preview[hidden] { display: none; }
.member-upload-preview.has-image img { max-width: 200px; max-height: 120px; border-radius: 4px; display: block; }
.member-upload-preview-button { display: block; background: none; border: none; padding: 0; cursor: pointer; }
.member-upload-preview-button img { max-width: 200px; max-height: 120px; border-radius: 4px; }
.member-upload-control > button { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; font-weight: 500; background: #fff; color: var(--text); cursor: pointer; }
.member-upload-control > button:hover { border-color: var(--brand); color: var(--brand); }
.member-upload-control > button[data-member-upload-button] { color: var(--brand); border-color: var(--brand); background: #fff; }
.member-upload-control > button[data-member-upload-button]:hover { opacity: .8; }
.member-upload-control > button[data-member-upload-remove] { color: #e53e3e; border-color: #e53e3e; }
.member-upload-control > button[data-member-upload-remove]:hover { color: #fff; background: #e53e3e; }
.member-upload-remove[hidden] { display: none; }

/* 编辑器工具 */
.member-editor-tools { display: flex; gap: 8px; margin-top: 8px; clear: both; }
.member-editor-tools button { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; background: #fff; color: var(--text); cursor: pointer; }
.member-editor-tools button:hover { border-color: var(--brand); color: var(--brand); }

.member-order-pay-field { display: grid; gap: 10px; width: 600px; max-width: 100%; }
.member-order-pay-field > label { display: grid; gap: 6px; }
.member-order-pay-field > label > span,
.member-order-pay-grid span { color: var(--muted); font-size: 13px; }
.member-order-pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.member-order-pay-grid label { display: grid; gap: 6px; }
.member-order-pay-field textarea { min-height: 86px; }

/* 操作栏 */
.member-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.member-actions a,
.member-actions button { display: inline-flex; align-items: center; gap: 4px; padding: 10px 24px; border: 1px solid var(--line); border-radius: 4px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.member-actions a { background: #fff; color: var(--text); }
.member-actions button.primary { color: #fff; border-color: var(--brand); background: var(--brand); }
.member-actions a:hover { background: var(--soft); }
.member-actions button.primary:hover { opacity: .85; }
.member-actions .member-button { min-height: 40px; padding: 0 24px; font-weight: 600; }

/* 订单 */
.member-page-head { margin-bottom: 20px; }
.member-page-head h2 { margin: 0 0 6px; font-size: 22px; color: var(--text); }
.member-page-head p { margin: 0; color: var(--muted); line-height: 1.7; }
.member-order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.member-order-main,
.member-order-side { min-width: 0; }
.member-order-item { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.member-order-item strong { display: block; color: var(--text); font-size: 18px; line-height: 1.5; }
.member-order-item p { margin: 6px 0 0; color: var(--muted); line-height: 1.7; }
.member-order-price,
.member-order-amount { color: #d92d20; font-size: 22px; font-weight: 700; white-space: nowrap; }
.member-order-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.member-order-total span { color: var(--muted); }
.member-order-total strong { color: #d92d20; font-size: 24px; white-space: nowrap; }
.member-guest-query { padding: 14px 16px 2px; margin-bottom: 16px; border: 1px solid #e6efff; border-radius: 6px; background: #f8fbff; }
.member-guest-query h3 { margin: 0 0 4px; font-size: 15px; color: var(--text); }
.member-guest-query p { margin: 0 0 14px; color: var(--muted); line-height: 1.7; }
.member-payment-options { align-items: center; }
.member-order-side h3 { margin: 0 0 12px; font-size: 17px; color: var(--text); }
.member-order-side p { margin: 0 0 14px; color: var(--muted); line-height: 1.7; }
.member-order-table td { vertical-align: middle; }
.member-detail-table td:first-child { width: 120px; color: var(--muted); white-space: nowrap; }
.member-order-tabs { display: flex; gap: 8px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.member-order-tabs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; margin-bottom: -1px; border: 1px solid transparent; border-radius: 4px 4px 0 0; color: var(--text); text-decoration: none; }
.member-order-tabs a:hover { color: var(--brand); }
.member-order-tabs a.is-active { color: var(--brand); border-color: var(--line); border-bottom-color: #fff; background: #fff; font-weight: 600; }
.member-order-search { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.member-order-search input[type=search] { width: 260px; max-width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: #fff; box-sizing: border-box; }
.member-order-search input[type=search]:focus { outline: none; border-color: var(--brand); }
.member-order-status { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 24px; padding: 0 8px; border-radius: 6px; white-space: nowrap; font-size: 12px; line-height: 24px; }
.member-order-status.is-paid { color: #047857; background: #d1fae5; }
.member-order-status.is-pending { color: #1d4ed8; background: #dbeafe; }
.member-order-status.is-approved { color: #7c3aed; background: #ede9fe; }
.member-order-status.is-rejected { color: #b42318; background: #fee4e2; }
.member-order-status.is-closed,
.member-order-status.is-refunded { color: #475569; background: #e2e8f0; }
.member-button { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); background: #fff; text-decoration: none; box-sizing: border-box; }
.member-button.primary { color: #fff; border-color: var(--brand); background: var(--brand); }
.member-button:hover { border-color: var(--brand); color: var(--brand); }
.member-button.primary:hover { color: #fff; opacity: .86; }
.member-withdraw-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0 112px; }
.member-withdraw-preview div { padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfe; }
.member-withdraw-preview span { display: block; color: var(--muted); font-size: 13px; }
.member-withdraw-preview strong { display: block; margin-top: 6px; color: var(--text); font-size: 18px; }
.member-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding-top: 16px; color: var(--muted); }
.member-pagination a,
.member-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--text); text-decoration: none; box-sizing: border-box; }
.member-pagination a:hover { border-color: var(--brand); color: var(--brand); }
.member-pagination .member-pagination-total { border-color: transparent; background: transparent; color: var(--muted); }
.member-pagination .is-current { border-color: var(--brand); background: var(--brand); color: #fff; }
.member-pagination .is-disabled,
.member-pagination .is-ellipsis { color: #94a3b8; background: #f8fafc; }
.member-order-paybox { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 320px; max-width: 100%; padding: 20px 18px; margin: 0 auto 22px; border: 1px solid #dbeafe; border-radius: 6px; background: #f8fbff; text-align: center; }
.member-order-paybox-title { color: var(--text); font-size: 16px; font-weight: 700; }
.member-order-paybox-tip { color: #92400e; font-size: 13px; line-height: 1.7; }
.member-order-paybox img { width: 180px; height: 180px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.member-order-delivery { margin-top: 22px; border: 1px solid #dbeafe; border-radius: 8px; background: #f8fbff; overflow: hidden; }
.member-order-delivery-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #dbeafe; background: #eff6ff; }
.member-order-delivery-head h3 { margin: 0 0 4px; color: var(--text); font-size: 18px; }
.member-order-delivery-head p { margin: 0; color: var(--muted); line-height: 1.6; }
.member-order-delivery-list { display: grid; gap: 12px; padding: 16px 18px; }
.member-order-delivery-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; }
.member-order-delivery-title { color: var(--text); font-size: 15px; font-weight: 700; line-height: 34px; }
.member-order-delivery-action { display: flex; align-items: center; gap: 10px; min-width: 0; }
.member-order-delivery-path { min-width: 0; flex: 1; padding: 8px 10px; border: 1px solid #edf2f7; border-radius: 4px; color: #475569; background: #f8fafc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-order-delivery-text { display: grid; gap: 8px; min-width: 0; }
.member-order-delivery-line { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 10px; border-radius: 4px; background: #f8fafc; color: #475569; line-height: 1.7; }
.member-order-delivery-line span { color: #64748b; white-space: nowrap; }
.member-order-delivery-line strong { color: var(--text); font-weight: 600; word-break: break-word; }
.member-field.compact { display: block; }
.member-field.compact > span { display: block; width: auto; padding: 0 0 8px; text-align: left; }
.member-field.compact > select { width: 100%; }

/* 图片预览 */
.member-image-preview-layer { position: fixed; inset: 0; z-index: 9999; }
.member-image-preview-mask { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.member-image-preview-modal { position: relative; top: 10%; max-width: 640px; margin: 0 auto; padding: 16px; background: #fff; border-radius: 8px; }
.member-image-preview-modal img { width: 100%; display: block; }
.member-image-preview-close { position: absolute; top: 8px; right: 12px; font-size: 22px; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .member-topbar { height: auto; min-height: 64px; padding: 12px 16px; gap: 12px; }
  .member-brandline { gap: 12px; }
  .member-topnav { gap: 14px; }
  .member-topbar .member-logo { font-size: 20px; }
  .member-home-link { display: none; }
  .member-auth-wrap { margin: 24px auto; padding: 0 16px; }
  .member-auth-shell { display: block; min-height: 0; }
  .member-auth-brand { padding: 30px 28px; }
  .member-auth-brand strong { margin-bottom: 24px; }
  .member-auth-card { padding: 30px 28px; }
  .member-auth-grid { grid-template-columns: 1fr; }
  .member-layout { display: block; }
  .member-sidebar { width: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .member-main { padding: 16px; }
  .member-order-layout { grid-template-columns: 1fr; }
  .member-order-item { display: block; }
  .member-order-price { margin-top: 10px; }
  .member-field { display: block; }
  .member-field > span { display: block; width: auto; padding: 0 0 8px; text-align: left; }
  .member-field > input[type=text],
  .member-field > input[type=number],
  .member-field > input[type=email],
  .member-field > input[type=password],
  .member-field > input[type=url],
  .member-field > select,
  .member-field > textarea:not([data-member-editor]) { width: 100%; }
  .member-order-pay-field { width: 100%; }
  .member-order-pay-grid { grid-template-columns: 1fr; }
  .member-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-order-delivery-item,
  .member-order-delivery-line { grid-template-columns: 1fr; }
  .member-order-delivery-title { line-height: 1.5; }
  .member-order-delivery-action { align-items: stretch; flex-direction: column; }
  .member-order-delivery-path { white-space: normal; word-break: break-word; }
  .member-withdraw-preview { grid-template-columns: 1fr; margin-left: 0; }
  .member-order-search { align-items: stretch; flex-direction: column; }
  .member-order-search input[type=search],
  .member-order-search .member-button { width: 100%; }
}

@media (max-width: 520px) {
  .member-asset-grid { grid-template-columns: 1fr; }
  .member-stat-grid { grid-template-columns: 1fr; }
}
