.challenge-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(25, 29, 46, 0.35), transparent 34%),
        rgba(5, 5, 5, 0.96);
}

.challenge-loading-overlay.is-visible {
    display: flex;
}

.challenge-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: min(92vw, 360px);
    text-align: center;
}

.challenge-loading-redirecting {
    display: none;
    margin: 0;
    color: #f5f5f5;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.challenge-loading-overlay.is-redirecting .challenge-loading-content {
    display: none;
}

.challenge-loading-overlay.is-redirecting .challenge-loading-redirecting {
    display: block;
}

.challenge-loading-title {
    margin: 1.25rem 0 0.5rem;
    color: #f5f5f5;
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.challenge-loading-message {
    margin: 0;
    color: rgba(245, 245, 245, 0.72);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
}

.challenge-loading-bar {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.loader-bar {
    width: min(100%, 240px);
    height: 10px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.loader-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(9, 188, 9);
    width: 0%;
    height: 100%;
    border-radius: 2px;
    animation: load 3.5s ease-in-out infinite;
    box-shadow: rgb(9, 188, 9) 0px 2px 29px 0px;
}

@keyframes load {
    50% {
        width: 100%;
    }

    100% {
        right: 0;
        left: unset;
    }
}

.pl {
    display: block;
    width: 9.375em;
    height: 9.375em;
}

.pl__arrows,
.pl__ring-rotate,
.pl__ring-stroke,
.pl__tick {
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.pl__arrows {
    animation-name: arrows42;
    transform: rotate(45deg);
    transform-origin: 16px 52px;
}

.pl__ring-rotate,
.pl__ring-stroke {
    transform-origin: 80px 80px;
}

.pl__ring-rotate {
    animation-name: ringRotate42;
}

.pl__ring-stroke {
    animation-name: ringStroke42;
    transform: rotate(-45deg);
}

.pl__tick {
    animation-name: tick42;
}

.pl__tick:nth-child(2) {
    animation-delay: -1.75s;
}

.pl__tick:nth-child(3) {
    animation-delay: -1.5s;
}

.pl__tick:nth-child(4) {
    animation-delay: -1.25s;
}

.pl__tick:nth-child(5) {
    animation-delay: -1s;
}

.pl__tick:nth-child(6) {
    animation-delay: -0.75s;
}

.pl__tick:nth-child(7) {
    animation-delay: -0.5s;
}

.pl__tick:nth-child(8) {
    animation-delay: -0.25s;
}

@keyframes arrows42 {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(405deg);
    }
}

@keyframes ringRotate42 {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(720deg);
    }
}

@keyframes ringStroke42 {
    from,
    to {
        stroke-dashoffset: 452;
        transform: rotate(-45deg);
    }

    50% {
        stroke-dashoffset: 169.5;
        transform: rotate(-180deg);
    }
}

@keyframes tick42 {
    from,
    3%,
    47%,
    to {
        stroke-dashoffset: -12;
    }

    14%,
    36% {
        stroke-dashoffset: 0;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   加载遮罩 Google 化覆盖层（2026-10-15）
   原则：只追加、不删除；原类名（.challenge-loading-* / .pl__* / .loader-bar）全部保留
   ═══════════════════════════════════════════════════════════════════════════ */
.challenge-loading-overlay{
  background:radial-gradient(circle at 50% 0%, #eef3fd 0%, rgba(249,249,249,0) 42%), #f9f9f9 !important;
  display:none;}
.challenge-loading-overlay.is-visible{display:flex}
.challenge-loading-content{max-width:min(92vw,360px);text-align:center}

/* SVG 环形 spinner → Google 蓝 */
.challenge-loading-overlay .pl__ring-stroke{stroke:#4285f4 !important}
.challenge-loading-overlay .pl__tick{stroke:#dadce0 !important}
.challenge-loading-overlay .pl__arrows path{fill:#4285f4 !important}
.challenge-loading-overlay .pl__arrows path + path{fill:#c8d8f8 !important}
.challenge-loading-overlay svg.pl{width:120px !important;height:120px !important}

.challenge-loading-title{
  margin:18px 0 6px !important;
  font:400 18px/1.4 "Roboto","Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif !important;
  color:#202124 !important;letter-spacing:.1px}
.challenge-loading-message{
  margin:0 0 18px !important;
  font:400 13px/1.6 "Roboto","Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif !important;
  color:#5f6368 !important}

/* 进度条 → Google 蓝细条 */
.challenge-loading-bar{
  width:min(78vw,240px) !important;height:4px !important;border-radius:2px !important;
  background:#e8eaed !important;overflow:hidden !important;position:relative !important;margin:0 auto !important}
.challenge-loading-bar .loader-bar{
  height:100% !important;border-radius:2px !important;
  background:linear-gradient(90deg,#4285f4 0%,#1a73e8 55%,#4285f4 100%) !important;
  background-size:220% 100% !important;animation:g-bar 1.5s ease-in-out infinite !important}
@keyframes g-bar{0%{background-position:0% 0}100%{background-position:200% 0}}

.challenge-loading-redirecting{
  display:none;margin:14px 0 0 !important;
  color:#5f6368 !important;
  font:400 14px/1.6 "Roboto","Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif !important}
