/* ============================================================
   用户中心全新皮肤 · Aurora Design
   基于本地 Sneat(core.css) + Bootstrap 5.1.3 之上的覆盖层
   主色：Indigo #6366F1 → Violet #8B5CF6  ·  侧边栏：深空渐变
   ============================================================ */

:root {
  --up-primary: #6366f1;
  --up-primary-2: #8b5cf6;
  --up-primary-3: #4f46e5;
  --up-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --up-gradient-deep: linear-gradient(150deg, #0b0e1f 0%, #171c3d 55%, #2b2160 100%);
  --up-success: #10b981;
  --up-warning: #f59e0b;
  --up-danger: #f43f5e;
  --up-info: #0ea5e9;
  --up-body-bg: #f2f4fb;
  --up-sidebar-text: rgba(226, 232, 240, .72);
  --up-radius: 1rem;
  --up-shadow: 0 2px 6px rgba(63, 71, 139, .05), 0 12px 32px rgba(63, 71, 139, .08);
  --up-shadow-lg: 0 8px 18px rgba(99, 102, 241, .18), 0 20px 48px rgba(63, 71, 139, .12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--up-body-bg);
  background-image:
    radial-gradient(60rem 30rem at 115% -10%, rgba(139, 92, 246, .10), transparent 60%),
    radial-gradient(50rem 26rem at -15% 110%, rgba(14, 165, 233, .08), transparent 60%);
  background-attachment: fixed;
  font-feature-settings: "tnum" 1;
}

/* 细滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(100, 116, 139, .35); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(100, 116, 139, .55); }
::-webkit-scrollbar-track { background: transparent; }

/* ---------------- 侧边栏 ---------------- */
.bg-menu-theme {
  background: var(--up-gradient-deep) !important;
  color: var(--up-sidebar-text) !important;
}

.bg-menu-theme .app-brand { padding: 1rem 1rem .5rem 1rem !important; margin: .5rem .25rem 0; }
.up-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .7rem;
  background: var(--up-gradient);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .45);
  flex: none;
}
.up-brand-text {
  color: #fff !important;
  letter-spacing: .3px;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bg-menu-theme .app-brand-link:hover .up-logo { transform: translateY(-1px); }

.bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(rgba(11, 14, 31, .85) 41%, rgba(11, 14, 31, .11) 95%, rgba(11, 14, 31, 0)) !important;
}

.bg-menu-theme .menu-header { color: rgba(148, 163, 184, .9) !important; }
.bg-menu-theme .menu-inner > .menu-header::before { background-color: rgba(148, 163, 184, .25) !important; }
.bg-menu-theme .menu-header .menu-header-text { font-size: .72rem !important; letter-spacing: .12em; }

.bg-menu-theme .menu-inner .menu-item .menu-link { border-radius: .65rem !important; margin-bottom: .15rem; transition: all .18s ease; }
.bg-menu-theme .menu-link,
.bg-menu-theme .menu-horizontal-prev,
.bg-menu-theme .menu-horizontal-next { color: var(--up-sidebar-text) !important; }
.bg-menu-theme .menu-link:hover, .bg-menu-theme .menu-link:focus,
.bg-menu-theme .menu-item.open:not(.menu-item-closing) > .menu-toggle {
  color: #fff !important;
  background: rgba(255, 255, 255, .07) !important;
}
.bg-menu-theme .menu-icon { font-size: 1.28rem; color: inherit; }
.bg-menu-theme .menu-toggle::after { filter: brightness(2); }

/* 激活态：渐变药丸 + 右侧光点 */
.bg-menu-theme .menu-item.active > .menu-link {
  color: #fff !important;
  background: var(--up-gradient) !important;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .40);
}
.bg-menu-theme .menu-item.active > .menu-link:not(.menu-toggle) { background-color: transparent !important; background: var(--up-gradient) !important; }
.bg-menu-theme .menu-item.active > .menu-link .menu-icon { color: #fff !important; }
.layout-wrapper:not(.layout-horizontal) .bg-menu-theme .menu-inner > .menu-item.active:before { background: rgba(255, 255, 255, .85); }

.bg-menu-theme .menu-sub > .menu-item > .menu-link:before {
  background: rgba(148, 163, 184, .45);
  left: 1.55rem;
}
.bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
  background: var(--up-primary-2) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .25);
}
.bg-menu-theme .menu-sub > .menu-item > .menu-link:hover { background: rgba(255, 255, 255, .05) !important; }

/* 侧边栏底部用户小卡 */
.up-menu-foot {
  margin: auto .75rem .75rem;
  padding: .85rem .9rem;
  border-radius: .9rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(6px);
  color: #cbd5e1;
}
.up-menu-foot .up-foot-name { color: #fff; font-weight: 600; max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-menu-foot .up-foot-avatar {
  width: 2.4rem; height: 2.4rem; border-radius: .65rem;
  background: var(--up-gradient);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex: none;
}
.up-menu-foot a.up-foot-out { color: #fda4af; }
.up-menu-foot a.up-foot-out:hover { color: #fb7185; }

/* ---------------- 顶栏（玻璃） ---------------- */
.bg-navbar-theme {
  background: rgba(255, 255, 255, .72) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: .9rem !important;
  box-shadow: 0 2px 10px rgba(63, 71, 139, .06) !important;
}
.layout-navbar-fixed .layout-page:before {
  background: rgba(242, 244, 251, .6);
}
.up-hello { color: #475569; font-weight: 600; }
.up-hello small { display: block; font-weight: 400; color: #94a3b8; font-size: .78rem; }

.up-balance-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .42rem .9rem;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(139, 92, 246, .12));
  border: 1px solid rgba(99, 102, 241, .25);
  color: var(--up-primary-3) !important;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s ease;
}
.up-balance-pill:hover { background: var(--up-gradient); color: #fff !important; box-shadow: 0 6px 14px rgba(99, 102, 241, .35); }
.up-balance-pill i { font-size: 1.05rem; }

.dropdown-menu { border-radius: .85rem; border: 1px solid #eef1f8; box-shadow: 0 12px 40px rgba(63, 71, 139, .14); padding: .4rem; }
.dropdown-item { border-radius: .55rem; padding: .5rem .75rem; }
.dropdown-item:hover { background: #f4f5ff; color: var(--up-primary-3); }

/* ---------------- 页面标题 ---------------- */
.up-page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.up-page-title { font-size: 1.45rem; font-weight: 700; color: #1e293b; margin: 0; display: flex; align-items: center; gap: .65rem; }
.up-page-title .up-title-bubble {
  width: 2.5rem; height: 2.5rem; border-radius: .75rem;
  background: var(--up-gradient); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem;
  box-shadow: 0 6px 14px rgba(99, 102, 241, .35);
}
.up-page-sub { color: #94a3b8; margin: .15rem 0 0 0; font-size: .875rem; }
.up-gradient-text {
  background: var(--up-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------------- 卡片 ---------------- */
.card {
  border: 1px solid rgba(233, 236, 248, .9);
  border-radius: var(--up-radius) !important;
  box-shadow: var(--up-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { box-shadow: 0 4px 10px rgba(63, 71, 139, .06), 0 16px 40px rgba(63, 71, 139, .10); }
.card-header { background: transparent; border-bottom: 1px solid #eef1f8; padding: 1rem 1.25rem; }
.card-title { font-weight: 700; color: #1e293b; }
.card-subtitle, .card-sub { color: #94a3b8; }

.up-card-hover:hover { transform: translateY(-3px); box-shadow: var(--up-shadow-lg) !important; }

/* 仪表盘欢迎横幅 */
.up-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--up-radius);
  background: var(--up-gradient-deep);
  color: #e2e8f0;
  box-shadow: var(--up-shadow-lg);
}
.up-hero::before, .up-hero::after {
  content: ""; position: absolute; border-radius: 50%;
}
.up-hero::before {
  width: 22rem; height: 22rem; right: -6rem; top: -10rem;
  background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 65%);
}
.up-hero::after {
  width: 16rem; height: 16rem; right: 8rem; bottom: -9rem;
  background: radial-gradient(circle, rgba(14, 165, 233, .30), transparent 65%);
}
.up-hero .up-hero-title { color: #fff; font-weight: 800; font-size: 1.5rem; }
.up-hero .up-hero-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e0e7ff;
  padding: .3rem .8rem; border-radius: 99px; font-size: .8rem;
}

/* 统计卡 */
.up-stat { position: relative; overflow: hidden; }
.up-stat .up-stat-icon {
  width: 2.9rem; height: 2.9rem; border-radius: .85rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: #fff;
  box-shadow: 0 8px 18px rgba(63, 71, 139, .18);
  flex: none;
}
.up-stat .up-stat-icon.i-indigo { background: linear-gradient(135deg, #6366f1, #818cf8); }
.up-stat .up-stat-icon.i-cyan   { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.up-stat .up-stat-icon.i-amber  { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.up-stat .up-stat-icon.i-rose   { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.up-stat .up-stat-icon.i-emerald{ background: linear-gradient(135deg, #10b981, #34d399); }
.up-stat .up-stat-icon.i-violet { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.up-stat .up-stat-label { color: #64748b; font-size: .82rem; font-weight: 500; }
.up-stat .up-stat-value { font-size: 1.55rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.up-stat .up-stat-meta { font-size: .78rem; color: #94a3b8; }

/* 信息列表 */
.up-info-list { list-style: none; margin: 0; padding: 0; }
.up-info-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px dashed #e8ebf6;
}
.up-info-list li:last-child { border-bottom: 0; }
.up-info-list .up-info-k { color: #64748b; display: inline-flex; align-items: center; gap: .6rem; }
.up-info-list .up-info-k i { color: var(--up-primary); font-size: 1.1rem; }

/* ---------------- 按钮 ---------------- */
.btn { border-radius: .65rem; font-weight: 600; }
.btn-lg { border-radius: .8rem; }
.btn-primary, .btn-primary:focus {
  background: var(--up-gradient) !important;
  border: 0 !important;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .35);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(99, 102, 241, .5); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .55; transform: none; }
.btn-outline-primary {
  border-color: rgba(99, 102, 241, .5) !important;
  color: var(--up-primary-3) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:active {
  background: var(--up-gradient) !important; border-color: transparent !important; color: #fff !important;
}
.btn-outline-secondary, .btn-outline-danger, .btn-outline-warning { border-radius: .65rem; }
.btn-soft {
  background: rgba(99, 102, 241, .10);
  color: var(--up-primary-3) !important;
  border: 0;
}
.btn-soft:hover { background: rgba(99, 102, 241, .18); }
.btn-soft-danger { background: rgba(244, 63, 94, .10); color: var(--up-danger) !important; border: 0; }
.btn-soft-danger:hover { background: rgba(244, 63, 94, .2); }
.btn-soft-success { background: rgba(16, 185, 129, .12); color: var(--up-success) !important; border: 0; }
.btn-soft-success:hover { background: rgba(16, 185, 129, .22); }
.btn-soft-warning { background: rgba(245, 158, 11, .12); color: var(--up-warning) !important; border: 0; }
.btn-soft-warning:hover { background: rgba(245, 158, 11, .22); }

/* ---------------- 表单 ---------------- */
.form-control, .form-select {
  border-radius: .65rem;
  border-color: #e3e8f4;
  padding: .55rem .9rem;
}
.form-control:focus, .form-select:focus {
  border-color: rgba(99, 102, 241, .55);
  box-shadow: 0 0 0 .25rem rgba(99, 102, 241, .12);
}
.form-label { font-weight: 600; color: #334155; font-size: .875rem; }
.input-group-text { border-radius: .65rem; background: #f6f7fd; border-color: #e3e8f4; color: #64748b; }
.form-check-input:checked { background-color: var(--up-primary); border-color: var(--up-primary); }
.form-control:focus + .form-control { box-shadow: none; }

/* ---------------- 表格 ---------------- */
.table { color: #334155; --bs-table-hover-bg: #f6f7ff; }
.table thead th {
  background: #f7f8fd;
  color: #64748b;
  font-weight: 600;
  text-transform: none;
  border-bottom: 1px solid #eef1f8;
  white-space: nowrap;
}
.table td, .table th { border-color: #eef1f8; padding: .85rem .9rem; vertical-align: middle; }
.table tbody tr:hover td { background: #f7f8ff; }
.table tr td:first-child, .table tr th:first-child { padding-left: 1.25rem; }
.table tr td:last-child, .table tr th:last-child { padding-right: 1.25rem; }
.up-table-card { overflow: hidden; }
.up-table-card .table { margin: 0; }
.up-mono { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: .85em; }

/* 域名/记录等主键展示 */
.up-cell-main { font-weight: 600; color: #0f172a; }
.up-cell-sub { font-size: .78rem; color: #94a3b8; }

/* ---------------- 徽章 ---------------- */
.badge { font-weight: 600; border-radius: .5rem; padding: .4em .7em; }
.badge.bg-primary { background: var(--up-gradient) !important; }
.badge.bg-gradient { background-image: none; }
.bg-label-primary { background: rgba(99, 102, 241, .12) !important; color: var(--up-primary-3) !important; }
.bg-label-success { background: rgba(16, 185, 129, .12) !important; color: #059669 !important; }
.bg-label-warning { background: rgba(245, 158, 11, .14) !important; color: #b45309 !important; }
.bg-label-danger  { background: rgba(244, 63, 94, .12) !important; color: #e11d48 !important; }
.bg-label-info    { background: rgba(14, 165, 233, .12) !important; color: #0284c7 !important; }
.bg-label-secondary { background: rgba(100, 116, 139, .12) !important; color: #475569 !important; }
.up-dot { width: .5rem; height: .5rem; border-radius: 50%; display: inline-block; margin-right: .35rem; }
.up-dot.on { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.up-dot.off { background: #f43f5e; box-shadow: 0 0 0 3px rgba(244, 63, 94, .16); }

/* ---------------- 分页 ---------------- */
.pagination { margin-bottom: 0; }
.page-link {
  border: 0; border-radius: .6rem !important; margin: 0 .18rem;
  color: #475569; font-weight: 600; min-width: 2.1rem; text-align: center;
}
.page-item:first-child .page-link, .page-item:last-child .page-link { border-radius: .6rem !important; }
.page-item.active .page-link { background: var(--up-gradient) !important; box-shadow: 0 4px 12px rgba(99, 102, 241, .35); color: #fff !important; }
.page-link:focus { box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .15); }

/* ---------------- Tab（个人中心等） ---------------- */
.nav-tabs { border-bottom: 2px solid #eef1f8; gap: .25rem; }
.nav-tabs .nav-link {
  border: 0; border-bottom: 2px solid transparent;
  color: #64748b; font-weight: 600; padding: .7rem 1.1rem; margin-bottom: -2px;
  border-radius: 0;
  display: inline-flex; align-items: center; gap: .45rem;
}
.nav-tabs .nav-link:hover { color: var(--up-primary-3); }
.nav-tabs .nav-link.active { color: var(--up-primary-3) !important; border-bottom: 2px solid transparent; border-image: var(--up-gradient) 1; background: transparent; }
.nav-pills .nav-link { border-radius: .65rem; font-weight: 600; color: #64748b; }
.nav-pills .nav-link.active { background: var(--up-gradient) !important; box-shadow: 0 6px 14px rgba(99, 102, 241, .3); }

/* ---------------- 弹窗 / 提示 ---------------- */
.modal-content { border-radius: 1rem; border: 0; box-shadow: 0 24px 64px rgba(30, 27, 75, .25); }
.modal-header { border-bottom: 1px solid #eef1f8; padding: 1.1rem 1.4rem; }
.modal-title { font-weight: 700; color: #1e293b; }
.modal-footer { border-top: 1px solid #eef1f8; }
.modal-body { padding: 1.4rem; }
.alert { border-radius: .8rem; border: 0; }
.alert-primary { background: rgba(99, 102, 241, .1); color: var(--up-primary-3); }
.alert-warning { background: rgba(245, 158, 11, .12); color: #b45309; }
.alert-danger { background: rgba(244, 63, 94, .1); color: #e11d48; }
.alert-success { background: rgba(16, 185, 129, .12); color: #059669; }
.alert-info { background: rgba(14, 165, 233, .1); color: #0284c7; }

/* SweetAlert 与新皮肤协调 */
.swal2-popup { border-radius: 1.1rem !important; font-family: inherit !important; }
.swal2-title { font-size: 1.25rem !important; font-weight: 700 !important; }
.swal2-styled.swal2-confirm {
  background: var(--up-gradient) !important;
  border-radius: .65rem !important;
  box-shadow: 0 6px 16px rgba(99, 102, 241, .35) !important;
}
.swal2-styled.swal2-cancel { border-radius: .65rem !important; }
.swal2-container { z-index: 2000 !important; }

/* ---------------- 空状态 ---------------- */
.up-empty { text-align: center; padding: 3rem 1rem; color: #94a3b8; }
.up-empty .up-empty-icon {
  width: 4.2rem; height: 4.2rem; margin: 0 auto 1rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, .12), rgba(139, 92, 246, .12));
  color: var(--up-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem;
}
.up-empty .up-empty-title { font-weight: 700; color: #475569; margin-bottom: .25rem; }

/* ---------------- 套餐/域名选购卡 ---------------- */
.up-plan {
  position: relative; overflow: hidden;
  border-radius: var(--up-radius);
  background: #fff;
  border: 1px solid rgba(233, 236, 248, .9);
  box-shadow: var(--up-shadow);
  transition: all .2s ease;
  height: 100%;
}
.up-plan:hover { transform: translateY(-4px); box-shadow: var(--up-shadow-lg); border-color: rgba(99, 102, 241, .35); }
.up-plan .up-plan-head {
  padding: 1.1rem 1.25rem .9rem;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.up-plan .up-plan-name { font-weight: 700; color: #0f172a; font-size: 1.05rem; word-break: break-all; }
.up-plan .up-plan-body { padding: 0 1.25rem 1.1rem; }
.up-plan .up-plan-price {
  display: inline-flex; align-items: baseline; gap: .2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .1));
  border: 1px solid rgba(99, 102, 241, .18);
  color: var(--up-primary-3);
  border-radius: .7rem; padding: .45rem .8rem;
  font-weight: 700;
}
.up-plan .up-plan-price b { font-size: 1.15rem; }
.up-plan .up-plan-price small { color: #94a3b8; font-weight: 500; }
.up-plan .up-plan-desc {
  margin: .8rem 0; padding: .7rem .85rem;
  background: #f8f9ff; border-radius: .7rem;
  color: #64748b; font-size: .84rem; line-height: 1.55;
  max-height: 6.5rem; overflow-y: auto;
}
.up-plan .up-plan-actions { display: flex; gap: .5rem; }
.up-plan .up-plan-actions .btn { flex: 1; }

/* 选购页顶部渐变 banner */
.up-shop-banner {
  position: relative; overflow: hidden;
  border-radius: var(--up-radius);
  padding: 1.75rem 1.75rem;
  background: var(--up-gradient);
  color: #fff;
  box-shadow: var(--up-shadow-lg);
}
.up-shop-banner::after {
  content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 50%;
  right: -4rem; top: -8rem;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%);
}
.up-shop-banner h4 { color: #fff; font-weight: 800; }
.up-shop-banner p { color: rgba(255, 255, 255, .85); margin: 0; }

/* ---------------- 充值页 ---------------- */
.up-amount-btn {
  border: 1.5px solid #e3e8f4; background: #fff;
  border-radius: .85rem; padding: .9rem .5rem;
  font-weight: 700; color: #334155;
  width: 100%; text-align: center; cursor: pointer;
  transition: all .16s ease;
}
.up-amount-btn small { display: block; font-weight: 500; color: #94a3b8; font-size: .74rem; }
.up-amount-btn:hover { border-color: rgba(99, 102, 241, .5); color: var(--up-primary-3); }
.up-amount-btn.active {
  border-color: transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--up-gradient) border-box;
  border: 1.5px solid transparent;
  color: var(--up-primary-3);
  box-shadow: 0 8px 18px rgba(99, 102, 241, .18);
}
.up-pay-card {
  border-radius: var(--up-radius);
  border: 1.5px solid #e3e8f4;
  background: #fff;
  padding: 1.4rem 1rem;
  text-align: center; cursor: pointer;
  transition: all .18s ease;
  height: 100%;
}
.up-pay-card .up-pay-ico {
  width: 3.4rem; height: 3.4rem; border-radius: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff; margin-bottom: .7rem;
}
.up-pay-card.pay-wechat .up-pay-ico { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 8px 18px rgba(34, 197, 94, .3); }
.up-pay-card.pay-alipay .up-pay-ico { background: linear-gradient(135deg, #38bdf8, #0284c7); box-shadow: 0 8px 18px rgba(2, 132, 199, .3); }
.up-pay-card:hover { transform: translateY(-3px); box-shadow: var(--up-shadow-lg); border-color: rgba(99, 102, 241, .4); }

/* ---------------- 认证页（登录/注册/忘记密码） ---------------- */
.up-auth {
  min-height: 100vh;
  display: flex;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.up-auth-side {
  position: relative;
  flex: 1 1 46%;
  background: var(--up-gradient-deep);
  color: #e2e8f0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2.5rem 3rem;
  overflow: hidden;
}
.up-auth-side::before {
  content: ""; position: absolute; width: 26rem; height: 26rem; border-radius: 50%;
  right: -8rem; top: -8rem;
  background: radial-gradient(circle, rgba(139, 92, 246, .5), transparent 65%);
}
.up-auth-side::after {
  content: ""; position: absolute; width: 20rem; height: 20rem; border-radius: 50%;
  left: -6rem; bottom: -8rem;
  background: radial-gradient(circle, rgba(14, 165, 233, .35), transparent 65%);
}
.up-auth-side .up-auth-brand { display: flex; align-items: center; gap: .8rem; position: relative; z-index: 2; }
.up-auth-side .up-auth-points { position: relative; z-index: 2; }
.up-auth-side .up-auth-point {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-bottom: 1.6rem;
}
.up-auth-side .up-auth-point .pt-ico {
  width: 2.6rem; height: 2.6rem; border-radius: .8rem; flex: none;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #c7d2fe;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.up-auth-side .up-auth-point h6 { color: #fff; font-weight: 700; margin-bottom: .15rem; }
.up-auth-side .up-auth-point p { color: rgba(203, 213, 225, .8); font-size: .86rem; margin: 0; }
.up-auth-main {
  flex: 1 1 54%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem 1.25rem;
}
.up-auth-card {
  width: 100%;
  max-width: 26rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(233, 236, 248, .9);
  box-shadow: var(--up-shadow-lg);
  padding: 2.25rem 2.1rem;
}
.up-auth-card .up-auth-logo { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.6rem; }
.up-auth-card .up-auth-logo .up-logo { width: 2.6rem; height: 2.6rem; font-size: 1.4rem; }
.up-auth-card h3 { font-weight: 800; color: #0f172a; }
.up-auth-foot { margin-top: 1.5rem; text-align: center; color: #94a3b8; font-size: .84rem; }
.up-auth-foot a { color: var(--up-primary-3); font-weight: 600; text-decoration: none; }
.up-auth-input-group { position: relative; margin-bottom: 1.1rem; }
.up-auth-input-group .in-ico {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: #a5b4fc; font-size: 1.15rem;
}
.up-auth-input-group .form-control {
  padding-left: 2.7rem;
  height: 3rem;
  border-radius: .75rem;
}
.up-auth-input-group .form-control:focus { box-shadow: 0 0 0 .25rem rgba(99, 102, 241, .12); }
.up-auth-submit {
  height: 3rem; width: 100%;
  border: 0; border-radius: .75rem;
  background: var(--up-gradient); color: #fff;
  font-weight: 700; letter-spacing: .06em;
  box-shadow: 0 8px 20px rgba(99, 102, 241, .4);
  transition: all .18s ease;
}
.up-auth-submit:hover { box-shadow: 0 10px 26px rgba(99, 102, 241, .55); transform: translateY(-1px); }
.up-auth-divider { display: flex; align-items: center; gap: .8rem; color: #cbd5e1; font-size: .8rem; margin: 1.2rem 0; }
.up-auth-divider::before, .up-auth-divider::after { content: ""; height: 1px; flex: 1; background: #e8ebf6; }
.up-auth-social { display: flex; gap: .8rem; justify-content: center; }
.up-auth-social .soc {
  width: 2.9rem; height: 2.9rem; border-radius: .8rem;
  border: 1.5px solid #e3e8f4;
  display: inline-flex; align-items: center; justify-content: center;
  color: #64748b; background: #fff;
  transition: all .16s ease;
}
.up-auth-social .soc:hover { border-color: rgba(99, 102, 241, .5); color: var(--up-primary-3); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(99, 102, 241, .18); }
#geetest .geetest_holder { margin: 0 auto; }
.up-auth-geetest { margin-bottom: 1.1rem; }

@media (max-width: 991.98px) {
  .up-auth-side { display: none; }
  .up-auth-main { flex: 1 1 100%; }
}

/* ---------------- 个人中心 ---------------- */
.up-profile-banner {
  position: relative; overflow: hidden;
  border-radius: var(--up-radius);
  background: var(--up-gradient-deep);
  padding: 1.6rem 1.75rem;
  color: #e2e8f0;
  box-shadow: var(--up-shadow-lg);
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.up-profile-banner::before {
  content: ""; position: absolute; width: 20rem; height: 20rem; border-radius: 50%;
  right: -5rem; top: -10rem;
  background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 65%);
}
.up-profile-banner .up-avatar {
  width: 4.4rem; height: 4.4rem; border-radius: 1.1rem;
  background: var(--up-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.9rem; font-weight: 800;
  box-shadow: 0 10px 24px rgba(99, 102, 241, .45);
  position: relative; z-index: 2;
}
.up-profile-banner .up-profile-name { color: #fff; font-weight: 800; font-size: 1.2rem; }

/* 绑定行 */
.up-bind-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px dashed #e8ebf6;
}
.up-bind-row:last-child { border-bottom: 0; }
.up-bind-row .bind-ico {
  width: 2.7rem; height: 2.7rem; border-radius: .8rem; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.up-bind-row .bind-ico.i-mail   { background: rgba(99, 102, 241, .12); color: var(--up-primary-3); }
.up-bind-row .bind-ico.i-phone  { background: rgba(16, 185, 129, .12); color: #059669; }
.up-bind-row .bind-ico.i-id     { background: rgba(245, 158, 11, .14); color: #b45309; }
.up-bind-row .bind-ico.i-qq     { background: rgba(14, 165, 233, .12); color: #0284c7; }
.up-bind-row .bind-ico.i-wx     { background: rgba(34, 197, 94, .12); color: #16a34a; }
.up-bind-row .bind-state { font-size: .82rem; font-weight: 600; }

/* ---------------- 邀请页 ---------------- */
.up-invite-code {
  display: flex; align-items: center; gap: .75rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(139, 92, 246, .08));
  border: 1.5px dashed rgba(99, 102, 241, .4);
  border-radius: .9rem;
  padding: 1rem 1.2rem;
}
.up-invite-code .code { font-size: 1.3rem; font-weight: 800; letter-spacing: .2em; color: var(--up-primary-3); }

/* ---------------- 证书查看 ---------------- */
.up-code-box {
  width: 100%; min-height: 10rem;
  border-radius: .8rem;
  background: #0f172a;
  color: #a5f3fc;
  border: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .8rem;
  line-height: 1.6;
  padding: 1rem 1.1rem;
}
.up-code-box:focus { background: #0f172a; color: #a5f3fc; box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .25); }

/* ---------------- footer ---------------- */
.content-footer { color: #64748b; }
.content-footer a { color: var(--up-primary-3); text-decoration: none; font-weight: 600; }

/* ---------------- 通用 ---------------- */
.text-primary { color: var(--up-primary-3) !important; }
.btn-group-sm > .btn, .btn-sm { border-radius: .55rem; }
.dropdown-toggle.hide-arrow::after { display: none; }
.avatar-online .w-px-40 { border: 2px solid #fff; box-shadow: 0 2px 8px rgba(63, 71, 139, .2); }
a { transition: color .15s ease; }
hr.up-hr { border-color: #eef1f8; opacity: 1; }

/* ---------------- 选购/解析附加组件 ---------------- */
.up-shop-banner .up-banner-ico {
  width: 3.2rem; height: 3.2rem; border-radius: 1rem;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; flex-shrink: 0;
}
.up-icp-check {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #f8f9ff; border: 1px solid #e9ecf8; border-radius: .6rem;
  padding: .32rem .6rem; font-size: .78rem; color: #64748b; font-weight: 600;
}
.up-icp-check .iconfont { font-size: 1.05rem; line-height: 1; }
.up-kv {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .45rem 0; border-bottom: 1px dashed #eef1f9; font-size: .84rem;
}
.up-kv .up-kv-k { color: #94a3b8; flex-shrink: 0; }
.up-kv .up-kv-v { color: #334155; font-weight: 600; text-align: right; word-break: break-all; }
.up-price-tip {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(139, 92, 246, .08));
  border: 1px dashed rgba(99, 102, 241, .35); border-radius: .75rem;
  padding: .7rem .95rem; color: #475569; font-weight: 600;
}
.up-price-tip #cion { color: var(--up-primary-3); font-size: 1.2rem; font-weight: 800; }

/* ---------------- 数据表格 ---------------- */
.up-table thead th {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: #94a3b8; font-weight: 700; white-space: nowrap;
  background: #f8f9ff; border-bottom: 1px solid #eef1f8 !important;
  padding: .75rem 1rem;
}
.up-table thead th:first-child { border-radius: .75rem 0 0 .75rem; }
.up-table thead th:last-child { border-radius: 0 .75rem .75rem 0; }
.up-table td { vertical-align: middle; padding: .8rem 1rem; }
.up-domain-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .1));
  color: var(--up-primary-3); border-radius: .5rem;
  padding: .3rem .65rem; font-weight: 700; font-size: .8rem;
  word-break: break-all;
}
.form-check-input { cursor: pointer; }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .15); border-color: #b4b9f8; }
