:root {
  --brand: #E85D75;
  --brand-strong: #D93F63;
  --accent: #F2A65A;
  --ink: #332D34;
  --ink-strong: #2F2530;
  --muted: #756A73;
  --paper: #FFF9F6;
  --soft: #F8EEF0;
  --white: #ffffff;
  --border: rgba(47, 37, 48, .12);
  --shadow: 0 18px 60px rgba(83, 55, 68, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shell: min(1180px, calc(100% - 40px));
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; 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.7; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; padding: 10px 14px; background: var(--ink-strong); color: var(--white); border-radius: 10px; transform: translateY(-180%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(47,37,48,.07); background: rgba(255,249,246,.94); backdrop-filter: blur(18px); }
.header-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; background: var(--soft); box-shadow: 0 8px 24px rgba(217,63,99,.12); }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { color: var(--ink-strong); font-size: 1.08rem; letter-spacing: .04em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-size: .94rem; transition: background .2s ease, color .2s ease, transform .2s ease; }
.nav-link:hover, .nav-link:focus-visible { color: var(--ink-strong); background: var(--soft); outline: none; }
.nav-link.is-active { color: var(--white); background: var(--ink-strong); }
.menu-toggle { display: none; border: 1px solid var(--border); background: var(--white); color: var(--ink-strong); width: 44px; height: 44px; border-radius: 14px; }

main { overflow: clip; }
.eyebrow { margin: 0 0 12px; color: var(--brand-strong); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: 54px; align-items: center; padding-block: 70px 74px; }
.hero-copy h1, .page-hero h1, .catalog-hero h1 { margin: 0; color: var(--ink-strong); font-size: clamp(2.45rem, 5vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; }
.hero-lead, .page-hero p, .catalog-hero p { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; font-weight: 750; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(232,93,117,.28); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--brand-strong); box-shadow: 0 12px 28px rgba(217,63,99,.22); }
.button-primary:hover { background: #c93355; }
.button-ghost { color: var(--ink-strong); background: rgba(255,255,255,.64); border-color: var(--border); }
.button-ghost:hover { background: var(--white); box-shadow: var(--shadow); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-media { position: relative; min-height: 520px; padding: 22px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #f5d8de, #fff4e8); }
.hero-media::before { content: ''; position: absolute; inset: 8% 12% auto auto; width: 110px; height: 110px; border-radius: 50%; background: rgba(242,166,90,.26); filter: blur(2px); }
.hero-media img { position: relative; width: 100%; height: 520px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.hero-caption { position: absolute; left: 42px; right: 42px; bottom: 42px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-radius: 16px; color: var(--white); background: rgba(47,37,48,.82); backdrop-filter: blur(10px); }
.hero-caption span { font-size: .78rem; color: rgba(255,255,255,.7); }
.hero-caption strong { font-size: 1rem; }

.section { padding-block: 84px; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink-strong); color: var(--white); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .related-intro h2, .watch-band h2, .reading-note h2 { margin: 0; color: var(--ink-strong); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.12; letter-spacing: -.03em; }
.section-heading > p:last-child, .related-intro > p, .watch-band-copy > p, .reading-note > div > p { margin: 16px 0 0; color: var(--muted); }
.split-heading { max-width: none; display: grid; grid-template-columns: 1fr .72fr; gap: 56px; align-items: end; }
.split-heading > p { margin: 0; padding-bottom: 6px; }

.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.work-card { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: rgba(255,255,255,.72); box-shadow: 0 10px 30px rgba(47,37,48,.05); transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-image { display: block; aspect-ratio: 4 / 4.9; overflow: hidden; background: #f1e5e8; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-card:hover .work-image img { transform: scale(1.03); }
.work-body { padding: 20px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span, .mini-label { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 9px; border-radius: 999px; color: #8d3248; background: #fde9ee; font-size: .72rem; font-weight: 750; }
.tag-row span + span { color: #855422; background: #fff0dd; }
.work-body h3 { margin: 14px 0 8px; color: var(--ink-strong); font-size: 1.22rem; }
.work-body p { margin: 0; color: var(--muted); font-size: .9rem; }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--brand-strong); font-weight: 750; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.watch-band { padding-block: 78px; background: linear-gradient(120deg, #fff0ec, #fae8ed 54%, #fff7ec); border-block: 1px solid rgba(232,93,117,.12); }
.watch-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.watch-band img { width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; }
.inline-links a { color: var(--brand-strong); font-weight: 750; }
.inline-links a:hover { text-decoration: underline; }

.compact-list { display: grid; border-top: 1px solid var(--border); }
.compact-item { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 24px 4px; border-bottom: 1px solid var(--border); transition: padding .2s ease, background .2s ease; }
.compact-item:hover { padding-inline: 16px; background: rgba(255,255,255,.72); }
.compact-item h3 { margin: 8px 0 6px; font-size: 1.32rem; }
.compact-item p { max-width: 840px; margin: 0; color: var(--muted); }
.compact-item > strong { align-self: center; font-size: 1.5rem; color: var(--brand-strong); }

.related-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.related-intro { position: sticky; top: 112px; }
.related-intro .button { margin-top: 24px; }
.related-stack { display: grid; gap: 14px; }
.related-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 18px; padding: 14px; border-radius: 20px; background: var(--white); border: 1px solid rgba(47,37,48,.08); transition: transform .2s ease, box-shadow .2s ease; }
.related-card:hover { transform: translateX(5px); box-shadow: 0 12px 36px rgba(47,37,48,.08); }
.related-card img { width: 150px; height: 112px; object-fit: cover; border-radius: 14px; }
.related-card span { display: grid; }
.related-card small { color: var(--brand-strong); font-weight: 800; }
.related-card strong { margin-top: 4px; color: var(--ink-strong); font-size: 1.08rem; }
.related-card em { margin-top: 5px; color: var(--muted); font-style: normal; font-size: .86rem; }

.home-index { display: grid; grid-template-columns: .52fr 1.48fr; gap: 60px; align-items: start; }
.home-index h2 { margin: 0; color: var(--ink-strong); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.13; }
.index-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.index-links a { position: relative; display: grid; min-height: 170px; padding: 24px; border-radius: 22px; border: 1px solid var(--border); background: var(--white); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.index-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.index-links span { color: var(--brand); font-size: .74rem; font-weight: 850; }
.index-links strong { align-self: end; margin-top: 32px; color: var(--ink-strong); font-size: 1.18rem; }
.index-links em { margin-top: 4px; color: var(--muted); font-size: .84rem; font-style: normal; }

.page-hero, .catalog-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 72px; }
.page-hero img, .catalog-hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); background: var(--soft); }
.narrow-hero h1, .desktop-hero h1, .catalog-hero h1 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); }

.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.guide-card { min-height: 260px; padding: 24px; border: 1px solid var(--border); border-radius: 22px; background: var(--white); }
.guide-card > span { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 13px; color: var(--brand-strong); background: #fff0f3; font-weight: 850; }
.guide-card h3 { margin: 28px 0 10px; color: var(--ink-strong); font-size: 1.13rem; }
.guide-card p { margin: 0; color: var(--muted); font-size: .91rem; }

.split-content { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.split-content h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.12; }
.split-content > div:first-child > p:last-child { color: var(--muted); }
.simple-work-list { display: grid; border-top: 1px solid var(--border); }
.simple-work-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--border); }
.simple-work-list a span { display: grid; gap: 3px; }
.simple-work-list small { color: var(--muted); }
.simple-work-list strong { color: var(--ink-strong); }
.simple-work-list em { color: var(--brand-strong); font-style: normal; font-size: .82rem; font-weight: 750; }

.reading-note { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.reading-note img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.check-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-strong); font-weight: 900; }

.faq-list { display: grid; border-top: 1px solid var(--border); }
.faq-list details { padding: 0; border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; position: relative; padding: 22px 42px 22px 0; color: var(--ink-strong); font-weight: 780; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: 18px; font-size: 1.4rem; color: var(--brand-strong); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 850px; margin: -4px 0 22px; color: var(--muted); }

.desktop-flow { padding-block: 86px; }
.invert h2 { color: var(--white); }
.invert .eyebrow { color: #ffc4cf; }
.flow-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.flow-steps li { min-height: 250px; padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.05); }
.flow-steps li > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 850; }
.flow-steps strong { display: block; margin-top: 44px; font-size: 1.08rem; }
.flow-steps p { margin: 8px 0 0; color: rgba(255,255,255,.68); font-size: .9rem; }

.comparison-table { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: var(--white); }
.comparison-row { display: grid; grid-template-columns: .65fr 1fr 1fr; }
.comparison-row > * { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.comparison-row > * + * { border-left: 1px solid var(--border); }
.comparison-row:last-child > * { border-bottom: 0; }
.comparison-head { background: var(--soft); color: var(--ink-strong); font-weight: 850; }
.comparison-row span { color: var(--muted); }

.catalog-hero { padding-bottom: 48px; }
.catalog-section { padding-top: 24px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 18px 28px; padding: 22px; border-radius: 22px; background: var(--soft); border: 1px solid rgba(232,93,117,.1); }
.filter-bar fieldset { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.filter-bar legend { width: 100%; margin-bottom: 8px; color: var(--ink-strong); font-size: .8rem; font-weight: 850; }
.filter-bar label { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--muted); cursor: pointer; }
.filter-bar input { accent-color: var(--brand-strong); margin-right: 6px; }
.clear-filter { align-self: center; color: var(--brand-strong); font-weight: 750; }
.catalog-result-meta { display: flex; justify-content: space-between; gap: 20px; margin: 34px 0 18px; color: var(--muted); }
.catalog-result-meta strong { color: var(--ink-strong); }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.catalog-card { display: grid; grid-template-columns: 180px 1fr; overflow: hidden; min-height: 310px; border: 1px solid var(--border); border-radius: 22px; background: var(--white); }
.catalog-cover { min-height: 100%; overflow: hidden; background: var(--soft); }
.catalog-cover img { width: 100%; height: 100%; object-fit: cover; }
.catalog-copy { padding: 22px; }
.catalog-copy h2 { margin: 14px 0 8px; font-size: 1.28rem; }
.catalog-copy p { margin: 0; color: var(--muted); font-size: .9rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip-row span { padding: 4px 8px; border-radius: 7px; color: var(--muted); background: #f6f2f3; font-size: .72rem; }
.empty-state { padding: 64px 24px; text-align: center; border: 1px dashed var(--border); border-radius: 22px; }
.empty-state h2 { margin: 0; }
.empty-state p { color: var(--muted); }

.work-detail { display: grid; grid-template-columns: .84fr 1.16fr; gap: 58px; align-items: start; padding-block: 64px 84px; }
.work-detail-media { position: sticky; top: 110px; padding: 18px; border-radius: var(--radius-xl); background: linear-gradient(145deg, #f8e9ed, #fff0df); }
.work-detail-media img { width: 100%; max-height: 730px; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.work-detail-copy h1 { margin: 16px 0 0; color: var(--ink-strong); font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.04em; }
.work-summary { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.work-description, .work-highlights { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--border); }
.work-description h2, .work-highlights h2 { margin: 0 0 12px; color: var(--ink-strong); font-size: 1.25rem; }
.work-description p { margin: 0; }
.work-highlights ul { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.related-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.related-detail-card { min-height: 190px; padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid rgba(47,37,48,.08); }
.related-detail-card strong { display: block; margin-top: 28px; color: var(--ink-strong); font-size: 1.12rem; }
.related-detail-card p { margin: 8px 0 0; color: var(--muted); font-size: .86rem; }

.not-found { min-height: 68vh; display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; padding-block: 70px; }
.not-found h1 { margin: 0; color: var(--ink-strong); font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.05em; }
.not-found p { max-width: 650px; color: var(--muted); }
.not-found img { border-radius: var(--radius-xl); box-shadow: var(--shadow); }

.site-footer { margin-top: 30px; padding-top: 52px; color: rgba(255,255,255,.72); background: var(--ink-strong); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid p { margin: 0; }
.footer-brand { color: var(--white); font-size: 1.18rem; font-weight: 850; }
.footer-title { color: var(--white); font-weight: 780; margin-bottom: 4px !important; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 42px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.09); font-size: .82rem; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border: 0; border-radius: 50%; color: var(--white); background: var(--brand-strong); box-shadow: 0 10px 30px rgba(217,63,99,.3); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero, .page-hero, .catalog-hero { grid-template-columns: 1fr 1fr; gap: 34px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .guide-grid, .flow-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .related-detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .catalog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 28px, 720px); }
  .header-shell { min-height: 70px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { position: fixed; top: 78px; left: 14px; right: 14px; display: none; padding: 12px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .site-nav.is-open { display: grid; }
  .nav-link { padding: 13px 14px; }
  .hero, .page-hero, .catalog-hero, .watch-band-grid, .split-content, .reading-note, .work-detail, .not-found { grid-template-columns: 1fr; }
  .hero { padding-block: 46px 54px; }
  .hero-media { min-height: auto; }
  .hero-media img { height: auto; aspect-ratio: 1 / 1.04; }
  .split-heading, .related-layout, .home-index { grid-template-columns: 1fr; gap: 28px; }
  .related-intro, .work-detail-media { position: static; }
  .section { padding-block: 62px; }
  .catalog-card { grid-template-columns: 150px 1fr; }
  .footer-grid { grid-template-columns: 1.25fr 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 24px); --radius-xl: 26px; --radius-lg: 20px; }
  .brand-logo { width: 42px; height: 42px; border-radius: 13px; }
  .brand-copy strong { font-size: 1rem; }
  .hero-copy h1, .page-hero h1, .catalog-hero h1, .work-detail-copy h1 { font-size: clamp(2.1rem, 12vw, 3.5rem); }
  .hero-lead, .page-hero p, .catalog-hero p { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-points { display: grid; gap: 8px; }
  .hero-media { padding: 14px; }
  .hero-caption { left: 26px; right: 26px; bottom: 26px; }
  .work-grid, .guide-grid, .flow-steps, .index-links, .related-detail-grid { grid-template-columns: 1fr; }
  .work-grid { gap: 16px; }
  .work-image { aspect-ratio: 16 / 11; }
  .watch-band { padding-block: 58px; }
  .compact-item { grid-template-columns: 1fr; gap: 8px; }
  .compact-item > strong { display: none; }
  .related-card { grid-template-columns: 110px 1fr; }
  .related-card img { width: 110px; height: 92px; }
  .catalog-card { grid-template-columns: 1fr; }
  .catalog-cover { aspect-ratio: 16 / 9; }
  .catalog-result-meta { display: grid; gap: 3px; }
  .comparison-table { overflow-x: auto; }
  .comparison-row { min-width: 660px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.prose-band { border-top: 1px solid var(--border); }
.prose-columns { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.prose-columns p { margin: 0; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid var(--border); color: var(--muted); }
.catalog-context { margin: 26px 0 32px; }
@media (max-width: 820px) { .prose-columns { grid-template-columns: 1fr; } }

/* Dense catalog refinements for longer content indexes */
.catalog-grid .catalog-card:nth-child(3n + 1) .catalog-cover { background: #f9e9ee; }
.catalog-grid .catalog-card:nth-child(3n + 2) .catalog-cover { background: #fff0e2; }
.catalog-grid .catalog-card:nth-child(3n + 3) .catalog-cover { background: #f6ecef; }
.catalog-card:focus-within { outline: 3px solid rgba(232,93,117,.18); outline-offset: 3px; }
.catalog-copy h2 a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.catalog-copy h2 a:hover { color: var(--brand-strong); text-decoration: underline; }
.filter-bar.has-change { box-shadow: 0 0 0 3px rgba(242,166,90,.12); }
.filter-bar label:has(input:checked) { color: #7f2840; border-color: rgba(217,63,99,.24); background: #fff5f7; }
.filter-bar label:hover { border-color: rgba(217,63,99,.28); }
.filter-bar input:focus-visible { outline: 3px solid rgba(217,63,99,.2); outline-offset: 2px; }

.work-card a:focus-visible,
.compact-item:focus-visible,
.related-card:focus-visible,
.index-links a:focus-visible,
.simple-work-list a:focus-visible,
.related-detail-card:focus-visible,
.catalog-card a:focus-visible,
.footer-grid a:focus-visible {
  outline: 3px solid rgba(232,93,117,.26);
  outline-offset: 4px;
  border-radius: 8px;
}

.work-detail-copy .chip-row { margin-top: 18px; }
.work-highlights li::marker { color: var(--brand-strong); }
.related-detail-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.related-detail-card:hover { transform: translateY(-3px); border-color: rgba(217,63,99,.18); box-shadow: 0 15px 34px rgba(47,37,48,.08); }

.page-watch .page-hero,
.page-desktop .page-hero,
.page-catalog .catalog-hero { position: relative; }
.page-watch .page-hero::after,
.page-desktop .page-hero::after,
.page-catalog .catalog-hero::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -150px;
  top: 30px;
  background: rgba(242,166,90,.10);
  pointer-events: none;
}

@supports not selector(:has(*)) {
  .filter-bar label { transition: background .2s ease, border-color .2s ease; }
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover .text-link span,
  .compact-item:hover > strong { transform: translateX(3px); }
  .text-link span,
  .compact-item > strong { transition: transform .2s ease; }
}

@media (max-width: 420px) {
  .filter-bar { padding: 16px; gap: 16px; }
  .filter-bar fieldset { gap: 7px; }
  .filter-bar label { min-height: 36px; padding-inline: 10px; font-size: .86rem; }
  .catalog-copy { padding: 18px; }
  .work-body { padding: 18px; }
  .guide-card { min-height: auto; }
  .flow-steps li { min-height: auto; }
  .hero-caption { position: static; margin-top: 12px; }
}

/* FAQ density and long-page reading comfort */
.faq-block { scroll-margin-top: 94px; }
.faq-list details[open] { background: rgba(255,255,255,.44); }
.faq-list details[open] summary { color: var(--brand-strong); }
.faq-list summary:focus-visible { outline: 3px solid rgba(232,93,117,.22); outline-offset: 4px; border-radius: 8px; }
.prose-band .section-heading { margin-bottom: 24px; }
.prose-columns p { line-height: 1.82; }
@media (min-width: 1180px) {
  .page-work .site-footer { margin-top: 0; }
  .page-catalog .catalog-grid { align-items: stretch; }
  .page-catalog .catalog-card { min-height: 330px; }
}

/* Progressive presentation: content is visible by default and gains subtle motion only when JS marks it. */
.js .work-card,
.js .catalog-card,
.js .related-detail-card { opacity: 1; }
.work-card.is-seen,
.catalog-card.is-seen,
.related-detail-card.is-seen { opacity: 1; }

::selection { background: rgba(232,93,117,.22); color: var(--ink-strong); }
:where(h1,h2,h3,p,li,a,span,strong,em) { overflow-wrap: anywhere; }
:where(.section, .page-hero, .catalog-hero, .work-detail) { scroll-margin-top: 92px; }

@media (min-width: 821px) {
  .site-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,93,117,.16), transparent);
    pointer-events: none;
  }
  .work-card:nth-child(4n + 2) { transform-origin: 50% 100%; }
  .work-card:nth-child(4n + 3) { transform-origin: 50% 0; }
  .catalog-card:nth-child(even) .catalog-cover img { object-position: 50% 42%; }
}

@media (max-width: 820px) {
  html.menu-open, html.menu-open body { overflow: hidden; }
  .site-nav.is-open { max-height: calc(var(--vh, 1vh) * 70); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav.is-open::before { content: '内容导航'; padding: 6px 12px 2px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
  .page-hero img, .catalog-hero img { max-height: 420px; }
  .work-detail-media img { max-height: 600px; }
  .catalog-context { margin-top: 18px; }
}

@media (max-width: 580px) {
  .section-heading { margin-bottom: 26px; }
  .section-heading h2, .related-intro h2, .watch-band h2, .reading-note h2 { font-size: clamp(1.65rem, 8.5vw, 2.45rem); }
  .page-hero, .catalog-hero { padding-block: 44px; }
  .work-detail { padding-block: 44px 60px; gap: 32px; }
  .work-detail-media { padding: 12px; }
  .work-detail-copy .tag-row { margin-top: 2px; }
  .work-description, .work-highlights { margin-top: 30px; padding-top: 22px; }
  .faq-list summary { padding-block: 18px; }
  .faq-list summary::after { top: 14px; }
  .prose-columns p { padding: 18px; }
}

@media print {
  .site-header, .site-footer, .back-top, .hero-actions, .filter-bar { display: none !important; }
  body { background: #fff; color: #000; }
  main { overflow: visible; }
  .shell { width: 100%; }
  .section, .hero, .page-hero, .catalog-hero, .work-detail { padding-block: 20px; }
  a { color: inherit; text-decoration: none; }
  img { max-height: 420px; object-fit: contain; }
}
