/* ==========================================================================
   加分笔记 · lqm-aurora
   明亮渐变卡片风：白卡 / 大圆角 / 柔和阴影 / 蓝紫渐变 / 微动效
   ========================================================================== */

:root {
    --bg: #F4F6FC;
    --card: #FFFFFF;
    --card-soft: #F8F9FE;
    --text: #171C2B;
    --text-2: #414B63;
    --body: #333A4D;
    --muted: #8A93A9;
    --line: rgba(23, 28, 43, .07);
    --line-2: rgba(23, 28, 43, .12);

    --c1: #4F6BFF;
    --c2: #7C5CFF;
    --c3: #A855F7;
    --c4: #EC4899;
    --grad: linear-gradient(120deg, #4F6BFF 0%, #7C5CFF 46%, #EC4899 100%);
    --grad-soft: linear-gradient(120deg, rgba(79, 107, 255, .12), rgba(236, 72, 153, .12));
    --cyan: #06B6D4;
    --green: #10B981;
    --amber: #F59E0B;

    --sh-sm: 0 2px 6px rgba(28, 38, 92, .05), 0 1px 2px rgba(28, 38, 92, .04);
    --sh: 0 10px 24px rgba(28, 38, 92, .08), 0 2px 6px rgba(28, 38, 92, .04);
    --sh-lg: 0 22px 48px rgba(28, 38, 92, .16), 0 6px 14px rgba(28, 38, 92, .06);
    --r-xs: 10px;
    --r-sm: 14px;
    --r: 18px;
    --r-lg: 24px;
    --r-xl: 30px;

    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
    --wrap: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- 背景光斑 ---------- */
.aa-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.aa-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
}
.aa-bg-blob-1 {
    width: 620px;
    height: 620px;
    left: -180px;
    top: -200px;
    background: radial-gradient(circle at 30% 30%, rgba(79, 107, 255, .55), transparent 68%);
}
.aa-bg-blob-2 {
    width: 560px;
    height: 560px;
    right: -160px;
    top: 60px;
    background: radial-gradient(circle at 60% 40%, rgba(236, 72, 153, .45), transparent 68%);
}
.aa-bg-blob-3 {
    width: 700px;
    height: 700px;
    left: 38%;
    top: 46%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, .30), transparent 70%);
}

.aa-main,
.aa-header,
.aa-footer { position: relative; z-index: 1; }

.aa-wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---------- 顶部导航 ---------- */
.aa-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.aa-header.is-stuck {
    background: rgba(255, 255, 255, .92);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 20px rgba(28, 38, 92, .06);
}
.aa-header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
}
.aa-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.aa-brand-logo {
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 13px;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 19px;
    box-shadow: 0 8px 18px rgba(79, 107, 255, .32);
    overflow: hidden;
}
.aa-brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.aa-brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.aa-brand-text strong { font-size: 17px; font-weight: 650; color: var(--text); letter-spacing: .2px; }
.aa-brand-text em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 340px;
}
.aa-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.aa-nav ul.nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.aa-nav ul.nav li a,
.aa-nav-rss {
    display: block;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 14.5px;
    color: var(--text-2);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.aa-nav ul.nav li a:hover,
.aa-nav-rss:hover { background: rgba(79, 107, 255, .10); color: var(--c1); }
.aa-nav ul.nav li.nav-current > a {
    color: #fff;
    background: var(--grad);
    box-shadow: 0 6px 16px rgba(79, 107, 255, .30);
}

/* 「工作台」入口：渐变按钮，视觉上跟内容导航分开 */
.aa-nav ul.nav li a.aa-wb {
    margin-left: 8px;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 8px 20px rgba(79, 107, 255, .32);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.aa-nav ul.nav li a.aa-wb::after {
    content: "↗";
    font-size: 12px;
    opacity: .9;
}
.aa-nav ul.nav li a.aa-wb:hover {
    color: #fff;
    filter: brightness(1.07);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(79, 107, 255, .42);
}
.aa-nav-toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
    color: var(--text-2);
    cursor: pointer;
    place-items: center;
    box-shadow: var(--sh-sm);
}

/* ---------- Hero ---------- */
.aa-hero-wrap { padding-top: 34px; }
.aa-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 30px;
    align-items: center;
    padding: 44px 48px;
    border-radius: var(--r-xl);
    background: var(--grad);
    box-shadow: 0 26px 60px rgba(79, 107, 255, .28);
    overflow: hidden;
    animation: aa-up .6s ease both;
}
.aa-hero-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 62%);
    pointer-events: none;
}
.aa-hero-body { position: relative; z-index: 2; color: #fff; }
.aa-hero-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 12.5px;
    letter-spacing: 1px;
    color: #fff;
    backdrop-filter: blur(6px);
}
.aa-hero-title {
    margin: 18px 0 0;
    font-size: 38px;
    line-height: 1.34;
    letter-spacing: -.4px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 18px rgba(20, 26, 70, .22);
}
.aa-hero-title a:hover { opacity: .92; }
.aa-hero-excerpt {
    margin: 16px 0 0;
    max-width: 520px;
    font-size: 16px;
    color: rgba(255, 255, 255, .9);
}
.aa-hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.aa-chip-ghost {
    background: rgba(255, 255, 255, .22) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .38) !important;
}
.aa-meta-ghost { color: rgba(255, 255, 255, .85) !important; }
.aa-meta-ghost i { color: rgba(255, 255, 255, .55); }
.aa-hero-btn {
    display: inline-block;
    margin-top: 26px;
    padding: 12px 26px;
    border-radius: 999px;
    background: #fff;
    color: #4F6BFF;
    font-weight: 650;
    font-size: 15px;
    box-shadow: 0 12px 26px rgba(20, 26, 70, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.aa-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(20, 26, 70, .28); }
.aa-hero-media {
    position: relative;
    z-index: 2;
    display: block;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 44px rgba(20, 26, 70, .28);
    border: 1px solid rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .12);
}
.aa-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.aa-hero-media:hover img { transform: scale(1.03); }

/* ---------- 区块 ---------- */
.aa-section { padding-top: 52px; }
.aa-section-first { padding-top: 36px; }
.aa-section-tight { padding-top: 28px; }
.aa-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}
.aa-section-title {
    margin: 0;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -.2px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
}
.aa-section-title::before {
    content: "";
    width: 6px;
    height: 24px;
    border-radius: 4px;
    background: var(--grad);
    display: inline-block;
}
.aa-section-sub { margin: 8px 0 0 18px; font-size: 14px; color: var(--muted); }
.aa-section-more {
    flex: none;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    font-size: 13.5px;
    color: var(--text-2);
    transition: transform .2s ease, color .2s ease, box-shadow .2s ease;
}
.aa-section-more:hover { transform: translateY(-2px); color: var(--c1); box-shadow: var(--sh); }

/* ---------- 标签筛选条 ---------- */
.aa-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.aa-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    font-size: 14px;
    color: var(--text-2);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.aa-filter-chip span {
    min-width: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(79, 107, 255, .10);
    color: var(--c1);
    font-size: 12px;
    text-align: center;
}
.aa-filter-chip:hover { transform: translateY(-2px); box-shadow: var(--sh); color: var(--c1); }
.aa-filter-chip:nth-child(5n+2) span { background: rgba(6, 182, 212, .14); color: #0891B2; }
.aa-filter-chip:nth-child(5n+3) span { background: rgba(16, 185, 129, .14); color: #059669; }
.aa-filter-chip:nth-child(5n+4) span { background: rgba(245, 158, 11, .16); color: #D97706; }
.aa-filter-chip:nth-child(5n+5) span { background: rgba(236, 72, 153, .14); color: #DB2777; }

/* ---------- 卡片网格 ---------- */
.aa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
}
.aa-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh);
    overflow: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s ease, border-color .28s ease;
    animation: aa-up .5s ease both;
}
.aa-card:nth-child(2) { animation-delay: .04s; }
.aa-card:nth-child(3) { animation-delay: .08s; }
.aa-card:nth-child(4) { animation-delay: .12s; }
.aa-card:nth-child(5) { animation-delay: .16s; }
.aa-card:nth-child(6) { animation-delay: .2s; }
.aa-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: rgba(79, 107, 255, .22);
}
.aa-card-link { display: flex; flex-direction: column; height: 100%; }
.aa-card-media { overflow: hidden; background: var(--card-soft); }
.aa-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .55s ease; }
.aa-card:hover .aa-card-media img { transform: scale(1.035); }
.aa-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.aa-card-tags { display: flex; gap: 8px; }
.aa-card-title {
    margin: 0;
    font-size: 18.5px;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: -.1px;
    color: var(--text);
}
.aa-card:hover .aa-card-title { color: var(--c1); }
.aa-card-excerpt {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aa-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.aa-card-cta { font-size: 13.5px; font-weight: 600; color: var(--c1); opacity: 0; transform: translateX(-4px); transition: all .25s ease; }
.aa-card:hover .aa-card-cta { opacity: 1; transform: none; }

/* ---------- 标签 / 元信息 ---------- */
.aa-chip {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    color: var(--c1);
    background: rgba(79, 107, 255, .10);
    border: 1px solid rgba(79, 107, 255, .18);
}
a.aa-chip:hover { background: rgba(79, 107, 255, .18); }
.aa-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.aa-meta i { font-style: normal; opacity: .5; }

/* ---------- 归档头 ---------- */
.aa-archive {
    margin-top: 34px;
    padding: 40px 40px 36px;
    border-radius: var(--r-xl);
    background: linear-gradient(120deg, rgba(79, 107, 255, .12), rgba(236, 72, 153, .12));
    border: 1px solid rgba(79, 107, 255, .16);
    box-shadow: var(--sh-sm);
}
.aa-archive-title { margin: 14px 0 0; font-size: 34px; font-weight: 700; color: var(--text); letter-spacing: -.4px; }
.aa-archive-desc { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }

/* ---------- 文章页 ---------- */
.aa-article { padding-top: 34px; }
.aa-article-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--sh);
    padding: 48px 56px 56px;
    animation: aa-up .5s ease both;
}
.aa-article-head { max-width: 860px; margin: 0 auto; text-align: center; }
.aa-article-meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.aa-article-title {
    margin: 20px 0 0;
    font-size: 40px;
    line-height: 1.34;
    font-weight: 700;
    letter-spacing: -.6px;
    color: var(--text);
}
.aa-article-excerpt { margin: 18px auto 0; max-width: 640px; font-size: 16.5px; color: var(--muted); }
.aa-article-figure { max-width: 900px; margin: 34px auto 0; }
.aa-article-cover { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh); }
.aa-article-figure figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }
.aa-article-tags {
    max-width: 860px;
    margin: 44px auto 0;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ---------- 正文 ---------- */
.aa-prose {
    max-width: 820px;
    margin: 42px auto 0;
    font-size: 17px;
    line-height: 1.95;
    color: var(--body);
}
.aa-prose > * + * { margin-top: 1.15em; }
.aa-prose h2,
.aa-prose h3,
.aa-prose h4 { color: var(--text); line-height: 1.45; font-weight: 700; scroll-margin-top: 100px; }
.aa-prose h2 {
    margin-top: 2.1em;
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.aa-prose h2::before {
    content: "";
    width: 6px;
    height: 22px;
    border-radius: 4px;
    background: var(--grad);
    flex: none;
}
.aa-prose h3 { margin-top: 1.8em; font-size: 20.5px; }
.aa-prose h4 { margin-top: 1.5em; font-size: 18px; }
.aa-prose p { margin: 0; }
.aa-prose a { color: var(--c1); border-bottom: 1px solid rgba(79, 107, 255, .32); }
.aa-prose a:hover { border-bottom-color: var(--c1); }
.aa-prose strong { color: var(--text); font-weight: 700; }
.aa-prose ul,
.aa-prose ol { padding-left: 1.35em; }
.aa-prose li + li { margin-top: .5em; }
.aa-prose li::marker { color: var(--c2); }
.aa-prose blockquote {
    margin: 1.7em 0;
    padding: 18px 22px;
    border-radius: var(--r-sm);
    background: var(--grad-soft);
    border-left: 4px solid transparent;
    border-image: var(--grad) 1;
    color: var(--text-2);
}
.aa-prose blockquote p { margin: 0; }
.aa-prose code {
    font-family: var(--mono);
    font-size: .87em;
    padding: 2px 7px;
    border-radius: 7px;
    background: #EEF1FB;
    color: #4F46E5;
}
.aa-prose pre {
    margin: 1.7em 0;
    padding: 20px 22px;
    border-radius: var(--r-sm);
    background: #F7F8FD;
    border: 1px solid var(--line);
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.75;
    white-space: pre;
    word-break: normal;
    overflow-wrap: normal;
}
.aa-prose pre code { background: none; padding: 0; color: #2C3350; font-size: inherit; white-space: pre; }
.aa-prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.7em 0;
    font-size: 15px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
}
.aa-prose th,
.aa-prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.aa-prose th { background: #F5F7FE; color: var(--text); font-weight: 650; }
.aa-prose tbody tr:last-child td { border-bottom: 0; }
.aa-prose tbody tr:hover { background: #FAFBFF; }
.aa-prose hr { margin: 2.4em auto; border: 0; height: 2px; width: 72px; border-radius: 2px; background: var(--grad); opacity: .5; }
.aa-prose img { border-radius: var(--r); box-shadow: var(--sh); margin: 1.5em auto; }
.aa-prose figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- 分页 ---------- */
.pagination,
nav.pagination,
.aa-pagination {
    max-width: var(--wrap);
    margin: 48px auto 0;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}
.pagination a {
    padding: 9px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    color: var(--text-2);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.pagination a:hover { transform: translateY(-2px); color: var(--c1); box-shadow: var(--sh); }

/* 中文分页（主题自出，替代 Ghost 默认英文） */
.aa-page-btn {
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    font-size: 14.5px;
    color: var(--text-2);
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.aa-page-btn:hover {
    transform: translateY(-2px);
    color: var(--c1);
    border-color: rgba(79, 107, 255, .28);
    box-shadow: var(--sh);
}
.aa-page-btn.is-disabled {
    opacity: .45;
    box-shadow: none;
    cursor: default;
}
.aa-page-num { font-size: 14px; letter-spacing: .5px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.aa-footer { margin-top: 72px; padding-bottom: 42px; }
.aa-footer-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-sm);
    padding: 28px 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}
.aa-footer-brand { display: flex; align-items: center; gap: 14px; }
.aa-footer-brand strong { display: block; font-size: 16px; color: var(--text); }
.aa-footer-brand p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.aa-footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.aa-footer-nav ul.nav { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.aa-footer-nav a {
    display: block;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 14px;
    color: var(--text-2);
    transition: background .2s ease, color .2s ease;
}
.aa-footer-nav a:hover { background: rgba(79, 107, 255, .10); color: var(--c1); }
.aa-footer-nav a.aa-wb {
    color: #fff;
    background: var(--grad);
    box-shadow: 0 6px 16px rgba(79, 107, 255, .28);
}
.aa-footer-nav a.aa-wb::after { content: " ↗"; font-size: 12px; }
.aa-footer-nav a.aa-wb:hover { color: #fff; filter: brightness(1.06); }
.aa-footer-copy { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* ---------- 错误页 ---------- */
.aa-error-body { display: grid; place-items: center; min-height: 100vh; }
.aa-error { text-align: center; padding: 40px 24px; }
.aa-error-code {
    display: block;
    font-size: 80px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.aa-error h1 { font-size: 20px; font-weight: 500; color: var(--muted); margin: 8px 0 26px; }
.aa-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-weight: 650;
    box-shadow: 0 12px 26px rgba(79, 107, 255, .3);
}

/* ---------- 动效 ---------- */
@keyframes aa-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
    .aa-hero { grid-template-columns: 1fr; padding: 34px 30px; }
    .aa-hero-media { order: -1; }
    .aa-hero-title { font-size: 30px; }
    .aa-article-card { padding: 36px 30px 42px; }
    .aa-article-title { font-size: 32px; }
}
@media (max-width: 860px) {
    .aa-wrap { padding: 0 20px; }
    .aa-nav-toggle { display: grid; }
    .aa-brand-text em { display: none; }
    .aa-nav {
        position: absolute;
        top: 76px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border-radius: var(--r);
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: var(--sh-lg);
        display: none;
    }
    .aa-nav.is-open { display: flex; }
    .aa-nav ul.nav { flex-direction: column; align-items: stretch; }
    .aa-grid { grid-template-columns: 1fr; gap: 18px; }
    .aa-section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 560px) {
    .aa-wrap { padding: 0 16px; }
    .aa-hero { padding: 26px 22px; border-radius: var(--r-lg); }
    .aa-hero-title { font-size: 25px; }
    .aa-article-card { padding: 28px 20px 34px; border-radius: var(--r-lg); }
    .aa-article-title { font-size: 26px; }
    .aa-archive { padding: 28px 22px; }
    .aa-archive-title { font-size: 27px; }
    .aa-section-title { font-size: 21px; }
}
