:root {
  color-scheme: light; color: #242526; background: #f7f4eb;
  font: 16px/1.5 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --ink: #242526; --accent: #23404c; --rule: #8b8980; --paper: #f7f4eb;
}
:root:lang(zh-Hans) { font-family: "Microsoft YaHei", "Noto Sans TC", sans-serif; }
:root:lang(en) { font-family: "Noto Sans", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { width: min(100% - 48px, 1240px); margin: 0 auto; }
h1, h2, h3, p { margin: 0; }
button, select, input { font: inherit; color: inherit; }
button, select { min-height: 44px; cursor: pointer; }
button:disabled, select:disabled { cursor: default; opacity: .58; }
button:focus-visible, select:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #255166; outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.site-head, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-head { min-height: 74px; border-bottom: 1px solid var(--rule); }
.site-head strong { font-weight: 700; letter-spacing: .075em; }
.lang select, .selection-form select { border: 1px solid var(--rule); background: transparent; padding: 0 10px; }
.heading { display: grid; grid-template-columns: 1fr minmax(230px, 27%); gap: 25px; align-items: end; padding: 46px 0 31px; }
.heading h1 { font: 650 clamp(38px, 6vw, 84px)/1.04 "Noto Serif", "Noto Serif TC", "Microsoft JhengHei", serif; letter-spacing: -.07em; }
.heading p { font-size: 1rem; color: #3e403d; max-width: 28ch; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.print { min-width: 0; width: 100%; display: block; padding: 0; background: transparent; border: 1px solid transparent; text-align: left; }
.print[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.print img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; background: #e6decb; }
.work-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px; }
.work-label strong { font-size: clamp(0.83rem, 1.7vw, 1rem); }
.indicator { color: #334c56; min-height: 22px; text-align: right; font-size: .78rem; }
.selection { margin-top: 32px; padding: 26px 0 24px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.selection h2 { font-size: .84rem; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.selection h3 { font-size: 1.38rem; margin-bottom: 10px; }
.selection-summary p { max-width: 48ch; margin-bottom: 13px; }
.selection a { color: #244f63; text-underline-offset: 4px; }
.preview-links { display: flex; flex-wrap: wrap; gap: 15px; }
.selection-form label { display: block; margin-bottom: 7px; font-size: .93rem; font-weight: 600; }
.selection-form select { max-width: 100%; min-width: 9.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.actions button { padding: 8px 14px; border: 1px solid var(--accent); background: transparent; }
.actions .primary { background: var(--accent); color: #fff; }
.policy, .status { margin-top: 10px; font-size: .82rem; }
.policy, .site-footer { color: #444742; }
.status { min-height: 1.5em; color: var(--accent); }
#share-url { width: 100%; padding: 7px; }
.site-footer { border-top: 1px solid var(--rule); padding: 17px 0 27px; font-size: .79rem; }
@media (max-width: 760px) {
  body { width: calc(100% - 26px); }
  .site-head { min-height: 58px; }
  .heading { display: block; padding: 24px 0; }
  .heading p { margin-top: 11px; max-width: 35ch; }
  .gallery { gap: 6px; }
  .work-label { display: block; padding: 7px 4px 3px; min-height: 67px; }
  .indicator { display: block; text-align: left; }
  .selection { margin-top: 22px; padding-top: 17px; grid-template-columns: 1fr; gap: 20px; }
  .site-footer { align-items: start; }
}
