/* 千问天气 - 内容页通用样式 */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background: #f4f7fb;
}

a { color: #0582FF; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    background: linear-gradient(135deg, #6182FF 0%, #0582FF 100%);
    color: #fff;
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(5, 130, 255, 0.2);
}

.site-header-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.site-brand:hover { text-decoration: none; opacity: 0.95; }

.site-brand img {
    height: 36px;
    width: auto;
    max-width: none;
    border-radius: 8px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 14px;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    padding: 4px 0;
}

.site-nav a:hover,
.site-nav a.active {
    color: #fff;
    text-decoration: underline;
}

.site-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 20px 48px;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.page-desc {
    color: #666;
    font-size: 14px;
    margin: 0 0 28px;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card h2 {
    font-size: 18px;
    color: #1a1a2e;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eef3ff;
}

.card h3 {
    font-size: 16px;
    color: #333;
    margin: 20px 0 8px;
}

.card p { margin: 0 0 12px; }

.card ul, .card ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.card li { margin-bottom: 6px; }

.tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #eef3ff;
    color: #0582FF;
    margin-right: 6px;
}

.changelog-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.changelog-item:last-child { border-bottom: none; }

.changelog-version {
    font-size: 17px;
    font-weight: 600;
    color: #0582FF;
    margin-bottom: 8px;
}

.changelog-date {
    font-size: 13px;
    color: #999;
    margin-left: 8px;
    font-weight: normal;
}

.faq-item {
    padding: 18px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
    margin: 0 0 10px;
    color: #1a1a2e;
    line-height: 1.6;
}

.faq-meta {
    font-size: 12px;
    color: #999;
    margin: 0 0 10px;
}

.faq-a {
    margin: 0;
    color: #444;
    line-height: 1.75;
}

.faq-a + .faq-a {
    margin-top: 6px;
}

.version-shot {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
    margin: 12px auto 0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.version-shots {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

.version-shots .version-shot {
    max-width: 220px;
    margin: 0;
}

.version-shots figcaption {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.highlight-box {
    background: #f0f6ff;
    border: 1px solid #d6e8ff;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}

.site-footer {
    text-align: center;
    padding: 24px 20px 40px;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #e8ecf0;
    background: #fff;
}

.site-footer a { color: #0582FF; }

@media (max-width: 600px) {
    .page-title { font-size: 22px; }
    .card { padding: 18px; }
    .site-nav { width: 100%; }
}
