html {
  font-size: 14px;
}
.container {
  max-width: 960px;
}
.container-navbar{
    width:100%;
}
.navbar h5{
    display:inline-block;
    margin-left: 8px;
    color:#212529;
}
.navbar {
    background: #FFFFFF !important;
    border:none;
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}
.navbar .navbar-nav > li .btn-outline-primary{
    margin-left:10px;
}
.navbar .navbar-nav > li .btn-outline-primary:hover {
    color:#fff;
}

.pricing-header {
  max-width: 700px;
}
.card-deck .card {
  min-width: 220px;
}
.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }
.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }
.comments {
 width:100%;/*自动适应父布局宽度*/
 overflow:auto;
 word-break:break-all;/*在ie中解决断行问题(防止自动变为在一行显示，主要解决ie兼容问题，ie8中当设宽度为100%时，文本域类容超过一行时，当我们双击文本内容就会自动变为一行显示，所以只能用ie的专有断行属性“word-break或word-wrap”控制其断行)*/
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  * {
    font-size: 14px !important;
  }
  .navbar .navbar-nav > li a{
      text-align:center;
  }
  .navbar .navbar-nav > li span{
    text-align: center;
  }
  .navbar .navbar-nav > li .btn-outline-primary:last-child{
      margin-top:10px;
  }
  footer ul li .text-muted{
      font-size:12px !important;
  }
}

/* ===== 站台页脚（虚线分隔 + 居中极简） ===== */
.site-footer {
  margin-top: 32px;
  padding: 22px 0 16px;
  text-align: center;
  border-top: 1px solid #dee2e6;
}
.site-footer:before {
  content: "";
  display: block;
  border-top: 1px dashed #dee2e6;
  margin: 3px 0 16px;
}
.site-footer .sf-brand {
  display: inline-block;
  color: #212529;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-footer .sf-brand img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 7px;
  border-radius: 4px;
}
.site-footer .sf-links { margin-top: 12px; }
.site-footer .sf-links a {
  display: inline-block;
  color: #67656f;
  font-size: 13px;
  margin: 0 11px;
  text-decoration: none;
}
.site-footer .sf-links a:hover { color: #007bff; text-decoration: none; }
.site-footer .sf-copy {
  margin-top: 10px;
  font-size: 12px;
  color: #8a9099;
  line-height: 1.9;
}
.site-footer .sf-icp { margin-top: 2px; }
.site-footer .sf-copy a { color: #8a9099; text-decoration: none; }
.site-footer .sf-copy a:hover { color: #007bff; }

/* ===== 更多功能（三卡横排，HTML 由 footerxaa.php / result.php / api.html / product.html 直接输出） ===== */
.xfm-more {
    max-width: 900px;
    margin: 34px auto 0;
    padding: 0 15px;
}

.xfm-more h5 {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #2f3037;
    margin: 0 0 2px;
    letter-spacing: .5px;
}

.xfm-more h5 span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #9aa0aa;
    letter-spacing: .6px;
    margin-top: 5px;
}

.xfm-more-grid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 20px -8px 0;
}

.xfm-more-card {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1 1 240px;
    flex: 1 1 240px;
    -ms-flex-align: center;
    align-items: center;
    margin: 0 8px 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(31, 36, 48, .05);
    -webkit-transition: box-shadow .2s, border-color .2s, -webkit-transform .2s;
    transition: box-shadow .2s, border-color .2s, transform .2s, -webkit-transform .2s;
}

.xfm-more-card:hover,
.xfm-more-card:focus {
    border-color: #cfe0ff;
    box-shadow: 0 8px 22px rgba(31, 36, 48, .10);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    text-decoration: none;
}

.xfm-more-card img {
    width: 40px;
    height: 40px;
    margin-right: 14px;
    -ms-flex: 0 0 40px;
    flex: 0 0 40px;
    border-radius: 8px;
}

.xfm-more-card .xfm-more-text {
    display: block;
    min-width: 0;
}

.xfm-more-card strong {
    display: block;
    font-size: 15px;
    color: #2f3037;
    margin-bottom: 4px;
}

.xfm-more-card em {
    display: block;
    font-style: normal;
    font-size: 13px;
    color: #8a9099;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .xfm-more {
        margin-top: 24px;
    }

    .xfm-more h5 {
        font-size: 16px !important;
    }

    .xfm-more-card {
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        padding: 14px 15px;
    }

    .xfm-more-card strong {
        font-size: 14.5px !important;
    }

    .xfm-more-card em {
        font-size: 12.5px !important;
    }
}

/* ===== 首页（输入卡片 + 使用说明） ===== */
.xfm-home {
    max-width: 1000px;
    margin: 0 auto;
}

.xfm-home-card {
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 12px;
    padding: 26px 28px 20px;
    box-shadow: 0 10px 30px rgba(31, 36, 48, .08);
}

.xfm-home-title {
    font-size: 21px;
    font-weight: 600;
    color: #24262c;
    margin: 0 0 7px;
    letter-spacing: .3px;
}

.xfm-home-sub {
    font-size: 13px;
    color: #8a9099;
    margin: 0 0 18px;
}

.xfm-home-sub span {
    display: block;
    font-size: 12px;
    color: #b3b8c0;
    letter-spacing: .4px;
    margin-top: 3px;
}

.xfm-home .form-group {
    margin-bottom: 0;
}

.xfm-home #textarea1 {
    border-color: #e3e5ea;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.9;
    color: #3a3d45;
    padding: 14px 15px;
    min-height: 200px;
    resize: vertical;
    box-shadow: none;
}

.xfm-home #textarea1:focus {
    border-color: #9ec2ff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, .10);
}

.xfm-home-meta {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: #8a9099;
}

.xfm-home-hint {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: baseline;
    align-items: baseline;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 16px;
}

.xfm-home-quota #wordCheck {
    color: #28a745;
    font-weight: 600;
}

.xfm-home-quota a {
    color: #007bff;
    text-decoration: none;
}

.xfm-home-quota a:hover {
    text-decoration: underline;
}

.xfm-home-warn {
    color: #dc3545;
    margin-left: 8px;
}

.xfm-home-actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f2f5;
}

.xfm-home-actions .custom-control {
    margin-right: 18px;
}

.xfm-home-actions .custom-control-label {
    font-size: 13.5px;
    color: #67656f;
}

.xfm-home-actions .custom-control-label a {
    color: #007bff;
    text-decoration: none;
}

.xfm-home-submit {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    min-width: 168px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(0, 123, 255, .22);
}

.xfm-home-submit.is-loading {
    opacity: .72;
}

.xfm-home-help {
    margin-top: 26px;
    padding: 22px 24px 20px;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(31, 36, 48, .05);
}

.xfm-home-help h2 {
    font-size: 16px;
    font-weight: 600;
    color: #2f3037;
    margin: 0 0 14px;
}

.xfm-home-help h2 span {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #b3b8c0;
    letter-spacing: .5px;
}

.xfm-home-help ol {
    margin: 0;
    padding-left: 22px;
}

.xfm-home-help ol li {
    font-size: 14px;
    line-height: 1.9;
    color: #67656f;
    margin-bottom: 8px;
}

.xfm-home-help ol li strong {
    color: #2f3037;
    font-weight: 600;
}

.xfm-home-help p {
    margin: 10px 0 0;
    font-size: 13px;
    color: #8a9099;
}

.xfm-home-help p a {
    color: #007bff;
    text-decoration: none;
}

.xfm-home-help p a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .xfm-home-card {
        padding: 20px 18px 16px;
    }

    .xfm-home-title {
        font-size: 18px !important;
    }

    .xfm-home-sub {
        font-size: 12.5px !important;
    }

    .xfm-home-sub span {
        font-size: 11.5px !important;
    }

    .xfm-home #textarea1 {
        font-size: 15px !important;
        min-height: 170px;
    }

    .xfm-home-meta {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .xfm-home-hint {
        margin-right: 8px;
    }

    .xfm-home-quota {
        font-size: 12px !important;
        line-height: 1.55;
    }

    .xfm-home-actions .custom-control-label {
        font-size: 13px !important;
    }

    .xfm-home-actions {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: stretch;
        align-items: stretch;
    }

    .xfm-home-actions .custom-control {
        margin-right: 0;
        margin-bottom: 0;
    }

    .xfm-home-submit {
        width: auto;
        min-width: 0;
        padding: 7px 11px;
        font-size: 12.5px !important;
        letter-spacing: 0;
        box-shadow: none;
    }

    .xfm-home-help h2 {
        font-size: 15px !important;
    }

    .xfm-home-help ol li,
    .xfm-home-help ol li strong {
        font-size: 14px !important;
    }

    .xfm-home-help p {
        font-size: 13px !important;
    }
}

/* ===== 接口文档（api.html） ===== */
.xfm-api-head {
    max-width: 900px;
    margin: 34px auto 0;
    padding: 0 15px;
    text-align: center;
}

.xfm-api-head h1 {
    font-size: 26px;
    font-weight: 600;
    color: #24262c;
    margin: 0 0 8px;
    letter-spacing: .5px;
}

.xfm-api-head p {
    font-size: 14px;
    color: #8a9099;
    margin: 0;
}

.xfm-api-head p span {
    display: block;
    font-size: 12px;
    color: #b3b8c0;
    letter-spacing: .6px;
    margin-top: 6px;
}

.xfm-api-toc {
    max-width: 900px;
    margin: 22px auto 0;
    padding: 0 15px;
}

.xfm-api-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
}

.xfm-api-toc li {
    margin: 0 5px 8px;
}

.xfm-api-toc a {
    display: block;
    padding: 6px 13px;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 20px;
    font-size: 13px;
    color: #67656f;
    text-decoration: none;
    -webkit-transition: border-color .2s, color .2s;
    transition: border-color .2s, color .2s;
}

.xfm-api-toc a:hover,
.xfm-api-toc a:focus {
    border-color: #cfe0ff;
    color: #007bff;
    text-decoration: none;
}

.xfm-api-card {
    max-width: 900px;
    margin: 18px auto 0;
    padding: 26px 30px 24px;
    background: #fff;
    border: 1px solid #ececf1;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(31, 36, 48, .07);
}

.xfm-api-card h2 {
    font-size: 19px;
    font-weight: 600;
    color: #24262c;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e6e8ee;
}

.xfm-api-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #3a3d45;
    margin: 20px 0 8px;
}

.xfm-api-card h3:first-child {
    margin-top: 0;
}

.xfm-api-card p {
    font-size: 14px;
    color: #67656f;
    line-height: 1.9;
    margin: 0 0 10px;
}

.xfm-api-card strong {
    color: #24262c;
    font-weight: 600;
}

.xfm-api-card ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.xfm-api-card ul li {
    font-size: 14px;
    color: #67656f;
    line-height: 2;
}

.xfm-api-card code {
    padding: 2px 6px;
    background: #f4f6fa;
    border-radius: 4px;
    font-size: 13px;
    color: #d6336c;
}

.xfm-api-code {
    margin: 0 0 14px;
    padding: 12px 15px;
    background: #f7f8fb;
    border: 1px solid #e9ebf1;
    border-left: 3px solid #cfe0ff;
    border-radius: 6px;
    font-family: Consolas, Monaco, 'Courier New', monospace;
    font-size: 12.5px;
    line-height: 1.8;
    color: #3a3d45;
    overflow-x: auto;
    word-break: break-all;
}

.xfm-api-demo {
    margin: 0 0 6px;
    padding: 13px 16px;
    background: #fbfcfe;
    border: 1px solid #eef0f5;
    border-radius: 8px;
    font-size: 13.5px;
    color: #5a5d66;
    line-height: 1.9;
}

.xfm-api-demo div + div {
    margin-top: 5px;
}

.xfm-api-demo .k {
    color: #9aa0aa;
    margin-right: 4px;
}

.xfm-api-note {
    padding: 11px 15px;
    background: #fff9ec;
    border: 1px solid #ffe8bf;
    border-radius: 8px;
    font-size: 13px;
    color: #8a6d3b;
    line-height: 1.85;
}

.xfm-api-funcs {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -4px 16px;
}

.xfm-api-func {
    margin: 0 4px 8px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    font-size: 13px;
    color: #4a4d55;
    cursor: pointer;
    -webkit-transition: background .15s, border-color .15s, color .15s;
    transition: background .15s, border-color .15s, color .15s;
}

.xfm-api-func:hover,
.xfm-api-func:focus {
    border-color: #9ec2ff;
    color: #007bff;
    outline: none;
}

.xfm-api-selected {
    display: none;
    margin: 0 0 16px;
    padding: 11px 15px;
    background: #f2f8ff;
    border: 1px solid #d6e8ff;
    border-radius: 8px;
    font-size: 13px;
    color: #3a5c85;
    line-height: 1.9;
    word-break: break-all;
}

.xfm-api-selected.is-visible {
    display: block;
}

.xfm-api-selected .url {
    font-family: Consolas, Monaco, 'Courier New', monospace;
    color: #007bff;
}

.xfm-api-table {
    margin-bottom: 0;
}

.xfm-api-table thead th {
    border-top: none;
    border-bottom: 1px solid #e6e8ee;
    font-size: 13px;
    font-weight: 600;
    color: #3a3d45;
    white-space: nowrap;
}

.xfm-api-table tbody td {
    font-size: 13.5px;
    color: #67656f;
    vertical-align: middle;
}

.xfm-api-table tbody tr:hover {
    background: #fafbfd;
}

@media (max-width: 767px) {
    .xfm-api-head {
        margin-top: 22px;
    }

    .xfm-api-head h1 {
        font-size: 19px !important;
    }

    .xfm-api-head p {
        font-size: 13px !important;
    }

    .xfm-api-toc {
        margin-top: 16px;
    }

    .xfm-api-toc a {
        padding: 5px 11px;
        font-size: 12.5px !important;
    }

    .xfm-api-card {
        margin-top: 14px;
        padding: 20px 17px 18px;
    }

    .xfm-api-card h2 {
        font-size: 16px !important;
    }

    .xfm-api-card h3 {
        font-size: 14px !important;
    }

    .xfm-api-card p,
    .xfm-api-card ul li {
        font-size: 13.5px !important;
    }

    .xfm-api-code {
        padding: 10px 12px;
        font-size: 12px !important;
    }

    .xfm-api-demo {
        font-size: 13px !important;
    }

    .xfm-api-note,
    .xfm-api-selected {
        font-size: 12.5px !important;
    }

    .xfm-api-func {
        padding: 5px 11px;
        font-size: 12.5px !important;
    }

    .xfm-api-table thead th,
    .xfm-api-table tbody td {
        font-size: 12.5px !important;
    }
}
