/* 站点基础样式（自定义部分：重置、页头、下载页容器兜底） */

* {
    box-sizing: border-box;
}

html {
    margin: 0 auto;
    min-width: 1200px;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: #1f2126;
    background: #f7f8fa;
    font-family: PingFangSC-Regular, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    border: 0;
    vertical-align: middle;
}

h1, h2, h3, h4, p, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ============ 页头：左侧向日葵 logo + 右侧立即下载 ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 88px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.site-header .sh-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header .logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-header .logo {
    display: block;
    height: 32px;
    width: auto;
}

/* 自有品牌 logo：置于原 logo 下方，留出间距 */
.site-header .brand-logo {
    display: block;
    height: 24px;
    width: auto;
    margin-top: 8px;
}

.site-header .btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 26px;
    border-radius: 8px;
    background: #0175ff;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}

.site-header .btn-download:hover {
    background: #0065dd;
}

/* ============ 页面主体容器（源站由全局样式提供，这里补齐必要部分） ============ */
.wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
    min-height: calc(100vh - 88px);
    margin-top: 88px;
    position: relative;
}

/* 去掉页脚后，底部留白 */
.dnld_center {
    padding-bottom: 60px;
}

/* ============ Windows 卡片“其他版本”下拉（替代原 element-ui popover） ============ */
.foot_content {
    position: relative;
}

.foot_content .toggle_arrow {
    width: 12px;
    height: 12px;
}

.other_versions_popper {
    position: absolute;
    left: 50%;
    top: 100%;
    z-index: 10;
    width: 260px;
    transform: translateX(-50%);
}

/* 提高优先级，覆盖源站样式中的 display:flex，实现“点击展开/收起” */
.dnld_card_wrapper .other_versions_popper.el-popover {
    display: none;
}

.dnld_card_wrapper .other_versions_popper.el-popover.show {
    display: flex;
}

/* 卡片悬浮时隐藏 AI 角标（与原站一致） */
.dnld_card_wrapper:hover .ai_tag {
    display: none;
}

/* 版本号 / “其他版本” 切换：默认显示版本号，悬浮或已展开时显示“其他版本” */
.card_version {
    height: 21px;
    text-align: center;
}

.dnld_card_wrapper .foot_content {
    display: none !important;
}

.dnld_card_wrapper:hover .foot_content,
.dnld_card_wrapper.versions-open .foot_content {
    display: flex !important;
}

.dnld_card_wrapper:hover .card_version,
.dnld_card_wrapper.versions-open .card_version {
    display: none;
}

/* ============ 底部账户资质信息 ============ */
.site-license {
    padding: 14px 24px;
    text-align: center;
    border-top: 1px solid rgba(13, 13, 13, .06);
}

.site-license p {
    font-size: 10px;
    line-height: 16px;
    color: rgba(13, 13, 13, .46);
    word-break: break-all;
}
