/* ============================================
   人肉大模型 - style.css
   现代极简风 · 豆包风格设计系统
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Backgrounds */
  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfc;
  --bg-subtle: #f7f8fa;
  --bg-input: #f4f5f7;
  --bg-input-focus: #ffffff;

  /* Primary - Blue/Indigo gradient */
  --color-primary: #4f6ef7;
  --color-primary-hover: #3b5de7;
  --color-primary-light: #e8ecff;
  --color-primary-ultra-light: #f0f3ff;
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-primary-soft: linear-gradient(135deg, #a8b4ff 0%, #c9a0f5 100%);
  --gradient-btn: linear-gradient(135deg, #5b7cfa 0%, #8b5cf6 100%);

  /* Accent pink */
  --color-accent: #f472b6;
  --color-accent-light: #fdf2f8;
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

  /* Human (green) */
  --color-human: #10b981;
  --color-human-light: #d1fae5;
  --color-human-bg: #ecfdf5;

  /* AI (purple) */
  --color-ai: #8b5cf6;
  --color-ai-light: #ede9fe;
  --color-ai-bg: #f5f3ff;

  /* Credits */
  --color-credits: #f59e0b;
  --color-credits-light: #fef3c7;

  /* Status */
  --color-danger: #ef4444;
  --color-danger-light: #fee2e2;
  --color-success: #10b981;
  --color-warning: #f59e0b;

  /* Text Colors */
  --text-primary: #1a1d26;
  --text-secondary: #5f6368;
  --text-muted: #9aa0a6;
  --text-placeholder: #bdc1c6;
  --text-inverse: #ffffff;

  /* Borders */
  --border-color: #e5e7eb;
  --border-light: #f0f1f3;
  --border-focus: var(--color-primary);

  /* Fonts */
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.06), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-card: 0 0 0 1px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.04), 0 12px 24px rgba(0,0,0,0.04);
  --shadow-float: 0 8px 30px rgba(0,0,0,0.08), 0 0 1px rgba(0,0,0,0.1);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-normal: 0.25s var(--ease-out);
  --transition-slow: 0.4s var(--ease-out);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
  line-height: 1.6;

  /* Subtle gradient background */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(102,126,234,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(139,92,246,0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

::selection {
  background: var(--color-primary-light);
  color: var(--text-primary);
}

/* ---------- Main Container ---------- */
.main-container {
  width: 100%;
  max-width: 760px;
  min-height: calc(100vh - 48px);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

/* ---------- Tab Navigation ---------- */
.tab-nav {
  display: flex;
  width: 100%;
  padding: 12px 16px;
  gap: 4px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 10;
}

.tab-btn {
  flex: 1;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  letter-spacing: 0.3px;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-md);
}

.tab-btn:first-child {
  border-right: none;
}

.tab-btn.active[data-tab="human"] {
  background: var(--color-human-light);
  color: #059669;
  font-weight: 600;
}

.tab-btn.active[data-tab="ai"] {
  background: var(--color-ai-light);
  color: #7c3aed;
  font-weight: 600;
}

.tab-btn:hover:not(.active) {
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

/* Credits badge on tab */
.credits-badge {
  position: absolute;
  top: 4px;
  right: 12px;
  background: var(--color-credits-light);
  color: #b45309;
  border: none;
  border-radius: var(--radius-full);
  padding: 1px 8px;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0;
}

/* ---------- Banner ---------- */
.banner {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  text-align: center;
  padding: 10px 40px 10px 16px;
  font-size: 0.82rem;
  font-weight: 400;
  position: relative;
  letter-spacing: 0.3px;
}

.banner a {
  color: var(--text-inverse);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  transition: border-color var(--transition-fast);
}

.banner a:hover {
  border-bottom-color: white;
}

.banner-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--text-inverse);
  cursor: pointer;
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.banner-close:hover {
  background: rgba(255,255,255,0.25);
}

.banner-sub {
  font-size: 0.72rem;
  opacity: 0.8;
  margin-top: 2px;
  font-weight: 300;
}

/* ---------- Content Area ---------- */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Each view panel */
.view-panel {
  display: none;
  flex: 1;
  flex-direction: column;
  padding: 0;
  animation: viewSlideIn 0.35s var(--ease-out);
}

.view-panel.active {
  display: flex;
}

@keyframes viewSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Human Mode (提问) ---------- */
.human-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 20px;
  text-align: center;
}

.logo-area {
  margin-bottom: 16px;
}

.logo-scribble {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: var(--gradient-primary-soft);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(102,126,234,0.2);
  transition: transform var(--transition-normal);
}

.logo-scribble:hover {
  transform: scale(1.05) rotate(-2deg);
}

.logo-scribble svg {
  width: 55px;
  height: 55px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-title {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-question {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 6px;
  cursor: help;
  transition: all var(--transition-fast);
}

.site-question:hover {
  background: var(--bg-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.site-subtitle {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 400;
  transition: opacity var(--transition-normal);
}

/* ---------- Chat Display ---------- */
.chat-display {
  flex: 1;
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  animation: bubbleIn 0.35s var(--ease-spring);
  position: relative;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--gradient-btn);
  color: var(--text-inverse);
  border-bottom-right-radius: var(--radius-xs);
  box-shadow: 0 2px 8px rgba(91,124,250,0.25);
}

.chat-bubble.ai {
  align-self: flex-start;
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-bottom-left-radius: var(--radius-xs);
}

.chat-bubble.ai::before {
  content: '🤖 人肉大模型';
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-ai);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.typing-indicator {
  display: inline-flex;
  gap: 5px;
  padding: 6px 2px;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: var(--color-ai);
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite;
  opacity: 0.6;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* ---------- Input Area ---------- */
.input-area {
  padding: 16px 20px 12px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
}

.input-mode-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.mode-btn {
  padding: 6px 18px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
  border-radius: var(--radius-full);
}

.mode-btn.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.mode-btn:hover:not(.active) {
  color: var(--text-secondary);
}

.credits-display {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-left: auto;
  padding: 4px 12px;
  background: var(--color-credits-light);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.credits-display:hover {
  background: #fde68a;
  transform: scale(1.03);
}

.credits-dot {
  width: 7px;
  height: 7px;
  background: var(--color-credits);
  border-radius: 50%;
  display: inline-block;
  animation: creditsPulse 2s ease-in-out infinite;
}

@keyframes creditsPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.text-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.text-input {
  flex: 1;
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  transition: all var(--transition-fast);
}

.text-input:focus {
  border-color: var(--color-primary);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.1);
}

.text-input::placeholder {
  color: var(--text-placeholder);
  font-weight: 400;
}

.char-count {
  position: absolute;
  right: 80px;
  bottom: 50%;
  transform: translateY(50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.send-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gradient-btn);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(91,124,250,0.3);
  flex-shrink: 0;
}

.send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(91,124,250,0.4);
}

.send-btn:active {
  transform: scale(0.95);
}

.send-btn.active {
  background: var(--color-success);
  box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}

.voice-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.voice-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  transform: scale(1.05);
}

/* ---------- AI Mode (当AI) ---------- */
.ai-home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  gap: 12px;
}

.become-card {
  width: 100%;
  max-width: 480px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  padding: 28px;
  text-align: center;
  color: var(--text-inverse);
  box-shadow: 0 8px 24px rgba(102,126,234,0.25);
  position: relative;
  overflow: hidden;
}

.become-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10%, 10%); }
}

.become-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  position: relative;
}

.become-desc {
  font-size: 0.88rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 8px;
  font-weight: 400;
  position: relative;
}

.become-detail {
  font-size: 0.78rem;
  opacity: 0.7;
  font-family: var(--font-mono);
  font-weight: 400;
  position: relative;
}

.big-btn {
  width: 100%;
  max-width: 480px;
  padding: 16px 24px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.big-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-start-larp {
  background: var(--gradient-btn);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(91,124,250,0.3);
}

.btn-start-larp:hover {
  box-shadow: 0 6px 20px rgba(91,124,250,0.4);
}

.btn-just-draw {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-just-draw:hover {
  background: var(--bg-card);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-gallery {
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-gallery:hover {
  background: var(--bg-card);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ---------- Larping Mode (回答中) ---------- */
.larp-active {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
}

.larp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.back-btn:hover {
  background: var(--bg-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateX(-2px);
}

.timer-display {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.timer-display.warning {
  background: var(--color-credits-light);
  border-color: var(--color-credits);
  color: #92400e;
  animation: timerPulse 0.5s ease infinite;
}

.timer-display.danger {
  background: var(--color-danger-light);
  border-color: var(--color-danger);
  color: var(--color-danger);
  animation: timerPulse 0.3s ease infinite;
}

@keyframes timerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.question-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.question-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.question-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.question-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
}

.answer-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.answer-textarea {
  flex: 1;
  min-height: 150px;
  padding: 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  resize: none;
  line-height: 1.7;
  transition: all var(--transition-fast);
}

.answer-textarea:focus {
  border-color: var(--color-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.1);
}

.answer-textarea::placeholder {
  color: var(--text-placeholder);
  font-weight: 400;
}

.submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
  gap: 10px;
}

.submit-btn {
  padding: 10px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  background: var(--gradient-btn);
  color: var(--text-inverse);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(91,124,250,0.25);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(91,124,250,0.35);
}

.skip-btn {
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.skip-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-secondary);
  background: var(--bg-subtle);
}

/* ---------- Drawing Mode ---------- */
.draw-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.draw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.draw-prompt {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-full);
  flex: 1;
  margin: 0 12px;
  text-align: center;
  background: var(--bg-subtle);
}

.canvas-container {
  flex: 1;
  min-height: 300px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.draw-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
}

.tool-btn {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.tool-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-color);
}

.tool-btn.active {
  background: var(--color-primary);
  color: var(--text-inverse);
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(79,110,247,0.25);
}

.tool-separator {
  width: 1px;
  height: 24px;
  background: var(--border-color);
  margin: 0 4px;
}

.color-palette {
  display: flex;
  gap: 5px;
  margin-left: 4px;
}

.color-swatch {
  width: 24px;
  height: 24px;
  border: 2px solid var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  transition: transform var(--transition-fast);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

.color-swatch:hover {
  transform: scale(1.25);
}

.color-swatch.active {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.size-slider {
  width: 80px;
  margin-left: 8px;
  accent-color: var(--color-primary);
}

.draw-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.draw-actions .big-btn {
  flex: 1;
  font-size: 0.95rem;
  padding: 12px;
}

/* ---------- Gallery ---------- */
.gallery-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.gallery-header {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  color: var(--text-primary);
}

.gallery-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.gallery-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-item-label {
  padding: 8px 10px;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

/* ---------- Footer ---------- */
.footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.73rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
}

.footer-support {
  margin-bottom: 4px;
  font-size: 0.78rem;
}

.footer-support a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-support a:hover {
  text-decoration: underline;
}

.footer-motto {
  font-style: italic;
  margin-bottom: 4px;
  opacity: 0.8;
}

.footer-links {
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

.footer-online {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  color: var(--text-placeholder);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  background: var(--text-primary);
  color: var(--text-inverse);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  opacity: 0;
  transition: all 0.4s var(--ease-spring);
  pointer-events: none;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Waiting Overlay ---------- */
.waiting-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  animation: viewSlideIn 0.3s var(--ease-out);
}

.waiting-overlay.active {
  display: flex;
}

.waiting-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}

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

.waiting-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
}

.waiting-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 400;
}

/* ---------- Success Screen ---------- */
.success-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: successPop 0.5s var(--ease-spring);
}

@keyframes successPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-title {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.success-detail {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ---------- How It Works ---------- */
.how-it-works {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  max-width: 440px;
  width: 100%;
  animation: viewSlideIn 0.5s var(--ease-out) 0.2s both;
}

.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.how-icon {
  font-size: 1.1rem;
}

.how-text strong {
  color: var(--color-primary);
  font-weight: 600;
}

.how-arrow {
  color: var(--text-placeholder);
  font-size: 0.9rem;
  font-weight: 600;
}

.how-dismiss {
  text-align: center;
  margin-top: 10px;
  font-size: 0.73rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.how-dismiss:hover {
  color: var(--color-primary);
}

/* ---------- Credits Hint Bar ---------- */
.credits-hint {
  padding: 8px 14px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--color-primary-ultra-light);
  border: 1px solid rgba(79,110,247,0.12);
  border-radius: var(--radius-full);
  text-align: center;
  font-weight: 400;
}

.credits-hint a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

.credits-hint a:hover {
  border-bottom-color: var(--color-primary);
}

.credits-hint.warning {
  background: var(--color-credits-light);
  border-color: rgba(245,158,11,0.25);
  color: #92400e;
}

.credits-hint.warning a {
  color: #b45309;
}

.credits-hint.empty {
  background: var(--color-danger-light);
  border-color: rgba(239,68,68,0.25);
  color: var(--color-danger);
  font-weight: 600;
}

.credits-hint.empty a {
  color: var(--color-danger);
}

/* ---------- Onboarding Overlay ---------- */
.onboarding-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: overlayFadeIn 0.3s var(--ease-out);
}

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

.onboarding-overlay.hidden {
  display: none !important;
}

.onboarding-modal {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.4s var(--ease-spring);
}

@keyframes modalSlideUp {
  0% { transform: scale(0.9) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.onboarding-logo {
  font-size: 3.5rem;
  margin-bottom: 12px;
  animation: robotFloat 3s ease-in-out infinite;
}

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

.onboarding-title {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.onboarding-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
}

.onboarding-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.onboarding-rule {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  transition: border-color var(--transition-fast);
}

.onboarding-rule:hover {
  border-color: var(--border-color);
}

.onboarding-rule:nth-child(1) {
  border-left: 3px solid var(--color-ai);
}

.onboarding-rule:nth-child(2) {
  border-left: 3px solid var(--color-human);
}

.onboarding-rule:nth-child(3) {
  border-left: 3px solid var(--color-credits);
}

.rule-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 24px;
}

.rule-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.rule-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.rule-detail strong {
  color: var(--color-primary);
  font-weight: 600;
}

.onboarding-credits-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding: 10px 16px;
  background: var(--color-credits-light);
  border-radius: var(--radius-full);
  font-weight: 500;
}

.onboarding-credits-info strong {
  color: #b45309;
}

.onboarding-start {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-md);
}

/* ---------- Scrollbar ---------- */
.chat-display::-webkit-scrollbar {
  width: 5px;
}

.chat-display::-webkit-scrollbar-track {
  background: transparent;
}

.chat-display::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.chat-display::-webkit-scrollbar-thumb:hover {
  background: var(--text-placeholder);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .main-container {
    min-height: 100vh;
    border-radius: 0;
    border: none;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 10px 14px;
  }

  .site-title {
    font-size: 1.4rem;
  }

  .human-home {
    padding: 30px 20px 16px;
  }

  .big-btn {
    font-size: 0.95rem;
    padding: 14px 20px;
  }

  .become-card {
    padding: 22px;
  }

  .draw-toolbar {
    gap: 4px;
    padding: 6px 8px;
  }

  .color-swatch {
    width: 20px;
    height: 20px;
  }

  .onboarding-modal {
    padding: 28px 20px;
  }

  .onboarding-title {
    font-size: 1.2rem;
  }

  .how-steps {
    flex-direction: column;
    gap: 4px;
  }

  .how-arrow {
    transform: rotate(90deg);
  }

  .input-area {
    padding: 12px 16px 10px;
  }

  .text-input {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .tab-nav {
    padding: 8px 12px;
  }

  .chat-display {
    padding: 16px;
  }
}

@media (max-width: 380px) {
  .text-input-row {
    gap: 6px;
  }

  .send-btn, .voice-btn {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Suggested Prompts ---------- */
.suggested-prompts {
  margin-top: 24px;
  max-width: 460px;
  width: 100%;
  animation: viewSlideIn 0.5s var(--ease-out) 0.15s both;
}

.suggested-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.suggested-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.prompt-chip {
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.prompt-chip:hover {
  background: var(--color-primary-ultra-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79,110,247,0.12);
}

.prompt-chip:active {
  transform: translateY(0);
}

/* ---------- Hidden utility ---------- */
.hidden {
  display: none !important;
}

/* ---------- Focus Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- Smooth scroll for all ---------- */
* {
  scroll-behavior: smooth;
}

/* ============================================
   NEW FEATURES - v0.3
   评价 / 分享 / 邀请 / 排行榜
   ============================================ */

/* ---------- Rating Overlay ---------- */
.rating-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: overlayFadeIn 0.25s var(--ease-out);
}

.rating-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 28px 24px 20px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.35s var(--ease-spring);
}

.rating-header {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.rating-nickname {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 400;
}

.rating-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.rating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 24px;
  background: var(--bg-subtle);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex: 1;
  max-width: 120px;
}

.rating-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-ultra-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.rating-btn.selected {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(79,110,247,0.15);
}

.rating-emoji {
  font-size: 2rem;
  line-height: 1;
}

.rating-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.rating-share-row {
  margin-bottom: 12px;
}

.share-card-btn {
  width: 100%;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px dashed var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-primary-ultra-light);
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-card-btn:hover {
  background: var(--color-primary-light);
  border-style: solid;
  transform: translateY(-1px);
}

.rating-dismiss {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  transition: color var(--transition-fast);
}

.rating-dismiss:hover {
  color: var(--text-secondary);
}

/* ---------- Share Card Modal ---------- */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  padding: 20px;
  animation: overlayFadeIn 0.25s var(--ease-out);
}

.share-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.35s var(--ease-spring);
}

.share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.share-close {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition-fast);
}

.share-close:hover {
  background: var(--bg-card);
  border-color: var(--text-secondary);
  color: var(--text-secondary);
}

.share-canvas-wrap {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
}

.share-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
}

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

.share-actions .big-btn {
  font-size: 0.9rem;
  padding: 12px;
}

/* ---------- Invite Modal ---------- */
.invite-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  animation: overlayFadeIn 0.25s var(--ease-out);
}

.invite-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalSlideUp 0.35s var(--ease-spring);
}

.invite-header {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.invite-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.invite-desc strong {
  color: var(--color-primary);
  font-weight: 600;
}

.invite-link-box {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.invite-link-input {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  color: var(--text-primary);
  outline: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invite-copy-btn {
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  color: var(--text-inverse);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.invite-copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91,124,250,0.3);
}

/* ---------- Footer Invite Button ---------- */
.footer-invite {
  margin: 8px 0;
}

.invite-btn {
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px dashed var(--color-credits);
  border-radius: var(--radius-full);
  background: var(--color-credits-light);
  color: #92400e;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.invite-btn:hover {
  border-style: solid;
  background: #fde68a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.2);
}

/* ---------- Leaderboard ---------- */
.footer-leaderboard {
  margin: 10px 0;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.leaderboard-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.leaderboard-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  transition: background var(--transition-fast);
}

.leaderboard-entry:hover {
  background: var(--color-primary-ultra-light);
}

.leaderboard-rank {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 20px;
}

.leaderboard-rank:nth-child(1) {
  color: #f59e0b;
}

.leaderboard-name {
  flex: 1;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-stats {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.leaderboard-empty {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
  font-weight: 400;
}

/* ---------- Chat Nickname Badge ---------- */
.chat-nickname {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-ai);
  margin-bottom: 4px;
  display: block;
  letter-spacing: 0.3px;
}
