.rtp-card:nth-child(2) { --tilt: .7deg; }
.rtp-card:nth-child(3) { --tilt: -1deg; }
.rtp-card:nth-child(4) { --tilt: .9deg; }

.rtp-card:hover {
  transform: translate3d(0, -6px, 0) rotate(var(--tilt, 0deg));
  box-shadow: 12px 13px 0 #000, 0 0 0 3px rgba(255, 255, 255, .96), 0 0 26px rgba(37, 99, 235, .42);
}

.rtp-card::before {
  content: "LIVE";
  position: absolute;
  right: .8rem;
  top: -.7rem;
  padding: .24rem .48rem;
  color: #fff;
  background: var(--pink);
  border: 2px solid #050d1e;
  box-shadow: 3px 3px 0 #000;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: .82rem;
  animation: wk-badge-bob 3s ease-in-out infinite;
}

.rtp-card h3 {
  margin: 0;
  color: #050d1e;
  font-size: 1.5rem;
  line-height: 1;
}

.rtp-card p {
  margin: .35rem 0 1.1rem;
  color: #5a4f5f;
  font-weight: 850;
}

.rtp-card span {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: #050d1e;
  border: 3px solid var(--pink);
  box-shadow: 4px 4px 0 #000;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.35rem;
}

.rtp-card i {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 12px;
  background: rgba(7, 7, 11, .18);
  border: 2px solid #050d1e;
  overflow: hidden;
}

.rtp-card i::before {
  content: "";
  display: block;
  width: var(--rtp);
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  box-shadow: 0 0 16px rgba(37, 99, 235, .55);
  animation: wk-rtp-fill 1.2s cubic-bezier(.16, 1, .3, 1) both;
}

.dossier-board {
  position: relative;
  min-height: 790px;
  padding: 1.15rem;
  background:
    radial-gradient(circle at 18% 82%, rgba(37, 99, 235, .25), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 30%),
    rgba(5, 5, 9, .88);
  border: 3px solid rgba(255, 255, 255, .88);
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(37, 99, 235, .45);
  overflow: hidden;
  touch-action: none;
}

.dossier-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(255, 255, 255, .055) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 20px, rgba(37, 99, 235, .08) 21px 22px);
  transform: translate3d(calc(var(--mx) * .24), calc(var(--my) * .18), 0);
}

.dossier-board.is-resetting {
  animation: wk-border-pulse .42s ease;
}

.board-doodle {
  position: absolute;
  z-index: 1;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.4rem;
  text-shadow: 3px 3px 0 var(--pink), 5px 5px 0 #000;
  animation: float-sticker 5.3s ease-in-out infinite;
}

.doodle-heart {
  right: 16%;
  top: 7%;
}

.doodle-skull {
  left: 6%;
  top: 42%;
  animation-delay: -1.2s;
}

.doodle-bolt {
  right: 7%;
  bottom: 10%;
  animation-delay: -2.1s;
}

.dossier-window {
  --reveal-rotate: rotate(var(--rotate, -1deg));
  position: absolute;
  z-index: 3;
  width: min(460px, 47%);
  color: #14121a;
  background: linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(235, 226, 238, .97));
  border: 3px solid #050d1e;
  box-shadow: 8px 8px 0 #000, 0 0 0 3px #fff, 0 0 26px rgba(37, 99, 235, .38);
  transform: var(--reveal-rotate) translate3d(0, 0, 0);
  transition: transform .22s ease, box-shadow .22s ease, opacity .45s ease;
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform, opacity, left, top;
}

.dossier-window:hover {
  transform: rotate(var(--rotate, -1deg)) translate3d(0, -5px, 0);
  box-shadow: 12px 13px 0 #000, 0 0 0 3px #fff, 0 0 30px rgba(37, 99, 235, .55);
}

.dossier-window.is-dragging {
  cursor: grabbing;
  transition: none;
  transform: rotate(0deg) translate3d(0, -2px, 0) scale(1.01);
}

.window-one {
  left: 3%;
  top: 38px;
  --rotate: -2deg;
}

.window-two {
  left: 44%;
  top: 92px;
  --rotate: 2deg;
}

.window-three {
  left: 10%;
  top: 398px;
  --rotate: 1.4deg;
}

.window-four {
  left: 51%;
  top: 448px;
  --rotate: -1.1deg;
}

.window-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .6rem;
  align-items: center;
  min-height: 42px;
  padding: .5rem .65rem;
  color: #fff;
  background: linear-gradient(90deg, #050d1e, #1a1018 52%, var(--pink));
  border-bottom: 3px solid #050d1e;
  cursor: grab;
  touch-action: none;
}

.window-dots {
  display: inline-flex;
  gap: 5px;
}

.window-dots i {
  display: block;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 2px 2px 0 #000;
}
