/* ==================== 网站使用说明引导弹窗 ==================== */
.site-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 40, 70, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.site-guide-modal.show {
    display: flex;
    animation: guideFadeIn .25s ease;
}
@keyframes guideFadeIn { from { opacity: 0; } to { opacity: 1; } }

.guide-modal-content {
    position: relative;
    width: min(880px, 100%);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #f7faff 0%, #ffffff 50%, #eef3fb 100%);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(20, 50, 90, .25);
    overflow: hidden;
    animation: guideSlideUp .3s ease;
}
@keyframes guideSlideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.guide-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 18px;
    border-bottom: 1px solid #dce6f2;
    background: rgba(255, 255, 255, .6);
}
.guide-kicker {
    margin: 0 0 4px;
    color: #5f81aa;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
}
.guide-modal-head h2 {
    margin: 0 0 6px;
    color: #1a4d90;
    font-size: 22px;
}
.guide-sub {
    margin: 0;
    color: #6d839b;
    font-size: 13px;
    line-height: 1.6;
}
.guide-close {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(26, 77, 144, .08);
    color: #1a4d90;
    font-size: 18px;
    cursor: pointer;
    transition: background .15s;
}
.guide-close:hover { background: rgba(26, 77, 144, .18); }

.guide-modal-body {
    padding: 18px 28px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    align-content: start;
}
/* 整体功能介绍区块（横跨整行，位于功能卡片之前） */
.guide-intro {
    grid-column: 1 / -1;
    padding: 16px 18px;
    background: linear-gradient(135deg, #eaf2ff 0%, #f7faff 60%, #eef4fc 100%);
    border: 1px solid #d4e7fb;
    border-left: 4px solid #2a6db0;
    border-radius: 12px;
    color: #3a4a5e;
    font-size: 13.5px;
    line-height: 1.85;
}
.guide-intro p {
    margin: 0 0 10px;
    text-indent: 2em;
}
.guide-intro p:last-child { margin-bottom: 0; }
.guide-intro strong {
    color: #1a4d90;
    font-weight: 700;
}
.guide-feature {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e1eaf5;
    border-radius: 12px;
    transition: box-shadow .15s, transform .15s;
}
.guide-feature:hover {
    box-shadow: 0 6px 18px rgba(26, 77, 144, .1);
    transform: translateY(-2px);
}
.guide-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #e3f0ff, #d4e7fb);
    font-size: 20px;
}
.guide-feature-body { flex: 1; min-width: 0; }
.guide-feature-body h3 {
    margin: 0 0 4px;
    color: #1a4d90;
    font-size: 15px;
}
.guide-feature-body p {
    margin: 0 0 8px;
    color: #5a6c80;
    font-size: 12.5px;
    line-height: 1.6;
}
.guide-feature-link {
    color: #2a6db0;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.guide-feature-link:hover { text-decoration: underline; }

/* 联系方式详情区块（横跨整行，位于功能卡片之后） */
.guide-contact {
    grid-column: 1 / -1;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e1eaf5;
    border-radius: 12px;
}
.guide-contact-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e1eaf5;
}
.guide-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #e3f0ff, #d4e7fb);
    font-size: 20px;
}
.guide-contact-head h3 {
    margin: 0 0 2px;
    color: #1a4d90;
    font-size: 15px;
}
.guide-contact-head p {
    margin: 0;
    color: #6d839b;
    font-size: 12px;
    line-height: 1.5;
}
.guide-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px 16px;
}
.guide-contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    min-width: 0;
}
.guide-contact-label {
    flex-shrink: 0;
    min-width: 64px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(26, 77, 144, .08);
    color: #1a4d90;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
}
.guide-contact-list a,
.guide-contact-value {
    color: #2a6db0;
    text-decoration: none;
    word-break: break-all;
    min-width: 0;
}
.guide-contact-list a:hover { text-decoration: underline; }
.guide-contact-value { color: #5a6c80; }

.guide-modal-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 28px;
    border-top: 1px solid #dce6f2;
    background: rgba(255, 255, 255, .6);
    flex-wrap: wrap;
}
.guide-remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6d839b;
    font-size: 13px;
    cursor: pointer;
}
.guide-remember input { margin: 0; }
.guide-start-btn {
    border: 0;
    padding: 10px 26px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a4d90, #2a6db0);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.guide-start-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(26, 77, 144, .3);
}

/* 浮动"使用说明"按钮 */
.guide-fab {
    position: fixed;
    right: 22px;
    bottom: 78px;
    z-index: 900;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4d90, #2a6db0);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 77, 144, .35);
    transition: transform .15s, box-shadow .15s;
}
.guide-fab:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 77, 144, .45);
}

@media (max-width: 768px) {
    .guide-modal-content { max-height: 92vh; border-radius: 14px; }
    .guide-modal-head { padding: 18px 18px 14px; }
    .guide-modal-head h2 { font-size: 19px; }
    .guide-modal-body { padding: 14px 18px; grid-template-columns: 1fr; }
    .guide-modal-foot { padding: 14px 18px; }
    .guide-fab { right: 16px; bottom: 70px; }
}
