body {
    margin: 0;
}

.my_site {
    width: 150px;
    height: 130px;
    margin: 5px;
    box-sizing: border-box;
    float: left;
}

.my_site>a {
    text-decoration: none;
}

.my_site>a>p {
    margin-top: 3px;
    margin-left: 3px;
    text-align: center;
}

.my_site>a>img {
    border: #bfbfbf 1px solid;
    width: 150px;
    height: 99px;
}

.newLine {
    clear: both;
}

.input-with-select .el-input-group__prepend {
    background-color: #fff;
}

.history-box {
    position: absolute;
    left: 131px;
    z-index: 100;
    width: 628px;
    /* 使用透明边框，边框颜色由 border-image 绘制（conic-gradient 可通过 from var(--g) 旋转） */
    border: 2px solid transparent;
    border-radius: 6px;
    background: transparent;
    /* 可变起始角度，用于实现颜色顺序的离散移动 */
    --g: 0deg;
    /* conic-gradient + border-image 用于绘制环形彩色边框 */
    border-image-source: conic-gradient(from var(--g), red, orange, yellow, green, cyan, blue, violet);
    border-image-slice: 1;
    /* 7s 周期，steps(7) 每秒离散跳变一次（共7步），1s 后颜色顺序左移一位，7s 回到初始顺序 */
    animation: rotateColors 7s steps(7) infinite;
    max-height: 300px;
    /* 隐藏外层滚动条，内层 history-inner 保持滚动 */
    overflow-y: hidden;
}

/* 内层白色面板，实际内容放在这里，保证在边框之上 */
.history-box .history-inner {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 2px;
    padding: 4px;
    /* 保持内层滚动区域高度与外层一致（减去内边距后略小） */
    max-height: 292px;
    overflow-y: auto;
    opacity: 0.95;
}

/* 通过改变 --g 值来实现渐变起始角度的循环移位，造成颜色沿边框移动的视觉效果 */
@keyframes rotateColors {
    from {
        --g: 0deg;
    }

    to {
        --g: 360deg;
    }
}

.history-item {
    padding: 5px 10px;
    cursor: pointer;
}

.history-item:hover {
    background-color: #f5f7fa;
}

.clear-history {
    text-align: center;
    padding: 5px;
    color: #409eff;
    cursor: pointer;
}

.female-color {
    color: #FF69B4;
}

.male-color {
    color: #4169E1;
}