/* Valikuvurr — stiilid (DISAIN.md tokenid) */

:root {
    --vv-accent: #00d1b2;
    --vv-accent-contrast: #fff;
    --vv-accent-soft: rgba(0, 209, 178, 0.10);
    --vv-dur-fast: 150ms;
    --vv-ease: cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="dark"] {
    --vv-accent: #3bd6bd;
    --vv-accent-contrast: #0c2a24;
    --vv-accent-soft: rgba(59, 214, 189, 0.14);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --vv-accent: #3bd6bd;
        --vv-accent-contrast: #0c2a24;
        --vv-accent-soft: rgba(59, 214, 189, 0.14);
    }
}

/* Täisekraani vaade (vurr.php) */
.vv-fullscreen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
    background-color: var(--bg-primary, #f5f5f5);
    color: var(--text-primary, inherit);
}

/* Stiilivaliku nupud (1–5) — oleku-nupud, puuteala ≥44px */
.style-btn {
    min-width: 2.75rem;
    height: 2.75rem;
    font-weight: 600;
    transition: background-color var(--vv-dur-fast) var(--vv-ease),
                border-color var(--vv-dur-fast) var(--vv-ease);
}
.style-btn.is-active {
    background-color: var(--vv-accent);
    border-color: var(--vv-accent);
    color: var(--vv-accent-contrast);
}
.style-btn:focus-visible {
    outline: 3px solid var(--vv-accent);
    outline-offset: 2px;
}

/* Tühi olek (enne vurri loomist) */
.vv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 24px;
    border: 1.5px dashed var(--border-light, #dbdbdb);
    border-radius: 16px;
    color: var(--text-muted, #7a7a7a);
    text-align: center;
}
.vv-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--vv-accent-soft);
    color: var(--vv-accent);
    font-size: 24px;
}

/* Ekraanilugejale nähtav, visuaalselt peidetud (aria-live tulemus) */
.vv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .style-btn { transition: none; }
}
