/* ═══════════════════════════════════════
   TALENT TRACK — Стили 7-дневного трека
   (Светлая тема)
   ═══════════════════════════════════════ */

/* ── КАРТА ТРЕКА ── */
.tt-map {
    padding: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.tt-map-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.tt-map-header h2 {
    font-size: 20px;
    margin: 0;
    color: #1f2937;
    font-weight: 700;
}
/* ── ПРОГРЕСС-БАР ── */
.tt-progress-bar {
    margin-bottom: 24px;
}
.tt-progress-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 8px;
}
.tt-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    transition: all .3s;
}
.tt-dot-completed {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: #fff;
    box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}
.tt-dot-available {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124,58,237,0.35);
    animation: tt-pulse 2s infinite;
}
.tt-dot-locked {
    background: #e5e7eb;
    color: #9ca3af;
}
.tt-dot-line {
    width: 20px;
    height: 3px;
    flex-shrink: 0;
    border-radius: 2px;
}
.tt-line-done { background: #4ade80; }
.tt-line-pending { background: #e5e7eb; }

.tt-progress-label {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

@keyframes tt-pulse {
    0%,100% { box-shadow: 0 2px 8px rgba(124,58,237,0.35); }
    50% { box-shadow: 0 2px 20px rgba(124,58,237,0.55); }
}

/* ── КАРТОЧКИ ДНЕЙ ── */
.tt-day-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tt-day-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 10px;
    border-radius: 14px;
    cursor: pointer;
    transition: all .2s;
}
.tt-day-completed {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.tt-day-available {
    background: #f5f3ff;
    border: 1.5px solid #c4b5fd;
    box-shadow: 0 2px 8px rgba(139,92,246,0.1);
}
.tt-day-locked {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    opacity: 0.6;
}
.tt-day-card:active { transform: scale(0.98); }

.tt-day-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tt-day-icon svg { width: 24px; height: 24px; }
.tt-day-completed .tt-day-icon { background: #dcfce7; color: #16a34a; }
.tt-day-available .tt-day-icon { background: #ede9fe; color: #7c3aed; }
.tt-day-locked .tt-day-icon { background: #f3f4f6; color: #9ca3af; }

.tt-day-info { flex: 1; min-width: 0; }
.tt-day-title {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    margin-bottom: 2px;
}
.tt-day-desc {
    font-size: 13px;
    color: #6b7280;
}
.tt-day-status {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.tt-status-completed { color: #16a34a; }
.tt-status-available { color: #7c3aed; }
.tt-status-locked { color: #9ca3af; }

/* ── CTA ОПЛАТЫ ── */
.tt-pay-cta {
    text-align: center;
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border-radius: 16px;
    border: 1px solid #e9d5ff;
}
.tt-pay-cta p {
    color: #374151;
    font-size: 16px;
    margin: 0 0 12px;
}

/* ── КНОПКИ ── */
.tt-btn {
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tt-btn:active { transform: scale(0.97); }
.tt-btn-primary {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff;
}
.tt-btn-primary:hover { box-shadow: 0 4px 16px rgba(124,58,237,0.4); }
.tt-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}
.tt-btn-accent {
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    color: #fff;
    width: 100%;
    padding: 14px;
    font-size: 16px;
}
.tt-btn-accent:hover { box-shadow: 0 4px 16px rgba(124,58,237,0.4); }
.tt-btn-lg { padding: 16px 32px; font-size: 17px; }
.tt-btn-link {
    background: none;
    color: #6b7280;
    font-size: 13px;
    text-decoration: underline;
    padding: 8px;
    width: 100%;
    margin-top: 8px;
}
.tt-btn-send {
    background: #7c3aed;
    color: #fff;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 18px;
    border: none;
    cursor: pointer;
}

/* ── DAY VIEW ── */
.tt-day-view {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    height: calc(100vh - 120px);
    min-height: 0;
}
.tt-day-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-shrink: 0;
}
.tt-day-header h3 { margin: 0; color: #1f2937; font-size: 18px; }
.tt-day-content {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

/* ── ТЕСТ (Day 1, Day 2) ── */
.tt-test-step { animation: tt-fadeIn .3s; }
.tt-test-progress {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    margin-bottom: 8px;
}
.tt-test-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    border-radius: 2px;
    transition: width .3s;
}
.tt-test-counter {
    color: #9ca3af;
    font-size: 13px;
    margin-bottom: 16px;
}
.tt-test-question {
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}
.tt-test-options { margin-bottom: 24px; }
.tt-test-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Опции */
.tt-option {
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all .2s;
    font-size: 14px;
    line-height: 1.4;
}
.tt-option:hover { border-color: #c4b5fd; background: #faf5ff; }
.tt-option:active { transform: scale(0.98); }
.tt-opt-selected {
    background: #f5f3ff !important;
    border-color: #7c3aed !important;
    color: #5b21b6 !important;
}

/* Slider */
.tt-slider-wrap { padding: 10px 0; }
.tt-slider-labels {
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 10px;
}
.tt-slider {
    width: 100%;
    accent-color: #7c3aed;
    height: 6px;
}
.tt-slider-value {
    text-align: center;
    color: #7c3aed;
    font-size: 28px;
    font-weight: 700;
    margin-top: 10px;
}

/* Textarea */
.tt-textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 15px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}
.tt-textarea::placeholder { color: #9ca3af; }
.tt-textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 2px rgba(124,58,237,0.15);
}

/* Date input */
.tt-date-input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
}
.tt-date-input:focus {
    outline: none;
    border-color: #7c3aed;
}

/* ── ЗАГРУЗКА ── */
.tt-loading {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
}
.tt-loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e5e7eb;
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: tt-spin 1s linear infinite;
    margin: 0 auto 16px;
}
.tt-loading-sub {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 8px;
}
@keyframes tt-spin { to { transform: rotate(360deg); } }

/* ── РЕЗУЛЬТАТ ── */
.tt-result { animation: tt-fadeIn .5s; }
.tt-result-header {
    text-align: center;
    margin-bottom: 24px;
}
.tt-result-header h2 {
    color: #1f2937;
    font-size: 22px;
    margin: 12px 0 0;
}
.tt-result-analysis {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
/* ── ФОРМУЛА ТАЛАНТА ── */
.tt-formula-block {
    text-align: center;
    margin-bottom: 24px;
    animation: tt-fadeIn .5s;
}
.tt-formula-block h2 {
    color: #1f2937;
    font-size: 20px;
    margin: 0 0 16px;
}
.tt-formula-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}
.tt-formula-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.tt-formula-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(124,58,237,0.25);
}
.tt-formula-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-top: 2px;
}
.tt-formula-sub {
    font-size: 11px;
    color: #9ca3af;
}
.tt-formula-sign {
    font-size: 20px;
    color: #c4b5fd;
    font-weight: 300;
    padding: 0 2px;
}
.tt-formula-direction {
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}
.tt-formula-direction strong { color: #7c3aed; }

/* ── ЧИПЫ ТАЛАНТОВ ── */
/* ── ТЕКСТОВЫЕ СПИСКИ (замена чипсов) ── */
.tt-list-block {
    margin-bottom: 16px;
}
.tt-list-block h3 {
    color: #1f2937;
    font-size: 16px;
    margin: 0 0 8px;
}
.tt-list-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.tt-list-item {
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 8px;
}
.tt-item-talent {
    color: #5b21b6;
    background: #f5f3ff;
}
.tt-item-plus {
    color: #065f46;
    background: #ecfdf5;
}
.tt-item-minus {
    color: #991b1b;
    background: #fef2f2;
}

/* legacy chips (keep for day2/day3) */
.tt-talents-block { margin-bottom: 20px; }
.tt-talents-block h3 { color: #1f2937; font-size: 16px; margin: 0 0 10px; }
.tt-talents-chips, .tt-mirror-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tt-chip { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 13px; line-height: 1.3; }
.tt-chip-talent { background: #f5f3ff; border: 1px solid #c4b5fd; color: #5b21b6; }
.tt-chip-plus { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.tt-chip-minus { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── ЗЕРКАЛО (ПЛЮС / МИНУС) ── */
.tt-mirror-block {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.tt-mirror-col {
    flex: 1;
    min-width: 0;
}
.tt-mirror-col h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #374151;
}
.tt-mirror-plus h4 { color: #065f46; }
.tt-mirror-minus h4 { color: #991b1b; }

/* ── AI-АНАЛИЗ ── */
.tt-ai-analysis {
    margin-bottom: 20px;
}
.tt-ai-analysis h3 {
    color: #1f2937;
    font-size: 16px;
    margin: 0 0 10px;
}
.tt-ai-text {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.tt-ai-text strong { color: #7c3aed; }

/* ── ВЫБОР НАПРАВЛЕНИЯ ── */
.tt-direction-block {
    margin-bottom: 20px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}
.tt-direction-block h3 {
    color: #1f2937;
    font-size: 16px;
    margin: 0 0 6px;
}
.tt-direction-hint {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 12px;
}
.tt-direction-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}
.tt-direction-opt {
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.tt-direction-opt:hover { border-color: #c4b5fd; background: #faf5ff; }
.tt-direction-opt.tt-opt-selected {
    border-color: #7c3aed;
    background: #f5f3ff;
    color: #5b21b6;
    font-weight: 600;
}
.tt-direction-chosen {
    text-align: center;
    background: #f5f3ff;
    border-color: #c4b5fd;
}
.tt-direction-chosen-val {
    color: #7c3aed;
    font-size: 17px;
    font-weight: 600;
    margin-top: 6px;
}

/* ── ОФФЕР-БЛОК ── */
.tt-offer-block {
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border: 1px solid #e9d5ff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}
.tt-offer-block p {
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px;
}
.tt-offer-block p:last-of-type { margin-bottom: 16px; }
.tt-offer-block strong { color: #7c3aed; }
.tt-offer-block .tt-btn-accent {
    display: block;
    width: 100%;
    margin-top: 4px;
}
.tt-offer-list {
    margin: 12px 0 16px;
}
.tt-offer-item {
    padding: 8px 0;
    color: #374151;
    font-size: 14px;
    border-bottom: 1px solid rgba(124,58,237,0.1);
}
.tt-offer-item:last-child { border-bottom: none; }

.tt-result-actions { text-align: center; }
.tt-result-chat-hint {
    color: #9ca3af;
    font-size: 13px;
    margin: 16px 0 10px;
}

/* ── МИНИ-ТРЕУГОЛЬНИК ── */
.tt-triangle-mini {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.tt-tri-vertex {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.tt-tri-row { display: flex; gap: 20px; }
.tt-tri-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f3ff;
    border: 1px solid #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    font-weight: 600;
    font-size: 14px;
}

/* ── TRIANGLE CARDS (Day 1-3) ── */
.tt-triangle-block {
    margin-bottom: 20px;
}
.tt-triangle-block h3 {
    color: #1f2937;
    font-size: 16px;
    margin: 0 0 12px;
}
.tt-triangle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}
.tt-triangle-card {
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}
.tt-card-inverted {
    background: #f5f3ff;
    border: 1px solid #e9d5ff;
}
.tt-card-ancestral {
    background: #fefce8;
    border: 1px solid #fde68a;
}
.tt-triangle-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}
.tt-card-ancestral .tt-triangle-num {
    background: linear-gradient(135deg, #fbbf24, #d97706);
}
.tt-triangle-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}
.tt-triangle-desc {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}

/* ── MONTH BLOCK ── */
.tt-month-block {
    margin-bottom: 20px;
    padding: 16px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
}
.tt-month-block h3 {
    color: #92400e;
    font-size: 14px;
    margin: 0 0 8px;
}
.tt-month-title {
    color: #1f2937;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.tt-month-direction {
    color: #6b7280;
    font-size: 14px;
}

/* ── RECS BLOCK ── */
.tt-recs-block {
    margin-bottom: 20px;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}
.tt-recs-block h3 {
    color: #166534;
    font-size: 14px;
    margin: 0 0 8px;
}
.tt-recs-text {
    color: #374151;
    font-size: 14px;
    line-height: 1.6;
}

/* ── FORMULA MAIN (highlighted) ── */
.tt-formula-main .tt-formula-num {
    width: 56px;
    height: 56px;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}

/* ── REWARD BANNER ── */
.tt-reward-banner {
    text-align: center;
    margin: 0 0 8px;
    padding: 10px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 14px;
}
.tt-reward-banner h3 {
    color: #92400e;
    font-size: 16px;
    margin: 0 0 6px;
}
.tt-reward-banner p {
    color: #78350f;
    font-size: 14px;
    margin: 0;
}

/* ── ФИКСИРОВАННЫЙ ЧАТ ВНИЗУ ── */
.tt-chat-fixed {
    flex-shrink: 0;
    border-top: 1px solid #e5e7eb;
    padding-top: 8px;
    background: #faf8f5;
}
.tt-chat-fixed .tt-chat-messages {
    max-height: 160px;
    overflow-y: auto;
    padding: 6px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    min-height: 400px;
}

/* ── ИНЛАЙН-ЧАТ (для day2/day3) ── */
.tt-chat-inline,
.tt-day3-chat,
.tt-day6-chat {
    margin-top: 12px;
}
.tt-chat-messages {
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    min-height: 380px;
}
.tt-chat-msg {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.tt-chat-user {
    background: #ede9fe;
    border: 1px solid #c4b5fd;
    color: #5b21b6;
    margin-left: auto;
    text-align: right;
}
.tt-chat-assistant {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
}
.tt-chat-input-wrap {
    display: flex;
    gap: 8px;
}
.tt-chat-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 15px;
}
.tt-chat-input:focus {
    outline: none;
    border-color: #7c3aed;
}
.tt-chat-input::placeholder { color: #9ca3af; }
.tt-chat-msg p { margin: 0 0 8px; }
.tt-chat-msg p:last-child { margin-bottom: 0; }
.tt-chat-msg strong { font-weight: 600; color: #1f2937; }
.tt-chat-header p { color: #6b7280; font-size: 14px; margin: 4px 0; }
.tt-chat-hint-sm { font-size: 13px !important; color: #9ca3af !important; }

/* ── ИНФО-КАРТОЧКА (Day 4, Day 5) ── */
.tt-info-card {
    text-align: center;
    animation: tt-fadeIn .4s;
}
.tt-info-icon { font-size: 36px; margin-bottom: 10px; }
.tt-info-card h2 {
    color: #1f2937;
    font-size: 20px;
    margin-bottom: 16px;
}
.tt-info-body {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    text-align: left;
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
}
.tt-info-list {
    padding-left: 20px;
    margin: 12px 0;
    color: #374151;
}
.tt-info-list li { margin-bottom: 6px; }
.tt-info-note {
    color: #9ca3af;
    font-size: 13px;
    margin-top: 12px;
    font-style: italic;
}
.tt-info-tips {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.tt-info-tips h4 {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 8px;
}

/* ── ДЕНЬ 3 — ОПЦИИ ── */
.tt-day3-options { animation: tt-fadeIn .4s; }
.tt-day3-options h3 { color: #1f2937; font-size: 18px; margin-bottom: 6px; }
.tt-day3-hint { color: #9ca3af; font-size: 13px; margin-bottom: 16px; }
.tt-d3-option {
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .2s;
}
.tt-d3-option:hover { border-color: #c4b5fd; }
.tt-d3-option:active { transform: scale(0.98); }
.tt-d3-option.tt-opt-selected {
    border-color: #7c3aed;
    background: #f5f3ff;
}
.tt-d3-title { color: #1f2937; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.tt-d3-desc { color: #6b7280; font-size: 13px; }

/* ── ДЕНЬ 6 ── */
.tt-d6-context {
    margin-bottom: 16px;
}
.tt-d6-context h3 { color: #1f2937; margin: 0 0 8px; }
.tt-d6-summary { color: #6b7280; font-size: 14px; margin: 4px 0; }
.tt-d6-hint { color: #9ca3af; font-size: 13px; margin-top: 8px; }

/* ── ИТОГОВЫЙ ОТЧЁТ (Day 7) ── */
.tt-report { animation: tt-fadeIn .5s; }
.tt-report-header {
    text-align: center;
    margin-bottom: 24px;
}
.tt-report-header h2 { color: #1f2937; font-size: 22px; margin: 0 0 4px; }
.tt-report-subtitle { color: #6b7280; font-size: 14px; margin: 0; }
.tt-report-body {
    background: #fff;
    border-radius: 14px;
    padding: 24px 20px;
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.tt-report-body h3 { color: #7c3aed; margin: 20px 0 8px; font-size: 17px; }
.tt-report-body ul { padding-left: 20px; }
.tt-report-body li { margin-bottom: 6px; }
.tt-report-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ── ПОЗДРАВЛЕНИЕ ── */
.tt-congrats {
    text-align: center;
    padding: 40px 20px;
    animation: tt-fadeIn .5s;
}
.tt-congrats-icon { font-size: 64px; margin-bottom: 16px; }
.tt-congrats h2 { color: #1f2937; font-size: 24px; margin-bottom: 8px; }
.tt-congrats p { color: #6b7280; font-size: 15px; margin: 6px 0; }

/* ── ОШИБКА ── */
.tt-error {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

/* ── BIRTH DATE INPUT ── */
.tt-birth-input {
    text-align: center;
    padding: 40px 20px;
    animation: tt-fadeIn .4s;
}
.tt-birth-input h2 { color: #1f2937; font-size: 22px; margin-bottom: 8px; }
.tt-birth-input p { color: #6b7280; font-size: 15px; margin-bottom: 20px; }

/* ── ИТОГОВЫЙ ОТЧЁТ (день 5) ── */
.tt-report-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 16px 0;
    line-height: 1.6;
    color: #374151;
    font-size: 15px;
}
.tt-report-content h3 { color: #1f2937; font-size: 17px; margin: 18px 0 8px; }
.tt-report-content h3:first-child { margin-top: 0; }
.tt-report-content p { margin: 6px 0; }
.tt-report-content ul { padding-left: 20px; margin: 8px 0; }
.tt-report-content li { margin: 4px 0; }
.tt-report-content strong { color: #7c3aed; }
.tt-reward-claim {
    text-align: center;
    padding: 24px 16px;
    margin-top: 16px;
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
    border-radius: 14px;
    border: 1px solid #e9d5ff;
}
.tt-reward-icon-big { font-size: 48px; margin-bottom: 12px; }
.tt-reward-claim p { color: #374151; font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.tt-reward-claimed { background: linear-gradient(135deg, #ecfdf5, #f0fdf4); border-color: #a7f3d0; }
.tt-reward-claimed p { color: #065f46; }

/* ── МОДАЛКА ВВОДА ТЕЛЕФОНА (для оплаты) ── */
.tt-phone-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}
.tt-phone-modal {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.tt-phone-modal h3 { margin: 0 0 8px; color: #1f2937; font-size: 18px; }
.tt-phone-modal p { margin: 0 0 16px; color: #6b7280; font-size: 14px; line-height: 1.4; }
.tt-phone-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    color: #1f2937;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.tt-phone-input:focus { outline: none; border-color: #7c3aed; }
.tt-phone-actions { display: flex; gap: 8px; }
.tt-phone-actions .tt-btn { flex: 1; }
.tt-phone-cancel { background: #f3f4f6; color: #374151; border: none; padding: 10px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.tt-phone-error { color: #dc2626; font-size: 13px; margin-top: 8px; }

/* ── АНИМАЦИИ ── */
@keyframes tt-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── PATH CARD ── */
#pathTalentTrack {
    background: linear-gradient(135deg, #f5f3ff, #fdf2f8);
     border: 1px solid #3f00ff;  /*#e9d5ff */
    border-radius: 14px;
    padding: 10px;
    transition: all .2s;
}
#pathTalentTrack:hover {
    border-color: #c4b5fd;
    box-shadow: 0 4px 12px rgba(124,58,237,0.12);
}

/* ── MOBILE ── */
@media (max-width: 480px) {
    .tt-map { padding: 1px 12px 80px 12px; }
    .tt-day-view { padding: 8px 12px 0 12px; height: calc(100vh - 100px); }
    .tt-test-question { font-size: 16px; }
    .tt-dot { width: 30px; height: 30px; font-size: 12px; }
    .tt-dot-line { width: 14px; }
    .tt-result-header h2 { font-size: 19px; }
    .tt-report-actions { flex-direction: column; }
    .tt-formula-row { gap: 4px; }
    .tt-formula-num { width: 42px; height: 42px; font-size: 18px; }
    .tt-formula-sign { font-size: 16px; }
    .tt-mirror-block { flex-direction: column; gap: 8px; }
    .tt-chip { font-size: 12px; padding: 4px 10px; }
    .tt-chat-fixed .tt-chat-messages { max-height: 320px; }
}
