/* ============================================================
   EHBO-quiz (Pages/Quiz.razor)
   Builds on ehbo-training.css: the page shell, header, progress bar, photo
   box and big red button are shared; everything of the quiz itself has a
   quiz- prefix, so no landing or practice rule can override it.
   Green is always "you had it", red "not (yet)"; both also carry ✓ or ✗.
   ============================================================ */

/* ---------- Small helpers ---------- */
.quiz-linkbtn {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ehbo-ink-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

    .quiz-linkbtn:hover {
        color: var(--ehbo-accent);
    }

.ehbo-home-link.quiz-linkbtn {
    min-height: 0;
    padding-block: 14px;
    font-size: 0.84rem;
}

.quiz-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ehbo-ink);
}

/* ---------- Start ---------- */
.quiz-start {
    max-width: 640px;
}

.quiz-intro {
    gap: 16px;
}

.quiz-steps-intro {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: var(--ehbo-ink-soft);
    font-size: 0.95rem;
}

    .quiz-steps-intro li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

.quiz-steps-intro__n {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ehbo-accent-soft);
    color: var(--ehbo-accent-deep);
    font-weight: 800;
    font-size: 0.85rem;
}

.quiz-note,
.quiz-device {
    margin: 0;
    font-size: 0.85rem;
    color: var(--ehbo-ink-soft);
}

.quiz-device {
    color: var(--ehbo-ink-mute);
    font-size: 0.78rem;
}

.quiz-total {
    padding: 14px;
    border-radius: var(--ehbo-radius-sm);
    background: #f8fafc;
    border: 1px solid var(--ehbo-border);
}

.quiz-total__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    font-size: 0.92rem;
    color: var(--ehbo-ink);
    font-variant-numeric: tabular-nums;
}

    .quiz-total__head .icon {
        color: var(--ehbo-amber);
        stroke: #b45309;
    }

    .quiz-total__head strong {
        color: var(--ehbo-success-deep);
        font-size: 1.05rem;
    }

.quiz-total__played {
    color: var(--ehbo-ink-mute);
    font-size: 0.82rem;
}

.quiz-total__bar {
    margin-top: 10px;
    height: 10px;
}

    .quiz-total__bar .ehbo-progress__bar {
        right: auto;
        background: linear-gradient(90deg, var(--ehbo-success-deep), var(--ehbo-success));
    }

    .quiz-total__bar .quiz-total__played-bar {
        background: #cbd5e1;
    }

.quiz-resume {
    width: 100%;
    flex-wrap: wrap;
}

.quiz-resume__count {
    font-weight: 500;
    opacity: 0.85;
    font-size: 0.88rem;
}

.quiz-choose {
    margin: 0;
}

/* How many photos: a slider from 1 to all, the number big beside it. */
.quiz-slider {
    margin-top: 6px;
}

.quiz-slider__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.quiz-slider__value {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ehbo-ink-soft);
    font-variant-numeric: tabular-nums;
}

    .quiz-slider__value strong {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--ehbo-accent);
        letter-spacing: -0.02em;
    }

/* A tall input for an easy grab; the track and thumb drawn on top. */
.quiz-slider__input {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 44px;
    margin: 4px 0 0;
    background: transparent;
    cursor: pointer;
    --track: linear-gradient(90deg, var(--flag-red) 0%, var(--ehbo-amber) var(--fill), var(--ehbo-border) var(--fill));
}

    .quiz-slider__input::-webkit-slider-runnable-track {
        height: 10px;
        border-radius: 999px;
        background: var(--track);
    }

    .quiz-slider__input::-moz-range-track {
        height: 10px;
        border-radius: 999px;
        background: var(--track);
    }

    .quiz-slider__input::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 30px;
        height: 30px;
        margin-top: -10px;
        border-radius: 50%;
        background: white;
        border: 3px solid var(--flag-red);
        box-shadow: var(--ehbo-shadow-md);
        transition: transform 0.15s ease;
    }

    .quiz-slider__input::-moz-range-thumb {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: white;
        border: 3px solid var(--flag-red);
        box-shadow: var(--ehbo-shadow-md);
    }

    .quiz-slider__input:active::-webkit-slider-thumb {
        transform: scale(1.12);
    }

    .quiz-slider__input:focus-visible {
        outline: none;
    }

        .quiz-slider__input:focus-visible::-webkit-slider-thumb {
            outline: 3px solid var(--ehbo-accent);
            outline-offset: 3px;
        }

        .quiz-slider__input:focus-visible::-moz-range-thumb {
            outline: 3px solid var(--ehbo-accent);
            outline-offset: 3px;
        }

.quiz-slider__scale {
    display: flex;
    justify-content: space-between;
    margin-top: -4px;
    padding: 0 6px;
    font-size: 0.75rem;
    color: var(--ehbo-ink-mute);
    font-variant-numeric: tabular-nums;
}

.quiz-start-btn {
    width: 100%;
}

.quiz-retry {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--ehbo-accent);
    border-radius: var(--ehbo-radius-sm);
    background: var(--ehbo-accent-soft);
    color: var(--ehbo-accent-deep);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

    .quiz-retry:hover {
        background: #fecaca;
    }

.quiz-clear {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    font-size: 0.86rem;
    color: var(--ehbo-ink);
}

.quiz-clear__yes {
    appearance: none;
    min-height: 44px;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    background: var(--ehbo-accent-deep);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* ---------- Play ---------- */
/* A plain 1fr column grows to the widest thing inside it (the answer field
   and its button): on a phone that pushed the card off the screen. */
.quiz-content {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 861px) {
    .quiz-content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }
}

.quiz-card {
    gap: 18px;
    min-width: 0;
}

.quiz-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.quiz-stepper__step {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--ehbo-ink-mute);
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 0;
    transition: background 0.25s ease, color 0.25s ease;
}

.quiz-stepper__label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quiz-stepper__dot {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    font-size: 0.75rem;
}

.quiz-stepper__step.is-current {
    background: var(--ehbo-ink);
    color: white;
}

    .quiz-stepper__step.is-current .quiz-stepper__dot {
        color: var(--ehbo-ink);
    }

.quiz-stepper__step.is-good {
    background: #dcfce7;
    color: var(--ehbo-success-deep);
}

    .quiz-stepper__step.is-good .quiz-stepper__dot {
        background: var(--ehbo-success-deep);
        color: white;
    }

.quiz-stepper__step.is-partial {
    background: var(--ehbo-accent-soft);
    color: var(--ehbo-accent-deep);
}

    .quiz-stepper__step.is-partial .quiz-stepper__dot {
        background: var(--ehbo-accent-deep);
        color: white;
    }

.quiz-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .quiz-block + .quiz-block {
        padding-top: 16px;
        border-top: 1px solid var(--ehbo-border);
    }

    .quiz-block .info-heading {
        margin: 0;
    }

.quiz-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.quiz-hint {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ehbo-ink-soft);
}

.quiz-tally {
    flex: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ehbo-ink-soft);
    font-variant-numeric: tabular-nums;
}

.quiz-tally__n {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ehbo-ink);
}

.quiz-tally.is-full .quiz-tally__n {
    color: var(--ehbo-success-deep);
}

.quiz-meter {
    height: 6px;
    border-radius: 999px;
    background: var(--ehbo-border);
    overflow: hidden;
}

.quiz-meter__bar {
    height: 100%;
    border-radius: inherit;
    background: var(--ehbo-success);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* The answer field: big, one line, with the button beside it. */
.quiz-form {
    display: flex;
    gap: 8px;
}

.quiz-input {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    min-height: 52px;
    padding: 12px 14px;
    border: 2px solid var(--ehbo-border);
    border-radius: var(--ehbo-radius-sm);
    background: white;
    color: var(--ehbo-ink);
    font: inherit;
    font-size: 1.05rem; /* 16px or more: iOS does not zoom in on focus */
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .quiz-input:focus {
        outline: none;
        border-color: var(--ehbo-ink);
        box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
    }

.quiz-check {
    appearance: none;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 52px;
    padding: 0 16px;
    border: none;
    border-radius: var(--ehbo-radius-sm);
    background: var(--flag-red);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

    .quiz-check:hover:not(:disabled) {
        background: var(--ehbo-accent-deep);
    }

    .quiz-check:disabled {
        opacity: 0.45;
        cursor: default;
    }

/* A phone: the field gets the room. The button keeps its name for screen
   readers, the stepper names only the step at hand. */
@media (max-width: 420px) {
    .quiz-check {
        width: 52px;
        padding: 0;
        justify-content: center;
    }

    .quiz-check__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .quiz-stepper {
        display: flex;
    }

    .quiz-stepper__step.is-current {
        flex: 1 1 auto;
    }

    .quiz-stepper__step:not(.is-current) .quiz-stepper__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.quiz-feedback-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    min-height: 44px;
}

.quiz-feedback-live {
    flex: 1 1 200px;
    min-width: 0;
}

.quiz-feedback {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
}

    .quiz-feedback.is-good {
        background: #dcfce7;
        color: var(--ehbo-success-deep);
    }

    .quiz-feedback.is-bad {
        background: var(--ehbo-accent-soft);
        color: var(--ehbo-accent-deep);
    }

    .quiz-feedback.is-neutral {
        background: #f1f5f9;
        color: var(--ehbo-ink-soft);
    }

.quiz-giveup {
    appearance: none;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--ehbo-border);
    border-radius: 10px;
    background: white;
    color: var(--ehbo-ink-soft);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

    .quiz-giveup:hover {
        border-color: var(--ehbo-ink-soft);
        color: var(--ehbo-ink);
    }

/* Wrong answers, kept in view so the cursist sees what did not count. */
.quiz-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.quiz-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ehbo-accent-soft);
    color: var(--ehbo-accent-deep);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

/* The condition once answered. */
.quiz-answer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--ehbo-radius-sm);
    border: 1px solid;
}

    .quiz-answer.is-good {
        background: #f0fdf4;
        border-color: #86efac;
    }

    .quiz-answer.is-bad {
        background: #fef2f2;
        border-color: #fca5a5;
    }

.quiz-answer__icon {
    flex: none;
    margin-top: 3px;
    font-size: 1.1rem;
}

.quiz-answer.is-good .quiz-answer__icon { color: var(--ehbo-success-deep); }
.quiz-answer.is-bad .quiz-answer__icon { color: var(--ehbo-accent-deep); }

.quiz-answer__name {
    display: block;
    font-size: 1.2rem;
    letter-spacing: -0.015em;
    color: var(--ehbo-ink);
}

.quiz-answer__typed {
    font-size: 0.82rem;
    color: var(--ehbo-ink-soft);
}

/* One slot per symptom or handeling: open, found (green) or missed (red). */
.quiz-slots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quiz-slot {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--ehbo-border);
    font-size: 0.92rem;
    line-height: 1.4;
    color: var(--ehbo-ink);
}

.quiz-slot__icon {
    flex: none;
    width: 1.1em;
    margin-top: 2px;
    text-align: center;
    font-weight: 800;
}

.quiz-slot__typed {
    display: block;
    font-size: 0.78rem;
    color: var(--ehbo-ink-soft);
}

.quiz-slot.is-open {
    border-style: dashed;
    background: #f8fafc;
    color: var(--ehbo-ink-mute);
}

.quiz-slot.is-good {
    background: #f0fdf4;
    border-color: #86efac;
}

    .quiz-slot.is-good .quiz-slot__icon {
        color: var(--ehbo-success-deep);
    }

.quiz-slot.is-bad {
    background: #fef2f2;
    border-color: #fca5a5;
}

    .quiz-slot.is-bad .quiz-slot__icon {
        color: var(--ehbo-accent-deep);
    }

/* The photo's result, on top once all three questions are done. */
.quiz-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: var(--ehbo-radius-sm);
    background: #f8fafc;
    border: 1px solid var(--ehbo-border);
}

    .quiz-result.is-perfect {
        background: linear-gradient(135deg, #f0fdf4, #fef9c3);
        border-color: #86efac;
    }

.quiz-result__score {
    flex: none;
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-variant-numeric: tabular-nums;
    color: var(--ehbo-ink-soft);
    font-weight: 700;
}

    .quiz-result__score strong {
        font-size: 2rem;
        font-weight: 800;
        color: var(--ehbo-ink);
        line-height: 1;
    }

.quiz-result.is-perfect .quiz-result__score strong {
    color: var(--ehbo-success-deep);
}

.quiz-result__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.quiz-result__text {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--ehbo-ink-soft);
}

/* ---------- Summary ---------- */
.quiz-summary {
    max-width: 640px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.quiz-summary__trophy {
    font-size: 3.2rem;
    color: var(--ehbo-amber);
    stroke: #b45309;
}

.quiz-summary__percent {
    margin: 0;
    font-size: 1rem;
    color: var(--ehbo-ink-soft);
}

    .quiz-summary__percent strong {
        display: block;
        font-size: 3rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: var(--ehbo-accent);
        line-height: 1;
    }

.quiz-summary__rows {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 6px;
    text-align: left;
}

    .quiz-summary__rows div {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        background: #f8fafc;
        border: 1px solid var(--ehbo-border);
        font-size: 0.92rem;
    }

    .quiz-summary__rows dt {
        color: var(--ehbo-ink-soft);
    }

    .quiz-summary__rows dd {
        margin: 0;
        font-weight: 800;
        font-variant-numeric: tabular-nums;
    }

.quiz-photo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    gap: 6px;
}

    .quiz-photo-list a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        border-radius: 10px;
        border: 1px solid;
        font-size: 0.78rem;
        font-weight: 600;
        text-decoration: none;
        font-variant-numeric: tabular-nums;
    }

        .quiz-photo-list a.is-good {
            background: #f0fdf4;
            border-color: #86efac;
            color: var(--ehbo-success-deep);
        }

        .quiz-photo-list a.is-bad {
            background: #fef2f2;
            border-color: #fca5a5;
            color: var(--ehbo-accent-deep);
        }

.quiz-photo-list__n {
    font-size: 0.95rem;
    font-weight: 800;
}

.quiz-summary__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

/* ---------- Celebration (Components/Celebration.razor) ----------
   Each particle gets its path from custom properties set in C#:
   --x/--y start, --dx/--up/--fall/--dy movement, --c colour, --t duration,
   --d delay. Hidden entirely for visitors who ask for reduced motion. */
.quiz-celebration {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1000;
}

@media (prefers-reduced-motion: reduce) {
    .quiz-celebration {
        display: none;
    }
}

.quiz-confetti,
.quiz-rocket,
.quiz-spark {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--c);
    animation-duration: var(--t);
    animation-delay: var(--d);
    animation-fill-mode: both;
    will-change: transform, opacity;
}

.quiz-confetti {
    width: var(--w);
    height: calc(var(--w) / 2);
    border-radius: 2px;
    animation-name: quiz-confetti;
}

.quiz-rocket {
    width: 4px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 6px 10px var(--c);
    animation-name: quiz-rocket;
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.4, 1);
}

.quiz-spark {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 6px var(--c);
    animation-name: quiz-spark;
}

/* Up and inwards from a bottom corner, then down. */
@keyframes quiz-confetti {
    0% {
        transform: translate(var(--x), 100vh) rotate(0);
        opacity: 1;
        animation-timing-function: cubic-bezier(0.15, 0.6, 0.35, 1);
    }
    40% {
        transform: translate(calc(var(--x) + var(--dx) * 0.6), calc(100vh + var(--up))) rotate(calc(var(--r) * 0.4));
        animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.6);
    }
    85% { opacity: 1; }
    100% {
        transform: translate(calc(var(--x) + var(--dx)), calc(100vh + var(--up) + var(--fall) + 40vh)) rotate(var(--r));
        opacity: 0;
    }
}

/* From the bottom edge to where it bursts, then gone. */
@keyframes quiz-rocket {
    0% { transform: translate(var(--x), 100vh); opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translate(var(--x), var(--y)); opacity: 0; }
}

/* Out of the burst point, slowing down, sagging a little and fading. */
@keyframes quiz-spark {
    0% { transform: translate(var(--x), var(--y)) scale(0.4); opacity: 0; }
    2% { opacity: 1; }
    60% {
        transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))) scale(1);
        opacity: 1;
        animation-timing-function: ease-in;
    }
    100% { transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy) + 40px)) scale(0.6); opacity: 0; }
}

/* ---------- Motion ----------
   Only for visitors who did not ask for less motion; without it every state
   is still clear from colour, icon and text. */
@media (prefers-reduced-motion: no-preference) {
    .quiz-feedback.is-good,
    .quiz-slot.is-new,
    .quiz-answer.is-good {
        animation: quiz-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .quiz-feedback.is-bad {
        animation: quiz-shake 0.4s ease;
    }

    .quiz-feedback.is-neutral,
    .quiz-answer.is-bad,
    .quiz-slot.is-bad,
    .quiz-chip:last-child {
        animation: ehbo-fade 0.3s ease;
    }

    .quiz-tally__n {
        animation: quiz-tick 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .quiz-result {
        animation: quiz-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .quiz-summary__trophy {
        animation: quiz-trophy 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

@keyframes quiz-pop {
    0% { transform: scale(0.94); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes quiz-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(3px); }
}

@keyframes quiz-tick {
    0% { transform: translateY(6px) scale(1.4); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes quiz-trophy {
    0% { transform: scale(0.3) rotate(-25deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
