@import "../config.css";:root{--background-color:#000000;--font-size:14px;--font-color:#dddddd;--font-weight:400;--header-font-size:16px;--title-font-size:25px;--header-font-weight:700;--plain-headers-font-color:var(--font-color);--plain-headers-logo-color:var(--font-color);--nav-bg-color:var(--background-color);--nav-logo-color:var(--font-color);--nav-link-color:var(--font-color);--nav-border-color:hsl(227, 39%, 18%)}html,body,main{font-size:var(--font-size);color:var(--font-color);font-weight:var(--font-weight);background-color:var(--background-color)!important}li::marker,a{color:var(--font-color)!important}hr{background-color:var(--font-color)}[id^=header-],p,.table-of-contents a,.expandable-content a{font-size:1rem!important;line-height:1.25rem}.title h1{font-size:1.43rem;line-height:1.5rem}.aside-container,.expandable,.share{box-shadow:none}svg,.icon svg *{fill:var(--font-color)!important}@media(min-width:1024px){html,body,main{font-size:1rem}.title h1{font-size:1.56rem}}

.afs-box{
    /*background:#fff;*/
    padding-bottom:15px;
}
.afs-header {
    font-family: Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    color: #dddddd;
    border-bottom: 1px solid #dadce0;
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-indent: 10px;
}
.afs-list {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}
.afs-item {
    margin-bottom: 20px;
}
.afs-title a {
    font-size: 18px;
    color:#ffffff!important;
    text-decoration: none;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-block;
}
.afs-title a:hover {
    text-decoration: underline;
}
.afs-link {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 3px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.afs-intro {
    font-size: 14px;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 480px) {
    .afs-header {
        font-size: 20px;
    }
    .afs-title a {
        font-size: 16px;
    }
    .afs-link, .afs-intro {
        font-size: 13px;
    }
}
/* 整个结果区域允许长单词/长链接折行 */
  .afs-box,
  .afs-list,
  .afs-item,
  .afs-title,
  .afs-title a,
  .afs-link {
      max-width: 100% !important;
      box-sizing: border-box;
  }

  /* 标题链接：一定要能折行 */
  .afs-title a {
      display: inline-block !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;  /* 比 break-word 更狠 */
      word-break: break-all !important;
      text-overflow: clip !important;      /* 防止和 ellipsis 冲突 */
  }

  /* 绿色 URL 行：去掉单行省略号，改成可折行 */
  .afs-link {
      display: block !important;
      white-space: normal !important;
      overflow-wrap: anywhere !important;
      word-break: break-all !important;
      overflow: visible !important;
      text-overflow: clip !important;
  }

  /* 万一外层是 flex 子项，被 min-width 撑爆，强制允许压缩 */
  .main-content,
  .content-wrapper,
  .afs-list {
      min-width: 0 !important;
  }

  /* 最后兜底，防止页面横向滚动（可选） */
  html, body {
      overflow-x: hidden;
  }