/* Fourth-round supplement. Bounded native SVG; every moving effect uses the
   same visibility-controlled clock. Static gradients need no blur filters. */
.tech-earth-host { position: relative; display: block; flex: none; isolation: isolate; contain: layout style; }
.tech-earth-host::before { content: ''; position: absolute; inset: 5%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, #8ecddb1f 0, #a5dce515 52%, transparent 73%); pointer-events: none; }
.tech-earth-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tech-earth-fallback { display: block; width: 100%; height: 100%; object-fit: contain; }
.ip-check-hint { color: var(--xb-brand-navy); letter-spacing: .02em; font-weight: 650; }
.ip-check-link .tech-earth-host { filter: none; }
.tech-earth-host[data-tech-earth-tier="low"]::before,
.tech-earth-host[data-tech-earth-tier="static"]::before { background: none; }
.banner-ip-check .ip-check-link:focus-visible { outline: none; }
@media (min-width: 1024px) {
  .banner.banner-ip-check { grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr); gap: 28px; }
  .banner-ip-check .ip-check-link { justify-content: center; gap: clamp(8px, 1vw, 14px); padding: 8px; transform: translateX(-12px); }
  .banner-ip-check .ip-check-earth { width: clamp(148px, 14vw, 178px); height: clamp(148px, 14vw, 178px); }
  .banner-ip-check .ip-check-hint { font-size: clamp(13px, 1vw, 15px); }
}
@media (max-width: 699px) {
  .banner-ip-check .ip-check-link { gap: 3px; padding: 3px; }
  .banner-ip-check .ip-check-earth { width: 110px; height: 110px; }
  .banner-ip-check .ip-check-hint { font-size: 12px; }
}
@media (max-width: 359px) {
  .banner-ip-check .ip-check-earth { width: 96px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-earth-svg, .tech-earth-svg * { animation: none !important; transition: none !important; }
}


/* Desktop tech banner polish; keeps IP quality-check link clickable. */
@media (min-width: 1024px) {
  .banner.banner-ip-check-tech {
    position: relative;
    overflow: hidden;
    border: 1px solid #9ec5ff88;
    background:
      radial-gradient(120% 90% at 12% 10%, #d9ecff 0%, transparent 55%),
      radial-gradient(90% 80% at 88% 30%, #b7f0ff66 0%, transparent 50%),
      linear-gradient(120deg, #eaf3ff 0%, #f4fbff 48%, #e7f6ff 100%);
    box-shadow: inset 0 1px 0 #ffffffaa, 0 18px 40px #1d4ed81a;
  }
  .banner.banner-ip-check-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(#3b82f614 1px, transparent 1px),
      linear-gradient(90deg, #3b82f614 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    opacity: .55;
  }
  .banner.banner-ip-check-tech::after {
    content: '';
    position: absolute;
    width: 220%;
    height: 90px;
    left: -60%;
    top: -40px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #ffffff66, transparent);
    transform: rotate(8deg);
    animation: bannerTechSweep 5.5s ease-in-out infinite;
  }
  .banner-ip-check-tech .banner-ip-copy h2 {
    letter-spacing: .04em;
    text-shadow: 0 0 18px #60a5fa55;
  }
  .banner-ip-check-tech .ip-check-link {
    position: relative;
    z-index: 1;
    border: 1px solid #93c5fd88;
    background: #ffffffb8;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 28px #2563eb22;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .banner-ip-check-tech .ip-check-link:hover {
    /* no hover affordance — earth is not a link */
    transform: none;
    border-color: transparent;
    box-shadow: none;
  }
  .banner-ip-check-tech .ip-check-hint {
    color: #1d4ed8;
  }
}
@keyframes bannerTechSweep {
  0%, 100% { transform: translateX(-8%) rotate(8deg); opacity: .15; }
  50% { transform: translateX(18%) rotate(8deg); opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .banner.banner-ip-check-tech::after { animation: none; }
}

/* Tech banner v2 — ripples origin = Earth center (all widths); no L→R sweep. */
.banner.banner-ip-check-tech-v2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #38bdf866;
  border-radius: 18px;
  background:
    linear-gradient(#38bdf812 1px, transparent 1px),
    linear-gradient(90deg, #38bdf812 1px, transparent 1px),
    radial-gradient(40% 80% at 8% 20%, #22d3ee33 0%, transparent 60%),
    radial-gradient(45% 70% at 85% 50%, #6366f128 0%, transparent 55%),
    radial-gradient(30% 50% at 55% 0%, #0ea5e933 0%, transparent 70%),
    linear-gradient(135deg, #071426 0%, #0b1f3a 42%, #102a4a 72%, #0a1a30 100%);
  background-size:
    22px 22px,
    22px 22px,
    auto,
    auto,
    auto,
    auto;
  box-shadow:
    inset 0 1px 0 #ffffff22,
    inset 0 -1px 0 #38bdf822,
    0 0 0 1px #0ea5e91a,
    0 16px 36px #02061766;
}
/* No decorative banner ::before/::after — acoustic waves live in .banner-signal-waves SVG. */
.banner.banner-ip-check-tech-v2::before,
.banner.banner-ip-check-tech-v2::after {
  content: none;
  display: none;
  animation: none;
}
/* Signal pulses from earth (GPU-cheap: transform+opacity only, no live filters). Cleaner radar lobes. */
.banner-ip-check-tech-v2 .banner-signal-waves {
  /* Pin to true globe center (same box as .ip-check-earth, includes link translateX). */
  position: absolute;
  left: 50%;
  top: 50%;
  /* viewBox half=500, ring r≈86 → size so scale(1) hugs earth radius. */
  width: calc(100% * 500 / 86);
  height: calc(100% * 500 / 86);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  contain: layout style;
  transform: translate(-50%, -50%) translateZ(0);
  backface-visibility: hidden;
}
.banner-ip-check-tech-v2 .ip-check-link {
  /* Absolute waves are positioned against this box (= globe host). */
  position: relative;
}
.banner-ip-check-tech-v2 .ip-check-earth {
  position: relative;
  z-index: 2;
}
.banner-ip-check-tech-v2 .banner-signal-wave path {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
  /* Soft cyan glow via bright stroke — no drop-shadow (avoids per-frame filter). */
  paint-order: stroke;
}
.banner-ip-check-tech-v2 .banner-signal-wave--1 path { stroke: #cffafe; stroke-opacity: .88; stroke-width: 1.7; }
.banner-ip-check-tech-v2 .banner-signal-wave--2 path { stroke: #67e8f9; stroke-opacity: .72; stroke-width: 1.5; }
.banner-ip-check-tech-v2 .banner-signal-wave--3 path { stroke: #38bdf8; stroke-opacity: .55; stroke-width: 1.35; }
.banner-ip-check-tech-v2 .banner-signal-wave--4 path { stroke: #22d3ee; stroke-opacity: .4; stroke-width: 1.2; }
.banner-ip-check-tech-v2 .banner-signal-wave {
  transform-origin: center;
  transform-box: fill-box;
  transform: translateZ(0) scale(1);
  opacity: 0;
  /* Linear transform+opacity only — pulse leaves earth surface then fades at banner edge. */
  animation: bannerSignalPulse 5.4s linear infinite;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.banner-ip-check-tech-v2 .banner-signal-wave--1 { animation-delay: 0s; }
.banner-ip-check-tech-v2 .banner-signal-wave--2 { animation-delay: 1.35s; }
.banner-ip-check-tech-v2 .banner-signal-wave--3 { animation-delay: 2.7s; }
.banner-ip-check-tech-v2 .banner-signal-wave--4 { animation-delay: 4.05s; }
.banner-ip-check-tech-v2 .banner-ip-copy {
  position: relative;
  z-index: 2;
}
.banner-ip-check-tech-v2 .banner-ip-copy h2 {
  margin: 0 0 8px;
  color: #e8f6ff;
  letter-spacing: .06em;
  text-shadow:
    0 0 10px #22d3ee77,
    0 0 28px #0ea5e955,
    0 2px 0 #02061788;
}
.banner-ip-check-tech-v2 .banner-ip-copy p {
  color: #9ad7f0;
  text-shadow: 0 0 8px #0ea5e944;
}
.banner-ip-check-tech-v2 .ip-check-link {
  position: relative;
  z-index: 2;
  overflow: visible;
  border: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  /* Decorative only — no IP-check navigation. */
  cursor: default;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  text-decoration: none;
}
.banner-ip-check-tech-v2 .ip-check-link:hover,
.banner-ip-check-tech-v2 .ip-check-link:focus,
.banner-ip-check-tech-v2 .ip-check-link:focus-visible {
  background: transparent;
  outline: none;
  box-shadow: none;
  cursor: default;
}
.banner-ip-check-tech-v2 .ip-check-link::before {
  content: none;
  display: none;
}
.banner-ip-check-tech-v2 .ip-check-hint {
  color: #e0f7ff;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 0 8px #22d3ee77;
}
.banner-ip-check-tech-v2 .ip-check-arrow {
  color: #67e8f9;
  filter: drop-shadow(0 0 5px #22d3ee);
}
.banner-ip-check-tech-v2 .ip-check-earth {
  position: relative;
  z-index: 2;
  overflow: visible;
  contain: none;
  isolation: isolate;
  /* Keep filter off the ripple host — drop-shadow flattens ::before/::after box-shadows into squares. */
  filter: none;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
.banner-ip-check-tech-v2 .ip-check-earth > .tech-earth-fallback,
.banner-ip-check-tech-v2 .ip-check-earth > .tech-earth-svg {
  border-radius: 50%;
  filter: drop-shadow(0 0 14px #22d3ee77) drop-shadow(0 8px 14px #02061799);
}
/* Earth host no longer draws its own rings — full-banner acoustic SVG handles waves. */
.banner-ip-check-tech-v2 .ip-check-earth::before,
.banner-ip-check-tech-v2 .ip-check-earth::after {
  content: none;
  display: none;
  animation: none;
}

@media (min-width: 1024px) {
  .banner.banner-ip-check-tech-v2 {
    min-height: 236px;
    border-radius: 22px;
    box-shadow:
      inset 0 1px 0 #ffffff22,
      inset 0 -1px 0 #38bdf822,
      0 0 0 1px #0ea5e91a,
      0 24px 60px #02061788;
  }
  .banner-ip-check-tech-v2 .banner-ip-copy {
    padding-left: 4px;
  }
  .banner-ip-check-tech-v2 .banner-ip-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 2.4vw, 36px);
    letter-spacing: .08em;
    text-shadow:
      0 0 12px #22d3ee88,
      0 0 36px #0ea5e966,
      0 2px 0 #02061788;
  }
  .banner-ip-check-tech-v2 .banner-ip-copy p {
    font-size: 16px;
    letter-spacing: .04em;
  }
  .banner-ip-check-tech-v2 .ip-check-link {
    gap: 14px;
    padding: 8px 4px;
    transform: translateX(-8px);
    transition: filter .22s ease, transform .22s ease;
  }
  .banner-ip-check-tech-v2 .ip-check-link:hover {
    transform: translateX(-8px) translateY(-2px);
    border: none;
    box-shadow: none;
    /* No filter here — it would rectangularize child circular ripples. */
    filter: none;
  }
  .banner-ip-check-tech-v2 .ip-check-hint {
    letter-spacing: .06em;
    text-shadow: 0 0 10px #22d3ee88;
  }
  .banner-ip-check-tech-v2 .ip-check-earth {
    filter: none;
  }
  .banner-ip-check-tech-v2 .ip-check-earth > .tech-earth-fallback,
  .banner-ip-check-tech-v2 .ip-check-earth > .tech-earth-svg {
    filter: drop-shadow(0 0 18px #22d3ee88) drop-shadow(0 10px 18px #020617aa);
  }
}

@keyframes bannerSignalPulse {
  0% {
    /* Hug globe, then emit outward from earth center. */
    transform: translateZ(0) scale(1);
    opacity: 0;
  }
  4% {
    opacity: .9;
  }
  18% {
    opacity: .72;
  }
  100% {
    transform: translateZ(0) scale(7.5);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .banner-ip-check-tech-v2 .banner-signal-wave {
    animation: none !important;
    opacity: .32;
    will-change: auto;
  }
  .banner-ip-check-tech-v2 .banner-signal-wave--1 { transform: translateZ(0) scale(1.05); }
  .banner-ip-check-tech-v2 .banner-signal-wave--2 { transform: translateZ(0) scale(2.1); }
  .banner-ip-check-tech-v2 .banner-signal-wave--3 { transform: translateZ(0) scale(3.4); }
  .banner-ip-check-tech-v2 .banner-signal-wave--4 { transform: translateZ(0) scale(4.8); }
}

/* Mobile overview banner: staircase indent (~1 Chinese char per step). */
.banner-ip-check-tech-v2 .banner-ip-copy h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.banner-ip-check-tech-v2 .banner-copy-l1,
.banner-ip-check-tech-v2 .banner-copy-l2,
.banner-ip-check-tech-v2 .banner-copy-l3 {
  display: block;
}
.banner-ip-check-tech-v2 .banner-copy-l2,
.banner-ip-check-tech-v2 .banner-copy-l3 {
  padding-left: 0;
}
@media (max-width: 699px) {
  .banner-ip-check-tech-v2 .banner-ip-copy h2 {
    margin: 0 0 6px;
    line-height: 1.35;
  }
  .banner-ip-check-tech-v2 .banner-copy-l2 {
    padding-left: 1em; /* 比上一排空一个字 */
  }
  .banner-ip-check-tech-v2 .banner-copy-l3 {
    margin: 0;
    padding-left: 2em; /* 再空一个字 */
    line-height: 1.5;
  }
}
