/* AI 列表复用 style.css 的原滚动卡片；本文件仅负责详情。 */
#ai-works { scroll-margin-top: 110px; }
#ai-works .works-single .works-row { mask-image: none; -webkit-mask-image: none; cursor: default; overflow: visible; }
#ai-works .works-single .works-track { cursor: default; }
.ai-kicker { font-size: 11px; letter-spacing: .16em; color: #ee96c2; font-weight: 700; margin: 0 0 10px; }
.ai-process-head > p { margin: 0; max-width: 420px; color: #c0bacd; font-size: 14px; line-height: 1.8; }
.ai-detail { max-width: 1240px; margin: 0 auto; padding: 130px 32px 48px; }
.ai-back { display: inline-flex; align-items: center; min-height: 44px; color: #c5b9d1; font-size: 14px; text-decoration: none; }
.ai-detail-head { padding: 30px 0 36px; max-width: 920px; }
.ai-detail-head h1 { font-size: clamp(36px, 5vw, 66px); line-height: 1.25; margin: 10px 0 20px; }
.ai-detail-description { color: #d1c9db; max-width: 750px; line-height: 1.9; margin: 0; }
.ai-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ai-detail-tags span { border: 1px solid #ffffff26; background: #ffffff06; color: #c9bfd5; border-radius: 99px; font-size: 12px; padding: 6px 12px; }
.ai-viewer { border: 1px solid #ffffff26; background: rgba(13,10,23,.94); border-radius: 20px; overflow: hidden; }
.ai-screen { background: #040306; display: flex; justify-content: center; }
.ai-film { display: block; width: 100%; height: min(68vh, 720px); min-height: 260px; object-fit: contain; }
.ai-viewer-toolbar { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ai-viewer-toolbar h2 { font-size: 22px; margin: 0; }
.ai-play-button { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border: none; border-radius: 99px; padding: 0 24px; background: var(--brand-main, #ff287f); color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ai-video-list { padding: 0 24px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ai-video-choice { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid #ffffff24; background: #ffffff05; color: #dfd6e6; border-radius: 10px; padding: 10px; cursor: pointer; font: inherit; font-size: 14px; }
.ai-video-choice[aria-pressed="true"] { border-color: #ff4c98; background: #ff287f17; }
.ai-video-choice img { width: 48px; height: 60px; object-fit: cover; border-radius: 5px; }
.ai-video-choice small { display: block; color: #ed8db9; margin-bottom: 6px; }
.ai-media-error { padding: 0 24px 20px; color: #ffacbe; }
.ai-process { padding: 64px 0 48px; }
.ai-process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ai-process-head h2 { margin: 0; font-size: 30px; }
.ai-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ai-process-item { min-width: 0; padding: 0; border: 1px solid #ffffff26; border-radius: 12px; overflow: hidden; text-align: left; background: #110d1f; color: #e9ddeb; font: inherit; cursor: pointer; }
.ai-process-item > img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: top; background: #08050c; }
.ai-process-item > span { display: flex; justify-content: space-between; padding: 18px; font-size: 14px; }
.ai-project-nav { position: static; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; background: none; border-top: 1px solid #ffffff26; backdrop-filter: none; width: auto; }
.ai-project-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #e9cbdf; font-size: 14px; text-decoration: none; }
.ai-image-dialog { width: min(1200px, 94vw); max-height: 92vh; padding: 0; background: #100d1a; color: white; border: 1px solid #ffffff44; border-radius: 12px; margin: auto; }
.ai-image-dialog::backdrop { background: #030207e8; }
.ai-image-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; }
.ai-image-dialog-bar p { margin: 0; }
.ai-image-dialog-bar button { border: none; background: #ffffff12; border-radius: 8px; min-height: 44px; min-width: 72px; color: #fff; cursor: pointer; }
.ai-image-scroll { overflow: auto; max-height: calc(92vh - 68px); }
.ai-image-scroll img { display: block; width: 100%; height: auto; }
.ai-detail :is(button, a, video):focus-visible { outline: 3px solid #ff8fc7; outline-offset: 4px; }
@media (max-width: 640px) {
  .ai-detail { padding: 110px 16px 24px; }
  .ai-detail-description { font-size: 14px; }
  .ai-viewer-toolbar { padding: 20px 16px; align-items: flex-start; flex-direction: column; }
  .ai-viewer-toolbar h2 { font-size: 20px; }
  .ai-video-list { padding: 0 16px 16px; grid-template-columns: 1fr; }
  .ai-video-choice { min-height: 72px; }
  .ai-process-head { flex-direction: column; align-items: flex-start; }
  .ai-process-grid { grid-template-columns: 1fr; }
  .ai-process-item > img { height: 230px; }
  .ai-project-nav { flex-wrap: wrap; }
  .ai-detail .ai-kicker { font-size: 10px; }
}
