/* ========== 移动端（H5）适配 ==========
 * 屏幕宽度 ≤ 768px 时生效，PC 端样式不受影响。
 * 每个页面在其他样式之后引入本文件，同名规则以这里为准。
 */

/* 菜单按钮：PC 端隐藏 */
.landing_header .nav_toggle {
  display: none;
}

@media (max-width: 768px) {
  body {
    min-width: 0;
  }
  img {
    max-width: 100%;
  }

  /* ---------- 头部导航 ---------- */
  .landing_header {
    height: 56px;
    padding: 0 16px;
  }
  .landing_header .brand_info img {
    width: 115px;
    height: 30px;
  }
  .landing_header .btn_login {
    width: 84px;
    height: 34px;
    line-height: 34px;
    font-size: 13px;
  }
  .landing_header .nav_toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: 10px;
    padding: 0 7px;
    border: none;
    background: none;
    box-sizing: border-box;
  }
  .landing_header .nav_toggle i {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: #000;
    transition: transform .2s, opacity .2s;
  }
  .landing_header.menu_open .nav_toggle i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .landing_header.menu_open .nav_toggle i:nth-child(2) {
    opacity: 0;
  }
  .landing_header.menu_open .nav_toggle i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .landing_header.menu_open .landing_header_bg {
    opacity: 1 !important;
  }
  /* 导航收进下拉菜单 */
  .landing_header .mid_info {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: auto;
    padding: 8px 0 16px;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: none;
  }
  .landing_header.menu_open .mid_info {
    display: block;
  }
  .landing_header .nav_list {
    display: block;
    font-size: 16px;
  }
  .landing_header .nav_list a {
    display: block;
    padding: 0 24px;
    line-height: 48px;
    border-bottom: 1px solid #f3f3f3;
  }
  .landing_header .nav_list a.active {
    color: #07b36e;
    font-weight: 700;
  }
  .landing_header .nav_list a.active:after {
    display: none;
  }
  /* "免费"标签放到文字后面 */
  .landing_header .nav_list a.free {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
  }
  .landing_header .nav_list a.free:before {
    position: static;
  }

  /* ---------- 底部免费横幅 ---------- */
  .free_wrapper {
    width: auto;
    height: auto;
    margin: 56px 16px 0;
  }
  .free_inner {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1569 / 660;
    background-size: contain;
    background-repeat: no-repeat;
    transform: none;
  }

  /* ---------- 页脚 ---------- */
  .site_footer {
    min-width: 0;
  }
  .site_footer_main {
    flex-direction: column;
    width: auto;
    padding: 32px 20px 20px;
  }
  .site_footer_links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-top: 28px;
    padding-top: 0;
  }
  .site_footer_links dt {
    margin-bottom: 8px;
  }
  .site_footer_links dd {
    line-height: 30px;
  }
  .site_footer_bottom {
    padding: 14px 16px 80px;
  }
  .site_footer_bottom i {
    margin: 0 4px;
  }

  /* 悬浮客服、客服弹窗 */
  .float_service {
    right: 12px;
    bottom: 20px;
  }
  /* 旧版是 PC 页面，手机上不显示入口 */
  .float_service_old {
    display: none;
  }
  .float_service_btn,
  .float_service_icon {
    height: 48px;
  }
  .float_service_icon {
    width: 48px;
  }
  .float_service_icon:after {
    top: 9px;
    right: 9px;
  }
  .service_dialog {
    width: 88vw;
    max-width: 380px;
  }
  .service_dialog_list {
    width: auto;
    padding: 0 16px;
  }

  /* ---------- 首页：首屏 ---------- */
  .home_banner {
    height: auto;
    min-height: 0;
  }
  .home_banner .banner_inner {
    max-width: none;
    width: auto;
    padding: 96px 16px 48px;
  }
  .banner_left .slogan {
    font-size: 30px;
  }
  .banner_left .sub_slogan {
    flex-direction: column;
    gap: 8px;
    font-size: 15px;
    line-height: 1.6;
  }
  .banner_left .sub_slogan .tag {
    font-size: 14px;
  }
  .tool_group {
    margin-top: 32px;
  }
  .tool_group_title {
    font-size: 16px;
  }
  .tool_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tool_item {
    height: 52px;
    font-size: 14px;
  }
  .tool_item img {
    width: 24px;
    height: 24px;
  }
  .banner_scroll {
    display: none;
  }

  /* ---------- 首页：产品功能 ---------- */
  .example_wrapper {
    margin-top: 40px;
  }
  .example_wrapper:before,
  .example_left:before,
  .example_right:after {
    display: none;
  }
  .example_inner {
    flex-direction: column;
    max-width: none;
    width: auto;
    margin: 0 16px;
  }
  .example_left {
    width: auto;
  }
  /* 六个功能做成两列标签 */
  .example_type_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .example_type_item {
    height: auto;
    padding: 12px 14px;
    border: 2px solid #000;
    border-radius: 10px;
    background: #fff;
  }
  .example_type_item.active {
    background: #07b36e;
  }
  .example_type_item + .example_type_item {
    margin-top: 0;
  }
  .example_type_title {
    font-size: 16px;
  }
  .example_type_intro {
    display: none;
  }
  .example_right {
    margin: 16px 0 0;
  }
  .feature_window {
    height: auto;
    border-width: 2px;
  }
  .feature_window_bar {
    height: 36px;
    padding: 0 12px;
    border-bottom-width: 2px;
  }
  .feature_window_url {
    margin: 0 0 0 10px;
    font-size: 12px;
  }
  .feature_panel {
    padding: 20px 16px;
  }
  .panel_head {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .panel_text h3 {
    font-size: 22px;
  }
  .panel_desc {
    font-size: 14px;
  }
  .panel_actions {
    flex-direction: row;
    justify-content: space-between;
  }
  .panel_btn {
    width: 140px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
  }
  .panel_points {
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  /* 示意图只保留查重报告截图，其余在手机上太挤 */
  .feature_panel .panel_visual {
    display: none;
  }
  .feature_panel .panel_visual.visual_check {
    display: block;
    flex: none;
    margin-top: 16px;
    padding: 10px 10px 0;
  }
  .visual_check .report_links {
    position: static;
    margin: 10px 0;
    border-width: 1px;
    font-size: 13px;
    text-align: center;
  }

  /* ---------- 首页：用户评价 ---------- */
  .ruok_wrapper {
    height: 120px;
    margin-top: 64px;
  }
  .ruok_wrapper:after {
    width: 280px;
    height: 120px;
    margin-right: -140px;
  }
  .user_share_wrapper {
    margin-top: 40px;
    padding: 0 16px 40px;
    box-sizing: border-box;
  }
  .user_share_wrapper:before,
  .user_share_wrapper:after {
    display: none;
  }
  .user_share_title,
  .news_header_title {
    font-size: 26px;
  }
  .user_share_intro,
  .news_toolbar_desc {
    font-size: 14px;
  }
  .user_share_card_list {
    display: block;
  }
  .user_share_card_item {
    height: auto;
    margin-top: 16px;
    padding: 16px;
    border-width: 3px;
  }
  .user_share_card_top img {
    width: 44px;
  }
  .user_share_card_name {
    font-size: 16px;
  }
  .user_share_card_role {
    font-size: 12px;
  }
  .user_share_card_body {
    height: auto;
    margin-top: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.8;
  }

  /* ---------- 首页：新闻资讯 ---------- */
  .news_wrapper {
    max-width: none;
    width: auto;
    margin: 48px 16px 0;
  }
  .news_header_flag {
    width: 32px;
  }
  .news_toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }
  .news_toolbar .right_btns {
    top: 0;
  }
  .news_toolbar .right_btns button {
    width: 96px;
    height: 36px;
    font-size: 15px;
  }
  .news_toolbar .right_btns button + button {
    margin-left: 14px;
  }
  .news_toolbar .right_btns button.active:after {
    top: -34px;
    width: 24px;
    height: 26px;
  }
  .news_list {
    row-gap: 18px;
    margin-top: 20px;
  }
  .news_item {
    flex: 0 0 100%;
    height: auto;
  }
  .news_item_cover {
    width: 120px;
    height: 72px;
    margin-right: 12px;
    border-width: 2px;
    border-radius: 8px;
  }
  .news_item_title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    line-height: 1.5;
  }
  .news_item_brief {
    display: none;
  }
  .news_item_time {
    margin-top: 6px;
    font-size: 12px;
  }

  /* ---------- 功能介绍页、关于我们、常见问题、免费活动 ---------- */
  .feature_page {
    padding-top: 56px;
  }
  .feature_wrap {
    width: auto;
    padding: 0 16px;
  }
  .feature_hero .feature_wrap {
    padding: 28px 16px 40px;
  }
  .feature_hero h1 {
    margin-top: 0;
    font-size: 26px;
  }
  .feature_hero h1 strong {
    display: block;
  }
  .feature_hero_desc {
    width: auto;
    font-size: 14px;
    line-height: 1.8;
  }
  .feature_hero_tags span {
    font-size: 12px;
  }
  .feature_hero_btns {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }
  .feature_btn {
    width: 160px;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
  }
  .feature_btn.free_btn_light {
    line-height: 42px;
  }
  .feature_section {
    padding-top: 44px;
  }
  .feature_section_title {
    font-size: 22px;
  }
  .feature_section_intro {
    font-size: 14px;
  }
  .feature_points,
  .feature_related,
  .feature_posts,
  .free_gifts,
  .free_gifts_2,
  .free_page .feature_related {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .feature_points li,
  .feature_related a {
    padding: 18px;
  }
  .feature_steps {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .feature_steps li {
    padding: 20px;
  }
  .feature_demo .panel_visual,
  .feature_demo .visual_check {
    height: auto;
    margin-top: 24px;
  }
  .feature_article {
    padding: 20px;
    font-size: 15px;
  }
  .feature_faq_item {
    padding: 16px 18px;
  }
  .feature_faq_item h3,
  .feature_faq_item p {
    padding-left: 26px;
  }
  .feature_posts a em {
    display: none;
  }

  /* 关于我们 */
  .about_users li {
    padding: 10px 18px;
    font-size: 14px;
  }
  .about_contact {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  .about_contact_info {
    width: 100%;
  }
  .about_contact_info span {
    width: 72px;
  }

  /* 常见问题 */
  .faq_layout {
    flex-direction: column;
    gap: 24px;
  }
  .faq_list {
    width: 100%;
  }
  .faq_item summary {
    padding: 16px 40px 16px 44px;
  }
  .faq_item summary:before {
    top: 14px;
    left: 16px;
  }
  .faq_item summary:after {
    top: 22px;
    right: 18px;
  }
  .faq_item summary h2 {
    font-size: 15px;
  }
  .faq_answer {
    padding: 0 18px 16px 44px;
    font-size: 14px;
  }
  .faq_side {
    position: static;
    width: 100%;
  }

  /* 免费活动 */
  .free_gift {
    padding: 22px 20px 18px;
  }
  .free_gift_num {
    font-size: 40px;
  }
  .free_gift_num.free_gift_text {
    font-size: 30px;
    line-height: 40px;
  }
  .free_gift p {
    min-height: 0;
  }
  .free_compare {
    font-size: 13px;
  }
  .free_compare th,
  .free_compare td {
    padding: 10px;
  }
  .free_compare th {
    font-size: 14px;
  }
  .free_compare td:first-child {
    width: 56px;
  }

  /* ---------- 文章列表页 ---------- */
  .knowledge_all {
    display: block;
    width: auto;
    min-height: 0;
    padding: 72px 16px 32px;
  }
  /* 左侧栏目改成顶部横排标签 */
  .knowledge_guide {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin-bottom: 20px;
    padding: 0;
    border: none;
    overflow-x: auto;
  }
  .knowledge_guide_title {
    display: none;
  }
  .knowledge_guide a {
    flex-shrink: 0;
    height: 34px;
    padding: 0 16px;
    border: 1px solid #e3e3e3;
    border-radius: 17px;
    background: #fff;
    line-height: 32px;
    text-align: center;
  }
  .knowledge_guide a.active {
    border-color: #07b36e;
    background: #07b36e;
    color: #fff;
  }
  .knowledge_guide a.active:after {
    display: none;
  }
  .knowledge_list {
    padding-left: 0;
  }
  .knowledge_list_title {
    margin-bottom: 16px;
    font-size: 20px;
  }
  .knowledge_item {
    height: auto;
    margin-bottom: 14px;
  }
  .knowledge_item {
    align-items: center;
    padding: 10px;
  }
  .knowledge_item_cover {
    width: 120px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
  }
  .knowledge_item_body {
    padding: 0 0 0 12px;
  }
  .knowledge_item_title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
  }
  .knowledge_item_brief {
    display: none;
  }
  .knowledge_item_time {
    margin-top: 8px;
    text-align: left;
  }
  .knowledge_list .paging {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }
  .knowledge_list .paging a,
  .knowledge_list .paging strong {
    display: inline-block;
    margin-right: 0;
    padding: 6px 12px;
  }

  /* ---------- 文章详情页 ---------- */
  .knowledge_detail {
    width: auto;
    padding: 64px 16px 24px;
  }
  .knowledge_detail_content {
    display: block;
  }
  .knowledge_detail .detail_left {
    width: auto;
    margin-right: 0;
  }
  .knowledge_detail .detail_crumbs {
    margin-top: 12px;
    font-size: 13px;
  }
  .knowledge_detail .detail_title {
    margin-top: 16px;
    font-size: 22px;
  }
  .knowledge_detail .detail_info {
    margin-top: 12px;
    padding-bottom: 14px;
    font-size: 13px;
  }
  .rich_text {
    min-height: 0;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.9;
  }
  .rich_text h1 { font-size: 21px; }
  .rich_text h2 { font-size: 19px; }
  .rich_text h3 { font-size: 17px; }
  /* 宽表格横向滚动，不撑破页面 */
  .rich_text table {
    display: block;
    overflow-x: auto;
  }
  .rich_text table th,
  .rich_text table td {
    padding: 8px 10px;
    white-space: nowrap;
  }
  .rich_text pre {
    overflow-x: auto;
  }
  .recommend {
    margin-top: 36px;
  }
  .recommend_title {
    height: auto;
    font-size: 18px;
  }
  .recommend_box {
    width: auto;
    margin-top: 14px;
  }
  .recommend_box_poster {
    width: 100px;
    height: 62px;
  }
  .recommend_box_right {
    margin-left: 12px;
  }
  .recommend_box_right .title {
    font-size: 15px;
  }
  .knowledge_detail .detail_right {
    width: auto;
    padding-top: 36px;
  }
  .list_box {
    margin-bottom: 28px;
  }

  /* ---------- 404 / 500 ---------- */
  .nf_page {
    padding-top: 56px;
  }
  .nf_wrap {
    width: auto;
    padding: 0 16px;
  }
  .nf_inner {
    padding: 48px 16px 56px;
  }
  .nf_hero_full .nf_inner {
    padding: 56px 16px 64px;
  }
  .nf_cloud_l {
    left: 4%;
    width: 90px;
  }
  .nf_cloud_r {
    right: 2%;
    width: 110px;
  }
  .nf_code {
    gap: 14px;
    height: 110px;
  }
  .nf_digit {
    width: 70px;
    height: auto;
  }
  .nf_coin_wrap {
    width: 74px;
    height: 96px;
  }
  .nf_coin {
    width: 68px;
    margin-left: -34px;
  }
  .nf_coin_shadow {
    width: 50px;
    margin-left: -25px;
  }
  .nf_hero h1 {
    margin-top: 28px;
    font-size: 26px;
  }
  .nf_desc {
    font-size: 14px;
  }
  .nf_actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }
  .nf_btn {
    width: 140px;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
  }
  .nf_btn_ghost {
    line-height: 42px;
  }
  .nf_section {
    padding: 40px 0 48px;
  }
  .nf_section_title {
    font-size: 18px;
  }
  .nf_tools {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .nf_tool {
    padding: 14px 16px;
  }
  .nf_posts {
    flex-direction: column;
    gap: 20px;
  }
  .nf_post_cover {
    height: auto;
    aspect-ratio: 5 / 3;
  }
}
/* ========== 移动端（H5）适配 结束 ========== */
