@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root { color-scheme: light; font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #202124; background: #fff; font-synthesis: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: #1a73e8; }
img { display: block; }
::selection { background: #d2e3fc; }
.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; }
.page-shell { max-width: 1160px; margin: auto; padding-left: 32px; padding-right: 32px; }
.site-header { height: 72px; border-bottom: 1px solid #e8eaed; background: #fff; position: relative; z-index: 5; }
.header-inner { max-width: 1160px; height: 100%; padding: 0 32px; margin: auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 22px; white-space: nowrap; color: #202124; }
.brand:hover { color: #202124; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; transform: rotate(-8deg); }
.brand-mark i { display: block; border-radius: 3px; }
.brand-mark i:nth-child(1) { background: #4285f4; }.brand-mark i:nth-child(2) { background: #ea4335; }.brand-mark i:nth-child(3) { background: #fbbc04; }.brand-mark i:nth-child(4) { background: #34a853; }
.header-caption { color: #80868b; font-size: 12px; padding-left: 25px; border-left: 1px solid #dadce0; }
.header-link { margin-left: auto; font-size: 13px; font-weight: 600; color: #5f6368; padding: 10px 0; }
.site-footer { border-top: 1px solid #e8eaed; max-width: 1096px; margin: 60px auto 0; padding: 24px 0 32px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #9aa0a6; }
.loading { min-height: 65vh; display: grid; place-items: center; color: #5f6368; font-size: 14px; }
.empty-state { min-height: 65vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.empty-state h1 { font-size: 26px; margin: 0 0 8px; }.empty-state p { color: #5f6368; }
.text-button { padding: 9px 16px; border: 1px solid #dadce0; border-radius: 4px; background: white; color: #1a73e8; }
.eyebrow { display: flex; gap: 10px; align-items: center; color: #1a73e8; font-weight: 600; font-size: 12px; }
.eyebrow-line { width: 20px; height: 2px; background: #1a73e8; }

/* The home screen is the collection, rather than a separate promotional page. */
.timeline-page { padding-top: 52px; }
.page-intro h1 { font-size: 42px; font-weight: 600; margin: 15px 0 12px; line-height: 1.25; }
.title-period { color: #fbbc04; }
.page-intro p { margin: 0; color: #5f6368; line-height: 1.8; font-size: 15px; }
.timeline-tools { margin-top: 30px; border-bottom: 1px solid #e8eaed; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-field { display: flex; align-items: center; gap: 13px; height: 48px; width: min(460px, 100%); padding: 0 18px; border: 1px solid #dadce0; border-radius: 24px; box-shadow: 0 1px 3px #2021240b; transition: box-shadow .2s, border-color .2s; }
.search-field:focus-within { border-color: #a8c7fa; box-shadow: 0 2px 8px #2021241c; }
.search-field input { border: 0; outline: 0; min-width: 0; width: 100%; color: #202124; background: transparent; font-size: 14px; }
.search-field input::placeholder { color: #80868b; }
.search-symbol { position: relative; width: 15px; height: 15px; border: 2px solid #5f6368; border-radius: 50%; flex: none; margin-right: 2px; }
.search-symbol:after { content: ''; position: absolute; width: 7px; height: 2px; background: #5f6368; transform: rotate(45deg); top: 12px; left: 11px; border-radius: 2px; }
.work-count { color: #80868b; font-size: 12px; white-space: nowrap; }
.timeline-list { padding-top: 12px; }
.era { display: grid; grid-template-columns: 25px 205px minmax(0, 1fr); min-height: 108px; column-gap: 20px; }
.era-is-empty { min-height: 52px; }
.era-is-empty .era-rail { padding-top: 23px; }.era-is-empty .era-heading { padding-top: 13px; display: flex; align-items: baseline; gap: 10px; }.era-is-empty .era-heading h2 { font-size: 15px; }.era-is-empty .era-content { padding: 12px 0 0; }.era-is-empty .era-empty { padding: 0 0 14px; }
.era-rail { display: flex; flex-direction: column; align-items: center; padding-top: 33px; }
.era-dot { width: 9px; height: 9px; border-radius: 50%; background: #dadce0; flex: none; }
.era-dot-active { width: 13px; height: 13px; margin-top: -2px; background: #1a73e8; box-shadow: 0 0 0 5px #e8f0fe; }
.era-line { width: 1px; flex: 1; margin-top: 11px; background: #e8eaed; }
.era:last-child .era-line { background: transparent; }
.era-heading { padding-top: 25px; }.era-heading h2 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }.era-heading span { font-size: 12px; color: #9aa0a6; }
.era-content { padding: 16px 0 25px; min-width: 0; }
.era-empty { display: block; border-bottom: 1px solid #f1f3f4; color: #bdc1c6; padding: 18px 0 30px; font-size: 13px; }
.work-row { display: flex; align-items: center; gap: 24px; width: 100%; min-height: 160px; padding: 13px; border: 1px solid #e8eaed; border-radius: 7px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.work-row:hover { border-color: #d2e3fc; box-shadow: 0 4px 14px #20212414; transform: translateY(-2px); color: inherit; }
.work-thumb { flex: 0 0 184px; width: 184px; border-radius: 3px; }
.work-info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }.work-info strong { font-size: 18px; font-weight: 600; }.work-info small { font-size: 12px; color: #80868b; }.work-link { margin-top: 10px; font-size: 12px; color: #1a73e8; font-weight: 600; }
.search-empty { padding: 64px 0; text-align: center; color: #80868b; }

.breadcrumb { display: flex; align-items: center; gap: 10px; padding-top: 27px; font-size: 12px; color: #80868b; flex-wrap: wrap; }.breadcrumb a { color: #1a73e8; }
.work-heading { padding: 62px 0 30px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.work-heading h1 { margin: 17px 0 9px; font-size: 40px; font-weight: 600; line-height: 1.32; }.work-heading p { color: #5f6368; margin: 0; font-size: 15px; }
.heading-index { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; color: #5f6368; font-size: 12px; }.heading-index strong { color: #1a73e8; font-weight: 400; font-size: 38px; line-height: 1; }
.work-metadata { display: flex; flex-wrap: wrap; border-top: 1px solid #e8eaed; padding: 17px 0 22px; margin: 0; column-gap: 33px; row-gap: 10px; }.work-metadata div { display: flex; gap: 8px; font-size: 12px; }.work-metadata dt { color: #9aa0a6; }.work-metadata dd { margin: 0; color: #3c4043; }
.artwork-visual { background: #f6f7f5; border-top: 1px solid #edf0eb; border-bottom: 1px solid #edf0eb; }
.visual-inner { padding-top: 28px; padding-bottom: 15px; }
.painting-button, .inscription-image-button { border: 0; padding: 0; display: block; width: 100%; text-align: left; background: transparent; }
.painting-button { max-width: 900px; margin: 0 auto; }.painting-button:focus-visible, .inscription-image-button:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; }
.crop-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: var(--crop-aspect); background: #e7e7dc; }
.crop-frame img { position: absolute; top: calc(-100% * var(--crop-offset-y)); left: calc(-100% * var(--crop-offset)); width: calc(100% * var(--crop-ratio)); height: auto; max-width: none; }
.painting-crop { box-shadow: 0 4px 18px #3c40431c; }
.visual-caption { display: flex; justify-content: space-between; max-width: 900px; margin: 12px auto 0; gap: 12px; font-size: 11px; color: #80868b; }.visual-caption a { color: #5f6368; }
.article-layout { display: grid; grid-template-columns: 202px minmax(0, 1fr); gap: 74px; padding-top: 75px; }.article-content { min-width: 0; max-width: 770px; --reading-size: 19px; }
.nav-sticky { position: sticky; top: 26px; max-height: calc(100vh - 52px); overflow-y: auto; display: flex; flex-direction: column; gap: 3px; border-left: 1px solid #e8eaed; padding: 1px 8px 0 17px; font-size: 12px; }.nav-sticky a { padding: 8px 0; color: #5f6368; }.nav-sticky a:hover { color: #1a73e8; }.nav-sticky a span { color: #9aa0a6; }.nav-sticky .nav-sub { padding-left: 12px; color: #9aa0a6; }
.nav-label { color: #9aa0a6; font-size: 11px; padding-bottom: 13px; }
.section-kicker { color: #1a73e8; font-size: 11px; font-weight: 700; letter-spacing: .08em; }.article-content h2 { font-size: 27px; font-weight: 600; margin: 11px 0 29px; }
.about-section, .inscriptions-section, .inscription { scroll-margin-top: 30px; }.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 34px; }.about-grid div:last-child { grid-column: 1 / -1; border-top: 1px solid #e8eaed; padding-top: 24px; }.about-grid h3 { margin: 0 0 11px; font-size: 13px; }.about-grid p { color: #5f6368; margin: 0; font-size: 14px; line-height: 2; }
.inscriptions-section { margin-top: 95px; }.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }.section-topline h2 { margin-bottom: 7px; }.reading-size { display: flex; align-items: center; gap: 8px; color: #5f6368; white-space: nowrap; font-size: 12px; }.reading-size input { width: 75px; accent-color: #1a73e8; }.reading-size span { min-width: 17px; text-align: right; }
.section-lead { color: #80868b; font-size: 13px; margin: 0 0 40px; line-height: 1.8; }
.inscription { border-top: 1px solid #dadce0; padding-top: 36px; margin-bottom: 85px; }.inscription-heading { display: flex; gap: 22px; align-items: start; margin-bottom: 25px; }.inscription-number { font-size: 26px; color: #dadce0; line-height: 1; font-weight: 500; }.inscription-kind { color: #1a73e8; font-size: 11px; margin-bottom: 8px; }.inscription-heading h3 { font-size: 24px; font-weight: 600; margin: 0 0 10px; }.inscription-heading p { color: #80868b; font-size: 13px; margin: 0; line-height: 1.7; }
.inscription-image-button { position: relative; overflow: hidden; background: #f5f4ee; }.inscription-crop-narrow { width: min(100%, 235px); margin: auto; }.inscription-image-button:hover img { filter: contrast(1.04); }.image-zoom { position: absolute; right: 12px; bottom: 12px; border-radius: 3px; background: #fff; padding: 9px 12px; box-shadow: 0 2px 8px #0002; color: #3c4043; font-size: 11px; }
.image-note { color: #9aa0a6; font-size: 11px; margin-top: 10px; }
.image-note a { color: #5f6368; text-decoration: underline; text-underline-offset: 3px; }
.inscription-image-button.hidden, .image-note.hidden { display: none; }
.passages { margin-top: 34px; }.passage { margin-bottom: 32px; }.passage-label { font-size: 11px; color: #80868b; font-weight: 600; display: flex; align-items: center; gap: 8px; }.passage-label span { color: #1a73e8; }.original { font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif; color: #202124; font-size: calc(var(--reading-size) + 2px); font-weight: 600; line-height: 2.15; margin: 11px 0 18px; overflow-wrap: anywhere; }.translation { border-left: 3px solid #d2e3fc; padding: 0 0 0 18px; }.translation-label { color: #1a73e8; }.translation p { margin: 9px 0 0; font-size: var(--reading-size); line-height: 1.95; color: #5f6368; overflow-wrap: anywhere; }
.original ruby { ruby-position: over; white-space: nowrap; }.original rt { color: #5f6368; font-family: system-ui, sans-serif; font-size: 0.58em; font-weight: 400; line-height: 1; }
.end-mark { border-top: 1px solid #e8eaed; padding-top: 24px; display: flex; justify-content: space-between; color: #9aa0a6; font-size: 12px; }.end-mark a { color: #1a73e8; }
.coverage-note { border-top: 1px solid #e8eaed; padding: 24px 0 28px; color: #5f6368; }.coverage-note strong { font-size: 12px; color: #3c4043; }.coverage-note p { margin: 8px 0 0; font-size: 12px; line-height: 1.9; }
.coverage-note ul { margin: 9px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }.coverage-note a { color: #1967d2; }
.image-dialog { width: min(96vw, 1400px); max-width: none; height: min(92vh, 950px); max-height: none; border: 0; padding: 0; background: #202124; color: #fff; border-radius: 4px; box-shadow: 0 14px 60px #0005; }.image-dialog::backdrop { background: #000b; }.dialog-toolbar, .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 18px; min-height: 54px; font-size: 13px; }.dialog-toolbar button { border: 0; color: #fff; background: transparent; font-size: 30px; line-height: 1; padding: 0 4px; }.dialog-scroll { height: calc(100% - 108px); overflow: auto; }.dialog-crop { width: min(100%, calc(84vh * var(--crop-aspect)), 2800px); margin: auto; }.dialog-footer { color: #bdc1c6; font-size: 11px; }.dialog-footer a { color: #a8c7fa; }

@media (max-width: 800px) {
  .article-layout { grid-template-columns: 1fr; padding-top: 50px; }.article-nav { display: none; }.article-content { max-width: none; }
  .era { grid-template-columns: 22px 135px minmax(0, 1fr); gap: 12px; }.work-thumb { width: 130px; flex-basis: 130px; }.work-row { min-height: 126px; gap: 13px; }.work-info strong { font-size: 15px; }
}
@media (max-width: 600px) {
  .page-shell { padding-left: 20px; padding-right: 20px; }.site-header { height: 62px; }.header-inner { padding: 0 20px; }.brand { font-size: 20px; }.brand-mark { width: 27px; height: 27px; }.header-caption { display: none; }.header-link { font-size: 12px; }
  .site-footer { margin: 45px 20px 0; flex-direction: column; gap: 5px; }
  .timeline-page { padding-top: 42px; }.page-intro h1 { font-size: 34px; }.page-intro p { font-size: 13px; }.timeline-tools { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 10px; }.search-field { width: 100%; }.work-count { text-align: right; }
  .timeline-list { padding-top: 14px; }.era { grid-template-columns: 17px minmax(0, 1fr); column-gap: 13px; min-height: 88px; }.era-rail { grid-row: 1 / 3; padding-top: 13px; }.era-heading { grid-column: 2; padding-top: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }.era-heading h2 { font-size: 18px; margin: 0; }.era-heading span { font-size: 11px; }.era-content { grid-column: 2; padding: 8px 0 22px; }.era-empty { padding: 10px 0 15px; }.work-row { padding: 9px; min-height: 118px; gap: 13px; }.work-thumb { flex-basis: 108px; width: 108px; }.work-info { gap: 5px; }.work-info strong { font-size: 14px; line-height: 1.5; }.work-info small { font-size: 10px; line-height: 1.5; }.work-link { margin-top: 2px; font-size: 11px; }
  .era-is-empty { min-height: 44px; }.era-is-empty .era-rail { padding-top: 8px; }.era-is-empty .era-heading { padding-top: 0; }.era-is-empty .era-heading h2 { font-size: 14px; }.era-is-empty .era-content { display: none; }
  .breadcrumb { padding-top: 20px; font-size: 11px; }.work-heading { padding: 40px 0 23px; align-items: start; }.work-heading h1 { font-size: 29px; margin: 14px 0 8px; }.work-heading p { font-size: 13px; }.heading-index { display: none; }.work-metadata { gap: 8px 20px; padding: 14px 0 18px; }.work-metadata div { font-size: 11px; }.work-metadata div:last-child { width: 100%; }
  .visual-inner { padding: 17px 20px 12px; }.visual-caption { flex-wrap: wrap; line-height: 1.4; }.article-layout { padding-top: 48px; }.article-content h2 { font-size: 24px; }.about-grid { grid-template-columns: 1fr; gap: 21px; }.about-grid div:last-child { grid-column: auto; border-top: 0; padding-top: 0; }.about-grid h3 { margin-bottom: 5px; }.about-grid p { font-size: 13px; }.inscriptions-section { margin-top: 72px; }.section-lead { margin-bottom: 27px; }.inscription { padding-top: 27px; margin-bottom: 70px; }.inscription-heading { gap: 13px; margin-bottom: 20px; }.inscription-number { font-size: 20px; }.inscription-heading h3 { font-size: 21px; }.inscription-heading p { font-size: 12px; }.passages { margin-top: 28px; }.original { line-height: 2.1; }.translation p { line-height: 1.85; }
  .image-dialog { width: 100vw; height: 100dvh; border-radius: 0; }.dialog-crop { width: min(100%, calc(74dvh * var(--crop-aspect)), 2200px); }
}
