:root {
  --bg: #0c0a12;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f2f7;
  --text-muted: #9b95a8;
  --accent: #a78bfa;
  --accent-2: #67e8f9;
  --gradient: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #22d3ee 100%);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.bg-blob-1 { width: 280px; height: 280px; background: #6d28d9; top: -80px; right: -60px; }
.bg-blob-2 { width: 240px; height: 240px; background: #0891b2; bottom: 120px; left: -80px; opacity: 0.3; }

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 16px 16px calc(88px + var(--safe-bottom));
}

.screen { animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.page-header { margin-bottom: 24px; }
.page-header .eyebrow {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.page-header h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.page-header .subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.45;
}

/* Progress */
.progress-wrap { margin-bottom: 28px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.progress-bar {
  height: 6px;
  background: var(--surface);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cards */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* Emotion chips */
.emotion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.emotion-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.emotion-chip:active { transform: scale(0.97); }
.emotion-chip .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.emotion-chip.selected {
  border-color: transparent;
  background: var(--emotion-bg, var(--surface-hover));
  box-shadow: 0 0 0 2px var(--emotion-color, var(--accent));
}
.emotion-chip.sm {
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 12px;
}
.secondary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* Intensity */
.intensity-card {
  text-align: center;
  padding: 32px 20px;
  margin-bottom: 24px;
}
.intensity-value {
  font-size: 56px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.intensity-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.range-wrap { padding: 0 8px; }
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(to right, #6366f1, #a78bfa, #f472b6);
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  cursor: pointer;
  border: 3px solid #8b5cf6;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Body */
.body-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.body-option {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.body-option.selected {
  background: rgba(167, 139, 250, 0.15);
  border-color: var(--accent);
  color: #e9d5ff;
}
.body-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.zone-btn {
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.zone-btn.selected {
  background: rgba(244, 114, 182, 0.2);
  border-color: #f472b6;
  color: #fbcfe8;
}

/* Inputs */
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
input[type=text], textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
input:focus, textarea:focus { border-color: rgba(167, 139, 250, 0.5); }
input::placeholder, textarea::placeholder { color: #6b6578; }

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.preset-chip {
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.preset-chip:active { background: var(--surface-hover); color: var(--text); }

/* Buttons */
.btn-row { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.btn-primary {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--gradient);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  transition: transform 0.15s, opacity 0.15s;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-ghost {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  pointer-events: auto;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 8px 12px calc(10px + var(--safe-bottom));
  background: rgba(12, 10, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
}
/* AI interpretation card */
.interpret-card {
  background: linear-gradient(160deg, rgba(139,92,246,0.15), rgba(34,211,238,0.08));
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin: 20px 0;
  text-align: center;
}
.interpret-label { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.interpret-primary {
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--interpret-color, var(--accent));
}
.interpret-arrow { font-size: 20px; color: var(--text-muted); margin: 8px 0; }
.interpret-nuance { font-size: 20px; font-weight: 600; color: var(--text); }
.interpret-confidence {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}
.interpret-alts {
  margin-top: 20px;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
}
.interpret-alts li { margin: 6px 0; list-style: none; }
.interpret-alts li::before { content: '• '; color: var(--accent-2); }

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.confirm-btn {
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.confirm-btn.yes { border-color: rgba(52,211,153,0.4); background: rgba(52,211,153,0.1); }
.confirm-btn.no { border-color: rgba(248,113,113,0.3); }
.confirm-btn.fix { border-color: rgba(167,139,250,0.3); }

.feeling-input {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  padding: 20px 16px;
  margin: 16px 0;
}
.feeling-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.feeling-example {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
}

.plutchik-card { margin-bottom: 16px; }
.plutchik-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.plutchik-name { font-size: 16px; font-weight: 600; }
.plutchik-pct { font-size: 14px; color: var(--accent); font-weight: 600; }
.plutchik-words { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.plutchik-words span { color: #c4bfd0; }

.alt-pick {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}
.plutchik-words span { color: #c4bfd0; }

/* Home wow screen */
.wow-card {
  background: linear-gradient(160deg, rgba(139,92,246,0.12), rgba(34,211,238,0.06));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.wow-title { font-size: 15px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.4; }
.word-list { list-style: none; }
.word-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 16px;
}
.word-list li:last-child { border-bottom: none; }
.word-list .count { color: var(--accent); font-weight: 600; font-size: 14px; }

.trend-card {
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.45;
}
.trend-pct { font-size: 22px; font-weight: 700; color: #34d399; }

.explore-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #d4d0de;
}
.explore-card em { color: var(--accent-2); font-style: normal; }

.shift-card { margin-bottom: 16px; }
.conclusions-card .conclusions-list { list-style: none; margin: 0; padding: 0; }
.conclusions-list li {
  padding: 10px 0 10px 14px;
  border-left: 3px solid var(--accent);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
.conclusions-list li:last-child { margin-bottom: 0; }
.data-hint { font-size: 12px; color: var(--text-muted); margin-top: 12px; line-height: 1.4; }
.muted-inline { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.layer-list { list-style: none; }
.layer-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.45;
}
.layer-list li:last-child { border-bottom: none; }
.layer-date { color: var(--text-muted); font-size: 12px; margin-right: 6px; }

/* Home v2 — живое приветствие */
.home-greeting { margin-bottom: 28px; }
.home-greeting h1 { font-size: 26px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; }
.lead-phrase { font-size: 16px; color: var(--text-muted); line-height: 1.5; margin: 0; }

.discovery-card {
  background: linear-gradient(135deg, rgba(251,191,36,0.12), rgba(139,92,246,0.1));
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #e8e4f0;
}

.favorite-word-card {
  text-align: center;
  padding: 24px 16px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.fw-label { font-size: 13px; color: var(--text-muted); margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.fw-word {
  display: inline-block;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-2);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 8px;
}
.fw-word:active { opacity: 0.8; }
.fw-change {
  display: inline-block;
  margin-left: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #34d399;
  vertical-align: middle;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.insight-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.insight-blue { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.25); }
.insight-purple { background: rgba(139,92,246,0.1); border-color: rgba(167,139,250,0.25); }
.insight-green { background: rgba(52,211,153,0.08); border-color: rgba(52,211,153,0.25); }
.insight-amber { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.2); }
.insight-violet { background: rgba(167,139,250,0.08); }
.insight-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.insight-title { font-size: 14px; line-height: 1.45; margin: 0; color: var(--text); }
.insight-word-btn {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-2);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}
.insight-word-btn::after { content: ' → история'; font-size: 12px; font-weight: 400; color: var(--text-muted); }

.changes-block {
  margin: 24px 0;
  padding: 18px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.changes-row { display: flex; gap: 12px; margin-bottom: 16px; }
.changes-row:last-child { margin-bottom: 0; }
.changes-arrow { font-size: 20px; flex-shrink: 0; padding-top: 2px; }
.changes-hint { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.changes-words { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-word {
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(139,92,246,0.15);
  border: 1px solid rgba(167,139,250,0.3);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.changes-down .chip-word { background: rgba(52,211,153,0.1); border-color: rgba(52,211,153,0.25); }

.hypothesis-block { margin: 28px 0 20px; }
.hypothesis-hint { font-size: 13px; color: var(--text-muted); margin: 0 0 10px; }
#hypothesis-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 12px;
  resize: none;
}
.hypothesis-item {
  margin-top: 16px;
  padding: 14px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.hyp-text { font-size: 15px; margin: 0 0 8px; font-style: italic; }
.hyp-plan { font-size: 13px; color: var(--text-muted); margin: 0 0 6px; line-height: 1.4; }
.hyp-meta { font-size: 12px; color: var(--accent); margin: 0; }
.hyp-result { font-size: 14px; margin: 0; line-height: 1.45; }

.history-screen { padding-top: 8px; }
.back-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 15px;
  padding: 0;
  margin-bottom: 16px;
  cursor: pointer;
  font-family: inherit;
}
.history-title { font-size: 28px; margin: 0 0 6px; }
.history-sub { font-size: 14px; color: var(--text-muted); margin: 0 0 24px; }
.history-entry { padding: 4px 0; }
.history-date { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.history-context { font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.history-divider { height: 1px; background: var(--border); margin: 16px 0; }
.shift-col { flex: 1; }
.shift-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.shift-words { font-size: 15px; line-height: 1.6; }
.shift-arrow { text-align: center; color: var(--accent); font-size: 24px; padding: 8px 0; }

.quick-done {
  text-align: center; padding: 40px 16px;
}
.quick-done .your-word {
  font-size: 32px; font-weight: 700; margin: 16px 0;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.expand-toggle {
  width: 100%; padding: 12px; margin: 16px 0;
  border: 1px dashed var(--border); border-radius: var(--radius-sm);
  background: transparent; color: var(--text-muted);
  font-family: inherit; font-size: 14px; cursor: pointer;
}
.expand-panel {
  border-top: 1px solid var(--border);
  padding-top: 16px; margin-top: 8px;
}
.expand-panel .field-label { margin-top: 12px; }

.evening-hero {
  background: linear-gradient(160deg, rgba(99,102,241,0.15), rgba(139,92,246,0.08));
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(167,139,250,0.2);
}
.evening-hero h2 { font-size: 20px; margin-bottom: 8px; }
.evening-hero p { font-size: 14px; color: var(--text-muted); line-height: 1.45; }

.layer-flow { margin: 20px 0; }
.layer-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 8px;
}
.layer-step label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); display: block; margin-bottom: 8px; }
.layer-arrow { text-align: center; color: var(--accent); font-size: 18px; margin: 4px 0; }

.today-chip {
  display: inline-block;
  padding: 6px 12px;
  margin: 4px 4px 0 0;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  cursor: pointer;
}
.today-chip:active { background: rgba(167,139,250,0.15); }

.alt-pick.selected { border-color: var(--accent); background: rgba(167,139,250,0.12); }

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 20px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.2s;
}
.nav-btn svg { width: 22px; height: 22px; }
.nav-btn.active {
  color: var(--accent);
  background: rgba(167, 139, 250, 0.12);
}

/* Stats */
.stats-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 10px;
  text-align: center;
}
.stat-tile .num {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-tile .lbl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.section-title {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 12px;
  letter-spacing: -0.01em;
}

.bar-list { display: flex; flex-direction: column; gap: 12px; }
.bar-item { }
.bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}
.bar-header span:last-child { color: var(--text-muted); font-size: 13px; }
.bar-track {
  height: 8px;
  background: var(--surface);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--gradient);
  transition: width 0.6s ease;
}

.insight-card {
  background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(167,139,250,0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #d4d0de;
}
.insight-card::before { content: '✦ '; color: var(--accent); }

.pattern-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: #c4bfd0;
}
.pattern-card .arrow { color: var(--accent-2); margin-right: 6px; }

/* Success */
.success-screen {
  text-align: center;
  padding: 48px 20px;
}
.success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(34,211,238,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.classification-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.class-tag {
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.class-tag strong { color: var(--accent-2); font-weight: 600; }

/* Evening */
.evening-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.evening-box {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.evening-box label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.evening-arrow {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
}

.loading-pulse {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 40px;
}
.loading-pulse span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s ease infinite;
}
.loading-pulse span:nth-child(2) { animation-delay: 0.2s; }
.loading-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.disclaimer {
  text-align: center;
  font-size: 12px;
  color: #6b6578;
  margin-top: 24px;
  line-height: 1.4;
}
