/* --- 全局基础设置 --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    background-color: #fff;
    color: #000;
    -webkit-font-smoothing: antialiased;
}

/* --- 苹果原生毛玻璃底栏 --- */
.mobile-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

/* --- 质感 iOS 按钮 --- */
.ios-btn-premium {
    background: linear-gradient(180deg, #007aff 0%, #0063e1 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
}

.ios-btn-premium:active {
    transform: scale(0.92);
    filter: brightness(0.9);
}

/* --- 隐藏滚动条 --- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* --- 详情页正文优化 --- */
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: #000; margin: 2rem 0 1rem; }
.article-body p { margin-bottom: 1.25rem; line-height: 1.6; color: #333; font-size: 1.05rem; text-align: justify; }
.article-body ul { background: #f2f2f7; padding: 1.5rem; border-radius: 12px; margin-bottom: 1.5rem; list-style: none; }
.article-body li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; }
.article-body li::before { content: "•"; position: absolute; left: 0; color: #007aff; font-weight: bold; }

/* --- App Icon 阴影 --- */
.app-icon-main {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 0.5px solid rgba(0,0,0,0.05);
}

/* 相关推荐列表样式 - 仿苹果商店 */
.apple-related-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .apple-related-list {
        grid-template-columns: 1fr 1fr; /* PC端双列显示 */
    }
}

.apple-related-list li {
    list-style: none;
}

.apple-related-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    padding: 2px;
    transition: opacity 0.2s;
}

.apple-related-list li a:active {
    opacity: 0.6;
}

/* 伪造一个 App 图标背景 */
.apple-related-list li a::before {
    content: "\f3ff"; /* FontAwesome 的 App Store 图标 */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #f5f5f7 0%, #e5e5ea 100%);
    color: #a1a1a6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    flex-shrink: 0;
    border: 0.5px solid rgba(0,0,0,0.05);
}

.apple-related-list li a span {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 给链接增加一个类似“获取”的右侧按钮感 */
.apple-related-list li a::after {
    content: "获取";
    margin-left: auto;
    background: #f0f0f7;
    color: #007aff;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
}