/* ============================================================
   Windows 10 安装界面 —— 样式
   原站地址：https://www.bitsoo.cn/fakeupdate/system/win10/
   说明：原站环形进度条依赖 jQuery-plugin-progressbar.js，
        此处用等价的原生 CSS 动画 + 内联更新实现，观感一致且零依赖。
   ============================================================ */

body {
  margin: 0;
  padding: 0;
  background: black;
  font-family: Segoe UI;
  color: white;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  cursor: url(../../img/gQyFbtU.png), auto;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

h1 {
  font-size: 48px;
  font-weight: normal;
  font-family: Segoe UI Light, Segoe UI;
}

.center {
  width: 500px;
  height: 500px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -250px;
  margin-top: -250px;
}

#bottom {
  position: fixed;
  bottom: 3%;
  width: 100%;
}

#black { display: none; }

.position {
  margin-left: 140px;
  margin-top: 100px;
}

/* ---- 环形进度条（原站数值：200x200，环 206px） ---- */
.progress-bar {
  position: fixed;
  height: 200px;
  width: 200px;
}

.progress-bar div {
  position: fixed;
  height: 206px;
  width: 206px;
  border-radius: 50%;
}

.progress-bar div span {
  position: absolute;
  font-family: Segoe UI Light, Segoe UI, Arial;
  font-size: 60px;
  line-height: 185px;
  height: 200px;
  width: 200px;
  left: 3px;
  top: 3px;
  text-align: center;
  border-radius: 50%;
  background-color: black;
}

.progress-bar .background { background-color: #42709c; }

.progress-bar .rotate {
  clip: rect(0 100px 200px 0);
  background-color: #7b7b7b;
}

.progress-bar .left {
  clip: rect(0 100px 200px 0);
  opacity: 1;
  background-color: #7b7b7b;
}

.progress-bar .right {
  clip: rect(0 100px 200px 0);
  transform: rotate(180deg);
  opacity: 0;
  background-color: #7b7b7b;
}

/* 环形不动时的常驻弧：原站由插件 js 驱动，这里用 CSS 弧补足观感 */
.progress-bar .arc {
  border: 6px solid transparent;
  border-top-color: #ffffff;
  border-right-color: #ffffff;
  box-sizing: border-box;
  animation: fu-spin 1.4s linear infinite;
}

@keyframes fu-spin {
  to { transform: rotate(360deg); }
}

@keyframes toggle {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
