/* =============================================
   AE Render Platform — 设计系统 v3
   Clean · Minimal · Professional · Polished
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* 颜色系统 */
  --c-bg:        #f9fafb;
  --c-surface:   #ffffff;
  --c-surface-2: #f3f4f6;
  --c-border:    #e5e7eb;
  --c-border-2:  #d1d5db;
  --c-text:      #111827;
  --c-text-2:    #374151;
  --c-muted:     #6b7280;
  --c-subtle:    #9ca3af;

  /* 品牌色 — 靛蓝 */
  --c-primary:   #4f46e5;
  --c-primary-h: #4338ca;
  --c-primary-l: #eef2ff;
  --c-primary-m: #c7d2fe;

  /* 功能色 */
  --c-success:   #059669;
  --c-success-l: #d1fae5;
  --c-warn:      #d97706;
  --c-warn-l:    #fef3c7;
  --c-danger:    #dc2626;
  --c-danger-l:  #fee2e2;
  --c-info:      #0284c7;
  --c-info-l:    #e0f2fe;

  /* 侧边栏 */
  --c-side-bg:   #18181b;
  --c-side-text: #a1a1aa;
  --c-side-active:#ffffff;

  /* 圆角 */
  --r-sm:   6px;
  --r:      10px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  24px;
  --r-full: 9999px;

  /* 阴影 — 更柔和的多层阴影 + 品牌辉光 */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.03);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.1), 0 8px 16px rgba(0,0,0,.05);
  --shadow-glow: 0 4px 20px rgba(79,70,229,.15);

  /* 玻璃拟态 */
  --glass-bg: rgba(255,255,255,.7);
  --glass-border: rgba(255,255,255,.2);
  --glass-blur: blur(12px);

  /* 渐变 */
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  --gradient-brand-subtle: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

  /* 过渡 */
  --transition-fast: 0.15s cubic-bezier(.4,0,.2,1);
  --transition-smooth: 0.3s cubic-bezier(.4,0,.2,1);
  --transition-spring: 0.4s cubic-bezier(.175,.885,.32,1.275);

  /* 布局 */
  --side-w:   240px;
  --topbar-h: 56px;

  /* 动画（保留旧变量兼容） */
  --ease:   cubic-bezier(.4,0,.2,1);
  --dur:    0.15s;
  --dur-md: 0.25s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font: 14px/1.6 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Segoe UI', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5 { line-height: 1.25; font-weight: 700; }
p { margin-bottom: 0; }
button { font: inherit; }


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px;
  font: 600 13px/1 inherit;
  border: 1px solid transparent; border-radius: var(--r);
  background: var(--c-primary); color: #fff;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast),
              opacity var(--transition-fast);
  user-select: none;
}
.btn:hover  { background: var(--c-primary-h); box-shadow: 0 2px 8px rgba(79,70,229,.25); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

.btn-sm  { height: 30px; padding: 0 12px; font-size: 12px; border-radius: var(--r-sm); }
.btn-lg  { height: 44px; padding: 0 24px; font-size: 15px; }
.btn-xl  { height: 52px; padding: 0 32px; font-size: 16px; border-radius: var(--r-lg); }

.btn-ghost {
  background: var(--c-surface); border-color: var(--c-border);
  color: var(--c-text-2);
}
.btn-ghost:hover { background: var(--c-surface-2); border-color: var(--c-border-2); box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent; border-color: var(--c-primary); color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary-l); box-shadow: 0 2px 8px rgba(79,70,229,.15); }

.btn-danger { background: var(--c-danger); }
.btn-danger:hover { background: #b91c1c; box-shadow: 0 2px 8px rgba(220,38,38,.25); }

.btn-accent { background: #7c3aed; }
.btn-accent:hover { background: #6d28d9; box-shadow: 0 2px 8px rgba(124,58,237,.25); }

.btn-success { background: var(--c-success); }
.btn-success:hover { background: #047857; box-shadow: 0 2px 8px rgba(5,150,105,.25); }

.btn-icon {
  width: 36px; height: 36px; padding: 0;
  background: transparent; border-color: var(--c-border); color: var(--c-muted);
}
.btn-icon:hover { background: var(--c-surface-2); color: var(--c-text); box-shadow: none; }
.btn-icon.btn-sm { width: 30px; height: 30px; }


/* ══════════════════════════════════════════
   BADGES / STATUS
══════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-full);
  font: 600 11px/18px inherit;
  white-space: nowrap;
}
.badge-done    { background: var(--c-success-l); color: var(--c-success); }
.badge-warn    { background: var(--c-warn-l);    color: var(--c-warn);    }
.badge-fail    { background: var(--c-danger-l);  color: var(--c-danger);  }
.badge-run     { background: var(--c-info-l);    color: var(--c-info);    }
.badge-default { background: var(--c-surface-2); color: var(--c-muted);   }
.badge-primary { background: var(--c-primary-l); color: var(--c-primary); }

/* 脉冲动画（渲染中） */
.badge-run::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-info);
  animation: pulse 1.4s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.75); }
}


/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 20px;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.card + .card { margin-top: 12px; }

.card-title {
  font-size: 14px; font-weight: 700; color: var(--c-text);
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}

.card-sm { padding: 14px 16px; border-radius: var(--r); }


/* ══════════════════════════════════════════
   FORMS
══════════════════════════════════════════ */
.field { display: grid; gap: 5px; }
.field label {
  font-size: 12px; font-weight: 600;
  color: var(--c-muted); letter-spacing: .01em;
}

input, select, textarea {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--c-border); border-radius: var(--r);
  background: var(--c-surface); color: var(--c-text);
  font: inherit; font-size: 14px;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  appearance: none;
}
textarea { height: auto; padding: 10px 12px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}
input::placeholder { color: var(--c-subtle); }
input[readonly] { background: var(--c-surface-2); color: var(--c-muted); cursor: default; }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.form-row { display: grid; gap: 12px; }
.form-cols-2 { grid-template-columns: 1fr 1fr; }
.form-cols-3 { grid-template-columns: 1fr 1fr 1fr; }


/* ══════════════════════════════════════════
   TABLES
══════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  background: var(--c-surface);
}
table { width: 100%; min-width: 640px; border-collapse: collapse; }
th, td { padding: 11px 14px; text-align: left; vertical-align: middle; }
th {
  background: var(--c-surface-2); color: var(--c-muted);
  font: 600 11px/1 inherit; text-transform: uppercase;
  letter-spacing: .06em; border-bottom: 1px solid var(--c-border);
}
td {
  font-size: 13px; color: var(--c-text-2);
  border-bottom: 1px solid var(--c-border);
}
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background var(--transition-fast); }
tbody tr:hover td { background: #fafafa; }


/* ══════════════════════════════════════════
   PAGER
══════════════════════════════════════════ */
.pager {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  margin-top: 16px; font-size: 13px;
}
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  border: 1px solid var(--c-border); border-radius: var(--r);
  color: var(--c-muted); background: var(--c-surface);
  transition: all var(--transition-fast);
}
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); text-decoration: none; }
.pager .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }


/* ══════════════════════════════════════════
   MODAL
══════════════════════════════════════════ */
.modal-overlay,
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }
.modal-card {
  width: min(960px, calc(100vw - 56px));
  box-sizing: border-box;
  background: var(--c-surface);
  border-radius: var(--r-xl);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.03);
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in .2s var(--ease);
}
.admin-modal-card {
  width: min(780px, calc(100vw - 56px));
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(-10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 14px;
}
.modal-body { padding: 20px; }
.modal-foot {
  padding: 14px 20px; border-top: 1px solid var(--c-border);
  display: flex; justify-content: flex-end; gap: 8px;
  background: var(--c-surface-2); border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.modal-close {
  width: 28px; height: 28px; border-radius: var(--r);
  border: 1px solid var(--c-border); background: var(--c-surface);
  cursor: pointer; font-size: 16px; color: var(--c-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.modal-close:hover { background: var(--c-danger-l); border-color: var(--c-danger); color: var(--c-danger); }

/* AJAX dialogs / toast */
.ajax-dialog-overlay {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  padding: 28px; background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(3px);
}
.ajax-dialog-overlay.open { display: flex; }
.ajax-dialog {
  width: min(520px, calc(100vw - 56px));
  box-sizing: border-box;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modal-in .2s var(--ease);
}
@media (max-width: 640px) {
  .modal-overlay,
  .modal,
  .ajax-dialog-overlay {
    padding: 20px;
  }
  .modal-card,
  .admin-modal-card,
  .ajax-dialog {
    width: calc(100vw - 40px);
  }
}
.ajax-dialog-head {
  padding: 0;
  border-bottom: 0;
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}
.ajax-dialog-body {
  padding: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--c-text-2);
  white-space: pre-line;
}
.ajax-dialog-foot {
  padding: 0;
  margin-top: 20px;
  border-top: 0;
  background: transparent;
  display: flex; justify-content: flex-end; gap: 8px;
}
.ajax-toast-wrap {
  position: fixed; top: 16px; right: 16px; z-index: 1200;
  display: grid; gap: 8px;
}
.ajax-toast {
  min-width: 240px; max-width: 420px;
  border-radius: var(--r);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow-md);
  padding: 10px 12px;
  font-size: 13px; color: var(--c-text-2);
  animation: toast-in .2s var(--ease);
}
.ajax-toast.success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.ajax-toast.error { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.ajax-toast.info { border-color: #93c5fd; background: #eff6ff; color: #1e3a8a; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════
   STAT CARDS (dashboard)
══════════════════════════════════════════ */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-brand);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.stat-card .k {
  font-size: 11px; font-weight: 600; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: .06em;
}
.stat-card .v {
  font-size: 30px; font-weight: 800; margin-top: 6px; line-height: 1;
  color: var(--c-text);
}
.stat-card .v-sub {
  font-size: 12px; color: var(--c-muted); margin-top: 4px;
}


/* ══════════════════════════════════════════
   PICKER (调色/特效选择器)
══════════════════════════════════════════ */
.picker-wrap {
  border: 1px solid var(--c-border); border-radius: var(--r-lg);
  background: var(--c-surface); overflow: hidden;
  display: grid; grid-template-rows: auto auto 1fr;
}
.picker-head {
  padding: 12px 14px; border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
}
.picker-head h3 { margin: 0; font-size: 13px; font-weight: 700; }
.picker-search { padding: 8px 12px; border-bottom: 1px solid var(--c-border); }
.picker-search input { height: 34px; font-size: 13px; }
.picker-list {
  overflow-y: auto; max-height: 460px;
  padding: 10px; display: grid; gap: 8px;
  scrollbar-width: thin; scrollbar-color: var(--c-border) transparent;
}
.picker-list::-webkit-scrollbar { width: 5px; }
.picker-list::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 4px; }

.picker-group-title {
  font-size: 10px; font-weight: 700; color: var(--c-subtle);
  text-transform: uppercase; letter-spacing: .07em;
  padding: 2px 2px 4px;
}
.picker-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }

.picker-card {
  border: 1.5px solid var(--c-border); border-radius: var(--r);
  padding: 8px; cursor: pointer; background: var(--c-surface);
  transition: border-color var(--transition-fast),
              background var(--transition-fast),
              box-shadow var(--transition-fast);
  text-align: left; font: inherit;
}
.picker-card:hover { border-color: #a5b4fc; background: #fafbff; box-shadow: var(--shadow-xs); }
.picker-card.selected { border-color: var(--c-primary); background: var(--c-primary-l); }

.picker-preview {
  width: 100%; aspect-ratio: 16/9;
  background: var(--c-surface-2); border-radius: var(--r-sm); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.picker-preview img, .picker-preview video { width: 100%; height: 100%; object-fit: cover; }
.picker-preview-empty { font-size: 10px; color: var(--c-subtle); }
.picker-card-name { font-size: 12px; font-weight: 700; line-height: 1.3; margin-bottom: 2px; }
.picker-card-meta { font-size: 10px; color: var(--c-muted); }
.picker-tip { font-size: 12px; color: var(--c-muted); padding: 10px 4px; }


/* ══════════════════════════════════════════
   DROPZONE (文件上传)
══════════════════════════════════════════ */
.dropzone {
  min-height: 96px; padding: 20px;
  border: 1.5px dashed var(--c-border-2); border-radius: var(--r-lg);
  background: var(--c-surface-2); cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  transition: border-color var(--transition-smooth),
              background var(--transition-smooth),
              box-shadow var(--transition-smooth);
  text-align: center;
  position: relative;
}
.dropzone:hover, .dropzone.drag {
  border-color: var(--c-primary);
  background: var(--c-primary-l);
  box-shadow: var(--shadow-glow);
}
/* 悬停时虚线边框动画 */
.dropzone:hover {
  background-image: repeating-linear-gradient(
    0deg,
    var(--c-primary), var(--c-primary) 8px, transparent 8px, transparent 16px
  ),
  repeating-linear-gradient(
    90deg,
    var(--c-primary), var(--c-primary) 8px, transparent 8px, transparent 16px
  ),
  repeating-linear-gradient(
    180deg,
    var(--c-primary), var(--c-primary) 8px, transparent 8px, transparent 16px
  ),
  repeating-linear-gradient(
    270deg,
    var(--c-primary), var(--c-primary) 8px, transparent 8px, transparent 16px
  );
  background-size: 1.5px 100%, 100% 1.5px, 1.5px 100%, 100% 1.5px;
  background-position: 0 0, 0 0, 100% 0, 0 100%;
  background-repeat: no-repeat;
  border-color: transparent;
  animation: dropzone-dash 0.6s linear infinite;
}
@keyframes dropzone-dash {
  to { background-position: 0 16px, -16px 0, 100% -16px, 16px 100%; }
}
.dropzone-icon { font-size: 24px; opacity: .7; }
.dropzone-text { font-size: 13px; color: var(--c-muted); }
.dropzone-name { font-size: 13px; font-weight: 600; color: var(--c-text); word-break: break-all; }


/* ══════════════════════════════════════════
   PLAN CARDS (价格卡) — overridden by index.php inline styles
══════════════════════════════════════════ */


/* ══════════════════════════════════════════
   LAYOUT — 侧边栏布局
══════════════════════════════════════════ */
.layout {
  display: grid;
  grid-template-columns: var(--side-w) 1fr;
  min-height: 100vh;
}

/* ── 用户前台三段式布局（PC） ── */
.tri-layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(107,170,184,.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(150,190,168,.04) 0%, transparent 50%),
    var(--c-bg);
}

/* 左右栏通用面板 — 白色调玻璃，与中间卡片统一 */
.tri-panel {
  position: relative; overflow: hidden;
  border-radius: 24px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 2px;
  color: var(--c-text);
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow:
    0 8px 40px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.7);
}
.tri-panel > * { position: relative; z-index: 1; }

/* 左栏 */
.tri-left {
  position: sticky; top: 0; height: 100vh;
  padding: 16px 8px 16px 16px;
  display: flex; flex-direction: column;
  z-index: 0;
}
.tri-left .tri-panel {
  flex: 1; max-height: calc(100vh - 32px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.1) transparent;
}

/* 用户信息卡 */
.tri-user-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0 14px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 10px;
}
.tri-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,#6BAAB8,#8BBFCA);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
  border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 2px 10px rgba(107,170,184,.3);
  overflow: hidden;
}
.tri-user-name { font-size: 15px; font-weight: 700; color: var(--c-text); }
.tri-user-tier { font-size: 11px; color: var(--c-muted); margin-top: 2px; }

/* 账户统计 */
.tri-stats {
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.03); border-radius: 16px;
  border: 1px solid rgba(0,0,0,.05);
  padding: 14px 8px; margin-bottom: 12px;
}
.tri-stat { text-align: center; flex: 1; }
.tri-stat-label { font-size: 10px; color: var(--c-muted); margin-bottom: 3px; }
.tri-stat-value { font-size: 16px; font-weight: 800; color: var(--c-text); font-variant-numeric: tabular-nums; }
.tri-stat-divider { width: 1px; height: 28px; background: rgba(0,0,0,.08); margin: 0 4px; }

/* 会员状态条 */
.tri-member-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.03); border-radius: 14px;
  border: 1px solid rgba(0,0,0,.05);
  padding: 10px 14px; font-size: 12px; color: var(--c-muted);
  margin-bottom: 14px;
}
.tri-member-icon { font-size: 14px; }

/* 快捷操作按钮 */
.tri-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tri-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 10px; border-radius: 14px; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,.04); color: var(--c-text);
  border: 1px solid rgba(0,0,0,.06);
  text-decoration: none; transition: all .2s; cursor: pointer;
}
.tri-action-btn:hover { background: rgba(0,0,0,.08); text-decoration: none; color: var(--c-text); }
.tri-action-primary {
  background: rgba(107,170,184,.12) !important; color: var(--c-primary) !important;
  border-color: rgba(107,170,184,.2) !important;
  box-shadow: 0 2px 8px rgba(107,170,184,.1);
}
.tri-action-primary:hover { background: rgba(107,170,184,.2) !important; }

/* 导航 */
.tri-nav-label {
  font-size: 10px; font-weight: 700; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: .08em;
  padding: 8px 8px 4px;
}
.tri-nav-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: 14px;
  color: var(--c-muted); font-weight: 500; font-size: 13px;
  text-decoration: none; transition: all .2s;
}
.tri-nav-link:hover { background: rgba(0,0,0,.05); color: var(--c-text); text-decoration: none; }
.tri-nav-link.active {
  background: rgba(107,170,184,.12); color: var(--c-primary); font-weight: 600;
  box-shadow: 0 2px 12px rgba(107,170,184,.1);
  border: 1px solid rgba(107,170,184,.18);
}
.tri-nav-sub { color: var(--c-muted); font-size: 12px; }
.tri-spacer { flex: 1; }

/* 中栏 */
.tri-center {
  min-width: 0; display: flex; flex-direction: column;
  /* PC 端与左右栏等高：sticky + 固定 100vh，内容区内部滚动 */
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.tri-topbar {
  position: sticky; top: 16px; z-index: 30;
  margin: 16px 20px 0;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px;
  padding: 0 20px; height: 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow:
    0 4px 24px rgba(0,0,0,.04),
    inset 0 1px 0 rgba(255,255,255,.6);
}
.tri-topbar-title { font-weight: 700; font-size: 15px; color: var(--c-text); flex: 1; }
/* 内容区：填满剩余高度，内部自行滚动 */
.tri-content { flex: 1; padding: 16px 20px 24px; overflow-y: auto; min-height: 0; }

/* 中栏卡片 — 统一圆角矩形玻璃 */
.tri-content .card {
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04), inset 0 1px 0 rgba(255,255,255,.5);
  transition: box-shadow .25s, transform .25s;
}
.tri-content .card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.6);
}
.tri-content .card-title {
  border-bottom-color: rgba(0,0,0,.05);
}

/* ── 用户前台按钮：莫奈淡色液态玻璃主题 ── */
.tri-content .btn,
.tri-layout .btn {
  background: rgba(107,170,184,.13);
  color: var(--c-primary);
  border-color: rgba(107,170,184,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(107,170,184,.08), inset 0 1px 0 rgba(255,255,255,.5);
}
.tri-content .btn:hover,
.tri-layout .btn:hover {
  background: rgba(107,170,184,.22);
  border-color: rgba(107,170,184,.35);
  box-shadow: 0 4px 16px rgba(107,170,184,.14), inset 0 1px 0 rgba(255,255,255,.6);
  color: var(--c-primary);
  text-decoration: none;
}
.tri-content .btn:active,
.tri-layout .btn:active { transform: scale(.98); }

/* ghost / outline 在前台 */
.tri-content .btn-ghost,
.tri-layout .btn-ghost {
  background: rgba(255,255,255,.45);
  color: var(--c-text-2);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 1px 6px rgba(0,0,0,.04), inset 0 1px 0 rgba(255,255,255,.6);
}
.tri-content .btn-ghost:hover,
.tri-layout .btn-ghost:hover {
  background: rgba(255,255,255,.65);
  border-color: rgba(0,0,0,.12);
  color: var(--c-text);
}

/* 危险/成功等功能色按钮保持实色 */
.tri-content .btn-danger,
.tri-layout .btn-danger  { background: var(--c-danger); color: #fff; border-color: transparent; backdrop-filter: none; }
.tri-content .btn-success,
.tri-layout .btn-success { background: var(--c-success); color: #fff; border-color: transparent; backdrop-filter: none; }

/* 右栏 */
.tri-right {
  position: sticky; top: 0; height: 100vh;
  padding: 16px 16px 16px 8px;
  display: flex; flex-direction: column;
  z-index: 0;
  isolation: auto;
}
.tri-right .tri-panel {
  flex: 1; max-height: calc(100vh - 32px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.1) transparent;
}
.tri-panel-title {
  font-size: 12px; font-weight: 700; color: var(--c-muted);
  text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 4px 8px; border-bottom: 1px solid rgba(0,0,0,.06);
  margin-bottom: 8px;
}

/* 任务列表 */
.tri-task-list { display: flex; flex-direction: column; gap: 6px; }
.tri-task-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.05);
  transition: all .2s;
}
.tri-task-item:hover {
  background: rgba(0,0,0,.06);
  border-color: rgba(0,0,0,.08);
  transform: translateX(2px);
}
.tri-task-icon { font-size: 16px; flex-shrink: 0; }
.tri-task-info { flex: 1; min-width: 0; }
.tri-task-name {
  font-size: 12px; font-weight: 600; color: var(--c-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tri-task-meta { font-size: 11px; margin-top: 2px; }
.tri-task-time { font-size: 10px; color: var(--c-muted); white-space: nowrap; flex-shrink: 0; }
.tri-task-empty { font-size: 13px; color: var(--c-muted); text-align: center; padding: 20px 0; }

/* 渲染统计 */
.tri-render-stats { display: flex; gap: 8px; }
.tri-rstat {
  flex: 1; text-align: center; padding: 12px 4px;
  background: rgba(0,0,0,.03); border-radius: 14px;
  border: 1px solid rgba(0,0,0,.05);
}
}
.tri-rstat-num { display: block; font-size: 20px; font-weight: 800; color: var(--c-text); font-variant-numeric: tabular-nums; }
.tri-rstat-label { display: block; font-size: 10px; color: var(--c-muted); margin-top: 2px; }

/* 弹窗开启时：右栏降层（JS 同步为 z-index:-1，CSS 兜底） */
body.modal-open .tri-right,
body.modal-open .tri-left {
  z-index: -1;
}

/* ── 三段式响应式 ── */
@media (max-width: 1200px) {
  .tri-layout { grid-template-columns: 240px 1fr 260px; }
}
@media (max-width: 960px) {
  .tri-layout { display: block; }
  .tri-left, .tri-right { display: none; }
  /* 移动端恢复普通文档流，取消 sticky + 固定高度 */
  .tri-center { position: static; height: auto; overflow: visible; min-height: 100vh; }
  .tri-content { overflow-y: visible; padding: 16px 16px 88px; }
  .tri-topbar { margin: 8px 12px 0; padding: 0 14px; height: 44px; border-radius: 14px; top: 8px; }
  .tri-topbar-title { font-size: 14px; }
  .mobile-nav { display: grid; }
}

/* 用户前台顶栏 — 玻璃效果（移除旧样式引用） */

/* 用户侧边栏 — 默认样式 */
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: var(--c-side-bg); color: var(--c-side-text);
  display: flex; flex-direction: column;
  padding: 16px 12px; gap: 2px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.08) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.sidebar-brand {
  font-size: 16px; font-weight: 800; color: #fff;
  padding: 6px 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}

.sidebar-label {
  font-size: 10px; font-weight: 700; color: #52525b;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 10px 10px 4px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: var(--r);
  color: var(--c-side-text); font-weight: 500; font-size: 13px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}
.sidebar-link:hover { background: rgba(255,255,255,.07); color: #e4e4e7; text-decoration: none; }
.sidebar-link.active {
  background: linear-gradient(90deg, rgba(79,70,229,.25) 0%, rgba(79,70,229,.08) 100%);
  color: #fff; font-weight: 600;
  border-left: 3px solid rgba(79,70,229,1);
}

.sidebar-spacer { flex: 1; }

.sidebar-user {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  padding: 10px 12px; margin: 6px 0 10px;
  font-size: 12px; line-height: 1.7; color: #a1a1aa;
}
.sidebar-user b { color: #e4e4e7; font-size: 13px; }

/* 主区域 */
.main-area { min-width: 0; display: flex; flex-direction: column; }

.top-bar {
  position: sticky; top: 0; z-index: 30;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--c-border);
  padding: 0 24px; height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.top-bar-title { font-weight: 700; font-size: 14px; color: var(--c-text); }

.page-content { flex: 1; padding: 24px; }


/* ══════════════════════════════════════════
   ADMIN SIDEBAR (管理后台区分样式)
══════════════════════════════════════════ */
.admin-sidebar {
  background: rgba(15,23,42,.75);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-right: 1px solid rgba(255,255,255,.06);
}
.admin-sidebar .sidebar-brand { color: #f8fafc; border-color: rgba(255,255,255,.06); }
.admin-sidebar .sidebar-link.active {
  background: linear-gradient(90deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 100%);
  color: #fff;
  border-left-color: #fff;
}
.admin-sidebar .sidebar-label { color: #334155; }

.admin-top-bar {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,.4);
}


/* ══════════════════════════════════════════
   USER PORTAL — 工作台专属
══════════════════════════════════════════ */
.portal-section { margin-bottom: 16px; }

/* 步骤式提交布局 */
.submit-step {
  padding: 16px 0;
  border-top: 1px solid var(--c-border);
}
.submit-step:first-child { border-top: 0; padding-top: 4px; }
.submit-step-last { padding-bottom: 0; }

.submit-step-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--c-text);
  margin-bottom: 12px;
}
.submit-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  /* 莫奈水蓝液态玻璃 */
  background: rgba(107,170,184,.14);
  color: var(--c-primary);
  border: 1px solid rgba(107,170,184,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px rgba(107,170,184,.12), inset 0 1px 0 rgba(255,255,255,.5);
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}

.job-submit-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; align-items: start;
}

.submit-fields { display: grid; gap: 12px; }
.submit-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 2px; }
.price-tag { font-weight: 700; font-size: 14px; color: var(--c-text); }

.profile-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.profile-info-item {
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r); padding: 12px 14px;
}
.profile-info-item .k { font-size: 11px; color: var(--c-muted); font-weight: 600; margin-bottom: 4px; }
.profile-info-item .v { font-weight: 700; font-size: 14px; color: var(--c-text); word-break: break-all; }


/* ══════════════════════════════════════════
   PAYMENT
══════════════════════════════════════════ */
.pay-info-box {
  background: var(--c-success-l); border: 1px solid #6ee7b7;
  border-radius: var(--r); padding: 12px 16px;
  font-size: 14px; color: var(--c-success); margin-bottom: 14px;
}
.qr-box {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px;
}
.qr-box img { max-width: 200px; border-radius: var(--r); border: 1px solid var(--c-border); }


/* ══════════════════════════════════════════
   MOBILE — topbar / drawer / bottom-nav
══════════════════════════════════════════ */
.mobile-topbar {
  display: none;
  position: sticky; top: 0; z-index: 40;
  background: var(--c-side-bg); color: #fff;
  padding: 0 16px; height: 52px;
  align-items: center; justify-content: space-between;
}
.mobile-topbar-brand { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }

/* 移动端汉堡按钮（嵌入 top-bar / pg-header 标题旁） */
.mobile-drawer-btn {
  display: none;
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-text); font-size: 18px; cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0; transition: all .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.mobile-drawer-btn:hover {
  background: rgba(255,255,255,.55);
}
@media (max-width: 960px) {
  .mobile-drawer-btn { display: flex; }
}

.mobile-menu-btn {
  width: 36px; height: 36px; border-radius: var(--r);
  border: 0; background: rgba(255,255,255,.1);
  color: #fff; cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}

.mobile-nav {
  display: none;
  position: fixed; bottom: 12px; left: 16px; right: 16px; z-index: 50;
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 22px;
  box-shadow:
    0 8px 40px rgba(0,0,0,.1),
    0 2px 8px rgba(0,0,0,.04),
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(255,255,255,.2);
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  padding: 4px 6px;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .25s;
}
/* 弹窗开启时隐藏 dock，避免遮挡 */
body.modal-open .mobile-nav {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 8px 2px;
  color: rgba(100,116,139,.8); font-size: 10px; font-weight: 600; text-decoration: none;
  border-radius: 16px; min-width: 0; overflow: hidden;
  transition: color .25s, background .25s, transform .25s;
  position: relative; z-index: 1;
}
.mobile-nav a:hover {
  text-decoration: none;
  color: var(--c-primary);
  background: rgba(107,170,184,.08);
}
.mobile-nav a svg { width: 20px; height: 20px; transition: transform .25s; }
.mobile-nav a:hover svg { transform: scale(1.1); }

/* 活跃项 — 高亮底色 + 图标放大 */
.mobile-nav a.active {
  color: var(--c-primary);
  background: rgba(107,170,184,.14);
  box-shadow: 0 2px 10px rgba(107,170,184,.14);
}
.mobile-nav a.active svg {
  transform: scale(1.15);
  filter: drop-shadow(0 1px 3px rgba(107,170,184,.35));
}
/* 活跃指示器小圆点 */
.mobile-nav a.active::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 6px rgba(107,170,184,.55);
  animation: dock-dot-in .3s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes dock-dot-in {
  0%   { transform: translateX(-50%) scale(0); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Emoji 图标的 dock 项（后台使用 emoji 而非 svg） */
.mobile-nav a span { transition: transform .25s; display: inline-block; }
.mobile-nav a:hover span:first-child { transform: scale(1.1); }
.mobile-nav a.active span:first-child { transform: scale(1.15); }

.drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.45);
}
.drawer-overlay.open { display: block; }

.drawer {
  position: fixed; top: 0; left: -280px; bottom: 0; z-index: 90;
  width: 260px;
  background: rgba(15,23,42,.8);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  transition: left var(--dur-md) var(--ease);
  overflow-y: auto; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.drawer.open { left: 0; }


/* ══════════════════════════════════════════
   LANDING PAGE
══════════════════════════════════════════ */
.lp { background: #fff; }

/* 导航 */
.lp-nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.lp-nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lp-brand { font-size: 18px; font-weight: 800; color: var(--c-text); letter-spacing: -.03em; }
.lp-brand span { color: var(--c-primary); }
.lp-nav-links { display: flex; align-items: center; gap: 4px; }
.lp-nav-links a {
  font-weight: 500; font-size: 14px; color: var(--c-muted);
  padding: 6px 12px; border-radius: var(--r);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.lp-nav-links a:hover { color: var(--c-text); background: var(--c-surface-2); text-decoration: none; }

/* 容器 */
.lp-section { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Hero */
.lp-hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse 60% 40% at 20% -5%, rgba(199,210,254,.5) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 5%, rgba(167,243,208,.35) 0%, transparent 50%),
    #fff;
}
.lp-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center;
}
.lp-hero-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-primary-l); border: 1px solid var(--c-primary-m);
  border-radius: var(--r-full); padding: 4px 14px;
  font: 600 12px/1.5 inherit; color: var(--c-primary);
  letter-spacing: .03em; margin-bottom: 20px;
}
.lp-hero h1 {
  font-size: clamp(30px, 4.5vw, 52px); font-weight: 800;
  line-height: 1.12; color: var(--c-text); margin-bottom: 20px;
  letter-spacing: -.03em;
}
.lp-hero h1 em { font-style: normal; color: var(--c-primary); }
.lp-hero-lead {
  font-size: 16px; color: var(--c-muted); line-height: 1.75; margin-bottom: 32px;
}
.lp-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 演示卡片 */
.lp-demo-card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
}
.lp-demo-head {
  padding: 10px 14px;
  background: var(--c-surface-2); border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 6px;
}
.lp-demo-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-demo-label { font-size: 11px; color: var(--c-muted); margin-left: 6px; font-weight: 500; }
.lp-demo-body { padding: 16px; display: grid; gap: 8px; }
.lp-demo-row {
  background: var(--c-surface-2); border: 1px solid var(--c-border);
  border-radius: var(--r); padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 13px; transition: background var(--transition-fast);
}
.lp-demo-row:hover { background: #f3f4f6; }

/* 步骤 */
.lp-steps-section { padding: 64px 0 40px; }
.lp-section-title { text-align: center; margin-bottom: 40px; }
.lp-section-title h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.lp-section-title p { color: var(--c-muted); font-size: 15px; }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-step {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 24px 22px;
  display: grid; gap: 10px;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.lp-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lp-step-num {
  width: 40px; height: 40px; border-radius: var(--r-lg);
  background: var(--c-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.lp-step h3 { font-size: 15px; font-weight: 700; }
.lp-step p  { color: var(--c-muted); font-size: 13px; line-height: 1.65; }

/* 功能特性 */
.lp-features-section { padding: 0 0 48px; }
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lp-feature {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 20px;
  transition: box-shadow var(--transition-smooth);
}
.lp-feature:hover { box-shadow: var(--shadow-sm); }
.lp-feature-icon {
  width: 40px; height: 40px; border-radius: var(--r);
  background: var(--c-primary-l); display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.lp-feature h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.lp-feature p  { font-size: 13px; color: var(--c-muted); line-height: 1.6; }

/* 定价区 */
.lp-pricing-section {
  padding: 48px 0;
  background: var(--c-surface-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.lp-pricing-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* CTA */
.lp-cta { padding: 72px 0; text-align: center; }
.lp-cta h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.lp-cta p  { color: var(--c-muted); font-size: 15px; margin-bottom: 28px; line-height: 1.6; }
.lp-cta-actions { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* 页脚 */
.lp-footer {
  background: var(--c-side-bg); color: #52525b;
  padding: 28px 24px; text-align: center; font-size: 13px;
}
.lp-footer a { color: #71717a; }
.lp-footer a:hover { color: #a1a1aa; text-decoration: none; }
.lp-footer p + p { margin-top: 6px; }


/* ══════════════════════════════════════════
   AUTH PAGE (登录/注册)
══════════════════════════════════════════ */
.auth-wrap {
  min-height: 100vh; display: flex;
}
.auth-left {
  flex: 1; display: none;
  background: var(--c-side-bg);
  padding: 48px 40px;
  flex-direction: column; justify-content: center;
}
.auth-right {
  width: 440px; flex-shrink: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px 40px;
  background: #fff;
  border-left: 1px solid var(--c-border);
}
.auth-card { width: 100%; max-width: 360px; }
.auth-logo {
  font-size: 20px; font-weight: 800; color: var(--c-text);
  margin-bottom: 32px; letter-spacing: -.02em;
}
.auth-logo span { color: var(--c-primary); }
.auth-tabs {
  display: flex; border-bottom: 1px solid var(--c-border);
  margin-bottom: 24px; gap: 0;
}
.auth-tab {
  flex: 1; text-align: center; padding: 9px;
  font: 600 13px/1 inherit; cursor: pointer;
  border: 0; background: 0; color: var(--c-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.auth-tab.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.auth-form { display: grid; gap: 14px; }
.auth-links { margin-top: 18px; text-align: center; font-size: 13px; color: var(--c-muted); }
.auth-links a { color: var(--c-primary); }

/* 左侧功能卡 */
.auth-feature-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 16px 18px;
}
.auth-feature-card + .auth-feature-card { margin-top: 10px; }
.auth-feature-card-title { font-weight: 700; color: #e4e4e7; margin-bottom: 4px; font-size: 14px; }
.auth-feature-card-desc  { color: #71717a; font-size: 13px; line-height: 1.5; }


/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.text-muted   { color: var(--c-muted); }
.text-sm      { font-size: 12px; }
.text-center  { text-align: center; }
.font-bold    { font-weight: 700; }
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mb-1  { margin-bottom: 4px; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 12px; }
.gap-2 { gap: 8px; }
.flex  { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }


/* ══════════════════════════════════════════
   HOVER / ANIMATION / SKELETON / GLASS
   交互增强工具类
══════════════════════════════════════════ */

/* 悬停抬升 */
.hover-lift { transition: transform var(--transition-smooth), box-shadow var(--transition-smooth); }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* 悬停辉光 */
.hover-glow { transition: box-shadow var(--transition-smooth); }
.hover-glow:hover { box-shadow: var(--shadow-glow); }

/* 入场动画 */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.fade-in { animation: fadeIn .3s ease both; }
.slide-up { animation: slideUp .4s ease both; }
.scale-in { animation: scaleIn .3s ease both; }

/* 骨架屏加载 */
.skeleton {
  background: linear-gradient(90deg, var(--c-surface-2) 25%, var(--c-border) 50%, var(--c-surface-2) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--r);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* 玻璃效果 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}


/* ══════════════════════════════════════════
   SCROLLBAR (全局美化)
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-muted); }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (min-width: 900px) {
  .auth-left  { display: flex; }
  .auth-right { width: 480px; }
}

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-topbar { display: flex; }
  .mobile-nav    { display: grid; }
  .page-content  { padding: 16px 16px 88px; }
  .stat-grid     { grid-template-columns: repeat(2, 1fr); }
  .lp-pricing-plans { grid-template-columns: repeat(2, 1fr); }
  .job-submit-grid  { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr 1fr; }
  .form-cols-2, .form-cols-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .lp-nav-inner  { padding: 0 16px; }
  .lp-hero       { padding: 48px 0 36px; }
  .lp-hero-grid, .lp-steps, .lp-features { grid-template-columns: 1fr; }
  .lp-pricing-plans  { grid-template-columns: 1fr 1fr; }
  .stat-grid         { grid-template-columns: 1fr 1fr; }
  .picker-cards      { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .auth-right  { width: 100%; padding: 32px 20px; border-left: 0; }
  .auth-right .auth-card { max-width: 100%; }
  .lp-section  { padding: 0 16px; }
  .lp-steps-section, .lp-features-section { padding-top: 40px; }
}

/* ══════════════════════════════════════════
   ADMIN PAGE UTILITIES — 后台通用组件
══════════════════════════════════════════ */

/* 页头 */
.pg-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.pg-header-left { min-width: 0; }
.pg-header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
.pg-title { font-size: 20px; font-weight: 800; color: var(--c-text); margin-bottom: 2px; }
.pg-desc  { font-size: 13px; color: var(--c-muted); }

/* 筛选栏 */
.filter-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.filter-left, .filter-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-select {
  height: 34px; font-size: 13px;
  border: 1px solid var(--c-border); border-radius: var(--r);
  padding: 0 32px 0 10px; background: var(--c-surface); color: var(--c-text);
  min-width: 130px;
}
.filter-search {
  position: relative; display: inline-flex; align-items: center;
}
.filter-search input {
  height: 34px; font-size: 13px; padding: 0 10px 0 30px;
  border: 1px solid var(--c-border); border-radius: var(--r);
  background: var(--c-surface); color: var(--c-text); width: 200px;
}
.filter-search-icon {
  position: absolute; left: 9px; font-size: 14px;
  color: var(--c-subtle); pointer-events: none; line-height: 1;
}
.list-hint { font-size: 12px; color: var(--c-subtle); white-space: nowrap; }

/* 操作按钮组 */
.row-actions { display: flex; gap: 4px; flex-wrap: nowrap; }

/* 状态胶囊 */
.status-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600;
  padding: 2px 8px; border-radius: var(--r-full);
  white-space: nowrap;
}
.status-on  { background: var(--c-success-l); color: var(--c-success); }
.status-off { background: var(--c-surface-2); color: var(--c-muted); }
.status-warn { background: var(--c-warn-l); color: var(--c-warn); }
.status-danger { background: var(--c-danger-l); color: var(--c-danger); }

/* 标签 */
.cat-chip {
  display: inline-block; max-width: 160px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  vertical-align: middle; background: var(--c-surface-2);
  padding: 2px 8px; border-radius: var(--r-sm);
  border: 1px solid var(--c-border); font-size: 12px;
}

/* 预览链接 */
.preview-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; padding: 2px 8px;
  border: 1px solid var(--c-border); border-radius: var(--r-sm);
  color: var(--c-primary); background: var(--c-surface-2);
  text-decoration: none;
}
.preview-link:hover { background: var(--c-primary-l); border-color: var(--c-primary-m); text-decoration: none; }

/* 用户徽章 */
.tier-badge {
  display: inline-block; padding: 2px 8px;
  border-radius: var(--r-full); font-size: 11px; font-weight: 600;
}
.tier-ordinary  { background: #f1f5f9; color: #64748b; }
.tier-monthly   { background: #dbeafe; color: #1d4ed8; }
.tier-quarterly { background: #ede9fe; color: #6d28d9; }
.tier-yearly    { background: #fef3c7; color: #b45309; }
.tier-lifetime  { background: #fce7f3; color: #be185d; }

/* 用户状态点 */
.user-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 500;
}
.user-status::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; flex-shrink: 0;
}
.user-status.active { color: var(--c-success); }
.user-status.active::before { background: var(--c-success); }
.user-status.banned { color: var(--c-danger); }
.user-status.banned::before { background: var(--c-danger); }

/* 通用弹窗内容布局 */
.modal-form-grid { display: grid; gap: 14px; }
.modal-2col { grid-template-columns: 1fr 1fr; gap: 12px; display: grid; }
.modal-footer-row {
  margin-top: 20px; display: flex;
  justify-content: flex-end; gap: 8px; align-items: center;
}
.modal-err-msg { font-size: 13px; color: var(--c-danger); flex: 1; }

/* 字体继承 */
* { font-family: inherit; }
