@media (prefers-color-scheme: dark) {
    body {
        background-color: #333;
    }

    p {
        color: white;
    }

    h1 {
        color: white;
    }

    .btn {
    color: #0099CC;
    background: transparent;
    border: none; /* 移除原有的边框定义，避免冲突 */
    border-radius: 6px;
    padding: 6px 20px;
    display: inline-block;
    font-size: 16px;
    margin: 2px 2px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    outline: none; /* 移除默认轮廓，使自定义样式更明显 */
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn1 {
    background-color: white;
    color: black;
    /* 重新定义边框和阴影，以实现浮雕效果 */
    border: 2px solid #008CBA;
    border-bottom-width: 4px; /* 加重底部边框，突出浮雕感 */
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2);
}

/* 悬停状态 */
.btn1:hover {
    background-color: #008CBA;
    color: white;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 4px 4px rgba(0, 0, 0, 0.2);
    border-color: #006E95;
}

/* 激活状态（鼠标点击不放时） */
.btn1:active {
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(2px); /* 模拟按下效果 */
}

/* 聚焦状态，提升可访问性 */
.btn1:focus {
    outline: 2px solid #008CBA; /* 清晰的焦点指示 */
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2), 0 0 0 2px #008CBA; /* 边框和阴影调整 */
}

    /* 悬停样式 */
    .btn1:hover {
        background-color: #008CBA;
        color: white;
    }

    header {
        color: aliceblue;
    }
    .portrait
    {
        font-size: 12px;
    .window_css {
        display: none;
        position: absolute;
        top: 20%;
        left: 5%;
        width: 90%;
        height: 60%;
        border-radius: 24px;
        border: 1px solid rgb(0, 140, 186);
        z-index: 11;
        background-color: rgba(0, 0, 0, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

    }

    .shadow_css {
        display: none;
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgb(50, 49, 49);
        z-index: 10;
         
        filter: blur(10px);
    }
    .window_css_ {
        display: none;
        position: absolute;
        top: 35%;
        left: 10%;
        width: 80%;
        height: 30%;
        border-radius: 24px;
        border: 1px solid rgb(0, 140, 186);
        /* background-color: rgb(48, 48, 48); */
        background-color: rgba(0, 0, 0, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

        z-index: 11;
    }
    
    .shadow_css_ {
        display: none;
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgba(38, 38, 38, 0.784);
        z-index: 10;
         
        filter: blur(10px);
    }
    
}
.landscape
    {
    .window_css {
        display: none;
        position: absolute;
        top: 20%;
        left: 20%;
        width: 60%;
        height: 60%;
        border-radius: 24px;
        border: 1px solid rgb(0, 140, 186);
        /* background-color: rgb(0, 0, 0); */
        z-index: 11;
        background-color: rgba(0, 0, 0, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

    }

    .shadow_css {
        display: none;
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgb(50, 49, 49);
        z-index: 10;
         
        filter: blur(10px);
    }
    .window_css_ {
        display: none;
        position: absolute;
        top: 35%;
        left: 40%;
        width: 20%;
        height: 30%;
        border-radius: 24px;
        border: 1px solid rgb(0, 140, 186);
        /* background-color: rgb(58, 58, 58); */
        z-index: 11;
        background-color: rgba(0, 0, 0, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

    }
    
    .shadow_css_ {
        display: none;
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background-color: rgba(125, 123, 123, 0.784);
        z-index: 10;
         
        filter: blur(10px);
    }
    
}
    div
    {
        color: rgb(241, 241, 241);
    }
    div strong{
        color: rgb(241, 241, 241);
    }
}

@media (prefers-color-scheme: light) {

    
    .btn {
    color: #0099CC;
    background: transparent;
    border: none; /* 移除原有的边框定义，避免冲突 */
    border-radius: 6px;
    padding: 6px 20px;
    display: inline-block;
    font-size: 16px;
    margin: 2px 2px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    outline: none; /* 移除默认轮廓，使自定义样式更明显 */
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn1 {
    background-color: white;
    color: black;
    /* 重新定义边框和阴影，以实现浮雕效果 */
    border: 2px solid #008CBA;
    border-bottom-width: 4px; /* 加重底部边框，突出浮雕感 */
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2);
}

/* 悬停状态 */
.btn1:hover {
    background-color: #008CBA;
    color: white;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 4px 4px rgba(0, 0, 0, 0.2);
    border-color: #006E95;
}

/* 激活状态（鼠标点击不放时） */
.btn1:active {
    box-shadow: inset 0 4px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(2px); /* 模拟按下效果 */
}

/* 聚焦状态，提升可访问性 */
.btn1:focus {
    outline: 2px solid #008CBA; /* 清晰的焦点指示 */
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2), 0 0 0 2px #008CBA; /* 边框和阴影调整 */
}

    .portrait
    {
        font-size: 12px;
        .window_css {
            display: none;
            position: absolute;
            top: 20%;
            left: 5%;
            width: 90%;
            height: 60%;
            border-radius: 24px;
            border: 3px solid rgb(0, 140, 186);
            /* background-color: rgb(255, 255, 255); */
            z-index: 100;
            overflow: hidden;
            background-color: rgba(255, 255, 255, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

        }
    
        .shadow_css {
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: rgba(239, 239, 239, 0.635);
            z-index: 10;
            
            filter: blur(10px);
        }
        .window_css_ {
            display: none;
            position: absolute;
            top: 35%;
            left: 10%;
            width: 80%;
            height: 30%;
            border-radius: 24px;
            border: 1px solid rgb(0, 140, 186);
            /* background-color: rgb(255, 255, 255); */
            background-color: rgba(255, 255, 255, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

            z-index: 11;
        }
        
        .shadow_css_ {
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: rgba(125, 123, 123, 0.784);
            z-index: 10;
            
            filter: blur(10px);
        }
        
    }
    .landscape
    {
        .window_css {
            display: none;
            position: absolute;
            top: 20%;
            left: 20%;
            width: 60%;
            height: 60%;
            border-radius: 24px;
            border: 3px solid rgb(0, 140, 186);
            /* background-color: rgb(255, 255, 255); */
            z-index: 100;
            overflow: hidden;
            background-color: rgba(255, 255, 255, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

        }
    
        .shadow_css {
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: rgba(239, 239, 239, 0.635);
            z-index: 10;
            filter: blur(10px);
        }
        .window_css_ {
            display: none;
            position: absolute;
            top: 35%;
            left: 40%;
            width: 20%;
            height: 30%;
            border-radius: 24px;
            border: 1px solid rgb(0, 140, 186);
            /* background-color: rgb(255, 255, 255); */
            background-color: rgba(255, 255, 255, 0.5);
    
    /* 添加高斯模糊效果 */
    backdrop-filter: blur(10px);

            z-index: 11;
        }
        
        .shadow_css_ {
            display: none;
            position: absolute;
            top: 0%;
            left: 0%;
            width: 100%;
            height: 100%;
            background-color: rgba(125, 123, 123, 0.784);
            z-index: 10;
            
            filter: blur(10px);
        }
        
    }
}
about
{
    line-height: 3rem;
    display: none;
}
.portrait
{
    font-size: 12px;
}
