/* ==========================================================================
 * 背调综合核验（婚客查）H5 端公共样式
 * 服务于 application/wap/view/beidiao/*（授权链路 / 报告 / 查询记录）
 * 与 application/wap/view/beidiaoc/*（C 端独立平台），见方案 §6.3 / §6.4
 * 配色沿用站点粉系（#ee0195），移动端单列卡片布局
 * ========================================================================== */
* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.hkc {
    margin: 0;
    padding: 0;
    background: #f5f6f9;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* 顶部标题条 */
.hkc-hdr {
    background: linear-gradient(90deg, #ff8ac0, #ee0195);
    color: #fff;
    padding: 15px 15px 20px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
}
.hkc-hdr .sub {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    opacity: .88;
}
.hkc-hdr .back {
    float: left;
    width: 30px;
    height: 24px;
    margin-right: 4px;
    color: #fff;
    text-decoration: none;
}
.hkc-hdr .back svg { display: block; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* 主体容器：PC 宽屏居中限宽，与 wap 其他页保持一致 */
.hkc-wrap { max-width: 640px; margin: 0 auto; padding: 12px 12px 32px; }
.hkc-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    padding: 15px 14px;
    margin-bottom: 12px;
}
.hkc-card .ttl { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.hkc-card .ttl .tag { float: right; font-size: 12px; font-weight: 400; color: #ee0195; }
.hkc-card .desc { font-size: 13px; color: #888; margin-bottom: 10px; }
/* 信息行 */
.hkc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
}
.hkc-row:last-child { border-bottom: none; }
.hkc-row .k { color: #888; flex: none; }
.hkc-row .v { color: #333; text-align: right; word-break: break-all; margin-left: 12px; }
/* 按钮 */
.hkc-btn {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 24px;
    padding: 12px 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: 10px;
}
.hkc-btn:first-of-type { margin-top: 0; }
.hkc-btn-main { background: linear-gradient(90deg, #ff8ac0, #ee0195); color: #fff; }
.hkc-btn-plain { background: #fff; color: #ee0195; border: 1px solid #ee0195; }
.hkc-btn-gray { background: #f2f3f5; color: #666; }
.hkc-btn[disabled] { opacity: .55; pointer-events: none; }
/* 提示条 */
.hkc-notice {
    background: #fff8e6;
    border: 1px solid #ffe7ba;
    color: #a06a00;
    font-size: 13px;
    line-height: 1.75;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.hkc-danger { background: #fff1f0; border-color: #ffccc7; color: #c9352b; }
.hkc-ok { background: #f0f9eb; border-color: #cdefc3; color: #3a8c3a; }
/* 两种方式分块（授权入口页） */
.hkc-way { border: 1px solid #f0f0f0; border-radius: 12px; padding: 13px 12px; margin-bottom: 12px; }
.hkc-way .way-t { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.hkc-way .way-d { font-size: 12px; color: #999; margin-bottom: 10px; }
/* 二维码 */
.hkc-qr { text-align: center; padding: 8px 0 4px; }
.hkc-qr img { width: 190px; height: 190px; background: #fff; border: 1px solid #eee; border-radius: 8px; }
.hkc-qr .tip { font-size: 12px; color: #999; margin-top: 6px; }
/* 协议勾选 */
.hkc-agree { display: flex; align-items: flex-start; font-size: 13px; color: #666; margin: 12px 0; line-height: 1.6; }
.hkc-agree input { flex: none; width: 16px; height: 16px; margin: 3px 6px 0 0; }
.hkc-agree a { color: #ee0195; text-decoration: none; }
/* 进度条 */
.hkc-prog { height: 8px; border-radius: 8px; background: #f0f0f2; overflow: hidden; margin: 14px 0 8px; }
.hkc-prog i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #ff8ac0, #ee0195); transition: width .4s; }
.hkc-prog-txt { font-size: 13px; color: #888; text-align: center; }
/* 结果大字（授权回调 / 失效页） */
.hkc-result { text-align: center; padding: 26px 14px 22px; }
.hkc-result .ico {
    display: inline-block;
    width: 62px;
    height: 62px;
    line-height: 62px;
    border-radius: 50%;
    font-size: 30px;
    color: #fff;
    margin-bottom: 12px;
}
.hkc-result .ico.ok { background: #52c41a; }
.hkc-result .ico.no { background: #f5222d; }
.hkc-result .msg { font-size: 17px; font-weight: 600; }
.hkc-result .sub { font-size: 13px; color: #999; margin-top: 6px; }
/* 报告分区（P5 复用） */
.hkc-sec { background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); margin-bottom: 12px; overflow: hidden; }
.hkc-sec .sec-hd { padding: 12px 14px; border-bottom: 1px solid #f5f5f5; font-size: 15px; font-weight: 600; }
.hkc-sec .sec-hd .st { float: right; font-size: 12px; font-weight: 400; }
.hkc-sec .sec-bd { padding: 6px 14px 12px; }
.st-green { color: #52c41a; }
.st-orange { color: #fa8c16; }
.st-red { color: #f5222d; }
.st-gray { color: #999; }
/* 明细表 */
.hkc-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.hkc-table th, .hkc-table td { border: 1px solid #f0f0f0; padding: 6px 8px; text-align: left; word-break: break-all; }
.hkc-table th { background: #fafafa; color: #888; font-weight: 500; }
/* 标签 / tab（查询记录） */
.hkc-tabs { display: flex; background: #fff; border-radius: 24px; padding: 4px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.hkc-tabs a { flex: 1; text-align: center; font-size: 13px; color: #666; text-decoration: none; padding: 7px 0; border-radius: 20px; white-space: nowrap; }
.hkc-tabs a.on { background: linear-gradient(90deg, #ff8ac0, #ee0195); color: #fff; }
.hkc-item { background: #fff; border-radius: 12px; padding: 12px 13px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); font-size: 14px; }
.hkc-item .no { font-weight: 600; margin-bottom: 4px; }
.hkc-item .meta { font-size: 12px; color: #999; line-height: 1.9; }
.hkc-item .acts { text-align: right; margin-top: 6px; }
.hkc-item .acts a { display: inline-block; font-size: 13px; color: #ee0195; border: 1px solid #ee0195; border-radius: 16px; padding: 4px 12px; margin-left: 8px; text-decoration: none; }
.hkc-empty { text-align: center; color: #999; font-size: 14px; padding: 40px 0; }
/* 底部免责声明 */
.hkc-foot { font-size: 12px; color: #999; line-height: 1.9; padding: 4px 6px 0; }
/* 报告明细「完整字段」折叠（默认收起，点击展开） */
.hkc-details { margin-top: 8px; }
.hkc-detail { border: 1px solid #f0f0f0; border-radius: 8px; margin-top: 6px; overflow: hidden; }
.hkc-detail-hd { position: relative; font-size: 13px; color: #666; background: #fafafa; padding: 8px 26px 8px 10px; cursor: pointer; word-break: break-all; }
.hkc-detail-hd .ar { position: absolute; right: 10px; top: 12px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid #999; }
.hkc-detail.open .hkc-detail-hd .ar { top: 6px; border-top: none; border-bottom: 6px solid #999; }
.hkc-detail-bd { display: none; font-size: 13px; }
.hkc-detail.open .hkc-detail-bd { display: block; }
.hkc-detail-bd .it { display: flex; justify-content: space-between; padding: 6px 10px; border-top: 1px solid #f5f5f5; }
.hkc-detail-bd .it span { color: #888; margin-right: 12px; }
.hkc-detail-bd .it b { font-weight: 500; color: #333; text-align: right; word-break: break-all; }
