/* ==========================================================================
   WitherMC · 跳转页样式
   用于 meta refresh 跳转页：正常情况下瞬间跳走，
   此样式只在跳转被阻塞/延迟时作为兜底展示。
   ========================================================================== */

/* 现在是 .page-main，高度由 .page 的 min-height:100dvh 提供。
   自身不再设 min-height，否则会叠成「页头 + 整屏」而多出滚动条。 */
.redirect-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  text-align: center;
}

.redirect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 420px;
  padding: 34px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.redirect-spinner {
  width: 26px;
  height: 26px;
  border: 2px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.redirect-title {
  font-size: 1.05rem;
  font-weight: 650;
}

.redirect-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  word-break: break-all;
}

.redirect-link {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.redirect-link:hover {
  color: var(--accent-strong);
}
