.pv-dialog {
  --pv-ink: #171b31;
  --pv-orange: #f45112;
  --pv-paper: #f7f5ef;
  --pv-line: #d9d6cd;
  box-sizing: border-box;
  inset: 0;
  width: min(820px, calc(100% - 44px));
  max-width: none;
  max-height: calc(100dvh - 52px);
  margin: auto;
  padding: 0;
  background: var(--pv-paper);
  color: var(--pv-ink);
  border: 1px solid rgba(21,25,44,.12);
  border-radius: 4px;
  box-shadow: 0 20px 90px #10122340;
  overflow: auto;
  overscroll-behavior: contain;
  font-family: inherit;
  text-align: left;
}
.pv-dialog * {box-sizing: border-box}
.pv-dialog[open] {animation: pv-enter .23s ease-out both}
.pv-dialog::backdrop {background: rgba(15,18,31,.68)}
.pv-shell {position: relative; padding: clamp(24px,4.6vw,48px)}
.pv-heading, .pv-dialog p, .pv-dialog figure, .pv-dialog ol {margin: 0}
.pv-heading {display: block; position: static; background: none; border: 0; padding: 0; color: inherit}
.pv-dialog button {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  color: inherit; border: 0; background: none; font: inherit; text-align: center;
}
.pv-dialog button:focus-visible {outline: 2px solid #d84a18; outline-offset: 3px}
.pv-dialog .pv-close {
  position: absolute; top: 14px; right: 16px; z-index: 1;
  display: grid; place-content: center; width: 44px; height: 44px; padding: 0 0 4px;
  border-radius: 50%; font: 300 34px/1 Arial,sans-serif;
}
.pv-close:hover {background-color: #eae7df}
.pv-area, .pv-kicker {
  display: block; color: #8d381c; font: 600 11px/1.3 ui-monospace,monospace;
  letter-spacing: .09em; text-transform: uppercase;
}
.pv-area {padding-right: 40px}
.pv-dialog .pv-title {
  display: block; color: var(--pv-ink); margin: 11px 0 0; padding-right: 22px;
  font-family: inherit; font-size: clamp(29px,4.1vw,48px); font-weight: 550;
  line-height: 1.08; letter-spacing: -.055em; text-transform: none;
}
.pv-dialog:lang(zh) .pv-title {letter-spacing: -.045em; line-height: 1.18}
.pv-dialog .pv-subtitle {margin: 10px 0 20px; max-width: 60ch; color: #555763; font-size: 14px; line-height: 1.55}
.pv-segments {display: flex; flex-wrap: wrap; align-items: center; gap: 6px}
.pv-dialog .pv-segment, .pv-dialog .pv-action {
  min-height: 44px; padding: 9px 16px; border-radius: 2px; font-size: 13px; line-height: 1.28; font-weight: 600;
}
.pv-dialog .pv-segment {border: 1px solid var(--pv-line)}
.pv-dialog .pv-segment[aria-pressed=true],.pv-dialog .pv-action {background: var(--pv-ink); color: white; border: 1px solid var(--pv-ink)}
.pv-dialog .pv-action:hover {background: #33384d}
.pv-dialog .pv-segment[aria-pressed=false]:hover {background: #ebe7dc}
.project-image.project-image--games > img {object-fit: contain; object-position: center}
.project-card:hover .project-image--games > img {transform: none}
.pv-game-scene {display: grid; place-items: center; overflow: hidden}
.pv-game-scene .pv-game-img {display: block; width: 100%; height: auto; max-height: 65svh; object-fit: contain; margin: 0}
.pv-agent-stage {
  display: grid; align-content: center; min-height: 198px; margin: 14px 0 16px; padding: 24px;
  border: 1px solid #dbd7ca; background: #f0ece1;
}
.pv-brief {display: grid; grid-template-columns: 1.35fr .9fr; align-items: center; gap: 16px}
.pv-brief-copy .pv-brief-text {
  margin: 10px 0 0; color: var(--pv-ink);
  font: 500 clamp(22px,3.6vw,36px)/1.13 Georgia,'Times New Roman',serif; letter-spacing: -.045em;
}
.pv-dialog:lang(zh) .pv-brief-text {font-family: ui-serif,'Songti SC',serif; line-height: 1.32; letter-spacing: 0}
.pv-terrain {display: block; width: 100%; max-height: 136px}
.pv-shot-list {padding: 0; list-style: none}
.pv-shot-list li {
  display: grid; grid-template-columns: 24px 68px 1fr; gap: 10px; align-items: center;
  padding: 9px 0; color: var(--pv-ink); border-bottom: 1px solid #cfcbbf; line-height: 1.4;
}
.pv-shot-list li:last-child {border-bottom: 0}
.pv-shot-no {font: 500 11px/1 ui-monospace,monospace; color: #914320}
.pv-shot-name {font-size: 14px; font-weight: 650}
.pv-shot-desc {font-size: 14px}
.pv-storyboard {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px}
.pv-storyframe {min-width: 0}
.pv-storyframe .pv-terrain {width: 100%; padding: 6px 3px; background: #f7f5ef; border: 1px solid #d6d1c5}
.pv-storyframe figcaption {margin-top: 7px; color: var(--pv-ink); font-size: 12px; font-weight: 550}
@keyframes pv-enter {from {opacity: 0; transform: translateY(7px)} to {opacity: 1; transform: translateY(0)}}
@media(max-width: 540px){
  .pv-dialog {width: calc(100% - 20px); max-height: calc(100dvh - 22px)}
  .pv-shell {padding: 24px 16px 18px}
  .pv-dialog .pv-close {top: 6px; right: 6px}
  .pv-dialog .pv-title {margin-top: 10px; margin-right: 13px}
  .pv-dialog .pv-subtitle {margin-bottom: 16px}
  .pv-agent-stage {padding: 14px; min-height: 175px}
  .pv-brief {grid-template-columns: 1.2fr 1fr; gap: 4px}
  .pv-shot-list li {grid-template-columns: 16px 44px 1fr; gap: 6px}
  .pv-shot-desc,.pv-shot-name {font-size: 12px}
  .pv-storyboard {gap: 5px}
  .pv-dialog .pv-segment,.pv-dialog .pv-action {padding-inline: 12px}
}
@media(prefers-reduced-motion: reduce){.pv-dialog[open] {animation: none}}
