:root {
    --brand: #E85D75;
    --brand-strong: #D93F63;
    --accent: #F2A65A;
    --ink: #332D34;
    --ink-deep: #2F2530;
    --muted: #756A73;
    --paper: #FFF9F6;
    --soft: #F8EEF0;
    --white: #FFFFFF;
    --line: #E8DDE0;
    --line-strong: #DCC9CF;
    --shadow: 0 18px 60px rgba(88, 45, 57, 0.09);
    --shadow-soft: 0 10px 28px rgba(88, 45, 57, 0.07);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --max: 1240px;
    --reading: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.72; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brand-strong); }
button, input, select { font: inherit; }
button, input, select, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(217,63,99,.38); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; transform: translateY(-160%); background: var(--ink-deep); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(220,201,207,.75); background: rgba(255,249,246,.92); backdrop-filter: blur(16px); }
.header-inner { max-width: var(--max); margin: 0 auto; min-height: 78px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-logo { width: 46px; height: 46px; border-radius: 15px; object-fit: cover; background: var(--soft); box-shadow: var(--shadow-soft); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { color: var(--ink-deep); font-size: 1.1rem; letter-spacing: .02em; }
.brand-copy small { color: var(--muted); font-size: .78rem; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-strong); background: var(--soft); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--ink-deep); border-radius: 12px; padding: 9px 12px; cursor: pointer; }
main { overflow: clip; }
.page-wrap, .article-wrap { max-width: var(--max); margin: 0 auto; padding: 34px 24px 80px; }
.hero-shell { max-width: var(--max); margin: 0 auto; padding: 58px 24px 30px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 54px; align-items: center; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 10px; color: var(--brand-strong); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink-deep); line-height: 1.22; letter-spacing: -.02em; }
h1 { margin: 0; font-size: clamp(2.45rem, 5vw, 4.8rem); }
h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.85rem); }
h3 { margin: 0; font-size: 1.2rem; }
p { margin: 0 0 1em; }
.hero-lead { margin: 24px 0 0; max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 750; cursor: pointer; }
.button-primary { color: #fff; background: var(--brand-strong); box-shadow: 0 10px 24px rgba(217,63,99,.22); }
.button-primary:hover { color: #fff; background: #C93559; }
.button-secondary { color: var(--ink-deep); background: var(--white); border-color: var(--line-strong); }
.button-secondary:hover { color: var(--brand-strong); border-color: var(--brand); }
.hero-facts { margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-facts div { border-left: 3px solid var(--accent); padding: 6px 0 6px 14px; }
.hero-facts dt { color: var(--muted); font-size: .78rem; }
.hero-facts dd { margin: 2px 0 0; font-weight: 750; }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -22px 18% 18% -18px; border-radius: 42px; background: var(--soft); z-index: -1; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.hero-media figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; padding: 13px 15px; border-radius: 14px; background: rgba(47,37,48,.82); color: #fff; font-size: .86rem; backdrop-filter: blur(10px); }
.highlight-strip { max-width: var(--max); margin: 10px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.highlight-strip article { min-height: 180px; padding: 24px; background: var(--soft); }
.highlight-strip article:first-child { border-radius: 24px 0 0 24px; }
.highlight-strip article:last-child { border-radius: 0 24px 24px 0; }
.highlight-strip span { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; }
.highlight-strip strong { display: block; margin: 6px 0 9px; color: var(--brand-strong); font-size: 1.5rem; }
.highlight-strip p { margin: 0; color: var(--muted); font-size: .92rem; }
.section { max-width: var(--max); margin: 0 auto; padding: 74px 24px; }
.section-heading { max-width: 800px; margin-bottom: 30px; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr); gap: 44px; align-items: end; }
.split-heading > p, .split-heading > a { align-self: end; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.editorial-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; box-shadow: var(--shadow-soft); }
.editorial-card-large { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.card-image { display: block; overflow: hidden; background: var(--soft); }
.card-image img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; transition: transform .28s ease; }
.card-image:hover img { transform: scale(1.025); }
.card-body { padding: 21px; }
.card-body h3 { margin-top: 8px; }
.card-body h3 a { text-decoration: none; }
.card-body p { margin: 10px 0 0; color: var(--muted); font-size: .94rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-row span { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: var(--soft); color: var(--brand-strong); font-size: .72rem; font-weight: 750; }
.section-action { margin-top: 24px; text-align: right; }
.text-link { font-weight: 800; color: var(--brand-strong); }
.browser-band { padding-top: 30px; }
.browser-panel { padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-xl); background: var(--ink-deep); color: #F9EFF1; display: grid; grid-template-columns: 1fr .9fr; gap: 50px; align-items: center; }
.browser-panel h2 { color: #fff; }
.browser-panel .eyebrow { color: #FFC28A; }
.browser-panel p { color: #DCCFD5; }
.browser-panel figure { margin: 0; }
.browser-panel img { width: 100%; border-radius: 24px; box-shadow: 0 20px 70px rgba(0,0,0,.28); }
.check-list { padding: 0; margin: 20px 0 25px; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: #EFE4E8; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #FFC28A; font-weight: 900; }
.topic-list { border-top: 1px solid var(--line-strong); }
.topic-list article { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.topic-index { color: var(--brand); font-weight: 850; font-variant-numeric: tabular-nums; }
.topic-list h3 a { text-decoration: none; }
.topic-list p { margin: 7px 0 0; color: var(--muted); }
.topic-type { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.desktop-teaser { display: grid; grid-template-columns: 1fr minmax(360px, .8fr); gap: 48px; align-items: center; padding-top: 45px; padding-bottom: 45px; }
.desktop-teaser > div { max-width: 720px; }
.desktop-teaser > div > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.desktop-teaser img { border-radius: 28px; background: var(--soft); box-shadow: var(--shadow-soft); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 0 20px; }
.faq-list summary { cursor: pointer; padding: 18px 34px 18px 0; font-weight: 750; color: var(--ink-deep); }
.faq-list details p { padding: 0 0 18px; color: var(--muted); }
.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol { padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; color: var(--muted); font-size: .84rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line-strong); }
.breadcrumbs a { text-decoration: none; }
.page-intro { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding: 32px 0 48px; }
.page-intro h1, .library-heading h1 { font-size: clamp(2.3rem, 4.7vw, 4.2rem); }
.page-intro p:not(.eyebrow), .library-heading p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 1.02rem; }
.page-intro figure { margin: 0; }
.page-intro img { width: 100%; border-radius: 30px; box-shadow: var(--shadow); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: steps; }
.step-grid article { padding: 28px; border-radius: 22px; background: var(--soft); }
.step-grid article > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 850; }
.step-grid h3 { margin-top: 28px; }
.step-grid p { margin: 10px 0 0; color: var(--muted); }
.two-column-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .56fr); gap: 42px; align-items: start; }
.two-column-info > div > p:not(.eyebrow) { color: var(--muted); margin-top: 15px; }
.info-card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); box-shadow: var(--shadow-soft); }
.info-card ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); }
.compact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.compact-cards article { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.compact-cards span { color: var(--brand-strong); font-size: .76rem; font-weight: 800; }
.compact-cards h3 { margin-top: 9px; }
.compact-cards h3 a { text-decoration: none; }
.compact-cards p { margin: 9px 0 0; color: var(--muted); }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--soft); color: var(--ink-deep); }
tbody th { color: var(--ink-deep); white-space: nowrap; }
tbody td { color: var(--muted); }
.note { margin-top: 16px; color: var(--muted); }
.desktop-tip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.desktop-tip-grid article { min-height: 220px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(180deg, #fff, #FFF7F8); }
.desktop-tip-grid p { margin: 12px 0 0; color: var(--muted); }
.desktop-layout-demo { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.demo-main { max-width: var(--reading); }
.demo-main > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.demo-main blockquote { margin: 30px 0 0; padding: 22px 26px; border-left: 4px solid var(--accent); background: var(--soft); border-radius: 0 18px 18px 0; font-size: 1.1rem; font-weight: 700; }
.sticky-index { position: sticky; top: 106px; display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.sticky-index strong { margin-bottom: 8px; }
.sticky-index a { padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); }
.sticky-index a:hover { background: var(--soft); color: var(--brand-strong); }
.anchored-section { display: grid; grid-template-columns: .55fr 1fr; gap: 48px; border-top: 1px solid var(--line); }
.anchored-section > p { margin: 0; color: var(--muted); font-size: 1.03rem; }
.library-heading { display: grid; grid-template-columns: 1fr 420px; gap: 46px; align-items: center; padding: 24px 0 38px; }
.library-heading img { border-radius: 26px; background: var(--soft); }
.filter-panel { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(190px, .4fr) auto auto; gap: 12px; align-items: end; padding: 20px; border-radius: 20px; background: var(--ink-deep); }
.filter-panel label { display: block; margin-bottom: 6px; color: #E7DCE0; font-size: .82rem; font-weight: 700; }
.filter-panel input, .filter-panel select { width: 100%; min-height: 46px; border: 1px solid #65545D; border-radius: 12px; background: #3B303C; color: #fff; padding: 9px 12px; }
.filter-panel input::placeholder { color: #AA9BA2; }
.filter-panel .button { min-width: 110px; }
.reset-link { min-height: 46px; display: inline-flex; align-items: center; color: #FFC5CF; padding: 0 8px; }
.type-chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 6px; scrollbar-width: thin; }
.type-chips a { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted); text-decoration: none; font-size: .86rem; }
.type-chips a[aria-current="page"], .type-chips a:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--soft); }
.library-results { padding-left: 0; padding-right: 0; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.results-heading h2 { font-size: 1.7rem; }
.results-heading span { color: var(--muted); }
.library-list { display: grid; gap: 14px; }
.library-item { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.library-thumb { min-height: 190px; overflow: hidden; border-radius: 14px; background: var(--soft); }
.library-thumb img { width: 100%; height: 100%; object-fit: cover; }
.library-body { padding: 8px 12px 8px 0; }
.library-body h3 { margin-top: 9px; font-size: 1.36rem; }
.library-body h3 a { text-decoration: none; }
.library-body > p { margin: 9px 0 0; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 14px 0 0; list-style: none; }
.tag-row li { padding: 4px 8px; border-radius: 999px; background: #FFF4EE; color: #8E5A38; font-size: .75rem; }
.empty-state { padding: 54px; text-align: center; border-radius: 24px; background: var(--soft); }
.empty-state h3 { font-size: 1.6rem; }
.empty-state p { color: var(--muted); margin: 10px auto 20px; max-width: 600px; }
.type-note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.type-note-grid article { padding: 22px; border-top: 3px solid var(--accent); background: var(--white); box-shadow: var(--shadow-soft); border-radius: 0 0 18px 18px; }
.type-note-grid p { margin: 10px 0 0; color: var(--muted); }
.article-wrap { max-width: 1120px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; }
.article-header { grid-column: 1 / -1; max-width: 900px; }
.article-header h1 { margin-top: 12px; font-size: clamp(2.4rem, 5vw, 4.25rem); }
.article-summary { margin: 20px 0 0; max-width: 820px; color: var(--muted); font-size: 1.08rem; }
.article-image { grid-column: 1 / -1; margin: 10px 0 0; }
.article-image img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.article-content { max-width: var(--reading); font-size: 1.04rem; }
.article-content > p { margin: 0 0 28px; color: #4D444B; }
.article-content section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.article-content section h2 { font-size: 1.55rem; }
.article-content section p { color: var(--muted); margin-top: 12px; }
.point-list { margin: 15px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.point-list li { position: relative; padding: 14px 16px 14px 42px; border-radius: 14px; background: var(--soft); }
.point-list li::before { content: "•"; position: absolute; left: 18px; color: var(--brand-strong); font-size: 1.45rem; line-height: 1; }
.article-side { align-self: start; position: sticky; top: 106px; display: grid; gap: 8px; }
.article-side h2 { font-size: 1.1rem; margin-bottom: 4px; }
.article-side a { display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-decoration: none; }
.article-side a strong { font-size: .92rem; }
.article-side a span { color: var(--muted); font-size: .8rem; }
.not-found { min-height: 62vh; display: grid; align-content: center; justify-items: start; max-width: 720px; }
.not-found > span { color: var(--brand-strong); font-size: 5rem; font-weight: 900; line-height: 1; }
.not-found h1 { margin-top: 12px; font-size: 3rem; }
.not-found p { margin-top: 14px; color: var(--muted); }
.site-footer { margin-top: 40px; padding: 54px 24px 28px; background: var(--ink-deep); color: #EADFE3; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .7fr .8fr; gap: 48px; }
.footer-grid h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-grid p { margin: 0; color: #BFAFB6; max-width: 520px; font-size: .9rem; }
.footer-grid nav { display: grid; align-content: start; gap: 7px; }
.footer-grid nav a { color: #EADFE3; text-decoration: none; font-size: .9rem; }
.footer-bottom { max-width: var(--max); margin: 38px auto 0; padding-top: 20px; border-top: 1px solid #4B3F49; display: flex; justify-content: space-between; gap: 20px; color: #AFA0A8; font-size: .82rem; }
.footer-bottom a { color: inherit; }
.js .site-nav { transition: opacity .2s ease, transform .2s ease; }
.image-missing { min-height: 180px; background: var(--soft); }
@media (max-width: 1080px) {
    .hero-shell { grid-template-columns: 1fr .78fr; gap: 36px; }
    .editorial-grid { grid-template-columns: repeat(2, 1fr); }
    .editorial-card-large { grid-column: span 2; }
    .desktop-tip-grid { grid-template-columns: repeat(2, 1fr); }
    .library-heading { grid-template-columns: 1fr 340px; }
    .type-note-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .header-inner { min-height: 70px; }
    .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .site-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: none; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
    .site-nav.is-open { display: grid; }
    .site-nav a { border-radius: 12px; }
    .hero-shell, .page-intro, .library-heading { grid-template-columns: 1fr; }
    .hero-media { max-width: 620px; }
    .highlight-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .highlight-strip article, .highlight-strip article:first-child, .highlight-strip article:last-child { border-radius: 18px; }
    .split-heading { grid-template-columns: 1fr; gap: 14px; }
    .browser-panel { grid-template-columns: 1fr; }
    .desktop-teaser { grid-template-columns: 1fr; }
    .step-grid { grid-template-columns: 1fr; }
    .two-column-info { grid-template-columns: 1fr; }
    .desktop-layout-demo { grid-template-columns: 1fr; }
    .sticky-index { position: static; grid-template-columns: repeat(2, 1fr); }
    .sticky-index strong { grid-column: 1 / -1; }
    .anchored-section { grid-template-columns: 1fr; gap: 16px; }
    .filter-panel { grid-template-columns: 1fr 1fr; }
    .library-heading img { max-width: 560px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .header-inner { padding-left: 16px; padding-right: 16px; }
    .brand-copy small { display: none; }
    .page-wrap, .article-wrap { padding-left: 16px; padding-right: 16px; }
    .hero-shell { padding: 38px 16px 20px; }
    h1 { font-size: 2.45rem; }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts div { display: grid; grid-template-columns: 110px 1fr; align-items: center; }
    .hero-facts dd { margin: 0; }
    .hero-media figcaption { position: static; margin-top: 10px; background: transparent; color: var(--muted); padding: 0; }
    .highlight-strip { padding-left: 16px; padding-right: 16px; grid-template-columns: 1fr; }
    .highlight-strip article { min-height: 0; padding: 20px; }
    .section { padding: 54px 16px; }
    .editorial-grid { grid-template-columns: 1fr; }
    .editorial-card-large { grid-column: auto; display: block; }
    .topic-list article { grid-template-columns: 38px 1fr; }
    .topic-type { grid-column: 2; }
    .browser-panel { padding: 26px 20px; border-radius: 24px; }
    .compact-cards, .desktop-tip-grid, .type-note-grid { grid-template-columns: 1fr; }
    .filter-panel { grid-template-columns: 1fr; }
    .filter-panel .button, .reset-link { width: 100%; justify-content: center; }
    .library-item { grid-template-columns: 1fr; padding: 12px; }
    .library-body { padding: 6px 4px 10px; }
    .library-thumb { min-height: 220px; }
    .sticky-index { grid-template-columns: 1fr; }
    .sticky-index strong { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
/* Additional resilient states for long-form content and server-side filtering. */
.library-item:target, .anchored-section:target { scroll-margin-top: 110px; }
.article-content a, .note a { color: var(--brand-strong); font-weight: 700; }
.article-content a:hover, .note a:hover { text-decoration-thickness: .12em; }
.library-item:hover { border-color: var(--line-strong); box-shadow: 0 12px 30px rgba(88,45,57,.055); }
.library-thumb img { transition: transform .25s ease; }
.library-item:hover .library-thumb img { transform: scale(1.02); }
.search-field input:focus, .type-field select:focus { border-color: #E7A0AE; box-shadow: 0 0 0 3px rgba(232,93,117,.18); outline: 0; }
.results-heading span { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; min-height: 34px; padding: 4px 10px; border-radius: 999px; background: var(--soft); }
.article-side a:hover { border-color: var(--brand); transform: translateY(-1px); }
.article-side a { transition: border-color .18s ease, transform .18s ease; }
@supports not (backdrop-filter: blur(16px)) {
    .site-header { background: #FFF9F6; }
    .hero-media figcaption { background: #2F2530; }
}
@media (hover: none) {
    .card-image:hover img, .library-item:hover .library-thumb img, .article-side a:hover { transform: none; }
}
@media (max-width: 420px) {
    .menu-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .brand-logo { width: 42px; height: 42px; }
    .hero-actions .button, .inline-actions .button { width: 100%; }
    .topic-list article { grid-template-columns: 32px 1fr; gap: 10px; }
    .not-found h1 { font-size: 2.35rem; }
    .not-found > span { font-size: 4rem; }
}
@media print {
    .site-header, .site-footer, .menu-toggle, .hero-actions, .inline-actions, .filter-panel, .type-chips, .article-side, .sticky-index { display: none !important; }
    body { background: #fff; color: #111; font-size: 11pt; }
    main, .page-wrap, .article-wrap, .section { max-width: none; margin: 0; padding: 0; overflow: visible; }
    h1, h2, h3 { color: #111; break-after: avoid; }
    p, li { orphans: 3; widows: 3; }
    a { color: #111; text-decoration: underline; }
    .article-layout, .page-intro, .library-heading, .two-column-info, .desktop-layout-demo, .anchored-section { display: block; }
    .article-image img, .page-intro img, .library-heading img { max-height: 340px; width: auto; margin: 12px auto; }
    .library-item, .editorial-card, .compact-cards article, .info-card { break-inside: avoid; box-shadow: none; }
    .breadcrumbs { margin-bottom: 12px; }
}
