/**
 * Honeypot + AI Spam Agent — three submissions arrive, each gets a verdict.
 * Scoped to body.pl-landing-time only.
 */
body.pl-landing-time .pl-time-honeypot-stage {
    margin-top: auto;
    flex: 0 0 auto;
    height: 276px;
    min-height: 276px;
    max-height: 276px;
    padding: 14px 14px 0;
    display: flex;
    align-items: stretch;
    background: #fafafa;
    border-color: rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

body.pl-landing-time .pl-honeypot-anim {
    --honeypot-cycle: 8.4s;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
}

body.pl-landing-time .pl-honeypot-anim__panel {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 12px 28px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

body.pl-landing-time .pl-honeypot-anim__bar {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    background: #fafafa;
}

body.pl-landing-time .pl-honeypot-anim__bar img {
    display: block;
    height: 12px;
    width: auto;
    min-height: 0;
    max-height: none;
    object-fit: contain;
}

body.pl-landing-time .pl-honeypot-anim__bar-sep {
    width: 1px;
    height: 12px;
    background: rgba(0, 0, 0, 0.12);
}

body.pl-landing-time .pl-honeypot-anim__bar strong {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #111;
}

body.pl-landing-time .pl-honeypot-anim__rows {
    flex: 1;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.pl-landing-time .pl-honeypot-anim__row {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    transform: translateY(6px);
    animation: plHoneypotRowIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.pl-landing-time .pl-honeypot-anim__row--lead { animation-delay: 3.85s; }
body.pl-landing-time .pl-honeypot-anim__row--q1 { animation-delay: 6.05s; }
body.pl-landing-time .pl-honeypot-anim__row--q2 { animation-delay: 6.25s; }
body.pl-landing-time .pl-honeypot-anim__row--q3 { animation-delay: 6.45s; }

body.pl-landing-time .pl-honeypot-anim__row--lead {
    background: rgba(21, 94, 239, 0.06);
    box-shadow: inset 2px 0 0 #155eef;
}

/* Spam rows land (bot is there from the start), then collapse out so the
   real threads rise to the top of the list. */
body.pl-landing-time .pl-honeypot-anim__row.is-ready {
    opacity: 1;
    transform: none;
    animation: plHoneypotSweep 0.5s cubic-bezier(0.4, 0, 1, 1) 5.4s forwards;
}

body.pl-landing-time .pl-honeypot-anim__row--junk {
    animation:
        plHoneypotRowIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards,
        plHoneypotSweep 0.5s cubic-bezier(0.4, 0, 1, 1) 5.5s forwards;
}

body.pl-landing-time .pl-honeypot-anim__row--junk2 {
    animation:
        plHoneypotRowIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 2.15s forwards,
        plHoneypotSweep 0.5s cubic-bezier(0.4, 0, 1, 1) 5.6s forwards;
}

body.pl-landing-time .pl-honeypot-anim__tag.is-ready {
    opacity: 1;
    scale: 1;
    animation: none;
}

body.pl-landing-time .pl-honeypot-anim__row--quiet .pl-honeypot-anim__av {
    background: #d1d5db;
    color: #4b5563;
}

body.pl-landing-time .pl-honeypot-anim__row--quiet .pl-honeypot-anim__copy strong {
    font-weight: 560;
    color: #4b5563;
}

body.pl-landing-time .pl-honeypot-anim__av {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #9ca3af;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.pl-landing-time .pl-honeypot-anim__row--junk .pl-honeypot-anim__av,
body.pl-landing-time .pl-honeypot-anim__row--junk2 .pl-honeypot-anim__av { background: #f59e0b; }
body.pl-landing-time .pl-honeypot-anim__row--lead .pl-honeypot-anim__av { background: #111; }

body.pl-landing-time .pl-honeypot-anim__copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body.pl-landing-time .pl-honeypot-anim__copy strong {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: -0.02em;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.pl-landing-time .pl-honeypot-anim__copy em {
    font-style: normal;
    font-size: 10px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.pl-landing-time .pl-honeypot-anim__tag {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    scale: 0.9;
    animation: plHoneypotTagIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.pl-landing-time .pl-honeypot-anim__tag--blocked {
    background: #fef2f2;
    color: #dc2626;
}

body.pl-landing-time .pl-honeypot-anim__tag--filtered {
    background: #fff7ed;
    color: #ea580c;
    animation-delay: 1.35s;
}

body.pl-landing-time .pl-honeypot-anim__tag--filtered2 {
    background: #fff7ed;
    color: #ea580c;
    animation-delay: 3.05s;
}

@keyframes plHoneypotRowIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes plHoneypotSweep {
    from {
        max-height: 54px;
        opacity: 1;
        transform: translateX(0);
    }
    60% {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-bottom-color: transparent;
        transform: translateX(-18px);
    }
}

@keyframes plHoneypotTagIn {
    to {
        opacity: 1;
        scale: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pl-landing-time .pl-honeypot-anim__row,
    body.pl-landing-time .pl-honeypot-anim__tag {
        animation: none !important;
        opacity: 1;
        transform: none;
        scale: 1;
    }
}

@media (max-width: 720px) {
    body.pl-landing-time .pl-time-honeypot-stage {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
    }

    body.pl-landing-time .pl-honeypot-anim__row {
        gap: 8px;
        padding: 9px 10px;
    }

    body.pl-landing-time .pl-honeypot-anim__av {
        width: 22px;
        height: 22px;
        font-size: 7px;
    }

    body.pl-landing-time .pl-honeypot-anim__copy strong { font-size: 10px; }
    body.pl-landing-time .pl-honeypot-anim__copy em { font-size: 9px; }

    body.pl-landing-time .pl-honeypot-anim__tag {
        padding: 3px 7px;
        font-size: 8px;
    }
}
