/**
 * ============================================================
 *  外部浏览器打开引导层样式
 *  说明：当在微信 / 手机QQ / 抖音内打开时，隐藏落地页，
 *        只显示“请用浏览器打开”的引导层，避免域名被风控。
 * ============================================================ */

/* 命中拦截时：隐藏落地页主体，锁定滚动 */
html.env-guard-active .phone-frame { display: none !important; }
html.env-guard-active,
html.env-guard-active body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #eef1f6;
}

/* 引导层容器：全屏覆盖，最高层级 */
#env-guard-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 22px;
  box-sizing: border-box;
  background: #eef1f6;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-tap-highlight-color: transparent;
  overflow-y: auto;
}

/* 顶部：右上角引导箭头 + 提示文案 */
.eg-top {
  position: relative;
  width: 100%;
  min-height: 130px;
  padding-top: 10px;
  box-sizing: border-box;
}
.eg-arrow {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 60px;
  height: 60px;
  color: #1d82ff;
}
.eg-top-tip {
  padding: 66px 72px 0 8px;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #1f2b4d;
}

/* 中部卡片 */
.eg-card {
  width: 100%;
  max-width: 360px;
  margin: auto 0;
  padding: 30px 22px 26px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(20, 40, 90, .08);
  text-align: center;
}
.eg-badge {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: #eaf2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eg-badge svg { width: 34px; height: 34px; color: #1d82ff; }
.eg-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: #222;
}
.eg-desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #7b828d;
}
.eg-desc .eg-app { color: #1d82ff; font-weight: 600; }
.eg-url-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: #9298a2;
  text-align: left;
}
.eg-url {
  margin-bottom: 16px;
  padding: 11px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #1d82ff;
  text-align: left;
  word-break: break-all;
  background: #f4f7fb;
  border: 1px solid #e6ecf5;
  border-radius: 9px;
}
.eg-btn {
  display: block;
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-radius: 26px;
  background: #1d82ff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.eg-btn:active { background: #1667d6; }
.eg-btn.eg-ok { background: #22bb66; }
.eg-btn.eg-fail { background: #e2554e; }
.eg-hint {
  margin-top: 12px;
  font-size: 12px;
  color: #a7adb7;
}

/* 底部装饰文字 */
.eg-foot {
  padding: 16px 0 24px;
  font-size: 12px;
  color: #aeb4be;
}
