body {
    /* display: flex; */
    width: 100vw;
    margin: 0;
    opacity: 0.9;
    /* 添加背景图片 */
    /* background-image: url('/datas/background1.png'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* color: white; */
}

.except-nav {
    position: absolute;
    top: 0;
    left: 220px;
    /* 用 left 而不是 margin-left */
    width: calc(100vw - 220px);
    min-height: 100vh;
    /* 允许内容撑高，用 min-height 而不是 height */

    /* 关键：让每一行都各自居中 */
    display: flex;
    flex-direction: column;
    /* 主轴改成纵向 → 一行一个块 */
    align-items: center;
    /* 交叉轴（横向）居中 → 每块水平居中 */
    row-gap: 20px;
    /* 行间距 */
    padding: 20px 0;
    /* 上下留点呼吸空间 */
}

.expect-nav>* {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /* 自动换行，适配移动端 */
    justify-content: center;
    margin-bottom: 20px;
}

/* 导航栏样式 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background-color: #ffffff;
    margin-right: 20px;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    width: 200px;
    background-color: #ffffff;
    position: fixed;
    height: 100%;
    overflow: auto;
    border-right-width: 1px;
    border-right-color: #dddddd;
    border-right-style: solid;
}

.nav li {
    margin-top: 5px;
    padding-top: 5px;
}

.nav li a {
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    text-align: center;
}

.nav li a.active {
    /* 当前的 */
    color: #07d0f8;
}

.nav li a:hover {
    /* 被选中的 */
    background-color: #e5e5e5;
}

a i {
    font: size 18px;
}

.textsss {
    margin-left: 5px;
}

/* OI 名片核心样式 */
.oi-card {
    width: 100%;
    max-width: 750px;
    /* 限制最大宽度，避免桌面端过宽 */
    background-color: #ffffff;
    border-radius: 16px;
    /* 圆角效果，更美观 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* 阴影，提升立体感 */
    padding: 30px;
    text-align: center;
    border-top: 4px solid #00a1fe;
    /* 顶部呼应导航栏风格 */
}

/* 头像样式 */
.oi-card .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* 圆形头像 */
    object-fit: cover;
    /* 保持图片比例，不拉伸 */
    border: 4px solid #f0f0f0;
    margin-bottom: 20px;
}

/* 昵称样式 */
.oi-card .nickname {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
}

/* OI 身份标签 */
.oi-card .identity {
    font-size: 16px;
    color: #666666;
    margin-bottom: 20px;
}

/* 竞赛荣誉标签组 */
.oi-card .honor-tags {
    display: flex;
    flex-wrap: wrap;
    /* 自动换行，适配移动端 */
    justify-content: center;
    gap: 8px;
    /* 标签之间的间距 */
    margin-bottom: 25px;
}

/* 单个荣誉标签 */
.oi-card .honor-tag {
    background-color: #fdf2f2;
    color: #ed0000;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* 技术栈区域 */
.oi-card .tech-stack {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: left;
}

/* 技术栈标题 */
.oi-card .tech-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* 标题图标 */
.oi-card .tech-title i {
    margin-right: 8px;
    color: #ed0000;
}

/* 技术栈内容 */
.oi-card .tech-content {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

.oi-card .account {
    color: #666;
    font-size: 14px;
}

.oi-card .social-links {
    margin-top: 25px;
}

.oi-card .accounts {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

/* 表格元素 */
table {
    /* position: relative; */
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

.block {
    background-color: white;
    padding: 25px;
    padding-top: 5px;
    border-radius: 10px;
    text-align: center;
    width: 700px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 2px 2px 4px 4px rgba(0, 213, 255, 0.6);
}

.title {
    text-align: center;
    margin: 10px;
}

.list {
    border-radius: 20px;
    background-color: white;
    text-align: center;
    width: 60%;
}

.list li {
    margin: 40px;
    font-size: 18px;
    list-style-type: none;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px 4px rgba(0, 213, 255, 0.6);
    text-align: left;
}

.markdownViewer {
    /* 在父级（flex 容器）上写 */
    position: absolute;
    left: 0;
    /* 贴左边缘 */
    width: 100%;
}

.article-tag {
    padding: 4px;
    border-width: 6px;
    border-style: solid;
    background-color: #00a1fe20;
    border-color: #00a1fe10;
    border-radius: 8px;
    margin: 4px;
}
