/* 红果漫剧：响应式内容平台样式 */
:root {
  --brand: #E85D75;
  --brand-strong: #D93F63;
  --accent: #F2A65A;
  --ink: #332D34;
  --ink-strong: #2F2530;
  --muted: #756A73;
  --paper: #FFF9F6;
  --paper-soft: #F8EEF0;
  --line: #E8DADD;
  --white: #FFFFFF;
  --shadow-sm: 0 8px 24px rgba(47, 37, 48, .08);
  --shadow-md: 0 18px 48px rgba(47, 37, 48, .12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --content: min(1180px, calc(100vw - 40px));
  --header-h: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font: 16px/1.72 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(217, 63, 99, .46); outline-offset: 3px; }
::selection { background: #f7bfd0; color: var(--ink-strong); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; border-radius: 10px; background: var(--ink-strong); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; min-height: var(--header-h); background: rgba(255, 249, 246, .94); border-bottom: 1px solid rgba(232,218,221,.8); backdrop-filter: blur(16px); }
.header-shell { width: var(--content); min-height: var(--header-h); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand-mark img { width: 44px; height: 44px; object-fit: cover; border-radius: 14px; box-shadow: 0 5px 14px rgba(217,63,99,.18); }
.brand-mark span { display: grid; line-height: 1.1; gap: 5px; }
.brand-mark strong { color: var(--ink-strong); font-size: 1.08rem; letter-spacing: .02em; }
.brand-mark small { color: var(--muted); font-size: .76rem; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 650; padding: 10px 13px; border-radius: 999px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.site-nav a:hover { color: var(--ink-strong); background: var(--paper-soft); }
.site-nav a.is-current, .site-nav a[aria-current="page"] { color: var(--brand-strong); background: #FBE3E9; }
.site-nav .nav-search { border: 1px solid var(--line); color: var(--ink-strong); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-button span[aria-hidden="true"] { width: 19px; height: 2px; background: var(--ink-strong); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] span[aria-hidden="true"]:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span[aria-hidden="true"]:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span[aria-hidden="true"]:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
main { min-height: 65vh; }
.hero, .page-hero, .catalog-head, .search-page { width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(34px, 6vw, 88px); padding: clamp(54px, 8vw, 104px) 0 70px; }
.hero__copy, .page-hero > div, .catalog-head > div, .search-intro { max-width: 720px; }
.eyebrow { margin: 0 0 12px; color: var(--brand-strong); font-size: .82rem; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
h1, h2, h3 { margin-top: 0; color: var(--ink-strong); line-height: 1.18; letter-spacing: -.02em; }
h1 { font-size: clamp(2.45rem, 6vw, 5.6rem); margin-bottom: 24px; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3.3rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
p { margin-top: 0; }
.hero__lead, .page-hero > div > p, .catalog-head > div > p, .search-intro > p { color: var(--muted); font-size: clamp(1.03rem, 1.4vw, 1.18rem); max-width: 66ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 20px; font-weight: 800; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #fff; background: var(--brand-strong); box-shadow: 0 10px 24px rgba(217, 63, 99, .24); }
.button--primary:hover { background: #c92f53; box-shadow: 0 14px 30px rgba(217, 63, 99, .3); }
.button--ghost { color: var(--ink-strong); background: rgba(255,255,255,.65); border-color: var(--line); }
.button--ghost:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.text-link { font-weight: 800; color: var(--brand-strong); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; }
.hero__facts li::before { content: "•"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.hero__media, .page-hero img, .catalog-head img, .search-page > img { margin: 0; position: relative; }
.hero__media img, .page-hero img, .catalog-head img, .search-page > img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; background: var(--paper-soft); box-shadow: var(--shadow-md); }
.hero__media figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.content-band, .highlight-strip, .faq-section, .desktop-grid-section, .search-results, .catalog-results { width: var(--content); margin: 0 auto; padding: 78px 0; }
.content-band--soft { width: 100%; max-width: none; background: var(--paper-soft); padding-left: max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2)); padding-right: max(20px, calc((100vw - min(1180px, calc(100vw - 40px))) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p:last-child { color: var(--muted); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .7fr); gap: 36px; align-items: end; }
.section-heading--split > p { margin-bottom: 18px; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.work-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-card { min-width: 0; padding: 24px; border-radius: var(--radius-md); border: 1px solid var(--line); background: rgba(255,255,255,.78); box-shadow: 0 8px 20px rgba(47,37,48,.035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #e1c7ce; }
.work-card h3 { font-size: 1.2rem; }
.work-card p { color: var(--muted); margin-bottom: 16px; }
.work-card--compact { padding: 21px; }
.work-card--compact p { margin-bottom: 0; }
.work-card__meta, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.work-card__meta { margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px; border-radius: 999px; background: #FCE1E7; color: #A72D49; font-size: .78rem; font-weight: 800; }
.pill--soft { background: #FFF0D9; color: #92571F; }
.tag-row { color: var(--muted); font-size: .82rem; }
.section-actions { margin-top: 24px; }
.watch-split, .desktop-callout, .keyboard-panel, .reading-layout { width: var(--content); margin: 0 auto; display: grid; gap: clamp(30px, 6vw, 78px); align-items: center; padding: 84px 0; }
.watch-split { grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); }
.watch-split__media img, .desktop-callout img, .keyboard-panel img, .reading-layout__aside img { width: 100%; border-radius: var(--radius-lg); background: var(--paper-soft); box-shadow: var(--shadow-sm); }
.watch-split__copy > p { color: var(--muted); }
.mini-list { display: grid; gap: 12px; margin: 28px 0; }
.mini-list article { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.mini-list article h3 { margin-bottom: 5px; }
.mini-list article p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.highlight-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.highlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.highlight-grid article { background: var(--paper); padding: 26px; }
.highlight-grid article p { color: var(--muted); margin-bottom: 0; }
.desktop-callout { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); }
.desktop-callout > div { padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--ink-strong); color: #fff; }
.desktop-callout > div h2 { color: #fff; }
.desktop-callout > div p { color: #e8dfe2; }
.desktop-callout .text-link { color: #FFD2DC; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); }
.faq-list summary { cursor: pointer; padding: 18px 54px 18px 20px; list-style: none; font-weight: 800; color: var(--ink-strong); position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 1.5rem; color: var(--brand-strong); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 20px; color: var(--muted); margin: 0; max-width: 82ch; }
.page-hero h1, .catalog-head h1, .search-page h1 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
.page-hero--watch { padding-bottom: 56px; }
.page-hero--desktop { padding-bottom: 48px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: guide; }
.guide-card { position: relative; min-height: 230px; padding: 66px 24px 24px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); }
.guide-card::before { counter-increment: guide; content: "0" counter(guide); position: absolute; top: 20px; left: 22px; color: var(--brand-strong); font-weight: 900; letter-spacing: .08em; }
.guide-card p { color: var(--muted); margin-bottom: 0; }
.reading-layout { grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: start; }
.reading-layout__main > p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; }
.reading-layout__aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.reading-layout__aside img { margin-bottom: 18px; }
.reading-layout__aside ul { margin: 0; padding-left: 20px; color: var(--muted); }
.reading-layout__aside li + li { margin-top: 8px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.step-list li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.step-list li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-soft); color: var(--brand-strong); font-weight: 900; }
.step-list p { color: var(--muted); margin-bottom: 0; }
.keyboard-panel { grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr); }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check-list li { padding: 12px 14px; border-radius: 12px; background: var(--paper-soft); }
.check-list li::before { content: "✓"; color: var(--brand-strong); margin-right: 8px; font-weight: 900; }
.catalog-head { padding-bottom: 40px; }
.filter-panel { width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(220px,.65fr) minmax(0,1.35fr); gap: 40px; align-items: start; padding: 28px; border-radius: var(--radius-md); background: var(--paper-soft); border: 1px solid var(--line); }
.filter-panel h2 { font-size: clamp(1.4rem,2.5vw,2.15rem); margin-bottom: 0; }
.filter-groups { display: grid; gap: 18px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group strong { min-width: 48px; color: var(--ink-strong); }
.filter-group a { padding: 8px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-weight: 700; }
.filter-group a[aria-current="page"] { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.result-summary { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.result-summary h2 { margin-bottom: 0; font-size: clamp(1.55rem,3vw,2.4rem); }
.result-summary p { color: var(--muted); margin-bottom: 3px; }
.empty-state { padding: 44px; border-radius: var(--radius-md); background: var(--white); border: 1px dashed #d6bfc5; text-align: center; }
.empty-state p { color: var(--muted); max-width: 56ch; margin: 0 auto 22px; }
.search-page { padding-bottom: 48px; }
.search-form { margin-top: 26px; }
.search-form label { display: block; font-weight: 800; margin-bottom: 8px; }
.search-form > div { display: flex; gap: 10px; max-width: 720px; }
.search-form input { flex: 1; min-width: 0; min-height: 50px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 0 18px; color: var(--ink); }
.search-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(232,93,117,.1); outline: none; }
.page-result-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-bottom: 32px; }
.page-result-list article { padding: 22px; border-radius: var(--radius-md); background: var(--paper-soft); border: 1px solid var(--line); }
.page-result-list h3 a { color: var(--brand-strong); }
.page-result-list p { color: var(--muted); margin-bottom: 0; }
.error-page { width: min(760px, calc(100vw - 40px)); margin: 0 auto; text-align: center; padding: 120px 0; }
.error-page h1 { font-size: clamp(2.4rem,7vw,5rem); }
.error-page > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.error-page .hero__actions { justify-content: center; }
.site-footer { margin-top: 70px; border-top: 1px solid var(--line); background: #F5E9EC; }
.footer-shell { width: var(--content); margin: 0 auto; display: flex; justify-content: space-between; gap: 36px; padding: 46px 0 30px; }
.footer-shell > div { max-width: 480px; }
.footer-shell strong { font-size: 1.2rem; color: var(--ink-strong); }
.footer-shell p { color: var(--muted); margin: 8px 0 0; }
.footer-shell nav { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; gap: 10px 18px; }
.footer-shell nav a { color: var(--muted); font-weight: 700; }
.footer-bottom { width: var(--content); margin: 0 auto; padding: 18px 0 28px; border-top: 1px solid #dfd0d4; color: var(--muted); font-size: .9rem; }
@media (max-width: 1080px) {
  .work-grid, .work-grid--four { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero, .page-hero, .catalog-head, .search-page { grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); gap: 42px; }
}
@media (max-width: 860px) {
  :root { --content: min(100% - 32px, 760px); --header-h: 68px; }
  .menu-button { display: inline-flex; }
  .site-nav { position: fixed; top: var(--header-h); left: 16px; right: 16px; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-md); transform-origin: top center; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .site-nav[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .site-nav a { padding: 12px 14px; }
  .hero, .page-hero, .catalog-head, .search-page, .watch-split, .desktop-callout, .keyboard-panel, .reading-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero__media, .page-hero > img, .catalog-head > img, .search-page > img { max-width: 680px; }
  .work-grid, .work-grid--three, .work-grid--four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading--split { grid-template-columns: 1fr; gap: 0; }
  .step-list { grid-template-columns: 1fr; }
  .reading-layout__aside { position: static; }
  .filter-panel { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  :root { --content: calc(100% - 24px); }
  body { font-size: 15.5px; }
  h1 { font-size: clamp(2.15rem,13vw,3.45rem); }
  h2 { font-size: clamp(1.65rem,8vw,2.4rem); }
  .brand-mark img { width: 40px; height: 40px; }
  .brand-mark small { display: none; }
  .hero, .page-hero, .catalog-head, .search-page { padding-top: 40px; padding-bottom: 44px; gap: 30px; }
  .content-band, .highlight-strip, .faq-section, .desktop-grid-section, .search-results, .catalog-results { padding: 56px 0; }
  .content-band--soft { padding-left: 12px; padding-right: 12px; }
  .work-grid, .work-grid--three, .work-grid--four, .guide-grid, .highlight-grid, .page-result-list { grid-template-columns: 1fr; }
  .work-card { padding: 20px; }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .hero__facts { display: grid; gap: 8px; }
  .watch-split, .desktop-callout, .keyboard-panel, .reading-layout { padding: 58px 0; }
  .desktop-callout > div { padding: 26px 22px; }
  .check-list { grid-template-columns: 1fr; }
  .filter-panel { padding: 22px 18px; }
  .filter-group { align-items: stretch; }
  .filter-group strong { width: 100%; }
  .filter-group a { flex: 1 1 auto; text-align: center; }
  .result-summary { align-items: flex-start; flex-direction: column; gap: 6px; }
  .search-form > div { flex-direction: column; }
  .footer-shell { flex-direction: column; }
  .footer-shell nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .hero__actions, .menu-button, .filter-panel, .search-form { display: none !important; }
  body { background: #fff; color: #111; }
  main, .content-band, .highlight-strip, .faq-section, .desktop-grid-section, .search-results, .catalog-results { width: 100%; }
  .work-card, .guide-card, .reading-layout__aside { break-inside: avoid; box-shadow: none; }
}

/* 作品索引的深度浏览说明 */
.catalog-guide-section {
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0 84px;
}
.catalog-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.catalog-guide {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  overflow: clip;
  box-shadow: 0 6px 18px rgba(47,37,48,.035);
}
.catalog-guide summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink-strong);
}
.catalog-guide summary::-webkit-details-marker { display: none; }
.catalog-guide summary::after {
  content: "+";
  position: absolute;
  top: 14px;
  right: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-soft);
  color: var(--brand-strong);
  font-size: 1.2rem;
}
.catalog-guide[open] summary::after { content: "−"; }
.catalog-guide[open] summary { border-bottom: 1px solid var(--line); }
.catalog-guide > div { padding: 22px; }
.catalog-guide > div p { color: var(--muted); }
.catalog-guide > div p:last-child { margin-bottom: 0; }
.catalog-guide__tip {
  position: relative;
  padding: 14px 16px 14px 18px;
  border-radius: 14px;
  background: #FFF3E8;
  color: #6f5140 !important;
}
.catalog-guide__tip::before {
  content: "建议";
  display: inline-block;
  margin-right: 8px;
  color: #9a5b22;
  font-weight: 800;
}
.site-header--scrolled { box-shadow: 0 8px 24px rgba(47,37,48,.055); }
.work-card[data-active="true"] { border-color: #ddb7c1; }
.faq-list details[data-visited="true"] summary { color: #7a3348; }
@media (max-width: 760px) {
  .catalog-guide-grid { grid-template-columns: 1fr; }
  .catalog-guide-section { padding-bottom: 58px; }
}
.desktop-reference {
  width: var(--content);
  margin: 0 auto;
  padding: 20px 0 84px;
}
.desktop-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.desktop-reference-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(248,238,240,.68));
}
.desktop-reference-grid article h3 { font-size: 1.08rem; }
.desktop-reference-grid article p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 680px) {
  .desktop-reference-grid { grid-template-columns: 1fr; }
  .desktop-reference { padding-bottom: 58px; }
}
.web-reference {
  width: var(--content);
  margin: 0 auto;
  padding: 18px 0 74px;
}
.web-reference-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.web-reference-list article { background: var(--paper); padding: 22px; }
.web-reference-list h3 { font-size: 1.02rem; }
.web-reference-list p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }
@media (max-width: 1050px) { .web-reference-list { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 700px) { .web-reference-list { grid-template-columns: 1fr; } .web-reference { padding-bottom: 48px; } }
.browse-note-section {
  width: var(--content);
  margin: 0 auto;
  padding: 70px 0 28px;
}
.browse-note-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.browse-note-grid article {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.68);
}
.browse-note-grid article::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--accent);
}
.browse-note-grid h3 { font-size: 1.04rem; }
.browse-note-grid p { color: var(--muted); margin-bottom: 0; font-size: .94rem; }
@media (max-width: 980px) { .browse-note-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .browse-note-grid { grid-template-columns: 1fr; } .browse-note-section { padding-top: 52px; } }
