* { box-sizing: border-box; margin: 0; padding: 0; }

body.nav-jump-standalone {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #4facfe 40%, #00c6fb 100%);
  background-size: 400% 400%;
  animation: navJumpBgShift 12s ease infinite;
}

@keyframes navJumpBgShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-jump-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.nav-jump-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(2px);
  animation: navJumpFloat 18s ease-in-out infinite;
}

.nav-jump-orb.orb-1 { width: 280px; height: 280px; top: -80px; left: -60px; animation-delay: 0s; }
.nav-jump-orb.orb-2 { width: 180px; height: 180px; top: 60%; right: -40px; animation-delay: -4s; }
.nav-jump-orb.orb-3 { width: 120px; height: 120px; bottom: 10%; left: 15%; animation-delay: -8s; }
.nav-jump-orb.orb-4 { width: 90px; height: 90px; top: 25%; right: 20%; animation-delay: -12s; }

@keyframes navJumpFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  33% { transform: translate(30px, -20px) scale(1.08); opacity: 0.7; }
  66% { transform: translate(-20px, 15px) scale(0.95); opacity: 0.4; }
}

.nav-jump-particles {
  position: absolute;
  inset: 0;
}

.nav-jump-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: navJumpParticle 6s linear infinite;
}

@keyframes navJumpParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20px) scale(1); opacity: 0; }
}

.nav-jump-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(30, 80, 150, 0.25), 0 0 0 1px rgba(255,255,255,0.5) inset;
  padding: 40px 32px 28px;
  text-align: center;
  animation: navJumpCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes navJumpCardIn {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.nav-jump-card h1 {
  font-size: 26px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 14px;
  animation: navJumpFadeUp 0.6s 0.15s ease both;
}

.nav-jump-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a73e8;
  font-size: 15px;
  margin-bottom: 10px;
  animation: navJumpFadeUp 0.6s 0.25s ease both;
}

.nav-jump-status .dot-pulse {
  display: inline-flex;
  gap: 4px;
  margin-left: 6px;
}

.nav-jump-status .dot-pulse i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a73e8;
  animation: navJumpDotPulse 1.2s ease infinite;
}

.nav-jump-status .dot-pulse i:nth-child(2) { animation-delay: 0.2s; }
.nav-jump-status .dot-pulse i:nth-child(3) { animation-delay: 0.4s; }

@keyframes navJumpDotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes navJumpFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-jump-hint {
  font-size: 13px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 6px;
  animation: navJumpFadeUp 0.6s 0.35s ease both;
}

.nav-jump-bullets {
  list-style: none;
  font-size: 13px;
  color: #aaa;
  line-height: 1.9;
  margin: 8px 0 22px;
  animation: navJumpFadeUp 0.6s 0.45s ease both;
}

.nav-jump-bullets li::before { content: "\2022  "; }

.nav-jump-site {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.nav-jump-url {
  font-size: 13px;
  color: #999;
  word-break: break-all;
  margin-bottom: 22px;
}

.nav-jump-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
  animation: navJumpIconFloat 3s ease-in-out infinite;
}

@keyframes navJumpIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.nav-jump-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.nav-jump-icon-ring {
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  border: 2px solid rgba(26, 115, 232, 0.3);
  animation: navJumpRingPulse 2s ease infinite;
}

@keyframes navJumpRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 0.2; }
}

.nav-jump-progress-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.nav-jump-progress-svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}

.nav-jump-progress-bg {
  fill: none;
  stroke: #e8f0fe;
  stroke-width: 4;
}

.nav-jump-progress-bar {
  fill: none;
  stroke: url(#navJumpGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 175.93;
  stroke-dashoffset: 175.93;
  transition: stroke-dashoffset 0.35s ease;
}

.nav-jump-progress-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #1a73e8;
}

.nav-jump-btn {
  display: inline-block;
  min-width: 260px;
  padding: 14px 32px;
  background: linear-gradient(90deg, #1a73e8, #4a9af5, #1a73e8);
  background-size: 200% 100%;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: navJumpBtnShine 3s ease infinite;
}

@keyframes navJumpBtnShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-jump-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 115, 232, 0.5);
  color: #fff;
}

.nav-jump-btn.is-disabled {
  background: #ccc;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
  animation: none;
}

.nav-jump-error {
  color: #e74c3c;
  font-size: 14px;
  margin-bottom: 16px;
}

.nav-jump-content {
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 16px 0;
}

.nav-jump-footer {
  margin-top: 28px;
  font-size: 12px;
  color: #bbb;
}

.nav-jump-back {
  margin-top: 18px;
  font-size: 13px;
}

.nav-jump-back a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-jump-back a:hover { color: #0d47a1; }

@media (prefers-reduced-motion: reduce) {
  body.nav-jump-standalone,
  .nav-jump-orb,
  .nav-jump-card,
  .nav-jump-icon-wrap,
  .nav-jump-btn { animation: none; }
}
