.play-guide-cover .play-guide-cover-image {
  background: linear-gradient(0deg, #09071fed, #0e102e22 56%, #0c102500),
    url("/assets/play5on-dualsense-promo-v2.webp") 60% center / cover no-repeat;
}

#playGuideDemo {
  width: min(94vw, 56rem);
}

.play-guide-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-block-start: .85rem;
  border-radius: .8rem;
  background: #0b0c19;
}

#playGuideVideoError a { text-decoration: underline; }
#playGuideDemo .play-guide-dialog-actions { justify-content: flex-end; }

.play-guide-connection {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(.45rem, 1.35vw, 1rem);
  margin-top: .8rem;
  padding: clamp(.55rem, 1.5vw, .85rem);
  border: 1px solid #9583d02b;
  border-radius: 1rem;
  background: linear-gradient(110deg, #251c3b 0%, #111321 50%, #142637 100%);
  text-align: center;
}

.play-guide-connection .play-guide-node {
  gap: .4rem;
  min-height: 2.55rem;
  padding-inline: clamp(.45rem, 1.1vw, .8rem);
  border: 1px solid var(--node-border);
  border-radius: .75rem;
  color: var(--node-color);
  background: var(--node-bg);
  white-space: nowrap;
}

.play-guide-node.flow-console {
  --node-color: #e5c9ff;
  --node-border: #a486ed59;
  --node-bg: #a974ff19;
}

.play-guide-node.flow-browser {
  --node-color: #a8f0ff;
  --node-border: #66d9ff4d;
  --node-bg: #49c7f71b;
}

.play-guide-connection .play-guide-node .icon { color: inherit; flex: none; }
.play-guide-connection .play-guide-signal { gap: .36rem; min-width: 0; }

.play-guide-signal .flow-lane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .3rem;
  padding: 0;
  border: 0;
  color: var(--flow-text);
}

.flow-lane.flow-stream {
  --flow-text: #b7f4ff;
  --flow-trail: #65d8f9;
  --flow-chip: #5ddcff20;
  --flow-border: #68dcff53;
}

.flow-lane.flow-controls {
  --flow-text: #efd4ff;
  --flow-trail: #cb93fb;
  --flow-chip: #cb8dff20;
  --flow-border: #cb95ff53;
}

.play-guide-signal .flow-label {
  padding: .24rem clamp(.28rem, .7vw, .62rem);
  border: 1px solid var(--flow-border);
  border-radius: 1rem;
  background: var(--flow-chip);
  color: inherit;
  font-size: clamp(.66rem, 1vw, .84rem);
  font-weight: 750;
  white-space: nowrap;
}

.play-guide-signal .flow-line {
  position: relative;
  height: 2px;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, var(--flow-trail), var(--flow-chip));
}

.play-guide-signal .flow-stream .flow-line:last-child,
.play-guide-signal .flow-controls .flow-line:last-child {
  background: linear-gradient(90deg, var(--flow-chip), var(--flow-trail));
}

.flow-line::after {
  position: absolute;
  top: 50%;
  content: "";
}

.flow-stream .flow-line:first-child::after,
.flow-controls .flow-line:last-child::after {
  left: 0;
  width: .3rem;
  height: .3rem;
  border-radius: 50%;
  background: var(--flow-trail);
  transform: translateY(-50%);
}

.flow-stream .flow-line:last-child::after,
.flow-controls .flow-line:first-child::after {
  right: 0;
  width: .36rem;
  height: .36rem;
  border-top: 2px solid var(--flow-trail);
  border-right: 2px solid var(--flow-trail);
  transform: translateY(-50%) rotate(45deg);
}

.flow-controls .flow-line:last-child::after { left: auto; right: 0; }
.flow-controls .flow-line:first-child::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(225deg);
}

@media (max-width: 450px) {
  .play-guide-connection .play-guide-node {
    flex-direction: column;
    gap: .25rem;
    min-height: 0;
    padding: .38rem .32rem;
    font-size: .66rem;
  }
}
