/* latest 页 - APP 风格 */
.latest-page {
    padding: 50px 0 80px;
    min-height: 100vh;
}

.latest-page-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.latest-back {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s ease;
}

.latest-back:hover {
    color: #2563eb;
}

.latest-back .iconify {
    font-size: 24px;
}

.latest-page-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    padding: 0;
    line-height: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.latest-page-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
    padding: 0;
}

.latest-page-card {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    min-width: 0;
}

.latest-page-cover {
    position: relative;
    width: 100%;
    padding-bottom: 140%;
    border-radius: 4px;
    overflow: hidden;
    background: #f1f5f9 url('/assets/images/default_cover.png') center/cover no-repeat;
    border: 1px solid #e9edf3;
}

.latest-page-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-page-card:hover .latest-page-cover img {
    transform: scale(1.05);
}

.latest-page-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 2px 7px;
    border-radius: 2px;
    font-size: 10px;
    color: #fff;
    line-height: 1.4;
}

.latest-page-title-text {
    margin-top: 6px;
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.latest-page-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 14px;
    color: #6b7280;
    text-align: center;
}

.latest-page-empty .iconify {
    font-size: 64px;
    color: #cbd5e1;
}

.latest-page-empty p {
    font-size: 14px;
    color: #6b7280;
}
