/* ── 内容模糊 ── */
#wcg-content-body.wcg-blurred {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  transition: filter 0.35s ease;
}

/* ── 遮罩层 ── */
.wcg-overlay {
  position: absolute;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 72px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0.5)  22%,
    rgba(255,255,255,0.94) 52%,
    rgba(255,255,255,1)    100%
  );
}

/* ── 弹窗卡片 ── */
.wcg-modal {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 30px 26px 22px;
  max-width: 340px;
  width: 90%;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* ── 状态图标（纯 CSS）── */
.wcg-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin: 0 auto 14px;
  position: relative;
  box-sizing: border-box;
}

/* pin：定位图钉 */
.wcg-icon--pin {
  background: #f1f1f1;
  border: 2px solid #ccc;
}
.wcg-icon--pin::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  background: #888;
}
.wcg-icon--pin::after {
  content: '';
  position: absolute;
  bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #888;
}

/* spin：旋转圆环（定位中）*/
.wcg-icon--spin {
  border: 3px solid #e0e0e0;
  border-top-color: #0073aa;
  animation: wcg-spin 0.75s linear infinite;
}
@keyframes wcg-spin { to { transform: rotate(360deg); } }

/* deny：红叉 */
.wcg-icon--deny {
  background: #fff0f0;
  border: 2px solid #dc3232;
}
.wcg-icon--deny::before,
.wcg-icon--deny::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 18px; height: 2px;
  background: #dc3232;
  border-radius: 1px;
}
.wcg-icon--deny::before { transform: translate(-50%,-50%) rotate(45deg); }
.wcg-icon--deny::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ── 文字 ── */
.wcg-modal-title {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.5;
}
.wcg-modal-body {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin: 0 0 18px;
}
.wcg-modal-hint {
  font-size: 11px;
  color: #aaa;
  margin: 8px 0 0;
}

/* ── 按钮（与 Typecho 后台风格接近）── */
.wcg-btn {
  display: block;
  width: 100%;
  padding: 9px 0;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1.4;
}
.wcg-btn:hover:not(:disabled) { background: #005f8b; color: #fff; }
.wcg-btn:disabled { background: #aaa; cursor: not-allowed; }

/* ── 深色模式 ── */
@media (prefers-color-scheme: dark) {
  .wcg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(20,20,20,0)    0%,
      rgba(20,20,20,0.5)  22%,
      rgba(20,20,20,0.94) 52%,
      rgba(20,20,20,1)    100%
    );
  }
  .wcg-modal {
    background: #1e1e1e;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  }
  .wcg-modal-title { color: #eee; }
  .wcg-modal-body  { color: #999; }
  .wcg-modal-hint  { color: #555; }
  .wcg-icon--pin   { background: #2a2a2a; border-color: #555; }
  .wcg-icon--pin::before,
  .wcg-icon--pin::after { background: #888; }
  .wcg-icon--spin  { border-color: #333; border-top-color: #4ea8d0; }
  .wcg-icon--deny  { background: #2a1515; border-color: #dc3232; }
}

/* ── 移动端 ── */
@media (max-width: 480px) {
  .wcg-overlay { padding-top: 40px; }
  .wcg-modal   { padding: 24px 16px 18px; }
}
