/* ============================================================
   畅宥AI 平台 · 设计令牌与基础组件
   ============================================================ */

:root {
  --bg: #06070c;
  --bg-soft: #080a11;
  --surface: #0c0f18;
  --surface-2: #10141f;
  --text: #eef1f9;
  --text-soft: #cdd3e2;
  --muted: #8f98ad;
  --muted-2: #667086;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand: #7c6cff;
  --brand-2: #5b9dff;
  --teal: #2dd4bf;
  --danger: #ff6b7a;
  --grad: linear-gradient(120deg, #a78bfa 0%, #6d8dff 48%, #2dd4bf 100%);
  --grad-soft: linear-gradient(120deg, rgba(167, 139, 250, 0.16), rgba(109, 141, 255, 0.12), rgba(45, 212, 191, 0.1));
  --container: 1180px;
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC",
    "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(124, 108, 255, 0.38);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #080a11;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  border: 2px solid #080a11;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

:focus-visible {
  outline: 2px solid #9c8cff;
  outline-offset: 3px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 54px;
}

.section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a09aff;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.12);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.section-title {
  margin: 16px 0 18px;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-desc {
  max-width: 660px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.section-head.is-center .section-desc {
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(108deg, #c4b5fd 0%, #93b4ff 46%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s,
    color 0.25s, filter 0.25s;
}

.btn svg {
  flex: 0 0 auto;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8b7bff 0%, #5b8cff 100%);
  box-shadow: 0 12px 34px -12px rgba(108, 124, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.07);
  box-shadow: 0 18px 44px -14px rgba(108, 124, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.btn-danger {
  color: #ffb0b8;
  background: rgba(255, 107, 122, 0.1);
  border-color: rgba(255, 107, 122, 0.32);
}

.btn-danger:hover {
  background: rgba(255, 107, 122, 0.17);
  border-color: rgba(255, 107, 122, 0.48);
}

.btn-lg {
  height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 15px;
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  gap: 7px;
}

.btn-xs {
  height: 29px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  gap: 5px;
}

.btn-block {
  width: 100%;
}

.btn-spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  flex: 0 0 auto;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.icon-button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}

.icon-button-sm {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

/* ---------- 表单 ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.field-control {
  position: relative;
  display: flex;
  align-items: center;
}

.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.input::placeholder {
  color: #5d6579;
}

.input:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.input:focus {
  outline: none;
  border-color: rgba(138, 122, 255, 0.65);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.13);
}

.input.has-icon {
  padding-left: 42px;
}

.input.has-action {
  padding-right: 44px;
}

.input.is-readonly {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  padding-right: 86px;
}

.field-icon {
  position: absolute;
  left: 14px;
  color: #6b7489;
  pointer-events: none;
}

.field-action {
  position: absolute;
  right: 7px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #7d879c;
  transition: background 0.2s, color 0.2s;
}

.field-action:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.field-link {
  font-size: 12px;
  font-weight: 500;
  color: #a89fff;
}

.field-link:hover {
  color: #c9c2ff;
}

.field-readonly-tag {
  position: absolute;
  right: 12px;
  font-size: 10.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
}

.field-error {
  color: #ff9ba5;
  font-size: 12.5px;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 122, 0.28);
  background: rgba(255, 107, 122, 0.08);
  color: #ffb3bb;
  font-size: 13px;
  line-height: 1.55;
}

.form-alert svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.form-alert-danger {
  border-color: rgba(255, 107, 122, 0.36);
  background: rgba(255, 107, 122, 0.1);
}

.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  cursor: pointer;
  user-select: none;
}

.checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkbox-box {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.checkbox input:checked + .checkbox-box {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.checkbox input:focus-visible + .checkbox-box {
  outline: 2px solid #9c8cff;
  outline-offset: 2px;
}

.checkbox a {
  color: #b9b0ff;
  margin: 0 2px;
}

.checkbox a:hover {
  text-decoration: underline;
}

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

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

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- 提示 ---------- */

.toast-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 12px 14px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(14, 17, 26, 0.94);
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  animation: toastIn 0.35s var(--ease);
}

.toast-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.toast-success .toast-icon {
  color: #6ee7b7;
  background: rgba(110, 231, 183, 0.12);
}

.toast-error .toast-icon {
  color: #ff9ba5;
  background: rgba(255, 107, 122, 0.12);
}

.toast-info .toast-icon {
  color: #93b4ff;
  background: rgba(147, 180, 255, 0.12);
}

.toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.toast-body strong {
  font-size: 13.5px;
  font-weight: 600;
}

.toast-body span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.toast-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 6px;
  color: var(--muted-2);
}

.toast-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------- 弹窗 ---------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 4, 8, 0.74);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}

.modal {
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #0c0f17;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95);
  animation: modalIn 0.32s var(--ease);
}

.modal-lg {
  width: min(720px, 100%);
}

.modal-sm {
  width: min(420px, 100%);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 0;
}

.modal-head h2 {
  font-size: 20px;
}

.modal-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.modal-body {
  padding: 20px 26px;
}

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 26px 24px;
}

.modal-hint {
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.65;
}

/* ---------- 头像 ---------- */

.avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.avatar-sm {
  width: 30px;
  height: 30px;
  font-size: 12px;
}

.avatar-md {
  width: 38px;
  height: 38px;
  font-size: 14px;
}

.avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.avatar-xl {
  width: 76px;
  height: 76px;
  font-size: 28px;
}

/* ---------- 设备/窗口外观 ---------- */

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0b0e16;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.browser-dots i:nth-child(1) {
  background: rgba(255, 107, 107, 0.55);
}

.browser-dots i:nth-child(2) {
  background: rgba(255, 200, 90, 0.55);
}

.browser-dots i:nth-child(3) {
  background: rgba(110, 231, 183, 0.5);
}

.browser-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 20px;
  width: min(260px, 60%);
  margin: 0 auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #7e879c;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.browser-lock {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  opacity: 0.75;
}

.browser-spacer {
  width: 32px;
}

.browser-body img,
.window-body img {
  width: 100%;
  height: auto;
}

.window-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 34px 80px -34px rgba(0, 0, 0, 0.9);
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 14px;
  overflow: hidden;
}

.product-icon img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

/* ---------- 手机模型 ---------- */

.phone {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.6));
}

.phone-frame {
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(160deg, #2a3041, #0a0c13 38%, #1b2030);
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.3;
  overflow: hidden;
  padding: 9px 11px 11px;
  border-radius: 28px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(77, 107, 254, 0.12), transparent 60%), #070910;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 5px 8px;
  color: #c3c9d8;
  font-size: 8.5px;
  font-weight: 600;
}

.phone-status-icons {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.phone-status-icons i {
  width: 7px;
  height: 5px;
  border-radius: 1px;
  background: rgba(195, 201, 216, 0.7);
}

.phone-status-icons i:nth-child(2) {
  height: 7px;
}

.phone-status-icons i:nth-child(3) {
  width: 9px;
  height: 6px;
  border-radius: 2px;
  background: rgba(195, 201, 216, 0.45);
}

.phone-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10px;
  font-weight: 600;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-brand img {
  border-radius: 5px;
}

.phone-online {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6ee7b7;
  font-size: 7.5px;
  font-weight: 500;
}

.phone-online b {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.12);
}

.phone-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 9px 0;
  overflow: hidden;
}

.phone-device {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #6e778c;
  font-size: 7px;
}

.bubble {
  max-width: 88%;
  padding: 7px 9px;
  border-radius: 10px;
  font-size: 8px;
  line-height: 1.55;
}

.bubble-user {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: #2a3560;
  color: #e2e8ff;
}

.bubble-ai {
  align-self: flex-start;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 3px;
  background: rgba(255, 255, 255, 0.045);
  color: #c4cbda;
}

.bubble-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
  color: #8b9cff;
  font-size: 6.5px;
  font-weight: 600;
}

.tool-card {
  margin-top: 6px;
  padding: 6px;
  border: 1px solid rgba(77, 107, 254, 0.26);
  border-radius: 7px;
  background: rgba(77, 107, 254, 0.1);
  color: #b7c2e8;
}

.tool-top {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 6.8px;
}

.tool-top em {
  margin-left: auto;
  color: #8b9cff;
  font-style: normal;
}

.tool-bar {
  height: 3px;
  margin: 5px 0 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.tool-bar i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #6d8bff, #2dd4bf);
}

.tool-meta {
  color: #7f8bad;
  font-size: 6.5px;
}

.approval-card {
  padding: 7px 8px;
  border: 1px solid rgba(45, 212, 191, 0.24);
  border-radius: 9px;
  background: rgba(45, 212, 191, 0.06);
}

.approval-head {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5eead4;
  font-size: 7.5px;
  font-weight: 600;
}

.approval-card p {
  margin: 4px 0 6px;
  color: #aeb6c7;
  font-size: 7px;
  line-height: 1.5;
}

.approval-card code {
  padding: 1px 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  font-family: var(--mono);
  font-size: 6.5px;
}

.approval-actions {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.phone-btn {
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 7px;
}

.phone-btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #8f98ab;
}

.phone-btn.primary {
  background: #4d6bfe;
  color: #fff;
}

.phone-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #6d7689;
  font-size: 7.5px;
}

.phone-input i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: #4d6bfe;
  color: #fff;
}

/* ---------- 许可码 ---------- */

.license-key {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.license-key code {
  flex: 1;
  overflow: hidden;
  color: #d9ddff;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.license-key.is-compact {
  padding: 8px 10px;
}

.license-key.is-compact code {
  font-size: 12px;
}

.license-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.license-actions .icon-button {
  color: #8f98ad;
}

.license-actions .icon-button:hover {
  color: var(--text);
}

/* ---------- 加载态 ---------- */

.auth-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
}

.auth-loader-ring {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: #8b7bff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* ---------- 通用空状态 ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 38px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
}

.empty-state svg {
  color: #7b85a0;
  margin-bottom: 4px;
}

.empty-state strong {
  color: var(--text-soft);
  font-size: 14px;
}

.empty-state p {
  font-size: 12.5px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a99fff;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.app-link:hover {
  color: #c9c2ff;
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.015));
  padding: 22px;
}

.app-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.app-card-head h3 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-card-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

.app-section-meta {
  color: var(--muted-2);
  font-size: 11.5px;
  white-space: nowrap;
}

.app-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.app-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #8b95ad;
}

.app-note a {
  color: #b9b0ff;
}

.app-note a:hover {
  text-decoration: underline;
}

/* ---------- 移动端通用 ---------- */

@media (max-width: 768px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head.is-center {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: clamp(27px, 7vw, 34px);
  }

  .section-desc {
    font-size: 14.5px;
  }

  .btn-lg {
    height: 48px;
    padding: 0 20px;
    font-size: 14px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal {
    max-height: calc(100vh - 24px);
    border-radius: 18px;
  }

  .modal-head {
    padding: 20px 20px 0;
  }

  .modal-body {
    padding: 18px 20px;
  }

  .modal-foot {
    padding: 0 20px 20px;
    flex-wrap: wrap;
  }

  .modal-foot .btn {
    flex: 1;
  }

  .toast-stack {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
/* ============================================================
   官网：导航、首页、产品页、法律页
   ============================================================ */

.site-shell {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
}

.site-main {
  min-height: 70vh;
}

section[id] {
  scroll-margin-top: 96px;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 74px;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}

.site-header.is-scrolled {
  background: rgba(6, 7, 12, 0.74);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 24px -10px rgba(124, 108, 255, 0.65);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-ai {
  margin-left: 3px;
  background: linear-gradient(120deg, #b9a8ff, #6d8dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 17px;
  font-weight: 800;
}

.brand-sub {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
}

.header-link {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s, background 0.2s;
}

.header-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.header-link.is-active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-login {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s;
}

.header-login:hover {
  color: var(--text);
}

.header-account {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 13px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 12.5px;
  transition: background 0.2s, border-color 0.2s;
}

.header-account:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-nav {
  display: none;
}

/* ---------- 页脚 ---------- */

.site-footer {
  position: relative;
  padding: 64px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 60%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 2fr;
  gap: 80px;
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 20px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.06);
  color: #8fe8c6;
  font-size: 11px;
}

.footer-badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.12);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  margin-bottom: 16px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s, transform 0.2s;
}

.footer-column a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
  flex-wrap: wrap;
}

.footer-note {
  color: #596276;
}

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  padding: 168px 0 0;
  overflow: hidden;
}

.hero-bg,
.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: -20% -10% 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 18%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse 80% 62% at 50% 18%, #000 8%, transparent 76%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.hero-orb-a {
  top: -260px;
  left: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.5), transparent 66%);
}

.hero-orb-b {
  top: -180px;
  right: -160px;
  width: 590px;
  height: 590px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.3), transparent 66%);
}

.hero-orb-c {
  top: 240px;
  left: 36%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(91, 157, 255, 0.24), transparent 66%);
  opacity: 0.4;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 610px;
}

.hero-title {
  margin: 22px 0 24px;
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 520px;
  color: #a6aec2;
  font-size: 15.5px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.hero-note svg {
  color: #6ee7b7;
  flex: 0 0 auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stat dt {
  display: flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.hero-stat dt small {
  margin-left: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-stat dd {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
}

.hero-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 64px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.hero-foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

/* ---------- Hero 展示组合 ---------- */

.hero-visual {
  position: relative;
}

.hero-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.hero-aurora {
  position: absolute;
  inset: 6% -4% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 45%, rgba(124, 108, 255, 0.32), transparent 62%),
    radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.14), transparent 55%);
  filter: blur(50px);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  inset: 16% 4% 6%;
  border-radius: 40%;
  background: linear-gradient(120deg, rgba(167, 139, 250, 0.24), rgba(45, 212, 191, 0.12));
  filter: blur(60px);
  z-index: 0;
}

.hero-browser-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: translate(16px, -10px);
}

.hero-browser {
  width: 100%;
}

.hero-phone {
  position: absolute;
  left: -26px;
  bottom: -14px;
  z-index: 3;
  width: 168px;
  transform: rotate(-4deg);
  animation: floatSlow 9s ease-in-out infinite;
}

.hero-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(12, 15, 24, 0.85);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.hero-chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(110, 231, 183, 0.12);
  color: #6ee7b7;
  flex: 0 0 auto;
}

.hero-chip-icon.soft {
  background: rgba(124, 108, 255, 0.14);
  color: #c4b5fd;
}

.hero-chip strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-chip small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.3;
}

.hero-chip-account {
  top: 6px;
  left: -18px;
}

.hero-chip-license {
  right: -8px;
  bottom: 62px;
}

/* ---------- 首页产品矩阵 ---------- */

.products-section {
  padding-top: 100px;
}

.product-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-cell {
  min-width: 0;
}

.bento-mark {
  grid-column: span 7;
}

.bento-dsh {
  grid-column: span 5;
}

.bento-studio {
  grid-column: span 12;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.016));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0.6;
}

.bento-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--tile-glow, rgba(124, 108, 255, 0.14)), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.17);
  box-shadow: 0 44px 90px -44px rgba(0, 0, 0, 0.95);
}

.bento-card:hover::after {
  opacity: 1;
}

.tile-mark {
  --tile-glow: rgba(52, 211, 153, 0.14);
}

.tile-dsh {
  --tile-glow: rgba(109, 139, 255, 0.18);
}

.tile-studio {
  --tile-glow: rgba(167, 139, 250, 0.18);
}

.tile-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
}

.tile-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.tile-kind {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tile-name h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.tile-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}

.bento-card:hover .tile-arrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
  transform: translate(2px, -2px);
}

.tile-tagline {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.tile-desc {
  position: relative;
  z-index: 2;
  max-width: 470px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}

.tile-chips {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.tile-chips span {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: #aeb6c9;
  font-size: 10.5px;
}

.tile-shot {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.tile-shot-mark {
  position: relative;
  margin-bottom: -74px;
}

.tile-shot-mark::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 120px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0), rgba(8, 10, 16, 0.94));
  pointer-events: none;
}

.tile-shot-mark .window-frame {
  transform: translateY(6px) scale(1.015);
  transform-origin: top center;
  transition: transform 0.5s var(--ease);
}

.tile-mark:hover .window-frame {
  transform: translateY(0) scale(1.025);
}

.tile-phone {
  position: absolute;
  right: -16px;
  bottom: -78px;
  z-index: 1;
  width: 196px;
  transform: rotate(5deg);
  transition: transform 0.5s var(--ease);
}

.tile-dsh:hover .tile-phone {
  transform: rotate(3deg) translateY(-6px);
}

.tile-dsh .tile-desc {
  max-width: 74%;
}

/* 手机 mini 模型 */

.phone-mini {
  width: 100%;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: linear-gradient(160deg, #2a3041, #0a0c13 38%, #1b2030);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.phone-mini-screen {
  display: flex;
  flex-direction: column;
  gap: 7px;
  aspect-ratio: 9 / 17.5;
  overflow: hidden;
  padding: 11px 9px;
  border-radius: 21px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(77, 107, 254, 0.16), transparent 60%), #070910;
}

.pm-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #d5dae8;
  font-size: 7.5px;
  font-weight: 600;
}

.pm-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7b7;
}

.pm-bar em {
  margin-left: auto;
  color: #6ee7b7;
  font-size: 6.5px;
  font-style: normal;
}

.pm-device {
  color: #707a90;
  font-size: 6.5px;
}

.pm-bubble {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 7px;
  line-height: 1.5;
}

.pm-user {
  align-self: flex-end;
  background: #2a3560;
  color: #e2e8ff;
}

.pm-ai {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #b9c2d4;
}

.pm-tool {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 5px;
  padding: 5px;
  border: 1px solid rgba(77, 107, 254, 0.25);
  border-radius: 5px;
  background: rgba(77, 107, 254, 0.1);
  font-size: 6.5px;
}

.pm-tool i {
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: #6d8bff;
}

.pm-approval {
  padding: 6px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 7px;
  background: rgba(45, 212, 191, 0.06);
  color: #9fe8db;
  font-size: 6.5px;
}

.pm-approval div {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 5px;
}

.pm-approval b {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #8f98ab;
  font-size: 6px;
  font-weight: 500;
}

.pm-approval b.pm-allow {
  border-color: #4d6bfe;
  background: #4d6bfe;
  color: #fff;
}

.pm-input {
  margin-top: auto;
  padding: 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #6d7689;
  font-size: 6.5px;
}

/* Studio 宽卡 */

.tile-studio {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
  padding: 36px 40px;
}

.tile-studio-copy {
  display: flex;
  flex-direction: column;
}

.tile-studio-shot {
  position: relative;
  z-index: 1;
}

.tile-studio-shot .browser-frame {
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
  transform-origin: right center;
  transition: transform 0.6s var(--ease);
}

.tile-studio:hover .browser-frame {
  transform: perspective(1400px) rotateY(0deg) rotateX(0deg);
}

.tile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- 一个账号 ---------- */

.account-section {
  padding-top: 36px;
}

.account-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(124, 108, 255, 0.13), transparent 50%),
    radial-gradient(120% 120% at 100% 100%, rgba(45, 212, 191, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.015);
}

.account-copy .section-head {
  margin-bottom: 30px;
}

.account-copy .section-title {
  max-width: 460px;
  font-size: clamp(28px, 2.9vw, 36px);
  text-wrap: balance;
}

.account-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.account-point {
  display: flex;
  gap: 14px;
}

.point-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  color: #b6aeff;
}

.account-point strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.account-point p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.account-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.account-halo {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.24), transparent 66%);
  filter: blur(50px);
}

.account-pass {
  position: relative;
  width: min(400px, 100%);
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(24, 28, 44, 0.96), rgba(10, 13, 20, 0.97));
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95);
  transform: rotate(-1.2deg);
}

.account-pass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.7), transparent);
}

.pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.pass-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
}

.pass-plan {
  padding: 2px 8px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 99px;
  background: rgba(45, 212, 191, 0.08);
  color: #7fe9d4;
  font-size: 9.5px;
}

.pass-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.pass-user strong {
  display: block;
  font-size: 15px;
}

.pass-user span {
  color: var(--muted);
  font-size: 11px;
}

.pass-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #7fe9d4;
  font-size: 10px;
}

.pass-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7b7;
}

.pass-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pass-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
}

.pass-product em {
  margin-left: auto;
  padding: 2px 7px;
  border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 99px;
  background: rgba(45, 212, 191, 0.08);
  color: #7fe9d4;
  font-size: 9.5px;
  font-style: normal;
}

.pass-product svg {
  color: #6ee7b7;
}

.pass-key {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  color: #9d93ff;
}

.pass-key code {
  color: #cbd3ff;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.pass-key span {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9px;
}

.pass-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.35), transparent 65%);
  filter: blur(20px);
}

.pass-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(13, 16, 25, 0.9);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  color: var(--text-soft);
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.pass-float svg {
  color: #6ee7b7;
}

.pass-float-a {
  top: 14px;
  right: -6px;
}

.pass-float-b {
  bottom: -6px;
  left: -6px;
}

/* ----------  manifesto ---------- */

.manifesto-section {
  padding: 84px 0;
}

.manifesto {
  position: relative;
  padding: 58px 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(124, 108, 255, 0.09), rgba(255, 255, 255, 0.015) 46%, rgba(45, 212, 191, 0.06));
}

.manifesto::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.16), transparent 65%);
  filter: blur(30px);
}

.manifesto blockquote {
  position: relative;
  z-index: 1;
  margin: 18px 0 20px;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.035em;
}

.manifesto > .reveal > p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.manifesto-item span {
  color: #9d93ff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.manifesto-item strong {
  display: block;
  margin: 8px 0 5px;
  font-size: 15px;
}

.manifesto-item p {
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- 平台能力 ---------- */

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.capability-card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.capability-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(124, 108, 255, 0.2);
  border-radius: 12px;
  background: rgba(124, 108, 255, 0.1);
  color: #b4a9ff;
}

.capability-card h3 {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.capability-card p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}

/* ---------- 快速开始 ---------- */

.start-section {
  padding-top: 96px;
}

.start-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.start-card {
  position: relative;
  height: 100%;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.024);
}

.start-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.15), transparent 70%);
}

.start-num {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.start-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #c4b5fd;
}

.start-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.start-card p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}

.start-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(124, 108, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.start-cta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.start-cta span svg {
  color: #c4b5fd;
  flex: 0 0 auto;
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 108px;
}

.faq-intro .section-desc a {
  color: #b9b0ff;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.25s, background 0.25s;
}

.faq-item.is-open {
  border-color: rgba(124, 108, 255, 0.3);
  background: rgba(124, 108, 255, 0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.faq-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.is-open .faq-toggle {
  color: #c4b5fd;
  background: rgba(124, 108, 255, 0.15);
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  max-width: 640px;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ---------- 底部 CTA ---------- */

.final-cta-section {
  padding: 20px 0 110px;
}

.final-cta {
  position: relative;
  padding: 80px 60px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(124, 108, 255, 0.17), rgba(10, 12, 20, 0.6) 55%, rgba(45, 212, 191, 0.13)), #080a10;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000, transparent);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.final-cta p {
  color: var(--muted);
  font-size: 14.5px;
}

.final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.final-br {
  display: none;
}

/* ---------- 产品列表页 ---------- */

.page-hero {
  position: relative;
  padding: 164px 0 64px;
  overflow: hidden;
}

.page-hero-bg {
  z-index: 0;
}

.page-title {
  margin: 20px 0 22px;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.products-index {
  padding-top: 36px;
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.product-row {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 48px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s, background 0.3s;
}

.product-row:hover {
  border-color: rgba(255, 255, 255, 0.17);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.product-row.is-reversed .product-row-copy {
  order: 2;
}

.product-row.is-reversed .product-row-media {
  order: 1;
}

.product-row-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.product-row-head h2 {
  margin-top: 2px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.product-row-tagline {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-row-desc {
  max-width: 480px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.85;
}

.product-row-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 500;
}

.product-row:hover .product-row-link {
  color: #ded6ff;
}

.product-row-media {
  position: relative;
}

.product-row-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 380px;
  padding: 20px 0 14px;
  overflow: hidden;
  border: 1px solid rgba(109, 139, 255, 0.18);
  border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(109, 139, 255, 0.16), transparent 60%), rgba(255, 255, 255, 0.02);
}

.product-row-phone-device {
  position: relative;
  z-index: 1;
  width: 176px;
  max-width: 58%;
}

.product-row-phone-device .phone {
  width: 100%;
}

.product-row-phone-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(109, 139, 255, 0.15);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.product-row-phone-ring::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(109, 139, 255, 0.12);
  border-radius: 50%;
}

.product-row-phone-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.product-row-phone-lines i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.product-row-phone-lines i:nth-child(1) {
  width: 132px;
}

.product-row-phone-lines i:nth-child(2) {
  width: 96px;
}

.product-row-phone-lines i:nth-child(3) {
  width: 58px;
}

.product-row-phone span {
  color: var(--muted);
  font-size: 11px;
}

.compare-section {
  padding-top: 96px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--text);
  font-weight: 600;
}

.compare-table tbody td {
  color: var(--muted);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.018);
}

.compare-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.index-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(124, 108, 255, 0.09), rgba(255, 255, 255, 0.02));
}

.index-cta strong {
  font-size: 15px;
}

.index-cta p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- 产品详情 ---------- */

.product-hero {
  position: relative;
  padding: 126px 0 64px;
  overflow: hidden;
}

.product-hero-orb {
  position: absolute;
  top: -22%;
  right: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--product-soft), transparent 65%);
  filter: blur(70px);
  opacity: 0.9;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--muted-2);
  font-size: 12px;
}

.breadcrumb a:hover {
  color: var(--text-soft);
}

.breadcrumb span {
  color: var(--muted);
}

.product-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.product-heading {
  display: flex;
  align-items: center;
  gap: 18px;
}

.product-heading h1 {
  margin-top: 2px;
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.product-tagline {
  margin-top: 26px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.product-summary {
  max-width: 540px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.product-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-meta svg {
  color: var(--product-accent);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.product-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.product-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-trust svg {
  color: #6ee7b7;
}

.product-hero-media {
  position: relative;
}

.product-media-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--product-soft);
  filter: blur(70px);
  opacity: 0.85;
}

.shot-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shot-frame {
  position: relative;
  width: 100%;
}

.shot-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shot-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 11.5px;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.shot-tab img {
  width: 42px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  object-position: top;
  opacity: 0.7;
}

.shot-tab:hover {
  color: var(--text-soft);
  border-color: var(--line-strong);
}

.shot-tab.is-active {
  border-color: color-mix(in srgb, var(--product-accent) 45%, transparent);
  background: var(--product-soft);
  color: var(--text);
}

.shot-tab.is-active img {
  opacity: 1;
}

.media-phone {
  display: flex;
  justify-content: center;
}

.media-phone .phone {
  max-width: 250px;
}

/* 产品能力 */

.product-features {
  padding-top: 80px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.022);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid color-mix(in srgb, var(--product-accent) 30%, transparent);
  border-radius: 12px;
  background: var(--product-soft);
  color: var(--product-accent);
}

.feature-card h3 {
  margin-bottom: 7px;
  font-size: 15px;
}

.feature-card p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}

/* 产品细节 */

.product-details {
  padding: 30px 0 10px;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 64px;
  align-items: center;
  padding: 62px 0;
  border-top: 1px solid var(--line);
}

.detail-row:first-child {
  padding-top: 18px;
  border-top: none;
}

.detail-row.is-reversed .detail-copy {
  order: 2;
}

.detail-copy .eyebrow {
  color: var(--product-accent);
}

.detail-copy h2 {
  margin: 14px 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.detail-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.detail-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.detail-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.detail-points svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--product-accent);
}

.detail-media {
  position: relative;
}

.detail-caption {
  display: block;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

/* 架构图 */

.arch-visual {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(109, 139, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(8, 11, 20, 0.8);
  text-align: center;
}

.arch-node strong {
  font-size: 12px;
}

.arch-node small {
  color: var(--muted);
  font-size: 9px;
}

.arch-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  border-radius: 11px;
  background: rgba(109, 139, 255, 0.12);
  color: #93a7ff;
}

.arch-core {
  border-color: rgba(109, 139, 255, 0.4);
  box-shadow: 0 0 40px -10px rgba(109, 139, 255, 0.5);
}

.arch-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #6b7590;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.arch-line {
  width: 100%;
  min-width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6d8bff, transparent);
}

.arch-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10px;
}

.arch-note svg {
  color: #6ee7b7;
}

/* 安全边界面板 */

.security-visual {
  padding: 24px;
  border: 1px solid rgba(110, 231, 183, 0.16);
  border-radius: 18px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(45, 212, 191, 0.1), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.security-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.security-shield {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 12px;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.security-head strong {
  display: block;
  font-size: 14px;
}

.security-head div span {
  display: block;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.06);
  color: #8fe8c6;
  font-size: 9px;
}

.security-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6ee7b7;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.security-list li > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.security-list strong {
  display: block;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
}

.security-list em {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 10px;
  font-style: normal;
  line-height: 1.5;
}

.security-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
}

.security-foot svg {
  color: #6ee7b7;
}

.security-foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

/* 规格 */

.product-specs {
  padding-top: 80px;
}

.spec-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.spec-actions {
  margin-top: 26px;
}

.spec-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.spec-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.spec-list dt {
  flex: 0 0 auto;
  color: var(--muted-2);
}

.spec-list dd {
  color: var(--text-soft);
  text-align: right;
  font-size: 12.5px;
}

.spec-license {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background: var(--product-soft);
  font-size: 12px;
}

.spec-license > div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
}

.spec-license svg {
  color: var(--product-accent);
}

.spec-license span {
  color: var(--muted);
  font-size: 11px;
}

.spec-license a {
  color: var(--product-accent);
  font-size: 12px;
}

/* 开始使用 / 其他产品 */

.product-start {
  padding-top: 90px;
}

.product-download-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.7;
  text-align: left;
}

.product-download-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.related-section {
  padding-bottom: 110px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s, background 0.3s;
}

.related-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.related-card h3 {
  font-size: 15px;
}

.related-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.related-card > svg {
  margin-left: auto;
  color: var(--muted);
}

/* 开通成功 / 安装指引 */

.activated-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.activated-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 2px;
  border: 1px solid rgba(110, 231, 183, 0.28);
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.activated-panel > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  text-align: center;
}

.activated-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 12px;
}

.activated-steps span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.activated-steps b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(124, 108, 255, 0.16);
  color: #c4b5fd;
  font-size: 10px;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  counter-reset: step;
}

.guide-steps li {
  position: relative;
  padding-left: 38px;
}

.guide-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(124, 108, 255, 0.3);
  border-radius: 50%;
  background: rgba(124, 108, 255, 0.14);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 600;
}

.guide-steps strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13.5px;
}

.guide-steps p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.guide-steps pre {
  margin: 8px 0 0;
  padding: 10px 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #070910;
}

.guide-steps code {
  color: #b7c2e8;
  font-family: var(--mono);
  font-size: 11px;
  white-space: pre;
}

.guide-download {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-download-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-download-head strong {
  font-size: 14px;
}

.guide-download-head p {
  color: var(--muted);
  font-size: 12px;
}

/* ---------- 联系我们 ---------- */

.contact-page {
  --product-accent: #a78bfa;
  --product-soft: rgba(124, 108, 255, 0.1);
}

.contact-hero {
  padding-bottom: 46px;
}

.contact-hero .page-lead {
  max-width: 680px;
}

.contact-section {
  padding-top: 26px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.contact-title {
  margin: 16px 0;
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: -0.04em;
}

.contact-lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.contact-tip {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(124, 108, 255, 0.24);
  border-radius: 14px;
  background: rgba(124, 108, 255, 0.06);
}

.contact-tip > svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #b9b0ff;
}

.contact-tip strong {
  display: block;
  font-size: 14px;
}

.contact-tip p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.contact-topics span {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface-card);
  color: var(--muted);
  font-size: 12px;
}

.contact-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.5px;
}

.contact-alt span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.contact-alt a {
  color: #b9b0ff;
  transition: color 0.2s;
}

.contact-alt a:hover {
  color: var(--text);
}

.contact-qr-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 28px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(124, 108, 255, 0.16), transparent 62%),
    rgba(255, 255, 255, 0.018);
}

.contact-qr-glow {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.3), transparent 66%);
  filter: blur(60px);
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-qr-card {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.contact-qr-card img {
  width: 100%;
  height: auto;
  border-radius: 13px;
}

.contact-qr-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.contact-qr-meta span,
.contact-qr-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-qr-save {
  color: #b9b0ff;
  font-size: 12px;
  transition: color 0.2s;
}

.contact-qr-save:hover {
  color: var(--text);
}

.contact-qr-caption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.7;
  text-align: center;
}

.contact-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-help-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-card);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.contact-help-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.contact-help-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(124, 108, 255, 0.22);
  border-radius: 12px;
  background: rgba(124, 108, 255, 0.1);
  color: #b9b0ff;
}

.contact-help-card h3 {
  margin-bottom: 7px;
  font-size: 15.5px;
}

.contact-help-card p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}

.contact-help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  color: #c4b5fd;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-help-card:hover .contact-help-link {
  color: #ded6ff;
}

/* ---------- AI 工具定制 ---------- */

.ai-tools-page {
  --product-accent: #a78bfa;
  --product-soft: rgba(124, 108, 255, 0.1);
}

.ai-tools-hero {
  padding-bottom: 54px;
}

.ai-tools-hero .page-title {
  max-width: 900px;
}

.ai-tools-hero .page-lead {
  max-width: 700px;
}

.service-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 760px;
  margin-top: 40px;
}

.service-promise {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-card);
}

.service-promise dt {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.service-promise dd {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.service-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.service-note svg {
  flex: 0 0 auto;
  color: #b9b0ff;
}

.service-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-card {
  position: relative;
  height: 100%;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
  opacity: 0.8;
}

.process-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9d93ff;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.process-num::after {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(157, 147, 255, 0.5);
}

.process-card h3 {
  margin: 20px 0 8px;
  font-size: 16px;
}

.process-card p {
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.8;
}

.service-payment {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid rgba(110, 231, 183, 0.22);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(110, 231, 183, 0.08), rgba(124, 108, 255, 0.06));
}

.service-payment-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(110, 231, 183, 0.25);
  border-radius: 13px;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.service-payment strong {
  display: block;
  font-size: 15px;
}

.service-payment p {
  max-width: 680px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.service-visual {
  min-height: 420px;
}

.service-flow {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(360px, 100%);
}

.service-flow-card {
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface-elevated);
  box-shadow: var(--theme-shadow);
}

.service-flow-card > span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-flow-card p {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.65;
}

.service-flow-time {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11px;
}

.service-flow-arrow {
  display: grid;
  place-items: center;
  height: 34px;
  color: var(--muted-2);
}

.service-flow-card.is-result {
  border-color: rgba(124, 108, 255, 0.36);
  background: linear-gradient(160deg, rgba(124, 108, 255, 0.14), var(--surface-elevated) 70%);
}

.service-flow-bar {
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.service-flow-bar i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #8b7bff, #5eead4);
}

.service-flow-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.service-flow-result small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6ee7b7;
  font-size: 10.5px;
}

.service-flow-result em {
  color: var(--muted-2);
  font-size: 10.5px;
  font-style: normal;
}

.service-faq-section {
  padding-top: 40px;
}

.service-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- 法律页 ---------- */

.legal-hero {
  position: relative;
  padding: 138px 0 48px;
  overflow: hidden;
}

.legal-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.035em;
}

.legal-hero p {
  color: var(--muted-2);
  font-size: 12px;
}

.legal-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
  padding: 26px 0 100px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.legal-toc > span {
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-toc a {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.legal-toc a:hover {
  color: var(--text);
}

.legal-switch {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.legal-switch a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b9b0ff;
}

.legal-article {
  max-width: 720px;
}

.legal-callout {
  display: flex;
  gap: 9px;
  margin-bottom: 40px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(124, 108, 255, 0.05);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

.legal-callout svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #b9b0ff;
}

.legal-article section {
  margin-bottom: 36px;
  scroll-margin-top: 110px;
}

.legal-article h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.legal-article p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 2;
}

.legal-foot {
  display: flex;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- 404 ---------- */

.not-found {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: 150px 0 100px;
  overflow: hidden;
}

.not-found-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.not-found-code {
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.16));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(90px, 16vw, 180px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.not-found h1 {
  font-size: clamp(26px, 3vw, 36px);
}

.not-found p {
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
}

.not-found-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1120px) {
  .header-inner {
    gap: 26px;
  }

  .header-link {
    padding: 8px 10px;
  }

  .hero-inner {
    gap: 32px;
  }

  .hero-phone {
    left: -10px;
    width: 152px;
  }

  .account-panel {
    padding: 48px;
    gap: 40px;
  }

  .tile-studio {
    gap: 32px;
    padding: 32px;
  }
}

@media (max-width: 1020px) {
  .header-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: fixed;
    inset: 74px 0 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 12px 24px 28px;
    border-top: 1px solid var(--line);
    background: rgba(6, 7, 12, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-nav nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 17px;
  }

  .mobile-nav nav a svg {
    color: var(--muted-2);
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-lead {
    max-width: 620px;
  }

  .hero-visual {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .bento-mark,
  .bento-dsh {
    grid-column: span 12;
  }

  .bento-dsh {
    min-height: 420px;
  }

  .tile-dsh .tile-desc {
    max-width: 62%;
  }

  .tile-phone {
    width: 220px;
    right: 4px;
    bottom: -60px;
  }

  .account-panel {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .account-visual {
    justify-content: flex-start;
    padding-left: 40px;
  }

  .account-halo {
    left: 20%;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .faq-intro {
    position: static;
  }

  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-hero-copy {
    max-width: 680px;
  }

  .product-hero-media {
    max-width: 760px;
    width: 100%;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 46px 0;
  }

  .detail-row.is-reversed .detail-copy {
    order: 0;
  }

  .detail-row.is-reversed .detail-media {
    order: 1;
  }

  .spec-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .legal-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
  }

  .legal-toc > span {
    width: 100%;
  }

  .legal-switch {
    width: 100%;
    margin-top: 4px;
    padding-top: 10px;
  }

  .legal-switch a {
    justify-content: flex-start;
    gap: 6px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-qr-panel {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .service-promises {
    max-width: none;
  }

  .service-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 28px;
  }

  .product-row.is-reversed .product-row-copy,
  .product-row.is-reversed .product-row-media {
    order: 0;
  }

  .tile-studio {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tile-studio-shot .browser-frame {
    transform: none;
  }

  .tile-shot-mark {
    margin-bottom: -40px;
  }

  .start-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .index-cta,
  .start-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .index-cta .btn,
  .start-cta .btn {
    width: 100%;
  }

  .manifesto {
    padding: 42px 32px;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .final-cta {
    padding: 56px 28px;
  }

  .final-br {
    display: block;
  }

  .contact-help-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 70px 0;
  }

  .header-inner {
    height: 66px;
  }

  .site-header {
    height: 66px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 17.5px;
  }

  .mobile-nav {
    inset: 66px 0 0;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-title {
    font-size: clamp(38px, 11vw, 50px);
    letter-spacing: -0.045em;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
    margin-top: 36px;
  }

  .hero-stat dt {
    font-size: 20px;
  }

  .hero-foot {
    gap: 10px;
    margin-top: 42px;
    padding-bottom: 22px;
    font-size: 10px;
  }

  .hero-showcase {
    min-height: 420px;
  }

  .hero-browser-wrap {
    transform: none;
  }

  .hero-phone {
    left: -4px;
    bottom: -6px;
    width: 120px;
  }

  .hero-chip {
    padding: 7px 10px 7px 7px;
  }

  .hero-chip-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .hero-chip strong {
    font-size: 10px;
  }

  .hero-chip small {
    font-size: 8.5px;
  }

  .hero-chip-account {
    top: -8px;
    left: 0;
  }

  .hero-chip-license {
    right: 0;
    bottom: 26px;
  }

  .bento-card {
    padding: 22px;
    border-radius: 20px;
  }

  .tile-name h3 {
    font-size: 18px;
  }

  .tile-tagline {
    font-size: 15px;
  }

  .bento-dsh {
    min-height: 460px;
  }

  .tile-dsh .tile-desc {
    max-width: 100%;
  }

  .tile-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 176px;
    margin: 22px auto -18px;
  }

  .tile-studio {
    padding: 22px;
  }

  .tile-studio-shot {
    margin: 0 -10px;
  }

  .account-panel {
    padding: 28px 22px;
    border-radius: 24px;
  }

  .account-visual {
    padding: 4px 0 20px;
    justify-content: center;
  }

  .account-pass {
    transform: none;
  }

  .pass-float {
    display: none;
  }

  .manifesto {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .manifesto blockquote {
    font-size: 27px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .start-cta {
    padding: 18px;
  }

  .start-cta span {
    font-size: 12px;
  }

  .faq-question {
    padding: 15px 16px;
    font-size: 13.5px;
  }

  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 12.5px;
  }

  .final-cta-section {
    padding-bottom: 80px;
  }

  .page-hero {
    padding: 118px 0 44px;
  }

  .page-title {
    font-size: clamp(36px, 9vw, 46px);
  }

  .product-row {
    padding: 22px;
    border-radius: 20px;
  }

  .product-row-head h2 {
    font-size: 22px;
  }

  .product-row-tagline {
    font-size: 16px;
  }

  .product-row-desc {
    font-size: 12.8px;
  }

  .product-row-phone {
    min-height: 240px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
    font-size: 12px;
  }

  .index-cta {
    padding: 20px;
  }

  .product-hero {
    padding: 104px 0 40px;
  }

  .breadcrumb {
    margin-bottom: 26px;
  }

  .product-heading {
    gap: 13px;
  }

  .product-heading h1 {
    font-size: 32px;
  }

  .product-tagline {
    margin-top: 20px;
    font-size: 21px;
  }

  .product-summary {
    font-size: 13.5px;
  }

  .product-actions .btn {
    flex: 1 1 auto;
  }

  .product-trust {
    gap: 10px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .detail-copy h2 {
    font-size: 26px;
  }

  .spec-list div {
    padding: 12px 16px;
    font-size: 12px;
  }

  .spec-list dd {
    font-size: 11.5px;
  }

  .spec-license {
    padding: 14px 16px;
  }

  .arch-visual {
    padding: 18px;
  }

  .arch-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .arch-link {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .arch-line {
    width: 1px;
    min-width: 1px;
    height: 18px;
    background: linear-gradient(180deg, transparent, #6d8bff, transparent);
  }

  .arch-note {
    text-align: center;
    line-height: 1.6;
  }

  .related-card {
    padding: 18px;
  }

  .legal-hero {
    padding: 118px 0 36px;
  }

  .legal-article section {
    margin-bottom: 30px;
  }

  .legal-foot {
    flex-direction: column;
  }

  .legal-foot .btn {
    width: 100%;
  }

  .contact-hero,
  .ai-tools-hero {
    padding-bottom: 34px;
  }

  .contact-grid {
    gap: 34px;
  }

  .contact-qr-panel {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .contact-qr-card {
    width: min(280px, 100%);
    padding: 9px;
    border-radius: 18px;
  }

  .contact-qr-card img {
    border-radius: 11px;
  }

  .contact-alt {
    flex-direction: column;
    gap: 8px;
  }

  .contact-help-card {
    padding: 22px;
  }

  .service-promises {
    grid-template-columns: 1fr;
  }

  .service-process {
    grid-template-columns: 1fr;
  }

  .service-payment {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .service-visual {
    min-height: 0;
    padding: 4px 0 12px;
  }

  .not-found {
    padding: 130px 0 80px;
  }

  .not-found-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .footer-bottom {
    margin-top: 40px;
  }

  .footer-note {
    display: none;
  }
}

/* ---------- 用户中心：我的应用 ---------- */

.app-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.app-panel-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-subtle);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.app-panel-tile:hover:not(.is-disabled) {
  border-color: var(--brand);
}

.app-panel-tile.is-disabled {
  opacity: 0.6;
}

.app-panel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  font-weight: 700;
}

.app-panel-tile > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.app-panel-tile strong {
  font-size: 0.95rem;
}

.app-panel-tile span {
  font-size: 0.8rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-hint {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.app-empty {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
/* ============================================================
   应用商店：列表 / 详情 / 评价 / 讨论
   ============================================================ */

/* ---------- 商店页框架 ---------- */

.store-section {
  padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 120px);
}

.store-hero {
  max-width: 720px;
}

.store-hero-title {
  margin: 12px 0 14px;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.store-hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ---------- 搜索框 ---------- */

.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 0 16px;
  height: 46px;
  max-width: 480px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.store-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.store-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
}

.store-search input::-webkit-search-cancel-button {
  display: none;
}

.store-search button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--muted);
  cursor: pointer;
}

/* ---------- 精选 ---------- */

.store-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: clamp(32px, 4vw, 48px);
}

.store-featured-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--brand) 7%, var(--surface)),
    var(--surface)
  );
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.store-featured-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
}

.store-featured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.store-featured-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
}

.store-featured-tag {
  padding: 3px 10px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.store-featured-card h3 {
  margin: 4px 0 0;
  font-size: 1.16rem;
}

.store-featured-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.store-featured-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- 工具栏（分类 + 排序） ---------- */

.store-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: clamp(28px, 3.5vw, 40px) 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.store-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.14s ease;
}

.store-chip:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  color: var(--text);
}

.store-chip.is-active {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  color: var(--brand);
  font-weight: 600;
}

.store-chip em {
  font-style: normal;
  opacity: 0.65;
  font-size: 0.76rem;
}

.store-sort {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface-subtle);
}

.store-sort-item {
  padding: 5px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
}

.store-sort-item.is-active {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---------- 应用卡片网格 ---------- */

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 18px;
}

.store-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 38%, transparent);
  box-shadow: 0 16px 40px -24px rgba(61, 54, 42, 0.42);
}

.store-card.is-disabled {
  opacity: 0.66;
}

.store-card.is-skeleton {
  height: 196px;
  background: var(--surface-subtle);
  animation: store-pulse 1.4s ease-in-out infinite;
}

@keyframes store-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

.store-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.store-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  color: var(--brand);
  font-size: 1.2rem;
  font-weight: 700;
}

.store-card-badge {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.store-card-badge.is-on {
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  color: var(--brand);
}

.store-card-body {
  flex: 1;
}

.store-card-title {
  margin: 0 0 6px;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}

.store-card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
}

.store-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.store-card-rating em {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.store-card-rating i {
  font-style: normal;
  opacity: 0.7;
}

.store-card-rating.is-empty {
  opacity: 0.7;
}

.store-card-platforms {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 星级 ---------- */

.stars {
  display: inline-flex;
  gap: 1px;
}

.star {
  display: inline-flex;
  color: var(--line-strong);
}

.star.is-on {
  color: #e8a33d;
}

/* ---------- 空状态 ---------- */

.store-empty-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 64px 20px;
  color: var(--muted);
  text-align: center;
}

.store-empty-block p {
  margin: 0;
  font-size: 0.95rem;
}

.store-empty {
  margin: 30px 0;
  color: var(--muted);
  text-align: center;
}

/* ============================================================
   应用详情页
   ============================================================ */

.app-detail-section {
  padding-block: clamp(32px, 4vw, 56px) clamp(72px, 9vw, 110px);
}

.app-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.app-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.app-breadcrumb a:hover {
  color: var(--brand);
}

.app-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.app-detail-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  color: var(--brand);
  font-size: 1.9rem;
  font-weight: 700;
}

.app-detail-title {
  flex: 1;
  min-width: 220px;
}

.app-detail-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-detail-name-row h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
}

.app-detail-tagline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.app-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.app-detail-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e8a33d;
}

.app-detail-cta {
  flex: 0 0 auto;
  padding-top: 8px;
}

.app-detail-skeleton {
  height: 420px;
  border-radius: 20px;
  background: var(--surface-subtle);
  animation: store-pulse 1.4s ease-in-out infinite;
}

/* ---------- 截图轮播 ---------- */

.app-gallery {
  margin: clamp(28px, 4vw, 44px) 0;
}

.app-gallery-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
}

.app-gallery-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.app-gallery-image img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.app-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.14s ease;
}

.app-gallery-nav:hover {
  background: var(--surface);
}

.app-gallery-nav.is-prev {
  left: 14px;
}

.app-gallery-nav.is-next {
  right: 14px;
}

.app-gallery-count {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
}

.app-gallery-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.app-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.app-gallery-thumb {
  flex: 0 0 auto;
  width: 108px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-subtle);
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 0.14s ease, border-color 0.14s ease;
}

.app-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-gallery-thumb:hover {
  opacity: 1;
}

.app-gallery-thumb.is-active {
  border-color: var(--brand);
  opacity: 1;
}

/* ---------- 图片放大 ---------- */

.app-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(10, 10, 14, 0.9);
  cursor: zoom-out;
}

.app-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

.app-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

/* ---------- 视频 ---------- */

.app-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.app-video video {
  display: block;
  width: 100%;
  max-height: 560px;
}

.app-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  cursor: pointer;
}

.app-video-play svg {
  width: 64px;
  height: 64px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

/* ---------- 标签页 ---------- */

.app-tabs {
  display: flex;
  gap: 6px;
  margin: clamp(24px, 3vw, 36px) 0 24px;
  border-bottom: 1px solid var(--line);
}

.app-tab {
  position: relative;
  padding: 11px 18px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  cursor: pointer;
  transition: color 0.14s ease;
}

.app-tab:hover {
  color: var(--text);
}

.app-tab.is-active {
  color: var(--text);
  font-weight: 600;
}

.app-tab.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

/* ---------- 详细介绍 ---------- */

.app-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
}

.app-about-main {
  min-width: 0;
}

.md-body {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

.md-body h3 {
  margin: 28px 0 12px;
  font-size: 1.16rem;
  color: var(--text);
}

.md-body h4 {
  margin: 22px 0 10px;
  font-size: 1.02rem;
  color: var(--text);
}

.md-body p {
  margin: 0 0 14px;
}

.md-body ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.md-body li {
  margin-bottom: 7px;
}

.md-body blockquote {
  margin: 18px 0;
  padding: 12px 16px;
  border-left: 3px solid color-mix(in srgb, var(--brand) 50%, transparent);
  border-radius: 0 8px 8px 0;
  background: var(--surface-subtle);
  color: var(--muted);
}

.md-body blockquote p {
  margin: 0;
}

.md-body code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-subtle);
  font-size: 0.88em;
}

.md-body strong {
  color: var(--text);
}

.md-body a {
  color: var(--brand);
  text-decoration: none;
}

.md-body a:hover {
  text-decoration: underline;
}

.app-about-side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.app-facts {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.app-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.app-facts > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.app-facts dt {
  color: var(--muted);
  white-space: nowrap;
}

.app-facts dd {
  margin: 0;
  color: var(--text);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-facts a {
  color: var(--brand);
  text-decoration: none;
}

.app-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-tag {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ============================================================
   评价
   ============================================================ */

.reviews {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 860px;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.reviews-score strong {
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.reviews-score em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.rating-bars {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}

.rating-bar-star {
  width: 34px;
  flex: 0 0 auto;
}

.rating-bar-track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-subtle);
  overflow: hidden;
}

.rating-bar-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #e8a33d;
  transition: width 0.3s ease;
}

.rating-bar-num {
  width: 28px;
  text-align: right;
  flex: 0 0 auto;
}

.review-login-hint {
  padding: 12px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.review-login-hint a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.review-form,
.review-mine {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.review-form h4 {
  margin: 0 0 14px;
  font-size: 0.96rem;
}

.review-form textarea {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-subtle);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.review-form textarea:focus {
  border-color: var(--brand);
}

.review-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.review-form-count {
  margin-right: auto;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.star-picker {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.star-picker .star {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--line-strong);
  transition: color 0.12s ease, transform 0.12s ease;
}

.star-picker .star.is-on {
  color: #e8a33d;
  transform: scale(1.06);
}

.star-picker em {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.review-mine p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.review-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-author {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-list li {
  display: flex;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.review-list li:last-child {
  border-bottom: 0;
}

.review-body {
  flex: 1;
  min-width: 0;
}

.review-body .review-head strong {
  font-size: 0.88rem;
}

.review-body time {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.75rem;
}

.review-body p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.review-skeleton {
  height: 120px;
  border-radius: 14px;
  background: var(--surface-subtle);
  animation: store-pulse 1.4s ease-in-out infinite;
}

/* ============================================================
   讨论
   ============================================================ */

.discussion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 860px;
}

.disc-new {
  align-self: flex-start;
}

.disc-compose {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.disc-compose input,
.disc-compose textarea,
.disc-reply textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-subtle);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  line-height: 1.7;
  resize: vertical;
  outline: none;
}

.disc-compose input:focus,
.disc-compose textarea:focus,
.disc-reply textarea:focus {
  border-color: var(--brand);
}

.disc-compose-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.disc-list {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}

.disc-list > li {
  border-bottom: 1px solid var(--line);
}

.disc-list > li:last-child {
  border-bottom: 0;
}

.disc-list > li.is-open {
  background: var(--surface-subtle);
}

.disc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.disc-head-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.disc-head-main strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.disc-pin {
  margin-right: 8px;
  padding: 1px 7px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
}

.disc-head-meta {
  color: var(--muted-2);
  font-size: 0.76rem;
}

.disc-replies {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.disc-detail {
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.disc-body {
  padding: 16px 0;
}

.disc-body p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.disc-posts {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.disc-posts li {
  display: flex;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.disc-posts li > div {
  flex: 1;
  min-width: 0;
}

.disc-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.disc-post-head strong {
  font-size: 0.84rem;
}

.disc-post-head time {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.74rem;
}

.disc-posts p {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.disc-reply {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  margin-top: 16px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .app-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .store-grid {
    grid-template-columns: 1fr;
  }

  .app-detail-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 16px;
  }

  .app-detail-cta {
    width: 100%;
    padding-top: 0;
  }

  .app-detail-cta .btn {
    width: 100%;
  }

  .reviews-summary {
    gap: 22px;
  }

  .app-gallery-thumb {
    width: 84px;
    height: 54px;
  }
}/* ============================================================
   登录 / 注册
   ============================================================ */

.auth-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.auth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 30% 30%, #000, transparent 75%);
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.auth-orb-a {
  top: -300px;
  left: -220px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.42), transparent 66%);
}

.auth-orb-b {
  right: -180px;
  bottom: -320px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 66%);
}

.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
}

.auth-aside {
  display: flex;
  flex-direction: column;
  padding: 42px 56px;
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(124, 108, 255, 0.07), transparent 48%);
}

.auth-aside-body {
  width: 100%;
  max-width: 470px;
  margin: auto 0;
  padding: 40px 0;
}

.auth-aside-body h1 {
  margin: 18px 0;
  font-size: clamp(38px, 3.5vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.05em;
}

.auth-aside-body > p {
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.auth-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 34px;
}

.auth-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.auth-product strong {
  display: block;
  font-size: 13px;
}

.auth-product span:not(.auth-product-badge) {
  color: var(--muted-2);
  font-size: 10.5px;
}

.auth-product-badge {
  margin-left: auto;
  padding: 2px 8px;
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.06);
  color: #8fe8c6;
  font-size: 9.5px;
  white-space: nowrap;
}

.auth-aside-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-2);
  font-size: 10.5px;
}

.auth-aside-foot span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}

.auth-aside-foot svg {
  color: #6ee7b7;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
}

.auth-main-inner {
  width: min(404px, 100%);
}

.auth-card {
  width: 100%;
}

.auth-card-head {
  margin-bottom: 26px;
}

.auth-card-head h2 {
  margin: 12px 0 8px;
  font-size: 30px;
  letter-spacing: -0.035em;
}

.auth-card-head p {
  color: var(--muted);
  font-size: 13px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form .btn-block {
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 14px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-hint {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

.auth-back:hover {
  color: var(--text);
}

.auth-mobile-head {
  display: none;
}

.password-meter {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.password-meter i {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.password-meter em {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 10px;
  font-style: normal;
}

.password-meter.strength-1 i.is-on {
  background: #ff7a86;
}

.password-meter.strength-2 i.is-on {
  background: #fbbf24;
}

.password-meter.strength-3 i.is-on {
  background: #60a5fa;
}

.password-meter.strength-4 i.is-on {
  background: #34d399;
}

@media (max-width: 1020px) {
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-aside {
    display: none;
  }

  .auth-mobile-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
  }

  .auth-mobile-back {
    color: var(--muted);
    font-size: 12px;
  }

  .auth-main {
    align-items: flex-start;
    min-height: calc(100vh - 80px);
    padding: 24px 24px 64px;
  }
}

@media (max-width: 480px) {
  .auth-card-head h2 {
    font-size: 27px;
  }

  .auth-main {
    padding: 12px 20px 48px;
  }

  .auth-mobile-head {
    padding: 16px 20px;
  }
}
/* ============================================================
   用户中心
   ============================================================ */

.app-shell {
  display: flex;
  min-height: 100vh;
  background: radial-gradient(120% 80% at 100% 0%, rgba(124, 108, 255, 0.06), transparent 52%), var(--bg);
}

/* ---------- 侧边栏 ---------- */

.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: 260px;
  padding: 22px 16px 16px;
  border-right: 1px solid var(--line);
  background: rgba(8, 10, 16, 0.82);
  backdrop-filter: blur(20px);
}

.app-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 20px;
}

.app-sidebar-close {
  display: none;
}

.app-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-height: 0;
  overflow-y: auto;
  /* 用户信息固定在左下角：导航区撑满剩余空间 */
  padding-bottom: 8px;
}

.app-nav-label {
  margin: 6px 0 8px;
  padding: 0 12px;
  color: var(--muted-2);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-nav-label-gap {
  margin-top: 22px;
}

.app-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.app-nav-link svg {
  color: #7b8499;
  flex: 0 0 auto;
}

.app-nav-link:hover {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
}

.app-nav-link.is-active {
  color: #fff;
  border-color: rgba(124, 108, 255, 0.22);
  background: linear-gradient(90deg, rgba(124, 108, 255, 0.18), rgba(124, 108, 255, 0.05));
}

.app-nav-link.is-active svg {
  color: #c4b5fd;
}

.app-nav-count {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: normal;
}

.app-nav-external {
  margin-left: auto;
  color: var(--muted-2);
}

.app-sidebar-promo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  margin-bottom: 12px;
  padding: 11px 12px;
  border: 1px solid rgba(124, 108, 255, 0.18);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(124, 108, 255, 0.1), rgba(45, 212, 191, 0.04));
}

.app-promo-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(124, 108, 255, 0.14);
  color: #c4b5fd;
}

.app-sidebar-promo strong {
  display: block;
  font-size: 11.5px;
}

.app-sidebar-promo p {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.4;
}

.app-sidebar-promo a {
  margin-left: auto;
  color: #c4b5fd;
}

.app-user {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 6px 2px;
  border-top: 1px solid var(--line);
}

.app-user-copy {
  min-width: 0;
  flex: 1;
}

.app-user-copy strong {
  display: block;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-user-copy span {
  display: block;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(2, 3, 7, 0.65);
  backdrop-filter: blur(3px);
}

/* ---------- 内容区 ---------- */

.app-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  margin-left: 260px;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 7, 12, 0.74);
  backdrop-filter: blur(18px);
}

.app-menu {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text-soft);
}

.app-topbar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.app-topbar-title i {
  color: var(--muted-2);
  font-style: normal;
}

.app-topbar-title strong {
  color: var(--text-soft);
  font-weight: 500;
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.app-topbar-status {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(110, 231, 183, 0.18);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.05);
  color: #8fe8c6;
  font-size: 9.5px;
}

.app-topbar-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6ee7b7;
}

.app-topbar-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.2s;
}

.app-topbar-link:hover {
  color: var(--text);
}

.app-topbar-avatar {
  display: flex;
}

.app-page {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 32px 64px;
}

.app-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn 0.3s ease;
}

/* ---------- 页头 ---------- */

.app-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.app-page-head h1 {
  margin: 12px 0 8px;
  font-size: clamp(25px, 2.5vw, 33px);
  letter-spacing: -0.035em;
}

.app-page-head p {
  max-width: 640px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.app-page-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 统计卡 ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-card {
  display: flex;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.014));
}

.stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.stat-icon-violet {
  background: rgba(124, 108, 255, 0.12);
  color: #b9b0ff;
}

.stat-icon-teal {
  background: rgba(45, 212, 191, 0.1);
  color: #5eead4;
}

.stat-icon-blue {
  background: rgba(91, 157, 255, 0.12);
  color: #93b4ff;
}

.stat-icon-amber {
  background: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
}

.stat-card strong {
  display: block;
  margin: 2px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.stat-card strong em {
  color: var(--muted-2);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 500;
}

.stat-text {
  font-size: 17px !important;
  font-weight: 600;
}

.stat-sub {
  display: block;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.4;
}

/* ---------- 概览 ---------- */

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.overview-main,
.overview-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.app-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.app-section-head h2 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-section-head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.overview-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ov-product {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.25s, background 0.25s;
}

.ov-product:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.037);
}

.ov-product-top {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ov-product-name {
  min-width: 0;
  flex: 1;
}

.ov-product-name span {
  display: block;
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ov-product-name h3 {
  overflow: hidden;
  margin-top: 1px;
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ov-product-line {
  min-height: 31px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.ov-license {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted-2);
  font-size: 9px;
}

.ov-license code {
  overflow: hidden;
  color: #cbd3ff;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ov-license span {
  margin-left: auto;
  color: #7fe9d4;
  font-size: 8.5px;
  white-space: nowrap;
}

.ov-license.is-empty span {
  margin-left: 0;
  color: var(--muted-2);
}

.ov-product-actions {
  display: flex;
  gap: 6px;
  margin-top: auto;
  flex-wrap: wrap;
}

.ov-product-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 0 8px;
}

/* 状态徽标 */

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 8.5px;
  white-space: nowrap;
}

.status-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.status-badge.is-active {
  border-color: rgba(110, 231, 183, 0.2);
  background: rgba(110, 231, 183, 0.07);
  color: #8fe8c6;
}

.status-badge.is-active i {
  background: #6ee7b7;
}

.status-badge.is-idle {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
}

.status-badge.is-idle i {
  background: #6b7489;
}

/* 动态 */

.activity-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.activity-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.activity-list li:last-child {
  border-bottom: none;
}

.activity-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #9fb0d0;
}

.activity-account-created {
  background: rgba(124, 108, 255, 0.12);
  color: #c4b5fd;
}

.activity-account-login {
  background: rgba(91, 157, 255, 0.1);
  color: #93b4ff;
}

.activity-product-activated {
  background: rgba(45, 212, 191, 0.1);
  color: #5eead4;
}

.activity-product-downloaded {
  background: rgba(91, 157, 255, 0.12);
  color: #93b4ff;
}

.activity-list li > div {
  min-width: 0;
  flex: 1;
}

.activity-list strong {
  display: block;
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 500;
}

.activity-list div span {
  display: block;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.activity-list time {
  color: var(--muted-2);
  font-size: 9.5px;
  white-space: nowrap;
}

/* 侧栏卡片 */

.account-summary-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.account-summary-top strong {
  display: block;
  font-size: 14px;
}

.account-summary-top div > span {
  color: var(--muted-2);
  font-size: 10.5px;
}

.account-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-summary-rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 10.5px;
}

.account-summary-rows span {
  color: var(--muted-2);
}

.account-summary-rows strong {
  color: var(--text-soft);
  font-weight: 500;
  text-align: right;
}

.quick-progress {
  padding: 2px 7px;
  border: 1px solid rgba(124, 108, 255, 0.2);
  border-radius: 99px;
  background: rgba(124, 108, 255, 0.1);
  color: #a99fff;
  font-family: var(--mono);
  font-size: 9px;
}

.quick-steps {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 14px;
}

.quick-steps li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11.5px;
}

.quick-steps li > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted-2);
  font-size: 9px;
}

.quick-steps li.is-done {
  color: var(--text-soft);
}

.quick-steps li.is-done > span {
  border-color: rgba(110, 231, 183, 0.3);
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.app-help {
  display: flex;
  gap: 11px;
}

.app-help-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(124, 108, 255, 0.1);
  color: #c4b5fd;
}

.app-help h3 {
  margin-bottom: 3px;
  font-size: 12.5px;
}

.app-help p {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.app-help-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.app-help-links a {
  color: #a99fff;
  font-size: 10.5px;
}

.app-help-links a:hover {
  color: #c9c2ff;
}

/* ---------- 我的产品 ---------- */

.app-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(124, 108, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(124, 108, 255, 0.12), rgba(45, 212, 191, 0.035));
}

.app-banner-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(124, 108, 255, 0.14);
  color: #c4b5fd;
}

.app-banner strong {
  display: block;
  font-size: 12.5px;
}

.app-banner p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.app-banner-link {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #c4b5fd;
  font-size: 11px;
  white-space: nowrap;
}

.mp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s, background 0.3s;
}

.mp-card.is-active {
  border-color: rgba(110, 231, 183, 0.18);
  background: linear-gradient(120deg, rgba(110, 231, 183, 0.035), rgba(255, 255, 255, 0.018));
}

.mp-card:hover {
  border-color: var(--line-strong);
}

.mp-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.mp-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-head h2 {
  margin-top: 2px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.mp-head .status-badge {
  margin-left: auto;
}

.mp-desc {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.mp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-features span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.025);
  color: #aeb6c9;
  font-size: 9.5px;
}

.mp-features svg {
  color: var(--muted-2);
}

.mp-ent {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.2);
}

.mp-ent-key {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.mp-ent-key > span {
  color: var(--muted-2);
  font-size: 9px;
  white-space: nowrap;
}

.mp-ent-key .license-key {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.mp-ent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted-2);
  font-size: 9px;
}

.mp-locked {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.55;
}

.mp-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.mp-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: #0a0c14;
}

.mp-media img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  object-position: top;
}

.mp-media .browser-frame,
.mp-media .window-frame {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.mp-media .browser-chrome {
  height: 22px;
}

.mp-media .browser-url {
  height: 13px;
  font-size: 6px;
}

.mp-media-dsh {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 128px;
  background: radial-gradient(circle at 50% 40%, rgba(109, 139, 255, 0.18), transparent 65%), #070910;
  color: var(--muted-2);
  font-size: 9px;
}

.mp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-actions .btn {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.mp-meta {
  display: flex;
  gap: 12px;
  margin-top: auto;
  color: var(--muted-2);
  font-size: 9px;
}

.mp-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- 授权与下载 ---------- */

.license-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.license-summary > div {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.license-summary > div > div span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.license-summary strong {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.license-summary strong em {
  color: var(--muted-2);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
}

.license-summary-text {
  font-size: 14px !important;
}

.license-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.license-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.license-table th,
.license-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.license-table thead th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.license-table tbody tr:last-child th,
.license-table tbody tr:last-child td {
  border-bottom: none;
}

.license-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.license-product strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.license-product span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
}

.license-date {
  color: var(--muted);
  font-size: 10.5px;
  white-space: nowrap;
}

.license-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.license-table .license-key {
  min-width: 200px;
}

.license-table .license-key code {
  font-size: 10.5px;
}

.empty-state-lg {
  padding: 60px 24px;
  background: rgba(255, 255, 255, 0.02);
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 6px;
  border: 1px solid rgba(124, 108, 255, 0.2);
  border-radius: 50%;
  background: rgba(124, 108, 255, 0.1);
  color: #c4b5fd;
}

.empty-state-lg .btn {
  margin-top: 10px;
}

.license-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.license-help-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.license-help-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.license-help-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #6ee7b7;
}

.license-help-list strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}

.license-help-list span {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.5;
}

.license-help-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.6;
}

.license-help-desc {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.license-code {
  margin: 12px 0;
  padding: 12px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #070910;
}

.license-code code {
  color: #b7c2e8;
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  white-space: pre;
}

.license-help-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
}

.license-help-foot svg {
  color: #8b95ad;
}

/* ---------- 账号与安全 ---------- */

.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.account-form-card {
  padding: 22px;
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.avatar-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.avatar-editor-controls {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

.hue-range {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  outline: none;
  background: linear-gradient(90deg, hsl(0 80% 60%), hsl(60 80% 60%), hsl(120 80% 60%), hsl(180 80% 60%), hsl(240 80% 60%), hsl(300 80% 60%), hsl(360 80% 60%));
  appearance: none;
  cursor: pointer;
}

.hue-range::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: hsl(var(--hue) 80% 60%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  appearance: none;
}

.hue-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: hsl(var(--hue) 80% 60%);
}

.hue-value {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9.5px;
}

.account-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.account-meta {
  color: var(--muted-2);
  font-size: 9.5px;
}

.account-submit {
  align-self: flex-start;
}

.sessions-card {
  padding: 22px;
}

.session-list {
  border-top: 1px solid var(--line);
}

.session-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
}

.session-list li:last-child {
  border-bottom: none;
}

.session-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: #9fb0d0;
}

.session-main {
  min-width: 0;
  flex: 1;
}

.session-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.session-title strong {
  font-size: 11.5px;
  font-weight: 500;
}

.session-current {
  padding: 1px 6px;
  border: 1px solid rgba(110, 231, 183, 0.2);
  border-radius: 99px;
  background: rgba(110, 231, 183, 0.06);
  color: #8fe8c6;
  font-size: 8px;
}

.session-idle {
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-2);
  font-size: 8px;
}

.session-meta {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.6;
}

.session-action-hint {
  color: var(--muted-2);
  font-size: 9px;
}

.sessions-loading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.sessions-loading .btn-spinner {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #9c8cff;
}

.danger-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  border-color: rgba(255, 107, 122, 0.18);
  background: linear-gradient(120deg, rgba(255, 107, 122, 0.04), rgba(255, 255, 255, 0.012));
}

.danger-card h3 {
  margin-bottom: 5px;
  font-size: 14px;
}

.danger-card p {
  max-width: 660px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.65;
}

.delete-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1180px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-aside {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .overview-aside .app-help {
    grid-column: span 2;
  }

  .mp-card {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

@media (max-width: 1024px) {
  .app-sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
  }

  .app-sidebar.is-open {
    transform: none;
  }

  .app-sidebar-close {
    display: grid;
  }

  .app-content {
    margin-left: 0;
  }

  .app-menu {
    display: grid;
  }

  .app-topbar {
    padding: 0 22px;
  }

  .app-page {
    padding: 28px 22px 56px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .overview-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-card {
    grid-template-columns: 1fr;
  }

  .mp-side {
    padding-top: 14px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: none;
  }

  .mp-media img {
    height: 160px;
  }

  .mp-media-dsh {
    min-height: 140px;
  }

  .account-grid,
  .license-info-grid {
    grid-template-columns: 1fr;
  }

  .license-summary {
    grid-template-columns: 1fr;
  }

  .license-summary > div {
    padding: 12px 14px;
  }

  .license-summary strong {
    font-size: 17px;
  }

  .app-page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .app-banner {
    flex-wrap: wrap;
  }

  .app-banner-link {
    margin-left: 46px;
  }

  .danger-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .app-topbar {
    height: 60px;
    padding: 0 16px;
  }

  .app-topbar-status {
    display: none;
  }

  .app-topbar-link {
    display: none;
  }

  .app-page {
    padding: 22px 16px 48px;
  }

  .stat-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
  }

  .stat-card strong {
    font-size: 19px;
  }

  .overview-aside {
    grid-template-columns: 1fr;
  }

  .overview-aside .app-help {
    grid-column: auto;
  }

  .overview-products {
    grid-template-columns: 1fr;
  }

  .ov-product-actions .btn {
    flex: 0 0 auto;
    padding: 0 14px;
  }

  .ov-product-line {
    min-height: 0;
  }

  .activity-list li {
    padding: 11px 13px;
  }

  .activity-list time {
    display: none;
  }

  .app-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .app-page-head h1 {
    font-size: 26px;
  }

  .mp-card {
    padding: 17px;
  }

  .mp-head h2 {
    font-size: 16px;
  }

  .mp-actions .btn {
    flex: 1 1 100%;
  }

  .session-meta {
    font-size: 8.5px;
  }

  .session-list li {
    align-items: flex-start;
  }

  .sessions-card,
  .account-form-card,
  .app-card {
    padding: 18px;
  }

  .app-user {
    padding-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-icon {
    display: none;
  }

  .app-banner-link {
    margin-left: 0;
  }

  .license-table .license-key {
    min-width: 170px;
  }

  .avatar-editor {
    gap: 12px;
  }

  .avatar-xl {
    width: 62px;
    height: 62px;
    font-size: 23px;
  }
}


/* ============================================================
   用户中心 · 概览页
   统计卡 / 我的应用 / 最近动态
   注：.app-card 与 .app-card-head 定义在 global.css
   ============================================================ */

/* ---------- 统计卡 ---------- */

.app-stat-grid {
  display: grid;
  /* 3 列等宽铺满容器；窄屏自动降为 2 列 / 1 列 */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 22px;
}

.app-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.app-stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
}

.app-stat-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.app-stat-card strong {
  font-size: 1.32rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.app-stat-card > div > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 我的应用 ---------- */

.app-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.app-panel-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-subtle);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.app-panel-tile:hover:not(.is-disabled) {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: var(--surface);
  transform: translateY(-1px);
}

.app-panel-tile.is-disabled {
  opacity: 0.62;
  cursor: default;
}

.app-panel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--brand) 13%, transparent);
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 700;
}

.app-panel-tile > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.app-panel-tile strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.app-panel-tile > div > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 最近动态 ---------- */

.app-activity {
  display: flex;
  flex-direction: column;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.app-activity li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.app-activity li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.app-activity-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface-subtle);
  color: var(--muted);
}

.app-activity li > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.app-activity strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.app-activity p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.app-activity time {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 10.5px;
  white-space: nowrap;
}

@media (max-width: 880px) {
  .app-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .app-stat-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-panel-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   管理后台
   ============================================================ */

.admin-shell .app-sidebar {
  border-right-color: color-mix(in srgb, var(--brand) 18%, var(--line));
}

.app-nav-admin {
  color: var(--brand);
}

.app-nav-admin:hover {
  color: var(--text);
}

.admin-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent);
  border-radius: 999px;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  font-size: 10px;
  white-space: nowrap;
}

.admin-promo {
  border-color: color-mix(in srgb, var(--brand) 25%, var(--line));
  background: var(--grad-soft);
}

.admin-page {
  max-width: 1320px;
}

.admin-page-head {
  margin-bottom: 22px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  box-shadow: var(--theme-shadow);
}

.admin-stat-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 11%, transparent);
}

.admin-stat-teal .admin-stat-icon {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, transparent);
}

.admin-stat-amber .admin-stat-icon {
  color: #f2c46d;
  background: rgba(242, 196, 109, 0.1);
}

.admin-stat-danger .admin-stat-icon {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.admin-stat > div {
  min-width: 0;
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.admin-stat strong {
  display: block;
  margin: 2px 0 1px;
  color: var(--text);
  font-size: 25px;
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.admin-stat em {
  display: block;
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.45;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-panel {
  padding: 20px;
}

.admin-panel .app-card-head {
  margin-bottom: 16px;
}

.admin-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-size: 10.5px;
  white-space: nowrap;
}

.admin-inline-link:hover {
  color: var(--text);
}

.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 34px;
  align-items: center;
  gap: 12px;
}

.admin-product-meta strong {
  display: block;
  font-size: 12px;
  font-weight: 520;
}

.admin-product-meta span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.admin-product-bar {
  display: flex;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-subtle);
}

.admin-product-bar-active {
  height: 100%;
  background: var(--teal);
}

.admin-product-bar-revoked {
  height: 100%;
  background: var(--danger);
  opacity: 0.65;
}

.admin-product-row b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-align: right;
}

.admin-mini-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-order-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: var(--radius-md);
  background: var(--grad-soft);
  transition: border-color 0.2s;
}

.admin-order-banner:hover {
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
}

.admin-order-banner-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.admin-order-banner div {
  flex: 1;
}

.admin-order-banner strong {
  display: block;
  font-size: 11.5px;
  font-weight: 540;
}

.admin-order-banner p {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-order-banner > svg {
  color: var(--muted);
}

.admin-mini-metrics div {
  min-width: 0;
}

.admin-mini-metrics span {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
}

.admin-mini-metrics strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 560;
}

.admin-recent-users {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-recent-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 6px;
  border-radius: 9px;
  transition: background 0.2s;
}

.admin-recent-user:hover {
  background: var(--surface-subtle);
}

.admin-recent-user > div {
  min-width: 0;
  flex: 1;
}

.admin-recent-user strong {
  display: block;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-recent-user div span {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-recent-user time {
  color: var(--muted-2);
  font-size: 9px;
  white-space: nowrap;
}

.admin-audit-panel {
  margin-top: 14px;
}

.admin-event-list {
  display: flex;
  flex-direction: column;
}

.admin-event-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.admin-event-row:last-child {
  border-bottom: 0;
}

.admin-event-dot {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}

.admin-event-main {
  min-width: 0;
  flex: 1;
}

.admin-event-main > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-event-main strong {
  font-size: 11.5px;
  font-weight: 520;
}

.admin-event-main p {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-event-row > time {
  color: var(--muted-2);
  font-size: 9px;
  white-space: nowrap;
}

.admin-filter-panel {
  margin-bottom: 14px;
  padding: 14px 16px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-search {
  position: relative;
  flex: 1;
  min-width: 180px;
}

.admin-search > svg {
  position: absolute;
  top: 50%;
  left: 12px;
  color: var(--muted-2);
  transform: translateY(-50%);
  pointer-events: none;
}

.admin-search .input {
  width: 100%;
  padding-left: 34px;
}

.admin-select {
  width: auto;
  min-width: 110px;
  cursor: pointer;
}

.admin-table-panel {
  overflow: hidden;
  padding: 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.admin-table th,
.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface-subtle);
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr {
  transition: background 0.18s;
}

.admin-table tbody tr:hover {
  background: color-mix(in srgb, var(--brand) 4%, transparent);
}

.admin-user-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 170px;
}

.admin-user-cell > div {
  min-width: 0;
}

.admin-user-cell strong {
  display: block;
  max-width: 180px;
  overflow: hidden;
  font-size: 11.5px;
  font-weight: 520;
  text-overflow: ellipsis;
}

.admin-user-cell span {
  display: block;
  max-width: 210px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
}

.admin-user-cell-compact {
  min-width: 140px;
}

.admin-product-name span {
  display: block;
  font-size: 11.5px;
}

.admin-product-name em {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  font-style: normal;
}

.admin-license-code,
.admin-scope {
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-subtle);
  font-family: var(--mono);
  font-size: 9.5px;
}

.admin-scope {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.admin-date {
  color: var(--muted-2);
  font-size: 9.5px;
}

.admin-count {
  display: inline-block;
  min-width: 30px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 10px;
}

.admin-login-cell span,
.admin-login-cell em {
  display: block;
  font-style: normal;
}

.admin-login-cell span {
  color: var(--text-soft);
  font-size: 10px;
}

.admin-login-cell em {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.admin-mono {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
}

.is-danger-text {
  color: var(--danger) !important;
}

.is-danger-text:hover {
  background: color-mix(in srgb, var(--danger) 9%, transparent) !important;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
}

.admin-pagination > div {
  display: flex;
  gap: 4px;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-subtle);
  font-size: 8.5px;
  line-height: 1.3;
  white-space: nowrap;
}

.admin-pill-active {
  color: var(--teal);
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  background: color-mix(in srgb, var(--teal) 7%, transparent);
}

.admin-pill-disabled,
.admin-pill-expired {
  color: var(--muted-2);
}

.admin-pill-revoked {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 24%, transparent);
  background: color-mix(in srgb, var(--danger) 7%, transparent);
}

.admin-pill-admin {
  color: #f2c46d;
  border-color: rgba(242, 196, 109, 0.28);
  background: rgba(242, 196, 109, 0.07);
}

.admin-pill-user {
  color: var(--muted);
}

.admin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 46px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

.admin-empty > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 12px;
  color: var(--muted);
  background: var(--surface-subtle);
}

.admin-empty strong {
  font-size: 12.5px;
  font-weight: 520;
}

.admin-empty p {
  max-width: 330px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.admin-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--danger) 28%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--danger) 6%, transparent);
}

.admin-error > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 10%, transparent);
}

.admin-error div {
  flex: 1;
}

.admin-error strong {
  display: block;
  font-size: 11.5px;
}

.admin-error p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 220px;
  color: var(--muted);
  font-size: 10.5px;
}

.admin-confirm-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.admin-detail {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-detail-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-detail-user > div {
  min-width: 0;
  flex: 1;
}

.admin-detail-user h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 560;
}

.admin-detail-user p {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.admin-form-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.admin-field-action {
  justify-content: flex-end;
}

.admin-note {
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.6;
}

.admin-detail-stats {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-subtle);
}

.admin-detail-stats span {
  flex: 1;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-detail-stats b {
  margin-right: 3px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.admin-detail-section {
  padding-top: 2px;
}

.admin-detail-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.admin-detail-section-head h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 560;
}

.admin-detail-section-head span {
  color: var(--muted-2);
  font-size: 9px;
}

.admin-detail-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.admin-detail-list-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 9.5px;
}

.admin-detail-list-row:last-child {
  border-bottom: 0;
}

.admin-detail-list-row strong {
  flex: 0 0 92px;
  overflow: hidden;
  font-size: 10px;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-detail-list-row code {
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--muted);
  background: var(--surface-subtle);
  font-family: var(--mono);
  font-size: 8.5px;
}

.admin-detail-list-row > span:not(.admin-pill) {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-detail-list-row time {
  color: var(--muted-2);
  font-size: 8.5px;
  white-space: nowrap;
}

.admin-detail-list-row .btn {
  margin-left: auto;
}

.admin-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.admin-timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.admin-timeline-row:last-child {
  border-bottom: 0;
}

.admin-timeline-row > span {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.admin-timeline-row > div {
  min-width: 0;
  flex: 1;
}

.admin-timeline-row strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}

.admin-timeline-row p {
  margin-top: 1px;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-timeline-row time {
  color: var(--muted-2);
  font-size: 8.5px;
  white-space: nowrap;
}

.admin-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-license-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  color: var(--muted-2);
  font-size: 9.5px;
}

.admin-license-meta code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--surface-subtle);
  font-family: var(--mono);
  font-size: 8.5px;
}

.admin-config-panel {
  margin-bottom: 14px;
}

.admin-config-products {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-config-product {
  display: grid;
  grid-template-columns: 110px 130px 1fr auto;
  align-items: center;
  gap: 9px;
}

.admin-config-product strong {
  font-size: 10.5px;
  font-weight: 520;
}

.admin-config-plan-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-config-plan {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-subtle);
}

.admin-config-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-config-plan-head strong {
  display: block;
  font-size: 12px;
  font-weight: 560;
}

.admin-config-plan-head span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
}

.admin-config-current {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface-elevated);
  font-size: 9px;
  white-space: nowrap;
}

.admin-config-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.admin-config-wide {
  grid-column: span 2;
}

.admin-config-grid textarea {
  min-height: 68px;
  resize: vertical;
}

.admin-config-checks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.admin-config-checks label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-config-checks input {
  accent-color: var(--brand);
}

.admin-config-checks .btn {
  margin-left: auto;
}

.admin-pricing-panel {
  margin-bottom: 14px;
}

.admin-pricing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-pricing-head h2 {
  margin: 8px 0 5px;
  font-size: 22px;
}

.admin-pricing-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.admin-price-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.admin-price-meta {
  flex: 1;
  min-width: 130px;
}

.admin-price-meta strong {
  display: block;
  font-size: 13px;
  font-weight: 560;
}

.admin-price-meta span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9.5px;
}

.admin-price-current {
  width: 130px;
}

.admin-price-current span {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
}

.admin-price-current strong {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  font-weight: 560;
}

.admin-price-editor {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 290px;
}

.admin-price-editor .field {
  flex: 1;
}

.admin-price-editor .btn {
  flex: 0 0 auto;
}

.admin-pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.65;
}

.admin-pricing-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--teal);
}

.admin-pricing-list {
  display: flex;
  flex-direction: column;
}

.admin-pricing-simple {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.admin-pricing-simple:last-child {
  border-bottom: 0;
}

.admin-pricing-simple > div {
  flex: 1;
}

.admin-pricing-simple strong {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
}

.admin-pricing-simple div span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
}

.admin-forbidden {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px;
  background: var(--bg);
}

.admin-forbidden-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.admin-forbidden-card {
  width: min(470px, 100%);
  margin: auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  box-shadow: var(--theme-shadow);
}

.admin-forbidden-code {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 7px;
  border: 1px solid color-mix(in srgb, var(--danger) 26%, transparent);
  border-radius: 5px;
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 7%, transparent);
  font-family: var(--mono);
  font-size: 9px;
}

.admin-forbidden-card h1 {
  margin: 10px 0 8px;
  font-size: 28px;
}

.admin-forbidden-card > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.admin-forbidden-actions {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.admin-event-type {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.admin-event-type > div {
  min-width: 0;
}

.admin-event-type strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}

.admin-event-type code {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
}

.admin-event-detail {
  display: block;
  max-width: 360px;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-muted {
  color: var(--muted-2);
  font-size: 9.5px;
}

@media (max-width: 1100px) {
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-config-product {
    grid-template-columns: 1fr;
  }

  .admin-config-grid {
    grid-template-columns: 1fr;
  }

  .admin-config-wide {
    grid-column: auto;
  }

  .admin-config-checks .btn {
    margin-left: 0;
    width: 100%;
  }

  .admin-price-row {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .admin-price-editor {
    width: 100%;
  }

  .admin-price-current {
    width: auto;
  }

  .admin-mini-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-toolbar {
    flex-wrap: wrap;
  }

  .admin-search {
    flex-basis: 100%;
  }

  .admin-select {
    flex: 1;
    min-width: 0;
  }

  .admin-form-grid,
  .admin-form-grid-2 {
    grid-template-columns: 1fr;
  }

  .admin-detail-stats {
    flex-wrap: wrap;
  }

  .admin-detail-stats span {
    flex: 1 1 40%;
  }

  .admin-detail-list-row {
    flex-wrap: wrap;
  }

  .admin-detail-list-row strong {
    flex-basis: 100%;
  }

  .admin-detail-actions {
    flex-direction: column;
  }

  .admin-detail-actions .btn {
    width: 100%;
  }

  .admin-pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .admin-forbidden-card {
    padding: 24px 20px;
  }

  .admin-forbidden-actions {
    flex-direction: column;
  }

  .admin-forbidden-actions .btn {
    width: 100%;
  }
}

/* ---------- 应用编辑：截图列表 ---------- */

.shot-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.shot-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.shot-row input {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
}

.shot-row input:focus {
  border-color: var(--brand);
}

.input-area {
  resize: vertical;
  line-height: 1.7;
  font-family: inherit;
}

/* ---------- 素材上传控件 ---------- */

.upload-btn {
  display: inline-flex;
  align-items: center;
}

.upload-btn.is-dragging .btn {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
}

.upload-btn.is-busy .btn {
  cursor: progress;
  opacity: 0.75;
}

.upload-btn .btn svg {
  flex: 0 0 auto;
}

.upload-btn.is-busy .btn svg {
  animation: upload-spin 1s linear infinite;
}

@keyframes upload-spin {
  to { transform: rotate(360deg); }
}

/* ---------- 截图编辑器 ---------- */

.shot-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.shot-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1.2fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-subtle);
}

.shot-thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 40px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--surface);
  color: var(--muted-2);
}

.shot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-row input {
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.8rem;
  outline: none;
}

.shot-row input:focus {
  border-color: var(--brand);
}

.shot-actions {
  display: flex;
  gap: 2px;
}

.shot-actions .btn {
  padding: 4px 7px;
  min-width: 0;
  font-size: 0.78rem;
}

.shot-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.field-hint {
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .shot-row {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .shot-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}
/* ============================================================
   产品定价
   ============================================================ */

.pricing-section {
  border-top: 1px solid var(--line);
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.pricing-head h2 {
  margin: 8px 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.pricing-head p {
  max-width: 620px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.pricing-mode {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 260px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted-2);
  background: var(--surface-subtle);
  font-size: 9.5px;
  line-height: 1.5;
}

.pricing-mode svg {
  flex: 0 0 auto;
  color: var(--teal);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pricing-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  box-shadow: var(--theme-shadow);
}

.pricing-card.is-recommended {
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--brand) 8%, transparent), transparent 32%),
    var(--surface-elevated);
}

.pricing-card.is-current {
  border-color: color-mix(in srgb, var(--teal) 45%, var(--line));
}

.pricing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 7px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 999px;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  font-size: 8.5px;
}

.pricing-card-head {
  padding-right: 50px;
}

.pricing-plan-name {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.pricing-card-head strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 27px;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.pricing-card-head em {
  display: block;
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.5;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--text-soft);
  font-size: 10.5px;
  line-height: 1.5;
}

.pricing-features svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--teal);
}

.pricing-card-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.pricing-card-foot .btn {
  width: 100%;
}

.pricing-login-hint {
  color: var(--muted-2);
  font-size: 8.5px;
  text-align: center;
}

.pricing-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.6;
}

.pricing-footnote > span {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.pricing-footnote svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--teal);
}

.pricing-billing-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  white-space: nowrap;
}

.pricing-current-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.pricing-developing {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.pricing-developing .feature-icon {
  flex: 0 0 auto;
}

.pricing-developing h2 {
  margin: 7px 0 5px;
  font-size: 22px;
}

.pricing-developing p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

/* ---------- 用户中心：订阅与账单 ---------- */

.billing-banner {
  align-items: center;
}

.billing-entitlement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.billing-entitlement {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
}

.billing-entitlement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.billing-entitlement-head div span {
  display: block;
  color: var(--muted-2);
  font-size: 9px;
}

.billing-entitlement-head div strong {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 560;
}

.billing-status {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-2);
  background: var(--surface-subtle);
  font-size: 8.5px;
  white-space: nowrap;
}

.billing-status.is-active {
  color: var(--teal);
  border-color: color-mix(in srgb, var(--teal) 28%, transparent);
  background: color-mix(in srgb, var(--teal) 7%, transparent);
}

.billing-plan {
  min-height: 34px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.billing-entitlement-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

.billing-muted {
  color: var(--muted-2);
  font-size: 9px;
}

.billing-order-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-elevated);
}

.billing-order {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.billing-order:last-child {
  border-bottom: 0;
}

.billing-order-main {
  min-width: 0;
  flex: 1;
}

.billing-order-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.billing-order-title strong {
  font-size: 11.5px;
  font-weight: 540;
}

.billing-order-title > span:not(.billing-order-status) {
  color: var(--muted);
  font-size: 9.5px;
}

.billing-order-status {
  padding: 3px 6px;
  border-radius: 999px;
  font-size: 8px;
}

.billing-order-status.is-pending {
  color: #f2c46d;
  background: rgba(242, 196, 109, 0.08);
}

.billing-order-status.is-confirmed {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
}

.billing-order-status.is-cancelled {
  color: var(--muted-2);
  background: var(--surface-subtle);
}

.billing-order p {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.55;
}

.billing-order-period {
  color: var(--muted) !important;
}

.billing-order-actions {
  flex: 0 0 auto;
}

.billing-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.billing-empty.is-error {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 25%, transparent);
}

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

@media (max-width: 640px) {
  .billing-order {
    align-items: flex-start;
    flex-direction: column;
  }

  .billing-order-actions {
    width: 100%;
  }

  .billing-order-actions .btn {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .pricing-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-grid,
  .pricing-grid-2 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .pricing-footnote {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-card {
    padding: 18px;
  }
}
/* ============================================================
   OAuth 2.0 设备码授权确认页
   ============================================================ */

.consent-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  padding: 0 24px;
  background: var(--bg);
}

.consent-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.consent-bg .hero-grid {
  inset: 0;
  opacity: 0.35;
}

.consent-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.consent-orb-a {
  top: -260px;
  left: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.28), transparent 66%);
}

.consent-orb-b {
  right: -180px;
  bottom: -280px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16), transparent 66%);
}

.consent-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 22px 0;
}

.consent-head-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.consent-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

.consent-back:hover {
  color: var(--text);
}

.consent-main {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 1;
  place-items: center;
  padding: 24px 0 40px;
}

.consent-card {
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-elevated);
  box-shadow: var(--theme-shadow);
}

.consent-card h1 {
  margin: 14px 0 10px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.consent-lead {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.consent-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  color: var(--muted);
  font-size: 12.5px;
}

.consent-code-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 14px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
  border-radius: 12px;
  background: var(--grad-soft);
}

.consent-code-badge > span {
  color: var(--muted-2);
  font-size: 10px;
}

.consent-code-badge strong {
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.12em;
}

.consent-code-badge em {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 9.5px;
  font-style: normal;
}

.consent-client {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-subtle);
}

.consent-client-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-elevated);
}

.consent-client-icon img {
  border-radius: 6px;
}

.consent-client-icon.is-app {
  color: var(--brand);
  background: var(--grad-soft);
}

.consent-client div {
  min-width: 0;
  flex: 1;
}

.consent-client strong {
  display: block;
  font-size: 13.5px;
}

.consent-client div span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10.5px;
}

.consent-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7fe9d4;
  font-size: 9px;
  white-space: nowrap;
}

.consent-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6ee7b7;
}

.consent-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.consent-account div {
  min-width: 0;
}

.consent-account strong {
  display: block;
  font-size: 12px;
}

.consent-account div span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.consent-scopes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.consent-section-label {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.consent-scope {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.consent-scope-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.consent-scope strong {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
}

.consent-scope div span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

/* 授权码 + PKCE 同意页：回调地址与有效期提示 */
.consent-redirect {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.consent-redirect svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #6ee7b7;
}

.consent-redirect code {
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--surface-subtle);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 9.5px;
}

.consent-code-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.consent-code-form .field {
  flex: 1;
}

.consent-code-input {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.consent-safety {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.65;
}

.consent-safety svg {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #6ee7b7;
}

.consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.consent-hint {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.65;
}

.consent-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 0;
  text-align: center;
}

.consent-result-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
  border-radius: 50%;
}

.consent-result-icon.is-success {
  color: #6ee7b7;
  background: rgba(110, 231, 183, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.26);
}

.consent-result-icon.is-denied {
  color: #ff9ba5;
  background: rgba(255, 107, 122, 0.09);
  border: 1px solid rgba(255, 107, 122, 0.24);
}

.consent-result h1 {
  margin-top: 10px;
}

.consent-result p {
  max-width: 360px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.consent-result-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.consent-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 9.5px;
}

@media (max-width: 640px) {
  .consent-page {
    padding: 0 16px;
  }

  .consent-head {
    padding: 16px 0;
  }

  .consent-head-actions {
    gap: 10px;
  }

  .consent-back {
    display: none;
  }

  .consent-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .consent-card h1 {
    font-size: 27px;
  }

  .consent-code-badge {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .consent-code-badge em {
    width: 100%;
    margin-left: 0;
  }

  .consent-code-form {
    flex-direction: column;
    align-items: stretch;
  }

  .consent-actions {
    flex-direction: column-reverse;
  }

  .consent-actions .btn {
    width: 100%;
  }

  .consent-result-actions {
    flex-direction: column;
    width: 100%;
  }

  .consent-result-actions .btn {
    width: 100%;
  }

  .consent-footer {
    flex-direction: column;
    gap: 5px;
    padding-bottom: 18px;
    text-align: center;
  }
}
/* ============================================================
   主题：星云（默认） / Claude 暖白 / 跟随系统
   ============================================================ */

:root {
  --surface-elevated: #0c0f17;
  --surface-card: rgba(255, 255, 255, 0.035);
  --surface-subtle: rgba(255, 255, 255, 0.018);
  --theme-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.9);
}

[data-theme='claude'] {
  --bg: #f7f3ea;
  --bg-soft: #f1ebe0;
  --surface: #fffdf8;
  --surface-2: #f4eee3;
  --text: #2b2823;
  --text-soft: #45403a;
  --muted: #6f685d;
  --muted-2: #8b8174;
  --line: rgba(61, 54, 42, 0.13);
  --line-strong: rgba(61, 54, 42, 0.23);
  --brand: #c15f3c;
  --brand-2: #d97757;
  --teal: #7b8b6f;
  --danger: #b5473b;
  --grad: linear-gradient(120deg, #b4532f 0%, #d97757 52%, #b98b5e 100%);
  --grad-soft: linear-gradient(120deg, rgba(193, 95, 60, 0.12), rgba(217, 119, 87, 0.08), rgba(123, 139, 111, 0.09));
  --surface-elevated: #fffdf8;
  --surface-card: #fffdf8;
  --surface-subtle: #fbf7ef;
  --theme-shadow: 0 26px 55px -30px rgba(61, 54, 42, 0.4);
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia,
    "Times New Roman", serif;
}

/* ---------- 基础 ---------- */

[data-theme='claude'] body {
  background: var(--bg);
  color: var(--text);
}

[data-theme='claude'] ::selection {
  background: rgba(193, 95, 60, 0.22);
  color: #2b2823;
}

[data-theme='claude'] ::-webkit-scrollbar-track {
  background: #f1ebe0;
}

[data-theme='claude'] ::-webkit-scrollbar-thumb {
  background: rgba(61, 54, 42, 0.2);
  border-color: #f1ebe0;
}

[data-theme='claude'] ::-webkit-scrollbar-thumb:hover {
  background: rgba(61, 54, 42, 0.3);
}

[data-theme='claude'] :focus-visible {
  outline-color: #c15f3c;
}

[data-theme='claude'] h1,
[data-theme='claude'] h2,
[data-theme='claude'] h3,
[data-theme='claude'] h4,
[data-theme='claude'] .hero-title,
[data-theme='claude'] .page-title,
[data-theme='claude'] .section-title,
[data-theme='claude'] .manifesto blockquote,
[data-theme='claude'] .final-cta h2,
[data-theme='claude'] .not-found h1,
[data-theme='claude'] .product-tagline,
[data-theme='claude'] .product-row-tagline,
[data-theme='claude'] .tile-tagline,
[data-theme='claude'] .product-heading h1,
[data-theme='claude'] .auth-card-head h2,
[data-theme='claude'] .auth-aside-body h1,
[data-theme='claude'] .app-page-head h1,
[data-theme='claude'] .modal-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

[data-theme='claude'] .eyebrow {
  color: var(--brand);
  letter-spacing: 0.18em;
}

[data-theme='claude'] .eyebrow-dot {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(123, 139, 111, 0.15);
}

[data-theme='claude'] .text-gradient {
  background: linear-gradient(108deg, #9e4a2f 0%, #c15f3c 45%, #b98b5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme='claude'] .brand-ai {
  background: linear-gradient(120deg, #9e4a2f, #d97757);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme='claude'] .brand-mark {
  box-shadow: 0 8px 20px -12px rgba(61, 54, 42, 0.45);
}

[data-theme='claude'] .section-desc,
[data-theme='claude'] .page-lead,
[data-theme='claude'] .hero-lead,
[data-theme='claude'] .product-summary,
[data-theme='claude'] .auth-card-head p,
[data-theme='claude'] .auth-aside-body > p,
[data-theme='claude'] .app-page-head p {
  color: var(--muted);
}

/* ---------- 按钮与表单 ---------- */

[data-theme='claude'] .btn-primary {
  background: linear-gradient(135deg, #c15f3c, #d97757);
  color: #fffaf4;
  box-shadow: 0 12px 28px -14px rgba(193, 95, 60, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

[data-theme='claude'] .btn-primary:hover {
  box-shadow: 0 18px 36px -16px rgba(193, 95, 60, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

[data-theme='claude'] .btn-secondary {
  background: #fffdf8;
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

[data-theme='claude'] .btn-secondary:hover {
  background: #f5efe4;
  border-color: rgba(61, 54, 42, 0.3);
}

[data-theme='claude'] .btn-ghost {
  color: var(--muted);
}

[data-theme='claude'] .btn-ghost:hover {
  color: var(--text);
  background: rgba(61, 54, 42, 0.06);
}

[data-theme='claude'] .btn-danger {
  color: #9f392f;
  background: rgba(181, 71, 59, 0.07);
  border-color: rgba(181, 71, 59, 0.28);
}

[data-theme='claude'] .btn-spinner {
  border-color: rgba(255, 250, 244, 0.4);
  border-top-color: #fffaf4;
}

[data-theme='claude'] .icon-button:hover {
  color: var(--text);
  background: rgba(61, 54, 42, 0.06);
  border-color: var(--line);
}

[data-theme='claude'] .input {
  background: #fffdf8;
  border-color: var(--line-strong);
  color: var(--text);
}

[data-theme='claude'] .input::placeholder {
  color: #a3998a;
}

[data-theme='claude'] .input:hover {
  border-color: rgba(61, 54, 42, 0.32);
}

[data-theme='claude'] .input:focus {
  background: #fff;
  border-color: rgba(193, 95, 60, 0.62);
  box-shadow: 0 0 0 4px rgba(193, 95, 60, 0.12);
}

[data-theme='claude'] .input.is-readonly {
  background: #f4eee3;
  color: var(--muted);
}

[data-theme='claude'] .field-icon {
  color: #9a8f7e;
}

[data-theme='claude'] .field-action {
  color: #8b8174;
}

[data-theme='claude'] .field-action:hover {
  color: var(--text);
  background: rgba(61, 54, 42, 0.07);
}

[data-theme='claude'] .field-link,
[data-theme='claude'] .checkbox a {
  color: var(--brand);
}

[data-theme='claude'] .checkbox {
  color: var(--muted);
}

[data-theme='claude'] .checkbox-box {
  background: #fffdf8;
  border-color: rgba(61, 54, 42, 0.28);
}

[data-theme='claude'] .checkbox input:checked + .checkbox-box {
  background: var(--brand);
  border-color: var(--brand);
  color: #fffaf4;
}

[data-theme='claude'] .form-alert {
  background: rgba(181, 71, 59, 0.07);
  border-color: rgba(181, 71, 59, 0.26);
  color: #8e362d;
}

[data-theme='claude'] .field-error {
  color: #9f392f;
}

/* ---------- 导航 ---------- */

[data-theme='claude'] .site-header.is-scrolled {
  background: rgba(247, 243, 234, 0.86);
  border-bottom-color: var(--line);
}

[data-theme='claude'] .header-link {
  color: var(--muted);
}

[data-theme='claude'] .header-link:hover {
  color: var(--text);
  background: rgba(61, 54, 42, 0.055);
}

[data-theme='claude'] .header-link.is-active {
  color: var(--text);
}

[data-theme='claude'] .header-login {
  color: var(--muted);
}

[data-theme='claude'] .header-account {
  background: rgba(255, 253, 248, 0.7);
  border-color: var(--line);
  color: var(--text-soft);
}

[data-theme='claude'] .header-account:hover {
  background: #fffdf8;
  border-color: var(--line-strong);
}

[data-theme='claude'] .menu-toggle {
  background: #fffdf8;
  border-color: var(--line);
  color: var(--text-soft);
}

[data-theme='claude'] .mobile-nav {
  background: rgba(247, 243, 234, 0.98);
  border-top-color: var(--line);
}

[data-theme='claude'] .mobile-nav nav a {
  color: var(--text-soft);
  border-bottom-color: var(--line);
}

[data-theme='claude'] .mobile-nav nav a svg {
  color: var(--muted-2);
}

/* ---------- Hero ---------- */

[data-theme='claude'] .hero {
  background: linear-gradient(180deg, #fbf8f1 0%, #f7f3ea 58%, #f7f3ea 100%);
}

[data-theme='claude'] .hero-grid {
  background-image: linear-gradient(rgba(61, 54, 42, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 54, 42, 0.055) 1px, transparent 1px);
  opacity: 0.6;
}

[data-theme='claude'] .hero-orb-a {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.24), transparent 68%);
  opacity: 0.85;
}

[data-theme='claude'] .hero-orb-b {
  background: radial-gradient(circle, rgba(123, 139, 111, 0.18), transparent 68%);
  opacity: 0.9;
}

[data-theme='claude'] .hero-orb-c {
  background: radial-gradient(circle, rgba(185, 139, 94, 0.14), transparent 68%);
  opacity: 0.7;
}

[data-theme='claude'] .hero-noise {
  opacity: 0.022;
  mix-blend-mode: multiply;
}

[data-theme='claude'] .hero-lead {
  color: #5f584e;
}

[data-theme='claude'] .hero-note {
  color: var(--muted-2);
}

[data-theme='claude'] .hero-note svg,
[data-theme='claude'] .product-trust svg {
  color: var(--teal);
}

[data-theme='claude'] .hero-stats {
  border-top-color: var(--line);
}

[data-theme='claude'] .hero-stat dt small,
[data-theme='claude'] .hero-stat dd {
  color: var(--muted-2);
}

[data-theme='claude'] .hero-foot {
  color: var(--muted-2);
  border-top-color: var(--line);
}

[data-theme='claude'] .hero-foot i {
  background: rgba(61, 54, 42, 0.3);
}

[data-theme='claude'] .hero-aurora {
  background: radial-gradient(circle at 55% 45%, rgba(217, 119, 87, 0.22), transparent 64%),
    radial-gradient(circle at 80% 70%, rgba(123, 139, 111, 0.14), transparent 58%);
  filter: blur(46px);
}

[data-theme='claude'] .hero-glow {
  background: linear-gradient(120deg, rgba(217, 119, 87, 0.18), rgba(123, 139, 111, 0.12));
}

[data-theme='claude'] .hero-chip {
  background: rgba(255, 253, 248, 0.9);
  border-color: var(--line-strong);
  box-shadow: 0 20px 40px -24px rgba(61, 54, 42, 0.35);
}

[data-theme='claude'] .hero-chip strong {
  color: var(--text);
}

[data-theme='claude'] .hero-chip small {
  color: var(--muted-2);
}

[data-theme='claude'] .hero-chip-icon {
  background: rgba(123, 139, 111, 0.13);
  color: var(--teal);
}

[data-theme='claude'] .hero-chip-icon.soft {
  background: rgba(193, 95, 60, 0.1);
  color: var(--brand);
}

/* ---------- 浏览器/窗口外框 ---------- */

[data-theme='claude'] .browser-frame {
  background: #fffdf8;
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -34px rgba(61, 54, 42, 0.45);
}

[data-theme='claude'] .browser-chrome {
  background: #f4eee3;
  border-bottom-color: var(--line);
}

[data-theme='claude'] .browser-url {
  background: #ece5d8;
  color: #857b6c;
}

[data-theme='claude'] .browser-lock {
  background: var(--teal);
}

[data-theme='claude'] .browser-dots i:nth-child(1) {
  background: rgba(193, 95, 60, 0.5);
}

[data-theme='claude'] .browser-dots i:nth-child(2) {
  background: rgba(185, 139, 94, 0.55);
}

[data-theme='claude'] .browser-dots i:nth-child(3) {
  background: rgba(123, 139, 111, 0.55);
}

[data-theme='claude'] .window-frame {
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -34px rgba(61, 54, 42, 0.45);
}

/* ---------- 产品矩阵 ---------- */

[data-theme='claude'] .bento-card {
  background: linear-gradient(180deg, #fffdf8, #fbf7ef);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

[data-theme='claude'] .bento-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 36px 70px -44px rgba(61, 54, 42, 0.4);
}

[data-theme='claude'] .bento-card::before {
  background: linear-gradient(90deg, transparent, rgba(193, 95, 60, 0.22), transparent);
  opacity: 0.55;
}

[data-theme='claude'] .tile-kind {
  color: var(--muted-2);
}

[data-theme='claude'] .tile-desc {
  color: var(--muted);
}

[data-theme='claude'] .tile-chips span {
  color: var(--muted);
  background: #f7f2e8;
  border-color: var(--line);
}

[data-theme='claude'] .tile-arrow {
  border-color: var(--line);
  color: var(--muted);
}

[data-theme='claude'] .bento-card:hover .tile-arrow {
  color: var(--text);
  background: rgba(61, 54, 42, 0.06);
  border-color: var(--line-strong);
}

[data-theme='claude'] .tile-shot-mark::after {
  background: linear-gradient(180deg, rgba(251, 247, 239, 0), #fbf7ef 94%);
}

[data-theme='claude'] .tile-link,
[data-theme='claude'] .product-row-link {
  color: var(--brand);
}

[data-theme='claude'] .bento-card:hover .tile-link,
[data-theme='claude'] .product-row:hover .product-row-link {
  color: #9e4a2f;
}

/* ---------- 一个账号 ---------- */

[data-theme='claude'] .account-panel {
  background: radial-gradient(120% 140% at 0% 0%, rgba(217, 119, 87, 0.12), transparent 52%),
    radial-gradient(120% 120% at 100% 100%, rgba(123, 139, 111, 0.1), transparent 54%), #fbf7ef;
  border-color: var(--line);
}

[data-theme='claude'] .point-icon {
  background: #fffdf8;
  border-color: var(--line);
  color: var(--brand);
}

[data-theme='claude'] .account-point p {
  color: var(--muted);
}

[data-theme='claude'] .account-halo {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.18), transparent 66%);
}

[data-theme='claude'] .account-pass {
  background: linear-gradient(155deg, #fffdf8, #f8f2e7);
  border-color: var(--line-strong);
  box-shadow: 0 44px 80px -46px rgba(61, 54, 42, 0.5);
}

[data-theme='claude'] .account-pass::before {
  background: linear-gradient(90deg, transparent, rgba(193, 95, 60, 0.6), transparent);
}

[data-theme='claude'] .pass-head {
  color: var(--muted);
}

[data-theme='claude'] .pass-brand {
  color: var(--text-soft);
}

[data-theme='claude'] .pass-plan {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.1);
  border-color: rgba(123, 139, 111, 0.28);
}

[data-theme='claude'] .pass-user {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .pass-user span,
[data-theme='claude'] .pass-key span {
  color: var(--muted-2);
}

[data-theme='claude'] .pass-status {
  color: #5f7053;
}

[data-theme='claude'] .pass-status i {
  background: var(--teal);
}

[data-theme='claude'] .pass-product {
  background: #f7f2e8;
  border-color: var(--line);
}

[data-theme='claude'] .pass-product em {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.1);
  border-color: rgba(123, 139, 111, 0.24);
}

[data-theme='claude'] .pass-product svg {
  color: var(--teal);
}

[data-theme='claude'] .pass-key {
  background: #f7f2e8;
  border-color: var(--line);
  color: var(--brand);
}

[data-theme='claude'] .pass-key code {
  color: #5a4a3b;
}

[data-theme='claude'] .pass-glow {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.28), transparent 65%);
}

[data-theme='claude'] .pass-float {
  background: rgba(255, 253, 248, 0.94);
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px -22px rgba(61, 54, 42, 0.35);
  color: var(--text-soft);
}

[data-theme='claude'] .pass-float svg {
  color: var(--teal);
}

/* ---------- Manifesto ---------- */

[data-theme='claude'] .manifesto {
  background: linear-gradient(120deg, rgba(217, 119, 87, 0.1), rgba(255, 253, 248, 0.6) 48%, rgba(123, 139, 111, 0.08));
  border-color: var(--line);
}

[data-theme='claude'] .manifesto::after {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.16), transparent 65%);
}

[data-theme='claude'] .manifesto > .reveal > p {
  color: var(--muted);
}

[data-theme='claude'] .manifesto-item span {
  color: var(--brand);
}

[data-theme='claude'] .manifesto-item p {
  color: var(--muted);
}

[data-theme='claude'] .manifesto-grid {
  border-top-color: var(--line);
}

/* ---------- 能力 / 开始 / FAQ ---------- */

[data-theme='claude'] .capability-card,
[data-theme='claude'] .start-card,
[data-theme='claude'] .feature-card,
[data-theme='claude'] .related-card {
  background: #fffdf8;
  border-color: var(--line);
}

[data-theme='claude'] .capability-card:hover,
[data-theme='claude'] .feature-card:hover,
[data-theme='claude'] .related-card:hover {
  background: #fbf7ef;
  border-color: var(--line-strong);
}

[data-theme='claude'] .capability-icon,
[data-theme='claude'] .start-icon {
  background: rgba(193, 95, 60, 0.08);
  border-color: rgba(193, 95, 60, 0.16);
  color: var(--brand);
}

[data-theme='claude'] .capability-card p,
[data-theme='claude'] .start-card p {
  color: var(--muted);
}

[data-theme='claude'] .start-num {
  color: var(--muted-2);
}

[data-theme='claude'] .start-cta {
  background: linear-gradient(90deg, rgba(217, 119, 87, 0.09), rgba(255, 253, 248, 0.65));
  border-color: var(--line);
}

[data-theme='claude'] .start-cta span {
  color: var(--text-soft);
}

[data-theme='claude'] .start-cta span svg {
  color: var(--brand);
}

[data-theme='claude'] .faq-item {
  background: rgba(255, 253, 248, 0.7);
  border-color: var(--line);
}

[data-theme='claude'] .faq-item.is-open {
  background: rgba(217, 119, 87, 0.06);
  border-color: rgba(193, 95, 60, 0.26);
}

[data-theme='claude'] .faq-question {
  color: var(--text-soft);
}

[data-theme='claude'] .faq-toggle {
  border-color: var(--line);
  color: var(--muted);
}

[data-theme='claude'] .faq-item.is-open .faq-toggle {
  background: rgba(193, 95, 60, 0.1);
  color: var(--brand);
}

[data-theme='claude'] .faq-answer p {
  color: var(--muted);
}

[data-theme='claude'] .faq-intro .section-desc a,
[data-theme='claude'] .section-desc a {
  color: var(--brand);
}

/* ---------- 底部 CTA / 页脚 ---------- */

[data-theme='claude'] .final-cta {
  background: radial-gradient(ellipse at 18% 0%, rgba(217, 119, 87, 0.18), transparent 55%),
    radial-gradient(ellipse at 92% 100%, rgba(123, 139, 111, 0.14), transparent 55%), #fbf7ef;
  border-color: var(--line);
}

[data-theme='claude'] .final-cta-bg {
  background-image: linear-gradient(rgba(61, 54, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 54, 42, 0.05) 1px, transparent 1px);
  opacity: 0.55;
}

[data-theme='claude'] .final-cta p {
  color: var(--muted);
}

[data-theme='claude'] .site-footer {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.6), transparent 65%);
  border-top-color: var(--line);
}

[data-theme='claude'] .footer-brand p,
[data-theme='claude'] .footer-column a {
  color: var(--muted);
}

[data-theme='claude'] .footer-column a:hover {
  color: var(--text);
}

[data-theme='claude'] .footer-column h4,
[data-theme='claude'] .footer-note,
[data-theme='claude'] .footer-bottom {
  color: var(--muted-2);
}

[data-theme='claude'] .footer-badge {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.08);
  border-color: rgba(123, 139, 111, 0.24);
}

[data-theme='claude'] .footer-badge i {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(123, 139, 111, 0.13);
}

[data-theme='claude'] .footer-bottom {
  border-top-color: var(--line);
}

/* ---------- 产品列表 ---------- */

[data-theme='claude'] .page-hero {
  background: transparent;
}

[data-theme='claude'] .product-row {
  background: linear-gradient(120deg, #fffdf8, #fbf7ef);
  border-color: var(--line);
}

[data-theme='claude'] .product-row:hover {
  background: #fffdf8;
  border-color: var(--line-strong);
}

[data-theme='claude'] .product-row-desc {
  color: var(--muted);
}

[data-theme='claude'] .product-row-phone {
  background: radial-gradient(circle at 50% 30%, rgba(217, 119, 87, 0.13), transparent 62%), #fbf7ef;
  border-color: var(--line);
}

[data-theme='claude'] .product-row-phone-ring {
  border-color: rgba(193, 95, 60, 0.14);
}

[data-theme='claude'] .product-row-phone-ring::before {
  border-color: rgba(193, 95, 60, 0.1);
}

[data-theme='claude'] .product-row-phone span {
  color: var(--muted-2);
}

[data-theme='claude'] .product-row-phone-lines i {
  background: rgba(61, 54, 42, 0.1);
}

[data-theme='claude'] .compare-table-wrap,
[data-theme='claude'] .spec-card,
[data-theme='claude'] .index-cta {
  background: #fffdf8;
  border-color: var(--line);
}

[data-theme='claude'] .compare-table thead th {
  background: #f4eee3;
  color: var(--muted-2);
}

[data-theme='claude'] .compare-table tbody th {
  color: var(--text);
}

[data-theme='claude'] .compare-table tbody td {
  color: var(--muted);
}

[data-theme='claude'] .compare-table th,
[data-theme='claude'] .compare-table td {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .compare-table tbody tr:hover {
  background: #fbf7ef;
}

[data-theme='claude'] .index-cta {
  background: linear-gradient(90deg, rgba(217, 119, 87, 0.08), rgba(255, 253, 248, 0.7));
}

[data-theme='claude'] .index-cta p {
  color: var(--muted);
}

/* ---------- 产品详情 ---------- */

[data-theme='claude'] .product-hero-orb {
  opacity: 0.5;
}

[data-theme='claude'] .breadcrumb,
[data-theme='claude'] .breadcrumb span {
  color: var(--muted-2);
}

[data-theme='claude'] .breadcrumb a:hover {
  color: var(--text);
}

[data-theme='claude'] .product-meta {
  color: var(--muted);
}

[data-theme='claude'] .product-trust {
  color: var(--muted-2);
}

[data-theme='claude'] .shot-tab {
  background: #fffdf8;
  border-color: var(--line);
  color: var(--muted);
}

[data-theme='claude'] .shot-tab:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

[data-theme='claude'] .shot-tab.is-active {
  color: var(--text);
}

[data-theme='claude'] .detail-copy > p,
[data-theme='claude'] .detail-points li {
  color: var(--muted);
}

[data-theme='claude'] .detail-copy .eyebrow {
  color: var(--brand);
}

[data-theme='claude'] .detail-caption {
  color: var(--muted-2);
}

[data-theme='claude'] .product-download-note {
  color: var(--muted-2);
}

[data-theme='claude'] .spec-list div {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .spec-list dt {
  color: var(--muted-2);
}

[data-theme='claude'] .spec-list dd {
  color: var(--text-soft);
}

[data-theme='claude'] .spec-license {
  background: rgba(193, 95, 60, 0.07);
}

[data-theme='claude'] .arch-visual,
[data-theme='claude'] .security-visual {
  background: radial-gradient(120% 80% at 100% 0%, rgba(217, 119, 87, 0.09), transparent 60%),
    #fffdf8;
  border-color: var(--line);
}

[data-theme='claude'] .arch-node {
  background: #fbf7ef;
  border-color: var(--line);
}

[data-theme='claude'] .arch-node small,
[data-theme='claude'] .arch-link,
[data-theme='claude'] .arch-note {
  color: var(--muted-2);
}

[data-theme='claude'] .arch-icon {
  background: rgba(193, 95, 60, 0.09);
  color: var(--brand);
}

[data-theme='claude'] .arch-core {
  border-color: rgba(193, 95, 60, 0.32);
  box-shadow: 0 0 40px -14px rgba(193, 95, 60, 0.35);
}

[data-theme='claude'] .arch-line {
  background: linear-gradient(90deg, transparent, rgba(193, 95, 60, 0.6), transparent);
}

[data-theme='claude'] .security-visual {
  background: radial-gradient(120% 80% at 100% 0%, rgba(123, 139, 111, 0.12), transparent 60%), #fffdf8;
}

[data-theme='claude'] .security-list strong {
  color: var(--text-soft);
}

[data-theme='claude'] .security-list em,
[data-theme='claude'] .security-foot {
  color: var(--muted-2);
}

[data-theme='claude'] .security-shield,
[data-theme='claude'] .security-list li > span {
  background: rgba(123, 139, 111, 0.12);
  border-color: rgba(123, 139, 111, 0.24);
  color: #5f7053;
}

[data-theme='claude'] .security-badge {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.08);
  border-color: rgba(123, 139, 111, 0.22);
}

[data-theme='claude'] .security-badge i {
  background: var(--teal);
}

[data-theme='claude'] .security-foot svg {
  color: var(--teal);
}

[data-theme='claude'] .security-head {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .security-foot {
  border-top-color: var(--line);
}

[data-theme='claude'] .browser-body {
  background: #fffdf8;
}

/* ---------- 联系我们 / AI 工具定制 ---------- */

[data-theme='claude'] .contact-tip,
[data-theme='claude'] .contact-topics span,
[data-theme='claude'] .contact-help-card {
  background: #fffdf8;
  border-color: var(--line);
}

[data-theme='claude'] .contact-tip {
  border-color: rgba(193, 95, 60, 0.22);
}

[data-theme='claude'] .contact-tip > svg,
[data-theme='claude'] .contact-alt a,
[data-theme='claude'] .contact-qr-save,
[data-theme='claude'] .contact-help-link,
[data-theme='claude'] .service-note svg {
  color: var(--brand);
}

[data-theme='claude'] .contact-help-card:hover {
  background: #fbf7ef;
  border-color: var(--line-strong);
}

[data-theme='claude'] .contact-help-card:hover .contact-help-link {
  color: var(--brand);
}

[data-theme='claude'] .contact-help-icon {
  background: rgba(193, 95, 60, 0.08);
  border-color: rgba(193, 95, 60, 0.18);
  color: var(--brand);
}

[data-theme='claude'] .contact-qr-panel {
  background: radial-gradient(circle at 50% 0%, rgba(217, 119, 87, 0.14), transparent 62%),
    #fbf7ef;
  border-color: var(--line);
}

[data-theme='claude'] .contact-qr-glow {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.22), transparent 66%);
}

[data-theme='claude'] .contact-qr-card {
  box-shadow: 0 34px 70px -38px rgba(61, 54, 42, 0.45), 0 0 0 1px rgba(61, 54, 42, 0.06);
}

[data-theme='claude'] .ai-tools-page {
  --product-accent: #c15f3c;
  --product-soft: rgba(193, 95, 60, 0.09);
}

[data-theme='claude'] .process-card {
  background: linear-gradient(180deg, #fffdf8, #fbf7ef);
  border-color: var(--line);
}

[data-theme='claude'] .process-card::before {
  background: linear-gradient(90deg, transparent, rgba(193, 95, 60, 0.45), transparent);
}

[data-theme='claude'] .process-num {
  color: var(--brand);
}

[data-theme='claude'] .process-num::after {
  background: rgba(193, 95, 60, 0.4);
}

[data-theme='claude'] .service-payment {
  background: linear-gradient(90deg, rgba(123, 139, 111, 0.12), rgba(217, 119, 87, 0.07));
  border-color: rgba(123, 139, 111, 0.3);
}

[data-theme='claude'] .service-payment-icon {
  background: #fffdf8;
  border-color: rgba(123, 139, 111, 0.3);
  color: var(--teal);
}

[data-theme='claude'] .service-flow-card.is-result {
  background: linear-gradient(160deg, rgba(217, 119, 87, 0.12), #fffdf8 70%);
  border-color: rgba(193, 95, 60, 0.3);
}

[data-theme='claude'] .service-flow-bar {
  background: rgba(61, 54, 42, 0.1);
}

[data-theme='claude'] .service-flow-result small {
  color: var(--teal);
}

/* ---------- 条款 / 404 ---------- */

[data-theme='claude'] .legal-hero {
  background: transparent;
}

[data-theme='claude'] .legal-callout,
[data-theme='claude'] .legal-toc {
  background: #fffdf8;
  border-color: var(--line);
  color: var(--muted);
}

[data-theme='claude'] .legal-toc a {
  color: var(--muted);
}

[data-theme='claude'] .legal-toc a:hover {
  color: var(--text);
}

[data-theme='claude'] .legal-article p {
  color: var(--muted);
}

[data-theme='claude'] .legal-callout svg,
[data-theme='claude'] .legal-switch a {
  color: var(--brand);
}

[data-theme='claude'] .not-found-code {
  background: linear-gradient(180deg, #3d3929, rgba(61, 54, 42, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme='claude'] .not-found p {
  color: var(--muted);
}

/* ---------- 登录 / 注册 ---------- */

[data-theme='claude'] .auth-page {
  background: var(--bg);
}

[data-theme='claude'] .auth-grid {
  background-image: linear-gradient(rgba(61, 54, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 54, 42, 0.05) 1px, transparent 1px);
}

[data-theme='claude'] .auth-orb-a {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.22), transparent 66%);
}

[data-theme='claude'] .auth-orb-b {
  background: radial-gradient(circle, rgba(123, 139, 111, 0.16), transparent 66%);
}

[data-theme='claude'] .auth-aside {
  background: linear-gradient(160deg, rgba(217, 119, 87, 0.07), transparent 48%);
  border-right-color: var(--line);
}

[data-theme='claude'] .auth-product {
  background: rgba(255, 253, 248, 0.7);
  border-color: var(--line);
}

[data-theme='claude'] .auth-product span:not(.auth-product-badge) {
  color: var(--muted-2);
}

[data-theme='claude'] .auth-product-badge {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.08);
  border-color: rgba(123, 139, 111, 0.22);
}

[data-theme='claude'] .auth-aside-foot {
  color: var(--muted-2);
}

[data-theme='claude'] .auth-aside-foot svg {
  color: var(--teal);
}

[data-theme='claude'] .auth-divider {
  color: var(--muted-2);
}

[data-theme='claude'] .auth-hint {
  color: var(--muted-2);
}

[data-theme='claude'] .auth-back,
[data-theme='claude'] .auth-mobile-back {
  color: var(--muted);
}

[data-theme='claude'] .auth-back:hover,
[data-theme='claude'] .auth-mobile-back:hover {
  color: var(--text);
}

[data-theme='claude'] .password-meter i {
  background: rgba(61, 54, 42, 0.12);
}

[data-theme='claude'] .password-meter em {
  color: var(--muted-2);
}

/* ---------- 管理后台 ---------- */

[data-theme='claude'] .admin-topbar-badge {
  color: #5f7053;
  border-color: rgba(123, 139, 111, 0.28);
  background: rgba(123, 139, 111, 0.08);
}

[data-theme='claude'] .admin-stat-amber .admin-stat-icon {
  color: #8a6a2f;
  background: rgba(178, 141, 68, 0.1);
}

[data-theme='claude'] .admin-pill-admin {
  color: #8a6a2f;
  border-color: rgba(178, 141, 68, 0.28);
  background: rgba(178, 141, 68, 0.08);
}

[data-theme='claude'] .admin-forbidden {
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 119, 87, 0.08), transparent 34%),
    radial-gradient(circle at 90% 100%, rgba(123, 139, 111, 0.08), transparent 34%),
    var(--bg);
}

/* ---------- OAuth 授权确认 ---------- */

[data-theme='claude'] .consent-orb-a {
  background: radial-gradient(circle, rgba(217, 119, 87, 0.2), transparent 66%);
}

[data-theme='claude'] .consent-orb-b {
  background: radial-gradient(circle, rgba(123, 139, 111, 0.16), transparent 66%);
}

[data-theme='claude'] .consent-status {
  color: #5f7053;
}

[data-theme='claude'] .consent-status i {
  background: var(--teal);
}

[data-theme='claude'] .consent-scope-icon {
  background: rgba(123, 139, 111, 0.12);
  color: #5f7053;
}

[data-theme='claude'] .consent-safety svg {
  color: #5f7053;
}

[data-theme='claude'] .consent-result-icon.is-success {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.1);
  border-color: rgba(123, 139, 111, 0.26);
}

[data-theme='claude'] .consent-result-icon.is-denied {
  color: #9f392f;
  background: rgba(181, 71, 59, 0.07);
  border-color: rgba(181, 71, 59, 0.24);
}

/* ---------- 用户中心 ---------- */

[data-theme='claude'] .app-shell {
  background: radial-gradient(120% 80% at 100% 0%, rgba(217, 119, 87, 0.08), transparent 52%), var(--bg);
}

[data-theme='claude'] .app-sidebar {
  background: rgba(251, 247, 239, 0.88);
  border-right-color: var(--line);
}

[data-theme='claude'] .app-nav-label {
  color: var(--muted-2);
}

[data-theme='claude'] .app-nav-link {
  color: var(--muted);
}

[data-theme='claude'] .app-nav-link svg {
  color: #938979;
}

[data-theme='claude'] .app-nav-link:hover {
  color: var(--text);
  background: rgba(61, 54, 42, 0.055);
}

[data-theme='claude'] .app-nav-link.is-active {
  color: var(--text);
  border-color: rgba(193, 95, 60, 0.18);
  background: linear-gradient(90deg, rgba(193, 95, 60, 0.12), rgba(193, 95, 60, 0.035));
}

[data-theme='claude'] .app-nav-link.is-active svg {
  color: var(--brand);
}

[data-theme='claude'] .app-nav-count {
  background: rgba(61, 54, 42, 0.06);
  color: var(--muted-2);
}

[data-theme='claude'] .app-nav-external {
  color: var(--muted-2);
}

[data-theme='claude'] .app-sidebar-promo {
  background: linear-gradient(120deg, rgba(217, 119, 87, 0.1), rgba(123, 139, 111, 0.05));
  border-color: rgba(193, 95, 60, 0.18);
}

[data-theme='claude'] .app-promo-icon {
  background: rgba(193, 95, 60, 0.1);
  color: var(--brand);
}

[data-theme='claude'] .app-sidebar-promo p {
  color: var(--muted-2);
}

[data-theme='claude'] .app-sidebar-promo a {
  color: var(--brand);
}

[data-theme='claude'] .app-user {
  border-top-color: var(--line);
}

[data-theme='claude'] .app-user-copy strong {
  color: var(--text-soft);
}

[data-theme='claude'] .app-user-copy span {
  color: var(--muted-2);
}

[data-theme='claude'] .app-topbar {
  background: rgba(247, 243, 234, 0.84);
  border-bottom-color: var(--line);
}

[data-theme='claude'] .app-menu {
  background: #fffdf8;
  border-color: var(--line);
  color: var(--text-soft);
}

[data-theme='claude'] .app-topbar-title {
  color: var(--muted);
}

[data-theme='claude'] .app-topbar-title strong {
  color: var(--text-soft);
}

[data-theme='claude'] .app-topbar-status {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.08);
  border-color: rgba(123, 139, 111, 0.22);
}

[data-theme='claude'] .app-topbar-status i {
  background: var(--teal);
}

[data-theme='claude'] .app-topbar-link {
  color: var(--muted);
}

[data-theme='claude'] .app-card,
[data-theme='claude'] .stat-card,
[data-theme='claude'] .ov-product,
[data-theme='claude'] .mp-card,
[data-theme='claude'] .license-summary > div,
[data-theme='claude'] .license-table-wrap,
[data-theme='claude'] .activity-list,
[data-theme='claude'] .empty-state {
  background: #fffdf8;
  border-color: var(--line);
}

[data-theme='claude'] .stat-card {
  background: linear-gradient(180deg, #fffdf8, #fbf7ef);
}

[data-theme='claude'] .ov-product:hover,
[data-theme='claude'] .mp-card:hover {
  background: #fbf7ef;
  border-color: var(--line-strong);
}

[data-theme='claude'] .mp-card.is-active {
  background: linear-gradient(120deg, rgba(123, 139, 111, 0.06), #fffdf8);
  border-color: rgba(123, 139, 111, 0.22);
}

[data-theme='claude'] .stat-label,
[data-theme='claude'] .stat-sub,
[data-theme='claude'] .ov-product-line,
[data-theme='claude'] .app-section-head p,
[data-theme='claude'] .account-summary-rows span,
[data-theme='claude'] .quick-steps li,
[data-theme='claude'] .app-help p,
[data-theme='claude'] .mp-desc,
[data-theme='claude'] .license-help-note,
[data-theme='claude'] .license-help-list span,
[data-theme='claude'] .license-help-desc {
  color: var(--muted);
}

[data-theme='claude'] .stat-card strong em,
[data-theme='claude'] .app-section-meta,
[data-theme='claude'] .account-meta {
  color: var(--muted-2);
}

[data-theme='claude'] .stat-icon-violet {
  background: rgba(193, 95, 60, 0.1);
  color: var(--brand);
}

[data-theme='claude'] .stat-icon-teal {
  background: rgba(123, 139, 111, 0.12);
  color: #5f7053;
}

[data-theme='claude'] .stat-icon-blue {
  background: rgba(123, 139, 111, 0.1);
  color: #6a7a5d;
}

[data-theme='claude'] .stat-icon-amber {
  background: rgba(185, 139, 94, 0.12);
  color: #9b6b3c;
}

[data-theme='claude'] .status-badge.is-active {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.09);
  border-color: rgba(123, 139, 111, 0.24);
}

[data-theme='claude'] .status-badge.is-active i {
  background: var(--teal);
}

[data-theme='claude'] .status-badge.is-idle {
  background: #f4eee3;
  color: var(--muted-2);
}

[data-theme='claude'] .ov-license,
[data-theme='claude'] .ov-license.is-empty {
  background: #f4eee3;
  border-color: var(--line);
  color: var(--muted-2);
}

[data-theme='claude'] .ov-license code {
  color: #5a4a3b;
}

[data-theme='claude'] .ov-license span {
  color: #5f7053;
}

[data-theme='claude'] .activity-list li {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .activity-icon {
  background: #f4eee3;
  color: #8b8174;
}

[data-theme='claude'] .activity-account-created,
[data-theme='claude'] .activity-product-activated {
  background: rgba(193, 95, 60, 0.09);
  color: var(--brand);
}

[data-theme='claude'] .activity-account-login,
[data-theme='claude'] .activity-product-downloaded {
  background: rgba(123, 139, 111, 0.1);
  color: #5f7053;
}

[data-theme='claude'] .activity-list strong {
  color: var(--text-soft);
}

[data-theme='claude'] .activity-list div span,
[data-theme='claude'] .activity-list time {
  color: var(--muted-2);
}

[data-theme='claude'] .account-summary-rows {
  border-top-color: var(--line);
  border-bottom-color: var(--line);
}

[data-theme='claude'] .account-summary-rows strong {
  color: var(--text-soft);
}

[data-theme='claude'] .quick-progress {
  background: rgba(193, 95, 60, 0.08);
  border-color: rgba(193, 95, 60, 0.18);
  color: var(--brand);
}

[data-theme='claude'] .quick-steps li > span {
  border-color: var(--line);
  color: var(--muted-2);
}

[data-theme='claude'] .quick-steps li.is-done {
  color: var(--text-soft);
}

[data-theme='claude'] .quick-steps li.is-done > span {
  background: rgba(123, 139, 111, 0.12);
  border-color: rgba(123, 139, 111, 0.3);
  color: #5f7053;
}

[data-theme='claude'] .app-help-icon {
  background: rgba(193, 95, 60, 0.09);
  color: var(--brand);
}

[data-theme='claude'] .app-help-links a,
[data-theme='claude'] .app-link {
  color: var(--brand);
}

[data-theme='claude'] .app-banner {
  background: linear-gradient(100deg, rgba(217, 119, 87, 0.1), rgba(123, 139, 111, 0.05));
  border-color: rgba(193, 95, 60, 0.18);
}

[data-theme='claude'] .app-banner-icon {
  background: rgba(193, 95, 60, 0.11);
  color: var(--brand);
}

[data-theme='claude'] .app-banner p,
[data-theme='claude'] .app-banner-link {
  color: var(--muted);
}

[data-theme='claude'] .mp-features span {
  background: #f7f2e8;
  border-color: var(--line);
  color: var(--muted);
}

[data-theme='claude'] .mp-ent {
  background: #f7f2e8;
  border-color: var(--line);
}

[data-theme='claude'] .mp-ent-key > span,
[data-theme='claude'] .mp-ent-meta {
  color: var(--muted-2);
}

[data-theme='claude'] .mp-locked {
  color: var(--muted-2);
  border-color: var(--line-strong);
}

[data-theme='claude'] .mp-side {
  border-left-color: var(--line);
}

[data-theme='claude'] .mp-media {
  background: #f4eee3;
  border-color: var(--line);
}

[data-theme='claude'] .mp-media-dsh {
  background: radial-gradient(circle at 50% 40%, rgba(217, 119, 87, 0.14), transparent 65%), #fbf7ef;
  color: var(--muted-2);
}

[data-theme='claude'] .mp-meta {
  color: var(--muted-2);
}

[data-theme='claude'] .license-table thead th {
  background: #f4eee3;
  color: var(--muted-2);
}

[data-theme='claude'] .license-table th,
[data-theme='claude'] .license-table td {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .license-product strong {
  color: var(--text-soft);
}

[data-theme='claude'] .license-product span,
[data-theme='claude'] .license-date {
  color: var(--muted-2);
}

[data-theme='claude'] .license-key {
  background: #f4eee3;
  border-color: var(--line);
}

[data-theme='claude'] .license-key code {
  color: #5a4a3b;
}

[data-theme='claude'] .license-actions .icon-button {
  color: var(--muted);
}

[data-theme='claude'] .license-code,
[data-theme='claude'] .guide-steps pre {
  background: #2f2b26;
  border-color: #3d3929;
}

[data-theme='claude'] .license-code code,
[data-theme='claude'] .guide-steps code {
  color: #f3ead9;
}

[data-theme='claude'] .license-help-foot {
  border-top-color: var(--line);
  color: var(--muted-2);
}

[data-theme='claude'] .license-help-list strong {
  color: var(--text-soft);
}

[data-theme='claude'] .license-help-list svg {
  color: var(--teal);
}

[data-theme='claude'] .license-summary strong em {
  color: var(--muted-2);
}

[data-theme='claude'] .session-list {
  border-top-color: var(--line);
}

[data-theme='claude'] .session-list li {
  border-bottom-color: var(--line);
}

[data-theme='claude'] .session-icon {
  background: #f4eee3;
  color: #8b8174;
}

[data-theme='claude'] .session-current {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.09);
  border-color: rgba(123, 139, 111, 0.24);
}

[data-theme='claude'] .session-idle {
  background: #f4eee3;
  color: var(--muted-2);
}

[data-theme='claude'] .session-meta,
[data-theme='claude'] .session-action-hint {
  color: var(--muted-2);
}

[data-theme='claude'] .danger-card {
  background: linear-gradient(120deg, rgba(181, 71, 59, 0.05), #fffdf8);
  border-color: rgba(181, 71, 59, 0.2);
}

[data-theme='claude'] .danger-card p {
  color: var(--muted);
}

[data-theme='claude'] .empty-state {
  color: var(--muted);
  border-color: var(--line-strong);
}

[data-theme='claude'] .empty-state strong {
  color: var(--text-soft);
}

[data-theme='claude'] .empty-icon {
  background: rgba(193, 95, 60, 0.08);
  border-color: rgba(193, 95, 60, 0.18);
  color: var(--brand);
}

[data-theme='claude'] .auth-loader {
  background: var(--bg);
  color: var(--muted);
}

/* ---------- 弹窗 / 提示 / 代码 ---------- */

[data-theme='claude'] .modal-backdrop {
  background: rgba(61, 54, 42, 0.32);
}

[data-theme='claude'] .modal {
  background: #fffdf8;
  border-color: var(--line-strong);
  box-shadow: 0 40px 90px -40px rgba(61, 54, 42, 0.45);
}

[data-theme='claude'] .modal-head p {
  color: var(--muted);
}

[data-theme='claude'] .toast {
  background: rgba(255, 253, 248, 0.97);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -28px rgba(61, 54, 42, 0.4);
}

[data-theme='claude'] .toast-body strong {
  color: var(--text);
}

[data-theme='claude'] .toast-body span {
  color: var(--muted);
}

[data-theme='claude'] .toast-success .toast-icon {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.12);
}

[data-theme='claude'] .toast-error .toast-icon {
  color: #9f392f;
  background: rgba(181, 71, 59, 0.09);
}

[data-theme='claude'] .toast-info .toast-icon {
  color: var(--brand);
  background: rgba(193, 95, 60, 0.09);
}

[data-theme='claude'] .activated-panel > p,
[data-theme='claude'] .modal-hint {
  color: var(--muted);
}

[data-theme='claude'] .activated-icon {
  color: #5f7053;
  background: rgba(123, 139, 111, 0.1);
  border-color: rgba(123, 139, 111, 0.3);
}

[data-theme='claude'] .activated-steps {
  background: #f7f2e8;
  border-color: var(--line);
  color: var(--text-soft);
}

[data-theme='claude'] .activated-steps b {
  background: rgba(193, 95, 60, 0.1);
  color: var(--brand);
}

[data-theme='claude'] .guide-steps strong {
  color: var(--text-soft);
}

[data-theme='claude'] .guide-steps p {
  color: var(--muted);
}

[data-theme='claude'] .guide-steps li::before {
  background: rgba(193, 95, 60, 0.1);
  border-color: rgba(193, 95, 60, 0.26);
  color: var(--brand);
}

/* ---------- 主题切换器 ---------- */

.theme-switcher {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.theme-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.theme-trigger:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

.theme-trigger-chevron {
  opacity: 0.55;
}

.theme-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 140;
  width: 268px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface-elevated);
  box-shadow: var(--theme-shadow);
  animation: modalIn 0.2s var(--ease);
}

.theme-popover-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 7px;
}

.theme-popover-head strong {
  font-size: 12px;
  font-weight: 600;
}

.theme-popover-head span {
  color: var(--muted-2);
  font-size: 9.5px;
}

.theme-options {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text-soft);
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}

.theme-option:hover {
  background: rgba(255, 255, 255, 0.05);
}

.theme-option.is-selected {
  background: rgba(124, 108, 255, 0.1);
  border-color: rgba(124, 108, 255, 0.18);
}

.theme-swatch {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.theme-option-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.theme-option-copy strong {
  font-size: 12px;
  font-weight: 600;
}

.theme-option-copy em {
  color: var(--muted-2);
  font-size: 10px;
  font-style: normal;
}

.theme-check {
  display: grid;
  place-items: center;
  width: 18px;
  color: var(--brand);
}

.theme-options.is-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.theme-options.is-inline .theme-option {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-color: var(--line);
  background: var(--surface-subtle);
}

.theme-options.is-inline .theme-option:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.theme-options.is-inline .theme-option.is-selected {
  background: rgba(124, 108, 255, 0.08);
  border-color: rgba(124, 108, 255, 0.3);
}

.theme-options.is-inline .theme-swatch {
  width: 100%;
  height: 46px;
  border-radius: 9px;
}

.theme-options.is-inline .theme-option-copy {
  flex: 0 0 auto;
  width: 100%;
}

.theme-options.is-inline .theme-check {
  display: none;
}

.appearance-card .app-card-head {
  margin-bottom: 14px;
}

.auth-aside-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-theme {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mobile-nav .theme-switcher {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.mobile-nav .theme-trigger {
  width: 100%;
  justify-content: flex-start;
  gap: 9px;
  height: 42px;
  background: transparent;
  border-color: var(--line);
  font-size: 14px;
}

.mobile-nav .theme-trigger .theme-trigger-chevron {
  margin-left: auto;
}

.mobile-nav .theme-popover {
  position: static;
  width: 100%;
  margin-top: 8px;
  box-shadow: none;
}

[data-theme='claude'] .theme-trigger {
  background: #fffdf8;
}

[data-theme='claude'] .theme-trigger:hover {
  background: #f5efe4;
}

[data-theme='claude'] .theme-option:hover {
  background: #f5efe4;
}

[data-theme='claude'] .theme-option.is-selected {
  background: rgba(193, 95, 60, 0.08);
  border-color: rgba(193, 95, 60, 0.22);
}

[data-theme='claude'] .theme-options.is-inline .theme-option {
  background: #fbf7ef;
}

[data-theme='claude'] .theme-options.is-inline .theme-option.is-selected {
  background: rgba(193, 95, 60, 0.07);
  border-color: rgba(193, 95, 60, 0.26);
}

[data-theme='claude'] .theme-swatch {
  border-color: rgba(61, 54, 42, 0.18);
}

@media (max-width: 700px) {
  .theme-options.is-inline {
    grid-template-columns: 1fr;
  }

  .theme-options.is-inline .theme-swatch {
    height: 34px;
  }

  .theme-options.is-inline .theme-option {
    flex-direction: row;
    align-items: center;
  }

  .theme-options.is-inline .theme-option-copy {
    width: auto;
    flex: 1;
  }
}
