/* YouTube Playables template. The canvas always fills the viewport: certification
   requires responsive layout for every aspect ratio (9:32 .. 32:9) and no
   orientation lock. Unity's loader matches the canvas backing size to its CSS size. */
html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #1a1a1a;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
#unity-container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
#unity-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}
#unity-warning {
  position: absolute;
  left: 50%;
  top: 5%;
  transform: translate(-50%);
  background: white;
  padding: 10px;
  display: none;
}
#unity-loading-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  flex-direction: column;
  align-items: center;
}
#unity-logo {
  width: 154px;
  height: 130px;
  background: url('logo.png') no-repeat center;
  background-size: contain;
  margin-bottom: 20px;
  border-radius: 15px;
}
#unity-progress-bar-empty {
  width: 280px;
  max-width: 70vw;
  height: 12px;
  margin: 0;
  padding: 3px;
  background-color: #2a2a2e;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25) inset;
}
#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  margin: 0;
  background: #3498db;
  border-radius: 8px;
  transition: width .3s ease-in-out;
  position: relative;
  overflow: hidden;
}
#unity-progress-bar-full::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
  animation: move-sheen 1.5s infinite linear;
}
@keyframes move-sheen {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(250%); }
}
