/* 头部信息 */
.app-detail-header {
    padding: 24px 16px;
    background: #fff;
}
.detail-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.app-logo-box {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-l);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.app-logo-box img { width: 100%; height: 100%; object-fit: cover; }

.app-txt h1 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.app-txt p { font-size: 13px; color: #888; margin-bottom: 0; margin: 5px 0 0;}
.app-txt .tags span {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    margin: 0 2px;
}
.rating { color: #f1c40f; font-weight: bold; margin-top: 4px; }

/* 下载按钮 */
.btn-download {
    display: block;
    width: 90%;
    margin: 20px auto 0;
    background: var(--primary);
    color: #fff;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 16px -4px rgba(0, 184, 148, 0.4);
    transition: all 0.2s;
}
.btn-download:active { transform: scale(0.96); }

/* 截图部分 */
.screenshot-box { padding: 16px; margin-top: 16px; }
.shot-swiper { padding-bottom: 10px; }
.shot-swiper .swiper-slide {
    width: auto; /* 固定宽度，方便横滑 */
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 12px;
}
.screenshot-img, .shot-swiper img, video {
    width: auto;
    height: auto;
    object-fit: fill;
    max-height: 460px;
    max-width: 450px;
}

/* 简介部分 */
.app-intro { padding: 16px; margin-top: 16px; }
.content { font-size: 14px; line-height: 1.6; color: var(--text-sub); }

/* 猜你喜欢修复 */
.recommend-box {
    margin-bottom: 30px;
}
.recommend-box .app-item {
    background: #fff; /* 确保卡片有背景 */
    padding: 12px 6px;
}
.recommend-box h4 {
    font-size: 12px; /* 字体稍微改小以适应密集布局 */
    margin-bottom: 6px;
}
.recommend-box img {
    width: 50px; /* 图标缩小一点 */
    height: 50px;
}

/* PC 适配 */
@media (min-width: 769px) {
    .detail-flex {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    .app-logo-box { margin: 0 24px 0 0; width: 120px; height: 120px; }
    .app-txt { flex: 1; margin-top: 10px; }
    .btn-download { width: 200px; margin: 0; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); }
    .app-detail-header { position: relative; padding: 30px 40px; }
}