*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#090b12;color:#fff;font-family:Arial,"Microsoft YaHei",sans-serif}
a{color:inherit;text-decoration:none}
body{padding-top:80px}

.mm-header{
    position:fixed;
    top:0;left:0;right:0;
    height:80px;
    background:#080a10;
    border-bottom:1px solid #20232d;
    z-index:1000;
    display:flex;
    align-items:center;
    padding:0 42px;
}
.mm-brand{
    font-size:24px;
    font-weight:800;
    color:#ff4568;
    white-space:nowrap;
}
.mm-search{
    margin-left:auto;
    width:400px;
    display:flex;
    background:#171a24;
    border-radius:28px;
    overflow:hidden;
}
.mm-search input{
    flex:1;
    border:0;
    outline:0;
    background:transparent;
    color:#fff;
    padding:14px 20px;
    font-size:15px;
}
.mm-search button{
    border:0;
    background:#ff4568;
    color:#fff;
    padding:0 24px;
    cursor:pointer;
}

.mm-sidebar{
    position:fixed;
    top:80px;
    bottom:0;
    left:0;
    width:210px;
    background:#0e1119;
    border-right:1px solid #242833;
    overflow-y:auto;
    padding:26px 18px;
}
.mm-sidebar h2{
    margin:0 0 22px;
    font-size:20px;
}
.mm-sidebar a{
    display:block;
    padding:10px 8px;
    color:#cbd0df;
    font-size:16px;
    border-radius:7px;
}
.mm-sidebar a:hover{
    background:#1a1e29;
    color:#ff5574;
}

.mm-main{
    margin-left:210px;
    padding:30px 34px 60px;
}
.mm-section{
    margin-bottom:42px;
}
.mm-section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}
.mm-section-head h2{
    margin:0;
    font-size:24px;
}
.mm-more{
    color:#aeb5c7;
}

.mm-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:24px 16px;
}
.mm-card{
    min-width:0;
}
.mm-poster{
    position:relative;
    width:100%;
    aspect-ratio:2/3;
    border-radius:8px;
    overflow:hidden;
    background:#151821;
}
.mm-poster img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .25s ease;
}
.mm-card:hover .mm-poster img{
    transform:scale(1.04);
}
.mm-hd{
    position:absolute;
    right:7px;
    top:7px;
    background:rgba(15,18,25,.88);
    border:1px solid #59606f;
    border-radius:4px;
    padding:3px 5px;
    font-size:12px;
}
.mm-title{
    margin-top:10px;
    font-weight:700;
    font-size:16px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.mm-meta{
    color:#8e96aa;
    margin-top:6px;
    font-size:14px;
}

@media(max-width:1350px){
    .mm-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:1050px){
    .mm-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:760px){
    body{padding-top:64px}
    .mm-header{height:64px;padding:0 14px}
    .mm-brand{font-size:19px}
    .mm-search{width:46%}
    .mm-sidebar{display:none}
    .mm-main{margin-left:0;padding:20px 14px 40px}
    .mm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}
    .mm-section-head h2{font-size:20px}
}
