* {
    margin:0; padding:0; box-sizing:border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body {
    background: #f6f7f9;
    padding-bottom: 60px;
    padding-top: 60px;
}

/* 顶部导航 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #4a6cf7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    color: #fff;
    z-index: 999;
}
.menu-btn {
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo {
    font-size: 18px;
    font-weight: bold;
}
.nav-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}
.nav-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}
.login-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 左侧抽屉 */
.drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.drawer.open {
    left: 0;
}
.drawer-close {
    padding: 20px;
    font-size: 22px;
    cursor: pointer;
    text-align: right;
    color: #333;
}
.drawer-menu {
    padding: 0 20px;
}
.drawer-item {
    padding: 16px;
    border-radius: 12px;
    background: #f5f7fa;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
    text-align: center;
}
.drawer-item:hover {
    background: #e4eaff;
    color: #4a6cf7;
}
.drawer-mask {
    position: fixed;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    display: none;
}

/* 悬浮登录 */
.login-float {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6); z-index:9999;
    display: none; align-items: center; justify-content: center;
}
.login-box {
    background:#fff; padding:30px; border-radius:16px; width:90%; max-width:380px;
}
.login-box input {
    width:100%; padding:12px; margin:10px 0; border:1px solid #ddd; border-radius:8px;
}
.login-box button {
    width:100%; padding:12px; background:#4a6cf7; color:#fff; border:none; border-radius:8px; font-weight:bold;
}

/* 海报 16:9 */
.poster-container {
    width: 100%;
    height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}
.poster-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 素材 16:9 */
.material-wrap {
    padding: 20px;
}
.material-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 16px;
    margin-top: 20px;
}
.material-item {
    aspect-ratio: 16/9;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}
.material-item img {
    width:100%; height:100%; object-fit:cover;
}
.material-item .down {
    position: absolute; bottom:10px; right:10px;
    background:#4a6cf7; color:#fff; padding:6px 12px;
    border-radius:20px; font-size:12px; cursor:pointer;
    z-index: 2;
}
.material-item .title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    z-index: 2;
}
