/* -------------------------------- 

 * 版权所有 (c) 2025 hubweb.cn
 * 保留所有权利
 * www.hubweb.cn

-------------------------------- */

body{
    padding: 30px 20px;
    margin: auto;
    width: 100%;
    max-width: 1000px;
    min-width: 850px;
    font-family: PingFangSC, sans-serif;
}
    
.title{
    margin: 10px 15px 15px;
    color: #212121;
    font-size: 16px;
    font-weight: bolder;
    width: 970px;
    float: left;
}
.nav{
    display: flex;
    flex-direction: row;
    height: auto;
    padding: 10px 0px;
    display: block;
    width: 100%;
}

.navRow{
    width: 100%;
    margin-right: 10px;
    height: 52px;
    flex-direction: row;    
    margin-bottom: 10px;
}

.navIn{
    transition: transform 0.2s ease; /* 添加过渡效果使动画更平滑 */
    width: 180px;
    height: 52px;
    float: left;
    border-radius: 30px;
    margin: 0 20px 20px 0;
    color: #4b4b4b;
    background-color: #f6f6f6;
    font-weight: bolder;
    font-size: 12px;
    text-align: center;
    line-height: 52px;
    align-self: center;
    display: block;
    cursor:pointer;
    box-shadow: rgba(210, 210, 210, 0.5) 1.5px 1.5px 1px -1px inset, rgba(210, 210, 210, 0.5) -1px -1px 1px 0px inset;
    position: relative;
    overflow: hidden;
}
.navIn:hover{
    background-color: #f0f0f0;
    transform: scale(0.98); /* 点击时缩小至90% */
}
.navIn:active {
    transform: scale(0.95); /* 点击时缩小至90% */
}
.pointer-effect {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    border-radius: 30px; /* 与.navIn圆角一致 */
    background: transparent;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.border-line {
    position: absolute;
    inset: 0;
    border: 1px solid var(--color-hover-line, #ADADAD);
    border-radius: 30px; /* 与.navIn圆角一致 */
    background: transparent;
    clip-path: inset(0px round 9999px);
    mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), black, transparent 100%);
}
.navIn img{
    width: 25px; 
    margin: 0px 4px -8px 0px;
    border-radius: 20px;
}

@media (prefers-color-scheme: dark) {
    body{background-color: rgb(29, 29, 29);}
    .title{
        color: rgb(172, 172, 172);
    }
    .navIn {
        background-color: rgb(35, 35, 35);
        color: rgb(172, 172, 172);
        box-shadow: rgba(100, 100, 100, 0.5) 1.5px 1.5px 1px -1px inset, rgba(100, 100, 100, 0.5) -1px -1px 1px 0px inset;
    }
    .navIn:hover{
        background-color: rgb(45, 45, 45);
    }
} 