.profile {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    width: fit-content;
}

.glass {
    background-color: rgba(255, 255, 255, 0.5);

    /* 背景模糊 */
    backdrop-filter: blur(8px);
    border-radius: 12px;
    /* 圆角 */
    border: 1px solid rgba(255, 255, 255, 0.18);
    /* 半透明白色边框 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    /* 轻微阴影增加立体感 */
    transition: all 0.3s ease;
    /* 添加平滑过渡 */
}

body {
    background-image: url("blurred-image.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.menu {
    position: fixed;
    top: 50%;
    left: 80px;
    transform: translate(-50%, -50%);
    /* 偏移自身宽高的一半 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 20px 20px;
    gap: 20px
}

/* 毛玻璃按钮 */
.menu-item {
    padding: 12px 32px;
    background: linear-gradient(to right, rgba(0, 0, 255, 0.15), rgba(255, 0, 255, 0.15));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.30);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.menu-item:active {
    transform: scale(0.96);
}

.footer {
    padding: 20px 20px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    border-radius: 50px;
}

.paper-review {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
    line-height: 10px;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
    /* 防止被压缩 */
}

/* 卡片悬停效果 */
.paper-review:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.7);
    scale: 1.01;
}

.paper {
    position: fixed;
    display: flex;
    left: 200px;
    top: 80px;
    flex-direction: column;
    padding: 20px;
    right: 100px;
    line-height: 10px;
}

.papers-title {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.name {
    background-image: linear-gradient(to right, red, orange, yellow, lime, cyan, blue, violet);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.tag {
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: rgba(127, 255, 212, 0.15);
}

.review-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    line-height: 1.6;
    max-height: 3.2em;
}

.paper-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.papers {
    position: fixed;
    /* top: 180px; */
    top: 20px;
    bottom: 100px;
    left: 150px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 20px;
    overflow-y: auto;
    /* ✅ 启用垂直滚动 */
    width: calc(100% - 400px);
    /* 适配屏幕 */
    box-sizing: border-box;
    scrollbar-width: thin;
    /* Firefox 滚动条变细 */
}

/* 美化滚动条 */
.papers::-webkit-scrollbar {
    width: 6px;
}

.papers::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.papers::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.papers::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}