/* ============================================================
   发卡云 KCard · 数字商品自动发卡分销系统 —— 全局样式
   深色科技风 + 蓝紫渐变 + 白色后台
   ============================================================ */

:root {
  --bg: #f4f5fb;
  --card: #ffffff;
  --border: #e7e9f3;
  --text: #1b1e32;
  --muted: #8a90a8;
  --muted-2: #b3b8cc;
  --brand: #5b5bf0;
  --brand-2: #8b5cf6;
  --grad: linear-gradient(135deg, #5b5bf0 0%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, #eef0ff 0%, #f6f0ff 100%);
  --green: #10b981;
  --green-bg: #e8f9f1;
  --red: #ef4444;
  --red-bg: #fdecec;
  --orange: #f59e0b;
  --orange-bg: #fdf3e2;
  --blue: #3b82f6;
  --blue-bg: #e9f1fe;
  --gray-bg: #f2f3f8;
  --sidebar-w: 236px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 26, 60, .04), 0 6px 24px rgba(23, 26, 60, .06);
  --shadow-lg: 0 12px 40px rgba(23, 26, 60, .16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: rgba(91, 91, 240, .18); }

/* ---------- 通用工具 ---------- */
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: "SFMono-Regular", Consolas, "Courier New", monospace; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; }
.flex { display: flex; align-items: center; gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .15s ease; white-space: nowrap; line-height: 1.4;
  background: #fff; color: var(--text);
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(91, 91, 240, .32); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 6px 20px rgba(91, 91, 240, .45); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border); background: #fff; color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger { background: #fff; border-color: #fcd5d5; color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
.btn-lg { padding: 13px 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- 徽标 ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 20px; font-size: 12px; font-weight: 600; line-height: 1.7;
}
.badge-green { background: var(--green-bg); color: #0a9a6f; }
.badge-gray  { background: var(--gray-bg); color: #7a8098; }
.badge-red   { background: var(--red-bg); color: #d93636; }
.badge-orange{ background: var(--orange-bg); color: #c47c07; }
.badge-blue  { background: var(--blue-bg); color: #2563eb; }
.badge-brand { background: #ecebff; color: var(--brand); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.card-head {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card-title { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-title .dot { width: 8px; height: 8px; border-radius: 3px; background: var(--grad); }
.card-body { padding: 20px; }
.card-body--flush { padding: 0; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.table th {
  text-align: left; font-size: 12px; color: var(--muted); font-weight: 600;
  padding: 11px 16px; border-bottom: 1px solid var(--border); background: #fafbff; white-space: nowrap;
}
.table td { padding: 12px 16px; border-bottom: 1px solid #f1f2f8; vertical-align: middle; }
.table tbody tr:hover { background: #fafaff; }
.table tbody tr:last-child td { border-bottom: none; }
.table .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty {
  padding: 46px 16px; text-align: center; color: var(--muted-2); font-size: 13.5px;
}
.empty .emoji { font-size: 30px; display: block; margin-bottom: 8px; }

/* ---------- 表单 ---------- */
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #4a4f6b; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 12px; font-size: 14px; background: #fff; color: var(--text);
  outline: none; transition: border .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 91, 240, .12);
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* ---------- 弹窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(15, 18, 44, .5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 7vh 16px 16px; z-index: 100; animation: fadeIn .15s ease;
}
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg); animation: popIn .18s ease; overflow: hidden;
}
.modal-head { padding: 18px 22px 0; }
.modal-head h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; }
.modal-body { padding: 18px 22px; max-height: 62vh; overflow-y: auto; }
.modal-foot { padding: 14px 22px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; background: #fafbff; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: #161a30; color: #fff; padding: 10px 18px; border-radius: 10px;
  font-size: 13.5px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px;
  animation: toastIn .2s ease; max-width: 80vw;
}
.toast.err { background: #b91c1c; }
.toast.ok  { background: #0e9f6e; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 统计卡片 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat-card .ic {
  width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 12px;
}
.stat-card .ic.i1 { background: #ecebff; }
.stat-card .ic.i2 { background: var(--blue-bg); }
.stat-card .ic.i3 { background: var(--green-bg); }
.stat-card .ic.i4 { background: var(--orange-bg); }
.stat-card .ic.i5 { background: var(--red-bg); }
.stat-card .ic.i6 { background: #f3e8ff; }
.stat-card .label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.stat-card .value { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.stat-card .sub { font-size: 11.5px; color: var(--muted-2); margin-top: 3px; }
.stat-card .trend { font-size: 12px; font-weight: 700; }
.trend.up { color: var(--green); } .trend.down { color: var(--red); }

/* ============================================================
   演示条（全局顶部）
   ============================================================ */
.demo-bar {
  background: linear-gradient(90deg, #131a38 0%, #1b1f4d 100%);
  color: #cdd3f5; font-size: 12.5px; padding: 7px 18px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 60;
}
.demo-bar .db-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.demo-bar .db-brand .logo {
  width: 20px; height: 20px; border-radius: 6px; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff;
}
.demo-bar .db-seg { display: flex; background: rgba(255,255,255,.08); border-radius: 9px; padding: 3px; gap: 2px; }
.demo-bar .db-seg a {
  color: #aab1dd; padding: 3px 13px; border-radius: 7px; font-weight: 600; cursor: pointer; font-size: 12.5px;
}
.demo-bar .db-seg a.active { background: var(--grad); color: #fff; }
.demo-bar .db-tip { opacity: .8; }
.demo-bar .db-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* ============================================================
   后台外壳（平台后台 / 会员后台共用）
   ============================================================ */
.shell { display: flex; min-height: calc(100vh - 36px); }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: linear-gradient(180deg, #10153a 0%, #171d4d 100%);
  color: #fff; display: flex; flex-direction: column; padding: 20px 14px 16px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .sb-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; }
.sidebar .sb-brand .logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  box-shadow: 0 6px 16px rgba(91,91,240,.45);
}
.sidebar .sb-brand .name { font-weight: 800; font-size: 15.5px; letter-spacing: .3px; }
.sidebar .sb-brand .name small { display: block; font-weight: 500; font-size: 10.5px; color: #8f97c9; letter-spacing: 1px; }
.sb-group { font-size: 10.5px; color: #6d76ab; letter-spacing: 2px; font-weight: 700; padding: 14px 10px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  color: #aeb6e2; font-size: 13.5px; font-weight: 600; cursor: pointer; margin-bottom: 2px;
  transition: all .13s; border: none; background: none; width: 100%; text-align: left;
}
.nav-item .em { font-size: 15px; width: 20px; text-align: center; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: var(--grad); color: #fff; box-shadow: 0 4px 14px rgba(91,91,240,.4); }
.sb-foot { margin-top: auto; padding: 12px 10px 0; border-top: 1px solid rgba(255,255,255,.09); }
.sb-foot .who { font-size: 12px; color: #9aa2d4; display: flex; align-items: center; gap: 8px; }
.sb-foot .who b { color: #fff; font-weight: 700; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); padding: 13px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: sticky; top: 0; z-index: 50;
}
.topbar .page-name { font-size: 17px; font-weight: 800; }
.topbar .page-desc { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.content { padding: 24px 26px 40px; max-width: 1280px; width: 100%; }

/* 页面头 + 操作按钮 */
.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.page-toolbar h2 { font-size: 19px; font-weight: 800; }
.page-toolbar .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* 平台特有：余额 / 流水金额着色 */
.money-in { color: var(--green); font-weight: 700; }
.money-out { color: var(--red); font-weight: 700; }

/* 余额进度条 */
.bar-track { height: 8px; border-radius: 6px; background: var(--gray-bg); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: var(--grad); }

/* 信息横幅 */
.banner {
  border-radius: 12px; padding: 13px 16px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 16px; line-height: 1.7;
}
.banner-blue { background: var(--blue-bg); color: #1d4ed8; border: 1px solid #d3e4fd; }
.banner-orange { background: var(--orange-bg); color: #92400e; border: 1px solid #f5e0bc; }
.banner-green { background: var(--green-bg); color: #065f46; border: 1px solid #c6f0dd; }
.banner-red { background: var(--red-bg); color: #991b1b; border: 1px solid #f6cccc; }

/* 商品封面占位 */
.cover {
  width: 44px; height: 44px; border-radius: 11px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 21px; flex-shrink: 0;
}
.cover-lg { width: 64px; height: 64px; font-size: 30px; border-radius: 14px; }

/* 链接胶囊（专属链接展示） */
.link-pill {
  display: inline-flex; align-items: center; gap: 6px; background: var(--gray-bg);
  border: 1px dashed #c9cddf; border-radius: 8px; padding: 3px 9px; font-size: 12px; color: #4a4f6b;
  max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============================================================
   会员前台（转化感强）
   ============================================================ */
.shop-body { background: #f6f7fd; min-height: calc(100vh - 36px); }

.shop-nav {
  background: #fff; border-bottom: 1px solid var(--border);
  position: sticky; top: 36px; z-index: 40; box-shadow: 0 2px 12px rgba(23,26,60,.05);
}
.shop-nav-inner { max-width: 1080px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 18px; }
.shop-nav .sn-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 16.5px; }
.shop-nav .sn-brand .logo {
  width: 32px; height: 32px; border-radius: 9px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 4px 12px rgba(91,91,240,.4);
}
.shop-nav .sn-links { display: flex; gap: 4px; margin-left: auto; }
.shop-nav .sn-links a { padding: 6px 13px; border-radius: 9px; font-weight: 600; color: #4a4f6b; font-size: 13.5px; }
.shop-nav .sn-links a:hover { color: var(--brand); background: #f2f3ff; }
.shop-nav .sn-links a.active { color: var(--brand); background: #ecebff; }
.shop-nav .sn-console { font-size: 12px; color: var(--muted); }

.shop-hero {
  background: linear-gradient(135deg, #141a45 0%, #2a2f7c 55%, #6d4fd8 100%);
  color: #fff; padding: 58px 20px 64px; text-align: center; position: relative; overflow: hidden;
}
.shop-hero::before, .shop-hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.shop-hero::before { width: 340px; height: 340px; background: #7b5cf0; top: -140px; left: -80px; }
.shop-hero::after { width: 300px; height: 300px; background: #3f8cff; bottom: -150px; right: -60px; }
.shop-hero .inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.shop-hero .tag {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25); padding: 4px 13px; border-radius: 30px;
  font-size: 12.5px; letter-spacing: .5px; backdrop-filter: blur(4px);
}
.shop-hero h1 { font-size: 38px; font-weight: 900; margin: 18px 0 10px; letter-spacing: -1px; line-height: 1.25; }
.shop-hero .sub { font-size: 16px; opacity: .85; max-width: 560px; margin: 0 auto 26px; line-height: 1.8; }
.shop-hero .hero-cta {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #23276e;
  font-weight: 800; font-size: 15.5px; padding: 13px 30px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .15s;
}
.shop-hero .hero-cta:hover { transform: translateY(-2px); }
.shop-hero .hero-cta .bolt { color: var(--orange); }

.shop-perks { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: -30px; position: relative; z-index: 3; padding: 0 20px; }
.perk {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  padding: 14px 22px; display: flex; align-items: center; gap: 12px; min-width: 210px;
}
.perk .em { font-size: 22px; }
.perk b { display: block; font-size: 13.5px; }
.perk span { font-size: 12px; color: var(--muted); }

.shop-main { max-width: 1080px; margin: 0 auto; padding: 34px 20px 20px; }
.section-title { font-size: 19px; font-weight: 800; margin: 8px 0 18px; display: flex; align-items: center; gap: 8px; }
.section-title .em { font-size: 18px; }

/* 前台商品卡 */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.shop-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; cursor: pointer; display: flex; flex-direction: column;
}
.shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shop-card .cover-big {
  height: 128px; display: flex; align-items: center; justify-content: center; font-size: 46px; position: relative;
}
.shop-card .cover-big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card .auto-tag {
  position: absolute; top: 10px; left: 10px; background: rgba(16,185,129,.94); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; display: flex; gap: 4px; align-items: center;
}
.shop-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.shop-card .nm { font-weight: 700; font-size: 14.5px; line-height: 1.45; min-height: 42px; }
.shop-card .desc { font-size: 12.5px; color: var(--muted); line-height: 1.6; min-height: 38px; }
.shop-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.shop-card .price { font-size: 19px; font-weight: 800; color: #e11d48; }
.shop-card .price small { font-size: 11.5px; color: var(--muted-2); font-weight: 500; margin-right: 2px; }
.shop-card .buy { background: var(--grad); color: #fff; font-weight: 700; font-size: 12.5px; padding: 7px 14px; border-radius: 9px; }

/* 详情页 */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 22px; }
.detail-card .d-cover { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 62px; }
.detail-card .d-body { padding: 22px; }
.detail-card h1 { font-size: 21px; font-weight: 800; }
.detail-card .d-price { font-size: 30px; font-weight: 900; color: #e11d48; margin: 10px 0 4px; }
.detail-card .d-price small { font-size: 13px; color: var(--muted-2); font-weight: 600; }
.notice { border: 1px dashed #d9dcea; background: #fafbff; border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.notice h4 { font-size: 13.5px; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.notice ul { margin: 0; padding-left: 18px; font-size: 13px; color: #5a5f7d; display: grid; gap: 5px; }
.product-main-cover { display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 16px; }
.product-main-cover img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.product-materials { margin-top: 30px; }
.product-detail-text {
  white-space: pre-line; line-height: 1.85; color: #4a4f6b; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px;
}
.product-resource-list { display: grid; gap: 10px; margin-top: 14px; }
.product-resource-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 16px; border: 1px solid #d9dcff; background: #f7f7ff; border-radius: 12px;
  color: #4338ca; font-size: 13.5px; font-weight: 700;
}
.product-resource-link span { color: var(--muted); font-size: 12px; font-weight: 500; }
.product-detail-images { display: grid; gap: 14px; margin-top: 18px; }
.product-detail-images img { width: 100%; display: block; border-radius: 14px; border: 1px solid var(--border); }
.file-input { display: block; width: 100%; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* 下单 / 成功 */
.center-box { max-width: 560px; margin: 30px auto; }
.order-item-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.order-item-row:last-child { border-bottom: none; }
.order-item-row .nm { font-weight: 700; }
.order-item-row .pr { margin-left: auto; font-weight: 800; font-size: 15px; }
.success-hero { text-align: center; padding: 30px 0 12px; }
.success-hero .check {
  width: 74px; height: 74px; border-radius: 50%; background: var(--grad); margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 34px; color: #fff;
  animation: popIn .35s ease; box-shadow: 0 12px 30px rgba(91,91,240,.4);
}
.success-hero h2 { font-size: 23px; font-weight: 900; }
.card-secret {
  background: linear-gradient(135deg, #141a45, #2a2f7c); color: #fff; border-radius: 14px;
  padding: 18px 20px; display: flex; align-items: center; gap: 14px; margin-top: 14px;
}
.card-secret .val { font-family: Consolas, monospace; font-size: 17px; letter-spacing: 1.5px; font-weight: 700; word-break: break-all; flex: 1; }
.card-secret .copy-btn { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 7px 14px; border-radius: 9px; font-size: 12.5px; cursor: pointer; }
.card-secret .copy-btn:hover { background: rgba(255,255,255,.28); }

.shop-footer { text-align: center; padding: 30px 20px 40px; color: var(--muted-2); font-size: 12.5px; }
.shop-footer .ft-contact { color: #4a4f6b; font-weight: 600; margin-bottom: 6px; }

/* 登录页 */
.login-wrap {
  min-height: calc(100vh - 36px); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #10153a 0%, #241e63 60%, #4a2f9e 100%); padding: 30px 16px;
}
.login-box { width: 100%; max-width: 430px; }
.login-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 30px 30px 26px; }
.login-card .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.login-card .brand .logo { width: 40px; height: 40px; border-radius: 11px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.login-card h2 { font-size: 20px; font-weight: 800; }
.login-card .sub { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.demo-members { margin-top: 18px; border-top: 1px dashed var(--border); padding-top: 16px; }
.demo-members .tt { font-size: 12px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.member-chip {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: #fafbff; border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; margin-bottom: 9px; cursor: pointer;
}
.member-chip:hover { border-color: var(--brand); background: #f2f3ff; }
.member-chip .av { width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.member-chip b { display: block; font-size: 13.5px; }
.member-chip span { font-size: 12px; color: var(--muted); }
.member-chip .bal { margin-left: auto; font-size: 12px; color: var(--muted); }
.member-chip .bal b { color: var(--text); font-size: 13px; }

/* 步骤演示 */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps .st { display: flex; gap: 12px; padding: 10px 0; }
.steps .st .no {
  counter-increment: step; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.steps .st .no::before { content: counter(step); }
.steps .st .tx { font-size: 13px; color: #4a4f6b; line-height: 1.7; }
.steps .st .tx b { color: var(--text); }

/* 键盘/代码 */
kbd { background: var(--gray-bg); border: 1px solid #d9dcea; border-radius: 5px; padding: 1px 6px; font-size: 11.5px; }

/* ============================================================
   发卡商城化组件（本轮新增）
   ============================================================ */
/* 分类 Tab */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cat-tab {
  padding: 7px 17px; border-radius: 20px; background: #fff; border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: #4a4f6b; cursor: pointer; transition: all .13s;
}
.cat-tab:hover { border-color: var(--brand); color: var(--brand); }
.cat-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(91,91,240,.32); }
.cat-tab .cnt { opacity: .75; font-weight: 500; margin-left: 4px; font-size: 11.5px; }

/* 分类分区标题 */
.cat-head { display: flex; align-items: center; gap: 10px; margin: 30px 0 16px; }
.cat-head .em { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.cat-head b { font-size: 16.5px; font-weight: 800; }
.cat-head .more { margin-left: auto; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.cat-head .more:hover { color: var(--brand); }

/* 信任条（转化感） */
.shop-trust {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px;
  margin-top: -30px; position: relative; z-index: 3; padding: 0 20px; max-width: 1080px; margin-left: auto; margin-right: auto;
}
.trust-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.trust-item .em { font-size: 22px; }
.trust-item b { display: block; font-size: 13.5px; }
.trust-item span { font-size: 12px; color: var(--muted); }

/* 自动发货流程（首页说明） */
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flow-step { background: #fafbff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 18px; position: relative; }
.flow-step .no {
  position: absolute; top: -12px; left: 18px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(91,91,240,.4);
}
.flow-step b { display: block; font-size: 14.5px; margin: 4px 0 6px; }
.flow-step p { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 0; }

/* 状态进度条（订单详情） */
.steps-bar { display: flex; align-items: flex-start; margin: 20px 0 8px; }
.step-item { flex: 1; text-align: center; position: relative; }
.step-item .dot {
  width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 7px;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800;
  background: var(--gray-bg); color: var(--muted); position: relative; z-index: 2;
}
.step-item .lab { font-size: 12.5px; color: var(--muted-2); }
.step-item.done .dot { background: var(--grad); color: #fff; box-shadow: 0 4px 10px rgba(91,91,240,.35); }
.step-item.done .lab { color: var(--text); font-weight: 700; }
.step-item.fail .dot { background: var(--red); color: #fff; }
.step-item.fail .lab { color: var(--red); font-weight: 700; }
.step-item::before {
  content: ""; position: absolute; top: 14px; left: calc(50% + 16px); width: calc(100% - 32px);
  height: 2px; background: var(--gray-bg);
}
.step-item:last-child::before { display: none; }
.step-item.done::before { background: var(--grad); }

/* 订单查询页 */
.query-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; }
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search-row .input { flex: 1; min-width: 240px; }
.query-tip { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.query-result { margin-top: 18px; display: grid; gap: 12px; }
.qr-item { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; background: #fff; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qr-item .qr-main { flex: 1; min-width: 200px; }
.qr-item .qr-card { font-family: Consolas, monospace; font-size: 12.5px; background: var(--gray-bg); border-radius: 8px; padding: 5px 10px; color: #23276e; }

/* 商品卡库存标记 */
.stock-tag { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 4px; }
.stock-tag.ok { background: var(--green-bg); color: #0a9a6f; }
.stock-tag.low { background: var(--orange-bg); color: #c47c07; }
.stock-tag.none { background: var(--red-bg); color: #d93636; }

/* 购买须知卡（前台） */
.qa-card { border: 1px solid var(--border); border-radius: 14px; background: #fff; overflow: hidden; }
.qa-card .qa-head { padding: 14px 18px; font-weight: 800; font-size: 14.5px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; background: #fafbff; }
.qa-card .qa-body { padding: 14px 18px; }
.qa-card ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 13px; color: #5a5f7d; line-height: 1.7; }

@media (max-width: 900px) {
  .flow-steps { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .sidebar { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .shop-hero h1 { font-size: 28px; }
}

/* ============================================================
   发卡云 KCard · 官网首页视觉（参考 preview.sjcstone.cn）
   深色科技 · 细描边 · 等宽编号 · 克制高亮
   ============================================================ */
:root {
  --kc-bg: #05080b;
  --kc-surface: #080c10;
  --kc-surface-2: #0d1218;
  --kc-pearl: #edf0f2;
  --kc-pearl-2: #dce2e6;
  --kc-ink: #0b0d10;
  --kc-text: #f7f9fb;
  --kc-text-2: #c3ccd4;
  --kc-muted: #8f9aa7;
  --kc-line: #baccdc29;
  --kc-line-strong: #baccdc4d;
  --kc-line-dark: #0a0e1229;
  --kc-cyan: #70e7ff;
  --kc-blue: #367cff;
  --kc-mono: "SFMono-Regular", Consolas, "Courier New", monospace;
  --kc-sans: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

/* ---------- 根 ---------- */
.kc {
  background: var(--kc-bg);
  color: var(--kc-text);
  font-family: var(--kc-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.kc a { text-decoration: none; color: inherit; }
.kc button, .kc a { font-family: inherit; }

/* ---------- 按钮 ---------- */
.kc-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 38px;
  min-height: 50px; padding: 0 20px; border: 1px solid var(--kc-ink);
  font: 650 12px/1 var(--kc-mono); letter-spacing: .04em; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.kc-btn:hover { transform: translateY(-1px); }
.kc-btn-primary { background: var(--kc-ink); color: #fff; }
.kc-btn-primary:hover { box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.kc-btn-secondary { background: rgba(255,255,255,.32); color: var(--kc-ink); }

/* ---------- Header ---------- */
.kc-header {
  position: sticky; top: 0; z-index: 50;
  background: #07090cdb;
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  border-bottom: 1px solid var(--kc-line);
  min-height: 92px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px;
  padding-inline: clamp(18px, 4vw, 64px);
}
.kc-brand { justify-self: start; display: inline-flex; align-items: center; gap: 16px; }
.kc-brand-code {
  width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--kc-cyan); font: 700 11px/1 var(--kc-mono);
  border: 1px solid #70e7ff7a; letter-spacing: .06em;
}
.kc-brand-copy { display: grid; gap: 5px; }
.kc-brand-copy strong { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.kc-brand-copy small { font-size: 12px; color: var(--kc-muted); letter-spacing: .06em; font-weight: 500; }

.kc-fluid-nav {
  justify-self: center; display: flex; align-items: center; gap: 2px;
  height: 52px; padding: 4px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--kc-line);
  border-radius: 26px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.kc-nav-link {
  padding: 10px 18px; border-radius: 22px; font-size: 16.5px; font-weight: 500;
  color: var(--kc-text-2); cursor: pointer; transition: all .16s ease; white-space: nowrap;
}
.kc-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

.kc-header-end { justify-self: end; display: flex; align-items: center; gap: 24px; }
.kc-login { font-size: 15px; color: var(--kc-text-2); transition: color .16s; }
.kc-login:hover { color: #fff; }
/* Header 内 CTA 按钮尺寸放大（仅 Header，不影响 Hero 按钮） */
.kc-header-end .kc-btn {
  min-height: 52px; padding: 0 26px;
  font-size: 13px; border-color: #e8edf1; color: #05080b; background: #fff;
}

/* ---------- Hero ---------- */
.kc-hero {
  border-bottom: 1px solid var(--kc-line);
  display: grid; grid-template-columns: minmax(0, 49%) minmax(460px, 51%);
  min-height: calc(100vh - 74px);
}
.kc-hero-copy {
  z-index: 2; min-width: 0; position: relative;
  background: radial-gradient(circle at 15% 15%, #fff 0, transparent 36%),
    linear-gradient(145deg, var(--kc-pearl) 0%, #dfe4e8 100%);
  color: var(--kc-ink);
  padding: clamp(54px, 7vw, 108px) clamp(26px, 5.7vw, 92px) 40px;
  display: flex; flex-direction: column;
}
.kc-overline {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 11px/1 var(--kc-mono); letter-spacing: .18em;
  color: #3a4a56; text-decoration-line: overline; text-decoration-color: #b6c2ca;
}
.kc-overline i { width: 7px; height: 7px; background: var(--kc-blue); display: inline-block; }
.kc-hero-identity {
  display: flex; align-items: baseline; gap: 18px;
  margin: clamp(48px, 7vh, 96px) 0 30px;
}
.kc-hero-identity strong { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.kc-hero-identity span { font: 600 11px/1 var(--kc-mono); letter-spacing: .22em; color: #5a6a75; }
.kc-hero-title { font-size: clamp(42px, 4.8vw, 76px); font-weight: 700; line-height: 1.06; letter-spacing: .02em; }
.kc-hero-line { display: block; }
.kc-hero-accent {
  background: linear-gradient(92deg, #367cff 0%, #6a5bff 60%, #8b5cf6 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.kc-hero-lede { color: #4f5b65; max-width: 560px; margin: 32px 0 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85; }
.kc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.kc-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.kc-hero-tags li {
  font-size: 12.5px; color: #3a4a56; border: 1px solid #c7d0d6;
  border-radius: 999px; padding: 5px 13px;
}
.kc-hero-meta {
  display: flex; justify-content: space-between; gap: 18px;
  margin-top: auto; padding-top: 38px; border-top: 1px solid var(--kc-line-dark);
  font: 600 9px/1 var(--kc-mono); letter-spacing: .16em; color: #67737e;
}

/* Hero 右侧视觉 */
.kc-hero-visual {
  background: #10151b; min-height: 760px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: clamp(40px, 5vw, 80px);
}
.kc-hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(112,231,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,231,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 72%);
}
.kc-console {
  position: relative; z-index: 2; width: 100%; max-width: 460px;
  background: #070a0edb; border: 1px solid #aaccdf3d; border-radius: 18px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 20px; box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.kc-console-top {
  display: flex; align-items: center; gap: 9px;
  font: 600 9px/1 var(--kc-mono); letter-spacing: .16em; color: var(--kc-muted);
}
.kc-console-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--kc-cyan); box-shadow: 0 0 10px var(--kc-cyan); }
.kc-console-ver { margin-left: auto; color: #4f5b65; }
.kc-console-title { margin: 22px 0 18px; }
.kc-console-title span { display: block; font: 600 9px/1 var(--kc-mono); letter-spacing: .2em; color: var(--kc-cyan); }
.kc-console-title strong { display: block; font-size: 22px; font-weight: 700; margin-top: 8px; color: #fff; letter-spacing: .02em; }
.kc-console-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kc-console-cell {
  border: 1px solid var(--kc-line); border-radius: 12px; padding: 14px; background: rgba(255,255,255,.02);
}
.kc-console-cell span { display: block; font-size: 11px; color: var(--kc-muted); }
.kc-console-cell b { display: block; font-size: 22px; font-weight: 700; color: #fff; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kc-console-cell b i { font-style: normal; font-size: 13px; color: var(--kc-muted); font-weight: 500; }
.kc-console-list { margin-top: 14px; display: grid; gap: 8px; }
.kc-console-row {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--kc-line);
  border-radius: 12px; padding: 12px 14px;
}
.kc-console-key { font: 600 10px/1 var(--kc-mono); color: var(--kc-cyan); }
.kc-console-row div { flex: 1; min-width: 0; }
.kc-console-row div b { display: block; font-size: 13.5px; color: #fff; font-weight: 600; }
.kc-console-row div span { display: block; font-size: 11.5px; color: var(--kc-muted); margin-top: 3px; }
.kc-console-row em { font: 600 9px/1 var(--kc-mono); letter-spacing: .12em; color: #34d399; font-style: normal; }

/* ---------- Section 通用 ---------- */
.kc-section { background: var(--kc-bg); padding-block: clamp(90px, 10vw, 150px); }
.kc-shell { width: min(100%, 1400px); margin-inline: auto; padding-inline: clamp(16px, 3.5vw, 64px); }

.kc-section-heading {
  display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(260px, 410px);
  align-items: end; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid var(--kc-line-dark);
}
.kc-sh-index { display: grid; gap: 10px; }
.kc-sh-index span { font: 600 clamp(22px, 2.4vw, 34px)/1 var(--kc-mono); color: var(--kc-cyan); letter-spacing: .04em; }
.kc-sh-index p { font: 600 10px/1 var(--kc-mono); letter-spacing: .2em; color: var(--kc-muted); }
.kc-section-heading h2 {
  font-size: clamp(30px, 3.4vw, 50px); font-weight: 600; line-height: 1.12;
  letter-spacing: -.01em; color: var(--kc-text); margin: 0; align-self: end;
}
.kc-sh-desc { font-size: 14.5px; line-height: 1.8; color: var(--kc-muted); align-self: end; padding-bottom: 6px; }

/* ---------- 01 WHY ---------- */
.kc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.kc-why-item {
  border: 1px solid var(--kc-line); border-radius: 18px; padding: 28px 24px;
  background: linear-gradient(150deg, #0e141b 0%, #090c10 74%);
  transition: border-color .22s, transform .22s;
}
.kc-why-item:hover { border-color: var(--kc-line-strong); transform: translateY(-3px); }
.kc-why-no { font: 600 10px/1 var(--kc-mono); letter-spacing: .12em; color: var(--kc-cyan); }
.kc-why-item h4 { font-size: 18px; font-weight: 600; color: #fff; margin: 22px 0 12px; letter-spacing: .02em; }
.kc-why-item p { font-size: 13.5px; line-height: 1.8; color: var(--kc-muted); }

/* ---------- 02 CAPABILITY ---------- */
.kc-cap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 46px; }
.kc-cap-card {
  border: 1px solid var(--kc-line); border-radius: 18px; min-height: 300px; padding: 26px 24px;
  background: linear-gradient(150deg, #0e141b 0%, #090c10 74%);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform .22s, border-color .22s, background .22s;
}
.kc-cap-card:hover { transform: translateY(-4px); border-color: var(--kc-line-strong); }
.kc-cap-card::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(112,231,255,.12), transparent 70%);
  opacity: 0; transition: opacity .22s;
}
.kc-cap-card:hover::after { opacity: 1; }
.kc-cap-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 600 9px/1 var(--kc-mono); letter-spacing: .12em; color: var(--kc-muted);
}
.kc-cap-head span { color: var(--kc-cyan); }
.kc-cap-card h3 { font-size: 20px; font-weight: 600; color: #fff; margin: 30px 0 12px; letter-spacing: .02em; }
.kc-cap-card p { font-size: 13.5px; line-height: 1.8; color: var(--kc-muted); }
.kc-cap-points { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.kc-cap-points li {
  font-size: 11.5px; color: var(--kc-text-2); border: 1px solid var(--kc-line);
  border-radius: 999px; padding: 4px 11px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .kc-cap-grid, .kc-why-grid { grid-template-columns: repeat(2, 1fr); }
  .kc-hero { grid-template-columns: 1fr; }
  .kc-hero-visual { min-height: 420px; }
}
@media (max-width: 820px) {
  .kc-header { grid-template-columns: 1fr auto; }
  .kc-fluid-nav { display: none; }
  .kc-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .kc-sh-desc { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .kc-cap-grid, .kc-why-grid { grid-template-columns: 1fr; }
  .kc-hero-title { font-size: clamp(34px, 9vw, 46px); }
  .kc-hero-identity { flex-direction: column; gap: 8px; }
  .kc-header-end .kc-btn { min-height: 42px; padding: 0 14px; }
}

/* ============================================================
   登录页 · KARD CLOUD 深色视觉体系（与官网同一设计语言）
   ============================================================ */
.kc-login-page {
  display: flex;
  min-height: 100vh;
  background: var(--kc-bg);
}
.kc-login-page a { cursor: pointer; }

/* ---------- 左栏 55%：品牌区 ---------- */
.kc-login-brand {
  position: relative;
  width: 55%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 42px 56px 34px;
  border-right: 1px solid var(--kc-line);
  overflow: hidden;
}
.kc-login-brand::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 8% -6%, rgba(54, 124, 255, .16), transparent 62%),
    radial-gradient(560px 400px at 96% 88%, rgba(112, 231, 255, .10), transparent 60%);
  pointer-events: none;
}
.kc-login-brand::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--kc-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--kc-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(560px 420px at 50% 42%, #000 20%, transparent 78%);
          mask-image: radial-gradient(560px 420px at 50% 42%, #000 20%, transparent 78%);
  pointer-events: none;
}
.kc-login-brand-top { position: relative; display: flex; align-items: center; justify-content: space-between; z-index: 1; }
.kc-login-status {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 10px/1 var(--kc-mono); letter-spacing: .2em; color: var(--kc-cyan);
}
.kc-login-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--kc-cyan); box-shadow: 0 0 10px var(--kc-cyan); }
.kc-login-brand-main { position: relative; z-index: 1; margin: auto 0; padding: 48px 0; }
.kc-login-title {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 700; line-height: 1.22; letter-spacing: .01em;
  color: var(--kc-text); margin: clamp(26px, 4vh, 44px) 0 20px;
}
.kc-login-title span { color: var(--kc-cyan); }
.kc-login-lede {
  font-size: 15px; line-height: 1.9; color: var(--kc-text-2);
  margin: 0 0 clamp(28px, 4vh, 40px);
}
.kc-login-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.kc-login-tags span {
  font: 600 10px/1 var(--kc-mono); letter-spacing: .16em; color: var(--kc-text-2);
  border: 1px solid var(--kc-line-strong); border-radius: 999px;
  padding: 9px 14px;
}
.kc-login-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.kc-login-foot a { font-size: 13px; color: var(--kc-muted); transition: color .2s; }
.kc-login-foot a:hover { color: var(--kc-cyan); }
.kc-login-foot span { font: 500 11px/1 var(--kc-mono); letter-spacing: .14em; color: #3a4a56; }

/* ---------- 右栏 45%：登录面板 ---------- */
.kc-login-panel {
  width: 45%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px;
}
.kc-login-card {
  width: 100%; max-width: 420px;
  background: linear-gradient(180deg, rgba(13, 18, 24, .86), rgba(8, 12, 16, .92));
  border: 1px solid var(--kc-line-strong);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .04);
  padding: 38px 36px 30px;
}
.kc-login-card-head { margin-bottom: 28px; }
.kc-login-card-head h2 { font-size: 24px; font-weight: 700; color: var(--kc-text); letter-spacing: .01em; }
.kc-login-card-head p { margin-top: 8px; font-size: 13.5px; color: var(--kc-muted); }
.kc-login-field { margin-bottom: 20px; }
.kc-login-field label {
  display: block; margin-bottom: 8px;
  font-size: 13px; font-weight: 600; color: var(--kc-text-2); letter-spacing: .02em;
}
.kc-login-input {
  width: 100%; box-sizing: border-box;
  background: var(--kc-surface-2);
  border: 1px solid var(--kc-line-strong);
  border-radius: 10px;
  color: var(--kc-text);
  font: 500 14px/1.5 var(--kc-sans);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.kc-login-input::placeholder { color: #4d5b66; }
.kc-login-input:focus {
  border-color: var(--kc-cyan);
  box-shadow: 0 0 0 3px rgba(112, 231, 255, .10);
}
.kc-login-btn {
  width: 100%; justify-content: center;
  margin-top: 8px; min-height: 48px; font-size: 15px;
}
.kc-login-links {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 22px;
}
.kc-login-links a { font-size: 13px; color: var(--kc-text-2); transition: color .2s; }
.kc-login-links a:hover { color: var(--kc-cyan); }
.kc-login-links .kc-login-forgot { color: var(--kc-muted); }
.kc-login-aside { margin-top: 26px; font-size: 12px; color: #4d5b66; text-align: center; }

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .kc-login-page { flex-direction: column; }
  .kc-login-brand { width: 100%; padding: 28px 24px 40px; border-right: none; border-bottom: 1px solid var(--kc-line); }
  .kc-login-status { display: none; }
  .kc-login-brand-main { padding: 40px 0 32px; }
  .kc-login-title { font-size: clamp(32px, 8vw, 40px); }
  .kc-login-tags { gap: 8px; }
  .kc-login-tags span { padding: 7px 10px; font-size: 9px; }
  .kc-login-foot { display: none; }
  .kc-login-panel { width: 100%; padding: 32px 24px 44px; }
  .kc-login-card { padding: 30px 24px 26px; }
}

/* ---------- 登录页 Strands 背景（原生 WebGL2 光带） ---------- */
.kc-login-page { position: relative; }
.kc-login-page .strands-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.kc-login-brand, .kc-login-panel { position: relative; z-index: 1; }

/* ---------- 云启精选：潮流选品 / 瀑布流前台 ---------- */
.trend-shop { background: #efede8; color: #161616; min-height: 100vh; }
.trend-shop .shop-nav { position: sticky; top: 0; z-index: 20; background: #111; border-bottom: 1px solid #2a2a2a; box-shadow: none; }
.trend-shop .shop-nav-inner { max-width: 1260px; min-height: 72px; padding: 0 28px; }
.trend-shop .sn-brand { color: #fff; letter-spacing: -.03em; font-size: 18px; }
.trend-shop .sn-brand .logo { background: #ff442f; color: #ff442f; width: 12px; height: 12px; border-radius: 50%; font-size: 0; box-shadow: none; }
.trend-shop .sn-links a { color: #b9b9b9; font-size: 13px; }
.trend-shop .sn-links a:hover, .trend-shop .sn-links a.active { color: #fff; }
.trend-shop .sn-console { color: #fff; border: 1px solid #474747; background: transparent; border-radius: 999px; font-size: 12px; padding: 8px 13px; }
.trend-shop .shop-footer { max-width: 1260px; margin: 0 auto; padding: 36px 28px 48px; text-align: left; color: #65615b; }
.trend-shop .ft-contact { color: #272522; }

.trend-catalog { max-width: 1260px; padding: 54px 28px 72px; }
.trend-catalog-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.trend-catalog-head h2 { margin: 5px 0 7px; font-size: clamp(32px, 5vw, 58px); line-height: .95; letter-spacing: -.065em; color: #111; }
.trend-catalog-head .sub { color: #6e6961; font-size: 13px; }
.trend-kicker { display: block; color: #ff442f; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.trend-join-btn { border: 0; background: #ff442f; color: #fff; padding: 13px 17px; border-radius: 2px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }
.trend-join-btn span { margin-left: 12px; font-size: 16px; }
.trend-member-state { color: #12603e; font-size: 11px; letter-spacing: .08em; font-weight: 800; white-space: nowrap; }
.trend-tabs { gap: 8px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid #d4d0c9; }
.trend-tabs .cat-tab { background: transparent; border: 1px solid #c9c4bc; border-radius: 999px; color: #4e4a45; padding: 8px 13px; font-size: 12px; }
.trend-tabs .cat-tab:hover, .trend-tabs .cat-tab.active { background: #161616; border-color: #161616; color: #fff; }

.trend-wall { display: block; columns: 3; column-gap: 18px; }
.trend-card { break-inside: avoid; margin: 0 0 18px; border: 0; border-radius: 3px; box-shadow: none; background: #fff; transform: none !important; }
.trend-card:hover { box-shadow: 0 12px 30px rgba(22, 20, 17, .14); }
.trend-card .trend-cover { display: flex; position: relative; height: 260px; overflow: hidden; background: #252525; }
.trend-card:nth-child(3n+1) .trend-cover { height: 360px; }
.trend-card:nth-child(3n+2) .trend-cover { height: 230px; }
.trend-card:nth-child(4n) .trend-cover { height: 315px; }
.trend-card .trend-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.trend-card:hover .trend-cover img { transform: scale(1.045); }
.trend-tone-0 { background: linear-gradient(145deg, #161616 0 50%, #ff442f 50% 100%) !important; }
.trend-tone-1 { background: linear-gradient(135deg, #d7d2ca 0 46%, #181818 46% 100%) !important; }
.trend-tone-2 { background: linear-gradient(160deg, #ff442f 0 37%, #efeae2 37% 74%, #151515 74% 100%) !important; }
.trend-tone-3 { background: linear-gradient(135deg, #111 0 54%, #9c988f 54% 100%) !important; }
.trend-cover-copy { display: block; position: relative; width: 100%; height: 100%; padding: 18px; color: #fff; }
.trend-cover-copy small { display: block; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.trend-cover-copy b { position: absolute; left: 18px; bottom: -18px; font-size: 150px; line-height: 1; letter-spacing: -.15em; opacity: .92; }
.trend-cover-copy em { position: absolute; right: 16px; bottom: 14px; font: 700 13px/1 var(--kc-mono, monospace); letter-spacing: .1em; }
.trend-card .body { padding: 14px 14px 16px; gap: 8px; }
.trend-card .nm { min-height: 0; color: #181716; font-size: 15px; letter-spacing: -.02em; }
.trend-card .desc { min-height: 0; color: #777169; font-size: 12px; }
.trend-card .price { color: #111; font-size: 17px; }
.trend-card .stock-tag { border: 0; background: #f0ede8; color: #6a655e; border-radius: 0; font-size: 10px; }

.trend-product-page { max-width: 1180px; padding-top: 46px; }
.trend-product-page .detail-grid { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: stretch; gap: 36px; }
.trend-product-page .product-main-cover { background: #1a1a1a !important; border-radius: 2px; min-height: 520px !important; }
.trend-product-page .product-main-cover span { color: #ff442f; filter: grayscale(1); }
.trend-product-page .d-info { background: transparent; padding: 16px 0; }
.trend-product-page .d-info h1 { color: #111; font-size: clamp(32px, 4vw, 50px); line-height: .98; letter-spacing: -.065em; margin: 14px 0 20px; }
.trend-product-page .d-desc { color: #625e57; line-height: 1.8; }
.trend-product-page .badge-brand { background: transparent; border: 1px solid #bfb9b1; border-radius: 0; color: #333; }
.trend-product-page .d-price { border-top: 1px solid #cfc9c1; border-bottom: 1px solid #cfc9c1; padding: 18px 0; margin: 26px 0; }
.trend-product-page .d-price .price { color: #111; font-size: 30px; }
.trend-product-page .btn-primary { background: #ff442f; border-radius: 2px; box-shadow: none; }
.trend-product-page .banner-blue { background: #e0ddd7; border-color: #cbc5bc; color: #47423c; }
.trend-product-page .section-title { color: #151515; letter-spacing: -.03em; }
.trend-product-page .product-detail-text, .trend-product-page .product-resource-link { border-radius: 2px; box-shadow: none; }

@media (max-width: 820px) {
  .trend-shop .shop-nav-inner { min-height: 62px; padding: 0 16px; }
  .trend-shop .sn-links { display: none; }
  .trend-catalog { padding: 32px 16px 48px; }
  .trend-catalog-head { align-items: start; flex-direction: column; margin-bottom: 20px; }
  .trend-wall { columns: 2; column-gap: 10px; }
  .trend-card { margin-bottom: 10px; }
  .trend-card .trend-cover, .trend-card:nth-child(3n+1) .trend-cover, .trend-card:nth-child(3n+2) .trend-cover, .trend-card:nth-child(4n) .trend-cover { height: 200px; }
  .trend-card:nth-child(even) .trend-cover { height: 260px; }
  .trend-product-page { padding: 28px 16px 40px; }
  .trend-product-page .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .trend-product-page .product-main-cover { min-height: 360px !important; }
}

/* ---------- 未来主义 AI 商业视觉 ---------- */
.future-shop { background: #070814; color: #f4f4ff; }
.future-shop .shop-nav { background: rgba(7, 8, 20, .82); border-color: rgba(158, 116, 255, .25); backdrop-filter: blur(18px); }
.future-shop .shop-nav-inner { max-width: 1320px; }
.future-shop .sn-brand { color: #f8f7ff; }
.future-shop .sn-brand .logo { background: linear-gradient(135deg, #8f5dff, #ff7357); color: transparent; box-shadow: 0 0 18px rgba(137, 84, 255, .7); }
.future-shop .sn-links a { color: #a9a8c5; }
.future-shop .sn-links a.active, .future-shop .sn-links a:hover { color: #fff; background: rgba(129, 82, 236, .24); }
.future-shop .sn-console { color: #f7f3ff; border-color: rgba(183, 145, 255, .52); background: rgba(135, 89, 255, .12); }
.future-shop .shop-footer { color: #8988a6; }
.future-shop .ft-contact { color: #d8d6ef; }

.future-home { overflow: hidden; background: radial-gradient(circle at 74% 8%, rgba(136, 75, 255, .18), transparent 38%), #070814; }
.future-hero { position: relative; min-height: min(780px, calc(100vh - 72px)); display: flex; align-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid rgba(174, 130, 255, .22); }
.future-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.future-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7, 8, 20, .97) 0%, rgba(7, 8, 20, .83) 36%, rgba(7, 8, 20, .13) 74%, rgba(7, 8, 20, .05) 100%); }
.future-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(156, 120, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(156, 120, 255, .08) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 65%); }
.future-hero-content { width: min(560px, calc(100% - 56px)); margin-left: max(28px, calc((100vw - 1264px) / 2)); padding: 80px 0 100px; }
.future-eyebrow { display: inline-flex; color: #d5c4ff; font: 700 11px/1 var(--kc-mono, monospace); letter-spacing: .14em; padding: 8px 11px; border: 1px solid rgba(197, 171, 255, .38); background: rgba(105, 61, 204, .12); }
.future-hero h1 { margin: 24px 0 22px; color: #fff; font-size: clamp(56px, 7.2vw, 104px); line-height: .86; letter-spacing: -.09em; font-weight: 800; }
.future-hero h1 em { color: #aa80ff; font-style: normal; text-shadow: 0 0 40px rgba(165, 110, 255, .62); }
.future-hero p { max-width: 430px; margin: 0; color: #c5c2db; font-size: 15px; line-height: 1.85; }
.future-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.future-main-action, .future-ghost-action { min-height: 48px; border-radius: 4px; padding: 0 18px; display: inline-flex; align-items: center; gap: 24px; font-weight: 800; font-size: 13px; cursor: pointer; }
.future-main-action { color: #fff; background: linear-gradient(100deg, #7947f2, #f46955); box-shadow: 0 10px 30px rgba(108, 67, 239, .34); }
.future-main-action span { font-size: 18px; }
.future-ghost-action { color: #f6f4ff; border: 1px solid rgba(217, 204, 255, .48); background: rgba(17, 14, 42, .36); }
.future-hero-index { position: absolute; left: max(28px, calc((100vw - 1264px) / 2)); bottom: 26px; color: #a9a1c8; font: 700 10px/1 var(--kc-mono, monospace); letter-spacing: .14em; }
.future-hero-index b { color: #ff8d75; padding-left: 10px; font-size: 16px; }
.future-video-stage { padding: 74px 28px 0; background: #070814; }
.future-video-frame { position: relative; max-width: 1120px; margin: 0 auto; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(169, 124, 255, .44); border-radius: 10px; background: #101024; box-shadow: 0 28px 68px rgba(0, 0, 0, .5), 0 0 64px rgba(113, 61, 235, .22); }
.future-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.future-video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 7, 18, .68), transparent 48%), linear-gradient(0deg, rgba(6, 7, 18, .66), transparent 45%); }
.future-video-overlay { position: absolute; left: 30px; bottom: 28px; z-index: 1; display: grid; gap: 8px; max-width: 300px; }
.future-video-overlay span, .future-video-corner { color: #d4c0ff; font: 700 10px/1.3 var(--kc-mono, monospace); letter-spacing: .14em; }
.future-video-overlay b { color: #fff; font-size: clamp(23px, 3vw, 34px); letter-spacing: -.055em; }
.future-video-overlay small { color: #ddd9ed; line-height: 1.6; }
.future-video-corner { position: absolute; z-index: 1; right: 20px; top: 20px; color: #fff; padding: 7px 9px; background: rgba(7, 7, 22, .46); border: 1px solid rgba(211, 186, 255, .3); }
.future-signal-bar { display: flex; justify-content: center; gap: clamp(20px, 7vw, 108px); padding: 18px 28px; background: #0e0c25; color: #ada7c7; border-bottom: 1px solid rgba(159, 125, 255, .18); font: 700 10px/1.4 var(--kc-mono, monospace); letter-spacing: .1em; text-align: center; }
.future-home-products { max-width: 1264px; padding: 82px 28px; }
.future-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.future-section-head span { color: #a97dff; font: 700 10px/1 var(--kc-mono, monospace); letter-spacing: .15em; }
.future-section-head h2 { margin: 10px 0 0; color: #fff; font-size: clamp(34px, 4vw, 58px); letter-spacing: -.07em; line-height: .92; }
.future-section-head a { color: #ff947f; font-size: 13px; white-space: nowrap; }
.future-tabs { margin-bottom: 30px; border-bottom-color: rgba(170, 143, 244, .18); }
.future-tabs .cat-tab { color: #bab5d0; background: rgba(51, 40, 95, .25); border-color: rgba(165, 135, 242, .27); }
.future-tabs .cat-tab.active, .future-tabs .cat-tab:hover { color: #fff; border-color: #8b5eff; background: linear-gradient(100deg, #6540d6, #9b5df3); }
.future-card-grid { display: grid !important; columns: unset; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.future-card { margin: 0; border: 1px solid rgba(164, 130, 255, .22); background: linear-gradient(145deg, rgba(31, 25, 68, .94), rgba(11, 10, 30, .96)); border-radius: 8px; box-shadow: none; }
.future-card:hover { border-color: rgba(213, 181, 255, .7); box-shadow: 0 16px 38px rgba(7, 4, 22, .45), 0 0 24px rgba(120, 73, 246, .18); }
.future-card .trend-cover, .future-card:nth-child(3n+1) .trend-cover, .future-card:nth-child(3n+2) .trend-cover, .future-card:nth-child(4n) .trend-cover { height: 220px; background: #111027 !important; }
.future-card .body { padding: 16px; }
.future-card .nm { color: #f7f5ff; }
.future-card .desc { color: #a6a1bc; }
.future-card .price { color: #fff; }
.future-card .stock-tag { color: #d7c5ff; background: rgba(141, 89, 255, .16); border: 1px solid rgba(169, 124, 255, .28); }
.future-contact-strip { display: flex; align-items: center; gap: 18px; padding: 26px 0 0; margin-top: 46px; border-top: 1px solid rgba(168, 135, 250, .2); }
.future-contact-strip span { color: #9970e9; font: 700 10px/1 var(--kc-mono, monospace); letter-spacing: .14em; }
.future-contact-strip b { color: #f5f2ff; font-size: 16px; }
.future-contact-strip a { color: #ff947f; margin-left: auto; }

.future-catalog { max-width: 1264px; padding-top: 58px; }
.future-catalog .trend-catalog-head h2 { color: #fff; }
.future-catalog .sub { color: #aaa5c1; }
.future-catalog .trend-member-state { color: #bda1ff; }
.future-catalog .trend-join-btn { background: linear-gradient(100deg, #7244e7, #ed705f); border-radius: 4px; }
.future-catalog .trend-tabs { border-color: rgba(170, 143, 244, .18); }
.future-catalog .trend-tabs .cat-tab { color: #bab5d0; background: rgba(51, 40, 95, .25); border-color: rgba(165, 135, 242, .27); }
.future-catalog .trend-tabs .cat-tab.active, .future-catalog .trend-tabs .cat-tab:hover { color: #fff; background: #7345e6; border-color: #7345e6; }
.future-catalog .trend-wall { display: grid; columns: unset; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.future-product-page { color: #ecebfa; }
.future-product-page .detail-grid { grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); }
.future-product-page .product-main-cover { background: #111027 !important; border: 1px solid rgba(164, 130, 255, .25); border-radius: 8px; box-shadow: 0 22px 54px rgba(0, 0, 0, .36); }
.future-product-page .d-info h1 { color: #fff; }
.future-product-page .d-desc, .future-product-page .small.muted { color: #aaa5c1 !important; }
.future-product-page .badge-brand { color: #cfbaff; border-color: rgba(183, 150, 255, .38); background: rgba(127, 76, 229, .1); }
.future-product-page .d-price { border-color: rgba(170, 143, 244, .26); }
.future-product-page .d-price .price { color: #fff; }
.future-product-page .btn-primary { background: linear-gradient(100deg, #7244e7, #ed705f); }
.future-product-page .banner-blue { color: #d3cce7; background: rgba(67, 49, 123, .32); border-color: rgba(159, 125, 255, .3); }
.future-product-page .section-title { color: #f5f3ff; }
.future-product-page .product-detail-text { color: #c3bdd6; background: rgba(25, 21, 53, .72); border-color: rgba(168, 135, 250, .2); }
.future-product-page .product-resource-link { color: #e6dcff; background: rgba(29, 23, 68, .82); border-color: rgba(168, 135, 250, .25); }

/* 商城结算、支付、查询与会员流程：统一高对比深色功能界面 */
.future-utility-page { min-height: calc(100vh - 180px); color: #f7f5ff; }
.future-utility-page .center-box { max-width: 620px; }
.future-utility-page .card,
body:has(.future-shop) .modal {
  color: #f7f5ff;
  background: linear-gradient(145deg, rgba(30, 24, 67, .98), rgba(12, 11, 34, .99));
  border-color: rgba(177, 143, 255, .34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42), 0 0 30px rgba(118, 75, 235, .08);
}
.future-utility-page .card-head,
body:has(.future-shop) .modal-foot { border-color: rgba(177, 143, 255, .24); background: rgba(8, 8, 26, .34); }
.future-utility-page .card-title,
.future-utility-page .section-title,
.future-utility-page h1,
.future-utility-page h2,
.future-utility-page h3,
body:has(.future-shop) .modal-head h3 { color: #fff; }
.future-utility-page .card-title { font-size: 16px; }
.future-utility-page .card-body { color: #e8e5f4; }
.future-utility-page .card-body > p { color: #d8d4e7; font-size: 15px; }
.future-utility-page .muted { color: #b8b4ca !important; }
.future-utility-page .d-price { margin: 12px 0 20px; }
.future-utility-page .d-price b { color: #fff; font-size: 30px; line-height: 1; }
.future-utility-page .form-item label,
body:has(.future-shop) .modal .form-item label { color: #ded9ed; font-size: 14px; }
.future-utility-page .input,
.future-utility-page .select,
.future-utility-page .textarea,
body:has(.future-shop) .modal .input,
body:has(.future-shop) .modal .select,
body:has(.future-shop) .modal .textarea {
  min-height: 44px;
  color: #fff;
  background: #0b0b25;
  border-color: rgba(182, 151, 255, .4);
}
.future-utility-page .input::placeholder,
.future-utility-page .textarea::placeholder,
body:has(.future-shop) .modal .input::placeholder,
body:has(.future-shop) .modal .textarea::placeholder { color: #918ca8; }
.future-utility-page .input:focus,
.future-utility-page .select:focus,
.future-utility-page .textarea:focus,
body:has(.future-shop) .modal .input:focus,
body:has(.future-shop) .modal .select:focus,
body:has(.future-shop) .modal .textarea:focus { border-color: #a97cff; box-shadow: 0 0 0 3px rgba(145, 92, 255, .18); }
.future-utility-page .banner-blue,
body:has(.future-shop) .modal .banner-blue { color: #e4ddf3; background: rgba(83, 58, 148, .3); border-color: rgba(177, 143, 255, .32); }
.future-utility-page .table { color: #ece9f8; }
.future-utility-page .table th { color: #b8b2cc; background: #11112b; border-color: rgba(177, 143, 255, .22); }
.future-utility-page .table td { border-color: rgba(177, 143, 255, .14); }
.future-utility-page .table tbody tr:hover { background: rgba(139, 94, 255, .1); }
.future-utility-page .table a { display: block; margin-top: 4px; color: #cfbaff; font-weight: 700; }
body:has(.future-shop) .modal-mask { background: rgba(5, 5, 18, .8); backdrop-filter: blur(10px); }
body:has(.future-shop) .modal-body { color: #e8e5f4; }
body:has(.future-shop) .modal-foot .btn:not(.btn-primary) { color: #e9e5f5; background: rgba(255, 255, 255, .06); border-color: rgba(177, 143, 255, .28); }

@media (max-width: 820px) {
  .future-hero { min-height: 680px; align-items: start; }
  .future-hero-art { object-position: 62% center; }
  .future-hero-shade { background: linear-gradient(180deg, rgba(7, 8, 20, .82), rgba(7, 8, 20, .5) 50%, rgba(7, 8, 20, .95) 100%); }
  .future-hero-content { width: auto; margin: 0 24px; padding: 70px 0 0; }
  .future-hero h1 { font-size: clamp(54px, 16vw, 76px); }
  .future-hero-index { left: 24px; }
  .future-video-stage { padding: 36px 16px 0; }
  .future-video-frame { border-radius: 6px; }
  .future-video-overlay { left: 16px; bottom: 15px; gap: 4px; }
  .future-video-overlay small { display: none; }
  .future-video-corner { top: 10px; right: 10px; font-size: 8px; }
  .future-signal-bar { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .future-home-products, .future-catalog { padding: 48px 16px; }
  .future-section-head { align-items: start; flex-direction: column; }
  .future-card-grid, .future-catalog .trend-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .future-card .trend-cover, .future-card:nth-child(3n+1) .trend-cover, .future-card:nth-child(3n+2) .trend-cover, .future-card:nth-child(4n) .trend-cover { height: 150px; }
  .future-contact-strip { align-items: start; flex-direction: column; gap: 10px; }
  .future-contact-strip a { margin-left: 0; }
  .future-product-page .detail-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   会员登录页 · PRIVATE EDITION
   手表艺术图为唯一主视觉，不继承商城与后台的页面框架
   ============================================================ */
.watch-login {
  --watch-bg: #05060b;
  --watch-panel: #090b13;
  --watch-line: rgba(176, 157, 255, .24);
  --watch-text: #f8f7ff;
  --watch-muted: #8f91a6;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 46%) minmax(420px, 54%);
  overflow: hidden;
  background: var(--watch-bg);
  color: var(--watch-text);
  isolation: isolate;
}
.watch-login-art {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(174, 148, 255, .35);
  background: #0b0613;
}
.watch-login-art::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -2;
  background: url("../assets/member-login-watch.png") center / cover no-repeat;
  filter: blur(30px) saturate(.84) brightness(.38);
  transform: scale(1.09);
}
.watch-login-art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 11, .62), transparent 24%, transparent 76%, rgba(4, 5, 11, .52)),
    linear-gradient(0deg, rgba(4, 5, 11, .82), transparent 27%, transparent 78%, rgba(4, 5, 11, .36));
  box-shadow: inset -28px 0 70px rgba(9, 5, 23, .64);
}
.watch-login-art img {
  width: 100%;
  height: 100vh;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 0;
  filter: saturate(.92) contrast(1.05);
}
.watch-login-edition {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 26px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(5, 5, 12, .5);
  color: rgba(255, 255, 255, .82);
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .18em;
  backdrop-filter: blur(12px);
}
.watch-login-entry {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 72px clamp(32px, 7vw, 118px);
  background:
    radial-gradient(circle at 18% 18%, rgba(93, 49, 198, .24), transparent 30%),
    radial-gradient(circle at 86% 76%, rgba(255, 91, 65, .1), transparent 28%),
    linear-gradient(rgba(128, 100, 220, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 100, 220, .055) 1px, transparent 1px),
    var(--watch-panel);
  background-size: auto, auto, 54px 54px, 54px 54px, auto;
}
.watch-login-entry::before {
  content: "";
  position: absolute;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(153, 111, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(110, 61, 230, .09), inset 0 0 90px rgba(110, 61, 230, .05);
  pointer-events: none;
}
.watch-login-back {
  position: absolute;
  top: 34px;
  left: 40px;
  color: #a9a8bb;
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .2s, transform .2s;
}
.watch-login-back:hover { color: #fff; transform: translateX(-3px); }
.watch-login-form {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin: 0;
}
.watch-login-core {
  width: 58px;
  height: 58px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  color: #fff;
  font: 800 11px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.watch-login-core::before,
.watch-login-core i {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(189, 164, 255, .58);
  transform: rotate(45deg);
  box-shadow: 0 0 24px rgba(126, 70, 255, .32), inset 0 0 16px rgba(126, 70, 255, .14);
}
.watch-login-core i { inset: 10px; border-color: rgba(255, 124, 93, .78); }
.watch-login-core b { position: relative; z-index: 1; }
.watch-login-kicker {
  margin: 0 0 12px;
  color: #a98cff;
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .19em;
}
.watch-login-form h1 {
  margin: 0 0 42px;
  color: #fff;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 780;
}
.watch-login-field { margin-bottom: 22px; }
.watch-login-field label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #b8b7c8;
  font-size: 13px;
  font-weight: 650;
}
.watch-login-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(159, 144, 197, .34);
  border-radius: 3px;
  outline: none;
  background: rgba(7, 8, 15, .58);
  color: #fff;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.watch-login-field input::placeholder { color: #555769; }
.watch-login-field input:focus {
  border-color: #9671ff;
  background: rgba(14, 12, 29, .78);
  box-shadow: 0 0 0 3px rgba(126, 82, 238, .11), 0 0 26px rgba(116, 62, 236, .1);
}
.watch-login-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(105deg, #7445ec 0%, #a04ff0 53%, #ef6a55 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(90, 44, 205, .3), 0 0 24px rgba(145, 73, 238, .14);
  transition: transform .2s, box-shadow .2s;
}
.watch-login-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(90, 44, 205, .4), 0 0 32px rgba(145, 73, 238, .2); }
.watch-login-upgrade {
  margin-top: 22px;
  padding: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--watch-line);
  border-bottom: 1px solid var(--watch-line);
  color: var(--watch-muted);
  font-size: 12px;
}
.watch-login-upgrade b { color: #ff9a84; font-size: 12px; font-weight: 750; }
.watch-login-upgrade:hover b { color: #ffc0b3; }
.watch-login-code {
  position: absolute;
  right: 34px;
  bottom: 28px;
  color: #4d4c60;
  font: 700 9px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .17em;
}

@media (max-width: 900px) {
  .watch-login { grid-template-columns: 42% 58%; }
  .watch-login-entry { padding-inline: 34px; }
}
@media (max-width: 680px) {
  .watch-login { display: block; min-height: 100vh; overflow: visible; }
  .watch-login-art { min-height: 42vh; height: 42vh; border-right: 0; border-bottom: 1px solid rgba(174, 148, 255, .35); }
  .watch-login-art img { height: 42vh; object-position: center 38%; }
  .watch-login-edition { left: 16px; bottom: 14px; font-size: 8px; }
  .watch-login-entry { min-height: 58vh; padding: 82px 22px 54px; place-items: start center; }
  .watch-login-entry::before { width: 78vw; }
  .watch-login-back { top: 25px; left: 22px; }
  .watch-login-form { max-width: 430px; }
  .watch-login-core { width: 48px; height: 48px; margin-bottom: 24px; }
  .watch-login-form h1 { margin-bottom: 34px; font-size: 38px; }
  .watch-login-code { display: none; }
  .watch-login-upgrade { align-items: flex-start; flex-direction: column; gap: 5px; }
}

/* ============================================================
   平台总后台 · Future Control Center
   仅作用于 admin-stage，不改变客户前台与会员中心。
   ============================================================ */
.admin-stage {
  --admin-bg: #050713;
  --admin-panel: #0b1022;
  --admin-panel-2: #0f1730;
  --admin-line: rgba(126, 156, 255, .16);
  --admin-text: #f4f7ff;
  --admin-muted: #8d9aba;
  --admin-cyan: #67e8f9;
  --admin-blue: #4f7cff;
  --admin-purple: #8b5cf6;
  min-height: 100vh;
  color: var(--admin-text);
  background:
    linear-gradient(rgba(84, 118, 219, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 118, 219, .045) 1px, transparent 1px),
    var(--admin-bg);
  background-size: 40px 40px;
}
.admin-stage .demo-bar {
  min-height: 42px;
  padding: 7px 20px;
  background: rgba(5, 7, 19, .96);
  border-bottom: 1px solid rgba(103, 232, 249, .14);
  color: #a7b4d1;
}
.admin-stage .demo-bar .db-brand .logo,
.admin-stage .demo-bar .db-seg a.active {
  background: #142654;
  border: 1px solid rgba(103, 232, 249, .28);
  box-shadow: 0 0 18px rgba(79, 124, 255, .18);
}
.admin-stage .demo-bar .db-seg { background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); }
.admin-stage .demo-bar .db-seg a { color: #95a4c8; }
.admin-stage .demo-bar .db-seg a:hover { color: #fff; }

.admin-future-shell { min-height: calc(100vh - 42px); }
.admin-sidebar {
  width: 268px;
  top: 42px;
  height: calc(100vh - 42px);
  padding: 26px 18px 20px;
  background: rgba(7, 11, 27, .96);
  border-right: 1px solid var(--admin-line);
  box-shadow: 18px 0 50px rgba(0, 0, 0, .2);
}
.admin-sidebar .sb-brand { padding: 0 8px 24px; }
.admin-sidebar .sb-brand .logo {
  width: 42px;
  height: 42px;
  border-radius: 12px 4px 12px 4px;
  background: #101f46;
  border: 1px solid rgba(103, 232, 249, .38);
  color: var(--admin-cyan);
  font: 700 13px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: -.5px;
  box-shadow: 0 0 24px rgba(79, 124, 255, .2), inset 0 0 16px rgba(103, 232, 249, .05);
}
.admin-sidebar .sb-brand .name { max-width: 168px; color: #fff; font-size: 16px; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar .sb-brand .name small { color: #617196; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: 1.6px; }
.admin-sidebar .sb-group { color: #526182; padding: 14px 10px 10px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; letter-spacing: 1.4px; }
.admin-sidebar .nav-item {
  position: relative;
  gap: 12px;
  min-height: 46px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #8e9abc;
  font-size: 14px;
  font-weight: 600;
}
.admin-sidebar .nav-item .em {
  width: 28px;
  color: #566887;
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .8px;
}
.admin-sidebar .nav-item:hover { background: rgba(79, 124, 255, .08); border-color: rgba(126, 156, 255, .12); color: #e7edff; }
.admin-sidebar .nav-item.active {
  background: #101a38;
  border-color: rgba(103, 232, 249, .24);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--admin-cyan), 0 12px 30px rgba(0, 0, 0, .18);
}
.admin-sidebar .nav-item.active .em { color: var(--admin-cyan); }
.admin-sidebar .sb-foot { padding: 18px 8px 0; border-color: rgba(126, 156, 255, .12); }
.admin-sidebar .sb-foot .who { gap: 10px; color: #72809f; line-height: 1.45; }
.admin-sidebar .sb-foot .who b { color: #dfe7ff; font-size: 13px; }
.admin-avatar { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(103, 232, 249, .24); border-radius: 50%; color: var(--admin-cyan); font: 700 11px/1 monospace; }
.admin-system-line { display: flex; align-items: center; gap: 7px; margin-top: 16px; color: #637497; font: 700 10px/1 monospace; letter-spacing: 1.2px; }
.admin-system-line i { width: 6px; height: 6px; border-radius: 50%; background: #30d9a0; box-shadow: 0 0 10px rgba(48, 217, 160, .8); }

.admin-main { min-height: calc(100vh - 42px); background: rgba(5, 7, 19, .74); }
.admin-topbar {
  min-height: 88px;
  top: 42px;
  padding: 16px 30px;
  background: rgba(5, 8, 20, .86);
  border-color: var(--admin-line);
  backdrop-filter: blur(18px);
}
.admin-topbar .page-kicker,
.admin-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--admin-cyan);
  font: 700 10px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 1.7px;
}
.admin-topbar .page-name { color: #f7f9ff; font-size: 21px; letter-spacing: -.3px; }
.admin-topbar .page-desc { color: var(--admin-muted); font-size: 13px; }
.admin-top-actions { display: flex; align-items: center; gap: 10px; }
.admin-local-badge,
.admin-count-chip,
.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(103, 232, 249, .18);
  border-radius: 999px;
  background: rgba(103, 232, 249, .055);
  color: #9aebf6;
  font: 700 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: 1px;
}
.admin-status.pending { border-color: rgba(255, 187, 92, .25); background: rgba(255, 187, 92, .07); color: #ffc36a; font-family: inherit; font-size: 12px; letter-spacing: .2px; }
.admin-stage .btn { border-radius: 7px; }
.admin-stage .btn-primary { background: #295dff; border-color: #5e87ff; box-shadow: 0 8px 24px rgba(41, 93, 255, .24); }
.admin-stage .btn-primary:hover:not(:disabled) { background: #3a6aff; box-shadow: 0 10px 30px rgba(41, 93, 255, .34); }
.admin-stage .btn-ghost { background: rgba(255, 255, 255, .035); border-color: rgba(126, 156, 255, .18); color: #c6d0e8; }
.admin-stage .btn-ghost:hover { border-color: rgba(103, 232, 249, .42); color: var(--admin-cyan); }
.admin-content { max-width: 1500px; padding: 28px 30px 54px; }
.admin-mobile-nav { display: none; }

.admin-command {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding: 26px 28px;
  border: 1px solid rgba(103, 232, 249, .16);
  border-radius: 12px;
  background: linear-gradient(105deg, rgba(21, 39, 84, .78), rgba(11, 16, 34, .78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 18px 60px rgba(0, 0, 0, .18);
}
.admin-command h2 { margin-top: 5px; color: #fff; font-size: clamp(24px, 3vw, 38px); line-height: 1.18; letter-spacing: -1px; }
.admin-command p { margin-top: 8px; color: #95a2bf; font-size: 14px; }
.admin-command-code { color: rgba(103, 232, 249, .38); font: 700 20px/1 monospace; letter-spacing: 2px; white-space: nowrap; }
.admin-stat-grid { grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 12px; }
.admin-stage .stat-card {
  min-height: 150px;
  padding: 20px;
  background: rgba(11, 16, 34, .9);
  border-color: var(--admin-line);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}
.admin-stage .stat-card::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: linear-gradient(90deg, var(--admin-blue), transparent 70%); opacity: .8; }
.admin-stage .stat-card .ic { width: auto; height: auto; justify-content: flex-start; margin-bottom: 18px; background: transparent !important; color: #64769a; font: 700 11px/1 monospace; letter-spacing: 1.1px; }
.admin-stage .stat-card .label { color: #7f8dad; font-size: 13px; }
.admin-stage .stat-card .value { color: #f7f9ff; font-size: 29px; }
.admin-stage .stat-card .sub { color: #667594; font-size: 12px; }
.admin-module-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.admin-module-grid a { min-height: 126px; padding: 18px; border: 1px solid var(--admin-line); border-radius: 9px; background: rgba(11, 16, 34, .7); color: #fff; transition: border-color .18s, transform .18s, background .18s; }
.admin-module-grid a:hover { transform: translateY(-2px); border-color: rgba(103, 232, 249, .4); background: rgba(15, 23, 48, .92); }
.admin-module-grid span { display: block; color: #536487; font: 700 10px/1 monospace; letter-spacing: 1px; }
.admin-module-grid b { display: block; margin-top: 24px; font-size: 15px; }
.admin-module-grid small { display: block; margin-top: 3px; color: #71809f; font-size: 12px; }

.admin-stage .page-toolbar { margin-bottom: 20px; }
.admin-stage .page-toolbar h2 { color: #f7f9ff; font-size: 24px; }
.admin-stage .page-toolbar .sub { color: var(--admin-muted); font-size: 14px; }
.admin-stage .card {
  background: rgba(11, 16, 34, .94);
  border-color: var(--admin-line);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
}
.admin-stage .card-head { border-color: var(--admin-line); }
.admin-stage .card-title { color: #f3f6ff; }
.admin-stage .card-title .dot { background: var(--admin-cyan); border-radius: 50%; box-shadow: 0 0 10px rgba(103, 232, 249, .6); }
.admin-data-card { overflow: hidden; }
.admin-stage .table { min-width: 880px; color: #dce4f7; font-size: 14px; }
.admin-stage .table th { padding: 13px 16px; background: #0e1630; border-color: var(--admin-line); color: #7080a1; font: 700 11px/1.4 "SFMono-Regular", Consolas, monospace; letter-spacing: .8px; }
.admin-stage .table td { padding: 15px 16px; border-color: rgba(126, 156, 255, .09); }
.admin-stage .table tbody tr:hover { background: rgba(79, 124, 255, .055); }
.admin-stage .muted { color: #72809e; }
.admin-stage .money-in { color: #72e6c0; }
.admin-stage .badge { border: 1px solid transparent; }
.admin-stage .badge-green { background: rgba(48, 217, 160, .08); border-color: rgba(48, 217, 160, .2); color: #68e4bb; }
.admin-stage .badge-orange { background: rgba(255, 187, 92, .08); border-color: rgba(255, 187, 92, .2); color: #ffc36a; }
.admin-stage .badge-gray { background: rgba(142, 154, 188, .08); border-color: rgba(142, 154, 188, .16); color: #919cba; }
.admin-stage .badge-blue { background: rgba(79, 124, 255, .1); border-color: rgba(79, 124, 255, .2); color: #8fb0ff; }
.admin-lifetime-badge { display: inline-flex; padding: 4px 9px; border: 1px solid rgba(103, 232, 249, .2); border-radius: 5px; background: rgba(103, 232, 249, .06); color: #9beef7; font-size: 12px; font-weight: 700; }
.admin-count-chip { color: #9caed2; font-family: inherit; font-size: 12px; letter-spacing: 0; }

.admin-stage .form-item label { color: #9eabc6; font-size: 13px; }
.admin-stage .input,
.admin-stage .select,
.admin-stage .textarea {
  min-height: 42px;
  background: #080d1d;
  border-color: rgba(126, 156, 255, .18);
  border-radius: 7px;
  color: #ecf2ff;
  font-size: 14px;
}
.admin-stage .textarea { min-height: 88px; }
.admin-stage .input:focus,
.admin-stage .select:focus,
.admin-stage .textarea:focus { border-color: rgba(103, 232, 249, .62); box-shadow: 0 0 0 3px rgba(103, 232, 249, .08); }
.admin-stage .input::placeholder,
.admin-stage .textarea::placeholder { color: #455374; }
.admin-stage .file-input { color: #7684a5; }
.admin-stage .form-hint { color: #657594; }
.admin-dashboard-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 340px); gap: 14px; margin-bottom: 22px; }
.admin-dashboard-hero .admin-command { min-height: 330px; margin-bottom: 0; }
.admin-dashboard-visual { position: relative; min-height: 330px; max-height: 330px; margin: 0; overflow: hidden; border: 1px solid rgba(103, 232, 249, .2); border-radius: 12px; background: #07110f; box-shadow: 0 18px 58px rgba(0, 0, 0, .28); isolation: isolate; }
.admin-dashboard-visual::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid rgba(255, 255, 255, .055); border-radius: inherit; pointer-events: none; }
.admin-dashboard-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; filter: saturate(.78) contrast(1.08) brightness(.78); }
.admin-dashboard-visual-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(2, 8, 12, .08) 38%, rgba(3, 8, 18, .24) 60%, rgba(3, 7, 18, .9) 100%), linear-gradient(135deg, rgba(26, 211, 181, .08), transparent 48%); }
.admin-dashboard-visual-index { position: absolute; z-index: 3; top: 18px; left: 18px; padding: 7px 9px; border: 1px solid rgba(171, 255, 230, .26); border-radius: 5px; background: rgba(2, 9, 13, .5); color: #a6f2dc; font: 700 9px/1 monospace; letter-spacing: 1.2px; backdrop-filter: blur(8px); }
.admin-dashboard-visual figcaption { position: absolute; z-index: 3; right: 20px; bottom: 18px; left: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.admin-dashboard-visual figcaption strong { color: #fff; font-size: 22px; line-height: 1.2; letter-spacing: -.4px; }
.admin-dashboard-visual figcaption span { color: #9bb5ae; font: 700 10px/1.4 monospace; letter-spacing: .7px; white-space: nowrap; }
.admin-payment-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-integration-head { display: flex; align-items: center; gap: 13px; padding: 19px 20px; border-bottom: 1px solid var(--admin-line); }
.admin-integration-head > span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(103, 232, 249, .24); border-radius: 8px; color: var(--admin-cyan); font: 700 11px/1 monospace; }
.admin-integration-head div { flex: 1; }
.admin-integration-head small { color: #58698f; font: 700 9px/1 monospace; letter-spacing: 1.3px; }
.admin-integration-head h3 { margin-top: 4px; color: #f5f8ff; font-size: 17px; }
.admin-integration-head > b { padding: 4px 8px; border: 1px solid rgba(255, 187, 92, .2); border-radius: 5px; color: #f3bc68; font-size: 11px; font-weight: 600; }
.admin-connector-note { padding: 11px 13px; border-left: 2px solid rgba(103, 232, 249, .45); background: rgba(103, 232, 249, .035); color: #7d8cac; font-size: 12px; line-height: 1.75; }
.admin-payment-footer,
.admin-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--admin-line); border-radius: 9px; background: rgba(11, 16, 34, .75); }
.admin-payment-footer b { display: block; color: #eaf0ff; font-size: 14px; }
.admin-payment-footer span,
.admin-save-bar > span { display: block; margin-top: 2px; color: #71809f; font-size: 12px; }
.admin-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-card-code { color: #56678b; font: 700 9px/1 monospace; letter-spacing: 1.2px; }

body:has(.admin-stage) .modal-mask { background: rgba(2, 4, 12, .82); backdrop-filter: blur(8px); }
body:has(.admin-stage) .modal { max-width: 620px; background: #0b1022; border: 1px solid rgba(126, 156, 255, .2); border-radius: 10px; color: #f4f7ff; }
body:has(.admin-stage) .modal-head h3 { color: #f4f7ff; }
body:has(.admin-stage) .modal-foot { background: #080d1d; border-color: rgba(126, 156, 255, .15); }
body:has(.admin-stage) .modal .form-item label { color: #9eabc6; }
body:has(.admin-stage) .modal .input,
body:has(.admin-stage) .modal .textarea { background: #080d1d; border-color: rgba(126, 156, 255, .2); color: #ecf2ff; }

@media (max-width: 1180px) {
  .admin-stat-grid { grid-template-columns: repeat(2, minmax(170px, 1fr)); }
  .admin-module-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
  .admin-dashboard-hero { grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); }
}

@media (max-width: 900px) {
  .admin-future-shell { display: block; }
  .admin-sidebar { display: none; }
  .admin-topbar { top: 42px; padding: 14px 18px; }
  .admin-local-badge { display: none; }
  .admin-mobile-nav { display: flex; gap: 7px; padding: 10px 16px; overflow-x: auto; border-bottom: 1px solid var(--admin-line); background: rgba(7, 11, 27, .92); scrollbar-width: none; }
  .admin-mobile-nav::-webkit-scrollbar { display: none; }
  .admin-mobile-nav .nav-item { flex: 0 0 auto; width: auto; min-height: 36px; margin: 0; padding: 7px 11px; border: 1px solid rgba(126, 156, 255, .14); border-radius: 6px; color: #91a0c2; background: rgba(255, 255, 255, .025); }
  .admin-mobile-nav .nav-item .em { width: auto; color: #586b91; font: 700 9px/1 monospace; }
  .admin-mobile-nav .nav-item.active { border-color: rgba(103, 232, 249, .36); color: #fff; background: rgba(79, 124, 255, .12); }
  .admin-content { padding: 22px 18px 44px; }
  .admin-content-grid { grid-template-columns: 1fr; }
  .admin-payment-flow { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .admin-stage .demo-bar .db-tip { display: none; }
  .admin-stage .demo-bar { padding: 6px 10px; }
  .admin-stage .demo-bar .db-right { display: none; }
  .admin-topbar { min-height: 78px; }
  .admin-topbar .page-name { font-size: 18px; }
  .admin-topbar .page-desc { max-width: 230px; line-height: 1.4; }
  .admin-top-actions .btn { padding-inline: 9px; }
  .admin-dashboard-hero { grid-template-columns: 1fr; }
  .admin-command { align-items: flex-start; padding: 21px; }
  .admin-dashboard-hero .admin-command { min-height: 220px; }
  .admin-command-code { display: none; }
  .admin-command h2 { font-size: 27px; }
  .admin-stat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-stage .stat-card { min-height: 136px; padding: 15px; }
  .admin-stage .stat-card .value { font-size: 23px; }
  .admin-module-grid { grid-template-columns: 1fr 1fr; }
  .admin-module-grid a { min-height: 112px; padding: 15px; }
  .admin-module-grid b { margin-top: 20px; }
  .admin-dashboard-visual { min-height: 300px; max-height: 300px; }
  .admin-payment-footer,
  .admin-save-bar { align-items: stretch; flex-direction: column; }
  .admin-payment-footer .btn,
  .admin-save-bar .btn { width: 100%; }
  .admin-stage .form-row { grid-template-columns: 1fr; gap: 0; }
}
