:root {
    --aim-ink: #193634;
    --aim-muted: #627286;
    --aim-green: #237a5e;
    --aim-orange: #e9914b;
    --aim-stage: #f7f7f4;
    --aim-page-space: 64px;
    --aim-panel-space: 32px;
}

#aim-test {
    scroll-margin-top: 128px;
}

.aim-page {
    width: min(1200px, 100%);
    min-width: 0;
    margin: 32px 0;
    padding: var(--aim-page-space);
    background: #ffffff;
    border-radius: 32px;
}

.aim-container {
    width: 100%;
    min-width: 0;
    padding-inline: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

[hidden] {
    display: none !important;
}

.aim-intro {
    width: 100%;
    max-width: 720px;
    min-width: 0;
    margin: 0 auto 28px;
    text-align: center;
}

.aim-intro-eyebrow {
    margin-bottom: 8px;
    color: var(--aim-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.aim-intro h2 {
    margin-bottom: 12px;
    color: var(--aim-ink);
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.aim-intro > p:last-child {
    color: #475569;
    font-size: 18px;
    line-height: 1.6;
}

.aim-stage-kicker,
.feature-kicker {
    color: var(--aim-green);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.aim-mode-switch {
    width: fit-content;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--aim-stage);
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(3, minmax(112px, 1fr));
    gap: 4px;
}

.aim-mode-option {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    padding: 0 18px;
    color: var(--aim-muted);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 180ms ease-out,
    color 180ms ease-out,
    opacity 180ms ease-out;
}

.aim-mode-option[aria-pressed="true"] {
    background: #ffffff;
    color: var(--aim-green);
}

.aim-mode-option:disabled {
    cursor: default;
    opacity: 0.62;
}

.aim-mode-option[aria-pressed="true"]:disabled {
    opacity: 1;
}

.aim-mode-help {
    margin: 8px auto 20px;
    color: #7b8797;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.aim-stage-shell {
    position: relative;
    isolation: isolate;
}

.aim-stage {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--aim-stage);
    color: var(--aim-ink);
    cursor: pointer;
    touch-action: manipulation;
}

.aim-stage[data-state="active"] {
    cursor: crosshair;
}

.aim-elapsed {
    display: inline-flex;
    justify-content: flex-end;
    white-space: nowrap;
}

.aim-elapsed-value {
    display: inline-block;
    width: 5ch;
    text-align: right;
}

.aim-elapsed-unit {
    display: inline-block;
    width: 1ch;
    margin-left: 0.35em;
    text-align: left;
}

.aim-hud {
    position: absolute;
    top: 26px;
    right: 28px;
    left: 28px;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    color: #58766d;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    letter-spacing: 0.08em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease-out;
}

#aimProgress {
    grid-column: 1;
    justify-self: start;
}

.aim-lives {
    grid-column: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.aim-life {
    width: 20px;
    height: 20px;
    color: #d96058;
    display: block;
}

.aim-life svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.aim-life svg > path:first-child {
    fill: currentColor;
    stroke: currentColor;
    stroke-linejoin: round;
    stroke-width: 1;
}

.aim-life .aim-life-crack {
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    opacity: 0;
}

.aim-life.is-breaking {
    color: #c94f49;
    animation: aim-life-break 420ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

.aim-life.is-breaking .aim-life-crack,
.aim-life.is-lost .aim-life-crack {
    opacity: 1;
}

.aim-life.is-lost:not(.is-breaking) {
    color: #c9cfcc;
    opacity: 0.72;
}

.aim-elapsed {
    grid-column: 3;
    justify-self: end;
}

.aim-stage[data-state="active"] .aim-hud {
    opacity: 1;
}

.aim-stage[data-state="failed"] .aim-hud {
    opacity: 1;
}

.aim-stage-message {
    position: absolute;
    top: 50%;
    right: 28px;
    left: 28px;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 12px;
    transform: translateY(-50%);
    text-align: center;
    transition: opacity 140ms ease-out;
}

.aim-stage[data-state="active"] .aim-stage-message {
    opacity: 0;
    pointer-events: none;
}

.aim-stage-title {
    max-width: 760px;
    color: var(--aim-ink);
    font-size: clamp(44px, 6.2vw, 72px);
    font-weight: 720;
    line-height: 1.02;
    letter-spacing: -0.06em;
    overflow-wrap: anywhere;
}

.aim-stage-hint {
    max-width: 520px;
    color: var(--aim-muted);
    font-size: 15px;
    line-height: 1.6;
}

.aim-stage-action {
    min-width: 116px;
    min-height: 46px;
    margin-top: 8px;
    border: 0;
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 8%, transparent 100%);
    padding: 0 22px;
    color: var(--aim-green);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: color 180ms ease-out;
}

.aim-stage[data-state="complete"] .aim-stage-action,
.aim-stage[data-state="interrupted"] .aim-stage-action,
.aim-stage[data-state="failed"] .aim-stage-action {
    min-width: 0;
    min-height: 0;
    margin-top: 4px;
    background: transparent;
    padding: 0;
    color: var(--aim-green);
    cursor: inherit;
    pointer-events: none;
}

.aim-stage-action:focus-visible,
.aim-mode-option:focus-visible,
.aim-target:focus-visible,
.aim-sound:focus-visible,
.aim-fullscreen:focus-visible,
.aim-stats-toggle:focus-visible,
.aim-history summary:focus-visible {
    outline: 3px solid rgb(35 122 94 / 32%);
    outline-offset: 3px;
}

.aim-target {
    position: absolute;
    z-index: 4;
    width: 52px;
    height: 52px;
    border: 2px solid rgb(233 145 75 / 78%);
    border-radius: 50%;
    background: #ffffff;
    padding: 0;
    cursor: crosshair;
    transform: translate(-50%, -50%);
    touch-action: manipulation;
}

@media (prefers-reduced-motion: no-preference) {
    .aim-stage[data-mode="moving"][data-state="active"] .aim-target {
        will-change: transform;
    }
}

.aim-target::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--aim-orange);
    transform: translate(-50%, -50%);
    content: "";
    pointer-events: none;
}

.aim-target-clock {
    position: absolute;
    inset: -9px;
    width: calc(100% + 18px);
    height: calc(100% + 18px);
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transform: rotate(-90deg);
}

.aim-target-clock circle {
    fill: none;
    stroke: rgb(35 122 94 / 52%);
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    stroke-width: 1.4;
    transition: stroke 180ms ease-out;
}

.aim-stage[data-mode="timed"] .aim-target-clock {
    opacity: 1;
}

.aim-target.is-expiring .aim-target-clock circle {
    stroke: rgb(213 105 69 / 72%);
}

.aim-hit-mark {
    position: absolute;
    z-index: 3;
    width: 54px;
    height: 54px;
    border: 2px solid rgb(35 122 94 / 50%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.72);
}

.aim-hit-mark::before,
.aim-hit-mark::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #b56a42;
    content: "";
    opacity: 0;
    transform-origin: center;
}

.aim-hit-mark[data-kind="miss"] {
    width: 42px;
    height: 42px;
    border-color: rgb(181 106 66 / 38%);
}

.aim-hit-mark[data-kind="miss"]::before {
    opacity: 0.72;
    transform: translate(-50%, -50%) rotate(45deg);
}

.aim-hit-mark[data-kind="miss"]::after {
    opacity: 0.72;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.aim-hit-mark[data-kind="timeout"] {
    width: 66px;
    height: 66px;
    border-color: rgb(213 105 69 / 50%);
}

.aim-session-details {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: var(--aim-muted);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.aim-session-details strong {
    color: var(--aim-ink);
    font-weight: 750;
}

.aim-stage-tools {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 8;
    display: flex;
    gap: 8px;
}

.aim-sound,
.aim-fullscreen,
.aim-stats-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 92%);
    color: var(--aim-green);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: opacity 180ms ease-out,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease-out;
}

.aim-sound-on {
    display: none;
}

.aim-sound[aria-pressed="true"] .aim-sound-off {
    display: none;
}

.aim-sound[aria-pressed="true"] .aim-sound-on {
    display: block;
}

.aim-sound[aria-pressed="true"] {
    color: #a95721;
}

.aim-stats-toggle {
    position: absolute;
    z-index: 8;
    bottom: 16px;
    left: 16px;
}

.aim-stats-toggle svg {
    transform-origin: center;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aim-stats-toggle[aria-expanded="true"] {
    background: #ffffff;
    color: #155d46;
}

.aim-stats-toggle[aria-expanded="true"] svg {
    transform: rotate(-12deg);
}

.aim-fullscreen-exit {
    display: none;
}

.aim-stage-shell[data-fullscreen="true"] .aim-fullscreen-enter {
    display: none;
}

.aim-stage-shell[data-fullscreen="true"] .aim-fullscreen-exit {
    display: block;
}

.aim-stage-shell[data-fullscreen="true"] .aim-sound,
.aim-stage-shell[data-fullscreen="true"] .aim-stats-toggle {
    display: none;
}

.aim-stage-shell[data-fullscreen="true"] .aim-stage-tools {
    top: max(16px, env(safe-area-inset-top));
    right: max(16px, env(safe-area-inset-right));
}

.aim-stage-shell:fullscreen,
.aim-stage-shell:-webkit-full-screen {
    width: 100vw;
    height: 100dvh;
    background: var(--aim-stage);
}

.aim-stage-shell:fullscreen .aim-stage,
.aim-stage-shell:-webkit-full-screen .aim-stage {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 0;
}

.aim-stats {
    margin-top: 32px;
}

.aim-stats-inner {
    position: relative;
    border-radius: 28px;
    background: radial-gradient(circle, var(--aim-stage) 8%, transparent 100%);
    padding: var(--aim-panel-space);
}

.aim-stats-kicker {
    margin-bottom: 10px;
    color: var(--aim-green);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.aim-progress-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
    align-items: end;
    gap: clamp(16px, 3vw, 40px);
}

.aim-progress-label,
.aim-progress-overview dt {
    color: var(--aim-muted);
    font-size: 12px;
    font-weight: 700;
}

.aim-progress-overview dd {
    margin: 0;
    color: var(--aim-ink);
    font-variant-numeric: tabular-nums;
    font-weight: 720;
    letter-spacing: -0.025em;
}

.aim-progress-latest {
    min-width: 0;
    min-height: 104px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.aim-progress-latest > strong {
    margin-top: 4px;
    color: var(--aim-green);
    display: block;
    font-size: clamp(44px, 6vw, 60px);
    font-variant-numeric: tabular-nums;
    font-weight: 740;
    letter-spacing: -0.035em;
    line-height: 1.1;
    white-space: nowrap;
}

.aim-progress-context {
    margin-top: 6px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 14px;
    color: var(--aim-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.aim-progress-context small {
    font: inherit;
}

.aim-progress-benchmarks {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
}

.aim-progress-benchmarks > div {
    min-width: 0;
    min-height: 76px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.aim-progress-benchmarks dd {
    margin-top: 5px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

#aimBestStat {
    white-space: nowrap;
}

.aim-history {
    position: relative;
    min-width: 0;
    margin-top: 24px;
}

.aim-history summary {
    min-height: 48px;
    padding: 4px 0;
    color: var(--aim-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.aim-history summary::-webkit-details-marker {
    display: none;
}

.aim-history-summary-copy {
    min-width: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.aim-history[open] .aim-history-summary-copy {
    padding-right: 60px;
}

.aim-history-summary-copy strong {
    font-size: 15px;
    font-weight: 700;
}

.aim-history-summary-icon {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--aim-muted);
    transition: opacity 180ms ease-out,
    transform 180ms ease-out;
}

.aim-history[open] .aim-history-summary-icon {
    transform: rotate(180deg);
}

.aim-history-panel {
    margin-top: 4px;
}

.aim-history-actions {
    position: absolute;
    z-index: 1;
    top: 4px;
    right: 34px;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.aim-history-list {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    list-style: none;
}

.aim-history-item {
    min-width: 0;
    padding: 14px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: start;
    gap: 4px 24px;
    color: var(--aim-muted);
    font-variant-numeric: tabular-nums;
}

.aim-history-item:first-child {
    padding-top: 8px;
}

.aim-history-item:last-child {
    padding-bottom: 0;
}

.aim-history-score {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    white-space: nowrap;
}

.aim-history-value {
    color: var(--aim-ink);
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-align: right;
}

.aim-history-meta {
    --history-column-gap: 20px;
    --history-divider-offset: -10px;

    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 112px 92px 64px minmax(84px, 1fr);
    align-items: baseline;
    column-gap: var(--history-column-gap);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.aim-history-metric {
    position: relative;
    min-width: 0;
    white-space: nowrap;
}

.aim-history-metric::before {
    position: absolute;
    left: var(--history-divider-offset);
    transform: translateX(-50%);
    color: currentColor;
    content: "·";
    opacity: 0.48;
}

.aim-history-meta .aim-history-state {
    color: #8e6856;
    font-weight: 700;
}

.aim-history-item[aria-current="true"] .aim-history-value,
.aim-history-item[aria-current="true"] .aim-history-meta,
.aim-history-item[aria-current="true"] .aim-history-state {
    color: var(--aim-green);
}

.aim-clear-data {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7c8985;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: opacity 180ms ease-out,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease-out,
    color 180ms ease-out;
}

.aim-clear-data svg {
    display: block;
}

.aim-clear-data:focus-visible {
    outline: 3px solid rgb(53 182 130 / 36%);
    outline-offset: 3px;
}

.aim-clear-data:disabled {
    cursor: default;
    opacity: 0.36;
}

.aim-clear-data:not(:disabled):active {
    opacity: 0.62;
}

.aim-features .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aim-features .feature-card {
    min-width: 0;
}

@media (hover: hover) and (pointer: fine) {
    .aim-mode-option:not([aria-pressed="true"]):not(:disabled):hover {
        background: rgb(255 255 255 / 58%);
        color: var(--aim-ink);
    }

    .aim-sound,
    .aim-fullscreen,
    .aim-stats-toggle,
    .aim-history-summary-icon,
    .aim-clear-data {
        opacity: 0;
        pointer-events: none;
        transition-duration: 480ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .aim-sound,
    .aim-fullscreen,
    .aim-stats-toggle,
    .aim-clear-data {
        transform: translateY(3px);
    }

    .aim-stage-shell:hover .aim-sound,
    .aim-sound:focus-visible,
    .aim-stage-shell:hover .aim-fullscreen,
    .aim-fullscreen:focus-visible,
    .aim-stage-shell:hover .aim-stats-toggle,
    .aim-stats-toggle:focus-visible,
    .aim-stats-toggle[aria-expanded="true"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-duration: 560ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .aim-stats:hover .aim-clear-data:not(:disabled),
    .aim-clear-data:focus-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition-duration: 560ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .aim-stats:hover .aim-history-summary-icon,
    .aim-history summary:focus-visible .aim-history-summary-icon {
        opacity: 1;
        pointer-events: auto;
        transition-duration: 560ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .aim-stage-action:hover,
    .aim-sound:hover,
    .aim-fullscreen:hover,
    .aim-stats-toggle:hover {
        color: #155d46;
    }

    .aim-clear-data:not(:disabled):hover {
        background: rgb(142 104 86 / 9%);
        color: #8e6856;
    }

    .aim-sound[aria-pressed="true"]:hover {
        color: #8f471d;
    }

    .aim-stage[data-state="complete"] .aim-stage-action:hover,
    .aim-stage[data-state="interrupted"] .aim-stage-action:hover,
    .aim-stage[data-state="failed"] .aim-stage-action:hover {
        background: transparent;
        color: var(--aim-green);
    }
}

@media (max-width: 1023.98px) {
    :root {
        --aim-page-space: 40px;
    }

    .aim-features .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    :root {
        --aim-page-space: 24px;
        --aim-panel-space: 20px;
    }

    .aim-stage {
        min-height: 440px;
        border-radius: 24px;
    }

    .aim-intro {
        margin-bottom: 24px;
    }

    .aim-intro > p:last-child {
        font-size: 16px;
    }

    .aim-hud {
        top: 20px;
        right: 20px;
        left: 20px;
    }

    .aim-target {
        width: 56px;
        height: 56px;
    }

    .aim-stage-message {
        right: 18px;
        left: 18px;
    }

    .aim-stage-title {
        font-size: clamp(42px, 13vw, 60px);
    }

    .aim-stage-tools {
        top: 12px;
        right: 12px;
    }

    .aim-stats-toggle {
        bottom: 12px;
        left: 12px;
    }

    .aim-stats-inner {
        border-radius: 24px;
    }

    .aim-stats {
        margin-top: 24px;
    }

    .aim-progress-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .aim-progress-latest {
        min-height: 88px;
    }

    .aim-progress-benchmarks {
        grid-column: 1;
        width: 100%;
    }

    .aim-progress-benchmarks > div {
        min-height: 64px;
    }

}

@media (max-width: 620px) {
    .aim-features .features-grid,
    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .aim-session-details {
        gap: 6px 16px;
    }
}

@media (max-width: 639.98px) {
    .aim-history-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .aim-history-score {
        grid-column: 1;
        grid-row: 1;
        justify-content: flex-start;
    }

    .aim-history-value {
        font-size: 20px;
    }

    .aim-history-meta {
        --history-column-gap: clamp(6px, 2.4vw, 12px);
        --history-divider-offset: clamp(-6px, -1.2vw, -3px);

        grid-column: 1;
        grid-row: 2;
        grid-template-columns:
                minmax(0, 1.3fr)
                minmax(0, 1fr)
                minmax(0, 0.75fr)
                minmax(0, 1.05fr);
        font-size: clamp(10px, 3vw, 12px);
    }
}

@media (max-width: 559.98px) {
    .aim-mode-switch {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aim-mode-option {
        padding: 0 10px;
    }

    .aim-progress-latest > strong {
        font-size: clamp(42px, 11vw, 56px);
    }
}

@media (max-width: 420px) {
    :root {
        --aim-page-space: 16px;
        --aim-panel-space: 16px;
    }

    .aim-stage {
        min-height: 400px;
    }

    .aim-hud {
        right: 16px;
        left: 16px;
        font-size: 11px;
    }

    .aim-life {
        width: 18px;
        height: 18px;
    }

    .aim-stage-title {
        font-size: clamp(38px, 12vw, 48px);
    }

    .aim-stage-hint {
        max-width: 270px;
    }

    .aim-session-details {
        right: 16px;
        bottom: 18px;
        left: 16px;
        font-size: 11px;
    }

    .aim-progress-overview {
        gap: 16px 12px;
    }

    .aim-progress-benchmarks dd {
        font-size: clamp(21px, 7vw, 28px);
    }
}

@media (max-width: 360px) {
    .aim-mode-option {
        padding: 0 4px;
        font-size: 12px;
    }
}

@media (max-width: 347.98px) {
    html,
    body,
    header,
    main,
    footer {
        min-width: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aim-mode-option,
    .aim-stage-message,
    .aim-hud,
    .aim-sound,
    .aim-fullscreen,
    .aim-stats-toggle,
    .aim-history-summary-icon,
    .aim-clear-data {
        transition: none;
    }

    .aim-stats-toggle svg {
        transition: none;
    }

    .aim-life.is-breaking {
        animation: none;
    }

    .aim-target-clock circle {
        transition: none;
    }
}

@media (forced-colors: active) {
    .aim-mode-option,
    .aim-stage,
    .aim-stage-action,
    .aim-target,
    .aim-sound,
    .aim-fullscreen,
    .aim-stats-toggle,
    .aim-history summary,
    .aim-stats-inner {
        border: 1px solid CanvasText;
    }

    .aim-target {
        background: Highlight;
    }

    .aim-target-clock circle {
        stroke: CanvasText;
    }
}

@keyframes aim-life-break {
    0% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    42% {
        opacity: 1;
        transform: scale(1.18) rotate(-7deg);
    }

    100% {
        opacity: 0.72;
        transform: scale(0.88) rotate(5deg);
    }
}
