/* ===== 基础样式 ===== */
    :root {
      --primary-color: #FF244C; /* 小红书主红色 */
      --light-pink: #FFEDF0;
      --dark-pink: #E02146;
      --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      --radius-lg: 16px;
      --radius-sm: 30px; /* 更大的圆角 */
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "PingFang SC", -apple-system, sans-serif;
    }

    body {
      background-color: #f9f9f9;
    }

    /* 主导航样式 */
    .main-header {
      position: sticky;
      top: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 5%;
      background-color: white;
      box-shadow: var(--card-shadow);
      z-index: 100;
    }

    .logo a {
      display: flex;
      align-items: center;
      text-decoration: none;
      font-weight: 700;
      font-size: 24px;
      color: var(--primary-color);
    }

    .logo i {
      margin-right: 8px;
    }

    .nav-menu {
      display: flex;
      gap: 32px;
      list-style: none;
    }

    .nav-menu a {
      color: #333;
      font-weight: 500;
      text-decoration: none;
      position: relative;
      padding: 8px 4px;
      transition: color 0.3s;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
      color: var(--primary-color);
    }

    .nav-menu a.active:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 3px;
      background: var(--primary-color);
      border-radius: 2px;
    }

    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--primary-color);
    }

    /* 次导航样式 - 已修改为自动换行 */
    .sub-nav {
      padding: 16px 5%;
      background: linear-gradient(to right, #FFF3F5, #FFE9EC); /* 渐变背景 */
      margin-bottom: 24px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .category-scroll-container {
      position: relative;
    }

    .category-container {
      display: flex;
      flex-wrap: wrap; /* 自动换行 */
      gap: 10px;
    }

    .category-tag {
      padding: 8px 18px;
      background: white;
      color: #555;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      white-space: nowrap;
      border: 1px solid #f0f0f0;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    }

    .category-tag:hover,
    .category-tag.active {
      background: var(--primary-color);
      color: white;
      box-shadow: 0 4px 10px rgba(255, 36, 76, 0.25);
    }

    .scroll-control {
      display: none; /* 默认隐藏 */
    }

    /* 瀑布流内容 - 布局优化 */
    .content-container {
      max-width: 1400px; /* 更宽的容器 */
      margin: 0 auto;
      padding: 0 10px;
    }

    .waterfall-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); /* 更窄的卡片 */
      gap: 20px; /* 更小的间距 */
      padding-bottom: 60px;
    }

    .card {
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 24px rgba(255, 36, 76, 0.15);
    }

    .img-container {
      position: relative;
      width: 100%;
      padding-top: 100%; /* 1:1比例容器 */
      overflow: hidden;
      background: #f8f8f8;
    }

    .card-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain; /* 图片完整显示不自适应 */
      background: white;
      transition: transform 0.5s;
    }

    .card-img:hover {
      transform: scale(1.03);
    }

    .image-tag {
      position: absolute;
      top: 12px;
      right: 12px;
      background: rgba(255, 255, 255, 0.95);
      color: var(--dark-pink);
      font-size: 14px;
      padding: 6px 10px;
      border-radius: 20px;
      font-weight: 600;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      text-decoration: none;
      z-index: 2;
      border: 1px solid rgba(255, 36, 76, 0.1);
      /* 标签框美化：添加渐变背景和更精致的阴影 */
      background: linear-gradient(to right, #ff244c, #FF244C);
      color: white;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }

    .card-content {
      padding: 16px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .card-title {
      font-size: 18px;
      margin-bottom: 10px;
      font-weight: 600;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-decoration: none;
      color: #333;
      line-height: 1.4;
    }

    .card-title:hover {
      color: var(--primary-color);
    }

    .card-desc {
      color: #666;
      font-size: 13px;
      margin-bottom: 15px;
      line-height: 1.6;
      flex-grow: 1;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .rating-section {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
    }

    .rating-stars {
      color: #FFC107;
      font-size: 16px;
      margin-right: 8px;
      display: flex;
    }

    .rating-stars .star {
      margin-right: 3px;
    }

    .rating-value {
      font-size: 14px;
      font-weight: 500;
      color: #FF5A00;
      background: rgba(255, 90, 0, 0.1);
      padding: 2px 8px;
      border-radius: 12px;
    }

    .card-interaction {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #eee;
      padding-top: 15px;
      margin-top: auto;
    }

    .action-btn {
      display: flex;
      align-items: center;
      color: #666;
      font-size: 14px;
      text-decoration: none;
      transition: all 0.3s;
      padding: 4px 8px;
      border-radius: 20px;
    }

    /* 点赞图标设为红色 */
    .action-btn.like i {
      color: var(--primary-color);
    }

    .action-btn:hover {
      background: rgba(255, 36, 76, 0.05);
    }

    .action-btn:hover.like {
      color: var(--primary-color);
    }

    .action-btn i {
      margin-right: 6px;
      font-size: 16px;
    }
    
    .action-count {
      font-weight: 500;
      color: #444;
      margin-left: 4px;
    }

    /* 底部样式 */
    .footer {
      padding: 30px 20px;
      background: white;
      text-align: center;
      color: #888;
      font-size: 14px;
      border-top: 1px solid #f0f0f0;
    }

    .footer p {
      margin-bottom: 8px;
    }

    /* 响应式设计 - 重点优化 */
    @media (min-width: 1200px) {
      .waterfall-grid {
        grid-template-columns: repeat(5, 1fr); /* 超大屏显示5列 */
      }
    }

    @media (max-width: 1199px) and (min-width: 900px) {
      .waterfall-grid {
        grid-template-columns: replace(4, 1fr); /* 桌面端显示4列 */
      }
    }

    @media (max-width: 899px) and (min-width: 600px) {
      .waterfall-grid {
        grid-template-columns: repeat(3, 1fr); /* 平板显示3列 */
      }
    }

    @media (max-width: 768px) {
      .mobile-menu-toggle {
        display: block;
      }

      .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: auto; /* 修改为右侧显示 */
        right: 0; /* 修改为右侧显示 */
        background: white;
        flex-direction: column;
        align-items: flex-start; /* 左对齐 */
        padding: 20px;
        gap: 15px;
        box-shadow: -10px 0 15px rgba(0, 0, 0, 0.1);
        width: 35%; /* 适当宽度 */
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
      }

      .nav-menu.show {
        display: flex;
      }

      .main-header {
        padding: 12px 20px;
      }
    }

    @media (max-width: 599px) {
      .waterfall-grid {
        grid-template-columns: repeat(2, 1fr); /* 手机显示2列 */
        gap: 15px;
      }
      
      .card-title {
        font-size: 16px;
      }
      
      /* 小屏幕显示动作文字 */
      .action-text {
        display: inline-block !important; /* 强制显示文字 */
        margin-left: 4px;
      }
      
      .action-count {
        display: block;
      }
      
      .action-btn i {
        margin-right: 0;
      }
    }
    
    @media (max-width: 480px) {
      .waterfall-grid {
        grid-template-columns: 1fr; /* 超小屏幕只显示1列 */
      }
    }
	
    /* 新增友情链接样式 */
    .friend-links {
      background-color: #fff;
      padding: 10px 0;
      border-top: 1px solid #eee;
      border-bottom: 1px solid #eee;
      text-align: center;
    }
    
    .friend-links-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    .friend-links h3 {
      color: #FF244C;
      font-size: 18px;
      margin-bottom: 20px;
      text-align: center;
    }
    
    .friend-links ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px 30px;
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .friend-links li {
      display: inline-block;
    }
    
    .friend-links a {
      color: #555;
      text-decoration: none;
      font-size: 15px;
      transition: all 0.3s;
    }
    
    .friend-links a:hover {
      color: #FF244C;
      text-decoration: underline;
    }
    
    @media (max-width: 768px) {
      .friend-links ul {
        gap: 12px 20px;
      }
      
      .friend-links a {
        font-size: 14px;
      }
    }

    /*************************************************
      新增列表页样式（面包屑导航和分页组件）
      此部分样式专为列表页添加
    *************************************************/
    
    /* 面包屑导航样式 */
    .breadcrumb {
      padding: 16px 5%;
      background-color: #fff;
      border-bottom: 1px solid #f0f0f0;
      margin-bottom: 24px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .breadcrumb-content {
      max-width: 1400px;
      margin: 0 auto;
      font-size: 14px;
      color: #666;
    }
    
    .breadcrumb-content a {
      color: var(--primary-color);
      text-decoration: none;
      transition: opacity 0.3s;
    }
    
    .breadcrumb-content a:hover {
      opacity: 0.8;
      text-decoration: underline;
    }
    
    .breadcrumb-content span {
      color: #666;
    }
    
    .breadcrumb-content .current {
      color: #333;
      font-weight: 500;
    }
    
    /* 分页组件样式（适配WordPress） */
    .pagination {
      display: flex;
      justify-content: center;
      margin: 10px 0 10px;
      padding: 0 20px;
    }
    
    .pagination-container {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    
    .pagination .page-numbers {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 36px;
      height: 36px;
      padding: 0 12px;
      border-radius: var(--radius-sm);
      background: white;
      color: #555;
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      border: 1px solid #f0f0f0;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    
    .pagination .page-numbers:hover {
      background: var(--light-pink);
      color: var(--primary-color);
      box-shadow: 0 3px 8px rgba(255, 36, 76, 0.15);
    }
    
    .pagination .page-numbers.current {
      background: var(--primary-color);
      color: white;
      box-shadow: 0 3px 8px rgba(255, 36, 76, 0.25);
      border-color: var(--primary-color);
    }
    
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
      padding: 0 15px;
    }
    
    .pagination .page-numbers.prev i,
    .pagination .page-numbers.next i {
      font-size: 12px;
    }
    
    .pagination .dots {
      min-width: auto;
      padding: 0;
      background: transparent;
      border: none;
      box-shadow: none;
    }
    
    @media (max-width: 480px) {
      .pagination .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
      }
      
      .pagination .page-numbers.prev,
      .pagination .page-numbers.next {
        padding: 0 10px;
      }
    }
    
    /*************************************************
      新增文章详情页样式
      此部分样式专为文章详情页添加
    *************************************************/
    
    /* 文章详情布局 */
    .article-container {
      display: flex;
      gap: 30px;
      margin: 30px auto 50px;
    }
    
    .article-main {
      flex: 1;
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--card-shadow);
      padding: 20px;
    }
    
    .sidebar {
      width: 300px;
    }
    
    /* 轮播图样式 */
    .slider-container {
      position: relative;
      margin-bottom: 10px;
      border-radius: var(--radius-lg);
      overflow: hidden;
      height: 600px;
      background: #f8f8f8;
    }
    
    .slider {
      position: relative;
      height: 100%;
      width: 100%;
    }
    
    .slides {
      height: 100%;
      position: relative;
    }
    
    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.5s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .slide.active {
      opacity: 1;
      z-index: 1;
    }
    
    .slide img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    
    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.8);
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      font-size: 20px;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary-color);
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
    }
    
    .slider-btn:hover {
      background: white;
      color: var(--dark-pink);
      transform: translateY(-50%) scale(1.1);
    }
    
    .slider-btn.prev {
      left: 15px;
    }
    
    .slider-btn.next {
      right: 15px;
    }
    
    /* 文章标题样式 */
    .article-title {
      font-size: 20px;
      margin-bottom: 10px;
      color: #333;
      line-height: 1.3;
    }
    
    /* 文章内容样式 */
    .article-content {
      font-size: 16px;
      line-height: 1.8;
      color: #555;
      margin-bottom: 10px;
    }
    
    /* 文章元信息样式 */
    .article-meta {
      display: flex;
      align-items: center;
      color: #888;
      font-size: 14px;
    }
    
    .author {
      margin-left: 15px;
      padding-left: 15px;
      border-left: 1px solid #ddd;
    }
    
    /* 侧边栏样式 */
    .sidebar-title {
      font-size: 18px;
      color: var(--primary-color);
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--light-pink);
    }
    
    .sidebar-card {
      background: white;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--card-shadow);
      margin-bottom: 20px;
      transition: transform 0.3s ease;
    }
    
    .sidebar-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(255, 36, 76, 0.15);
    }
    
    .sidebar-card-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      background: #f8f8f8;
    }
    
    .sidebar-card-content {
      padding: 15px;
    }
    
    .sidebar-card-title {
      display: block;
      font-size: 16px;
      font-weight: 600;
      color: #333;
      text-decoration: none;
      margin-bottom: 10px;
      transition: color 0.3s;
    }
    
    .sidebar-card-title:hover {
      color: var(--primary-color);
    }
    
    /* 响应式调整 */
    @media (max-width: 992px) {
      .article-container {
        flex-direction: column;
      }
      
      .sidebar {
        width: 100%;
      }
      
      .slider-container {
        height: 500px;
      }
    }
    
    @media (max-width: 768px) {
      .slider-container {
        height: 500px;
      }
    }
    
    @media (max-width: 480px) {
      .slider-container {
        height: 350px;
      }
      
      .article-title {
        font-size: 20px;
      }
    }
    
    /*************************************************
      此部分样式专为轮播图指示点添加
    *************************************************/
    .slider-indicators {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 10;
    }
    
    .indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .indicator.active {
      background: var(--primary-color);
      width: 24px;
      border-radius: 4px;
    }
    
    .slider-counter {
      position: absolute;
      bottom: 20px;
      right: 20px;
      background: rgba(0, 0, 0, 0.4);
      color: white;
      padding: 4px 12px;
      border-radius: 12px;
      font-size: 14px;
      z-index: 10;
    }
	
	
	
/* ===== 优化后的评论区域样式 ===== */
/* ===== 评论区域样式 ===== */
.comments-area {
    margin-top: 30px;
    background: white;
    border-radius: var(--radius-lg);
}

.comments-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0极速;
    display: flex;
    align-items: center;
}

.comments-title span {
    color: var(--primary-color);
    margin-left: 3px;
	margin-right: 3px;
    font-size: 20px;
}

.comments-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* 四行布局评论表单 */
.comment-respond {
    margin-bottom: 10px;
    padding: 5px;
    background: #f9f9f9;
    border-radius: var(--radius-sm);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

/* 第一行：评论内容框 */
.comment-form-comment {
    order: 1;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    min-height: 120px;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s;
    background: white;
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 36, 76, 0.1);
}

/* 第二行：昵称和邮箱输入框（在同一行） */
.comment-form .author-email-container {
    order: 2;
    display: flex;
    gap: 15px;
    width: 100%;
}

.comment-form-author {
    flex: 1;
}

.comment-form-email {
    flex: 1;
}

.comment-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.comment-form input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 36, 76, 0.1);
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* 第三行：记住我的信息 */
.comment-form-cookies-consent {
    order: 3;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

.comment-form-cookies-consent input {
    margin: 0 8px 0 0;
    width: auto;
}

.comment-form-cookies-consent label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    display: inline;
    line-height: 1.4;
}

/* 第四行：提交按钮 */
.form-submit {
    order: 4;
    text-align: right;
}

.submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.submit:hover {
    background: var(--dark-pink);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 36, 76, 0.3);
}

/* 评论列表样式 */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f0f0f0;
}

.comment {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid #f7f7f7;
}

.comment:last-child {
    border-bottom: none;
}

.comment-body {
    padding: 15px;
    background: #fafafa;
    border-radius: 12px;
    position: relative;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
    align-items: center;
}

.comment-author {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
}

.comment-author .fn {
    color: var(--primary-color);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-metadata {
    font-size: 12px;
    color: #999;
}

.comment-content {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1px;
}

.reply {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(255, 36, 76, 0.08);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.reply:hover {
    background: var(--primary-color);
    color: white;
}

.reply i {
    margin-right: 4px;
    font-size: 12px;
}

/* ===== 嵌套评论样式 - 固定两层缩进 ===== */
/* 所有回复评论使用相同的缩进 */
.children {
    list-style: none;
    padding-left: 40px; /* 固定缩进量 */
    margin-top: 1px;
}

/* 更深层嵌套不再增加缩进 */
.children .children,
.children .children .children,
.children .children .children .children {
    padding-left: 0; /* 取消额外缩进 */
}

/* 所有嵌套评论使用相同样式 */
.children .comment-body,
.children .children .comment-body,
.children .children .children .comment-body {
    background: #f5f5f5;
}

/* 使用类名标记层级 */
.comment.depth-2,
.comment.depth-3,
.comment.depth-4 {
    position: relative;
}

/* 添加视觉指示器 */
.comment.depth-2:before,
.comment.depth-3:before,
.comment.depth-4:before {
    content: "↳ ";
    color: #999;
    position: absolute;
    left: -20px;
    top: 20px;
    font-size: 16px;
}

/* 查看更多评论按钮 */
.show-more-comments {
    display: block;
    margin-top: 15px;
    padding: 8px 16px;
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--light-pink);
    border-radius: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.show-more-comments:hover {
    background: var(--light-pink);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(255, 36, 76, 0.15);
}

/* 折叠状态 */
.comment-list.collapsed > .comment:nth-child(n+4) {
    display: none;
}

/* 媒体查询 */
@media (max-width: 768px) {
    .comment-form .author-email-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .comment-form-cookies-consent {
        margin: 10px 0;
    }
    
    .children {
        padding-left: 15px; /* 移动端减少缩进 */
    }
    
    .comment-body {
        padding: 10px;
    }
    
    .comment-author .fn {
        max-width: 90px;
    }
    
    .comment.depth-2:before,
    .comment.depth-3:before,
    .comment.depth-4:before {
        left: -15px;
        top: 15px;
    }
}

/* 添加评论区域样式部分 */
.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 36, 76, 0.2);
    outline: none;
}



/* 互动区域样式 - 保持不变 */
.interaction-section {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* ===== 优化互动区域居中 ===== */
.interaction-section {
  display: flex;
  flex-wrap: wrap; /* 允许在小屏幕换行 */
  justify-content: space-between;
  margin: 25px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* 在电脑端居中显示 */
@media (min-width: 768px) {
  .interaction-section {
    justify-content: center; /* 改为居中 */
    gap: 150px; /* 添加间距 */
  }
  
  /* 点赞容器样式 */
  .like-container {
    order: 1; /* 确保点赞在左 */
  }
  
  /* 评分容器样式 */
  .rating-container {
    order: 2; /* 确保评分在右 */
  }
}

/* 手机端保持原样 */
@media (max-width: 767px) {
  .interaction-section {
    justify-content: space-between; /* 保持两端对齐 */
    gap: 20px; /* 小间距 */
  }
}

/* 点赞容器样式 - 保持不变 */
.like-container, .rating-container {
  display: flex;
  align-items: center;
}

/* ========= 修改点赞按钮样式 ========= */
.like-btn {
  background: rgba(255, 36, 76, 0.1); /* 添加浅红色背景 */
  border: 1px solid rgba(255, 36, 76, 0.2); /* 添加浅红色边框 */
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500; /* 加粗字体 */
  color: var(--primary-color); /* 使用主题红色 */
  transition: all 0.3s;
  padding: 8px 15px;
  border-radius: 30px;
}

.like-btn:hover {
  background: rgba(255, 36, 76, 0.15); /* 悬停时加深背景色 */
  transform: translateY(-2px); /* 添加轻微上浮效果 */
  box-shadow: 0 2px 8px rgba(255, 36, 76, 0.15); /* 添加阴影增强层次感 */
}

.like-btn .fas {
  margin-right: 5px;
  color: var(--primary-color); /* 图标使用主题红色 */
}

.like-count {
  font-weight: bold;
  color: rgba(255, 36, 76, 0.9); /* 数字使用深红色 */
}
/* ========= 点赞按钮样式修改结束 ========= */

/* ========= 评分功能样式 - 保持不变 ========= */
.rating-stars {
  display: flex;
  font-size: 18px;
  cursor: pointer;
}

.rating-stars .star-wrapper {
  position: relative;
  margin: 0 2px;
  flex: 1;
  text-align: center;
}

.rating-stars .star {
  color: #ddd; /* 默认灰色 */
  transition: color 0.2s;
  display: inline-block;
}

.rating-stars .star.active {
  color: #FFC107; /* 实际评分颜色 - 金色 */
}

.rating-stars .star.half {
  /* 半星样式 */
  color: #FFC107;
  background: linear-gradient(90deg, #FFC107 50%, #ddd 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rating-stars .star.hover-active {
  color: #FFD54F; /* 悬停状态颜色 - 亮黄色 */
}
/* ========= 评分功能样式结束 ========= */

/* 加载状态 - 保持不变 */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* 点赞后状态 - 添加背景色变化 */
.liked {
  color: var(--primary-color) !important;
  animation: pulse 0.5s;
  background: rgba(255, 36, 76, 0.2); /* 点赞后背景加深 */
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}



/* 底部备案号样式 */
.link {
    color: #888;          /* 默认文字颜色 */
    text-decoration: none;   /* 去除下划线 */
    transition: color 0.3s ease; /* 专门针对颜色的过渡效果 */
}

.link:hover {
    color: #FF244C;             /* 悬停时变为白色 */
}

