@charset "UTF-8";
/* 帮助中心（help.php）排版。
 * 选择器都收在 .hwc-hc 下，不影响页头页脚和其它页面。
 * 注意 global.css / help.css 里 h1 是全局带绿色下边框且 float:left 的，
 * 所以这里的 h1 必须显式改掉这几条。
 */

.hwc-hc,
.hwc-hc * { box-sizing: border-box; }

.hwc-hc {
    display: block;
    padding: 16px;
    background: #F5F7FA;
    border-radius: 10px;
    color: #1F2430;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

/* ── 面包屑 ── */
.hwc-hc-crumb {
    display: block;
    padding: 0 4px 12px;
    font-size: 12px;
    line-height: 20px;
    color: #8A8F99;
}
.hwc-hc-crumb a { color: #8A8F99; text-decoration: none; }
.hwc-hc-crumb a:hover { color: #1677FF; text-decoration: none; }
.hwc-hc-crumb i { font-style: normal; padding: 0 6px; color: #C3C8D1; }

/* ── 页头 ── */
.hwc-hc-head {
    display: block;
    background: #fff;
    border: 1px solid #E8EBF0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 14px;
}
.hwc-hc-head h1 {
    float: none;
    display: block;
    margin: 0 0 5px;
    padding: 0;
    border: 0;
    border-bottom: 0;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.35;
    color: #1F2430;
    font-family: inherit;
}
.hwc-hc-head p {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #8A8F99;
}

/* ── 区块 ── */
.hwc-hc-sec {
    display: block;
    background: #fff;
    border: 1px solid #E8EBF0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 14px;
}
.hwc-hc-sec-hd {
    display: block;
    overflow: hidden;
    margin: 0 0 16px;
}
.hwc-hc-sec-hd h2 {
    float: left;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    color: #1F2430;
    font-family: inherit;
}
.hwc-hc-sec-hd .note {
    float: right;
    font-size: 12px;
    line-height: 22px;
    color: #9AA0AB;
}

/* ── 购买帮助卡片 ──
   用 flex-wrap 而不是 float：这几张卡文章数不一样、高度不齐，
   float 换行会被上一行的高卡片挡住。 */
.hwc-hc-help { display: flex; flex-wrap: wrap; margin: -10px 0 0 -10px; }
.hwc-hc-hcard {
    display: block;
    width: 25%;
    padding: 10px 0 0 10px;
}
.hwc-hc-hcard .in {
    display: block;
    height: 100%;
    border: 1px solid #E8EBF0;
    border-radius: 6px;
    background: #FCFDFE;
    padding: 13px 15px;
}
.hwc-hc-hcard .t {
    display: block;
    overflow: hidden;
    margin-bottom: 7px;
    line-height: 20px;
}
.hwc-hc-hcard .t b { float: left; font-size: 14px; font-weight: bold; color: #1F2430; }
.hwc-hc-hcard .t em { float: right; font-style: normal; font-size: 11px; color: #9AA0AB; }
.hwc-hc-hcard ul { display: block; margin: 0; padding: 0; list-style: none; }
.hwc-hc-hcard li {
    display: block;
    list-style: none;
    font-size: 12.5px;
    line-height: 1.75;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hwc-hc-hcard li a { color: #1677FF; text-decoration: none; }
.hwc-hc-hcard li a:hover { text-decoration: underline; }

/* ── 两栏 ──
   用 flex 不用 float：左栏要 position:sticky，而 sticky 在
   overflow:hidden 的祖先里会失效，float 清除又离不开 overflow:hidden。 */
.hwc-hc-grid { display: flex; align-items: flex-start; }
.hwc-hc-nav {
    display: block;
    position: sticky;
    top: 12px;
    flex: none;
    width: 212px;
    background: #fff;
    border: 1px solid #E8EBF0;
    border-radius: 8px;
    padding: 14px 0;
}
.hwc-hc-main { display: block; flex: 1; min-width: 0; padding-left: 14px; }

.hwc-hc-nav .hd {
    display: block;
    padding: 0 16px 10px;
    font-size: 13px;
    font-weight: bold;
    color: #1F2430;
    border-bottom: 1px solid #EDEFF3;
    margin-bottom: 6px;
}
.hwc-hc-nav .box { display: block; max-height: 560px; overflow-y: auto; }
.hwc-hc-nav a {
    display: block;
    overflow: hidden;
    padding: 6px 16px;
    font-size: 13px;
    line-height: 20px;
    color: #5B6270;
    text-decoration: none;
    cursor: pointer;
}
.hwc-hc-nav a:hover { background: #F7F9FC; color: #1677FF; text-decoration: none; }
.hwc-hc-nav a .nm {
    float: left;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hwc-hc-nav a .ct { float: right; font-size: 11.5px; color: #B4B9C4; }
.hwc-hc-nav a.on {
    background: #F0F6FF;
    color: #1677FF;
    font-weight: bold;
    box-shadow: inset 3px 0 0 #1677FF;
}
.hwc-hc-nav a.on .ct { color: #6FA8FF; }

/* ── 最新更新 ── */
.hwc-hc-latest { display: flex; flex-wrap: wrap; margin: -10px 0 0 -10px; }
.hwc-hc-item {
    display: block;
    width: 50%;
    padding: 10px 0 0 10px;
}
.hwc-hc-item .in {
    display: block;
    border: 1px solid #EDEFF3;
    border-radius: 6px;
    background: #FCFDFE;
    padding: 11px 14px;
}
.hwc-hc-item .meta { display: block; overflow: hidden; margin-bottom: 4px; line-height: 17px; }
.hwc-hc-item .date {
    float: left;
    font-size: 11.5px;
    color: #9AA0AB;
    margin-right: 8px;
}
.hwc-hc-item.fresh .date { color: #E5483D; font-weight: bold; }
.hwc-hc-item .cat {
    float: left;
    max-width: 160px;
    padding: 0 6px;
    border-radius: 3px;
    background: #E8F1FF;
    color: #1677FF;
    font-size: 11px;
    line-height: 17px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hwc-hc-item .tt {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: #1F2430;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hwc-hc-item .tt:hover { color: #1677FF; text-decoration: none; }

/* ── 分类段 ── */
.hwc-hc-cat { display: block; margin-bottom: 22px; }
.hwc-hc-cat.last { margin-bottom: 0; }
.hwc-hc-cat-hd {
    display: block;
    overflow: hidden;
    padding: 5px 0;
    border-bottom: 2px solid #1677FF;
    margin-bottom: 4px;
}
.hwc-hc-cat-hd h3 {
    float: left;
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 22px;
    color: #1F2430;
    font-family: inherit;
}
.hwc-hc-cat-hd .n {
    float: left;
    margin-left: 8px;
    font-size: 12px;
    line-height: 22px;
    color: #A6ADB5;
}
.hwc-hc-cat-hd a {
    float: right;
    font-size: 12px;
    line-height: 22px;
    color: #8A929C;
    text-decoration: none;
}
.hwc-hc-cat-hd a:hover { color: #1677FF; text-decoration: none; }

.hwc-hc-cat ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.hwc-hc-cat li {
    display: block;
    list-style: none;
    width: 50%;
    padding: 4px 0;
    line-height: 20px;
    overflow: hidden;
}
.hwc-hc-cat li .w {
    display: block;
    margin-right: 12px;
    border-bottom: 1px dotted #EDEFF3;
    padding-bottom: 4px;
    overflow: hidden;
}
.hwc-hc-cat li .d {
    float: right;
    padding-left: 10px;
    font-size: 11.5px;
    color: #A6ADB5;
}
.hwc-hc-cat li a {
    display: block;
    overflow: hidden;
    font-size: 13.5px;
    color: #1F2430;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hwc-hc-cat li a:hover { color: #1677FF; text-decoration: underline; }

/* ── 筛选后的空状态 ── */
.hwc-hc-empty {
    display: none;
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    color: #9AA0AB;
}

/* ── 窄屏 ── */
@media screen and (max-width: 1023px) {
    .hwc-hc-grid { display: block; }
    .hwc-hc-nav { position: static; width: auto; }
    .hwc-hc-main { padding-left: 0; padding-top: 14px; }
    .hwc-hc-nav .box { max-height: 220px; }
    .hwc-hc-hcard { width: 50%; }
    .hwc-hc-item { width: 100%; }
    .hwc-hc-cat li { float: none; width: 100%; }
}
@media screen and (max-width: 620px) {
    .hwc-hc-hcard { width: 100%; }
    .hwc-hc-sec { padding: 16px 14px; }
}
