
/* ⚠ 样式写在这里而不是公共 CSS:这块右栏目前只有装机圈一个页面用,
 *   抽到公共文件里反而不容易看出是谁的。 */
.q-rail-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.q-rail-hd {
    font-size: 15px;
    font-weight: 700;
    color: #1e2a3a;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eef1f6;
}
.q-rail-sec + .q-rail-sec {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #e8ecf3;
}
.q-rail-t {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.q-rail-t a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
}
.q-rail-t a:hover { color: #2563eb; }
.q-rail-item {
    display: block;
    padding: 7px 0;
    text-decoration: none;
    border-bottom: 1px solid #f5f7fa;
}
.q-rail-item:last-child { border-bottom: 0; }
.q-rail-item:hover .q-rail-name { color: #2563eb; }
.q-rail-name {
    display: block;
    font-size: 13px;
    color: #1e2a3a;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.q-rail-sub {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}
.q-rail-gap {
    color: #f59e0b;
    font-style: normal;
    margin-left: 6px;
}
.q-rail-down {
    color: #dc2626;
    font-style: normal;
    margin-left: 6px;
    font-weight: 600;
}
.q-rail-when {
    color: #cbd5e1;
    font-style: normal;
    margin-left: 6px;
}
.q-rail-tip {
    font-size: 12px;
    color: #94a3b8;
    padding: 6px 0;
    line-height: 1.6;
}
.q-rail-cta {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 9px 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.q-rail-cta:hover { background: #1d4ed8; }
.q-rail-cta-2 {
    background: #f1f5f9;
    color: #475569 !important;
    margin-top: 8px;
}
.q-rail-cta-2:hover { background: #e2e8f0; }
