/* Screenshots & Lightbox Styles */
.app-screenshots {
    margin-top: 24px;
}
.app-screenshots .swiper {
    --swiper-navigation-color: var(--color-text, #333);
    --swiper-pagination-color: var(--color-primary, #007acc);
}
.app-screenshots .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    cursor: zoom-in;
}
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1000;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-image {
    max-width: min(92vw, 1200px);
    max-height: 92vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

/* Header Overlay Styles */
.app-header--overlay .hero-image {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.app-header--overlay .hero-image .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
}
.app-header--overlay .header-content {
    position: relative;
    z-index: 1;
    padding: 128px 0 28px 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
}
.app-header--overlay .title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.app-header--overlay .info-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.app-header--overlay .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 13px;
    backdrop-filter: saturate(1.2) blur(2px);
}
.app-header--overlay .chip .fa { opacity: .9; }
.app-header--overlay .chip a { color: #fff; text-decoration: none; }

.app-header--overlay .tags-row { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.app-header--overlay .tags-row .tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

.app-header--overlay .right-column { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.app-header--overlay .stats { display: flex; gap: 12px; }
.app-header--overlay .stat { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: rgba(255,255,255,0.16); padding: 6px 10px; border-radius: 999px; font-size: 13px; }
.app-header--overlay .favorite-button { color: #fff; border-color: rgba(255,255,255,0.7); }
.app-header--overlay .favorite-button .heart-icon { margin-right: 6px; }

@media (max-width: 768px) {
    .app-header--overlay .header-content { flex-direction: column; align-items: flex-start; padding: 18px 0; }
    .app-header--overlay .right-column { align-items: flex-start; }
    .app-header--overlay .title { font-size: 22px; }
}

/* 收藏按钮后的内联提示（与 archives.js 一致） */
.favorite-msg {
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1;
    opacity: 0;
    transition: opacity .2s ease;
}
.favorite-msg.is-success { color: #2ecc71; }
.favorite-msg.is-error { color: #ff4757; }