/* 遮挡层样式 */
.blackboard {
  position: fixed; /* 固定定位，覆盖整个屏幕 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* 黑色背景，30%透明度 */
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  z-index: 1000; /* 确保遮挡层在最上面 */
}

/* 菊花图标样式 */
.spinner {
  border: 4px solid #f3f3f3; /* 浅灰色边框 */
  border-top: 4px solid #0cab9a; /* 边框，表示加载部分 */
  border-radius: 50%; /* 圆形 */
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite; /* 旋转动画 */
}

/* 旋转动画关键帧 */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.install-btn {
  background-color: #01875f;
  width: 100%;
  height: 40px;
  min-width: 150px;
  border-radius: 6px;
  color: #fff;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
}

.install-btn:hover {
  background-color: #0d6b50;
}

.install-btn:active {
  background-color: #095943;
}

.install-btn-text {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  margin-top: -6px;
  z-index: 2;
}

.install-btn-ios {
  background-color: #0472cf;
  width: 185px;
  height: 38px;
  border-radius: 8px;
  color: #fff;
  font-weight: 520;
  text-align: center;
  font-size: 15px;
}

.install-btn-ios:hover {
  background-color: #0360af;
}

.install-btn-ios:active {
  background-color: #0472cf;
}

.ios-guide{
  position: fixed;
  z-index: 100;
  width: 100%;
  bottom: 0;
  text-align: center;
}

#ID-guide.alpha1{
  opacity: 1;
}

#ID-guide.alpha0{
  opacity: 0;
}

#ID-guide.fade-out{
  transition: opacity 1s ease-in-out;
}

.cancel-btn {
  background-color: #fff;
  width: 48%;
  border-radius: 20px;
  border-style: solid;
  border-color: #ccc;
  border-width: 2px;
  color: #01875f;
  font-family: "Google Sans", Roboto, Arial, sans-serif;
  font-weight: 500;
  text-align: center;
  font-size: 15px;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
}

.cancel-btn:hover {
  background-color: #ecfdf8;
}

.cancel-btn:active {
  background-color: #ecfdf8;
}

.dialog {
  width: 80%;
  border-radius: 10px;
  background: #fff;
  padding-top: 30px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  text-align: center;
  line-height: 22px;
  font-weight: bold;
  color: #666;
}

/* 环形Loading start */
.circel-progress {
  width: 80px;
  height: 80px;
  position: absolute;z-index: -1;left: -4px;top: 3px;
  border-radius: 50%;
  background: conic-gradient(#01875f 0deg, #01875f 250deg, transparent 250deg, transparent 360deg);
  /*animation: spin 1s linear infinite;*/
}
.circel-progress-center {
  width: 76px;
  height: 76px;
  left: 2px;
  top: 2px;
  position: relative;
  border-radius: 50%;
  background: #fff;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* 环形Loading end */
/* DramaSay automatic language detection: no visible manual language control. */
html.pwa-rtl .dialog, html.pwa-rtl #ID-guide { direction: rtl; }
html.pwa-rtl .dialog p { text-align: right; }
html.pwa-rtl .SfzRHd, html.pwa-rtl .bARER, html.pwa-rtl .we-clamp,
html.pwa-rtl .information-list, html.pwa-rtl .section__headline {
  direction: rtl; text-align: right;
}
/* Prevent long iOS Arabic, Spanish and Portuguese installation steps from overflowing. */
#ID-guide > div { box-sizing: border-box; }
#ID-guide > div > div[style*="top:64%"] {
  width: 67%; max-height: 14%; overflow-wrap: anywhere;
  font-size: clamp(10px, 3.3vw, 16px);
}
#ID-guide > div > div[style*="top:75%"] {
  font-size: clamp(10px, 3.3vw, 16px);
  overflow-wrap: anywhere;
}
html.pwa-rtl #ID-guide > div > div[style*="top:64%"] { text-align: right; }

/* The original iOS navigation uses z-index:9999. Dialogs must remain above it. */
.blackboard { z-index: 13000; }
.ios-guide { z-index: 13001; }
