﻿:root {
    --body: #6e6e6e;
    --btn: #8b8b8b;
    --hl-left: #4aa3ff;
    --hl-right: #ffb74a;
    --hl-middle: #7ddf8a;
}

body {
    margin: 0;
    font-family: system-ui,Segoe UI,Arial;
    background: #f3f5fb;
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.wrap {
    text-align: center;
    display: grid;
    gap: 16px;
}

.mouse-stage {
    width: 260px;
    user-select: none;
}

.mouse {
    width: 100%;
    transform-origin: 50% 60%;
}

/* ===== ROTACE ===== */

.spin-left {
    animation: spinLeft 1s ease-in-out;
}

.spin-right {
    animation: spinRight 1s ease-in-out;
}

@keyframes spinLeft {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spinRight {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* ===== tlačítka ===== */

.btn-left,
.btn-right,
.btn-middle {
    fill: var(--btn);
    transition: fill .08s;
}

    .btn-left.active {
        fill: var(--hl-left);
    }

    .btn-right.active {
        fill: var(--hl-right);
    }

    .btn-middle.active {
        fill: var(--hl-middle);
    }

.hint {
    background: white;
    border-radius: 12px;
    padding: 12px;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
