body{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
html[data-sidebar="open"] main{
  margin-right: 130px;
}
main{
    width: 720px;
    height: 576px;
    width: auto;
    height: auto;
    /*margin-right: 130px;*/
    display: inline-block;
    text-align: left;
    overflow: hidden;
    position: relative;
    transition: margin-right .3s;
}

.content{
    width: 1000px;
    height: 600px;
}

header{
    height: 590px;
    flex-wrap: wrap;
    flex-direction: column;
    position: absolute;
    right: 30px;
    border-radius: 10px;
    align-items: center;
    top: 25px;
    padding: 10px 0;
}

.user{
    flex-direction: column;
}

.loginfo{
    align-items: center;
    margin-top: 5px;
}

nav{
    margin-bottom: 20px;
}

nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#user svg {
    width: 100px;
    margin-right: 0;
    width: 7em;
    height: 7em;
    color: var(--screen);
}

/*剧集详情页面样式*/
.base-info{
    flex-direction: row;
}

.drama_poster{
    width: 300px;
    height: 440px;
}
.credit_photo{
    width: 168px;
    height: 240px;
}

/* 分页样式 */
.pagination {
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    border: var(--borders);
    background: linear-gradient(312deg, var(--light), transparent);
}

.pagination ul{
    box-shadow: -3px 3px 8px var(--shadow);
}
/* 桌面端分页 */
.desktop-pagination {
    display: inline-flex;
    gap: 2px;
    list-style: none;
    padding: 0;
    flex-direction: row;
}
.desktop-pagination li.active a, .desktop-pagination li:hover a {
    background: var(--text);
    color: var(--bg);
    border: var(--borders);
}