/* 鑫鑫客户端使用教程 · 共享样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, PingFang SC, Hiragino Sans GB, "Microsoft YaHei", sans-serif;
    background: #f1f5f9; color: #1e293b; padding: 14px 12px 40px;
    -webkit-text-size-adjust: 100%;
}
.gwrap { max-width: 860px; margin: 0 auto; }

/* 顶部 */
.ghead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ghead-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ghead img { width: 38px; height: 38px; border-radius: 10px; }
.gtitle { font-size: 19px; font-weight: 800; color: #0f172a; }
.gsub { font-size: 12px; color: #64748b; margin-top: 2px; }
.gback {
    background: #fff; border: 1px solid #cbd5e1; color: #334155; text-decoration: none;
    font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 8px; white-space: nowrap;
}

/* 平台切换 */
.gtabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.gtab {
    background: #fff; border: 1px solid #e2e8f0; color: #475569; text-decoration: none;
    font-size: 13px; font-weight: 700; padding: 7px 13px; border-radius: 20px;
}
.gtab.on { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }

/* 快速上手 */
.quick { background: linear-gradient(135deg, #1e293b, #0f172a); color: #fff; border-radius: 12px; padding: 16px 18px; margin-bottom: 16px; }
.quick h3 { font-size: 15px; margin-bottom: 8px; }
.quick ol { margin-left: 18px; font-size: 13.5px; line-height: 2; }
.quick b { color: #7dd3fc; }

/* 步骤卡 */
.step { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.03); }
.step-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.step-no {
    flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #1d4ed8; color: #fff;
    font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.step-title { font-size: 16px; font-weight: 800; color: #0f172a; }
.step-body { font-size: 14px; line-height: 1.85; color: #334155; }
.step-body ol, .step-body ul { margin-left: 20px; }
.step-body li { margin-bottom: 4px; }
.step-body code, .k {
    background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 5px;
    padding: 1px 6px; font-size: 13px; font-weight: 700; color: #0f172a; font-family: inherit;
}
.step-body .em { color: #b45309; font-weight: 700; }

/* 结果提示 */
.ok, .bad, .tip {
    border-radius: 8px; padding: 10px 12px; font-size: 13.5px; line-height: 1.75; margin-top: 10px;
}
.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.bad { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.tip { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.ok b, .bad b, .tip b { font-weight: 800; }

/* 界面示意图 */
.mock { margin: 12px 0; border: 1px dashed #cbd5e1; border-radius: 10px; padding: 12px 10px 8px; background: #fbfdff; position: relative; }
.mock-tag {
    position: absolute; top: -9px; left: 12px; background: #e2e8f0; color: #475569;
    font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: .5px;
}
.mock-cap { font-size: 11.5px; color: #64748b; text-align: center; margin-top: 8px; }
/* 手机框 */
.ph { max-width: 300px; margin: 0 auto; border: 2px solid #334155; border-radius: 15px; overflow: hidden; background: #fff; }
.ph-bar { background: #334155; color: #fff; font-size: 12px; padding: 7px 9px; display: flex; justify-content: space-between; align-items: center; }
.ph-body { padding: 8px; }
.ph-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 7px 9px; font-size: 12px; color: #334155; margin-bottom: 6px; background: #f8fafc; }
.ph-row.on { background: #dbeafe; border-color: #93c5fd; font-weight: 700; }
.ph-btn { background: #1d4ed8; color: #fff; border-radius: 18px; text-align: center; font-size: 12px; font-weight: 800; padding: 8px; margin-top: 4px; }
/* 桌面窗口框 */
.win { border: 2px solid #334155; border-radius: 9px; overflow: hidden; background: #fff; }
.win-bar { background: #334155; color: #fff; font-size: 12px; padding: 6px 10px; display: flex; gap: 14px; align-items: center; }
.win-bar span.dim { opacity: .55; }
.win-body { padding: 9px; }
.win-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-bottom: 1px solid #eef2f7; padding: 6px 8px; font-size: 12px; color: #334155; }
.win-row.on { background: #dbeafe; font-weight: 700; }
.win-menu { display: flex; gap: 12px; font-size: 12px; color: #334155; border-bottom: 1px solid #e2e8f0; padding: 6px 9px; background: #f8fafc; }
/* 编号红点 */
.pin {
    display: inline-flex; align-items: center; justify-content: center;
    width: 17px; height: 17px; border-radius: 50%; background: #dc2626; color: #fff;
    font-size: 11px; font-weight: 800; margin-left: 5px; flex: 0 0 auto;
}

/* FAQ */
details { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; margin-bottom: 9px; }
details summary { font-size: 14px; font-weight: 700; color: #0f172a; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "❓ "; }
details[open] summary { margin-bottom: 8px; }
details p { font-size: 13.5px; line-height: 1.85; color: #334155; }

/* 注意事项 */
.warn-card { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 16px; margin: 16px 0; }
.warn-card h3 { font-size: 15px; color: #9a3412; margin-bottom: 10px; }
.warn-card ul { margin-left: 20px; font-size: 13.5px; line-height: 1.9; color: #7c2d12; }
.sect-title { font-size: 16px; font-weight: 800; color: #0f172a; margin: 20px 0 10px; }
.footer { text-align: center; padding: 26px 0 8px; font-size: 13px; color: #64748b; font-weight: 600; }

/* 总入口卡片 */
.gcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .gcards { grid-template-columns: 1fr; } }
.gcard { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; text-decoration: none; color: inherit; box-shadow: 0 3px 10px rgba(0,0,0,.03); display: block; position: relative; }
.gcard.reco { border-color: #93c5fd; box-shadow: 0 4px 14px rgba(59,130,246,.15); }
.gcard .ico { font-size: 26px; }
.gcard .nm { font-size: 16px; font-weight: 800; margin: 6px 0 4px; color: #0f172a; }
.gcard .ds { font-size: 12.5px; color: #64748b; line-height: 1.6; }
.gcard .rd { margin-top: 10px; font-size: 13px; font-weight: 800; color: #1d4ed8; }
.rbadge { position: absolute; top: 12px; right: 12px; background: #1d4ed8; color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 10px; }
