/* Wave Run play view: one big 3D scene you tap anywhere on */
.wr .wr-stage {
  position: relative; flex: 1; min-height: 0; border-radius: 26px; overflow: hidden;
  touch-action: none; cursor: pointer; border: 1px solid var(--line);
  box-shadow: var(--soft), 0 0 30px color-mix(in srgb, var(--accent) 40%, transparent);
}
.wr .wr-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.wr .pops { z-index: 2; }
/* side view: the real note sheet along the bottom, scrolling under the running Captain */
.wr-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: none; overflow: hidden;
  border-radius: 0 0 26px 26px; background: var(--panel); border-top: 2px solid rgba(127, 231, 255, .6); pointer-events: none;
}
.wr[data-cam="side"] .wr-sheet { display: block; }
.wr-sheet .nowline { top: 6px; bottom: 6px; }
.wr[data-cam="side"] .wr-hint { bottom: auto; top: 14px; }
body[data-sheet="paper"] .wr-sheet { background: #fffaf0; }
.wr .pop { font-size: clamp(24px, 3.6vw, 34px); }
.wr .p-rest { color: #c9d2f0; font-size: 22px; opacity: .85; }
.wr-cam {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  min-height: 44px; padding: 6px 16px; border-radius: 999px; font-weight: 800; font-size: 16px;
  background: rgba(10, 16, 44, .72); color: #fff; border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.wr-cam:active { transform: translateY(2px); }
.wr-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; pointer-events: none;
  padding: 8px 18px; border-radius: 999px; background: rgba(10, 16, 44, .7); border: 1px solid var(--cyan);
  font-weight: 800; font-size: 17px; white-space: nowrap; transition: opacity .5s;
}
.wr-hint.gone { opacity: 0; }

/* choosing the play view on the mission screen */
.view-pick { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.view-pick button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 150px; padding: 10px 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 2px solid var(--line); color: var(--ink); font-weight: 800; font-size: 17px; }
.view-pick button small { font-weight: 600; font-size: 13px; opacity: .75; }
.view-pick button.on { border-color: var(--cyan); background: rgba(127, 231, 255, .16); box-shadow: 0 0 18px rgba(127, 231, 255, .35); }
.view-pick button span { font-size: 28px; line-height: 1; }
