/* Touch Test CSS */
/* Styles specific to touch testing functionality */

.touch-container {
    width: 90%;
    max-width: 1200px;
    margin: 48px auto;
    text-align: center;
}

.touch-grid {
    display: none;
    margin-top: 32px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.touch-test-area {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.touch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    touch-action: none;
}

/* Apply styles when in fullscreen */
.touch-test-area:fullscreen {
    border-radius: 0;
}

.touch-test-area:fullscreen .fullscreen-btn {
    display: none;
}

@media (max-width: 480px) {
    .touch-grid {
        padding: 12px;
        width: 100%;
    }
    
    .fullscreen-btn {
        width: 32px;
        height: 32px;
    }
    
    .fullscreen-btn svg {
        width: 20px;
        height: 20px;
    }
}
