:root {
  --paper: #f3eee5;
  --ink: #272722;
  --muted: #625e56;
  --line: #d0c9be;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body { margin: 0; font-size: 16px; line-height: 1.7; letter-spacing: 0; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
button, img { max-width: 100%; }
img { display: block; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 16px; background: var(--paper); }
.skip-link:focus { top: 12px; }
.masthead-inner { min-height: 76px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.signature { font-size: 16px; font-weight: 500; white-space: nowrap; }
nav { display: flex; gap: 32px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--muted); }
nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.collection-heading { padding: 30px 0; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
h1 { font-size: 26px; line-height: 1.4; font-weight: 500; }
.collection-heading > span { font: 12px/1.4 Arial, sans-serif; color: var(--muted); }
.collection { padding: 46px 0 44px; }
.collection:first-of-type { padding-top: 0; }
.collection + .collection { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
h2 { display: flex; align-items: baseline; gap: 16px; font-size: 18px; line-height: 1.5; font-weight: 500; }
.section-number { font: 12px/1.4 Consolas, monospace; color: var(--muted); }
.collection-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.work-viewer, .film-viewer { position: relative; }
.work-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; border-top: 1px solid var(--line); }
.work-index button { position: relative; min-width: 0; min-height: 52px; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font-size: 14px; color: var(--muted); line-height: 1.5; }
.work-index button > span:not([class]) { font: 12px/1 Consolas, monospace; margin-right: 12px; }
.work-index button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.work-index button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.work-index button[aria-selected="true"]::after { background: var(--ink); }
.work-index button:hover { color: var(--ink); }
.work-index button:focus-visible { outline-offset: 3px; }
.brand-catalog { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; padding-top: 16px; margin-bottom: 24px; }
.brand-catalog .catalog-item { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0 0 12px; }
.catalog-image { position: relative; flex-shrink: 0; aspect-ratio: 16 / 9; margin-bottom: 6px; }
.catalog-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.catalog-title { font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.catalog-type { font-size: 12px; color: var(--muted); font-weight: 400; }
.work-media { display: block; width: 100%; }
.work-media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.work-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 32px; padding-top: 20px; }
h3 { font-size: 28px; line-height: 1.5; font-weight: 500; overflow-wrap: anywhere; }
.work-meta { color: var(--muted); font-size: 13px; margin-top: 5px; }
.work-context { display: flex; align-items: flex-end; flex-direction: column; justify-content: center; gap: 8px; }
.work-context > p { font-size: 13px; color: var(--muted); }
.watch-link { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; font-size: 14px; }
.watch-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; transition: background .18s, color .18s; }
.watch-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.external-mark { font: 16px/1 Arial, sans-serif; margin-left: 8px; }
.watch-link:hover .watch-icon { background: var(--ink); color: var(--paper); }
.work-panel[aria-busy="true"] [data-image], .film-panel[aria-busy="true"] [data-image] { opacity: .65; }
.load-status { position: absolute; right: 0; bottom: 0; transform: translateY(100%); padding: 4px 0; font-size: 12px; background: var(--paper); color: var(--muted); }
.load-status button { border: 0; border-bottom: 1px solid var(--ink); background: none; margin-left: 10px; min-height: 36px; }
.film-viewer { display: grid; grid-template-columns: 254px minmax(0, 1fr); gap: 46px; }
.film-index { align-self: start; }
.film-index button { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 4px 18px; align-content: center; padding: 20px 10px 20px 0; width: 100%; min-height: 98px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; color: var(--muted); }
.film-index button > span { grid-row: span 2; font: 12px/1.8 Consolas, monospace; }
.film-index strong { font-size: 15px; font-weight: 400; }
.film-index small { font-size: 12px; }
.film-index button[aria-selected="true"] { color: var(--ink); border-top-color: var(--ink); }
.film-index button[aria-selected="true"] strong { font-weight: 600; }
.film-panel { min-width: 0; }
.film-panel[data-orientation="portrait"] .film-body { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: 36px; align-items: start; }
.film-image { width: 100%; height: auto; object-fit: contain; }
.film-panel[data-orientation="portrait"] .film-image { max-height: 435px; object-position: top left; }
.film-caption > .work-meta { margin-top: 0; }
.film-caption h3 { margin-top: 8px; font-size: 26px; }
.film-synopsis { max-width: 380px; color: var(--muted); font-size: 14px; margin-top: 16px; }
.film-still { margin-top: 24px; max-width: 400px; }
.film-still img { width: 100%; height: auto; object-fit: contain; }
.film-still figcaption { margin-top: 6px; color: var(--muted); font-size: 12px; }
.film-panel[data-orientation="landscape"] .film-image { max-height: 390px; object-position: top left; }
.film-panel[data-orientation="landscape"] .film-caption { padding-top: 20px; }
.gallery-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: min(705px, 100%); margin: 18px auto 0; }
.gallery-strip button { border: 0; background: none; padding: 0; text-align: left; }
.gallery-strip img { width: 100%; height: auto; object-fit: contain; }
.gallery-strip span { display: block; font-size: 12px; margin-top: 7px; }
.is-gallery .work-media img { max-height: 470px; }
.is-gallery .watch-icon svg { display: none; }
.is-gallery .watch-icon::after { content: "+"; font-size: 22px; line-height: 1; }
.is-gallery .external-mark { display: none; }
.photo-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 24px 40px; border: 0; background: var(--paper); color: var(--ink); }
.photo-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; }
.photo-dialog::backdrop { background: rgb(39 39 34 / .5); }
.photo-toolbar, .photo-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.photo-toolbar h2 { font-size: 16px; font-weight: 500; }
#photo-counter { font: 12px/1.5 Consolas, monospace; color: var(--muted); margin-top: 4px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; background: transparent; border: 1px solid var(--line); font: 24px/1 Arial, sans-serif; }
.icon-button:hover { border-color: var(--ink); }
.photo-stage { min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.photo-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.photo-stage [role="status"] { position: absolute; padding: 10px 16px; background: var(--paper); font-size: 14px; }
.photo-footer > p { font-size: 14px; }
.photo-controls { display: flex; gap: 10px; }
.footer { padding: 26px 0; border-top: 1px solid var(--line); }
.footer-signature { font-size: 16px; }
.footer-signature span { color: var(--muted); font-size: 12px; margin-left: 16px; }
.disclosure { margin-top: 10px; font-size: 12px; color: var(--muted); }
.filings { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 12px; color: var(--muted); }
.filings a:hover { text-decoration: underline; }
@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .brand-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .catalog-image { height: 86px; aspect-ratio: auto; }
  .film-viewer { grid-template-columns: 195px minmax(0, 1fr); gap: 24px; }
  .film-panel[data-orientation="portrait"] .film-body { grid-template-columns: minmax(140px, 190px) minmax(0, 1fr); gap: 24px; }
  .film-caption h3 { font-size: 24px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .masthead-inner { min-height: 64px; gap: 12px; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .collection-heading { padding: 24px 0; }
  h1 { font-size: 23px; }
  .collection-heading > span { font-size: 10px; }
  .collection { padding: 32px 0; }
  .section-heading { margin-bottom: 16px; }
  h2 { font-size: 17px; gap: 12px; }
  .work-index { gap: 12px; margin-bottom: 18px; }
  .work-index button { padding-inline: 0; font-size: 13px; }
  .work-index button > span:not([class]) { margin-right: 8px; }
  .brand-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-top: 12px; }
  .brand-catalog .catalog-item { padding-bottom: 9px; gap: 2px; }
  .catalog-image { height: 74px; margin-bottom: 5px; }
  .catalog-title { font-size: 13px; }
  .catalog-type { font-size: 12px; }
  h3 { font-size: 23px; }
  .work-caption { grid-template-columns: 1fr; gap: 10px; padding-top: 16px; }
  .work-meta { font-size: 12px; }
  .work-context { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
  .work-context > p { font-size: 12px; }
  .watch-link { margin-left: auto; font-size: 13px; }
  .watch-icon { width: 34px; height: 34px; }
  .external-mark { display: none; }
  .film-viewer { display: flex; flex-direction: column; gap: 24px; }
  .film-index { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 0 16px; }
  .film-index button { min-height: 80px; padding: 14px 0; grid-template-columns: 32px 1fr; gap: 2px 8px; }
  .film-index strong { font-size: 13px; }
  .film-panel[data-orientation="portrait"] .film-body { grid-template-columns: 42% minmax(0, 1fr); gap: 22px; }
  .film-caption h3 { font-size: 22px; }
  .film-synopsis { font-size: 13px; margin-top: 12px; }
  .film-still { margin-top: 16px; }
  .photo-dialog { padding: 16px 18px; }
  .photo-toolbar h2 { font-size: 14px; }
  .gallery-strip { gap: 10px; margin-top: 14px; }
  .filings { display: grid; gap: 8px; }
}
@media (max-width: 360px) {
  nav { gap: 9px; }
  nav a { font-size: 11px; }
  .collection-heading > span { display: none; }
  .film-panel[data-orientation="portrait"] .film-body { gap: 16px; }
  .film-index { column-gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
