* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.gradient-text {
  background: linear-gradient(90deg, #c084fc, #f472b6, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card-hover { transition: transform 0.3s, box-shadow 0.3s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(168, 85, 247, 0.15); }
.btn-primary {
  background: linear-gradient(90deg, #9333ea, #db2777);
  color: white; padding: 0.75rem 1.5rem; border-radius: 0.5rem;
  border: none; cursor: pointer; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { opacity: 0.9; }
.btn-outline {
  border: 2px solid rgba(168, 85, 247, 0.6);
  color: #e9d5ff !important;
  background: rgba(15, 10, 30, 0.85) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  text-decoration: none !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: rgba(88, 28, 135, 0.35) !important;
  border-color: #a855f7;
  color: #f5f3ff !important;
}
.hero-section { padding-top: 8rem; padding-bottom: 5rem; }
.hero-badge { margin-bottom: 2rem; }
.hero-title {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1.35;
  text-align: center;
}
.hero-title-main { white-space: nowrap; }
.hero-title-accent { white-space: nowrap; }
.hero-lead { margin-bottom: 1.25rem; line-height: 1.7; }
.hero-sub { margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { margin-bottom: 3rem; gap: 1.25rem; }
.hero-trust { margin-bottom: 3.5rem; gap: 2rem 3rem; }
.hero-stats { margin-top: 1rem; padding: 2.5rem 2rem; gap: 1.5rem; }
.flash { padding: 1rem; border-radius: 0.5rem; margin-bottom: 1rem; }
.flash-success { background: rgba(34, 197, 94, 0.2); border: 1px solid #22c55e; color: #86efac; }
.flash-error { background: rgba(239, 68, 68, 0.2); border: 1px solid #ef4444; color: #fca5a5; }
.tab-btn.active { background: rgba(168, 85, 247, 0.3); color: #e9d5ff; }
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 100; align-items: center; justify-content: center; padding: 1.5rem; }
.modal.open { display: flex; }
.modal-box { background: #111; border: 1px solid rgba(168,85,247,0.3); border-radius: 1rem; padding: 2rem; max-width: 420px; width: 90%; }

/* 会员开通申请弹窗 */
.membership-modal-box {
  max-width: 28rem;
  width: 100%;
  padding: 2.25rem 2rem 2rem;
  background: #0f172a;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.membership-modal-title {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #f8fafc;
  text-align: center;
}
.membership-modal-notice {
  margin: 0 0 1.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fcd34d;
  font-size: 0.8125rem;
  line-height: 1.65;
}
.membership-modal-form .form-field {
  margin-bottom: 1.5rem;
}
.membership-modal-form .form-field label {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e2e8f0;
}
.membership-modal-form .form-field input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 1.25rem;
  box-sizing: border-box;
  color: #f8fafc;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.membership-modal-form .form-field input::placeholder {
  color: #94a3b8;
}
.membership-modal-form .form-field input:focus {
  border-color: #a855f7;
  outline: none;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}
.membership-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 0.5rem;
}
.membership-submit,
.membership-cancel {
  width: 100%;
  min-height: 3rem;
  justify-content: center;
  display: flex;
  font-size: 1rem;
}
.membership-cancel {
  margin-top: 0;
}
.pay-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.pay-channel-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: #cbd5e1;
  margin: 0;
}
.pay-channel-option:has(input:checked) {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.12);
  color: #fff;
}
.pay-channel-option input { width: auto; margin: 0 0.35rem 0 0; }
.membership-checkout-plan { padding-bottom: 1rem; border-bottom: 1px solid rgba(148, 163, 184, 0.15); }
.membership-pay-summary {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.membership-pay-qr-placeholder {
  padding: 2rem 1.5rem;
  border: 1px dashed rgba(168, 85, 247, 0.35);
  border-radius: 0.75rem;
  background: rgba(168, 85, 247, 0.05);
}
.membership-pay-steps {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.7;
}
.membership-pay-steps p { margin: 0.35rem 0; }
input, textarea, select {
  width: 100%; padding: 0.75rem 1rem; margin-bottom: 0;
  background: #1a1a1a; border: 1px solid #333; border-radius: 0.5rem; color: white;
}
label { display: block; margin-bottom: 0.5rem; color: #94a3b8; font-size: 0.875rem; }

/* 登录 / 注册页 */
.auth-page { padding-top: 7.5rem; padding-bottom: 4rem; min-height: 100vh; }
.auth-page .auth-title { margin-bottom: 2rem; }
.auth-wrap { max-width: 36rem; width: 100%; margin: 0 auto; }
.auth-flash { max-width: 36rem; margin-left: auto; margin-right: auto; }
.auth-card {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.75rem 2.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(0, 0, 0, 0.85);
}
.auth-form .form-field { margin-bottom: 1.75rem; }
.auth-form .form-field:last-of-type { margin-bottom: 0; }
.auth-form .field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.auth-form .field-label-row label { margin-bottom: 0; }
.auth-form .field-hint {
  font-size: 0.8125rem;
  color: #c084fc;
  text-decoration: none;
}
.auth-form .field-hint:hover { text-decoration: underline; }
.auth-form .form-field > input:not([type="hidden"]) {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
}
.auth-form .auth-submit { margin-top: 2rem; width: 100%; justify-content: center; min-height: 3rem; font-size: 1rem; }
.auth-form .auth-footer { margin-top: 1.75rem; text-align: center; color: #94a3b8; font-size: 0.875rem; }
.auth-form .auth-footer a { color: #c084fc; text-decoration: none; }
.auth-form .auth-footer a:hover { text-decoration: underline; }

/* 8080 内容管理后台登录 */
.admin-login-page {
  padding-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-login-wrap {
  max-width: 28rem;
}
.admin-login-form.auth-card {
  max-width: 28rem;
  padding: 2.5rem 2.25rem 2.25rem;
}
.admin-login-form .form-field {
  margin-bottom: 1.5rem;
}
.admin-login-form .form-field label {
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e2e8f0 !important;
}
.admin-login-form .form-field input {
  min-height: 3.25rem;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  box-sizing: border-box;
  color: #f8fafc !important;
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  border-radius: 0.5rem;
  -webkit-text-fill-color: #f8fafc;
}
.admin-login-form .form-field input::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.admin-login-form .form-field input:focus {
  border-color: #a855f7 !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}
.admin-login-form .form-field input:-webkit-autofill,
.admin-login-form .form-field input:-webkit-autofill:hover,
.admin-login-form .form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: 0 0 0 1000px #1e293b inset !important;
  caret-color: #f8fafc;
}
.admin-login-page .auth-subtitle {
  color: #94a3b8;
}
.admin-login-form .auth-footer {
  color: #94a3b8;
}
.admin-login-form .auth-footer .text-slate-300 {
  color: #cbd5e1 !important;
}
.admin-login-form .auth-submit {
  margin-top: 0.5rem;
}
.admin-login-links {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}
.admin-login-links a {
  color: #c084fc;
  text-decoration: none;
}
.admin-login-links a:hover {
  text-decoration: underline;
}
.admin-preview-banner {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
}
.admin-preview-banner strong {
  color: #e2e8f0;
}
.admin-preview-banner .btn-primary {
  display: inline-flex;
  margin-top: 0.75rem;
}

.captcha-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.captcha-row input { flex: 1; min-width: 0; }
.captcha-prompt {
  flex-shrink: 0;
  min-width: 7.5rem;
  min-height: 3.25rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 0.5rem;
  color: #e9d5ff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  user-select: none;
}
.captcha-refresh {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: none;
  white-space: nowrap;
}
.captcha-refresh:hover { color: #c084fc; }
.auth-note {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #cbd5e1;
  font-size: 0.8125rem;
  line-height: 1.6;
  word-break: break-all;
}
.auth-note a { color: #c084fc; }
.auth-subtitle {
  margin: -1.25rem auto 2rem;
  max-width: 28rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}
.input-with-icon {
  position: relative;
  display: flex;
  align-items: stretch;
}
.input-with-icon > input:not([type="hidden"]) {
  width: 100%;
  padding-left: 2.75rem;
  padding-right: 2.75rem;
}
.input-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
  display: flex;
}
.input-toggle-pw {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
}
.input-toggle-pw:hover { color: #94a3b8; }
.agree-field { margin-top: 1.5rem; }
.agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.6;
  cursor: pointer;
}
.agree-label input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: #3b82f6;
}
.agree-link {
  background: none;
  border: none;
  padding: 0;
  color: #3b82f6;
  cursor: pointer;
  font-size: inherit;
  text-decoration: none;
}
.agree-link:hover { text-decoration: underline; }

/* 注册页：疏朗布局 + 高对比度 */
.register-page {
  padding-top: 6rem;
  padding-bottom: 5rem;
}
.register-wrap {
  max-width: 32rem;
}
.register-subtitle {
  margin: -0.5rem auto 2.25rem;
  max-width: 26rem;
  line-height: 1.75;
}
.register-form.auth-card {
  padding: 2.5rem 2.25rem 2rem;
}
.register-form .form-field {
  margin-bottom: 2rem !important;
}
.register-form .form-field label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e2e8f0 !important;
}
.register-form .input-with-icon > input {
  min-height: 3.375rem;
  padding: 0.9375rem 2.875rem 0.9375rem 2.875rem;
  font-size: 1rem;
  color: #f8fafc !important;
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  border-radius: 0.5rem;
  -webkit-text-fill-color: #f8fafc;
  box-sizing: border-box;
}
.register-form .input-with-icon > input::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.register-form .input-with-icon > input:focus {
  border-color: #a855f7 !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}
.register-form .input-icon {
  color: #94a3b8;
}
.register-form .input-toggle-pw {
  color: #94a3b8;
}
.register-form .captcha-row {
  gap: 1rem;
  align-items: stretch;
}
.register-form .captcha-row .input-with-icon input {
  min-height: 3.375rem;
}
.register-form .captcha-prompt {
  min-width: 8.5rem;
  min-height: 3.375rem;
  font-size: 1.25rem;
}
.register-form .captcha-refresh {
  display: inline-block;
  margin-top: 0.625rem;
  color: #a78bfa;
}
.register-form .agree-field {
  margin-top: 0.25rem !important;
  margin-bottom: 1.75rem !important;
  padding-top: 0.5rem;
}
.register-form .agree-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.75;
  gap: 0.75rem;
}
.register-form .agree-link {
  color: #60a5fa;
}
.register-form .auth-submit {
  margin-top: 0.25rem;
  min-height: 3.25rem;
  font-size: 1.0625rem;
}
.register-form .auth-footer {
  margin-top: 2rem;
  padding-top: 0.5rem;
}

/* 联系我们 */
.contact-page {
  padding-top: 6rem;
  padding-bottom: 5rem;
}
.contact-wrap {
  max-width: 32rem;
}
.contact-subtitle {
  margin: -0.5rem auto 2.25rem;
  max-width: 26rem;
  line-height: 1.75;
  color: #94a3b8;
}
.contact-form.auth-card {
  padding: 2.5rem 2.25rem 2rem;
}
.contact-form .form-field {
  margin-bottom: 2rem !important;
}
.contact-form .form-field label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #e2e8f0 !important;
}
.contact-optional {
  font-weight: 400;
  color: #64748b;
  font-size: 0.8125rem;
}
.contact-form .form-field input,
.contact-form .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  color: #f8fafc !important;
  background: #1e293b !important;
  border: 1px solid #475569 !important;
  border-radius: 0.5rem;
  font-size: 1rem;
  -webkit-text-fill-color: #f8fafc;
}
.contact-form .form-field input {
  min-height: 3.375rem;
  padding: 0.9375rem 1.25rem;
}
.contact-form .form-field textarea {
  min-height: 9rem;
  padding: 1rem 1.25rem;
  line-height: 1.6;
  resize: vertical;
}
.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.contact-form .form-field input:focus,
.contact-form .form-field textarea:focus {
  border-color: #a855f7 !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}
.contact-form .auth-submit {
  margin-top: 0.25rem;
  min-height: 3.25rem;
}
.contact-form .auth-footer {
  margin-top: 2rem;
}
.legal-page-body h3 {
  color: #e2e8f0;
  font-size: 0.9375rem;
  margin: 1.25rem 0 0.5rem;
}
.legal-page-body p,
.legal-page-body li { margin-bottom: 0.5rem; }
.legal-page-body ul { padding-left: 1.25rem; list-style: disc; }
.legal-page-body a { color: #c084fc; text-decoration: underline; }
.legal-modal-body a { color: #93c5fd; }

.legal-modal.open { display: flex; padding: 1rem; }
.legal-modal-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 1rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.legal-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #1e293b;
  flex-shrink: 0;
}
.legal-modal-header-left {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.legal-modal-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}
.legal-modal-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}
.legal-modal-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: #3b82f6;
  font-weight: 600;
}
.legal-modal-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}
.legal-modal-close:hover { color: #e2e8f0; }
.legal-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  color: #94a3b8;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.legal-modal-body h3 {
  color: #e2e8f0;
  font-size: 0.875rem;
  margin: 1rem 0 0.5rem;
  padding-left: 0.5rem;
  border-left: 3px solid #3b82f6;
}
.legal-modal-body h3:first-child { margin-top: 0; }
.legal-modal-body p { margin: 0 0 0.65rem; }
.legal-modal-body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal-modal-body li { margin-bottom: 0.35rem; }
.legal-modal-body .legal-lead { color: #cbd5e1; }
.legal-modal-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid #1e293b;
  flex-shrink: 0;
}
.legal-modal-accept {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}

.site-header a,
.site-header button { pointer-events: auto; cursor: pointer; }

/* 策略库列表页 */
.library-page { min-height: 100vh; }
.library-label {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}
.library-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #1a1a1a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #f1f5f9;
  font-size: 0.875rem;
}
.library-input:focus {
  outline: none;
  border-color: #a855f7;
}
.library-card { min-height: 100%; }
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 社区交流区 */
.community-page { min-height: 100vh; }
.community-grid {
  display: grid;
  grid-template-columns: 200px 1fr 240px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .community-grid { grid-template-columns: 1fr; }
  .community-sidebar-right { order: 3; }
  .community-sidebar { order: 1; }
  .community-main { order: 2; }
}
.community-panel {
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.community-panel-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
}
.community-cat-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.community-cat-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
}
.community-cat-nav a:hover,
.community-cat-nav a.active {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}
.community-search {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.community-search .library-input { flex: 1; margin: 0; }
.community-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.community-tab {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  border: 1px solid transparent;
}
.community-tab.active,
.community-tab:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.4);
}
.community-post-item {
  background: rgba(15, 15, 25, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.community-post-item:hover { border-color: rgba(168, 85, 247, 0.35); }
.community-post-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.community-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.875rem;
}
.community-avatar.sm { width: 2rem; height: 2rem; font-size: 0.75rem; }
.community-post-meta { flex: 1; min-width: 0; }
.community-author { color: #e2e8f0; font-size: 0.875rem; font-weight: 500; }
.community-time { color: #64748b; font-size: 0.75rem; margin-left: 0.5rem; }
.community-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  flex-shrink: 0;
}
.community-post-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.community-post-title a { color: #f8fafc; text-decoration: none; }
.community-post-title a:hover { color: #c084fc; }
.community-post-snippet { color: #94a3b8; font-size: 0.875rem; line-height: 1.6; margin-bottom: 0.75rem; }
.community-post-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
  align-items: center;
}
.community-stat-view { cursor: default; }
.community-stat-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.5rem;
  margin: -0.2rem -0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #94a3b8;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.community-stat-link:hover {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.12);
}
.community-stat-like.liked {
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.community-rank-list { list-style: none; padding: 0; margin: 0; }
.community-rank-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
}
.community-rank-num { color: #a855f7; font-weight: 700; min-width: 1.25rem; }
.community-rank-list a { color: #cbd5e1; text-decoration: none; line-height: 1.4; }
.community-rank-list a:hover { color: #c084fc; }
.community-user-list { list-style: none; padding: 0; margin: 0; }
.community-user-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.community-like-btn {
  background: transparent;
  border: 1px solid #475569;
  color: #94a3b8;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.community-like-btn.liked { border-color: #a855f7; color: #c084fc; }

/* 评论表情 */
.community-comment-compose { position: relative; margin-bottom: 0.75rem; }
.community-comment-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.emoji-picker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #475569;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.emoji-picker-toggle:hover {
  color: #e9d5ff;
  border-color: rgba(168, 85, 247, 0.5);
  background: rgba(88, 28, 135, 0.25);
}
.emoji-picker-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 50;
  margin-bottom: 0.5rem;
  padding: 0.65rem;
  background: #1e293b;
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  max-height: 11rem;
  overflow-y: auto;
}
.emoji-picker-panel.open { display: block; }
.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(2.1rem, 1fr));
  gap: 0.2rem;
}
.emoji-picker-item {
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
  background: transparent;
  border: none;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: background 0.12s, transform 0.12s;
}
.emoji-picker-item:hover {
  background: rgba(168, 85, 247, 0.2);
  transform: scale(1.12);
}
.community-comment-compose textarea.library-input { margin-bottom: 0; }
.community-tip { background: rgba(120, 53, 15, 0.15); border-color: rgba(245, 158, 11, 0.25); }
.community-tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.community-tag-cloud.vertical { flex-direction: column; align-items: stretch; }
.community-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 0.8125rem;
  text-decoration: none;
  cursor: pointer;
}
.community-tag-pill.sm { font-size: 0.75rem; padding: 0.25rem 0.6rem; }
.community-tag-pill.xs { font-size: 0.6875rem; padding: 0.15rem 0.5rem; }
.community-tag-pill.active,
.community-tag-pill:hover { background: rgba(168, 85, 247, 0.2); border-color: rgba(168, 85, 247, 0.45); color: #e9d5ff; }
.community-tag-pill.rank { margin-bottom: 0.5rem; }
.community-tag-count { color: #64748b; font-size: 0.6875rem; }
.community-post-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.community-post-tags.compact { margin-top: -0.25rem; }
.community-tag-suggest { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.community-filter-banner {
  padding: 0.75rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}
.community-tab-rank { margin-left: auto; }
.activity-badge {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 0.25rem;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 600;
}
.activity-badge.sm { font-size: 0.6875rem; }
.activity-level {
  font-size: 0.6875rem;
  color: #64748b;
  padding: 0.1rem 0.35rem;
  border: 1px solid #334155;
  border-radius: 0.25rem;
}
.activity-level.sm { font-size: 0.625rem; }
.btn-follow {
  padding: 0.35rem 0.85rem;
  border-radius: 0.375rem;
  border: 1px solid #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  font-size: 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-follow.following {
  border-color: #475569;
  background: transparent;
  color: #94a3b8;
}
.btn-follow:hover { background: rgba(59, 130, 246, 0.25); }
.community-attachments {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 1rem;
}
.community-attach-list { list-style: none; padding: 0; margin: 0; }
.community-attach-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #1e293b;
  font-size: 0.875rem;
}
.community-attach-list li:last-child { border-bottom: none; }
.attach-name { color: #e2e8f0; flex: 1; min-width: 8rem; }
.attach-meta { color: #64748b; font-size: 0.75rem; }
.attach-locked { color: #f59e0b; font-size: 0.75rem; max-width: 14rem; }
.community-rank-list-lg li { margin-bottom: 0.85rem; }
.community-rank-num.top { color: #fbbf24; }
.community-rank-num.sm { min-width: 1rem; font-size: 0.75rem; }
.dl-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}
.dl-badge-free { background: rgba(34, 197, 94, 0.15); color: #86efac; border: 1px solid rgba(34, 197, 94, 0.35); }
.dl-badge-activity { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.35); }
.dl-badge-member { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.35); }
.dl-badge-premium { background: rgba(251, 191, 36, 0.12); color: #fde68a; border: 1px solid rgba(251, 191, 36, 0.4); }
.dl-badge-paid { background: rgba(239, 68, 68, 0.12); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.35); }

/* 顶栏已登录用户 */
.user-nav { position: relative; }
.user-nav-trigger {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(0, 0, 0, 0.6);
  color: #e2e8f0;
  cursor: pointer;
  font: inherit;
}
.user-nav-trigger:hover { border-color: #a855f7; }
.user-nav-avatar,
.user-nav-avatar-mobile {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.user-nav-avatar-mobile {
  width: 2.5rem;
  height: 2.5rem;
  text-decoration: none;
}
.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
}
.user-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #1e293b;
}
.user-nav-avatar .user-avatar,
.user-nav-avatar .user-avatar-initial,
.user-nav-avatar .user-avatar-img,
.user-nav-avatar-mobile .user-avatar,
.user-nav-avatar-mobile .user-avatar-initial,
.user-nav-avatar-mobile .user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-size: 0.95rem;
}
.user-nav-meta { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.user-nav-name { font-size: 0.8125rem; font-weight: 600; color: #f1f5f9; max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-nav-tier { font-size: 0.6875rem; color: #94a3b8; }
.user-nav-tier.tier-member { color: #d8b4fe; }
.user-nav-tier.tier-premium { color: #fde68a; }
.user-nav-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 12rem;
  padding: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
}
.user-nav.open .user-nav-dropdown { display: block; }
.user-nav-dropdown-email { font-size: 0.75rem; color: #64748b; padding: 0.35rem 0.75rem 0.5rem; margin: 0; word-break: break-all; }
.user-nav-dropdown-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
}
.user-nav-dropdown-link:hover { background: rgba(168, 85, 247, 0.15); color: #fff; }
.user-nav-dropdown-link.highlight { color: #fde68a; }
.user-nav-dropdown-link.danger { color: #f87171; }

.account-card .account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.account-label { color: #94a3b8; font-size: 0.875rem; }
.account-value { color: #f1f5f9; font-size: 0.9375rem; text-align: right; }

/* 个人中心 */
.user-center-page { min-height: 100vh; }
.uc-layout {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .uc-layout { grid-template-columns: 1fr; }
  .uc-sidebar { order: 2; }
}
.uc-sidebar {
  position: sticky;
  top: 6rem;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(0, 0, 0, 0.75);
}
.uc-sidebar-score {
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.uc-sidebar-score-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.uc-sidebar-score-label { font-size: 0.75rem; color: #64748b; }
.uc-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.uc-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
}
.uc-nav-item:hover { background: rgba(168, 85, 247, 0.1); color: #e2e8f0; }
.uc-nav-item.active {
  background: rgba(168, 85, 247, 0.2);
  color: #fff;
  border-left: 3px solid #a855f7;
}
.uc-nav-danger { color: #f87171 !important; margin-top: 0.5rem; }
.uc-nav-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
}
.uc-sidebar-tip {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.uc-sidebar-tip-title { font-size: 0.8125rem; color: #cbd5e1; margin-bottom: 0.35rem; }
.uc-main { min-width: 0; }
.uc-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.25rem;
}
.uc-hero-left { display: flex; gap: 1.25rem; align-items: center; }
.uc-hero-avatar,
.uc-hero-avatar .user-avatar,
.uc-hero-avatar .uc-hero-avatar-inner {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  font-size: 1.75rem;
}
.community-avatar .user-avatar,
.community-avatar .community-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-size: inherit;
}
.uc-profile-form { margin-top: 0.5rem; }
.uc-profile-avatar-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.uc-profile-avatar-preview .uc-profile-avatar-lg,
.uc-profile-avatar-lg.user-avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1rem;
  font-size: 2rem;
}
.uc-profile-avatar-actions label.btn-outline { margin: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.uc-hero-name { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 0 0 0.25rem; }
.uc-hero-email { font-size: 0.875rem; color: #64748b; margin: 0; }
.uc-hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; align-items: center; }
.uc-upgrade-btn {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  color: #1a1a1a;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.uc-status-ok { font-size: 0.75rem; color: #4ade80; }
.uc-hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.uc-hero-score { text-align: center; }
.uc-hero-score-num { display: block; font-size: 2rem; font-weight: 800; color: #fde68a; }
.uc-hero-score-lbl { font-size: 0.75rem; color: #94a3b8; }
.uc-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  .uc-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.uc-stat-card {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 23, 42, 0.5);
}
.uc-stat-label { display: block; font-size: 0.75rem; color: #64748b; margin-bottom: 0.35rem; }
.uc-stat-value { font-size: 1.5rem; font-weight: 700; color: #f1f5f9; }
.uc-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.uc-panel-wide { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .uc-panels { grid-template-columns: 1fr; }
}
.uc-panel {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.6);
  background: rgba(0, 0, 0, 0.5);
}
.uc-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.uc-panel-head h2, .uc-panel-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 1rem;
}
.uc-panel-head h2 { margin: 0; }
.uc-table {
  width: 100%;
  font-size: 0.8125rem;
  border-collapse: collapse;
}
.uc-table th {
  text-align: left;
  color: #64748b;
  font-weight: 500;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.uc-table td {
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
  color: #cbd5e1;
}
.uc-empty { color: #64748b; font-size: 0.875rem; margin: 0; }
.uc-license-list { list-style: none; padding: 0; margin: 0; }
.uc-license-list li { padding: 0.75rem; background: rgba(168, 85, 247, 0.08); border-radius: 0.5rem; }
.uc-feed-list { list-style: none; padding: 0; margin: 0; }
.uc-feed-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.4);
}
.uc-follow-list { list-style: none; padding: 0; margin: 0; }
.uc-follow-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(30, 41, 59, 0.4);
}
.uc-follow-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #4c1d95;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #e9d5ff;
}
.uc-order-paid { color: #4ade80; }
.uc-order-pending { color: #fbbf24; }
.uc-order-cancelled { color: #94a3b8; }
.uc-security-list { display: flex; flex-direction: column; gap: 1rem; }
.uc-security-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
}

/* 推广分佣（参考 EA 宝库模板 · 蓝色主题） */
.uc-ref { color: #e2e8f0; }
.uc-ref-titlebar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 0.75rem;
}
.uc-ref-page-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.uc-ref-growth-badge {
  font-size: 0.75rem;
  color: #38bdf8;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.uc-ref-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 900px) {
  .uc-ref-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.uc-ref-stat-card {
  position: relative;
  padding: 1.1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}
.uc-ref-stat-highlight {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(145deg, rgba(12, 74, 110, 0.35), rgba(2, 6, 23, 0.95));
}
.uc-ref-stat-icon { font-size: 1.25rem; display: block; margin-bottom: 0.35rem; opacity: 0.85; }
.uc-ref-stat-label { display: block; font-size: 0.75rem; color: #64748b; margin-bottom: 0.25rem; }
.uc-ref-stat-value { font-size: 1.5rem; font-weight: 700; color: #f1f5f9; }
.uc-ref-stat-value small { font-size: 0.875rem; font-weight: 400; color: #94a3b8; }
.uc-ref-withdraw-btn {
  margin-top: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 0.375rem;
  border: none;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.7;
}
.uc-ref-promo {
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 1rem;
  background: rgba(8, 15, 30, 0.85);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.uc-ref-promo-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #7dd3fc;
  font-weight: 600;
}
.uc-ref-promo-head h3 { margin: 0; font-size: 1rem; color: #e0f2fe; }
.uc-ref-promo-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .uc-ref-promo-body { grid-template-columns: 1fr; }
}
.uc-ref-link-input { background: #0f172a !important; border-color: #334155 !important; font-size: 0.8125rem; }
.uc-ref-copy-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 0.375rem;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}
.uc-ref-poster-hint { font-size: 0.8125rem; margin: 0.5rem 0 0.75rem; }
.uc-ref-notice-box {
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(14, 116, 144, 0.15);
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.6;
}
.uc-ref-notice-box strong { color: #7dd3fc; display: block; margin-bottom: 0.35rem; }
.uc-ref-promo-right { text-align: center; min-width: 200px; }
.uc-ref-qr-wrap {
  display: inline-block;
  padding: 0.75rem;
  background: #fff;
  border-radius: 0.5rem;
}
.uc-ref-qr-img { display: block; border-radius: 0.25rem; }
.uc-ref-qr-caption { font-size: 0.875rem; color: #94a3b8; margin: 0.5rem 0; }
.uc-ref-agent-badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 0.375rem;
  background: linear-gradient(90deg, #f59e0b, #eab308);
  color: #1c1917;
  font-size: 0.75rem;
  font-weight: 700;
}
.uc-ref-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #334155;
  margin-bottom: 0;
}
.uc-ref-tabs a {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.uc-ref-tabs a:hover { color: #e2e8f0; }
.uc-ref-tabs a.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.uc-ref-panel {
  padding: 1.25rem;
  border: 1px solid #334155;
  border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  min-height: 8rem;
}

.uc-referral-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.uc-referral-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
}
.uc-referral-stats { margin-bottom: 1.25rem; }
.uc-referral-promo {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(15, 23, 42, 0.6);
  margin-bottom: 1rem;
}
.uc-referral-promo-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .uc-referral-promo-grid { grid-template-columns: 1fr; }
}
.uc-copy-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.uc-copy-row .library-input { flex: 1; min-width: 0; margin: 0; }
.uc-referral-qr-box {
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: #fff;
}
.uc-referral-qr-img {
  display: block;
  border-radius: 0.5rem;
}
.uc-referral-tip {
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.uc-referral-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  padding-bottom: 0.5rem;
}
.uc-referral-tabs a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 0.5rem 0.5rem 0 0;
}
.uc-referral-tabs a:hover { color: #e2e8f0; }
.uc-referral-tabs a.active {
  color: #fff;
  background: rgba(168, 85, 247, 0.2);
  border-bottom: 2px solid #a855f7;
}
.dl-rule-card {
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 0.5rem;
  border: 1px solid #334155;
}

/* 首页落地页（简洁版，类似 eafxm.cn） */
.home-page { padding-top: 5.5rem; }
.home-hero {
  padding: 3rem 1rem 2.5rem;
  position: relative;
}
.home-hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: #c4b5fd;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: rgba(88, 28, 135, 0.25);
  margin-bottom: 1.5rem;
}
.home-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.home-hero-desc {
  font-size: 1.0625rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 36rem;
  margin: 0 auto 2rem;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.home-stats { padding: 0 1rem 3rem; }
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  background: rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) {
  .home-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.home-stat-item { text-align: center; padding: 0.5rem; }
.home-stat-value { font-size: 1.75rem; font-weight: 800; line-height: 1.2; }
.home-stat-label { color: #e2e8f0; font-size: 0.875rem; margin-top: 0.25rem; }
.home-stat-sub { color: #64748b; font-size: 0.75rem; }
.home-stats-note {
  text-align: center;
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.75rem;
}
.home-section { padding: 3rem 1rem; }
.home-section-alt { background: rgba(88, 28, 135, 0.06); }
.home-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.home-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.home-section-desc { color: #94a3b8; font-size: 0.9375rem; }
.home-section-link {
  color: #c084fc;
  text-decoration: none;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.home-section-link:hover { text-decoration: underline; }
.home-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .home-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .home-card-grid { grid-template-columns: repeat(4, 1fr); }
}
.home-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) {
  .home-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.home-card {
  display: block;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.8);
  background: rgba(15, 15, 25, 0.9);
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.home-card-link:hover {
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-2px);
}
.home-card-tag {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.home-card-tag-sm {
  font-size: 0.7rem;
  color: #a78bfa;
  margin-bottom: 0.5rem;
  display: block;
}
.home-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.home-card-desc {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.home-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
}
.home-vip-box {
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.35);
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.8), rgba(15, 15, 25, 0.95));
  padding: 2.5rem 2rem;
}
.home-vip-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.home-vip-desc { color: #94a3b8; line-height: 1.7; margin-bottom: 1.25rem; max-width: 40rem; }
.home-vip-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: #cbd5e1;
  font-size: 0.9375rem;
}
.home-vip-features li { margin-bottom: 0.5rem; padding-left: 0; }
.home-vip-features strong { color: #e9d5ff; }
.home-topics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.home-topic-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(51, 65, 85, 0.6);
  background: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: border-color 0.2s;
}
.home-topic-item:hover { border-color: rgba(168, 85, 247, 0.4); }
.home-topic-rank {
  color: #a855f7;
  font-weight: 700;
  min-width: 1.5rem;
}
.home-topic-title {
  flex: 1;
  color: #e2e8f0;
  font-size: 0.9375rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-topic-meta { color: #64748b; font-size: 0.8125rem; flex-shrink: 0; }

/* 页脚（eafxm 风格） */
.site-footer {
  background: #0b0f19;
  color: #94a3b8;
  margin-top: 0;
}
.site-footer-main {
  padding: 3.5rem 0 2.5rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}
.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.site-footer-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}
.site-footer-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 18rem;
  margin-bottom: 1.25rem;
}
.site-footer-social {
  display: flex;
  gap: 0.75rem;
}
.site-footer-social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.site-footer-social-btn:hover {
  border-color: #3b82f6;
  color: #e2e8f0;
}
.site-footer-heading {
  color: #f1f5f9;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.site-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer-links li { margin-bottom: 0.5rem; }
.site-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.site-footer-links a:hover { color: #f8fafc; }
.site-footer-bar {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
}
.site-footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-footer-copy {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
}
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-footer-legal a {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: none;
}
.site-footer-legal a:hover { color: #f8fafc; }
.site-footer-risk {
  background: #060a12;
  border-top: 1px solid #1e293b;
  padding: 1rem 0;
}
.site-footer-risk p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #64748b;
  text-align: center;
}
.site-footer-risk strong { color: #94a3b8; font-weight: 600; }

/* EA 详情页（第一期） */
.res-detail-page { padding-top: 7rem; padding-bottom: 4rem; min-height: 100vh; }
.res-detail-breadcrumb a { color: inherit; text-decoration: none; }
.res-detail-intro-head {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.875rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.55);
}
.res-detail-intro-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.res-detail-badge--primary {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}
.res-detail-intro-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
}
.res-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.res-detail-meta li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.8125rem;
}
.res-detail-meta-label { color: #64748b; }
.res-detail-meta strong { color: #e2e8f0; font-weight: 700; }
.res-detail-intro-desc {
  margin: 0 0 0.85rem;
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 52rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.res-detail-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.res-detail-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.res-detail-hero-cta {
  padding: 0.65rem 1.35rem !important;
  font-size: 0.9375rem !important;
}
.res-detail-hero-secondary {
  color: #38bdf8;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.res-detail-hero-secondary:hover { color: #7dd3fc; text-decoration: underline; }
.res-detail-content-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.875rem;
  background: rgba(15, 23, 42, 0.65);
}
.res-detail-chip {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
}
.res-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 768px) {
  .res-detail-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .res-detail-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 1.75rem; }
}
.res-detail-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0 0.5rem;
  scrollbar-width: thin;
}
.res-detail-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}
.res-detail-tab-icon { font-size: 0.9375rem; line-height: 1; }
.res-detail-tab-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: #64748b;
  flex-shrink: 0;
}
.res-detail-tab.is-pending { opacity: 0.78; }
.res-detail-tab:hover { color: #e2e8f0; }
.res-detail-tab.is-active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.res-detail-panel {
  padding: 1.35rem 1.5rem 1.5rem;
  min-height: 0;
}
.res-detail-module-note {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  color: rgba(251, 191, 36, 0.9);
  font-size: 0.75rem;
  line-height: 1.6;
}
.res-detail-prose-heading {
  margin: 1.15rem 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #e2e8f0;
}
.res-detail-prose--structured > .res-detail-prose-heading:first-child { margin-top: 0; }
.res-detail-purchase-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.res-detail-purchase-shield { font-size: 1.125rem; }
.res-detail-purchase-titlebar .res-detail-purchase-title {
  margin: 0;
  font-size: 1.0625rem;
}
.res-detail-block-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.res-detail-block-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.12);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.res-detail-block-icon--gear { background: rgba(56, 189, 248, 0.15); }
.res-detail-block-icon--faq {
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
}
.res-detail-section-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}
.res-detail-prose { color: #cbd5e1; line-height: 1.75; font-size: 0.9375rem; }
.res-detail-faq { display: flex; flex-direction: column; gap: 0.75rem; }
.res-detail-faq-card {
  padding: 1rem 1.125rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.625rem;
  background: rgba(30, 41, 59, 0.5);
}
.res-detail-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}
.res-detail-faq-q-badge {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background: #2563eb;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.res-detail-faq-q strong {
  color: #f1f5f9;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 600;
}
.res-detail-faq-answer {
  padding-left: 2.125rem;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.7;
}
.res-detail-type-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
}
.res-detail-support-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(90deg, rgba(88, 28, 135, 0.45), rgba(190, 24, 93, 0.25));
  border: 1px solid rgba(168, 85, 247, 0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.res-detail-support-banner:hover { opacity: 0.92; transform: translateY(-1px); }
.res-detail-support-banner strong { display: block; color: #f8fafc; font-size: 0.9375rem; }
.res-detail-support-banner small { display: block; color: #cbd5e1; font-size: 0.75rem; margin-top: 0.15rem; }
.res-detail-support-icon { font-size: 1.5rem; }
.res-detail-support-arrow { margin-left: auto; color: #e9d5ff; font-weight: 700; }
.res-detail-empty { text-align: center; padding: 2rem 1rem; }
.res-detail-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.res-detail-file-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.res-detail-file-name { color: #e2e8f0; font-size: 0.875rem; }
.res-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 6rem;
  align-self: start;
}
.res-detail-browse-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.6;
}
.res-detail-browse-footer {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  background: rgba(88, 28, 135, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.2);
}
.res-detail-browse-footer strong { color: #e9d5ff; }
.res-detail-purchase-card {
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.45);
}
.res-detail-purchase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.res-detail-purchase-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fbbf24;
}
.res-detail-purchase-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #f8fafc;
}
.res-detail-purchase-hint {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #94a3b8;
}
.res-detail-purchase-member {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: #fcd34d;
  background: rgba(120, 53, 15, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.res-detail-purchase-files {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: #64748b;
}
.res-detail-purchase-cta { margin-bottom: 0.5rem; }
.res-detail-purchase-secondary {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  color: #a78bfa;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.res-detail-purchase-secondary:hover { color: #e9d5ff; }
.res-detail-purchase-trust {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  color: #64748b;
  text-align: center;
  line-height: 1.5;
}
.res-detail-mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(96, 165, 250, 0.3);
  backdrop-filter: blur(10px);
}
.res-detail-mobile-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.res-detail-mobile-cta strong {
  display: block;
  font-size: 0.875rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}
.res-detail-mobile-cta span {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
}
@media (max-width: 1023px) {
  .res-detail-sidebar { position: static; order: 2; }
  .res-detail-main { order: 1; }
  .res-detail-hero-cta { display: none; }
  .res-detail-mobile-cta { display: block; }
  .res-detail-page { padding-bottom: 5.5rem; }
}
.res-detail-creator-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
}
.res-detail-creator-avatar {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(135deg, #7c3aed, #db2777);
}
.res-detail-creator-name { margin: 0; font-size: 1.0625rem; font-weight: 700; color: #f8fafc; }
.res-detail-creator-title { margin: 0.25rem 0 1rem; font-size: 0.8125rem; color: #94a3b8; }
.res-detail-creator-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.res-detail-creator-stats strong { display: block; color: #f8fafc; font-size: 1rem; }
.res-detail-creator-stats span { display: block; font-size: 0.6875rem; color: #64748b; margin-top: 0.15rem; }
.res-detail-contact h4 { margin: 0 0 0.75rem; font-size: 0.8125rem; color: #94a3b8; text-align: left; font-weight: 600; }
.res-detail-contact p { margin: 0.35rem 0; font-size: 0.875rem; color: #e2e8f0; text-align: left; }
.res-detail-contact p span { color: #94a3b8; margin-right: 0.5rem; }
.res-detail-contact.is-locked .res-detail-lock {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.5rem;
  background: rgba(30, 41, 59, 0.55);
  border: 1px dashed rgba(148, 163, 184, 0.25);
}
.res-detail-lock-icon { font-size: 1.5rem; display: block; margin-bottom: 0.35rem; }
.res-detail-lock p { text-align: center; font-size: 0.8125rem; color: #94a3b8; margin-bottom: 0.75rem; }
.res-detail-security {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(6, 78, 59, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.res-detail-security-icon { font-size: 1.25rem; flex-shrink: 0; }
.res-detail-security strong { display: block; color: #6ee7b7; font-size: 0.875rem; margin-bottom: 0.25rem; }
.res-detail-security p { margin: 0; font-size: 0.75rem; color: #94a3b8; line-height: 1.5; }
.res-detail-back {
  text-align: center;
  font-size: 0.8125rem;
  color: #94a3b8;
  text-decoration: none;
}
.res-detail-back:hover { color: #e9d5ff; }
.res-detail-table-wrap { overflow-x: auto; }
.res-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.res-detail-table th,
.res-detail-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.res-detail-table th {
  color: #94a3b8;
  font-weight: 600;
  background: rgba(30, 41, 59, 0.45);
}
.res-detail-table td { color: #e2e8f0; }
.res-detail-table code {
  font-size: 0.8125rem;
  color: #c4b5fd;
  background: rgba(88, 28, 135, 0.25);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}
.res-detail-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.res-detail-steps li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.res-detail-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(135deg, #7c3aed, #db2777);
}
.res-detail-step-text { color: #cbd5e1; line-height: 1.6; font-size: 0.9375rem; }
.res-detail-install-tips {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background: rgba(30, 41, 59, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.res-detail-install-tips strong { display: block; color: #e2e8f0; margin-bottom: 0.5rem; font-size: 0.875rem; }
.res-detail-install-tips ul { margin: 0; padding-left: 1.1rem; color: #94a3b8; font-size: 0.8125rem; line-height: 1.7; }
.res-detail-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .res-detail-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.res-detail-metric {
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(30, 41, 59, 0.45);
}
.res-detail-metric-value { display: block; font-size: 1.25rem; font-weight: 700; color: #f8fafc; }
.res-detail-metric-label { display: block; font-size: 0.75rem; color: #94a3b8; margin-top: 0.25rem; }
.res-detail-metric--green .res-detail-metric-value { color: #6ee7b7; }
.res-detail-metric--red .res-detail-metric-value { color: #fca5a5; }
.res-detail-metric--blue .res-detail-metric-value { color: #93c5fd; }
.res-detail-metric--amber .res-detail-metric-value { color: #fcd34d; }
.res-detail-metric--purple .res-detail-metric-value { color: #c4b5fd; }
.res-detail-backtest-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0;
}
.res-detail-backtest-meta > div {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.12);
}
.res-detail-backtest-meta dt { margin: 0; font-size: 0.75rem; color: #64748b; }
.res-detail-backtest-meta dd { margin: 0.25rem 0 0; font-size: 0.9375rem; color: #e2e8f0; font-weight: 600; }
.res-detail-backtest-disclaimer {
  margin: 1.25rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: #fbbf24;
  background: rgba(120, 53, 15, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
@media (max-width: 640px) {
  .res-detail-tab { padding: 0.55rem 0.65rem; font-size: 0.8125rem; }
  .res-detail-faq-answer { padding-left: 0; }
}
.res-detail-param-group { margin-bottom: 1.25rem; }
.res-detail-param-group:last-of-type { margin-bottom: 0; }
.res-detail-param-group-title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #c4b5fd;
}
.res-detail-chart-block {
  margin-bottom: 1.25rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.15);
}
.res-detail-chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.res-detail-chart-head strong { color: #f8fafc; font-size: 0.875rem; }
.res-detail-chart-head span { color: #64748b; font-size: 0.75rem; }
.res-detail-chart-svg {
  display: block;
  width: 100%;
  height: 140px;
  margin-bottom: 0.75rem;
}
.res-detail-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 72px;
  padding-top: 0.25rem;
}
.res-detail-chart-bar {
  flex: 1;
  min-width: 4px;
  border-radius: 3px 3px 0 0;
  transition: opacity 0.2s;
}
.res-detail-chart-bar:hover { opacity: 0.85; }
.res-detail-chart-bar--up { background: linear-gradient(180deg, #6ee7b7, #059669); }
.res-detail-chart-bar--down { background: linear-gradient(180deg, #fca5a5, #dc2626); }
.res-detail-shots-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.res-detail-shots-icon { font-size: 1.25rem; }
.res-detail-shots-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .res-detail-shots-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .res-detail-shots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.res-detail-shot {
  display: block;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  transition: border-color 0.2s, transform 0.2s;
}
.res-detail-shot:hover {
  border-color: rgba(52, 211, 153, 0.45);
  transform: translateY(-2px);
}
.res-detail-shot img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
}
.res-detail-shots-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.45);
}
.res-detail-shots-empty-icon {
  display: block;
  font-size: 2.5rem;
  opacity: 0.35;
  margin-bottom: 0.75rem;
}
.res-detail-shots-empty p {
  margin: 0;
  color: #64748b;
  font-size: 0.9375rem;
}
.res-detail-shots-empty--inline {
  padding: 2rem 1.25rem;
  margin-bottom: 1.25rem;
}
.res-detail-backtest-divider {
  margin: 1.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}
.res-detail-subsection-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}
