/* ==========================================================================
   音符续火 · 复刻样式表
   设计变量与关键尺寸取自原站 index-CK5vdfeI.css
   ========================================================================== */

:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-subtle: #f8fafb;
  --surface-strong: #eef3f5;
  --line: #dfe7eb;
  --line-strong: #c9d6dc;
  --text: #1b2a33;
  --text-soft: #40545e;
  --muted: #6b7b84;

  --sidebar: #ffffff;
  --sidebar-raised: #f4f8f9;
  --sidebar-text: #22323b;
  --sidebar-muted: #72818a;

  --coral: #d4485d;
  --coral-hover: #bd354b;
  --coral-active: #a72d41;
  --coral-soft: #fff0f2;

  --teal: #087f78;
  --teal-soft: #e4f6f3;

  --success: #237553;
  --success-soft: #e7f6ed;
  --warning: #9a6500;
  --warning-soft: #fff5dc;
  --danger: #b83249;
  --danger-soft: #ffedf0;
  --info: #397890;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  --shadow-overlay: 0 18px 46px rgba(31, 55, 66, .14), 0 2px 8px rgba(31, 55, 66, .06);
  --shadow-card: 0 1px 2px #1f37420a, 0 8px 24px #1f37420d;
  --shadow-card-hover: 0 2px 4px #1f37420d, 0 12px 28px #1f374212;
  --shadow-coral: 0 7px 16px #d4485d33;

  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* 控制台皮肤：原站 .console-shell 的变量覆盖 */
.console-shell {
  --bg: #f6f7f9;
  --surface: #fff;
  --surface-subtle: #f8f9fb;
  --line: #e6e8ee;
  --text: #252b38;
  --text-soft: #50596b;
  --muted: #70798a;
  --sidebar: #fff;
  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* 品牌火焰图标 */
.brand-icon {
  display: block;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: contain;
}

.mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(150deg, #e8607a 0%, var(--coral) 45%, #b8364f 100%);
  box-shadow: 0 6px 14px #d4485d3d, inset 0 1px #ffffff5c;
}
.mark svg { width: 56%; height: 56%; color: #fff; }

/* ------------------------------------------------------------------ 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: background .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease;
}
.btn svg { width: 15px; height: 15px; }

.btn-primary {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: var(--shadow-coral);
}
.btn-primary:hover { background: var(--coral-hover); border-color: var(--coral-hover); box-shadow: 0 9px 20px #bd354b3d; }

.btn-ghost {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 2px #1f37420f;
}
.btn-ghost:hover { border-color: var(--line-strong); background: var(--surface-subtle); }

.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .01em;
}
.pill-live { color: var(--teal); background: var(--teal-soft); }
.pill-live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px #087f7824;
}

/* ==========================================================================
   一、落地页
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 36px;
  background: #fffffff2;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eef1f4;
}

.site-brand { display: flex; align-items: center; gap: 10px; }
.site-brand .mark { width: 34px; height: 34px; }
.site-brand strong { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 5px;
  border: 1px solid #e9edf2;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 2px 10px #1f37420a;
}
.site-nav a {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background .15s ease, color .15s ease;
}
.site-nav a:hover { background: var(--surface-strong); color: var(--text); }
.site-nav a.is-accent { color: var(--coral); font-weight: 700; }
.site-nav a.is-accent:hover { background: var(--coral-soft); }

.site-actions { display: flex; align-items: center; gap: 10px; }
.site-actions .link { font-size: 13.5px; font-weight: 650; color: var(--text-soft); padding: 8px 10px; }
.site-actions .link:hover { color: var(--coral); }

/* 主视觉 */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 40px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 56px 36px 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 46%;
  background-image:
    linear-gradient(#e8eef3 1px, transparent 1px),
    linear-gradient(90deg, #e8eef3 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 72%);
  opacity: .55;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; }
.hero-title {
  margin: 20px 0 0;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 850;
  color: #17222b;
}
.hero-eyebrow {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #5c6b75;
}
.hero-sub {
  max-width: 520px;
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }

.card-key {
  max-width: 470px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #eef1f4;
}
.card-key label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.card-key-row { display: flex; gap: 8px; }
.card-key-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card-key-row input::placeholder { color: #9aa7b0; }
.card-key-row input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px #d4485d1f; }
.card-key-row .btn { height: 46px; border-radius: 10px; padding-inline: 20px; }
.card-key-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }
.card-key-hint a { color: var(--coral); font-weight: 650; }

/* 手机样机 */
.hero-visual { position: relative; z-index: 2; display: grid; place-items: center; min-height: 560px; }

.phone {
  position: relative;
  width: 318px;
  height: 588px;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(165deg, #2a2f36, #14181d 60%);
  box-shadow: 0 40px 80px -30px #1b2a3359, 0 2px 0 #ffffff1f inset;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f8f7 0%, #e8f2f1 45%, #eef4f4 100%);
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #45535c;
}
.phone-status .dots { display: flex; gap: 3px; align-items: center; }
.phone-status .dots i { width: 4px; height: 4px; border-radius: 50%; background: #8a999f; }

.phone-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 12px;
  border-bottom: 1px solid #ffffffb3;
  background: #ffffff8c;
  backdrop-filter: blur(8px);
}
.phone-head .back { font-size: 16px; color: #45535c; line-height: 1; }
.phone-head .avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 750;
  background: linear-gradient(150deg, #4bb3a8, var(--teal));
}
.phone-head .who { flex: 1 1 auto; min-width: 0; }
.phone-head .who strong { display: block; font-size: 13px; color: #1f2c34; }
.phone-head .who span { font-size: 11px; color: var(--teal); font-weight: 650; }
.phone-head .more { color: #8a999f; font-size: 18px; line-height: 1; }

.phone-chat {
  flex: 1 1 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.chat-day { align-self: center; font-size: 10px; color: #93a1a8; }
.bubble {
  max-width: 76%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #2b3941;
  background: #fff;
  box-shadow: 0 1px 3px #1f374214;
}
.bubble.me {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(150deg, #ef6a80, var(--coral));
  box-shadow: 0 6px 14px #d4485d33;
}
.bubble .stamp { display: block; margin-top: 4px; font-size: 9.5px; opacity: .68; text-align: right; }

.phone-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px 12px;
  padding: 8px 10px 8px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: 0 2px 10px #1f374214;
}
.phone-input span { flex: 1 1 auto; font-size: 11.5px; color: #a2afb6; }
.phone-input .send {
  width: 26px; height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: var(--coral);
}
.phone-input .send svg { width: 12px; height: 12px; }

/* 浮层卡片 */
.float-card {
  position: absolute;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eef2f5;
  box-shadow: 0 16px 34px -12px #1f37423d, 0 2px 6px #1f37420f;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .fc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
}
.float-card .fc-main {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #1b2a33;
  font-variant-numeric: tabular-nums;
}
.float-card .fc-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--coral);
}
.fc-icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 7px;
  color: var(--coral);
  background: var(--coral-soft);
}
.fc-icon svg { width: 12px; height: 12px; }

.float-task { top: 34px; left: -18px; }
.float-spark {
  top: 190px; right: -14px;
  background: linear-gradient(160deg, #fff6f7, #ffffff 70%);
  border-color: #fbe0e4;
}
.float-spark .fc-main { color: var(--coral); }
.float-log { bottom: 150px; left: -40px; }
.float-track { bottom: 62px; right: -6px; }
.float-track .fc-main { font-size: 13px; font-weight: 750; }
.avatar-row { display: flex; align-items: center; margin-top: 8px; }
.avatar-row i {
  width: 18px; height: 18px;
  margin-left: -5px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(150deg, #7fc9c1, var(--teal));
}
.avatar-row i:first-child { margin-left: 0; background: linear-gradient(150deg, #f0919f, var(--coral)); }
.avatar-row i:nth-child(3) { background: linear-gradient(150deg, #9db8d8, #4a72a8); }
.avatar-row span { margin-left: 6px; font-size: 10.5px; color: var(--muted); font-weight: 650; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* 卖点条 */
.feature-strip {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 36px 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.feature .icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--coral);
  background: var(--coral-soft);
}
.feature .icon svg { width: 17px; height: 17px; }
.feature h3 { margin-top: 14px; font-size: 15px; }
.feature p { margin-top: 6px; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ==========================================================================
   二、登录 / 注册页
   ========================================================================== */
.auth-screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 24px;
  display: grid;
  place-items: center;
  background: #eef1f3;
}
.auth-back {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #e4e9ee;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text-soft);
  box-shadow: 0 2px 8px #1f37420f;
}
.auth-back:hover { color: var(--coral); border-color: #f3ccd3; }

.auth-shell {
  width: min(980px, 100%);
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(430px, 1.12fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 70px -30px #1f374229;
}

.auth-brand-pane {
  min-width: 0;
  padding: 44px;
  display: flex;
  flex-direction: column;
  color: var(--sidebar-text);
  background:
    radial-gradient(120% 90% at 12% 8%, #eafaf6 0%, transparent 60%),
    radial-gradient(90% 70% at 92% 92%, #fdeef1 0%, transparent 62%),
    linear-gradient(150deg, #f0fbf8 0%, #e6f6f3 46%, #eef7f6 100%);
}
.auth-product-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 750;
  color: #22323b;
}
.auth-product-mark .mark { width: 34px; height: 34px; }

.auth-brand-copy { margin: auto 0; }
.auth-kicker {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7c8b93;
}
.auth-brand-copy h1 {
  margin-top: 10px;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #1b2a33;
}
.auth-brand-copy p { margin-top: 12px; font-size: 16px; color: #55666f; }
.auth-brand-footer { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #7c8b93; }
.status-pulse {
  width: 8px; height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: var(--teal);
}

.auth-form-pane {
  min-width: 0;
  padding: 48px 64px;
  display: grid;
  place-items: center;
  background: var(--surface);
}
.auth-form-wrap { width: 100%; max-width: 352px; }
.auth-form-heading { margin-bottom: 24px; }
.auth-form-heading > span {
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-form-heading h2 { margin-top: 5px; font-size: 25px; }

.auth-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.auth-tabs button {
  position: relative;
  padding: 10px 2px 12px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 650;
  color: var(--muted);
}
.auth-tabs button[aria-selected="true"] { color: var(--coral); }
.auth-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.field { margin-bottom: 16px; }
.field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
}
.field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: #a0adb6; }
.field input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px #d4485d1a; }

.field-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: -6px 0 18px;
}
.field-row a { font-size: 12.5px; font-weight: 650; color: var(--coral); }

.auth-submit { min-height: 44px; margin-top: 4px; }

.auth-legal {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}
.auth-legal a { color: var(--text-soft); font-weight: 650; }

.wechat-login { margin-top: 16px; }
.wechat-login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}
.wechat-login-divider::before,
.wechat-login-divider::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line); }
.wechat-login-button {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #07c160;
  background: #07c16014;
  color: #07c160;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.wechat-login-button:hover { background: #07c160; color: #fff; }
.wechat-login-button svg { width: 16px; height: 16px; }

/* ==========================================================================
   三、控制台（工作台）
   ========================================================================== */
.console-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
}

.console-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-width: 0;
  height: 100vh;
  height: 100dvh;
  padding: 14px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  color: var(--sidebar-text);
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.sidebar-logo {
  width: 100%;
  min-height: 64px;
  padding: 8px;
  border: 0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  background: transparent;
  text-align: left;
}
.sidebar-logo .mark { width: 38px; height: 38px; }
.sidebar-brand-meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.sidebar-brand-title { color: var(--text); font-size: 15px; font-weight: 700; line-height: 1.25; }
.sidebar-version-code {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.sidebar-user-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 10px 0;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-soft);
  cursor: copy;
}
.sidebar-user-code-label { color: var(--muted); font-size: 10.5px; flex-shrink: 0; }
.sidebar-user-code-val { font-weight: 650; letter-spacing: .03em; font-variant-numeric: tabular-nums; }

.sidebar-navigation {
  min-height: 0;
  margin-top: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
}
.sidebar-navigation::-webkit-scrollbar { width: 6px; }
.sidebar-navigation::-webkit-scrollbar-thumb { background: #e3e8ee; border-radius: 3px; }
.nav-group { display: flex; flex-direction: column; gap: 2px; }
.nav-group small {
  padding: 6px 10px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}
.nav-group button {
  position: relative;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  background: transparent;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.nav-group button:hover { color: var(--text); background: #f8f9fb; }
.nav-group button.active { color: var(--coral); background: var(--coral-soft); font-weight: 700; }
.nav-group button.mall-entry { color: var(--coral); font-weight: 650; }
.nav-group svg { width: 17px; height: 17px; flex: 0 0 auto; }
.nav-group button .count {
  margin-left: auto;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  display: inline-grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--coral);
  background: var(--coral-soft);
}

.sidebar-footer { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.sidebar-account-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 11.5px;
  color: var(--muted);
}
.sidebar-account-status > span { width: 8px; height: 8px; border-radius: 50%; background: #7b858c; }
.sidebar-account-status > span.online { background: var(--teal); box-shadow: 0 0 0 3px #087f781f; }

.user-chip {
  width: 100%;
  min-height: 54px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 9px;
  align-items: center;
  color: var(--text);
  background: var(--surface-subtle);
  text-align: left;
}
.user-chip:hover { background: #fff; border-color: var(--line-strong); }
.user-avatar {
  width: 34px; height: 34px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  background: var(--teal);
}
.user-chip-copy { min-width: 0; }
.user-chip-copy strong { display: block; font-size: 12.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip-copy small { display: block; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip .chev { color: #a5b1b9; font-size: 12px; }

/* 顶栏 */
.console-main { min-width: 0; display: flex; flex-direction: column; }
.console-sticky-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  background: #fffffffa;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-heading { flex: 1 1 auto; min-width: 0; }
.topbar-heading > span {
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.topbar-title-line { margin-top: 3px; display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.topbar-title-line h1 {
  font-size: 24px;
  letter-spacing: -.02em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-title-line p { font-size: 13px; color: var(--muted); white-space: nowrap; }

.topbar-actions { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.topbar-account-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}
.quota-label { font-size: 12px; color: var(--muted); font-weight: 650; }
.quota-label b { color: var(--coral); font-variant-numeric: tabular-nums; }
.topbar-run-btn { height: 36px; border-radius: 9px; padding-inline: 14px; font-weight: 650; }

.console-content { width: min(100%, 1480px); margin: 0 auto; padding: 24px 28px 44px; }

/* 就绪度条 */
.readiness-strip {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 18px;
}
.readiness-summary {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  background: var(--surface-subtle);
  flex: 0 0 auto;
}
.readiness-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  color: var(--success);
  background: var(--success-soft);
  box-shadow: inset 0 1px #fffc;
}
.readiness-icon svg { width: 18px; height: 18px; }
.readiness-copy strong { display: block; font-size: 14px; }
.readiness-copy span { font-size: 12px; color: var(--muted); }

.readiness-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1 1 auto;
  min-width: 0;
}
.readiness-metric {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.readiness-metric:last-child { border-right: 0; }
.readiness-metric span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.readiness-metric strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.readiness-metric strong em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--muted); margin-left: 3px; }

/* 提示横幅 */
.banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #f6e3b8;
  border-radius: var(--radius-lg);
  background: var(--warning-soft);
  font-size: 13px;
  color: #6f4c00;
}
.banner .banner-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--warning);
  background: #fff8e6;
  flex: 0 0 auto;
}
.banner .banner-icon svg { width: 15px; height: 15px; }
.banner .banner-copy { flex: 1 1 auto; min-width: 0; }
.banner .banner-copy strong { display: block; font-size: 13px; }
.banner .banner-copy span { font-size: 12px; color: #8a6a20; }
.banner .btn { flex: 0 0 auto; }

/* 面板网格 */
.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 18px;
  align-items: start;
}
.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.panel:hover { box-shadow: var(--shadow-card-hover); }

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.panel-kicker {
  display: block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral);
}
.panel-title { margin-top: 3px; font-size: 16px; }
.panel-head-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.panel-note { font-size: 12px; color: var(--muted); }

/* 最近执行 */
.latest-run-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-subtle);
}
.run-status-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  color: var(--success);
  background: var(--success-soft);
  box-shadow: inset 0 1px #fffc;
}
.run-status-icon svg { width: 18px; height: 18px; }
.latest-run-detail { flex: 1 1 auto; min-width: 0; }
.latest-run-detail strong { display: block; font-size: 14px; }
.latest-run-detail p { margin-top: 3px; font-size: 12.5px; color: var(--muted); }

.run-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.run-meta div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.run-meta span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.run-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.missing-contact-summary {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #fbe0e4;
  border-radius: var(--radius);
  background: var(--coral-soft);
  font-size: 12.5px;
  color: #96304a;
}
.missing-contact-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.missing-contact-tags span {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid #f7d3da;
  font-size: 11.5px;
  font-weight: 650;
  color: #96304a;
}

/* 账号概览 */
.account-brief-identity { display: flex; align-items: center; gap: 12px; }
.account-avatar {
  width: 44px; height: 44px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  background: linear-gradient(150deg, #4bb3a8, var(--teal));
  flex: 0 0 auto;
}
.account-brief-identity strong { display: block; font-size: 14px; }
.account-douyin-id { font-size: 12px; color: var(--muted); }
.account-brief-account-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--teal);
}
.account-brief-account-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.account-brief-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.account-brief-stats div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.account-brief-stats span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.account-brief-stats strong {
  display: block;
  margin-top: 3px;
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.account-brief-stats .ok { color: var(--success); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
}
.badge-success { color: var(--success); background: var(--success-soft); }
.badge-warning { color: var(--warning); background: var(--warning-soft); }
.badge-danger { color: var(--danger); background: var(--danger-soft); }
.badge-info { color: var(--info); background: #edf5f9; }
.badge-coral { color: var(--coral); background: var(--coral-soft); }

/* 通知偏好 */
.notification-preferences-layout { display: grid; gap: 14px; }
.notification-email-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 12px; }
.field-stack label {
  display: block;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-stack input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
  outline: none;
}
.field-stack input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px #d4485d1a; }

.notification-toggle-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-subtle);
}
.notification-toggle-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--teal);
  background: var(--teal-soft);
  flex: 0 0 auto;
}
.notification-toggle-icon svg { width: 15px; height: 15px; }
.notification-toggle-copy { flex: 1 1 auto; min-width: 0; }
.notification-toggle-copy strong { display: block; font-size: 13px; }
.notification-toggle-copy span { font-size: 11.5px; color: var(--muted); }

.switch {
  position: relative;
  width: 40px; height: 22px;
  flex: 0 0 auto;
  border: 0;
  border-radius: var(--radius-pill);
  background: #cfd8de;
  transition: background .18s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #1f374233;
  transition: transform .18s ease;
}
.switch[aria-checked="true"] { background: var(--coral); }
.switch[aria-checked="true"]::after { transform: translateX(18px); }

/* 页脚 */
.console-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.console-footer a { color: var(--text-soft); font-weight: 650; }
.console-footer a:hover { color: var(--coral); }

/* 响应式 */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .hero-visual { order: -1; min-height: 520px; transform: scale(.92); }
  .hero::before { inset: 0; opacity: .28; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-content-grid { grid-template-columns: minmax(0, 1fr); }
  .site-nav { display: none; }
}

@media (max-width: 900px) {
  .console-shell { grid-template-columns: minmax(0, 1fr); }
  .console-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar-navigation, .sidebar-user-code, .sidebar-footer { display: none; }
  .readiness-strip { flex-direction: column; }
  .readiness-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .readiness-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auth-shell { grid-template-columns: minmax(0, 1fr); }
  .auth-brand-pane { display: none; }
  .auth-form-pane { padding: 36px 28px; }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 16px; gap: 12px; }
  .hero { padding: 32px 16px 32px; }
  .feature-strip { padding: 0 16px 40px; grid-template-columns: minmax(0, 1fr); }
  .console-content { padding: 16px 16px 32px; }
  .console-sticky-header { padding: 12px 16px; }
  .topbar-title-line p { display: none; }
  .run-meta, .account-brief-stats, .notification-email-fields, .readiness-metrics { grid-template-columns: minmax(0, 1fr); }
  .readiness-metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .readiness-metric:last-child { border-bottom: 0; }
  .hero-visual { transform: scale(.78); min-height: 460px; }
}
