@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
    background-color: #060913;
}

.osc-card {
    background: linear-gradient(145deg, rgba(14, 21, 37, 0.95), rgba(7, 11, 22, 0.98));
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
}

canvas#oscBoard {
    cursor: default;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    display: block;
    width: 100%;
    height: 100%;
}

.tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

input[type=range] {
    accent-color: #06b6d4;
    height: 6px;
    border-radius: 4px;
    background: #334155;
}

@keyframes waveGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.animate-wave {
    animation: waveGlow 1.4s ease-in-out infinite;
}

@keyframes bounceShort {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.animate-bounce-short {
    animation: bounceShort 0.6s ease-in-out;
}

aside::-webkit-scrollbar {
    width: 5px;
}
aside::-webkit-scrollbar-track {
    background: rgba(6, 9, 19, 0.5);
}
aside::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

/* Плаваючі круглі кнопки дій (FAB) для планшетів та смартфонів */
.fab-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-btn:hover {
    transform: scale(1.08);
}

.fab-btn:active {
    transform: scale(0.94);
}