/* The physical-screen push lands directly on the same full-bleed picture. */
.play-device-desktop #route[data-ride-mode=menu] {
  --brief-photo-left:0px;
  --brief-photo-width:100%;
}
.play-device-desktop #route[data-ride-mode=menu] .nr-brief {
  --desktop-side:clamp(20px,4.2vw,76px);
  --desktop-column:clamp(280px,33vw,460px);
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  box-sizing:border-box;
  padding:max(52px,env(safe-area-inset-top)) max(var(--desktop-side),env(safe-area-inset-right)) max(clamp(18px,4.4vh,56px),env(safe-area-inset-bottom)) max(var(--desktop-side),env(safe-area-inset-left));
  overflow:hidden;
  background:#10151b;
}
.play-device-desktop #route .nr-brief::before {display:none}
.play-device-desktop #route .nr-brief-photo,
.play-device-desktop #route #ride-brief-art {
  position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;
  max-width:none;max-height:none;margin:0;padding:0;
}
.play-device-desktop #route #ride-brief-art {
  object-fit:cover;object-position:40% 12%;transform-origin:0 0;
}
.play-device-desktop #route .nr-brief-photo::after {
  content:"";position:absolute;pointer-events:none;
  inset:0 0 0 auto;width:calc(var(--desktop-column) * 1.76 + var(--desktop-side));height:100%;
  background:linear-gradient(90deg,transparent,rgba(6,10,16,.25) 18%,rgba(6,10,16,.77) 44%,rgba(6,10,16,.88));
  opacity:var(--brief-unfold,1);
}
/* The right-hand shade belongs to the briefing copy. Let the photograph
   come through the glass before either appears. */
.play-device-desktop #destination.cross-play-travel .nr-brief-photo::after {
  opacity:var(--cross-details,1);
}
.play-device-desktop #route .nr-brief-heading,
.play-device-desktop #route .nr-brief-panel {
  position:relative;inset:auto;z-index:1;width:min(100%,var(--desktop-column));max-width:none;
  box-sizing:border-box;padding:0;margin:0;opacity:var(--brief-unfold,1);
}
.play-device-desktop #route .nr-brief-heading {flex:none;margin-top:auto}
.play-device-desktop #route .nr-brief-panel {min-height:0;margin-bottom:auto}
.console-boot-card {
  position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;background:#f9faf6;
}
.console-boot-card canvas {
  position:absolute;top:0;left:0;width:1280px;height:570px;
  max-width:none;max-height:none;transform-origin:0 0;
}
/* Keep the screen texture clipped to the glass. The destination fades it
   together with the photograph, independently of the briefing text. */
.cross-play-boot .console-boot-card::after,
#shop-surface .console-boot-card::after,
.play-device-desktop.play-anchored #route[data-ride-mode=menu] .nr-brief::after {
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:
    linear-gradient(to bottom,transparent 40%,rgba(8,12,18,.075)) 0 0 / 100% 3px repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='film' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' seed='21' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath d='M0 0h96v96H0z' opacity='.09' filter='url(%23film)'/%3E%3C/svg%3E") 0 0 / 96px 96px repeat;
}
.play-device-desktop #route .nr-brief-info {position:static;width:auto}
.play-device-desktop #route .nr-brief-back {
  position:absolute;top:var(--y);left:var(--corner-inset);margin:0;
}
.play-device-desktop #route[data-ride-mode=menu] .nr-context-sound {left:auto;right:var(--corner-inset)}
#destination.play-desktop {background:transparent;pointer-events:none;overflow:hidden}
#destination.play-desktop #route {
  position:absolute;inset:0;transform-origin:0 0;overflow:hidden;background:#000;will-change:transform;
}
#destination.play-desktop #route-scene,#destination.play-desktop #night-overlay {visibility:hidden}
#destination.play-desktop.play-return #route:not([data-ride-mode=menu]) :is(#route-scene,#night-overlay) {visibility:visible}
#destination.play-desktop #route[data-ride-mode=menu] :is(.nr-brief-back,.nr-context-sound) {
  opacity:var(--brief-unfold,0);transition:none;
}
/* Keep the controls reachable in a shallow resized desktop window. */
@media (max-height:450px) {
  .play-device-desktop #route[data-ride-mode=menu] .nr-brief {
    --desktop-side:clamp(12px,4.2vw,32px);
    --desktop-column:min(60vw,490px);
    padding-top:24px;padding-bottom:12px;
  }
  .play-device-desktop #route .nr-brief-heading h1 {font-size:clamp(26px,8vh,37px)}
  .play-device-desktop #route .nr-brief-copy {margin:5px 0 9px}
}
