.psychology-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.psychology-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.psychology-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.4px;
}

.psychology-header p {
    color: var(--text-dim);
    font-size: 1rem;
}

.psychology-quiz {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.psychology-question-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.psychology-progress {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.psychology-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
}

.psychology-options {
    display: grid;
    gap: 10px;
}

.psychology-option {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.psychology-option:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.psychology-result {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.08);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.psychology-result[hidden] {
    display: none;
}

.psychology-result-image {
    width: 100%;
    max-width: 320px;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

.psychology-result-image[hidden] {
    display: none;
}

.psychology-result-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.psychology-result-desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.psychology-actions {
    display: flex;
    justify-content: flex-end;
}

body.theme-light .psychology-panel {
    background: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.6);
}

body.theme-light .psychology-option {
    background: #eef2f7;
    border-color: rgba(148, 163, 184, 0.6);
    color: #0f172a;
}

body.theme-light .psychology-option:hover {
    background: #e2e8f0;
    border-color: rgba(59, 130, 246, 0.6);
}

body.theme-light .psychology-result {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.35);
}

@media (max-width: 768px) {
    .psychology-panel {
        padding: 24px;
    }

    .psychology-header h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 480px) {
    .psychology-panel {
        padding: 20px;
    }

    .psychology-question {
        font-size: 1.05rem;
    }
}
