/* ============================================================
   非 Safari 提示卡样式
   —— 半透明压暗 + 背景虚化，新闻页在卡片后面隐约可见
   ============================================================ */

/* 被拦下的访客：只压住加载屏（不让它接管画面），新闻屏保持渲染并隐约透出来 */
.ua-blocked .screen-loading {
  display: none !important;
}
.ua-blocked .screen-news {
  pointer-events: none;      /* 点击都交给上层遮罩 */
}
.ua-blocked,
.ua-blocked body {
  overflow: hidden;          /* 弹层样式：背景不跟着滚 */
}

.safari-gate {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  /* 中间稍透、四周更暗，保证卡片可读但背景能吃出内容 */
  background: radial-gradient(115% 85% at 50% 42%,
              rgba(10, 14, 28, .58) 0%,
              rgba(8, 11, 22, .88) 100%);
  -webkit-backdrop-filter: blur(4px) saturate(.88);
  backdrop-filter: blur(4px) saturate(.88);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

.safari-card {
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  text-align: center;
  background: rgba(22, 28, 46, .82);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: gateIn .4s ease both;
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.safari-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d9ff, #7b2ff7);
  box-shadow: 0 0 24px rgba(0, 217, 255, .45);
}
.safari-icon svg {
  width: 32px;
  height: 32px;
}

.safari-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 10px;
}
.safari-title .hl {
  color: #00d9ff;
}

.safari-desc {
  font-size: 13px;
  line-height: 1.7;
  color: #9aa0b4;
  margin-bottom: 22px;
}

.safari-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #00d9ff, #7b2ff7);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 217, 255, .25);
  transition: transform .15s ease;
}
.safari-btn:active {
  transform: scale(.985);
}
.safari-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
