/* navix-pc-page-redirect —— 电脑端「短链跳转」
   这一页 99% 的情况下用户根本看不见（在第一个像素画出来之前就跳走了）。
   样式只为「短码没配到」这类停下来的时候服务，所以做得干净、居中、不依赖站点主题。 */

.gr-page {
  --gr-primary: #e74c3c;
  --gr-bg: #f8f6f0;
  position: fixed;
  inset: 0;
  z-index: 10040; /* 顶栏 10000 / 搜索弹层 10050 之下，其他浮层之上 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: var(--gr-bg);
  overflow: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.gr-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 32px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .08);
  text-align: center;
}

.gr-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  background: rgba(0, 0, 0, .04);
}
.gr-icon--go   { background: rgba(231, 76, 60, .10); }
.gr-icon--off  { background: rgba(0, 0, 0, .06); }
.gr-icon--warn { background: rgba(245, 158, 11, .12); }

.gr-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  word-break: break-word;
}

.gr-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
  word-break: break-word;
}

.gr-count {
  margin: 14px 0 0;
  font-size: 14px;
  color: #6b7280;
}
.gr-count b {
  color: var(--gr-primary);
  font-size: 20px;
  margin: 0 2px;
}

.gr-url {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #4a90d9;
  text-align: left;
  word-break: break-all;
}

.gr-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.gr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #f1f5f9;
  color: #475569;
  transition: background .18s ease, color .18s ease;
}
.gr-btn:hover { background: #e2e8f0; }

.gr-btn--main {
  background: var(--gr-primary);
  color: #fff;
}
.gr-btn--main:hover {
  filter: brightness(1.06);
  color: #fff;
}

@media (max-width: 480px) {
  .gr-card { padding: 28px 20px 24px; }
  .gr-title { font-size: 18px; }
  .gr-actions { gap: 10px; }
  .gr-btn { flex: 1 1 auto; min-width: 120px; }
}
