/* v1.7 copy-success chase scene */
.timer-panel {
    gap: clamp(18px, 3vh, 38px);
}

.copy-chase-stage {
    position: fixed;
    inset: 0;
    z-index: 14;
    overflow: hidden;
    pointer-events: none;
    contain: layout paint;
}

.chase-unit {
    position: absolute;
    left: 0;
    top: var(--chase-y, 38vh);
    will-change: transform;
    filter: drop-shadow(0 10px 13px rgba(0, 0, 0, 0.32));
}

.chase-plane {
    width: clamp(168px, 16vw, 238px);
    height: 76px;
}

.chase-plane-body {
    position: absolute;
    left: 0;
    top: 25px;
    width: 100%;
    height: 38px;
    border-radius: 58% 48% 42% 54%;
    background: linear-gradient(180deg, #f8fbff, #a9c4d9 58%, #68849a);
    border: 1px solid rgba(255,255,255,.68);
    box-shadow: inset 0 6px 8px rgba(255,255,255,.38);
}

.chase-plane-body::before {
    content: "";
    position: absolute;
    width: 42%;
    height: 18px;
    left: 37%;
    top: 19px;
    border-radius: 100% 18% 85% 30%;
    background: linear-gradient(180deg, #d9e9f3, #728ea3);
    transform: skewX(-22deg);
}

.chase-plane-body::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 42px;
    left: 10px;
    top: -23px;
    clip-path: polygon(0 100%, 100% 100%, 48% 0);
    background: linear-gradient(90deg, #7b96a9, #d9e8f0);
}

.chase-plane-nose {
    position: absolute;
    right: -12px;
    top: 35px;
    width: 36px;
    height: 20px;
    border-radius: 0 100% 100% 0;
    background: #ecf5fb;
}

.chase-plane-trail {
    position: absolute;
    right: 91%;
    top: 42px;
    width: 120px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(224,245,255,.5));
    filter: blur(3px);
}

.chase-portrait {
    position: absolute;
    z-index: 4;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,.88);
    background: #213b52;
    box-shadow: 0 0 0 2px rgba(7,24,39,.55), 0 5px 18px rgba(0,0,0,.35);
}

.chase-plane .chase-portrait {
    left: 51%;
    top: 1px;
}

.chase-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    display: block;
}

.chase-portrait-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #fff;
}

.chase-speech {
    position: absolute;
    left: 46%;
    bottom: 69px;
    width: clamp(230px, 28vw, 430px);
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 14px 14px 14px 3px;
    color: #10253a;
    background: rgba(255,250,225,.94);
    box-shadow: 0 10px 28px rgba(0,0,0,.24);
    font: 800 clamp(12px, 1.15vw, 17px)/1.35 system-ui, sans-serif;
    white-space: nowrap;
    transform-origin: 0 100%;
    animation: chase-speech-pop 420ms cubic-bezier(.2,.9,.25,1) both;
}

.chase-missile {
    width: clamp(150px, 13vw, 205px);
    height: 64px;
}

.chase-missile-body {
    position: absolute;
    left: 5px;
    top: 23px;
    width: calc(100% - 20px);
    height: 25px;
    border-radius: 54% 8px 8px 54%;
    border: 1px solid rgba(255,255,255,.52);
}

.chase-missile-body::before {
    content: "";
    position: absolute;
    right: -19px;
    top: -1px;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 21px solid currentColor;
}

.chase-missile-body::after {
    content: "";
    position: absolute;
    left: 23px;
    bottom: -12px;
    width: 42px;
    height: 14px;
    clip-path: polygon(0 0, 100% 0, 62% 100%, 12% 100%);
    background: inherit;
}

.chase-missile--shoigu .chase-missile-body {
    color: #ffcf63;
    background: linear-gradient(180deg, #ffe79a, #df8f35 58%, #9d4f2d);
}

.chase-missile--gerasimov .chase-missile-body {
    color: #83d2ff;
    background: linear-gradient(180deg, #daf4ff, #5799c7 58%, #31526f);
}

.chase-missile .chase-portrait {
    left: 48%;
    top: -14px;
    width: 49px;
    height: 49px;
}

.chase-flame {
    position: absolute;
    right: 93%;
    top: 28px;
    width: 76px;
    height: 16px;
    clip-path: polygon(100% 14%, 100% 86%, 0 50%);
    background: linear-gradient(90deg, transparent 0%, #ff754d 45%, #fff1a8 100%);
    filter: blur(1px) drop-shadow(0 0 7px #ff824f);
    animation: chase-flame 110ms steps(2,end) infinite alternate;
}

.chase-name {
    position: absolute;
    left: 50%;
    top: 49px;
    transform: translateX(-50%);
    padding: 2px 7px;
    border-radius: 999px;
    color: rgba(255,255,255,.94);
    background: rgba(4,16,28,.72);
    font: 800 10px/1.25 system-ui,sans-serif;
    letter-spacing: .06em;
    white-space: nowrap;
}

@keyframes chase-speech-pop {
    from { opacity: 0; transform: scale(.7) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes chase-flame {
    from { transform: scaleX(.82); opacity: .76; }
    to { transform: scaleX(1.12); opacity: 1; }
}

@media (max-width: 640px) {
    .timer-panel { gap: clamp(14px, 2.25vh, 25px); }
    .chase-speech {
        width: min(76vw, 315px);
        white-space: normal;
        font-size: 11px;
    }
    .chase-plane { width: 158px; transform-origin: left center; }
    .chase-missile { width: 138px; }
}

@media (prefers-reduced-motion: reduce) {
    .chase-flame { animation: none; }
}
