/* 作品库 /gallery（D-R1404）。颜色跟落地页 landing.css 同一套；CSP 不许内联样式，所以单独一个文件。 */
:root {
  --gx-bg: #F7F7F5; --gx-surface: #FFFFFF; --gx-ink: #181A1B; --gx-muted: #5E6366;
  --gx-line: #E3E3DE; --gx-brand: #173B57; --gx-radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --gx-bg: #121416; --gx-surface: #1B1E21; --gx-ink: #ECEDEE; --gx-muted: #A3A8AB; --gx-line: #2C3034; --gx-brand: #8FB8D8; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--gx-bg); color: var(--gx-ink);
  font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--gx-brand); }
img { display: block; max-width: 100%; height: auto; border-radius: var(--gx-radius); background: var(--gx-line); }

.gx-top, .gx-main, .gx-foot { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.gx-top { display: flex; gap: 20px; align-items: center; height: 60px; border-bottom: 1px solid var(--gx-line); }
.gx-top a { text-decoration: none; color: var(--gx-muted); font-weight: 500; }
.gx-top .gx-brand { color: var(--gx-ink); font-weight: 700; margin-right: auto; }

.gx-main { padding-top: 32px; padding-bottom: 48px; }
.gx-main h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; margin: 0 0 8px; }
.gx-main h2 { font-size: 20px; margin: 0 0 12px; }
.gx-lead { color: var(--gx-muted); margin: 0 0 28px; }
.gx-crumb { font-size: 14px; margin-bottom: 8px; }
.gx-crumb a { text-decoration: none; }

.gx-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gx-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.gx-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gx-card-t { font-weight: 600; line-height: 1.35; margin-top: 4px; }
.gx-card-s { color: var(--gx-muted); font-size: 14px; }

.gx-hero { margin: 0 0 32px; }
.gx-hero img { width: 100%; max-height: 80vh; object-fit: contain; background: var(--gx-surface); }
.gx-facts { background: var(--gx-surface); border: 1px solid var(--gx-line); border-radius: var(--gx-radius); padding: 20px; margin-bottom: 32px; }
.gx-facts p { margin: 0 0 16px; }
.gx-facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.gx-facts dt { color: var(--gx-muted); }
.gx-facts dd { margin: 0; }
.gx-photos { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.gx-foot { border-top: 1px solid var(--gx-line); padding-top: 24px; padding-bottom: 48px; color: var(--gx-muted); }
.gx-cta { display: inline-block; background: var(--gx-brand); color: var(--gx-bg); padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }

@media (max-width: 520px) {
  .gx-facts dl { grid-template-columns: 1fr; gap: 0; }
  .gx-facts dd { margin-bottom: 8px; }
}

/* 作品页署名 → 公司作品库（迁移 0038） */
.gx-by { margin: -16px 0 24px; font-weight: 500; }

/* 公司官网页底：只留一行小字（D-R1404） */
.gx-foot-min { font-size: 13px; padding-top: 16px; padding-bottom: 24px; }
.gx-foot-min a { color: var(--gx-muted); text-decoration: none; }
