body {
    margin: 0;
    user-select: none;
    background-color: #EFEFEF;
    padding-bottom: 10px;
    padding-top: 10px;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}

p {
    margin: 0;
}

.box {
    padding: 10px;
    border-radius: 16px;
    box-shadow: 3px 3px 5px rgb(172 172 172 / 48%), -3px -2px 3px 0 rgb(255 255 255);
    background: #EFEFEF;
    border: 5px solid #EFEFEF;
    position: relative;
    text-align: center;
}

.box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    box-shadow: inset 2px 2px 6px rgb(0 0 0 / 15%), inset -2px -2px 6px rgb(0 0 0 / 15%);
    pointer-events: none;
}

@font-face {
    font-family: "HYJiFengTiU";
    src: url("HYJiFengTiU.woff2");
}

@font-face {
    font-family: "HYALiTi-45U";
    src: url("HYALiTi-45U.woff2");
}

#root{
    padding: 10px;
    border-radius: 16px;
    box-shadow: 3px 3px 5px rgb(172 172 172 / 48%), -3px -2px 3px 0 rgb(255 255 255);
    background: #EFEFEF;
    text-align: center;
    width: 350px;
    position: relative;
    right: 0;
    left: 0;
    margin: auto;
    border: 10px solid #EFEFEF;
    border-right-width: 8px;
    border-left-width: 8px;
}

@media (min-height: 670px) {
    #root {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto; /* 同时实现上下左右居中 */
        height: fit-content; /* 避免元素高度占满全屏 */
    }
}

#root::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    box-shadow: inset 2px 2px 6px rgb(0 0 0 / 15%), inset -2px -2px 6px rgb(0 0 0 / 15%);
    pointer-events: none;
}

#header {
    width: 100%;
    height: 408px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    background-color: rgb(239 239 239 / 70%);
}

#header_home{
    object-fit: cover;
    width: 100%;
    height: 100px;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

#header_home_blur{
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: 10px;
    right: 0;
    left: 0;
    height: 210px;
    width: 350px;
    margin: auto;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}

#header_home_info{
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    width: 300px;
    text-align: center;
    top: 45px;
}

#header_home_info_avatar {
    transition: transform 0.6s ease-in-out;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 0 3px 0 rgba(0, 170, 255, 0.8), 0 0 20px rgba(0, 170, 255, 0.4);
}

#header_home_info_avatar > img{
    width: 100%;
    height: 100%;
}

#header_home_info_avatar:hover {
    transform: rotate(360deg); /* 悬停时旋转360度 */
}

#header_home_info_name {
    font-family: 楷体, serif;
    font-weight: bold; /* 设置加粗 */
    font-size: 32px;   /* 设置字体大小为22px */
    margin-top: 10px;
}

#header_home_info_message {
    font-family: 楷体, serif;
    font-size: 16px;
    color: #989898;
    margin-top: 5px;
    border-bottom: 1px solid #989898;
    padding-bottom: 6px;
}

#header_home_info_time{
    font-family: 'HYJiFengTiU', serif;
    font-size: 50px;
    margin-top: 0;
}

#header_home_info_date{
    font-family: 'HYJiFengTiU', serif;
}

#header_link {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    width: 300px;
    top: 345px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#header_link > div > img{
    width: 26px;
    height: 26px;
    border-radius: 50px;
}

#header_link_github {
    gap: 10px;
    width: 125px;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f0f0f0;
    box-shadow: 4px 4px 5px rgb(194 194 194 / 80%), -5px -5px 8px 0 rgb(255 255 255 / 93%);
    transition: all 0.2s ease;
}

#header_link_github:active {
    transform: scale(0.95);
    box-shadow: inset 3px 3px 5px rgb(194 194 194 / 80%), inset -4px -4px 7px 0 rgb(255 255 255 / 93%);
}

#header_tody{
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: 405px;
    height: 5px;
    width: 50px;
    background-color: #ee7959;
    border-radius: 10px;
}

#header_today_finish{
    height: 100%;
    overflow: hidden;
    width: 13%;
    background-color: #59baee;
    border-radius: 10px;
}

#main{
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#main > div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#main_sentence_out {
    width: 100%;
    flex: 1;
}

#main_sentence_in {
    text-align: left;
    color: #707070;
    font-family: 'HYALiTi-45U', serif;
    font-size: 18px;
    font-weight: bold;
}

#main_weather{
    width: 80px;
    height: 95px;
}

#main_weather > iframe{
    width: 100%;
    height: 100%;
}

#main_live{
    height: 95px;
    width: 175px;
    color: #707070;
}

#main_live_text{
    margin-top: 13px;
    font-size: 30px;
    font-weight: bold;
}
