/* 试用登记 + 邀请码弹层（v2.2） */
.trial-overlay {
  position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.trial-modal {
  background: #fff; border-radius: 16px; max-width: 480px; width: 100%;
  padding: 26px; position: relative; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  max-height: 90vh; overflow-y: auto;
}
.trial-modal h3 { font-size: 19px; margin-bottom: 6px; }
.trial-hint { color: #555; font-size: 13.5px; margin-bottom: 14px; }
.trial-close {
  position: absolute; top: 12px; right: 14px; background: none; border: 0;
  font-size: 18px; cursor: pointer; color: #888;
}
.trial-types { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.trial-type {
  border: 1px solid #e4e4e7; border-radius: 999px; padding: 6px 14px;
  font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.trial-type input { accent-color: #0ea5e9; }
.trial-field { margin-bottom: 10px; }
.trial-field label { display: block; font-size: 12.5px; color: #71717a; margin-bottom: 4px; }
.trial-field input, .trial-field select, .trial-field textarea {
  width: 100%; border: 1px solid #e4e4e7; border-radius: 10px; padding: 9px 12px; font-size: 14px; font-family: inherit;
}
.trial-field textarea { resize: vertical; }
.trial-error { color: #dc2626; font-size: 13px; min-height: 18px; }
.trial-submit { width: 100%; margin-top: 4px; }
.trial-success { margin-top: 14px; text-align: center; }
.trial-code-label { font-size: 13px; color: #71717a; }
.trial-code {
  font-size: 26px; font-weight: 800; letter-spacing: 2px; color: #0ea5e9;
  margin: 6px 0 10px; font-family: "SF Mono", Consolas, monospace;
}
.trial-share { margin: 12px 0 8px; font-size: 12.5px; color: #71717a; }
.trial-share input {
  width: 100%; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 8px;
  font-size: 12px; color: #334155; background: #f8fafc; margin-top: 4px;
}
.trial-copy { margin: 6px 4px 0; }
.trial-mine { font-size: 12.5px; color: #71717a; margin-top: 10px; }
