.st2-ag-wrap {
    margin: 10px 0 12px;
}
.st2-ag-spin-names {
    margin: 10px auto 4px;
    height: 52px;
    overflow: hidden;
    position: relative;
}
.st2-ag-spin-names-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: st2AgNamesRoll 0.55s linear infinite;
}
.st2-ag-spin-name-line {
    font-size: 14px;
    font-weight: 700;
    line-height: 26px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
@keyframes st2AgNamesRoll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
.st2-ag-spin-orbit {
    width: 100px;
    height: 100px;
    margin: 6px auto 0;
    position: relative;
    animation: st2AgOrbit 2.4s linear infinite;
}
.st2-ag-spin-orbit-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
}
@keyframes st2AgOrbit {
    to {
        transform: rotate(360deg);
    }
}
.st2-ag-result {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(92, 107, 192, 0.45);
}
.st2-ag-result-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 8px;
}
.st2-ag-result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 10px;
}
.st2-ag-result-table th,
.st2-ag-result-table td {
    border: 1px solid rgba(92, 107, 192, 0.35);
    padding: 6px 8px;
    text-align: left;
}
.st2-ag-result-table th {
    background: rgba(92, 107, 192, 0.12);
    font-weight: 700;
}
.st2-ag-confirm {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 100%);
    cursor: pointer;
}
.st2-ag-collapsed[hidden],
.st2-ag-result[hidden],
.st2-ag-spin[hidden],
.st2-ag-main[hidden] {
    display: none !important;
}
.st2-ag-collapsed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(92, 107, 192, 0.12);
    cursor: pointer;
}
.st2-ag-collapsed-label {
    font-weight: 700;
}
.st2-ag-collapsed-hint {
    opacity: 0.75;
    font-size: 11px;
}

/* 最后 10 秒全屏倒计时 + 旋转报名者姓名 */
.ppq-ag-fs {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 12, 28, 0.94);
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
}
.ppq-ag-fs.on {
    display: flex;
}
.ppq-ag-fs-inner {
    width: 100%;
    max-width: 360px;
    text-align: center;
    color: #eaf1ff;
}
.ppq-ag-fs-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #c5cae9;
}
.ppq-ag-fs-scheduled {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 20px;
}
.ppq-ag-fs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
.ppq-ag-fs-table th {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
    padding: 6px;
}
.ppq-ag-fs-table td {
    font-size: clamp(36px, 12vw, 56px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    padding: 8px 4px;
    color: #fff;
    text-shadow: 0 0 24px rgba(92, 107, 192, 0.6);
}
.ppq-ag-fs-extra {
    min-height: 100px;
    margin-top: 8px;
}
.ppq-ag-names-roll {
    height: 132px;
    overflow: hidden;
    margin: 12px auto 0;
    max-width: 300px;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        #000 14%,
        #000 86%,
        transparent 100%
    );
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.ppq-ag-names-roll-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: ppqAgNamesRoll 1.1s linear infinite;
    will-change: transform;
}
.ppq-ag-name-line {
    display: block;
    font-size: clamp(16px, 4.5vw, 22px);
    font-weight: 800;
    line-height: 44px;
    white-space: nowrap;
    max-width: 92vw;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-shadow: 0 0 18px rgba(129, 212, 250, 0.55);
}
@keyframes ppqAgNamesRoll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
.ppq-ag-fs-mode-spin .ppq-ag-fs-table {
    display: none !important;
}
.ppq-ag-fs-mode-spin .ppq-ag-fs-title {
    font-size: 22px;
    color: #90caf9;
}
.ppq-ag-fs-mode-spin .ppq-ag-names-roll {
    height: 160px;
}
.ppq-ag-fs-mode-spin .ppq-ag-name-line {
    font-size: clamp(18px, 5vw, 24px);
}
.st2-ag-phase-urgent .st2-ag-digits td {
    font-size: 22px;
}
.st2-ag-phase-urgent .st2-ag-spin-names {
    display: block !important;
}
