/* ============================================
   pitchfeed saishi.css
   1. 文章详情 Single Post
   ============================================ */
.single-page { background: var(--pf-soft); }
.single-post { background: #fff; border-radius: 18px; box-shadow: 0 8px 26px rgba(15, 23, 42, .07); overflow: hidden; }
.single-post .post-hero { position: relative; }
.single-post .post-hero img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.single-post h1 { font-weight: 800; line-height: 1.4; letter-spacing: -.01em; }
.single-post .post-meta {
    display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; color: var(--pf-text-2);
    font-size: .88rem; padding-bottom: 1rem; border-bottom: 1px solid var(--pf-line);
}
.single-post .post-meta i { color: var(--pf-primary); margin-right: .3rem; }

/* Post content typography */
.post-content { font-size: 1.02rem; line-height: 2; color: #243043; }
.post-content h2 { font-size: 1.4rem; font-weight: 800; margin: 2rem 0 1rem; padding-left: .85rem; border-left: 4px solid var(--pf-primary); }
.post-content h3 {
    font-size: 1.16rem; font-weight: 800; margin: 1.9rem 0 .95rem; color: var(--pf-dark);
    padding-bottom: .5rem; border-bottom: 1px dashed var(--pf-line);
}
.post-content p { margin-bottom: 1.15rem; text-align: justify; }
.post-content blockquote {
    margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--pf-soft);
    border-left: 4px solid var(--pf-accent); border-radius: 0 12px 12px 0; color: var(--pf-text-2);
}
.post-content img { border-radius: 12px; margin: 1.2rem auto; display: block; height: auto; }
.post-content a { color: var(--pf-primary); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { margin: 1rem 0 1.25rem 1.35rem; }
.post-content li { margin-bottom: .45rem; }
.post-content code { background: var(--pf-soft); padding: .1rem .4rem; border-radius: 5px; color: #b45309; }
.post-content pre { background: var(--pf-dark); color: #e2e8f0; padding: 1rem 1.25rem; border-radius: 12px; overflow-x: auto; }
.post-content pre code { background: none; color: inherit; padding: 0; }
.post-content table { width: 100%; margin: 1.25rem 0; border-collapse: collapse; font-size: .95rem; }
.post-content table th, .post-content table td { border: 1px solid var(--pf-line); padding: .6rem .75rem; }
.post-content table th { background: var(--pf-soft); font-weight: 700; }
.post-content figure { margin: 1.25rem 0; }
.post-content figcaption { text-align: center; font-size: .85rem; color: var(--pf-text-2); margin-top: .4rem; }

/* TOC */
.toc-box {
    background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: 14px;
    padding: 1.1rem 1.35rem; margin-bottom: 1.5rem;
}
.toc-box .toc-title { font-size: .95rem; font-weight: 800; margin-bottom: .6rem; }
.toc-box .toc-title i { color: var(--pf-primary); }
.toc-box ol { margin: 0; padding-left: 1.2rem; }
.toc-box ol li { margin-bottom: .35rem; line-height: 1.6; }
.toc-box ol li a { color: var(--pf-text-2); font-size: .92rem; }
.toc-box ol li a:hover { color: var(--pf-primary); }

/* Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.post-tags .badge {
    background: var(--pf-soft); color: var(--pf-text-2); font-weight: 600;
    border-radius: 999px; padding: .35rem .85rem;
}
.post-tags .badge:hover { background: var(--pf-primary); color: #fff; }

/* Post nav */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-nav .btn {
    justify-content: flex-start; text-align: left; white-space: normal; border-radius: 12px;
    padding: .8rem 1rem; font-weight: 500; line-height: 1.5;
}
.post-nav .btn-next { text-align: right; justify-content: flex-end; }

/* ============================================
   2. App 页 (AppHero/AppQr/AppInstall/AppShowcase)
   ============================================ */
.app-hero-section { background: var(--pf-dept-bg); color: #fff; }
.app-hero-section h1 { font-weight: 800; }
.app-hero-section .stat-num { font-size: 1.9rem; font-weight: 800; color: var(--pf-accent); }
.app-download-section { background: #fff; }
.qr-card {
    background: var(--pf-soft); border: 1px solid var(--pf-line); border-radius: 16px;
    padding: 1.5rem; text-align: center; height: 100%;
}
.qr-card img { width: 160px; height: 160px; object-fit: contain; background: #fff; padding: 8px; border-radius: 12px; }
.app-install-section .step-card {
    background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; padding: 1.5rem; height: 100%;
}
.app-install-section .step-num {
    width: 40px; height: 40px; border-radius: 50%; background: var(--pf-primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: .85rem;
}
.app-showcase-section { background: var(--pf-soft); }
.app-showcase-section .shot {
    border-radius: 16px; overflow: hidden; box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
}
.app-showcase-section .shot img { display: block; width: 100%; height: 100%; max-height: 300px; object-fit: cover; }
.app-compare-section { background: #fff; }
.app-compare-section table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.app-compare-section th, .app-compare-section td { border-bottom: 1px solid var(--pf-line); padding: .75rem .5rem; }
.app-compare-section th { color: var(--pf-text-2); font-weight: 600; }
.app-updatelog-section { background: var(--pf-soft); }
.app-updatelog-section .log-item {
    background: #fff; border: 1px solid var(--pf-line); border-radius: 14px; padding: 1.1rem 1.35rem; height: 100%;
}
.app-feature-deep-section { color: #fff; }
.app-feature-deep-section .feat-card {
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px; padding: 1.5rem; height: 100%;
}
.app-welcome-section { background: var(--pf-stats-grad); color: #fff; display: flex; align-items: center; }
.sports-trivia-section { background: #fff; border-top: 1px solid var(--pf-line); }
.trivia-card {
    background: var(--pf-soft); border-radius: 14px; padding: 1.25rem; height: 100%;
    border-top: 3px solid var(--pf-accent);
}
.app-qr-section { background: var(--pf-soft); }

/* ============================================
   3. Contact 页
   ============================================ */
.contact-quick-section { background: #fff; }
.contact-quick-section .contact-card {
    display: flex; gap: 1rem; align-items: center; background: var(--pf-soft);
    border-radius: 16px; padding: 1.25rem 1.4rem; height: 100%; border: 1px solid var(--pf-line);
}
.contact-quick-section .contact-card i {
    width: 46px; height: 46px; border-radius: 50%; background: var(--pf-primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-channels-section article {
    background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; padding: 1.5rem; height: 100%;
}
.contact-channels-section article ul { list-style: none; padding: 0; margin: 0; }
.contact-channels-section article ul li { padding: .35rem 0; color: var(--pf-text-2); font-size: .93rem; }
.contact-channels-section article ul li i { color: var(--pf-primary); margin-right: .5rem; }
.contact-form-section { background: var(--pf-soft); }
.contact-form-section .form-control, .contact-form-section .form-select {
    border-radius: 12px; border: 1px solid var(--pf-line); padding: .7rem 1rem;
}
.contact-form-section button[type="submit"] {
    background: var(--pf-primary); border: none; color: #fff; border-radius: 999px; padding: .7rem 2rem; font-weight: 700;
}
.contact-form-section button[type="submit"]:hover { background: var(--pf-primary-2); }
.contact-commitments-section { background: #fff; }
.contact-commitments-section .bg-white { border: 1px solid var(--pf-line); border-radius: 16px; padding: 1.5rem; height: 100%; }
.contact-commitments-section .bg-white i { color: var(--pf-primary); font-size: 1.4rem; }

/* ============================================
   4. Security / 单页通用
   ============================================ */
.security-section { background: var(--pf-soft); }
.security-node {
    background: #fff; border: 1px solid var(--pf-line); border-radius: 16px; padding: 1.35rem 1.5rem; height: 100%;
}
.security-node i { color: var(--pf-primary); font-size: 1.3rem; }
.single-doc { background: #fff; border-radius: 18px; box-shadow: 0 8px 26px rgba(15, 23, 42, .07); }
.single-doc .doc-body { padding: 2rem; line-height: 1.95; color: #243043; }
.single-doc .doc-body h3 { font-weight: 800; margin: 1.6rem 0 .8rem; font-size: 1.12rem; }
.single-doc .doc-body p { margin-bottom: 1rem; text-align: justify; }
.single-doc .doc-body ul { margin-left: 1.3rem; margin-bottom: 1rem; }
.single-doc .doc-body li { margin-bottom: .4rem; }
.deep-content-section { background: #fff; }
.deep-content-section .deep-card {
    background: var(--pf-soft); border-radius: 16px; padding: 1.5rem; height: 100%;
}

/* ============================================
   5. 打印与动效
   ============================================ */
@keyframes pf-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes pf-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pf-live { animation: pf-blink 1.6s ease-in-out infinite; }
@keyframes pf-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.animate-fade-in { animation: pf-fade-up .5s ease both; }
@media print {
    .header, .footer, .notice-bar-floating, .cta-banner-section, .pf-backtop { display: none !important; }
    body { background: #fff; }
}
