body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

video {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.yt-wrapper {
  position: relative;
  padding-top: 56.25%;
}
.yt-wrapper #yt-player {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

@keyframes gradient {
  0% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
#root {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  transition: 0.3s;
}
#root.step1 #s1-link, #root.step2 #s2-link, #root.step3 #s3-link, #root.step4 #s4-link {
  font-weight: 700;
}
#root.step1 .yt-wrapper {
  width: 500px;
  max-width: 100%;
}
#root.step2 #local-player {
  max-width: 500px;
}
#root.step3 {
  background: black;
}
#root.step3 #step {
  padding: 0;
  background: transparent;
  border-radius: 0;
}
#root.step3 #step #local-player {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
}
#root.step3 #step #local-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#root.step3 #step #local-player .video-controls {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 15px;
  opacity: 0;
  transition: 0.3s;
  transform: translateX(-50%);
}
#root.step3 #step #local-player .video-controls button {
  appearance: none;
  display: inline-block;
  vertical-align: middle;
  height: 30px;
  line-height: 30px;
  background: transparent;
  border: none;
  color: white;
  font-size: 30px;
  transition: 0.2s;
  cursor: pointer;
}
#root.step3 #step #local-player .video-controls button:hover {
  background: #333;
}
#root.step3 #step #local-player .video-controls button svg {
  vertical-align: middle;
}
#root.step3 #step #local-player .video-controls button svg path {
  fill: white;
}
#root.step3 #step #local-player .video-controls input[type=range] {
  width: 300px;
}
#root.step3 #step #local-player.hover .video-controls {
  opacity: 1;
}
#root.step3 #step .yt-wrap {
  position: absolute;
  z-index: 50;
  left: 20px;
  top: 20px;
  width: 400px;
  padding: 10px;
}
#root.step3 #step .yt-wrap.dragging .yt-wrapper {
  pointer-events: none;
  opacity: 0.5;
}
#root.step3 #step .info {
  position: absolute;
  z-index: 50;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: start;
  gap: 10px;
  padding: 20px;
  background: white;
  border-radius: 5px;
}
#root.step3 #step .info p {
  margin: 0;
}
#root.step3 #step .info a {
  display: block;
  color: red;
  font-size: 50px;
  line-height: 30px;
  text-decoration: none;
}

#step {
  margin-bottom: 10px;
  padding: 50px;
  background: white;
  border-radius: 5px;
}
#step > *:last-child {
  margin-bottom: 0;
}

.block {
  margin-bottom: 20px;
}

.inputs {
  display: flex;
  gap: 5px;
}

.warning-message {
  margin-bottom: 20px;
  padding: 10px;
  background: #8e1111;
  color: white;
  border-radius: 3px;
}

input.text {
  appearance: none;
  width: 300px;
  height: 30px;
  padding: 0 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.btn {
  appearance: none;
  height: 30px;
  padding: 0 10px;
  background: #2d72d2;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

#faq {
  position: fixed;
  z-index: 500;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: 0.3s;
  pointer-events: none;
}
#faq .inner {
  display: flex;
  gap: 20px;
  max-width: 700px;
  padding: 20px;
  background: white;
  border-radius: 10px;
}
#faq .inner .text {
  position: relative;
  overflow: auto;
  flex: 1;
  max-height: calc(100vh - 100px);
}
#faq .inner .text li {
  margin-bottom: 10px;
}
#faq .inner .text > *:last-child {
  margin-bottom: 0;
}
#faq .inner #faq-close {
  color: red;
  font-size: 60px;
  line-height: 30px;
  text-decoration: none;
}
#faq.show {
  opacity: 1;
  pointer-events: all;
}

body.video-ready > div[id^=kofi-] {
  opacity: 0.2;
}

body.is-work #root, body.is-work #faq .inner > * {
  opacity: 0.05;
}
body.is-work #root {
  background: transparent none !important;
}
body.is-work #root.step3 {
  background: black !important;
}
body.is-work div[id^=kofi-] {
  opacity: 0.05;
}

/*# sourceMappingURL=ytrs.css.map */
