/* 饼干百科：仅使用本地资源和系统字体。 */
:root { color-scheme: light; --ink: #203a3b; --deep: #1a4245; --muted: #405f62; --paper: #fffdf8; --wash: #eef5f8; --line: #d0e0e2; --sun: #ffd56a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wash); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
::selection { background: #bfe6fa; color: var(--deep); }
a { color: var(--deep); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #20707c; outline-offset: 4px; border-radius: 3px; }
.skip-link { position: absolute; z-index: 5; left: 12px; top: -100px; padding: .5rem 1rem; background: var(--paper); }
.skip-link:focus { top: 12px; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .page-shell, .footer-inner { width: min(100% - 48px, 1040px); margin: 0 auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { color: var(--ink); font-size: 1.2rem; font-weight: 800; text-decoration: none; letter-spacing: .01em; }
.brand span { margin-left: .55rem; color: var(--muted); font-size: .78rem; font-weight: 500; }
.home-link { font-size: .92rem; font-weight: 650; white-space: nowrap; }
.page-shell { padding: 48px 0 72px; }
h1, h2 { line-height: 1.35; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(1.85rem, 4vw, 2.65rem); letter-spacing: -.025em; }
h2 { font-size: 1.2rem; }
.welcome { max-width: 740px; padding: 12px 0 35px; }
.site-path { margin: 0 0 18px; color: var(--muted); font-size: .85rem; }
.welcome h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.welcome-copy { max-width: 40em; margin: 22px 0 0; color: var(--muted); }
.document-section { border-top: 1px solid #b8d0d3; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 24px 0 8px; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading p { color: var(--muted); font-size: .86rem; }
.document-list { list-style: none; padding: 0; margin: 0; }
.document-list li { border-bottom: 1px solid #bfd3d5; }
.document-list a { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(250px, 1.5fr) auto; gap: 20px; align-items: center; min-height: 82px; padding: 14px 4px; color: inherit; text-decoration: none; }
.document-list a:hover .item-title, .document-list a:hover .item-action { text-decoration: underline; text-underline-offset: .25em; }
.item-title { font-size: 1.05rem; font-weight: 750; }
.item-description { color: var(--muted); font-size: .94rem; }
.item-action { color: var(--deep); font-weight: 700; white-space: nowrap; }
.contact-note { margin-top: 42px; padding: 24px 28px; background: #fff3d6; border-radius: 14px; }
.contact-note h2 { margin: 0 0 8px; }
.contact-note p { margin: 4px 0; }
.legal-article { max-width: 790px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.legal-article h1 { padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.legal-article h1 + p { color: var(--muted); font-size: .94rem; line-height: 2; }
.legal-article h2 { margin: 2.2em 0 .65em; }
.legal-article p { margin: .8em 0; }
.legal-article ul { padding-left: 1.4em; }
.legal-article li { margin: .65em 0; padding-left: .2em; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { width: 100%; min-width: 480px; border-collapse: collapse; text-align: left; font-size: .94rem; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eef5f4; }
.site-footer { background: #dcebed; }
.footer-inner { padding: 28px 0 38px; }
.footer-inner p { margin: 0 0 12px; font-size: .9rem; font-weight: 700; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-inner nav a { font-size: .84rem; }
.footer-inner nav a[aria-current="page"] { font-weight: 800; }
@media (max-width: 600px) {
  .header-inner, .page-shell, .footer-inner { width: min(100% - 32px, 1040px); }
  .header-inner { min-height: 66px; }
  .brand span { display: block; margin: -5px 0 0; font-size: .72rem; }
  .page-shell { padding: 32px 0 48px; }
  .welcome { padding: 8px 0 30px; }
  .section-heading { align-items: start; flex-direction: column; gap: 2px; }
  .document-list a { grid-template-columns: 1fr auto; gap: 0 12px; padding: 16px 2px; }
  .item-description { grid-column: 1; }
  .item-action { grid-column: 2; grid-row: 1 / span 2; font-size: .9rem; }
  .legal-article { padding: 24px 20px; }
  table { min-width: 0; table-layout: fixed; font-size: .85rem; }
  th, td { padding: 8px 5px; }
  th:first-child, td:first-child { width: 24%; }
  th:nth-child(2), td:nth-child(2) { width: 25%; }
  .contact-note { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
