/* iOS 下载弹层。页面 body 是 36px 基准字号，这里全部显式指定，避免被继承放大。 */
.ogios-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ogios-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  box-sizing: border-box;
}

.ogios-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #999;
  cursor: pointer;
}

.ogios-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.ogios-text {
  margin: 0 0 14px;
  font-size: 14px;
  color: #666;
}

.ogios-fee {
  margin: 0 0 16px;
  text-align: center;
  font-size: 15px;
  color: #333;
}

.ogios-fee b {
  font-size: 26px;
  color: #ff5a26;
  margin: 0 2px;
}

.ogios-gift {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #f5f8ff;
  border-radius: 8px;
  font-size: 13px;
  color: #3a5bd9;
  text-align: center;
}

.ogios-btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 0;
  border: 0;
  border-radius: 8px;
  background: #2f6bff;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.ogios-btn:hover { opacity: .9; }
.ogios-btn[disabled] { background: #b9c6e6; cursor: default; }

.ogios-btn-plain {
  background: #f1f3f7;
  color: #444;
}

.ogios-account {
  margin: 0 0 14px;
  padding: 14px 16px;
  background: #f7f8fa;
  border-radius: 10px;
}

.ogios-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 15px;
}

.ogios-row span { color: #888; font-size: 13px; }
.ogios-row b { font-weight: 600; letter-spacing: .5px; }

.ogios-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: #999;
  text-align: center;
}

.ogios-err {
  margin: 0 0 12px;
  font-size: 13px;
  color: #e03131;
  text-align: center;
}

.ogios-spin {
  margin: 18px auto;
  width: 26px;
  height: 26px;
  border: 3px solid #e5e8ef;
  border-top-color: #2f6bff;
  border-radius: 50%;
  animation: ogios-rotate .8s linear infinite;
}

@keyframes ogios-rotate { to { transform: rotate(360deg); } }
