/* ===============================
   星期标题（周一～周日）
================================ */
.anime-day-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin: 28px 0 12px 0;
    padding-left: 6px;
    border-left: 6px solid var(--md-primary-fg-color);
}

/* ===============================
   卡片瀑布流布局（固定大小）
================================ */
.anime-cards {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
    position: relative;
    z-index: auto;
    contain: layout paint;
}

/* ===============================
   外层链接
================================ */
.anime-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===============================
   卡片主体（固定比例）
================================ */
.anime-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.2; /* ★★★ 关键：所有卡片大小统一 ★★★ */
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.20);
    transition: transform .22s ease;
}

/* 悬浮效果 */
.anime-card:hover {
    transform: translateY(-4px);
}

/* ===============================
   封面图裁切（保持统一比例，不拉伸）
================================ */
.anime-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ★★★ 关键：自动裁切保持统一大小 */
    display: block;
    transition: transform .25s ease, filter .25s ease;
}

.anime-card:hover img {
    transform: scale(1.05);
    filter: brightness(80%);
}

/* ===============================
   左上角星期/时间标签
================================ */
.anime-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 120, 40, .92);
    padding: 4px 9px;
    border-radius: 6px;
    font-weight: 700;
    font-size: .88rem;
    color: white;
    z-index: 10;
}

/* ===============================
   底部标题（覆盖在图上）
================================ */
.anime-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    font-weight: bold;
    font-size: 1.05rem;
    line-height: 1.35rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    z-index: 10;
}
