* {
    font-family: 微软雅黑;
}

/* 浏览器默认给 body 8px 外边距；不清理会让背景图铺不满、还多出一条滚动条 */
html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    /* flow-root 建 BFC：拦住房子里第一个元素的 margin 和 body 折叠后跑到 body 外面 */
    display: flow-root;
    background-color: #EDF1F7;
    background-image:
        linear-gradient(135deg, rgba(64, 158, 255, 0.26) 0%, rgba(140, 190, 255, 0.12) 42%, rgba(103, 194, 58, 0.16) 100%),
        url("/img/image.jpg");
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center center, center center;
    background-attachment: fixed, fixed;
    color: #2B3A4A;
}

/* 玻璃卡：与登录页同一套观感 */
.glass {
    background-color: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(31, 45, 61, 0.12);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.guest-page {
    width: 1000px;
    max-width: 92%;
    margin: 0 auto;
    padding: 5vh 0 56px;
}

/* 顶栏 */
.guest-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.guest-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 1px;
}

.guest-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background-color: #409EFF;
    color: #FFFFFF;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-topbar-action {
    font-size: 13px;
    color: #2F7FD1;
    cursor: pointer;
    user-select: none;
}

/* 主视觉 */
.guest-hero {
    padding: 44px 40px 46px;
}

.guest-eyebrow {
    display: inline-block;
    font-size: 13px;
    color: #2F7FD1;
    background-color: rgba(64, 158, 255, 0.14);
    border-radius: 999px;
    padding: 5px 14px;
    letter-spacing: 1px;
}

.guest-title {
    font-size: 34px;
    line-height: 1.4;
    letter-spacing: 1px;
    margin: 20px 0 14px;
}

.guest-subtitle {
    font-size: 15px;
    line-height: 1.9;
    color: #5A6B7C;
    margin: 0;
}

/* 通用分区 */
.guest-section {
    margin-top: 20px;
    padding: 30px 40px 34px;
}

.guest-section-title {
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 6px;
}

.guest-section-deco {
    width: 34px;
    height: 3px;
    border-radius: 2px;
    background-color: #409EFF;
    margin-bottom: 24px;
}

/* 三步流程 */
.guest-flow {
    display: flex;
    align-items: flex-start;
}

.guest-step {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 16px;
}

.guest-step-index {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(64, 158, 255, 0.14);
    color: #2F7FD1;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.guest-step-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}

.guest-step-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #5A6B7C;
}

.guest-flow-line {
    flex: 0 0 28px;
    margin-top: 15px;
    border-top: 1px dashed rgba(64, 158, 255, 0.55);
}

/* 功能宫格 */
.guest-feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.guest-feature-card {
    flex: 1 1 calc(50% - 6px);
    min-width: 220px;
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(64, 158, 255, 0.18);
    box-sizing: border-box;
}

.guest-feature-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background-color: rgba(64, 158, 255, 0.14);
    color: #2F7FD1;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-feature-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

.guest-feature-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #5A6B7C;
}

/* 账号来源说明 */
.guest-notice {
    margin-top: 20px;
    padding: 20px 40px 22px;
}

.guest-notice-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.guest-notice-desc {
    font-size: 13px;
    line-height: 1.8;
    color: #5A6B7C;
}

/* 进入 */
.guest-footer {
    margin-top: 28px;
    text-align: center;
}

.guest-enter.el-button {
    width: 220px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
}

.guest-footer-link {
    margin-top: 16px;
    font-size: 13px;
    color: #5A6B7C;
}

.guest-footer-link a {
    color: #2F7FD1;
    text-decoration: none;
}

.guest-footer-tip {
    margin-top: 8px;
    font-size: 12px;
    color: #909399;
}

/* 恢复登录状态中的遮罩样式已随「不再自动跳转」一并删除：
   现在游客页打开即可见，判定结果只在底部提示行（.guest-footer-tip）里体现。 */

@media (max-width: 768px) {
    .guest-hero {
        padding: 30px 22px 32px;
    }

    .guest-title {
        font-size: 24px;
    }

    .guest-section {
        padding: 24px 22px 26px;
    }

    .guest-flow {
        flex-direction: column;
    }

    .guest-step {
        padding-right: 0;
    }

    .guest-flow-line {
        flex: 0 0 auto;
        width: 28px;
        margin: 8px 0 8px 14px;
    }

    .guest-notice {
        padding: 18px 22px 20px;
    }
}
