/* L'ANTENNE: the creator's webcam that falls into the player's screen (src/ui/creatorPop.js) */
.cpop { position: fixed; right: 2.2vw; top: 9vh; z-index: 9000; width: min(360px, 34vw); pointer-events: none;
  transform: translateY(-140vh) rotate(-8deg); transition: transform .55s cubic-bezier(.2, 1.5, .4, 1); }
.cpop.small { width: min(230px, 24vw); top: 10vh; }
.cpop.in { transform: translateY(0) rotate(-2deg); animation: cpopSway 3.2s ease-in-out .6s infinite alternate; }
.cpop.out { transform: translateY(-140vh) rotate(6deg); transition-duration: .45s; }
.cpop.off { transform: scale(.02, .02) rotate(-2deg); opacity: 0; transition: transform .35s ease-in, opacity .35s ease-in; }
@keyframes cpopSway { from { transform: rotate(-2deg); } to { transform: rotate(1.5deg); } }
.cpop-tv { position: relative; padding: 10px 10px 30px; background: linear-gradient(160deg, #e8202e, #9b0f1a); border: 4px solid #120a1a;
  border-radius: 14px; box-shadow: 7px 7px 0 #120a1a; pointer-events: auto; }
.cpop.small .cpop-tv { padding: 6px 6px 22px; border-width: 3px; box-shadow: 4px 4px 0 #120a1a; }
.cpop-scr { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; border: 3px solid #120a1a; border-radius: 10px; }
.cpop-scr video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cpop-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 4px);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .6); }
.cpop-tag { position: absolute; left: 10px; right: 40px; bottom: 5px; font: 18px/1.2 'Bangers', sans-serif; letter-spacing: .5px; color: #fff3d6;
  text-shadow: 2px 2px 0 #120a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cpop.small .cpop-tag { font-size: 14px; bottom: 3px; left: 7px; }
.cpop-tag b { color: #ffd84a; animation: cpopBlink 1s steps(2) infinite; }
@keyframes cpopBlink { 50% { opacity: .35; } }
.cpop-x { position: absolute; right: 6px; bottom: 3px; width: 26px; height: 22px; padding: 0; cursor: pointer; font: 16px/1 sans-serif; color: #fff3d6;
  background: #120a1a; border: 2px solid #fff3d6; border-radius: 6px; }
.cpop-snd { position: absolute; left: 50%; top: 40%; transform: translateX(-50%); cursor: pointer; padding: 6px 10px; font: 16px 'Bangers', sans-serif;
  color: #120a1a; background: #ffd84a; border: 3px solid #120a1a; box-shadow: 3px 3px 0 #120a1a; }
