/* 올비전 v2 랜딩 */

.progress-top {
    position: fixed;
    inset: 0 0 auto 0;
    height: 2px;
    z-index: 60;
    transform-origin: 0 50%;
    transform: scaleX(var(--sp, 0));
    background: linear-gradient(90deg, var(--sky), var(--signal));
    box-shadow: 0 0 12px rgba(42, 111, 240, 0.6);
    pointer-events: none;
}

/* 헤더: 우주 위의 투명·흰 글씨 모양(space 클래스)은 base.css에 있다 */
.hdr {
    position: fixed;
    left: 0;
    right: 0;
}

/* 랜딩 메뉴는 길고 오른쪽 단추가 둘(초대·스터디 참가)이라, 메뉴가 보이는 너비(921~1100px)에서도
 * 한 줄에 들어가게 간격을 줄이고 언어는 지구 모양만 남긴다(언어 이름은 메뉴 안에 있다). */
@media (max-width: 1100px) {
    .hdr-in {
        gap: 16px;
    }

    .hdr .nav a {
        padding-inline: 7px;
    }

    .hdr [data-lang-current] {
        display: none;
    }
}

/* 등장 연출: JS가 html에 .anim을 붙였을 때만 숨긴다 */
.anim [data-reveal] {
    opacity: 0;
    transform: translateY(42px) scale(0.98);
    filter: blur(10px);
    transition:
        opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 1s;
    transition-delay: calc(var(--i, 0) * 90ms);
}

.anim [data-reveal='left'] {
    transform: translateX(-48px);
}

.anim [data-reveal='zoom'] {
    transform: scale(0.92);
}

.anim [data-reveal].in {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ─────────── 여정 ─────────── */
.journey {
    position: relative;
    height: 760vh;
}

.j-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #02040c;
}

.j-pin.no-gl {
    background:
        radial-gradient(ellipse 50% 14% at 50% 76%, rgba(210, 235, 255, 0.55), transparent 70%),
        radial-gradient(
            ellipse 140% 62% at 50% 128%,
            #1b5fc0 0 44%,
            #7cc4ff 44.6%,
            rgba(90, 160, 255, 0.25) 47%,
            transparent 56%
        ),
        #02040c;
}

#sky {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

.j-mark {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: var(--mw, 180px);
    max-width: none;
    transform-origin: 50% 50%;
    will-change: transform, opacity, filter;
    filter: blur(var(--blur, 0px)) drop-shadow(0 0 1.5px rgba(220, 240, 255, 0.95))
        drop-shadow(0 0 16px rgba(140, 200, 255, 0.75))
        drop-shadow(0 0 46px rgba(90, 160, 255, 0.5));
    pointer-events: none;
}

.j-hero {
    position: absolute;
    inset: 0 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(104px, 15vh, 160px) var(--gutter) 0;
    opacity: calc(1 - var(--h, 0));
    transform: translateY(calc(var(--h, 0) * -90px));
}

.j-hero.gone {
    visibility: hidden;
}

.pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    font-size: 13px;
    color: var(--star-soft);
    overflow: hidden;
    transition:
        border-color 0.2s,
        color 0.2s;
}

.pill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 30%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    animation: sheen 4s 1.6s infinite;
}

.pill:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--star);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clear);
    box-shadow: 0 0 10px var(--clear);
}

.pill-count {
    margin-left: -4px;
    color: var(--star);
}

.pill-count b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    .pill-long {
        display: none;
    }
}

.pill-arr {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
}

.j-hero h1 {
    margin-block: 24px 18px;
    font-size: clamp(40px, 6.8vw, 88px);
    line-height: 1.06;
    text-shadow: 0 10px 60px rgba(0, 10, 40, 0.6);
}

.hl {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.hl > span {
    display: inline-block;
}

.hl2 {
    --l: 1;
}

.shine {
    background: linear-gradient(
        100deg,
        #7fb6ff 0%,
        #ffffff 30%,
        #cfe7ff 45%,
        #ffffff 55%,
        #7fb6ff 90%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 6s 1.8s ease-in-out infinite;
}

.lede {
    max-width: 36em;
    font-size: clamp(15.5px, 1.5vw, 18px);
    line-height: 1.75;
    color: var(--star-soft);
}

/* 영어·일본어 문장에는 한국어 줄바꿈 자리(.br-d)가 맞지 않으므로 줄 길이를 고르게 나눈다. */
:root:not(:lang(ko)) .lede {
    text-wrap: balance;
}

:root:not(:lang(ko)) .lede .br-d {
    display: none;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.hud {
    position: absolute;
    left: var(--gutter);
    bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 2px;
    font-family: var(--f-mono);
    color: var(--hud, rgba(230, 240, 255, 0.85));
    opacity: calc(1 - var(--c, 0));
    transition: color 0.6s;
}

.hud-k {
    font-size: 10.5px;
    letter-spacing: 0.18em;
    opacity: 0.6;
}

.hud strong {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.hud strong small {
    margin-left: 5px;
    font-size: 12px;
    opacity: 0.7;
}

.hud-zone {
    font-family: var(--f-body);
    font-size: 12.5px;
    opacity: 0.8;
}

.hud-bar {
    width: 120px;
    height: 2px;
    margin-top: 8px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.25;
    overflow: hidden;
}

.hud-bar i {
    display: block;
    height: 100%;
    width: calc(var(--jp, 0) * 100%);
    background: currentColor;
}

.scroll-cue {
    position: absolute;
    right: var(--gutter);
    bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: rgba(242, 245, 251, 0.7);
    opacity: calc(1 - var(--h, 0) * 3);
}

.scroll-cue i {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, #ffffff, transparent);
    transform-origin: top;
    animation: cue 1.8s ease-in-out infinite;
}

.beat {
    position: absolute;
    left: 0;
    right: 0;
    top: 46%;
    padding-inline: var(--gutter);
    text-align: center;
    opacity: var(--o, 0);
    transform: translateY(calc(-50% + (1 - var(--o, 0)) * 40px))
        scale(calc(0.96 + var(--o, 0) * 0.04));
    pointer-events: none;
}

.b1 {
    top: 32%;
}

.beat small {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid currentColor;
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.beat strong {
    display: block;
    margin-top: 18px;
    font-size: clamp(34px, 5.8vw, 76px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.12;
    text-wrap: balance;
}

.b1,
.b2 {
    color: #ffffff;
    text-shadow:
        0 2px 18px rgba(0, 24, 80, 0.55),
        0 10px 60px rgba(0, 20, 60, 0.6);
}

.b2::before {
    content: '';
    position: absolute;
    inset: -60% 10%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(20, 70, 160, 0.35), transparent 65%);
    filter: blur(10px);
}

.b3 {
    color: #0a1530;
}

.b3 strong {
    background: linear-gradient(180deg, #0a1530 30%, #2a6ff0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 도착 장면: 디스코드 서버 */
.j-stage {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2.4vh, 26px);
    padding: 76px var(--gutter) 22px;
    opacity: var(--s, 0);
    visibility: hidden;
    pointer-events: none;
}

.j-stage.shown {
    visibility: visible;
}

.j-cap {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    transform: translateY(calc((1 - var(--s, 0)) * 24px));
}

.j-step {
    padding: 5px 11px;
    border: 1px solid rgba(42, 111, 240, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: #2a6ff0;
}

.j-cap h2 {
    max-width: 22em;
    font-size: clamp(22px, 3vw, 38px);
    background: linear-gradient(180deg, #0a1530 40%, #2a6ff0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.j-cap h2.swap {
    animation: capswap 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dc-fit {
    position: relative;
    flex: none;
    transform: scale(var(--z, 1));
    transform-origin: 50% 40%;
}

.dc {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--dc-rail);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45),
        0 60px 140px -40px rgba(16, 60, 160, 0.6),
        0 24px 50px -24px rgba(4, 12, 40, 0.6);
    transform-origin: 0 0;
    pointer-events: none;
}

@media (max-width: 640px) {
    .br-d {
        display: none;
    }

    .hud strong {
        font-size: 18px;
    }

    .scroll-cue {
        display: none;
    }
}

@media (max-height: 760px) {
    .j-step {
        display: none;
    }
}

/* 첫 화면 등장 */
.intro .hl > span {
    animation: lineup 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.15s + var(--l, 0) * 0.14s);
}

.intro .fade {
    animation: fadeup 1s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.5s + var(--d, 0) * 0.1s);
}

.j-mark.enter {
    animation: markin 1.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ─────────── 공용 조각 ─────────── */
.blur {
    filter: blur(4px);
    user-select: none;
}

.dots {
    display: flex;
    gap: 7px;
}

.dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.gauge span {
    display: flex;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 11.5px;
    color: var(--haze);
}

.gauge span b {
    font-weight: 500;
    color: var(--star);
    font-variant-numeric: tabular-nums;
}

.bar {
    height: 4px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--line);
}

.bar i {
    display: block;
    width: var(--w, 0);
    height: 100%;
    border-radius: inherit;
    background: var(--c, var(--star));
    transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ─────────── 마키 ─────────── */
.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 18px;
    border-block: 1px solid var(--line);
    background: var(--ink);
    -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marq 42s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    font-size: 13.5px;
    color: var(--star-soft);
    white-space: nowrap;
}

.marquee-track span i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c, var(--signal));
}

/* ─────────── 공통 섹션 ─────────── */
.sec {
    padding-block: clamp(96px, 13vw, 170px);
}

.sec-tight {
    padding-top: 0;
}

.sec-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px 56px;
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 64px);
}

.sec-head h2 {
    margin-top: 18px;
    font-size: clamp(30px, 4.4vw, 56px);
}

.sec-head p {
    max-width: 30em;
    color: var(--star-soft);
}

@media (max-width: 820px) {
    .sec-head {
        grid-template-columns: 1fr;
    }
}

/* ─────────── 처리 과정 (고정 스크롤) ─────────── */
.story {
    position: relative;
    height: 320vh;
}

.story-pin {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.story-pin::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 50% 60% at 30% 50%,
        rgba(var(--glow, 42, 111, 240), 0.16),
        transparent 70%
    );
    transition: background 1s;
    pointer-events: none;
}

.story-kicker {
    position: absolute;
    top: clamp(84px, 12vh, 120px);
    left: 0;
    right: 0;
}

.story-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
    width: 100%;
}

.story-vis {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 470px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--dc-chat);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.35),
        0 50px 140px -40px rgba(16, 60, 160, 0.55);
}

.sv-bar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.28);
    color: var(--dc-strong);
}

.sv-bar b {
    font-size: 15px;
    font-weight: 600;
}

.sv-chan-b,
.sv-topic-b,
.st-1 .sv-chan-a,
.st-2 .sv-chan-a,
.st-1 .sv-topic-a,
.st-2 .sv-topic-a {
    display: none;
}

.st-1 .sv-chan-b,
.st-2 .sv-chan-b,
.st-1 .sv-topic-b,
.st-2 .sv-topic-b {
    display: block;
}

.sv-panes {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.sv-pane {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 14px;
    transition:
        opacity 0.5s,
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sv-b,
.st-1 .sv-a,
.st-2 .sv-a {
    opacity: 0;
}

.st-1 .sv-a,
.st-2 .sv-a {
    transform: translateX(-30px);
}

.sv-b {
    transform: translateX(30px);
}

.st-1 .sv-b,
.st-2 .sv-b {
    opacity: 1;
    transform: none;
}

.sv-target {
    transition: background 0.4s;
}

.st-0 .sv-target {
    background: rgba(88, 101, 242, 0.1);
}

.sv-scan {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.sv-scan::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(159, 196, 255, 0.22), transparent);
}

.st-0 .sv-scan::after {
    animation: sweep 1.6s ease-in-out infinite;
}

.sv-typing {
    margin-top: 10px;
}

.st-0 .sv-typing {
    opacity: 1;
}

.sv-done {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.5s 0.9s,
        opacity 0.4s 0.9s,
        margin-top 0.5s 0.9s;
}

.st-2 .sv-done {
    max-height: 120px;
    margin-top: 14px;
    opacity: 1;
}

.sv-run {
    transition:
        filter 0.2s 0.75s,
        transform 0.2s 0.75s;
}

.st-2 .sv-run {
    filter: brightness(0.82);
    transform: scale(0.97);
}

.sv-cursor {
    position: absolute;
    right: 18px;
    bottom: -12px;
    z-index: 2;
    width: 22px;
    height: 22px;
    opacity: 0;
    transform: translate(60px, 40px);
    transition:
        opacity 0.3s,
        transform 0.7s cubic-bezier(0.3, 0.7, 0.2, 1);
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
}

.sv-cursor svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
    stroke: #111214;
    stroke-width: 1.3;
}

.st-2 .sv-cursor {
    opacity: 1;
    transform: none;
}

.story-steps {
    position: relative;
    display: grid;
}

.rail {
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
}

.rail i {
    display: block;
    width: 100%;
    height: calc(var(--sp2, 0) * 100%);
    background: linear-gradient(180deg, var(--sky), var(--signal));
    box-shadow: 0 0 12px rgba(42, 111, 240, 0.5);
}

.sstep {
    padding: 18px 0 18px 32px;
    opacity: 0.32;
    transition:
        opacity 0.5s,
        transform 0.5s;
}

.sstep.on {
    opacity: 1;
    transform: translateX(6px);
}

.sstep .no {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--haze);
}

.sstep.on .no {
    color: var(--signal);
}

.sstep h3 {
    margin-top: 8px;
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.sstep p {
    max-width: 26em;
    margin-top: 8px;
    color: var(--star-soft);
}

@media (max-width: 860px) {
    .story {
        height: 300vh;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .story-kicker {
        display: none;
    }

    .story-vis {
        height: 430px;
    }

    .sstep {
        display: none;
        padding: 0 0 0 20px;
    }

    .sstep.on {
        display: block;
        transform: none;
    }

    .sstep h3 {
        font-size: 22px;
    }
}

/* ─────────── 안티바이러스 시연 (고정 스크롤) ───────────
 * 01 검사(자유-대화) → 02 공개 경고·24시간 격리(같은 채널) → 03 증거 알림(올비전-알림).
 * 실제 동작과 같게 원문은 지우지 않고 경고·격리·알림만 보여 준다. */
.first-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid rgba(224, 67, 92, 0.35);
    border-radius: 999px;
    background: rgba(224, 67, 92, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--verdict);
    white-space: nowrap;
}

.story-kicker .first-badge {
    margin-left: 10px;
}

.avs-chan-b,
.avs-topic-b,
.st-2 .avs-chan-a,
.st-2 .avs-topic-a {
    display: none;
}

.st-2 .avs-chan-b,
.st-2 .avs-topic-b {
    display: block;
}

.avs-b {
    opacity: 0;
    transform: translateX(30px);
}

.st-2 .avs-a {
    opacity: 0;
    transform: translateX(-30px);
}

.st-2 .avs-b {
    opacity: 1;
    transform: none;
}

.avs-target {
    transition: background 0.4s;
}

.st-0 .avs-target {
    background: rgba(88, 101, 242, 0.1);
}

.avs-iso {
    display: none;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(242, 63, 67, 0.15);
    font-size: 11px;
    font-weight: 600;
    color: #ff8a8d;
}

.st-1 .avs-iso,
.st-2 .avs-iso {
    display: inline-block;
}

/* 코인 사기 이미지(재현) */
.avs-img {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 3px;
    width: min(280px, 100%);
    aspect-ratio: 16 / 9;
    margin-top: 6px;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 196, 0, 0.5), transparent 45%),
        linear-gradient(135deg, #1a0f3d, #3b1d6e 55%, #0d4f5c);
    color: #ffffff;
    transition: box-shadow 0.4s;
}

.st-1 .avs-target .avs-img,
.st-2 .avs-target .avs-img {
    box-shadow: 0 0 0 2px var(--dc-red);
}

.avs-img-tag {
    padding: 1px 6px;
    border-radius: 4px;
    background: #ffc400;
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #1a0f3d;
}

.avs-img-big {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #ffd84d;
    text-shadow: 0 2px 14px rgba(255, 196, 0, 0.45);
}

.avs-img-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.86);
}

.avs-qr {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 3px;
    background: repeating-conic-gradient(#ffffff 0 25%, #1a0f3d 0 50%) 0 0 / 8px 8px;
    box-shadow: 0 0 0 4px #ffffff;
}

.avs-scan {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.avs-scan::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(159, 196, 255, 0.35), transparent);
}

.st-0 .avs-scan::after,
.vz-av .avs-scan::after {
    animation: sweep 1.6s ease-in-out infinite;
}

.avs-typing {
    margin-top: 10px;
}

.st-0 .avs-typing {
    opacity: 1;
}

.st-1 .avs-typing,
.st-2 .avs-typing {
    display: none;
}

.avs-warn {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.5s 0.3s,
        opacity 0.4s 0.3s,
        margin-top 0.5s 0.3s;
}

.st-1 .avs-warn,
.st-2 .avs-warn {
    max-height: 260px;
    margin-top: 14px;
    opacity: 1;
}

.avs-foot {
    margin-top: 2px;
    font-size: 12px;
    color: var(--dc-muted);
}

.avs-link {
    color: #00a8fc;
}

.avs-evidence {
    position: relative;
    width: 132px;
    overflow: hidden;
    border-radius: 6px;
}

.avs-img-mini {
    width: 100%;
    margin: 0;
    padding: 10px;
    filter: blur(8px);
    transform: scale(1.1);
}

.avs-img-mini .avs-img-big {
    font-size: 20px;
}

.avs-spoiler {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    transform: translate(-50%, -50%);
}

.avs-note {
    margin-top: 18px;
    padding-left: 32px;
    font-size: 13.5px;
    color: var(--haze);
}

.avs-note code {
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--panel);
    font-family: var(--f-mono);
    font-size: 12.5px;
    color: var(--star-soft);
}

/* 악성 파일 첨부(재현) */
.avs-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(300px, 100%);
    margin-top: 6px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid #26272b;
    border-radius: 8px;
    background: #2b2d31;
}

.avs-file-ico {
    flex: none;
    width: 26px;
    height: 32px;
    border-radius: 3px;
    background: linear-gradient(180deg, #b5bac1, #80848e);
    clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%);
}

.avs-file-meta {
    display: grid;
    min-width: 0;
}

.avs-file-meta b {
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    color: #00a8fc;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.avs-file-meta small {
    font-size: 12px;
    color: var(--dc-muted);
}

@media (max-width: 860px) {
    .avs-note {
        padding-left: 20px;
    }

    /* 휴대폰의 낮은 채팅 창에서도 알림 머리글이 잘리지 않게 한 줄을 줄인다 */
    .avs-origin {
        display: none;
    }
}

/* ─────────── 대형 문구 ─────────── */
.mega {
    overflow: hidden;
    padding-block: clamp(80px, 12vw, 160px);
}

.mega p {
    font-size: clamp(40px, 8.4vw, 120px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.08;
    text-wrap: balance;
    color: transparent;
    -webkit-text-stroke: 1px rgba(10, 21, 48, 0.14);
    background: linear-gradient(90deg, #0a1530, #2a6ff0 60%, #5fb2ff) no-repeat;
    background-size: calc(var(--p, 0) * 100%) 100%;
    -webkit-background-clip: text;
    background-clip: text;
}

.mega small {
    display: block;
    margin-top: 28px;
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--haze);
}

.drift {
    display: block;
    white-space: nowrap;
    transform: translateX(calc((var(--p, 0) - 0.5) * -12%));
}

@media (max-width: 560px) {
    .drift {
        white-space: normal;
        transform: none;
    }
}

/* ─────────── 실제 화면 ─────────── */
.theater {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
}

.tab {
    flex: 1;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--haze);
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
}

.tab[aria-selected='true'] {
    background: var(--ink);
    color: var(--star);
    box-shadow:
        0 0 0 1px var(--line-strong),
        0 6px 16px -10px rgba(16, 42, 94, 0.4);
}

.tab:not([aria-selected='true']):hover {
    color: var(--star);
}

.pane h3 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.3;
}

.pane > p {
    margin-top: 14px;
    color: var(--star-soft);
}

.pane:not([hidden]) {
    animation: fadeup 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.steps {
    display: grid;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: s;
}

.steps li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    counter-increment: s;
}

.steps li::before {
    content: counter(s, decimal-leading-zero);
    padding-top: 3px;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--signal);
}

.steps strong {
    display: block;
    font-size: 15.5px;
    font-weight: 600;
}

.steps small {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--haze);
}

.cmd-inline {
    display: inline-flex;
    margin-top: 22px;
    padding: 7px 11px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--panel);
    font-family: var(--f-mono);
    font-size: 13px;
    color: var(--star);
}

.screen {
    position: relative;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--ink);
    box-shadow: 0 50px 120px -40px rgba(16, 60, 160, 0.45);
}

.screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.screen-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px 12px;
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--haze);
}

.screen-bar .dur {
    margin-left: auto;
    color: var(--star-soft);
    font-variant-numeric: tabular-nums;
}

.screen video {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
    border-radius: 10px;
    background: #111111;
}

.vprog {
    height: 2px;
    margin: 10px 8px 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.vprog i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--sky), var(--signal));
}

@media (max-width: 900px) {
    .theater {
        grid-template-columns: 1fr;
    }

    .theater .screen {
        order: -1;
    }
}

/* ─────────── 보호 기능 카드 ─────────── */
.bento {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--ink);
    box-shadow: var(--shadow-card);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition:
        transform 0.25s ease-out,
        border-color 0.3s;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--mx, 50%) var(--my, 50%),
        rgba(42, 111, 240, 0.7),
        transparent 60%
    );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 24px 26px 26px;
}

.kind {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--haze);
}

.card-body h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.card-body p {
    font-size: 15px;
    color: var(--star-soft);
}

.who-can {
    padding: 3px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--star-soft);
}

.who-can.owner {
    color: var(--caution);
    border-color: rgba(196, 122, 8, 0.35);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
}

.tags span {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    font-size: 12.5px;
    color: var(--star-soft);
}

.paused .viz * {
    animation-play-state: paused !important;
}

/* 안티바이러스 카드: 한 줄 전체를 쓰고 시연과 설명을 나란히 둔다 */
.card.wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.card.wide .viz {
    height: auto;
    min-height: 256px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
}

.card.wide .card-body {
    justify-content: center;
    padding: 30px 32px;
}

.card-body h3 .first-badge {
    margin-left: -2px;
}

.vz-av {
    width: min(440px, 92%);
    padding-block: 10px 24px;
}

.vz-av .dc-msg {
    padding-inline: 0;
}

@media (max-width: 860px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .card.wide {
        grid-template-columns: 1fr;
    }

    .card.wide .viz {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

.viz {
    position: relative;
    display: grid;
    place-items: center;
    height: 256px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--dc-chat);
}

.viz .dc-btn {
    height: 28px;
    padding: 0 12px;
    font-size: 13px;
}

.vz-embed {
    width: min(380px, 88%);
}

.vz-gauges {
    display: grid;
    gap: 8px;
    margin: 4px 0 2px;
}

.vz-gauges .bar i {
    animation: gfill 4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.vz-gauges .gauge:nth-child(2) .bar i {
    animation-delay: 0.25s;
}

.vz-gauges .gauge:nth-child(3) .bar i {
    animation-delay: 0.5s;
}

.vz-rule {
    animation: tagpop 4s infinite;
}

.vz-spam {
    position: relative;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding-bottom: 18px;
}

.vz-spam .dc-msg {
    margin-top: 0;
    animation: vzspam 5s infinite;
}

.vz-spam .dc-msg:first-child {
    margin-top: 6px;
}

.vz-spam .dc-msg:nth-child(2) {
    animation-delay: 0.18s;
}

.vz-spam .dc-msg:nth-child(3) {
    animation-delay: 0.36s;
}

.vz-spam .dc-msg:nth-child(4) {
    animation-delay: 0.54s;
}

.vz-res {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-left: 4px solid var(--dc-green);
    border-radius: 6px;
    background: var(--dc-side);
    font-size: 13px;
    animation: vzres 5s infinite;
}

.vz-res .dc-ava {
    flex: none;
    width: 26px;
    height: 26px;
}

.vz-res .dc-app {
    margin-left: 0;
}

.vz-terror {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: min(420px, 92%);
}

.vz-chans {
    display: grid;
    gap: 1px;
    padding: 8px 6px;
    border-radius: 8px;
    background: var(--dc-side);
}

.vz-chans .dc-chan {
    height: 27px;
    font-size: 13px;
}

.vz-chans .dc-chan i {
    width: 16px;
    font-size: 16px;
}

.vz-chans .t1 {
    animation: tdel 5s infinite;
}

.vz-chans .t2 {
    animation: tdel 5s 0.15s infinite;
}

.vz-chans .t3 {
    animation: tdel 5s 0.3s infinite;
}

.vz-chans .t4 {
    animation: tdel 5s 0.45s infinite;
}

.vz-alert {
    animation: valert 5s infinite;
}

.vz-logs {
    align-self: stretch;
    width: 100%;
    overflow: hidden;
    padding: 0 16px;
    -webkit-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
    mask: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}

.vz-logs-track {
    display: grid;
    gap: 8px;
    padding-top: 8px;
    animation: logscroll 16s linear infinite;
}

.lg {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-left: 4px solid var(--e);
    border-radius: 4px;
    background: var(--dc-side);
    font-size: 12.5px;
    white-space: nowrap;
}

.lg time {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--dc-muted);
}

.lg b {
    font-weight: 600;
    color: var(--dc-strong);
}

.lg span {
    overflow: hidden;
    color: var(--dc-text);
    text-overflow: ellipsis;
}

@media (max-width: 420px) {
    .vz-terror {
        grid-template-columns: 128px minmax(0, 1fr);
        gap: 10px;
    }
}

/* ─────────── 설정 단계 ─────────── */
.orbit {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.orbit::before,
.orbit::after {
    content: '';
    position: absolute;
    left: 46px;
    right: 46px;
    top: 46px;
    height: 1px;
    background: var(--line);
}

.orbit::after {
    background: linear-gradient(90deg, var(--sky), var(--signal));
    box-shadow: 0 0 10px rgba(42, 111, 240, 0.5);
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
}

.stage {
    position: relative;
    z-index: 1;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--ink);
    box-shadow: var(--shadow-card);
}

.node {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: var(--panel);
    font-family: var(--f-mono);
    font-size: 12px;
    transition:
        box-shadow 0.5s,
        border-color 0.5s,
        color 0.5s;
}

.stage.lit .node {
    border-color: var(--signal);
    color: var(--signal);
    box-shadow:
        0 0 0 4px rgba(42, 111, 240, 0.1),
        0 0 24px rgba(42, 111, 240, 0.35);
}

.stage h3 {
    margin-top: 22px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.stage p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--star-soft);
}

.stage .cmd-inline {
    margin-top: 16px;
}

@media (max-width: 820px) {
    .orbit {
        grid-template-columns: 1fr;
    }

    .orbit::before,
    .orbit::after {
        display: none;
    }
}

/* ─────────── 실시간 지표 ─────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--line);
    background: var(--ink);
}

.stats div {
    padding: 40px 24px;
    border-left: 1px solid var(--line);
    text-align: center;
}

.stats div:first-child {
    border-left: 0;
}

.stats strong {
    display: block;
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}

.stats small {
    font-family: var(--f-mono);
    font-size: 11.5px;
    letter-spacing: 0.1em;
    color: var(--haze);
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr;
    }

    .stats div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

/* ─────────── 명령어 ─────────── */
.cmds {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--line);
    box-shadow: var(--shadow-card);
}

.cmd {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 16px;
    padding: 24px 24px 26px;
    background: var(--ink);
    transition: background 0.2s;
}

.cmd:hover {
    background: var(--panel);
}

.cmd code {
    font-family: var(--f-mono);
    font-size: 15.5px;
    color: var(--star);
}

.cmd .aud {
    align-self: center;
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--haze);
}

.cmd .aud.owner {
    color: var(--caution);
}

.cmd p {
    grid-column: 1 / -1;
    font-size: 14.5px;
    color: var(--star-soft);
}

.cmd .cp {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 5px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--ink);
    color: var(--star-soft);
    font: 500 12px var(--f-mono);
    cursor: pointer;
    opacity: 0;
    transition:
        opacity 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.cmd:hover .cp,
.cmd .cp:focus-visible {
    opacity: 1;
}

.cmd .cp:hover {
    color: var(--signal);
    border-color: var(--signal);
}

@media (hover: none) {
    .cmd .cp {
        opacity: 1;
    }
}

@media (max-width: 700px) {
    .cmds {
        grid-template-columns: 1fr;
    }

    .cmd {
        padding-bottom: 52px;
    }
}

/* ─────────── 마지막: 다시 우주에서 본 지구 ─────────── */
.finale {
    padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 120px);
}

.finale-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 64px) clamp(210px, 26vw, 300px);
    border-radius: 28px;
    background: #02040c;
    text-align: center;
    box-shadow: 0 60px 140px -50px rgba(16, 60, 160, 0.55);
}

.finale-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        radial-gradient(1px 1px at 12% 18%, #ffffff, transparent),
        radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.2px 1.2px at 44% 30%, #ffffff, transparent),
        radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 78% 44%, #ffffff, transparent),
        radial-gradient(1.4px 1.4px at 88% 22%, #ffffff, transparent),
        radial-gradient(1px 1px at 7% 48%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 55% 52%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 93% 58%, rgba(255, 255, 255, 0.7), transparent);
    animation: twinkle 5s ease-in-out infinite alternate;
}

.finale h2 {
    max-width: 14em;
    margin-top: 18px;
    font-size: clamp(32px, 5vw, 64px);
}

.finale p {
    max-width: 32em;
    margin-top: 20px;
    color: var(--star-soft);
}

.f-earth {
    --er: 1500px;
    position: absolute;
    left: 50%;
    bottom: calc(150px - var(--er) * 2);
    z-index: -1;
    width: calc(var(--er) * 2);
    height: calc(var(--er) * 2);
    border-radius: 50%;
    background:
        radial-gradient(ellipse 22% 5% at 50% 1%, rgba(255, 255, 255, 0.5), transparent 70%),
        radial-gradient(ellipse 18% 3% at 38% 3%, rgba(255, 255, 255, 0.25), transparent 70%),
        radial-gradient(ellipse 14% 3% at 63% 2.5%, rgba(255, 255, 255, 0.22), transparent 70%),
        radial-gradient(ellipse 30% 6% at 30% 7%, rgba(60, 120, 80, 0.35), transparent 70%),
        linear-gradient(180deg, #4a9af0 0%, #1a5bbf 2.5%, #0b3278 9%, #061c48 20%);
    box-shadow:
        0 0 0 2px rgba(190, 230, 255, 0.85),
        0 0 40px 8px rgba(120, 200, 255, 0.7),
        0 0 160px 40px rgba(60, 140, 255, 0.35);
    transform: translateX(-50%) translateY(calc((1 - var(--p, 1)) * 120px));
}

.f-sun {
    position: absolute;
    left: 50%;
    top: -6px;
    width: 460px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.95),
        rgba(190, 225, 255, 0.45) 22%,
        transparent 65%
    );
    transform: translate(-50%, -50%);
    filter: blur(2px);
}

.f-mark {
    position: absolute;
    left: 50%;
    top: -64px;
    width: 150px;
    max-width: none;
    transform: translate(-50%, -50%) translateY(calc((1 - var(--p, 1)) * 40px));
    filter: drop-shadow(0 0 1.5px rgba(220, 240, 255, 0.95))
        drop-shadow(0 0 16px rgba(140, 200, 255, 0.75))
        drop-shadow(0 0 46px rgba(90, 160, 255, 0.5));
    animation: float 6s ease-in-out infinite;
}

@media (max-width: 640px) {
    .finale-card {
        padding-bottom: 250px;
    }

    .f-mark {
        top: -50px;
        width: 104px;
    }

    .f-sun {
        width: 300px;
    }
}

/* ─────────── 키프레임 ─────────── */
@keyframes sheen {
    40%,
    100% {
        transform: translateX(100%);
    }
}

@keyframes shine {
    0% {
        background-position: 100% 0;
    }

    60%,
    100% {
        background-position: -50% 0;
    }
}

@keyframes lineup {
    from {
        transform: translateY(110%) rotate(3deg);
        filter: blur(6px);
    }

    to {
        transform: none;
        filter: none;
    }
}

@keyframes fadeup {
    from {
        opacity: 0.001;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes markin {
    from {
        opacity: 0;
        translate: 0 40px;
        scale: 0.85;
    }

    to {
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

@keyframes cue {
    0% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

@keyframes scan {
    0% {
        top: -120px;
    }

    60%,
    100% {
        top: 110%;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 155, 0.6);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(74, 222, 155, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 155, 0);
    }
}

@keyframes slidein {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes vflash {
    0% {
        box-shadow:
            0 0 0 1px var(--tone),
            0 0 40px -6px var(--tone);
    }

    100% {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
}

@keyframes marq {
    to {
        transform: translateX(-50%);
    }
}

@keyframes sweep {
    to {
        left: 100%;
    }
}

@keyframes gfill {
    0% {
        width: 0;
    }

    35%,
    85% {
        width: var(--w);
    }

    100% {
        width: 0;
    }
}

@keyframes tagpop {
    0%,
    30% {
        opacity: 0;
        transform: translateY(6px);
    }

    40%,
    85% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
    }
}

@keyframes spamstack {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    12%,
    45% {
        opacity: 1;
        transform: none;
    }

    60%,
    100% {
        opacity: 0;
        transform: translateY(calc(58px - var(--t, 0px))) scale(0.9);
    }
}

@keyframes spamres {
    0%,
    55% {
        opacity: 0;
        transform: translateX(-50%) scale(0.6);
    }

    65%,
    90% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 0;
    }
}

@keyframes tcell {
    0%,
    20% {
        background: #ffffff;
        border-color: var(--line-strong);
    }

    30%,
    50% {
        background: rgba(224, 67, 92, 0.18);
        border-color: var(--verdict);
    }

    62%,
    100% {
        background: rgba(15, 155, 102, 0.12);
        border-color: rgba(15, 155, 102, 0.45);
    }
}

@keyframes tlabel {
    0%,
    25% {
        opacity: 0.35;
    }

    30%,
    55% {
        opacity: 1;
        color: var(--verdict);
    }

    62%,
    100% {
        opacity: 1;
        color: var(--clear);
    }
}

@keyframes logscroll {
    to {
        transform: translateY(-50%);
    }
}

@keyframes twinkle {
    to {
        opacity: 0.55;
    }
}

@keyframes float {
    50% {
        translate: 0 -8px;
    }
}

@keyframes capswap {
    from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(6px);
    }
}

@keyframes vzspam {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    8%,
    46% {
        opacity: 1;
        transform: none;
        background: rgba(240, 178, 50, 0.08);
    }

    54% {
        opacity: 1;
        background: rgba(242, 63, 67, 0.3);
    }

    64%,
    100% {
        opacity: 0;
        transform: translateX(-18px);
    }
}

@keyframes vzres {
    0%,
    60% {
        opacity: 0;
        transform: translateY(10px);
    }

    68%,
    94% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
    }
}

@keyframes tdel {
    0%,
    14% {
        background: transparent;
        color: var(--dc-muted);
        text-decoration: none;
        opacity: 1;
    }

    22%,
    40% {
        background: rgba(242, 63, 67, 0.2);
        color: #ff8a8d;
        text-decoration: line-through;
        opacity: 1;
    }

    50%,
    92% {
        background: transparent;
        text-decoration: line-through;
        opacity: 0.3;
    }

    100% {
        opacity: 1;
        text-decoration: none;
    }
}

@keyframes valert {
    0%,
    38% {
        opacity: 0;
        transform: translateY(8px);
    }

    46%,
    92% {
        opacity: 1;
        transform: none;
    }

    100% {
        opacity: 0;
    }
}
