
    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #f8f9fa;
      color: #333;
    }
    .header {
      background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .header .navbar-brand {
      font-size: 1.8rem;
      font-weight: bold;
      color: white;
    }
    .header .navbar-nav .nav-link {
      color: rgba(255,255,255,0.9) !important;
      transition: color 0.3s;
    }
    .header .navbar-nav .nav-link:hover {
      color: #fff !important;
    }
    
    /* 搜索框样式 */
    .header .form-control {
      border-radius: 2rem;
      padding: 0.375rem 1rem;
    }
    .header .btn-search {
      border-radius: 2rem;
      background: #fff;
      color: #2575fc;
      padding: 0.375rem 1rem;
    }
    
    .progress-container {
      background-color: #e9ecef;
      border-radius: 10px;
      margin: 20px 0;
      overflow: hidden;
    }
    
    .progress-bar-custom {
      height: 10px;
      background: linear-gradient(90deg, #6a11cb, #2575fc);
      transition: width 0.3s ease;
    }
    
    .answer-btn {
      transition: all 0.2s;
      border-radius: 12px;
      padding: 15px;
      margin: 10px 0;
      border: 2px solid #e9ecef;
      background-color: white;
      color: #333;
      text-align: left;
      position: relative;
      cursor: pointer;
    }
    
    .answer-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      border-color: #6a11cb;
    }
    
    .answer-btn.selected {
      border-color: #6a11cb;
      background-color: #f0ebff;
      color: #6a11cb;
    }
    
    .answer-letter {
      font-weight: bold;
      margin-right: 10px;
      display: inline-block;
      width: 25px;
      height: 25px;
      line-height: 25px;
      text-align: center;
      border-radius: 50%;
      background-color: #e9ecef;
      color: #666;
    }
    
    .answer-btn.selected .answer-letter {
      background-color: #6a11cb;
      color: white;
    }
    
    .result-container {
      display: none;
    }
    
    .result-card {
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      margin-bottom: 20px;
      background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    }
    
    .result-header {
      background: linear-gradient(135deg, #6a11cb, #2575fc);
      color: white;
      padding: 20px;
      text-align: center;
    }
    
    .result-body {
      padding: 20px;
    }
    
    .type-badge {
      font-size: 2rem;
      font-weight: bold;
      padding: 10px 20px;
      border-radius: 10px;
      display: inline-block;
      margin: 10px 0;
    }
    
    .nav-buttons {
      margin-top: 30px;
    }
    
    .person-img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      object-fit: cover;
      margin: 10px;
    }
	.custom-radio{
		display:none;
	}
    
    .loading {
      display: none;
      text-align: center;
      padding: 20px;
    }
    
    /* MBTI 介绍区美化 */
    .ziwei-intro {
      background: #fff;
      border-radius: 12px;
      padding: 2rem;
      box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    }
    .icon-box {
      background: #eef2ff;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #2575fc;
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }
    .dimension-item {
      margin-bottom: 1.5rem;
    }
    
    .faq-item {
      border-bottom: 1px solid #e9ecef;
      padding: 1rem 0;
    }
    .recommend-card {
      transition: transform 0.3s, box-shadow 0.3s;
      border: none;
      border-radius: 12px;
      overflow: hidden;
    }
    .recommend-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    /* 题库选择卡片 */
    .quiz-card {
      border: 2px solid #e9ecef;
      border-radius: 15px;
      padding: 20px;
      transition: all 0.3s;
      cursor: pointer;
      height: 100%;
    }
    
    .quiz-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      border-color: #6a11cb;
    }
    
    .quiz-card.selected {
      border-color: #6a11cb;
      background-color: #f0ebff;
    }
    
    .quiz-icon {
      font-size: 3rem;
      margin-bottom: 15px;
      color: #6a11cb;
    }
    
    .quiz-title {
      font-size: 1.3rem;
      font-weight: bold;
      margin-bottom: 10px;
    }
    
    .quiz-desc {
      color: #666;
      margin-bottom: 15px;
    }
    
    .quiz-questions {
      font-size: 0.9rem;
      color: #888;
    }
    
    /* 首页开始测试按钮 */
    .start-test-btn {
      background: linear-gradient(135deg, #6a11cb, #2575fc);
      color: white;
      border: none;
      padding: 15px 40px;
      font-size: 1.2rem;
      border-radius: 50px;
      transition: all 0.3s;
      box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
    }
    
    .start-test-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
    }
    
    /* 确保所有区域可见 */
    #faq, #articles {
      display: block !important;
    }
    
    /* 修复导航问题 */
    .nav-link {
      cursor: pointer;
    }
    
    /* 问题卡片样式 */
    .question-container {
      margin-bottom: 20px;
    }
    
    .question-header {
      background-color: #f8f9fa;
      padding: 15px;
      border-radius: 10px 10px 0 0;
      font-weight: bold;
      border: 1px solid #dee2e6;
      border-bottom: none;
    }
    
    .question-body {
      padding: 0;
      border: 1px solid #dee2e6;
      border-top: none;
      border-radius: 0 0 10px 10px;
      background-color: white;
    }
    
    /* 动画效果 */
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.02); }
      100% { transform: scale(1); }
    }
    
    .answer-btn:hover {
      animation: pulse 0.6s ease-in-out;
    }


/* 内容*/
    
    .article-content {
      line-height: 1.8;
      font-size: 1.1rem;
    }
    
    .article-content h2 {
      color: #6a11cb;
      margin: 2rem 0 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #e9ecef;
    }
    
    
    .article-content p {
      margin-bottom: 1.5rem;
      text-align: justify;
    }
    
    .article-content ul, .article-content ol {
      margin-bottom: 1.5rem;
      padding-left: 2rem;
    }
    
    .article-content blockquote {
      border-left: 4px solid #6a11cb;
      margin: 2rem 0;
      padding: 1.5rem;
      background-color: #f8f9fa;
      font-style: italic;
      color: #555;
    }
    
    /* 内容图片居中 */
    .article-content img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      margin: 1.5rem auto;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: block;
    }
    
    .article-meta {
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 2rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid #e9ecef;
    }
    
    .article-meta span {
      margin-right: 1.5rem;
    }
    
    .pagination-container {
      margin: 3rem 0;
    }
    
    .pagination .page-link {
      color: #6a11cb;
      border: 1px solid #dee2e6;
      transition: all 0.3s;
    }
    
    .pagination .page-link:hover {
      background-color: #f0ebff;
      border-color: #6a11cb;
    }
    
    .pagination .page-item.active .page-link {
      background-color: #6a11cb;
      border-color: #6a11cb;
      color: white;
    }
    
    .breadcrumb-container {
      background-color: white;
      padding: 1rem 0;
      border-bottom: 1px solid #e9ecef;
    }
    
    .breadcrumb {
      backgroundColor: transparent;
      margin: 0;
      padding: 0;
    }
    
    .breadcrumb .breadcrumb-item a {
      color: #6a11cb;
      text-decoration: none;
    }
    
    .breadcrumb .breadcrumb-item a:hover {
      color: #2575fc;
      text-decoration: underline;
    }
    
    .breadcrumb .breadcrumb-item.active {
      color: #666;
    }

    .article-list-header {
      padding: 3rem 0;
      margin-bottom: 2rem;
      background: linear-gradient(135deg, #f8f9fa, #e9ecef);
      border-bottom: 1px solid #e9ecef;
    }
    
    .article-list-title {
      font-size: 2.8rem;
      font-weight: bold;
      color: #333;
      margin-bottom: 1rem;
    }
    
    .article-list-subtitle {
      font-size: 1.3rem;
      color: #666;
      margin-bottom: 0;
    }
    
    .article-card {
      transition: transform 0.3s, box-shadow 0.3s;
      border: none;
      border-radius: 12px;
      overflow: hidden;
      height: 100%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .article-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    
    .article-card img {
      height: 180px;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
    }
    
    .article-card .card-body {
      padding: 1.5rem;
    }
    
    .article-card .card-title {
      font-size: 1.3rem;
      font-weight: bold;
      color: #333;
      margin-bottom: 0.5rem;
    }
    
    .article-card .card-text {
      color: #666;
      font-size: 0.95rem;
      margin-bottom: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .article-meta {
      color: #666;
      font-size: 0.85rem;
      margin-bottom: 1rem;
    }
    
    .article-meta span {
      margin-right: 1rem;
    }
    
    .category-badge {
      font-size: 0.8rem;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: bold;
      margin-bottom: 0.5rem;
    }
    
    .pagination-container {
      margin: 3rem 0;
    }
    
    .pagination .page-link {
      color: #6a11cb;
      border: 1px solid #dee2e6;
      transition: all 0.3s;
    }
    
    .pagination .page-link:hover {
      background-color: #f0ebff;
      border-color: #6a11cb;
    }
    
    .pagination .page-item.active .page-link {
      background-color: #6a11cb;
      border-color: #6a11cb;
      color: white;
    }
    
    .filter-container {
      background-color: white;
      padding: 1.5rem;
      border-radius: 12px;
      margin-bottom: 2rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .filter-title {
      color: #6a11cb;
      font-weight: bold;
      margin-bottom: 1rem;
    }
    
    .filter-options {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    
    .filter-btn {
      border-radius: 20px;
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
      transition: all 0.3s;
    }
    
    .filter-btn.active {
      background-color: #6a11cb;
      color: white;
      border-color: #6a11cb;
    }
    
    .filter-btn:hover:not(.active) {
      background-color: #f0ebff;
      border-color: #6a11cb;
    }
    
    .type-badge {
      display: inline-block;
      background: linear-gradient(135deg, #6a11cb, #2575fc);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: bold;
      font-size: 0.8rem;
      margin: 0 5px;
    }
    .special-header {
      background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
      color: white;
      padding: 4rem 0;
      margin-bottom: 3rem;
      position: relative;
      overflow: hidden;
    }
    
    .special-header::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('https://via.placeholder.com/1920x600?text=MBTI+Special') no-repeat center center;
      background-size: cover;
      opacity: 0.3;
      z-index: 0;
    }
    
    .special-header-content {
      position: relative;
      z-index: 1;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    
    .special-title {
      font-size: 3.5rem;
      font-weight: bold;
      margin-bottom: 1rem;
    }
    
    .special-subtitle {
      font-size: 1.5rem;
      font-weight: 300;
      margin-bottom: 2rem;
    }
    
    .special-meta {
      display: flex;
      gap: 2rem;
      font-size: 1.1rem;
    }
    
    .special-meta-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    
    .article-header {
      padding: 2rem 0;
      margin-bottom: 2rem;
      border-bottom: 1px solid #e9ecef;
    }
    
    .article-title {
      font-size: 2.5rem;
      font-weight: bold;
      color: #333;
      margin-bottom: 1rem;
    }
    
    .article-excerpt {
      font-size: 1.2rem;
      color: #666;
      margin-bottom: 1.5rem;
      line-height: 1.6;
    }
    
    /* 目录样式 */
    .toc {
      background-color: #f8f9fa;
      border-radius: 10px;
      padding: 1.5rem;
      margin: 2rem 0;
      border: 1px solid #dee2e6;
    }
    
    .toc h3 {
      color: #6a11cb;
      margin-bottom: 1rem;
      font-size: 1.3rem;
    }
    
    .toc ol {
      padding-left: 1.5rem;
      margin-bottom: 0;
    }
    
    .toc li {
      margin-bottom: 0.5rem;
    }
    
    .toc a {
      color: #2575fc;
      text-decoration: none;
    }
    
    .toc a:hover {
      text-decoration: underline;
      color: #6a11cb;
    }
    
    /* 表格样式 */
    .article-content table {
      width: 100%;
      margin: 1.5rem 0;
      border-collapse: collapse;
      background-color: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      border-radius: 8px;
      overflow: hidden;
    }
    
    .article-content th {
      background-color: #6a11cb;
      color: white;
      text-align: left;
      padding: 1rem;
      font-weight: bold;
    }
    
    .article-content td {
      padding: 1rem;
      border-bottom: 1px solid #dee2e6;
    }
    
    .article-content tr:nth-child(even) {
      background-color: #f8f9fa;
    }
    
    .article-content tr:last-child td {
      border-bottom: none;
    }
    
    .highlight-table {
      background-color: #eef2ff;
      border: 2px solid #6a11cb;
    }
    
    .type-badge {
      display: inline-block;
      background: linear-gradient(135deg, #6a11cb, #2575fc);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: bold;
      margin: 0 5px;
    }
    
    /* 推荐文章样式 */
    .recommend-section {
      margin: 3rem 0;
    }
    
    .recommend-section h2 {
      color: #6a11cb;
      margin-bottom: 2rem;
      text-align: center;
      font-size: 1.8rem;
    }
    
    .recommend-card {
      transition: transform 0.3s, box-shadow 0.3s;
      border: none;
      border-radius: 12px;
      overflow: hidden;
      height: 100%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .recommend-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    
    .recommend-card img {
      height: 180px;
      object-fit: cover;
      border-radius: 12px 12px 0 0;
    }
    
    .recommend-card .card-body {
      padding: 1.5rem;
    }
    
    .recommend-card .card-title {
      font-size: 1.2rem;
      font-weight: bold;
      color: #333;
      margin-bottom: 0.5rem;
    }
    
    .recommend-card .card-text {
      color: #666;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .recommend-card .btn {
      font-size: 0.9rem;
      padding: 0.375rem 0.75rem;
    }
    
    .category-badge {
      font-size: 0.8rem;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: bold;
      margin-bottom: 0.5rem;
    }

        .related-articles {
      background-color: #f8f9fa;
      border-radius: 10px;
      padding: 2rem;
      margin: 3rem 0;
      border: 1px solid #dee2e6;
    }
    
    .related-articles h3 {
      color: #6a11cb;
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
      border-bottom: 2px solid #e9ecef;
      padding-bottom: 0.5rem;
    }
    
    .related-articles ul {
      list-style: none;
      padding: 0;
    }
    
    .related-articles li {
      margin-bottom: 1rem;
      padding: 0.75rem 1rem;
      border-left: 3px solid #6a11cb;
      background-color: white;
      border-radius: 0 8px 8px 0;
      transition: all 0.3s;
    }
    
    .related-articles li:hover {
      background-color: #f0ebff;
      transform: translateX(5px);
    }
    
    .related-articles a {
      color: #333;
      text-decoration: none;
      font-weight: 500;
      font-size: 1.1rem;
    }
    
    .related-articles a:hover {
      color: #6a11cb;
      text-decoration: underline;
    }
    
    .article-category {
      display: inline-block;
      background-color: #eef2ff;
      color: #6a11cb;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: bold;
      margin-right: 0.5rem;
    }
    

    
    .type-badge {
      display: inline-block;
      background: linear-gradient(135deg, #6a11cb, #2575fc);
      color: white;
      padding: 0.25rem 0.75rem;
      border-radius: 20px;
      font-weight: bold;
      margin: 0 5px;
    }