﻿/* ============ 模拟交易 - 样式 ============ */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg-deep: #f5f6f8;
  --bg-base: #eef0f4;
  --bg-surface: #ffffff;
  --bg-elevated: #f8f9fb;
  --bg-overlay: #eaecf0;
  --border-subtle: #e5e7eb;
  --border-default: #d1d5db;
  --border-strong: #9ca3af;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --accent-blue: #2563eb;
  --accent-blue-dim: #1d4ed8;
  --accent-blue-glow: rgba(37,99,235,0.08);
  --accent-green: #16a34a;
  --accent-green-dim: #15803d;
  --accent-red: #dc2626;
  --accent-red-dim: #b91c1c;
  --accent-orange: #ea580c;
  --accent-purple: #7c3aed;
  --accent-yellow: #d97706;
  --glow-blue: rgba(37,99,235,0.08);
  --glow-green: rgba(22,163,74,0.08);
  --glow-red: rgba(220,38,38,0.08);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --transition-fast: .15s ease;
  --transition-normal: .25s ease;
}
body { font-family:'Microsoft YaHei','PingFang SC',-apple-system,sans-serif; background:var(--bg-deep); color:var(--text-primary); overflow-x:hidden; -webkit-tap-highlight-color:transparent; }
button, a, select { touch-action:manipulation; }

/* === 顶栏 === */
.t-topbar { background:linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%); border-bottom:2px solid rgba(22,163,74,0.15); padding:0 20px; display:flex; flex-direction:column; position:relative; box-shadow:0 1px 6px rgba(22,163,74,0.06); }
.t-topbar::after { content:''; position:absolute; bottom:-2px; left:0; right:0; height:2px; background:linear-gradient(90deg, transparent, var(--accent-green), #60a5fa, transparent); opacity:0.5; }
.t-topbar-row1 { display:flex; align-items:center; gap:8px; padding:6px 0 2px; }
.t-topbar-row2 { display:flex; align-items:center; gap:8px; padding:2px 0 6px; }
.t-brand { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.t-logo { font-size:20px; filter:drop-shadow(0 0 4px rgba(22,163,74,0.3)); }
.t-topbar h1 { font-size: 17px; background:linear-gradient(135deg, var(--accent-green), #60a5fa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; white-space:nowrap; letter-spacing:0.5px; font-weight:700; line-height:1.2; }
.t-version-tag { background:linear-gradient(135deg, var(--accent-blue), #60a5fa); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; font-size: 10px; font-weight:800; letter-spacing:0.5px; border:1px solid rgba(37,99,235,0.3); border-radius:3px; padding:0 4px; margin-left:2px; }
.t-nav-group { display:flex; align-items:center; gap:0; }
.t-nav-item { background:transparent; border:none; border-radius:8px; padding:6px 16px; min-height:32px; display:inline-flex; align-items:center; color:var(--text-secondary); font-size: 13px; cursor:pointer; transition:all .15s ease; white-space:nowrap; text-decoration:none; font-weight:400; }
.t-nav-item:hover { color:var(--accent-green); background:rgba(22,163,74,0.06); }
.t-nav-item.active { background:linear-gradient(135deg, var(--accent-green-dim), var(--accent-green)); color:#fff; font-weight:600; box-shadow:0 2px 8px rgba(22,163,74,0.3); }
.t-topbar-right { margin-left:auto; display:flex; align-items:center; gap:10px; }
.t-user-display { color:var(--accent-blue); font-size: 15px; font-weight:600; }

/* === 通用组件 === */
.t-input { background:var(--bg-deep); border:1px solid var(--border-default); border-radius:var(--radius-sm); padding:7px 12px; color:var(--text-primary); font-size: 15px; outline:none; transition:border var(--transition-fast), box-shadow var(--transition-fast); }
.t-input:focus { border-color:var(--accent-blue); box-shadow:0 0 0 3px var(--glow-blue); }
.t-input[readonly] { color:var(--text-secondary); background:var(--bg-surface); }
.t-btn { padding:8px 18px; border-radius:var(--radius-sm); font-size: 15px; cursor:pointer; border:1px solid var(--border-default); background:var(--bg-elevated); color:var(--text-primary); white-space:nowrap; transition:all var(--transition-fast); }
.t-btn:hover { background:var(--bg-overlay); border-color:var(--border-strong); }
.t-btn-primary { background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); border-color:var(--accent-blue); color:#fff; }
.t-btn-primary:hover { box-shadow:0 0 12px var(--glow-blue); transform:translateY(-1px); }
.t-btn-buy { background:linear-gradient(135deg, var(--accent-red-dim), var(--accent-red)); border-color:var(--accent-red); color:#fff; flex:1; padding:10px; font-size: 17px; font-weight:600; }
.t-btn-buy:hover { box-shadow:0 0 12px var(--glow-red); transform:translateY(-1px); }
.t-btn-sell { background:linear-gradient(135deg, var(--accent-green-dim), var(--accent-green)); border-color:var(--accent-green); color:#fff; flex:1; padding:10px; font-size: 17px; font-weight:600; }
.t-btn-sell:hover { box-shadow:0 0 12px var(--glow-green); transform:translateY(-1px); }
.t-btn-warn { background:linear-gradient(135deg, #a16207, var(--accent-yellow)); border-color:var(--accent-yellow); color:#fff; }
.t-btn-ghost { background:transparent; color:var(--text-secondary); border-color:var(--border-default); }
.t-btn-sm { padding:4px 10px; border-radius:4px; font-size: 13px; cursor:pointer; border:1px solid var(--border-default); background:var(--bg-elevated); color:var(--text-primary); transition:all var(--transition-fast); }
.t-btn-sm.t-btn-primary { background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); border-color:var(--accent-blue); color:#fff; }
.t-btn-sm.t-btn-sell { background:rgba(22,163,74,0.08); border-color:rgba(22,163,74,0.25); color:var(--accent-green); }
.t-btn-sm.t-btn-sell:hover { background:rgba(22,163,74,0.15); }
.t-btn-sm.t-btn-warn { background:rgba(217,119,6,0.08); border-color:rgba(217,119,6,0.25); color:var(--accent-yellow); }

/* === Toast === */
.t-toast-container { position:fixed; top:60px; right:20px; z-index:10000; display:flex; flex-direction:column; gap:8px; }
.t-toast { padding:10px 18px; border-radius:var(--radius-md); font-size: 15px; color:#1f2937; animation:tToastIn .3s ease; min-width:200px; max-width:400px; transition:opacity .3s; backdrop-filter:blur(12px); }
.t-toast.error { background:rgba(254,226,226,0.95); border:1px solid var(--accent-red); color:#991b1b; }
.t-toast.warn { background:rgba(254,243,199,0.95); border:1px solid var(--accent-orange); color:#92400e; }
.t-toast.success { background:rgba(220,252,231,0.95); border:1px solid var(--accent-green); color:#166534; }
.t-toast.info { background:rgba(219,234,254,0.95); border:1px solid var(--accent-blue); color:#1e40af; }
@keyframes tToastIn { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:translateX(0); } }

/* === 弹窗 === */
.t-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:9000; display:none; justify-content:center; align-items:center; backdrop-filter:blur(8px); animation:tAuthFadeIn .3s ease; }
.t-modal-overlay.show { display:flex; }
@keyframes tAuthFadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes tAuthSlideUp { from { opacity:0; transform:translateY(20px) scale(0.97); } to { opacity:1; transform:translateY(0) scale(1); } }

.t-modal { background:var(--bg-surface); border:1px solid var(--border-default); border-radius:16px; width:340px; max-width:calc(100vw - 24px); overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,0.4); animation:tAuthSlideUp .35s ease; }

/* 品牌区 */
.t-auth-brand { text-align:center; padding:28px 24px 18px; background:linear-gradient(135deg, rgba(37,99,235,0.08), rgba(37,99,235,0.02)); border-bottom:1px solid var(--border-subtle); }
.t-auth-logo { width:52px; height:52px; margin:0 auto 10px; background:linear-gradient(135deg, #2563eb, #60a5fa); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:900; color:#fff; box-shadow:0 4px 16px rgba(37,99,235,0.3); }
.t-auth-brand h2 { margin:0 0 4px; font-size:20px; color:var(--text-primary); font-weight:700; letter-spacing:1px; }
.t-auth-brand p { margin:0; font-size:13px; color:var(--text-muted); }

.t-auth-tabs { display:flex; border-bottom:1px solid var(--border-subtle); }
.t-auth-tab { flex:1; text-align:center; padding:12px 0; font-size:15px; font-weight:600; color:var(--text-muted); cursor:pointer; border-bottom:2px solid transparent; transition:all .2s; }
.t-auth-tab:hover { color:var(--text-secondary); background:rgba(37,99,235,0.03); }
.t-auth-tab.active { color:var(--accent-blue); border-bottom-color:var(--accent-blue); }

/* 表单区 */
.t-auth-form { padding:20px 24px 24px; }
.t-auth-field { margin-bottom:16px; }
.t-auth-field label { display:block; font-size:13px; color:var(--text-secondary); margin-bottom:6px; font-weight:500; }
.t-auth-field input { width:100%; box-sizing:border-box; padding:10px 14px; background:var(--bg-deep); border:1.5px solid var(--border-default); border-radius:8px; color:var(--text-primary); font-size:15px; outline:none; transition:all .2s; }
.t-auth-field input:focus { border-color:var(--accent-blue); box-shadow:0 0 0 3px rgba(37,99,235,0.15); background:var(--bg-surface); }
.t-auth-field input::placeholder { color:var(--text-muted); font-size:14px; }

/* 密码显隐 */
.t-auth-pwd-wrap { position:relative; }
.t-auth-pwd-wrap input { padding-right:40px; }
.t-auth-eye { position:absolute; right:10px; top:50%; transform:translateY(-50%); width:28px; height:28px; cursor:pointer; opacity:0.4; transition:opacity .2s; display:flex; align-items:center; justify-content:center; }
.t-auth-eye:hover { opacity:0.8; }
.t-auth-eye::after { content:'●●●'; font-size:10px; letter-spacing:1px; }
.t-auth-pwd-wrap.show-pwd .t-auth-eye::after { content:'Aa'; font-size:12px; font-weight:600; }

/* 提交按钮 */
.t-auth-submit { width:100%; padding:11px; background:linear-gradient(135deg, #2563eb, #60a5fa); border:none; border-radius:8px; color:#fff; font-size:16px; font-weight:600; cursor:pointer; transition:all .2s; margin-top:4px; letter-spacing:1px; }
.t-auth-submit:hover { box-shadow:0 4px 16px rgba(37,99,235,0.35); transform:translateY(-1px); }
.t-auth-submit:active { transform:translateY(0); box-shadow:none; }
.t-auth-submit:disabled { background:var(--bg-overlay); color:var(--text-muted); cursor:not-allowed; box-shadow:none; transform:none; }

/* === 主体 === */
.t-main { display:flex; min-height:calc(100dvh - 46px); }
.t-left { width:400px; background:linear-gradient(180deg, #ffffff 0%, #f9fafb 100%); border-right:1px solid var(--border-subtle); overflow-y:auto; flex-shrink:0; padding:16px; display:flex; flex-direction:column; gap:12px; }
.t-left::-webkit-scrollbar { width:4px; }
.t-left::-webkit-scrollbar-thumb { background:var(--border-default); border-radius:2px; }
.t-right { flex:1; overflow-y:auto; padding:16px; }
.t-right::-webkit-scrollbar { width:4px; }
.t-right::-webkit-scrollbar-thumb { background:var(--border-default); border-radius:2px; }

/* === 卡片 === */
.t-card { background:var(--bg-deep); border:1px solid var(--border-subtle); border-radius:var(--radius-md); padding:14px; transition:border var(--transition-fast); }
.t-card:hover { border-color:var(--border-default); }
.t-card h3 { font-size: 15px; color:var(--accent-blue); margin-bottom:10px; display:flex; align-items:center; gap:6px; }
.t-card h3::before { content:''; display:inline-block; width:3px; height:12px; background:linear-gradient(180deg, var(--accent-blue-dim), var(--accent-blue)); border-radius:2px; }

/* === 账户 === */
.t-account-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.t-acct-item { display:flex; flex-direction:column; gap:2px; }
.t-acct-label { font-size: 13px; color:var(--text-secondary); }
.t-acct-val { font-size: 17px; font-weight:600; }
.t-acct-pct-row { margin-top:8px; display:flex; justify-content:space-between; align-items:center; font-size: 15px; color:var(--text-secondary); }
.t-acct-pct { font-size: 22px; font-weight:700; }

/* === 交易面板 === */
.t-trade-stock { display:flex; gap:6px; margin-bottom:8px; }
.t-trade-stock .t-input { flex:1; }
.t-trade-price-row { display:flex; gap:16px; align-items:center; margin-bottom:10px; padding:8px 12px; background:var(--bg-elevated); border-radius:var(--radius-sm); border:1px solid var(--border-subtle); }
.t-trade-label { font-size: 13px; color:var(--text-secondary); }
.t-trade-price-val { font-size: 18px; font-weight:700; }
.t-trade-form { display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.t-form-row { display:flex; align-items:center; gap:8px; }
.t-form-row label { font-size: 14px; color:var(--text-secondary); min-width:55px; }
.t-form-row .t-input { flex:1; }
.t-qty-btns { display:flex; gap:2px; }
.t-qty-btns button { padding:2px 8px; font-size: 12px; background:var(--bg-elevated); border:1px solid var(--border-default); border-radius:3px; color:var(--text-secondary); cursor:pointer; transition:all var(--transition-fast); }
.t-qty-btns button:hover { background:var(--bg-overlay); color:var(--text-primary); }
.t-trade-actions { display:flex; gap:8px; }

/* === Tab === */
.t-tabs { display:flex; gap:2px; background:var(--bg-elevated); border:1px solid var(--border-subtle); border-radius:var(--radius-sm); padding:2px; margin-bottom:12px; }
.t-tab { flex:1; text-align:center; padding:8px 4px; font-size: 15px; color:var(--text-secondary); border-radius:4px; cursor:pointer; transition:all var(--transition-fast); }
.t-tab:hover { color:var(--text-primary); }
.t-tab.active { background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); color:#fff; box-shadow:0 0 8px var(--glow-blue); }

/* === 表格 === */
.t-table { width:100%; border-collapse:collapse; }
.t-table th { font-size: 13px; color:var(--text-secondary); text-align:left; padding:8px 10px; border-bottom:1px solid var(--border-subtle); font-weight:400; }
.t-table td { padding:8px 10px; border-bottom:1px solid var(--border-subtle); font-size: 14px; vertical-align:middle; }
.t-table tbody tr { transition:background var(--transition-fast); }
.t-table tbody tr:hover { background:var(--bg-surface); }
.t-empty { text-align:center; color:var(--text-muted); padding:20px; font-size: 15px; }
.t-stock-name { color:var(--text-primary); font-weight:500; }
.t-stock-code { color:var(--text-secondary); font-size: 13px; }
.t-time-cell { font-size: 13px; color:var(--text-secondary); white-space:nowrap; }
.t-dir-buy { color:var(--accent-red); font-weight:600; }
.t-dir-sell { color:var(--accent-green); font-weight:600; }

/* === 排行榜 === */
.t-leaderboard { max-height:300px; overflow-y:auto; }
.t-lb-item { display:flex; align-items:center; gap:8px; padding:8px; border-bottom:1px solid var(--border-subtle); font-size: 14px; transition:background var(--transition-fast); }
.t-lb-item:hover { background:var(--bg-surface); }
.t-lb-item.top3 .t-lb-rank { background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); box-shadow:0 0 8px var(--glow-blue); }
.t-lb-rank { width:22px; height:22px; border-radius:50%; background:var(--bg-elevated); color:var(--text-secondary); display:flex; align-items:center; justify-content:center; font-size: 13px; font-weight:700; flex-shrink:0; }
.t-lb-name { flex:1; color:var(--text-primary); }
.t-lb-pct { font-weight:700; min-width:60px; text-align:right; }
.t-lb-assets { color:var(--text-secondary); font-size: 13px; min-width:80px; text-align:right; }

/* === 响应式 === */
@media (max-width: 900px) {
  .t-main { flex-direction:column; height:auto; min-height:auto; }
  .t-left { width:100%; border-right:none; border-bottom:none; border-top:1px solid var(--border-subtle); max-height:none; overflow:visible; order:2; }
  .t-right { min-height:45vh; order:1; }
  .t-topbar-row1 { flex-wrap:wrap; }
  .t-topbar-row2 { flex-wrap:wrap; }
  /* 导航水平滚动 */
  .t-nav-group { overflow-x:auto; -webkit-overflow-scrolling:touch; -ms-overflow-style:none; scrollbar-width:none; }
  .t-nav-group::-webkit-scrollbar { display:none; }
  .t-nav-item { flex-shrink:0; }
  /* 交易面板输入区适配 */
  .t-trade-stock { flex-wrap: wrap; }
  .t-trade-stock .t-input { width: auto; flex: 1; min-width: 120px; }
  .t-trade-stock .t-btn-sm { width: auto; min-height: 36px; }
  .t-qty-btns button { padding: 2px 6px; font-size: 12px; }
  .t-trade-actions { flex-direction: row; }
}
@media (max-width: 768px) {
  .t-left { padding: 12px 8px; gap: 8px; }
  .t-right { min-height: 40vh; padding: 12px 8px; }
  .t-topbar-row1 { padding: 4px 0 2px; gap: 4px; }
  .t-topbar-row2 { flex-wrap:wrap; padding: 2px 0 6px; gap: 4px; }
  .t-topbar h1 { font-size: 16px; }
  /* 导航水平滚动完善 */
  .t-nav-group { flex:1 1 100%; overflow-x:auto; -webkit-overflow-scrolling:touch; -ms-overflow-style:none; scrollbar-width:none; }
  .t-nav-group::-webkit-scrollbar { display:none; }
  .t-nav-item { font-size:14px; flex-shrink:0; }
  .t-account-grid { grid-template-columns: 1fr 1fr; }
  .t-acct-label { font-size: 12px; }
  .t-acct-val { font-size: 15px; }
  .t-acct-pct { font-size: 18px; }
  /* 交易面板竖排 */
  .t-trade-stock { flex-direction: column; gap: 6px; }
  .t-trade-stock .t-input { width: 100%; }
  .t-trade-stock .t-btn-sm { width: 100%; }
  .t-form-row { flex-direction: column; gap: 4px; }
  .t-form-row label { font-size: 13px; min-width: auto; }
  .t-form-row .t-input { width: 100%; }
  .t-qty-btns { display: flex; gap: 2px; }
  .t-qty-btns button { flex: 1; padding: 4px 4px; font-size: 12px; min-height: 36px; }
  .t-trade-actions { flex-direction: column; gap: 6px; }
  .t-trade-actions .t-btn { width: 100%; min-height: 44px; }
  /* 表格响应 */
  .t-tab-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .t-table { min-width: 500px; }
  /* iOS 防缩放：输入框≥16px */
  .t-input { font-size: 16px; }
  .t-auth-field input { font-size: 16px; }
  .change-pwd-body .auth-field input { font-size: 16px; }
  /* Toast适配 */
  .t-toast { min-width: 160px; max-width: calc(100vw - 40px); font-size: 14px; }
  .t-toast-container { right: 10px; top: 40px; }
}
@media (max-width: 480px) {
  .t-topbar-row1 { padding: 4px 0 2px; gap: 4px; }
  .t-topbar-row2 { padding: 2px 0 4px; gap: 4px; }
  .t-topbar h1 { font-size: 15px; }
  .t-nav-item { padding:3px 6px; font-size:14px; flex-shrink:0; }
  .t-left { padding: 10px 6px; }
  .t-right { padding: 10px 6px; }
  .t-card { padding: 8px; }
  .t-card h3 { font-size: 14px; margin-bottom: 8px; }
  .t-account-grid { gap: 4px; }
  .t-acct-label { font-size: 11px; }
  .t-acct-val { font-size: 14px; }
  .t-acct-pct { font-size: 16px; }
  /* 交易面板超紧凑 */
  .t-trade-price-row { flex-wrap: wrap; gap: 4px; padding: 6px 8px; }
  .t-trade-label { font-size: 12px; }
  .t-trade-price-val { font-size: 16px; }
  .t-input { font-size: 14px; padding: 6px 8px; }
  .t-btn { font-size: 14px; padding: 7px 14px; }
  .t-btn-buy, .t-btn-sell { padding: 8px; font-size: 15px; }
  /* 表格卡片布局 */
  .t-table { min-width:auto; }
  .t-table thead { display:none; }
  .t-table tbody tr { display:flex; flex-wrap:wrap; gap:4px 8px; padding:10px 6px; border:1px solid var(--border-subtle); border-radius:var(--radius-md); margin-bottom:8px; background:var(--bg-surface); }
  .t-table tbody tr:hover { background:var(--bg-surface); }
  .t-table td { border-bottom:none; padding:2px 0; font-size:13px; }
  .t-table td::before { content:attr(data-label); color:var(--text-muted); font-size:11px; margin-right:4px; }
  .t-table td[colspan] { display:block; text-align:center; padding:8px; }
  /* 持仓表格卡片宽度 */
  .t-table td:nth-child(1) { width:100%; font-weight:600; }
  .t-table td:nth-child(n+2) { width:auto; }
  /* 排行榜紧凑 */
  .t-lb-item { padding: 6px 4px; font-size: 13px; }
  .t-lb-name { font-size: 13px; }
  .t-lb-assets { font-size: 11px; min-width: 60px; }
  /* 弹窗缩窄 */
  .t-modal, .change-pwd-modal, .reg-success-modal { width: calc(100vw - 24px); max-width: 340px; }
  /* 守卫紧凑 */
  .t-guard-box { padding: 24px 16px; }
  .t-guard-icon { font-size: 38px; }
  .t-guard-box h2 { font-size: 19px; }
  .t-guard-box p { font-size: 15px; }
  /* Tab 紧凑 */
  .t-tabs { font-size: 14px; }
  .t-tab { padding: 6px 4px; font-size: 13px; }
}

/* === 登录守卫 === */
.t-login-guard { display:flex; align-items:center; justify-content:center; min-height:60vh; }
.t-guard-box { text-align:center; padding:40px; }
.t-guard-icon { font-size: 50px; margin-bottom:16px; opacity:0.3; }
.t-guard-box h2 { color:var(--text-primary); font-size: 22px; margin-bottom:8px; }
.t-guard-box p { color:var(--text-secondary); font-size: 16px; margin-bottom:20px; }
.t-guard-actions { display:flex; gap:12px; justify-content:center; }
.t-guard-actions .t-btn { text-decoration:none; display:inline-block; }

/* === 修改密码模态框 === */
.change-pwd-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.25); z-index:10001; display:none; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
.change-pwd-modal { background:var(--bg-surface); border:1px solid var(--border-default); border-radius:var(--radius-lg); width:380px; max-width:calc(100vw - 24px); box-shadow:0 4px 16px rgba(0,0,0,0.1); animation:tModalFadeIn .25s ease; }
@keyframes tModalFadeIn { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }
.change-pwd-header { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; border-bottom:1px solid var(--border-subtle); }
.change-pwd-header h3 { margin:0; font-size: 17px; color:var(--text-primary); }
.change-pwd-header .close-btn { background:none; border:none; color:var(--text-muted); font-size: 22px; cursor:pointer; line-height:1; transition:color .15s; }
.change-pwd-header .close-btn:hover { color:var(--text-primary); }
.change-pwd-body { padding:18px; display:flex; flex-direction:column; gap:14px; }
.change-pwd-body .auth-field { display:flex; flex-direction:column; gap:4px; }
.change-pwd-body .auth-field label { font-size: 14px; color:var(--text-secondary); }
.change-pwd-body .auth-field input { background:var(--bg-deep); border:1px solid var(--border-default); border-radius:var(--radius-sm); padding:8px 12px; color:var(--text-primary); font-size: 16px; outline:none; transition:border .15s, box-shadow .15s; }
.change-pwd-body .auth-field input:focus { border-color:var(--accent-blue); box-shadow:0 0 0 3px var(--glow-blue); }
.change-pwd-body .auth-submit-btn { background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); border:none; border-radius:var(--radius-sm); padding:10px; color:#fff; font-size: 16px; font-weight:600; cursor:pointer; transition:all .15s; }
.change-pwd-body .auth-submit-btn:hover { box-shadow:0 0 12px var(--glow-blue); transform:translateY(-1px); }
.t-user-display { cursor:default; transition:color .15s; }
.t-user-display:hover { color:var(--accent-blue); }

/* === 注册成功提示弹窗 === */
.reg-success-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.25); z-index:10002; display:none; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
.reg-success-modal { background:var(--bg-surface); border:1px solid var(--border-default); border-radius:var(--radius-lg); width:340px; max-width:calc(100vw - 24px); padding:32px 24px 24px; text-align:center; box-shadow:0 4px 16px rgba(0,0,0,0.1); animation:tModalFadeIn .25s ease; }
.reg-success-icon { width:56px; height:56px; margin:0 auto 16px; background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size: 30px; color:#fff; box-shadow:0 0 20px var(--glow-blue); }
.reg-success-modal h3 { margin:0 0 8px; font-size: 20px; color:var(--text-primary); }
.reg-success-msg { font-size: 16px; color:var(--text-secondary); margin:0 0 20px; line-height:1.6; }
.reg-success-btn { background:linear-gradient(135deg, var(--accent-blue-dim), var(--accent-blue)); border:none; border-radius:var(--radius-sm); padding:10px 40px; color:#fff; font-size: 16px; font-weight:600; cursor:pointer; transition:all .15s; }
.reg-success-btn:hover { box-shadow:0 0 12px var(--glow-blue); transform:translateY(-1px); }
