/* 左上角作品介绍，取代原姓名标识。 */
.header-brand{display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:10px;font-weight:400;letter-spacing:.14em;color:#92928e;line-height:1.4}
.header-brand span:last-child{font-size:10px;color:#747472;letter-spacing:.04em}
@media(max-width:760px){.header-brand{gap:7px;font-size:9px}.header-brand span:last-child{font-size:9px}.site-header{align-items:flex-start}.site-header>#aboutLink{margin-top:-5px}}
/* 完整原稿：不裁切、不拼接、不改变原图比例。 */
.source-order-note{display:flex;justify-content:space-between;margin:0 0 26px;padding:0 0 15px;border-bottom:1px solid #d7d7d1;font-size:11px;color:#666}
.source-order-note span{color:#96968f;font-size:10px}
.source-page{margin:0 0 36px;padding:0}
.source-caption{position:relative;z-index:2;display:flex;justify-content:space-between;margin:0 0 12px;font-size:10px;color:#8a8a83;font-variant-numeric:tabular-nums}
.source-sheet.case-image{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:100%;max-height:calc(100dvh - 170px);overflow:visible;background:transparent;cursor:zoom-in;border-radius:0}
.source-sheet.case-image img{display:block;width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 170px);min-height:0;object-fit:contain;transform:none!important;transition:none;border-radius:0}
.source-sheet.case-image::after{display:none}
.index-preview{padding:8px;border-radius:0;background:#141414}
.index-preview img{object-fit:contain}
.mobile-card{aspect-ratio:auto;overflow:visible;padding:12px;background:#141414}
.mobile-card img{display:block;width:100%;height:auto;object-fit:contain;border-radius:0}
.mobile-card::after{display:none}
.mobile-card-label{position:static;padding:17px 4px 4px;gap:10px}
.mobile-card-label strong{font-size:21px}
.mobile-card-label small{font-size:9px;color:#a9a9a4}
.mobile-card-label>span:last-child{flex:none}

/* 弹性仅作用于白色底板，不缩放或切割原稿。 */
.project-dialog{background:transparent;isolation:isolate;--panel-grow:0;--panel-origin:50% 50%}
.project-dialog[open],.project-dialog.closing{animation:none}
.project-dialog::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#f4f4f0;transform-origin:var(--panel-origin);transform:scale(calc(1 + var(--panel-grow)*.006),calc(1 + var(--panel-grow)*.005));will-change:transform;pointer-events:none}
.project-info{position:relative;z-index:3;padding-bottom:83px}
.project-media{position:relative;border-radius:0 22px 22px 0}
.project-dialog .close-button{z-index:9}
.detail-effect{position:absolute;inset:0;z-index:1;pointer-events:none;width:100%;height:100%;display:none}
.project-reveal{position:absolute;inset:0;z-index:7;display:none;flex-direction:column;justify-content:center;align-items:center;gap:15px;border-radius:inherit;padding:24px;background:#141414;pointer-events:none}
.project-reveal img{display:block;max-width:100%;max-height:calc(100% - 65px);width:auto;height:auto;object-fit:contain}
.project-reveal>span{font-size:20px;color:#f3f3ef;align-self:flex-start;line-height:1.5}
.reading-progress{position:absolute;left:27px;bottom:23px;z-index:6;width:36px;height:36px;border-radius:50%;background:#f4f4f0e8;pointer-events:none;color:#333}
.reading-progress svg{position:absolute;inset:0;width:36px;height:36px;transform:rotate(-90deg)}
.reading-progress circle{fill:none;stroke-width:1.7}
.reading-track{stroke:#cecec7}
.reading-arc{stroke:#1a1a1a;stroke-dasharray:87.965;stroke-dashoffset:87.965;transition:stroke-dashoffset .12s linear}
.reading-value{position:absolute;inset:0;display:grid;place-items:center;font-size:8px;font-variant-numeric:tabular-nums}
.portal-dialog{pointer-events:auto;place-items:center}
.portal-dialog[open]{display:grid;animation:none}
.portal-content{position:relative;top:auto!important;left:auto;opacity:1;transform:none;will-change:auto;backface-visibility:visible;z-index:auto;margin:auto;transition:none}
.portal-close{transition:opacity .2s ease}
.portal-dialog.is-closing .portal-content{opacity:0!important;transform:translateY(8px) scale(.98);pointer-events:none;transition:opacity .2s ease,transform .4s var(--ease)}
.portal-dialog.is-closing .portal-close{opacity:0;pointer-events:none}
.mobile-gallery{transition:opacity .45s ease}
.lightbox img{max-width:100%;max-height:calc(100dvh - 130px);width:auto;height:auto;object-fit:contain;cursor:zoom-in}
.lightbox.is-zoomed img{max-width:none;max-height:none;cursor:zoom-out}
.source-sheet.image-error::before{content:'图片加载失败，点击重试';position:absolute;inset:0;display:grid;place-items:center;background:#e7e7e1;color:#555;font-size:12px}
@media(min-width:761px){.project-dialog{overflow:visible}.project-info{border-radius:22px 0 0 22px}}
@media(max-width:760px){
  .project-dialog{background:#f4f4f0}
  .project-dialog::before{display:none}
  .mobile-card{aspect-ratio:auto;padding:10px;margin-bottom:24px}
  .mobile-card-label{position:static;padding:15px 4px 4px}
  .project-info{padding-bottom:23px}
  .project-media{border-radius:0;padding-bottom:80px}
  .source-sheet.case-image img{max-height:calc(100dvh - 155px)}
  .source-sheet.case-image{max-height:calc(100dvh - 155px)}
  .reading-progress{position:fixed;bottom:20px;left:23px}
  .project-reveal{position:fixed}
  .source-caption{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.project-dialog::before{transform:none}.portal-content,.portal-close,.reading-arc{transition:none}}

/* 成片保持完整画幅，由浏览器提供声音、进度与全屏控制。 */
.motion-cover-sources{position:fixed;left:0;top:0;width:1px;height:1px;overflow:hidden;opacity:.001;pointer-events:none;z-index:-1}
.motion-cover-sources video{width:1px;height:1px}
.mobile-cover{position:relative;display:block;width:100%;overflow:hidden}
.mobile-cover .motion-cover-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;opacity:0}
.mobile-cover .motion-cover-video.has-frame{opacity:1}
.video-section-heading{margin-top:24px}
.video-work{margin:0 0 42px;padding:0}
.video-caption{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 14px;color:#777;font-size:10px}
.video-caption small{display:block;margin-bottom:8px;font-size:9px;letter-spacing:.08em;color:#999}
.video-caption strong{font-size:22px;font-weight:400;color:#222;letter-spacing:-.03em}
.video-caption>span:last-child{white-space:nowrap;padding-bottom:3px;font-variant-numeric:tabular-nums}
.portfolio-video{display:block;width:100%;height:auto;max-height:calc(100dvh - 170px);object-fit:contain;background:#080808;aspect-ratio:16/9}
.portfolio-video:fullscreen{max-height:none;width:100vw;height:100vh;object-fit:contain;background:#000}
.video-status{font-size:11px;color:#666;display:flex;justify-content:space-between;align-items:center;gap:14px}
.video-status[hidden]{display:none}
.video-status button{font-size:11px;text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){.video-caption{gap:10px}.video-caption strong{font-size:20px}.video-caption>span:last-child{font-size:9px}.video-work{margin-bottom:32px}.portfolio-video{max-height:calc(100dvh - 155px)}}
