.mouse-test-component {
    padding: 1%;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    container-type: size;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
}
.mouse-header {
    text-align: center;
    flex-shrink: 0;
}
.mouse-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #2c3e50;
}
.mouse-content {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 15px;
    min-height: 0;
    padding: 10px;
}
.mouse-panel {
    background: #2c3e50;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.panel-title {
    color: white;
    font-size: clamp(8px, 2cqw, 14px);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}
.panel-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
}
.mouse-canvas {
    width: 100%;
    height: 100%;
    background: #1a252f;
    border-radius: 4px;
    display: block;
}
.click-test-area {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}
.mouse-visual {
    max-width: 80%;
    max-height: 80%;
    width: 400px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.4));
}
.left-btn, .right-btn {
    transition: fill 0.1s ease;
}
.left-btn.active {
    fill: #e74c3c !important;
}
.right-btn.active {
    fill: #3498db !important;
}
.reset-button {
    margin-top: clamp(10px, 3cqh, 20px);
    padding: clamp(6px, 1.5cqh, 10px) clamp(10px, 3cqw, 20px);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 6px;
    color: white;
    font-size: clamp(10px, 2cqw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.reset-button:hover {
    background: white;
    color: #667eea;
}
.delta-indicator {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 10;
}
.delta-line-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9;
}