/* Project the pull-request list onto the MacBook before handing off to About. */
html { overflow-anchor: none; }
.is-3d .device-story {
  position: relative;
  z-index: 4;
  height: 540dvh;
  background: var(--vi-surface);
  pointer-events: none;
}
.device-story .story-stage {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: clip;
  background: var(--vi-surface);
}
.device-story[data-start] .screen-layer--opening { pointer-events:auto;z-index:4; }
.device-story .screen-layer {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  transform-origin: 0 0;
  background: var(--vi-surface);
  backface-visibility: hidden;
  will-change: transform;
}
.device-pr-screen {
  width:100%;height:100%;
  padding:clamp(28px,6vw,100px);
  background:var(--vi-surface);color:var(--vi-ink);
}
.device-pr-screen h2 { margin:0 0 1.25rem;font-size:clamp(2.75rem,5vw,4.5rem);line-height:1.05;letter-spacing:-.035em; }
.device-pr-screen .pull-request-list {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(18px,3vw,54px);
}
.device-pr-screen .pull-request-date { grid-column:1 / -1;margin:0;color:var(--vi-text-secondary);font-size:.875rem; }
.device-pr-screen .pull-request-group { border-top:1px solid var(--vi-line); }
.device-pr-screen .pull-request-group summary {
  display:flex;justify-content:space-between;gap:1em;padding:14px 0;
  list-style:none;font-size:clamp(1.5rem,2.5vw,2.125rem);
}
.device-pr-screen .pull-request-group summary > span:last-child { color:var(--vi-text-secondary); }
.device-pr-screen .pull-request-group ul { list-style:none;margin:0;padding:0; }
.device-pr-screen .pull-request-group li a { display:block;padding:.65rem 0; }
.device-pr-screen .pull-request-group li strong { display:block;font-size:clamp(1.25rem,1.9vw,1.75rem);font-weight:600;line-height:1.2; }
.device-pr-screen .pull-request-group li span { display:block;color:var(--vi-text-secondary);font-size:clamp(1rem,1.35vw,1.25rem);overflow-wrap:anywhere; }
.device-story .profile-arrival { position:relative;width:100%;height:100%; }
.device-story .screen-layer--destination,
.device-story .profile-arrival { background: var(--vi-ink); }
.device-story .screen-layer--destination { box-shadow: 0 0 0 3px var(--vi-ink); }
.device-story .arrival-seed {
  position: absolute;
  left: calc(50% - 3.5px);
  top: 49%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vi-processing);
}
.device-story #scene { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; }
.is-3d .transition-profile { margin-top: -100dvh; z-index: 5; visibility: hidden; }
.is-3d .transition-profile[data-active] { visibility: visible; }
.is-3d[data-device-terminal] .device-story .story-stage { visibility: hidden; }

html:not(.is-3d) .device-story .story-stage,
html:not(.is-3d) .device-story .screen-layer--opening { position:relative;height:auto;overflow:visible; }
html:not(.is-3d) .device-story :is(canvas,.screen-layer--destination) { display:none; }
html:not(.is-3d) .device-pr-screen { height:auto; }
@media(max-width:700px) {
  .device-pr-screen .pull-request-list { grid-template-columns:minmax(0,1fr); }
}
.device-story .profile-arrival { display:grid;place-items:center;color:var(--vi-inverse-text); }
.arrival-label { font-size:clamp(2rem,4vw,3.75rem);font-weight:600;letter-spacing:-.035em; }
